Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-ati 6.13.0.
      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 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   # Zsh 3.x and 4.x performs 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 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$lt_ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 ECHO=${lt_ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $ECHO works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<_LT_EOF
    584 $*
    585 _LT_EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$lt_ECHO"; then
    594   if test "X${echo_test_string+set}" != Xset; then
    595     # find a string as large as possible, as long as the shell can cope with it
    596     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    599 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    600       then
    601         break
    602       fi
    603     done
    604   fi
    605 
    606   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    607      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    608      test "X$echo_testing_string" = "X$echo_test_string"; then
    609     :
    610   else
    611     # The Solaris, AIX, and Digital Unix default echo programs unquote
    612     # backslashes.  This makes it impossible to quote backslashes using
    613     #   echo "$something" | sed 's/\\/\\\\/g'
    614     #
    615     # So, first we look for a working echo in the user's PATH.
    616 
    617     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    618     for dir in $PATH /usr/ucb; do
    619       IFS="$lt_save_ifs"
    620       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    621          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    622          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    623          test "X$echo_testing_string" = "X$echo_test_string"; then
    624         ECHO="$dir/echo"
    625         break
    626       fi
    627     done
    628     IFS="$lt_save_ifs"
    629 
    630     if test "X$ECHO" = Xecho; then
    631       # We didn't find a better echo, so look for alternatives.
    632       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    633          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    634          test "X$echo_testing_string" = "X$echo_test_string"; then
    635         # This shell has a builtin print -r that does the trick.
    636         ECHO='print -r'
    637       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    638 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    639         # If we have ksh, try running configure again with it.
    640         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    641         export ORIGINAL_CONFIG_SHELL
    642         CONFIG_SHELL=/bin/ksh
    643         export CONFIG_SHELL
    644         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    645       else
    646         # Try using printf.
    647         ECHO='printf %s\n'
    648         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    649 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    650 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    651 	  # Cool, printf works
    652 	  :
    653         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    654 	     test "X$echo_testing_string" = 'X\t' &&
    655 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    656 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    657 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    658 	  export CONFIG_SHELL
    659 	  SHELL="$CONFIG_SHELL"
    660 	  export SHELL
    661 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    662         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    663 	     test "X$echo_testing_string" = 'X\t' &&
    664 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    665 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    666 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    667         else
    668 	  # maybe with a smaller string...
    669 	  prev=:
    670 
    671 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    672 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    673 	    then
    674 	      break
    675 	    fi
    676 	    prev="$cmd"
    677 	  done
    678 
    679 	  if test "$prev" != 'sed 50q "$0"'; then
    680 	    echo_test_string=`eval $prev`
    681 	    export echo_test_string
    682 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    683 	  else
    684 	    # Oops.  We lost completely, so just stick with echo.
    685 	    ECHO=echo
    686 	  fi
    687         fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 
    693 # Copy echo and quote the copy suitably for passing to libtool from
    694 # the Makefile, instead of quoting the original, which is used later.
    695 lt_ECHO=$ECHO
    696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    697    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    698 fi
    699 
    700 
    701 
    702 
    703 exec 7<&0 </dev/null 6>&1
    704 
    705 # Name of the host.
    706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    707 # so uname gets run too.
    708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    709 
    710 #
    711 # Initializations.
    712 #
    713 ac_default_prefix=/usr/local
    714 ac_clean_files=
    715 ac_config_libobj_dir=.
    716 LIBOBJS=
    717 cross_compiling=no
    718 subdirs=
    719 MFLAGS=
    720 MAKEFLAGS=
    721 SHELL=${CONFIG_SHELL-/bin/sh}
    722 
    723 # Identity of this package.
    724 PACKAGE_NAME='xf86-video-ati'
    725 PACKAGE_TARNAME='xf86-video-ati'
    726 PACKAGE_VERSION='6.13.0'
    727 PACKAGE_STRING='xf86-video-ati 6.13.0'
    728 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    729 
    730 ac_unique_file="Makefile.am"
    731 # Factoring default headers for most tests.
    732 ac_includes_default="\
    733 #include <stdio.h>
    734 #ifdef HAVE_SYS_TYPES_H
    735 # include <sys/types.h>
    736 #endif
    737 #ifdef HAVE_SYS_STAT_H
    738 # include <sys/stat.h>
    739 #endif
    740 #ifdef STDC_HEADERS
    741 # include <stdlib.h>
    742 # include <stddef.h>
    743 #else
    744 # ifdef HAVE_STDLIB_H
    745 #  include <stdlib.h>
    746 # endif
    747 #endif
    748 #ifdef HAVE_STRING_H
    749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    750 #  include <memory.h>
    751 # endif
    752 # include <string.h>
    753 #endif
    754 #ifdef HAVE_STRINGS_H
    755 # include <strings.h>
    756 #endif
    757 #ifdef HAVE_INTTYPES_H
    758 # include <inttypes.h>
    759 #endif
    760 #ifdef HAVE_STDINT_H
    761 # include <stdint.h>
    762 #endif
    763 #ifdef HAVE_UNISTD_H
    764 # include <unistd.h>
    765 #endif"
    766 
    767 ac_subst_vars='SHELL
    768 PATH_SEPARATOR
    769 PACKAGE_NAME
    770 PACKAGE_TARNAME
    771 PACKAGE_VERSION
    772 PACKAGE_STRING
    773 PACKAGE_BUGREPORT
    774 exec_prefix
    775 prefix
    776 program_transform_name
    777 bindir
    778 sbindir
    779 libexecdir
    780 datarootdir
    781 datadir
    782 sysconfdir
    783 sharedstatedir
    784 localstatedir
    785 includedir
    786 oldincludedir
    787 docdir
    788 infodir
    789 htmldir
    790 dvidir
    791 pdfdir
    792 psdir
    793 libdir
    794 localedir
    795 mandir
    796 DEFS
    797 ECHO_C
    798 ECHO_N
    799 ECHO_T
    800 LIBS
    801 build_alias
    802 host_alias
    803 target_alias
    804 CC
    805 CFLAGS
    806 LDFLAGS
    807 CPPFLAGS
    808 ac_ct_CC
    809 EXEEXT
    810 OBJEXT
    811 CPP
    812 GREP
    813 EGREP
    814 CWARNFLAGS
    815 CHANGELOG_CMD
    816 INSTALL_CMD
    817 build
    818 build_cpu
    819 build_vendor
    820 build_os
    821 host
    822 host_cpu
    823 host_vendor
    824 host_os
    825 APP_MAN_SUFFIX
    826 LIB_MAN_SUFFIX
    827 FILE_MAN_SUFFIX
    828 MISC_MAN_SUFFIX
    829 DRIVER_MAN_SUFFIX
    830 ADMIN_MAN_SUFFIX
    831 APP_MAN_DIR
    832 LIB_MAN_DIR
    833 FILE_MAN_DIR
    834 MISC_MAN_DIR
    835 DRIVER_MAN_DIR
    836 ADMIN_MAN_DIR
    837 INSTALL_PROGRAM
    838 INSTALL_SCRIPT
    839 INSTALL_DATA
    840 am__isrc
    841 CYGPATH_W
    842 PACKAGE
    843 VERSION
    844 ACLOCAL
    845 AUTOCONF
    846 AUTOMAKE
    847 AUTOHEADER
    848 MAKEINFO
    849 install_sh
    850 STRIP
    851 INSTALL_STRIP_PROGRAM
    852 mkdir_p
    853 AWK
    854 SET_MAKE
    855 am__leading_dot
    856 AMTAR
    857 am__tar
    858 am__untar
    859 DEPDIR
    860 am__include
    861 am__quote
    862 AMDEP_TRUE
    863 AMDEP_FALSE
    864 AMDEPBACKSLASH
    865 CCDEPMODE
    866 am__fastdepCC_TRUE
    867 am__fastdepCC_FALSE
    868 MAINTAINER_MODE_TRUE
    869 MAINTAINER_MODE_FALSE
    870 MAINT
    871 LIBTOOL
    872 SED
    873 FGREP
    874 LD
    875 DUMPBIN
    876 ac_ct_DUMPBIN
    877 NM
    878 LN_S
    879 AR
    880 RANLIB
    881 lt_ECHO
    882 DSYMUTIL
    883 NMEDIT
    884 LIPO
    885 OTOOL
    886 OTOOL64
    887 PKG_CONFIG
    888 XORG_CFLAGS
    889 XORG_LIBS
    890 XEXT_CFLAGS
    891 XEXT_LIBS
    892 HAVE_XEXTPROTO_71_TRUE
    893 HAVE_XEXTPROTO_71_FALSE
    894 DRI_CFLAGS
    895 DRI_LIBS
    896 DRI_TRUE
    897 DRI_FALSE
    898 LIBDRM_RADEON_CFLAGS
    899 LIBDRM_RADEON_LIBS
    900 DRM_MODE_TRUE
    901 DRM_MODE_FALSE
    902 XMODES_TRUE
    903 XMODES_FALSE
    904 XMODES_CFLAGS
    905 USE_EXA_TRUE
    906 USE_EXA_FALSE
    907 XF86DRM_MODE_TRUE
    908 XF86DRM_MODE_FALSE
    909 PCIACCESS_CFLAGS
    910 PCIACCESS_LIBS
    911 XSERVER_LIBPCIACCESS_TRUE
    912 XSERVER_LIBPCIACCESS_FALSE
    913 moduledir
    914 DRIVER_NAME
    915 LIBOBJS
    916 LTLIBOBJS'
    917 ac_subst_files=''
    918       ac_precious_vars='build_alias
    919 host_alias
    920 target_alias
    921 CC
    922 CFLAGS
    923 LDFLAGS
    924 LIBS
    925 CPPFLAGS
    926 CPP
    927 PKG_CONFIG
    928 XORG_CFLAGS
    929 XORG_LIBS
    930 XEXT_CFLAGS
    931 XEXT_LIBS
    932 DRI_CFLAGS
    933 DRI_LIBS
    934 LIBDRM_RADEON_CFLAGS
    935 LIBDRM_RADEON_LIBS
    936 PCIACCESS_CFLAGS
    937 PCIACCESS_LIBS'
    938 
    939 
    940 # Initialize some variables set by options.
    941 ac_init_help=
    942 ac_init_version=false
    943 # The variables have the same names as the options, with
    944 # dashes changed to underlines.
    945 cache_file=/dev/null
    946 exec_prefix=NONE
    947 no_create=
    948 no_recursion=
    949 prefix=NONE
    950 program_prefix=NONE
    951 program_suffix=NONE
    952 program_transform_name=s,x,x,
    953 silent=
    954 site=
    955 srcdir=
    956 verbose=
    957 x_includes=NONE
    958 x_libraries=NONE
    959 
    960 # Installation directory options.
    961 # These are left unexpanded so users can "make install exec_prefix=/foo"
    962 # and all the variables that are supposed to be based on exec_prefix
    963 # by default will actually change.
    964 # Use braces instead of parens because sh, perl, etc. also accept them.
    965 # (The list follows the same order as the GNU Coding Standards.)
    966 bindir='${exec_prefix}/bin'
    967 sbindir='${exec_prefix}/sbin'
    968 libexecdir='${exec_prefix}/libexec'
    969 datarootdir='${prefix}/share'
    970 datadir='${datarootdir}'
    971 sysconfdir='${prefix}/etc'
    972 sharedstatedir='${prefix}/com'
    973 localstatedir='${prefix}/var'
    974 includedir='${prefix}/include'
    975 oldincludedir='/usr/include'
    976 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    977 infodir='${datarootdir}/info'
    978 htmldir='${docdir}'
    979 dvidir='${docdir}'
    980 pdfdir='${docdir}'
    981 psdir='${docdir}'
    982 libdir='${exec_prefix}/lib'
    983 localedir='${datarootdir}/locale'
    984 mandir='${datarootdir}/man'
    985 
    986 ac_prev=
    987 ac_dashdash=
    988 for ac_option
    989 do
    990   # If the previous option needs an argument, assign it.
    991   if test -n "$ac_prev"; then
    992     eval $ac_prev=\$ac_option
    993     ac_prev=
    994     continue
    995   fi
    996 
    997   case $ac_option in
    998   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    999   *)	ac_optarg=yes ;;
   1000   esac
   1001 
   1002   # Accept the important Cygnus configure options, so we can diagnose typos.
   1003 
   1004   case $ac_dashdash$ac_option in
   1005   --)
   1006     ac_dashdash=yes ;;
   1007 
   1008   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1009     ac_prev=bindir ;;
   1010   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1011     bindir=$ac_optarg ;;
   1012 
   1013   -build | --build | --buil | --bui | --bu)
   1014     ac_prev=build_alias ;;
   1015   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1016     build_alias=$ac_optarg ;;
   1017 
   1018   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1019   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1020     ac_prev=cache_file ;;
   1021   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1022   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1023     cache_file=$ac_optarg ;;
   1024 
   1025   --config-cache | -C)
   1026     cache_file=config.cache ;;
   1027 
   1028   -datadir | --datadir | --datadi | --datad)
   1029     ac_prev=datadir ;;
   1030   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1031     datadir=$ac_optarg ;;
   1032 
   1033   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1034   | --dataroo | --dataro | --datar)
   1035     ac_prev=datarootdir ;;
   1036   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1037   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1038     datarootdir=$ac_optarg ;;
   1039 
   1040   -disable-* | --disable-*)
   1041     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1044       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1045    { (exit 1); exit 1; }; }
   1046     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1047     eval enable_$ac_feature=no ;;
   1048 
   1049   -docdir | --docdir | --docdi | --doc | --do)
   1050     ac_prev=docdir ;;
   1051   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1052     docdir=$ac_optarg ;;
   1053 
   1054   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1055     ac_prev=dvidir ;;
   1056   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1057     dvidir=$ac_optarg ;;
   1058 
   1059   -enable-* | --enable-*)
   1060     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1061     # Reject names that are not valid shell variable names.
   1062     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1063       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1064    { (exit 1); exit 1; }; }
   1065     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1066     eval enable_$ac_feature=\$ac_optarg ;;
   1067 
   1068   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1069   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1070   | --exec | --exe | --ex)
   1071     ac_prev=exec_prefix ;;
   1072   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1073   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1074   | --exec=* | --exe=* | --ex=*)
   1075     exec_prefix=$ac_optarg ;;
   1076 
   1077   -gas | --gas | --ga | --g)
   1078     # Obsolete; use --with-gas.
   1079     with_gas=yes ;;
   1080 
   1081   -help | --help | --hel | --he | -h)
   1082     ac_init_help=long ;;
   1083   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1084     ac_init_help=recursive ;;
   1085   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1086     ac_init_help=short ;;
   1087 
   1088   -host | --host | --hos | --ho)
   1089     ac_prev=host_alias ;;
   1090   -host=* | --host=* | --hos=* | --ho=*)
   1091     host_alias=$ac_optarg ;;
   1092 
   1093   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1094     ac_prev=htmldir ;;
   1095   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1096   | --ht=*)
   1097     htmldir=$ac_optarg ;;
   1098 
   1099   -includedir | --includedir | --includedi | --included | --include \
   1100   | --includ | --inclu | --incl | --inc)
   1101     ac_prev=includedir ;;
   1102   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1103   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1104     includedir=$ac_optarg ;;
   1105 
   1106   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1107     ac_prev=infodir ;;
   1108   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1109     infodir=$ac_optarg ;;
   1110 
   1111   -libdir | --libdir | --libdi | --libd)
   1112     ac_prev=libdir ;;
   1113   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1114     libdir=$ac_optarg ;;
   1115 
   1116   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1117   | --libexe | --libex | --libe)
   1118     ac_prev=libexecdir ;;
   1119   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1120   | --libexe=* | --libex=* | --libe=*)
   1121     libexecdir=$ac_optarg ;;
   1122 
   1123   -localedir | --localedir | --localedi | --localed | --locale)
   1124     ac_prev=localedir ;;
   1125   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1126     localedir=$ac_optarg ;;
   1127 
   1128   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1129   | --localstate | --localstat | --localsta | --localst | --locals)
   1130     ac_prev=localstatedir ;;
   1131   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1132   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1133     localstatedir=$ac_optarg ;;
   1134 
   1135   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1136     ac_prev=mandir ;;
   1137   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1138     mandir=$ac_optarg ;;
   1139 
   1140   -nfp | --nfp | --nf)
   1141     # Obsolete; use --without-fp.
   1142     with_fp=no ;;
   1143 
   1144   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1145   | --no-cr | --no-c | -n)
   1146     no_create=yes ;;
   1147 
   1148   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1149   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1150     no_recursion=yes ;;
   1151 
   1152   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1153   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1154   | --oldin | --oldi | --old | --ol | --o)
   1155     ac_prev=oldincludedir ;;
   1156   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1157   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1158   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1159     oldincludedir=$ac_optarg ;;
   1160 
   1161   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1162     ac_prev=prefix ;;
   1163   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1164     prefix=$ac_optarg ;;
   1165 
   1166   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1167   | --program-pre | --program-pr | --program-p)
   1168     ac_prev=program_prefix ;;
   1169   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1170   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1171     program_prefix=$ac_optarg ;;
   1172 
   1173   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1174   | --program-suf | --program-su | --program-s)
   1175     ac_prev=program_suffix ;;
   1176   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1177   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1178     program_suffix=$ac_optarg ;;
   1179 
   1180   -program-transform-name | --program-transform-name \
   1181   | --program-transform-nam | --program-transform-na \
   1182   | --program-transform-n | --program-transform- \
   1183   | --program-transform | --program-transfor \
   1184   | --program-transfo | --program-transf \
   1185   | --program-trans | --program-tran \
   1186   | --progr-tra | --program-tr | --program-t)
   1187     ac_prev=program_transform_name ;;
   1188   -program-transform-name=* | --program-transform-name=* \
   1189   | --program-transform-nam=* | --program-transform-na=* \
   1190   | --program-transform-n=* | --program-transform-=* \
   1191   | --program-transform=* | --program-transfor=* \
   1192   | --program-transfo=* | --program-transf=* \
   1193   | --program-trans=* | --program-tran=* \
   1194   | --progr-tra=* | --program-tr=* | --program-t=*)
   1195     program_transform_name=$ac_optarg ;;
   1196 
   1197   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1198     ac_prev=pdfdir ;;
   1199   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1200     pdfdir=$ac_optarg ;;
   1201 
   1202   -psdir | --psdir | --psdi | --psd | --ps)
   1203     ac_prev=psdir ;;
   1204   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1205     psdir=$ac_optarg ;;
   1206 
   1207   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1208   | -silent | --silent | --silen | --sile | --sil)
   1209     silent=yes ;;
   1210 
   1211   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1212     ac_prev=sbindir ;;
   1213   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1214   | --sbi=* | --sb=*)
   1215     sbindir=$ac_optarg ;;
   1216 
   1217   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1218   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1219   | --sharedst | --shareds | --shared | --share | --shar \
   1220   | --sha | --sh)
   1221     ac_prev=sharedstatedir ;;
   1222   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1223   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1224   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1225   | --sha=* | --sh=*)
   1226     sharedstatedir=$ac_optarg ;;
   1227 
   1228   -site | --site | --sit)
   1229     ac_prev=site ;;
   1230   -site=* | --site=* | --sit=*)
   1231     site=$ac_optarg ;;
   1232 
   1233   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1234     ac_prev=srcdir ;;
   1235   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1236     srcdir=$ac_optarg ;;
   1237 
   1238   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1239   | --syscon | --sysco | --sysc | --sys | --sy)
   1240     ac_prev=sysconfdir ;;
   1241   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1242   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1243     sysconfdir=$ac_optarg ;;
   1244 
   1245   -target | --target | --targe | --targ | --tar | --ta | --t)
   1246     ac_prev=target_alias ;;
   1247   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1248     target_alias=$ac_optarg ;;
   1249 
   1250   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1251     verbose=yes ;;
   1252 
   1253   -version | --version | --versio | --versi | --vers | -V)
   1254     ac_init_version=: ;;
   1255 
   1256   -with-* | --with-*)
   1257     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1258     # Reject names that are not valid shell variable names.
   1259     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1261    { (exit 1); exit 1; }; }
   1262     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1263     eval with_$ac_package=\$ac_optarg ;;
   1264 
   1265   -without-* | --without-*)
   1266     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1267     # Reject names that are not valid shell variable names.
   1268     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1269       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1270    { (exit 1); exit 1; }; }
   1271     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1272     eval with_$ac_package=no ;;
   1273 
   1274   --x)
   1275     # Obsolete; use --with-x.
   1276     with_x=yes ;;
   1277 
   1278   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1279   | --x-incl | --x-inc | --x-in | --x-i)
   1280     ac_prev=x_includes ;;
   1281   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1282   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1283     x_includes=$ac_optarg ;;
   1284 
   1285   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1286   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1287     ac_prev=x_libraries ;;
   1288   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1289   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1290     x_libraries=$ac_optarg ;;
   1291 
   1292   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1293 Try \`$0 --help' for more information." >&2
   1294    { (exit 1); exit 1; }; }
   1295     ;;
   1296 
   1297   *=*)
   1298     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1299     # Reject names that are not valid shell variable names.
   1300     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1301       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1302    { (exit 1); exit 1; }; }
   1303     eval $ac_envvar=\$ac_optarg
   1304     export $ac_envvar ;;
   1305 
   1306   *)
   1307     # FIXME: should be removed in autoconf 3.0.
   1308     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1309     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1310       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1311     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1312     ;;
   1313 
   1314   esac
   1315 done
   1316 
   1317 if test -n "$ac_prev"; then
   1318   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1319   { echo "$as_me: error: missing argument to $ac_option" >&2
   1320    { (exit 1); exit 1; }; }
   1321 fi
   1322 
   1323 # Be sure to have absolute directory names.
   1324 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1325 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1326 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1327 		libdir localedir mandir
   1328 do
   1329   eval ac_val=\$$ac_var
   1330   case $ac_val in
   1331     [\\/$]* | ?:[\\/]* )  continue;;
   1332     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1333   esac
   1334   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1335    { (exit 1); exit 1; }; }
   1336 done
   1337 
   1338 # There might be people who depend on the old broken behavior: `$host'
   1339 # used to hold the argument of --host etc.
   1340 # FIXME: To remove some day.
   1341 build=$build_alias
   1342 host=$host_alias
   1343 target=$target_alias
   1344 
   1345 # FIXME: To remove some day.
   1346 if test "x$host_alias" != x; then
   1347   if test "x$build_alias" = x; then
   1348     cross_compiling=maybe
   1349     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1350     If a cross compiler is detected then cross compile mode will be used." >&2
   1351   elif test "x$build_alias" != "x$host_alias"; then
   1352     cross_compiling=yes
   1353   fi
   1354 fi
   1355 
   1356 ac_tool_prefix=
   1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1358 
   1359 test "$silent" = yes && exec 6>/dev/null
   1360 
   1361 
   1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1363 ac_ls_di=`ls -di .` &&
   1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1365   { echo "$as_me: error: Working directory cannot be determined" >&2
   1366    { (exit 1); exit 1; }; }
   1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1368   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1369    { (exit 1); exit 1; }; }
   1370 
   1371 
   1372 # Find the source files, if location was not specified.
   1373 if test -z "$srcdir"; then
   1374   ac_srcdir_defaulted=yes
   1375   # Try the directory containing this script, then the parent directory.
   1376   ac_confdir=`$as_dirname -- "$0" ||
   1377 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1378 	 X"$0" : 'X\(//\)[^/]' \| \
   1379 	 X"$0" : 'X\(//\)$' \| \
   1380 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1381 echo X"$0" |
   1382     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1383 	    s//\1/
   1384 	    q
   1385 	  }
   1386 	  /^X\(\/\/\)[^/].*/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)$/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\).*/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  s/.*/./; q'`
   1399   srcdir=$ac_confdir
   1400   if test ! -r "$srcdir/$ac_unique_file"; then
   1401     srcdir=..
   1402   fi
   1403 else
   1404   ac_srcdir_defaulted=no
   1405 fi
   1406 if test ! -r "$srcdir/$ac_unique_file"; then
   1407   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1408   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1409    { (exit 1); exit 1; }; }
   1410 fi
   1411 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1412 ac_abs_confdir=`(
   1413 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1414    { (exit 1); exit 1; }; }
   1415 	pwd)`
   1416 # When building in place, set srcdir=.
   1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1418   srcdir=.
   1419 fi
   1420 # Remove unnecessary trailing slashes from srcdir.
   1421 # Double slashes in file names in object file debugging info
   1422 # mess up M-x gdb in Emacs.
   1423 case $srcdir in
   1424 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1425 esac
   1426 for ac_var in $ac_precious_vars; do
   1427   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1428   eval ac_env_${ac_var}_value=\$${ac_var}
   1429   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1430   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1431 done
   1432 
   1433 #
   1434 # Report the --help message.
   1435 #
   1436 if test "$ac_init_help" = "long"; then
   1437   # Omit some internal or obsolete options to make the list less imposing.
   1438   # This message is too long to be a string in the A/UX 3.1 sh.
   1439   cat <<_ACEOF
   1440 \`configure' configures xf86-video-ati 6.13.0 to adapt to many kinds of systems.
   1441 
   1442 Usage: $0 [OPTION]... [VAR=VALUE]...
   1443 
   1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1445 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1446 
   1447 Defaults for the options are specified in brackets.
   1448 
   1449 Configuration:
   1450   -h, --help              display this help and exit
   1451       --help=short        display options specific to this package
   1452       --help=recursive    display the short help of all the included packages
   1453   -V, --version           display version information and exit
   1454   -q, --quiet, --silent   do not print \`checking...' messages
   1455       --cache-file=FILE   cache test results in FILE [disabled]
   1456   -C, --config-cache      alias for \`--cache-file=config.cache'
   1457   -n, --no-create         do not create output files
   1458       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1459 
   1460 Installation directories:
   1461   --prefix=PREFIX         install architecture-independent files in PREFIX
   1462 			  [$ac_default_prefix]
   1463   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1464 			  [PREFIX]
   1465 
   1466 By default, \`make install' will install all the files in
   1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1469 for instance \`--prefix=\$HOME'.
   1470 
   1471 For better control, use the options below.
   1472 
   1473 Fine tuning of the installation directories:
   1474   --bindir=DIR           user executables [EPREFIX/bin]
   1475   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1476   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1477   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1478   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1479   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1480   --libdir=DIR           object code libraries [EPREFIX/lib]
   1481   --includedir=DIR       C header files [PREFIX/include]
   1482   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1483   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1484   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1485   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1486   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1487   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1488   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-ati]
   1489   --htmldir=DIR          html documentation [DOCDIR]
   1490   --dvidir=DIR           dvi documentation [DOCDIR]
   1491   --pdfdir=DIR           pdf documentation [DOCDIR]
   1492   --psdir=DIR            ps documentation [DOCDIR]
   1493 _ACEOF
   1494 
   1495   cat <<\_ACEOF
   1496 
   1497 Program names:
   1498   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1499   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1500   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1501 
   1502 System types:
   1503   --build=BUILD     configure for building on BUILD [guessed]
   1504   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1505 _ACEOF
   1506 fi
   1507 
   1508 if test -n "$ac_init_help"; then
   1509   case $ac_init_help in
   1510      short | recursive ) echo "Configuration of xf86-video-ati 6.13.0:";;
   1511    esac
   1512   cat <<\_ACEOF
   1513 
   1514 Optional Features:
   1515   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1516   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1517   --enable-strict-compilation
   1518                           Enable all warnings from compiler and make them
   1519                           errors (default: disabled)
   1520   --disable-dependency-tracking  speeds up one-time build
   1521   --enable-dependency-tracking   do not reject slow dependency extractors
   1522   --disable-largefile     omit support for large files
   1523   --enable-maintainer-mode  enable make rules and dependencies not useful
   1524 			  (and sometimes confusing) to the casual installer
   1525   --enable-static[=PKGS]  build static libraries [default=no]
   1526   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1527   --enable-fast-install[=PKGS]
   1528                           optimize for fast installation [default=yes]
   1529   --disable-libtool-lock  avoid locking (might break parallel builds)
   1530   --disable-dri           Disable DRI support [default=auto]
   1531   --disable-exa           Disable EXA support [default=enabled]
   1532   --disable-kms           Disable KMS support [default=enabled]
   1533 
   1534 Optional Packages:
   1535   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1536   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1537   --with-release-version=STRING
   1538                           Use release version string in package name
   1539   --with-pic              try to use only PIC/non-PIC objects [default=use
   1540                           both]
   1541   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1542   --with-xorg-module-dir=DIR
   1543                           Default xorg module directory
   1544                           [default=$libdir/xorg/modules]
   1545   --with-xserver-source=XSERVER_SOURCE
   1546                           Path to X server source tree
   1547 
   1548 Some influential environment variables:
   1549   CC          C compiler command
   1550   CFLAGS      C compiler flags
   1551   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1552               nonstandard directory <lib dir>
   1553   LIBS        libraries to pass to the linker, e.g. -l<library>
   1554   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1555               you have headers in a nonstandard directory <include dir>
   1556   CPP         C preprocessor
   1557   PKG_CONFIG  path to pkg-config utility
   1558   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1559   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1560   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1561   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1562   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1563   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1564   LIBDRM_RADEON_CFLAGS
   1565               C compiler flags for LIBDRM_RADEON, overriding pkg-config
   1566   LIBDRM_RADEON_LIBS
   1567               linker flags for LIBDRM_RADEON, overriding pkg-config
   1568   PCIACCESS_CFLAGS
   1569               C compiler flags for PCIACCESS, overriding pkg-config
   1570   PCIACCESS_LIBS
   1571               linker flags for PCIACCESS, overriding pkg-config
   1572 
   1573 Use these variables to override the choices made by `configure' or to help
   1574 it to find libraries and programs with nonstandard names/locations.
   1575 
   1576 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1577 _ACEOF
   1578 ac_status=$?
   1579 fi
   1580 
   1581 if test "$ac_init_help" = "recursive"; then
   1582   # If there are subdirs, report their specific --help.
   1583   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1584     test -d "$ac_dir" || continue
   1585     ac_builddir=.
   1586 
   1587 case "$ac_dir" in
   1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1589 *)
   1590   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1591   # A ".." for each directory in $ac_dir_suffix.
   1592   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1593   case $ac_top_builddir_sub in
   1594   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1595   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1596   esac ;;
   1597 esac
   1598 ac_abs_top_builddir=$ac_pwd
   1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1600 # for backward compatibility:
   1601 ac_top_builddir=$ac_top_build_prefix
   1602 
   1603 case $srcdir in
   1604   .)  # We are building in place.
   1605     ac_srcdir=.
   1606     ac_top_srcdir=$ac_top_builddir_sub
   1607     ac_abs_top_srcdir=$ac_pwd ;;
   1608   [\\/]* | ?:[\\/]* )  # Absolute name.
   1609     ac_srcdir=$srcdir$ac_dir_suffix;
   1610     ac_top_srcdir=$srcdir
   1611     ac_abs_top_srcdir=$srcdir ;;
   1612   *) # Relative name.
   1613     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1614     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1615     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1616 esac
   1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1618 
   1619     cd "$ac_dir" || { ac_status=$?; continue; }
   1620     # Check for guested configure.
   1621     if test -f "$ac_srcdir/configure.gnu"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1624     elif test -f "$ac_srcdir/configure"; then
   1625       echo &&
   1626       $SHELL "$ac_srcdir/configure" --help=recursive
   1627     else
   1628       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1629     fi || ac_status=$?
   1630     cd "$ac_pwd" || { ac_status=$?; break; }
   1631   done
   1632 fi
   1633 
   1634 test -n "$ac_init_help" && exit $ac_status
   1635 if $ac_init_version; then
   1636   cat <<\_ACEOF
   1637 xf86-video-ati configure 6.13.0
   1638 generated by GNU Autoconf 2.61
   1639 
   1640 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1641 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1642 This configure script is free software; the Free Software Foundation
   1643 gives unlimited permission to copy, distribute and modify it.
   1644 _ACEOF
   1645   exit
   1646 fi
   1647 cat >config.log <<_ACEOF
   1648 This file contains any messages produced by compilers while
   1649 running configure, to aid debugging if configure makes a mistake.
   1650 
   1651 It was created by xf86-video-ati $as_me 6.13.0, which was
   1652 generated by GNU Autoconf 2.61.  Invocation command line was
   1653 
   1654   $ $0 $@
   1655 
   1656 _ACEOF
   1657 exec 5>>config.log
   1658 {
   1659 cat <<_ASUNAME
   1660 ## --------- ##
   1661 ## Platform. ##
   1662 ## --------- ##
   1663 
   1664 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1665 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1666 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1667 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1668 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1669 
   1670 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1671 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1672 
   1673 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1674 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1675 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1676 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1677 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1678 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1679 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1680 
   1681 _ASUNAME
   1682 
   1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1684 for as_dir in $PATH
   1685 do
   1686   IFS=$as_save_IFS
   1687   test -z "$as_dir" && as_dir=.
   1688   echo "PATH: $as_dir"
   1689 done
   1690 IFS=$as_save_IFS
   1691 
   1692 } >&5
   1693 
   1694 cat >&5 <<_ACEOF
   1695 
   1696 
   1697 ## ----------- ##
   1698 ## Core tests. ##
   1699 ## ----------- ##
   1700 
   1701 _ACEOF
   1702 
   1703 
   1704 # Keep a trace of the command line.
   1705 # Strip out --no-create and --no-recursion so they do not pile up.
   1706 # Strip out --silent because we don't want to record it for future runs.
   1707 # Also quote any args containing shell meta-characters.
   1708 # Make two passes to allow for proper duplicate-argument suppression.
   1709 ac_configure_args=
   1710 ac_configure_args0=
   1711 ac_configure_args1=
   1712 ac_must_keep_next=false
   1713 for ac_pass in 1 2
   1714 do
   1715   for ac_arg
   1716   do
   1717     case $ac_arg in
   1718     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1719     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1720     | -silent | --silent | --silen | --sile | --sil)
   1721       continue ;;
   1722     *\'*)
   1723       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1724     esac
   1725     case $ac_pass in
   1726     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1727     2)
   1728       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1729       if test $ac_must_keep_next = true; then
   1730 	ac_must_keep_next=false # Got value, back to normal.
   1731       else
   1732 	case $ac_arg in
   1733 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1734 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1735 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1736 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1737 	    case "$ac_configure_args0 " in
   1738 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1739 	    esac
   1740 	    ;;
   1741 	  -* ) ac_must_keep_next=true ;;
   1742 	esac
   1743       fi
   1744       ac_configure_args="$ac_configure_args '$ac_arg'"
   1745       ;;
   1746     esac
   1747   done
   1748 done
   1749 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1750 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1751 
   1752 # When interrupted or exit'd, cleanup temporary files, and complete
   1753 # config.log.  We remove comments because anyway the quotes in there
   1754 # would cause problems or look ugly.
   1755 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1756 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1757 trap 'exit_status=$?
   1758   # Save into config.log some information that might help in debugging.
   1759   {
   1760     echo
   1761 
   1762     cat <<\_ASBOX
   1763 ## ---------------- ##
   1764 ## Cache variables. ##
   1765 ## ---------------- ##
   1766 _ASBOX
   1767     echo
   1768     # The following way of writing the cache mishandles newlines in values,
   1769 (
   1770   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1771     eval ac_val=\$$ac_var
   1772     case $ac_val in #(
   1773     *${as_nl}*)
   1774       case $ac_var in #(
   1775       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1777       esac
   1778       case $ac_var in #(
   1779       _ | IFS | as_nl) ;; #(
   1780       *) $as_unset $ac_var ;;
   1781       esac ;;
   1782     esac
   1783   done
   1784   (set) 2>&1 |
   1785     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1786     *${as_nl}ac_space=\ *)
   1787       sed -n \
   1788 	"s/'\''/'\''\\\\'\'''\''/g;
   1789 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1790       ;; #(
   1791     *)
   1792       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1793       ;;
   1794     esac |
   1795     sort
   1796 )
   1797     echo
   1798 
   1799     cat <<\_ASBOX
   1800 ## ----------------- ##
   1801 ## Output variables. ##
   1802 ## ----------------- ##
   1803 _ASBOX
   1804     echo
   1805     for ac_var in $ac_subst_vars
   1806     do
   1807       eval ac_val=\$$ac_var
   1808       case $ac_val in
   1809       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1810       esac
   1811       echo "$ac_var='\''$ac_val'\''"
   1812     done | sort
   1813     echo
   1814 
   1815     if test -n "$ac_subst_files"; then
   1816       cat <<\_ASBOX
   1817 ## ------------------- ##
   1818 ## File substitutions. ##
   1819 ## ------------------- ##
   1820 _ASBOX
   1821       echo
   1822       for ac_var in $ac_subst_files
   1823       do
   1824 	eval ac_val=\$$ac_var
   1825 	case $ac_val in
   1826 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1827 	esac
   1828 	echo "$ac_var='\''$ac_val'\''"
   1829       done | sort
   1830       echo
   1831     fi
   1832 
   1833     if test -s confdefs.h; then
   1834       cat <<\_ASBOX
   1835 ## ----------- ##
   1836 ## confdefs.h. ##
   1837 ## ----------- ##
   1838 _ASBOX
   1839       echo
   1840       cat confdefs.h
   1841       echo
   1842     fi
   1843     test "$ac_signal" != 0 &&
   1844       echo "$as_me: caught signal $ac_signal"
   1845     echo "$as_me: exit $exit_status"
   1846   } >&5
   1847   rm -f core *.core core.conftest.* &&
   1848     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1849     exit $exit_status
   1850 ' 0
   1851 for ac_signal in 1 2 13 15; do
   1852   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1853 done
   1854 ac_signal=0
   1855 
   1856 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1857 rm -f -r conftest* confdefs.h
   1858 
   1859 # Predefined preprocessor variables.
   1860 
   1861 cat >>confdefs.h <<_ACEOF
   1862 #define PACKAGE_NAME "$PACKAGE_NAME"
   1863 _ACEOF
   1864 
   1865 
   1866 cat >>confdefs.h <<_ACEOF
   1867 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1868 _ACEOF
   1869 
   1870 
   1871 cat >>confdefs.h <<_ACEOF
   1872 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1873 _ACEOF
   1874 
   1875 
   1876 cat >>confdefs.h <<_ACEOF
   1877 #define PACKAGE_STRING "$PACKAGE_STRING"
   1878 _ACEOF
   1879 
   1880 
   1881 cat >>confdefs.h <<_ACEOF
   1882 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1883 _ACEOF
   1884 
   1885 
   1886 # Let the site file select an alternate cache file if it wants to.
   1887 # Prefer explicitly selected file to automatically selected ones.
   1888 if test -n "$CONFIG_SITE"; then
   1889   set x "$CONFIG_SITE"
   1890 elif test "x$prefix" != xNONE; then
   1891   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1892 else
   1893   set x "$ac_default_prefix/share/config.site" \
   1894 	"$ac_default_prefix/etc/config.site"
   1895 fi
   1896 shift
   1897 for ac_site_file
   1898 do
   1899   if test -r "$ac_site_file"; then
   1900     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1901 echo "$as_me: loading site script $ac_site_file" >&6;}
   1902     sed 's/^/| /' "$ac_site_file" >&5
   1903     . "$ac_site_file"
   1904   fi
   1905 done
   1906 
   1907 if test -r "$cache_file"; then
   1908   # Some versions of bash will fail to source /dev/null (special
   1909   # files actually), so we avoid doing that.
   1910   if test -f "$cache_file"; then
   1911     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1912 echo "$as_me: loading cache $cache_file" >&6;}
   1913     case $cache_file in
   1914       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1915       *)                      . "./$cache_file";;
   1916     esac
   1917   fi
   1918 else
   1919   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1920 echo "$as_me: creating cache $cache_file" >&6;}
   1921   >$cache_file
   1922 fi
   1923 
   1924 # Check that the precious variables saved in the cache have kept the same
   1925 # value.
   1926 ac_cache_corrupted=false
   1927 for ac_var in $ac_precious_vars; do
   1928   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1929   eval ac_new_set=\$ac_env_${ac_var}_set
   1930   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1931   eval ac_new_val=\$ac_env_${ac_var}_value
   1932   case $ac_old_set,$ac_new_set in
   1933     set,)
   1934       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1935 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1936       ac_cache_corrupted=: ;;
   1937     ,set)
   1938       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1939 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1940       ac_cache_corrupted=: ;;
   1941     ,);;
   1942     *)
   1943       if test "x$ac_old_val" != "x$ac_new_val"; then
   1944 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1945 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1946 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1947 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1948 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1949 echo "$as_me:   current value: $ac_new_val" >&2;}
   1950 	ac_cache_corrupted=:
   1951       fi;;
   1952   esac
   1953   # Pass precious variables to config.status.
   1954   if test "$ac_new_set" = set; then
   1955     case $ac_new_val in
   1956     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1957     *) ac_arg=$ac_var=$ac_new_val ;;
   1958     esac
   1959     case " $ac_configure_args " in
   1960       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1961       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1962     esac
   1963   fi
   1964 done
   1965 if $ac_cache_corrupted; then
   1966   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1967 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1968   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1969 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1970    { (exit 1); exit 1; }; }
   1971 fi
   1972 
   1973 
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 
   1994 
   1995 
   1996 
   1997 ac_ext=c
   1998 ac_cpp='$CPP $CPPFLAGS'
   1999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2002 
   2003 
   2004 
   2005 
   2006 ac_config_headers="$ac_config_headers config.h"
   2007 
   2008 
   2009 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2010 
   2011 
   2012 
   2013 
   2014 
   2015 
   2016 
   2017 
   2018 
   2019 
   2020 
   2021 ac_ext=c
   2022 ac_cpp='$CPP $CPPFLAGS'
   2023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2026 if test -n "$ac_tool_prefix"; then
   2027   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2031 if test "${ac_cv_prog_CC+set}" = set; then
   2032   echo $ECHO_N "(cached) $ECHO_C" >&6
   2033 else
   2034   if test -n "$CC"; then
   2035   ac_cv_prog_CC="$CC" # Let the user override the test.
   2036 else
   2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2038 for as_dir in $PATH
   2039 do
   2040   IFS=$as_save_IFS
   2041   test -z "$as_dir" && as_dir=.
   2042   for ac_exec_ext in '' $ac_executable_extensions; do
   2043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2044     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2045     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2046     break 2
   2047   fi
   2048 done
   2049 done
   2050 IFS=$as_save_IFS
   2051 
   2052 fi
   2053 fi
   2054 CC=$ac_cv_prog_CC
   2055 if test -n "$CC"; then
   2056   { echo "$as_me:$LINENO: result: $CC" >&5
   2057 echo "${ECHO_T}$CC" >&6; }
   2058 else
   2059   { echo "$as_me:$LINENO: result: no" >&5
   2060 echo "${ECHO_T}no" >&6; }
   2061 fi
   2062 
   2063 
   2064 fi
   2065 if test -z "$ac_cv_prog_CC"; then
   2066   ac_ct_CC=$CC
   2067   # Extract the first word of "gcc", so it can be a program name with args.
   2068 set dummy gcc; ac_word=$2
   2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2072   echo $ECHO_N "(cached) $ECHO_C" >&6
   2073 else
   2074   if test -n "$ac_ct_CC"; then
   2075   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2076 else
   2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2078 for as_dir in $PATH
   2079 do
   2080   IFS=$as_save_IFS
   2081   test -z "$as_dir" && as_dir=.
   2082   for ac_exec_ext in '' $ac_executable_extensions; do
   2083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2084     ac_cv_prog_ac_ct_CC="gcc"
   2085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2086     break 2
   2087   fi
   2088 done
   2089 done
   2090 IFS=$as_save_IFS
   2091 
   2092 fi
   2093 fi
   2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2095 if test -n "$ac_ct_CC"; then
   2096   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2097 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2098 else
   2099   { echo "$as_me:$LINENO: result: no" >&5
   2100 echo "${ECHO_T}no" >&6; }
   2101 fi
   2102 
   2103   if test "x$ac_ct_CC" = x; then
   2104     CC=""
   2105   else
   2106     case $cross_compiling:$ac_tool_warned in
   2107 yes:)
   2108 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2109 whose name does not start with the host triplet.  If you think this
   2110 configuration is useful to you, please write to autoconf@gnu.org." >&5
   2111 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2112 whose name does not start with the host triplet.  If you think this
   2113 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   2114 ac_tool_warned=yes ;;
   2115 esac
   2116     CC=$ac_ct_CC
   2117   fi
   2118 else
   2119   CC="$ac_cv_prog_CC"
   2120 fi
   2121 
   2122 if test -z "$CC"; then
   2123           if test -n "$ac_tool_prefix"; then
   2124     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2125 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2128 if test "${ac_cv_prog_CC+set}" = set; then
   2129   echo $ECHO_N "(cached) $ECHO_C" >&6
   2130 else
   2131   if test -n "$CC"; then
   2132   ac_cv_prog_CC="$CC" # Let the user override the test.
   2133 else
   2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2135 for as_dir in $PATH
   2136 do
   2137   IFS=$as_save_IFS
   2138   test -z "$as_dir" && as_dir=.
   2139   for ac_exec_ext in '' $ac_executable_extensions; do
   2140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2141     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2142     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2143     break 2
   2144   fi
   2145 done
   2146 done
   2147 IFS=$as_save_IFS
   2148 
   2149 fi
   2150 fi
   2151 CC=$ac_cv_prog_CC
   2152 if test -n "$CC"; then
   2153   { echo "$as_me:$LINENO: result: $CC" >&5
   2154 echo "${ECHO_T}$CC" >&6; }
   2155 else
   2156   { echo "$as_me:$LINENO: result: no" >&5
   2157 echo "${ECHO_T}no" >&6; }
   2158 fi
   2159 
   2160 
   2161   fi
   2162 fi
   2163 if test -z "$CC"; then
   2164   # Extract the first word of "cc", so it can be a program name with args.
   2165 set dummy cc; ac_word=$2
   2166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2168 if test "${ac_cv_prog_CC+set}" = set; then
   2169   echo $ECHO_N "(cached) $ECHO_C" >&6
   2170 else
   2171   if test -n "$CC"; then
   2172   ac_cv_prog_CC="$CC" # Let the user override the test.
   2173 else
   2174   ac_prog_rejected=no
   2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2176 for as_dir in $PATH
   2177 do
   2178   IFS=$as_save_IFS
   2179   test -z "$as_dir" && as_dir=.
   2180   for ac_exec_ext in '' $ac_executable_extensions; do
   2181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2182     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2183        ac_prog_rejected=yes
   2184        continue
   2185      fi
   2186     ac_cv_prog_CC="cc"
   2187     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2188     break 2
   2189   fi
   2190 done
   2191 done
   2192 IFS=$as_save_IFS
   2193 
   2194 if test $ac_prog_rejected = yes; then
   2195   # We found a bogon in the path, so make sure we never use it.
   2196   set dummy $ac_cv_prog_CC
   2197   shift
   2198   if test $# != 0; then
   2199     # We chose a different compiler from the bogus one.
   2200     # However, it has the same basename, so the bogon will be chosen
   2201     # first if we set CC to just the basename; use the full file name.
   2202     shift
   2203     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2204   fi
   2205 fi
   2206 fi
   2207 fi
   2208 CC=$ac_cv_prog_CC
   2209 if test -n "$CC"; then
   2210   { echo "$as_me:$LINENO: result: $CC" >&5
   2211 echo "${ECHO_T}$CC" >&6; }
   2212 else
   2213   { echo "$as_me:$LINENO: result: no" >&5
   2214 echo "${ECHO_T}no" >&6; }
   2215 fi
   2216 
   2217 
   2218 fi
   2219 if test -z "$CC"; then
   2220   if test -n "$ac_tool_prefix"; then
   2221   for ac_prog in cl.exe
   2222   do
   2223     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2227 if test "${ac_cv_prog_CC+set}" = set; then
   2228   echo $ECHO_N "(cached) $ECHO_C" >&6
   2229 else
   2230   if test -n "$CC"; then
   2231   ac_cv_prog_CC="$CC" # Let the user override the test.
   2232 else
   2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2234 for as_dir in $PATH
   2235 do
   2236   IFS=$as_save_IFS
   2237   test -z "$as_dir" && as_dir=.
   2238   for ac_exec_ext in '' $ac_executable_extensions; do
   2239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2240     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2242     break 2
   2243   fi
   2244 done
   2245 done
   2246 IFS=$as_save_IFS
   2247 
   2248 fi
   2249 fi
   2250 CC=$ac_cv_prog_CC
   2251 if test -n "$CC"; then
   2252   { echo "$as_me:$LINENO: result: $CC" >&5
   2253 echo "${ECHO_T}$CC" >&6; }
   2254 else
   2255   { echo "$as_me:$LINENO: result: no" >&5
   2256 echo "${ECHO_T}no" >&6; }
   2257 fi
   2258 
   2259 
   2260     test -n "$CC" && break
   2261   done
   2262 fi
   2263 if test -z "$CC"; then
   2264   ac_ct_CC=$CC
   2265   for ac_prog in cl.exe
   2266 do
   2267   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2268 set dummy $ac_prog; ac_word=$2
   2269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2272   echo $ECHO_N "(cached) $ECHO_C" >&6
   2273 else
   2274   if test -n "$ac_ct_CC"; then
   2275   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2276 else
   2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2278 for as_dir in $PATH
   2279 do
   2280   IFS=$as_save_IFS
   2281   test -z "$as_dir" && as_dir=.
   2282   for ac_exec_ext in '' $ac_executable_extensions; do
   2283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2284     ac_cv_prog_ac_ct_CC="$ac_prog"
   2285     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2286     break 2
   2287   fi
   2288 done
   2289 done
   2290 IFS=$as_save_IFS
   2291 
   2292 fi
   2293 fi
   2294 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2295 if test -n "$ac_ct_CC"; then
   2296   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2297 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2298 else
   2299   { echo "$as_me:$LINENO: result: no" >&5
   2300 echo "${ECHO_T}no" >&6; }
   2301 fi
   2302 
   2303 
   2304   test -n "$ac_ct_CC" && break
   2305 done
   2306 
   2307   if test "x$ac_ct_CC" = x; then
   2308     CC=""
   2309   else
   2310     case $cross_compiling:$ac_tool_warned in
   2311 yes:)
   2312 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2313 whose name does not start with the host triplet.  If you think this
   2314 configuration is useful to you, please write to autoconf@gnu.org." >&5
   2315 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2316 whose name does not start with the host triplet.  If you think this
   2317 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   2318 ac_tool_warned=yes ;;
   2319 esac
   2320     CC=$ac_ct_CC
   2321   fi
   2322 fi
   2323 
   2324 fi
   2325 
   2326 
   2327 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2328 See \`config.log' for more details." >&5
   2329 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2330 See \`config.log' for more details." >&2;}
   2331    { (exit 1); exit 1; }; }
   2332 
   2333 # Provide some information about the compiler.
   2334 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2335 ac_compiler=`set X $ac_compile; echo $2`
   2336 { (ac_try="$ac_compiler --version >&5"
   2337 case "(($ac_try" in
   2338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2339   *) ac_try_echo=$ac_try;;
   2340 esac
   2341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2342   (eval "$ac_compiler --version >&5") 2>&5
   2343   ac_status=$?
   2344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2345   (exit $ac_status); }
   2346 { (ac_try="$ac_compiler -v >&5"
   2347 case "(($ac_try" in
   2348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2349   *) ac_try_echo=$ac_try;;
   2350 esac
   2351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2352   (eval "$ac_compiler -v >&5") 2>&5
   2353   ac_status=$?
   2354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2355   (exit $ac_status); }
   2356 { (ac_try="$ac_compiler -V >&5"
   2357 case "(($ac_try" in
   2358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2359   *) ac_try_echo=$ac_try;;
   2360 esac
   2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2362   (eval "$ac_compiler -V >&5") 2>&5
   2363   ac_status=$?
   2364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2365   (exit $ac_status); }
   2366 
   2367 cat >conftest.$ac_ext <<_ACEOF
   2368 /* confdefs.h.  */
   2369 _ACEOF
   2370 cat confdefs.h >>conftest.$ac_ext
   2371 cat >>conftest.$ac_ext <<_ACEOF
   2372 /* end confdefs.h.  */
   2373 
   2374 int
   2375 main ()
   2376 {
   2377 
   2378   ;
   2379   return 0;
   2380 }
   2381 _ACEOF
   2382 ac_clean_files_save=$ac_clean_files
   2383 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2384 # Try to create an executable without -o first, disregard a.out.
   2385 # It will help us diagnose broken compilers, and finding out an intuition
   2386 # of exeext.
   2387 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2388 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2389 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2390 #
   2391 # List of possible output files, starting from the most likely.
   2392 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2393 # only as a last resort.  b.out is created by i960 compilers.
   2394 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2395 #
   2396 # The IRIX 6 linker writes into existing files which may not be
   2397 # executable, retaining their permissions.  Remove them first so a
   2398 # subsequent execution test works.
   2399 ac_rmfiles=
   2400 for ac_file in $ac_files
   2401 do
   2402   case $ac_file in
   2403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2404     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2405   esac
   2406 done
   2407 rm -f $ac_rmfiles
   2408 
   2409 if { (ac_try="$ac_link_default"
   2410 case "(($ac_try" in
   2411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2412   *) ac_try_echo=$ac_try;;
   2413 esac
   2414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2415   (eval "$ac_link_default") 2>&5
   2416   ac_status=$?
   2417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2418   (exit $ac_status); }; then
   2419   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2420 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2421 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2422 # so that the user can short-circuit this test for compilers unknown to
   2423 # Autoconf.
   2424 for ac_file in $ac_files ''
   2425 do
   2426   test -f "$ac_file" || continue
   2427   case $ac_file in
   2428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2429 	;;
   2430     [ab].out )
   2431 	# We found the default executable, but exeext='' is most
   2432 	# certainly right.
   2433 	break;;
   2434     *.* )
   2435         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2436 	then :; else
   2437 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2438 	fi
   2439 	# We set ac_cv_exeext here because the later test for it is not
   2440 	# safe: cross compilers may not add the suffix if given an `-o'
   2441 	# argument, so we may need to know it at that point already.
   2442 	# Even if this section looks crufty: it has the advantage of
   2443 	# actually working.
   2444 	break;;
   2445     * )
   2446 	break;;
   2447   esac
   2448 done
   2449 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2450 
   2451 else
   2452   ac_file=''
   2453 fi
   2454 
   2455 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2456 echo "${ECHO_T}$ac_file" >&6; }
   2457 if test -z "$ac_file"; then
   2458   echo "$as_me: failed program was:" >&5
   2459 sed 's/^/| /' conftest.$ac_ext >&5
   2460 
   2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2462 See \`config.log' for more details." >&5
   2463 echo "$as_me: error: C compiler cannot create executables
   2464 See \`config.log' for more details." >&2;}
   2465    { (exit 77); exit 77; }; }
   2466 fi
   2467 
   2468 ac_exeext=$ac_cv_exeext
   2469 
   2470 # Check that the compiler produces executables we can run.  If not, either
   2471 # the compiler is broken, or we cross compile.
   2472 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2473 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2474 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2475 # If not cross compiling, check that we can run a simple program.
   2476 if test "$cross_compiling" != yes; then
   2477   if { ac_try='./$ac_file'
   2478   { (case "(($ac_try" in
   2479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2480   *) ac_try_echo=$ac_try;;
   2481 esac
   2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2483   (eval "$ac_try") 2>&5
   2484   ac_status=$?
   2485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2486   (exit $ac_status); }; }; then
   2487     cross_compiling=no
   2488   else
   2489     if test "$cross_compiling" = maybe; then
   2490 	cross_compiling=yes
   2491     else
   2492 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2493 If you meant to cross compile, use \`--host'.
   2494 See \`config.log' for more details." >&5
   2495 echo "$as_me: error: cannot run C compiled programs.
   2496 If you meant to cross compile, use \`--host'.
   2497 See \`config.log' for more details." >&2;}
   2498    { (exit 1); exit 1; }; }
   2499     fi
   2500   fi
   2501 fi
   2502 { echo "$as_me:$LINENO: result: yes" >&5
   2503 echo "${ECHO_T}yes" >&6; }
   2504 
   2505 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2506 ac_clean_files=$ac_clean_files_save
   2507 # Check that the compiler produces executables we can run.  If not, either
   2508 # the compiler is broken, or we cross compile.
   2509 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2510 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2511 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2512 echo "${ECHO_T}$cross_compiling" >&6; }
   2513 
   2514 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2515 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2516 if { (ac_try="$ac_link"
   2517 case "(($ac_try" in
   2518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2519   *) ac_try_echo=$ac_try;;
   2520 esac
   2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2522   (eval "$ac_link") 2>&5
   2523   ac_status=$?
   2524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2525   (exit $ac_status); }; then
   2526   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2527 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2528 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2529 # `rm'.
   2530 for ac_file in conftest.exe conftest conftest.*; do
   2531   test -f "$ac_file" || continue
   2532   case $ac_file in
   2533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2534     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2535 	  break;;
   2536     * ) break;;
   2537   esac
   2538 done
   2539 else
   2540   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2541 See \`config.log' for more details." >&5
   2542 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2543 See \`config.log' for more details." >&2;}
   2544    { (exit 1); exit 1; }; }
   2545 fi
   2546 
   2547 rm -f conftest$ac_cv_exeext
   2548 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2549 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2550 
   2551 rm -f conftest.$ac_ext
   2552 EXEEXT=$ac_cv_exeext
   2553 ac_exeext=$EXEEXT
   2554 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2555 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2556 if test "${ac_cv_objext+set}" = set; then
   2557   echo $ECHO_N "(cached) $ECHO_C" >&6
   2558 else
   2559   cat >conftest.$ac_ext <<_ACEOF
   2560 /* confdefs.h.  */
   2561 _ACEOF
   2562 cat confdefs.h >>conftest.$ac_ext
   2563 cat >>conftest.$ac_ext <<_ACEOF
   2564 /* end confdefs.h.  */
   2565 
   2566 int
   2567 main ()
   2568 {
   2569 
   2570   ;
   2571   return 0;
   2572 }
   2573 _ACEOF
   2574 rm -f conftest.o conftest.obj
   2575 if { (ac_try="$ac_compile"
   2576 case "(($ac_try" in
   2577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2578   *) ac_try_echo=$ac_try;;
   2579 esac
   2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2581   (eval "$ac_compile") 2>&5
   2582   ac_status=$?
   2583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2584   (exit $ac_status); }; then
   2585   for ac_file in conftest.o conftest.obj conftest.*; do
   2586   test -f "$ac_file" || continue;
   2587   case $ac_file in
   2588     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2589     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2590        break;;
   2591   esac
   2592 done
   2593 else
   2594   echo "$as_me: failed program was:" >&5
   2595 sed 's/^/| /' conftest.$ac_ext >&5
   2596 
   2597 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2598 See \`config.log' for more details." >&5
   2599 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2600 See \`config.log' for more details." >&2;}
   2601    { (exit 1); exit 1; }; }
   2602 fi
   2603 
   2604 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2605 fi
   2606 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2607 echo "${ECHO_T}$ac_cv_objext" >&6; }
   2608 OBJEXT=$ac_cv_objext
   2609 ac_objext=$OBJEXT
   2610 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2611 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   2612 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2613   echo $ECHO_N "(cached) $ECHO_C" >&6
   2614 else
   2615   cat >conftest.$ac_ext <<_ACEOF
   2616 /* confdefs.h.  */
   2617 _ACEOF
   2618 cat confdefs.h >>conftest.$ac_ext
   2619 cat >>conftest.$ac_ext <<_ACEOF
   2620 /* end confdefs.h.  */
   2621 
   2622 int
   2623 main ()
   2624 {
   2625 #ifndef __GNUC__
   2626        choke me
   2627 #endif
   2628 
   2629   ;
   2630   return 0;
   2631 }
   2632 _ACEOF
   2633 rm -f conftest.$ac_objext
   2634 if { (ac_try="$ac_compile"
   2635 case "(($ac_try" in
   2636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2637   *) ac_try_echo=$ac_try;;
   2638 esac
   2639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2640   (eval "$ac_compile") 2>conftest.er1
   2641   ac_status=$?
   2642   grep -v '^ *+' conftest.er1 >conftest.err
   2643   rm -f conftest.er1
   2644   cat conftest.err >&5
   2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2646   (exit $ac_status); } && {
   2647 	 test -z "$ac_c_werror_flag" ||
   2648 	 test ! -s conftest.err
   2649        } && test -s conftest.$ac_objext; then
   2650   ac_compiler_gnu=yes
   2651 else
   2652   echo "$as_me: failed program was:" >&5
   2653 sed 's/^/| /' conftest.$ac_ext >&5
   2654 
   2655 	ac_compiler_gnu=no
   2656 fi
   2657 
   2658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2660 
   2661 fi
   2662 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   2664 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2665 ac_test_CFLAGS=${CFLAGS+set}
   2666 ac_save_CFLAGS=$CFLAGS
   2667 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2668 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   2669 if test "${ac_cv_prog_cc_g+set}" = set; then
   2670   echo $ECHO_N "(cached) $ECHO_C" >&6
   2671 else
   2672   ac_save_c_werror_flag=$ac_c_werror_flag
   2673    ac_c_werror_flag=yes
   2674    ac_cv_prog_cc_g=no
   2675    CFLAGS="-g"
   2676    cat >conftest.$ac_ext <<_ACEOF
   2677 /* confdefs.h.  */
   2678 _ACEOF
   2679 cat confdefs.h >>conftest.$ac_ext
   2680 cat >>conftest.$ac_ext <<_ACEOF
   2681 /* end confdefs.h.  */
   2682 
   2683 int
   2684 main ()
   2685 {
   2686 
   2687   ;
   2688   return 0;
   2689 }
   2690 _ACEOF
   2691 rm -f conftest.$ac_objext
   2692 if { (ac_try="$ac_compile"
   2693 case "(($ac_try" in
   2694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2695   *) ac_try_echo=$ac_try;;
   2696 esac
   2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2698   (eval "$ac_compile") 2>conftest.er1
   2699   ac_status=$?
   2700   grep -v '^ *+' conftest.er1 >conftest.err
   2701   rm -f conftest.er1
   2702   cat conftest.err >&5
   2703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2704   (exit $ac_status); } && {
   2705 	 test -z "$ac_c_werror_flag" ||
   2706 	 test ! -s conftest.err
   2707        } && test -s conftest.$ac_objext; then
   2708   ac_cv_prog_cc_g=yes
   2709 else
   2710   echo "$as_me: failed program was:" >&5
   2711 sed 's/^/| /' conftest.$ac_ext >&5
   2712 
   2713 	CFLAGS=""
   2714       cat >conftest.$ac_ext <<_ACEOF
   2715 /* confdefs.h.  */
   2716 _ACEOF
   2717 cat confdefs.h >>conftest.$ac_ext
   2718 cat >>conftest.$ac_ext <<_ACEOF
   2719 /* end confdefs.h.  */
   2720 
   2721 int
   2722 main ()
   2723 {
   2724 
   2725   ;
   2726   return 0;
   2727 }
   2728 _ACEOF
   2729 rm -f conftest.$ac_objext
   2730 if { (ac_try="$ac_compile"
   2731 case "(($ac_try" in
   2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2733   *) ac_try_echo=$ac_try;;
   2734 esac
   2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2736   (eval "$ac_compile") 2>conftest.er1
   2737   ac_status=$?
   2738   grep -v '^ *+' conftest.er1 >conftest.err
   2739   rm -f conftest.er1
   2740   cat conftest.err >&5
   2741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2742   (exit $ac_status); } && {
   2743 	 test -z "$ac_c_werror_flag" ||
   2744 	 test ! -s conftest.err
   2745        } && test -s conftest.$ac_objext; then
   2746   :
   2747 else
   2748   echo "$as_me: failed program was:" >&5
   2749 sed 's/^/| /' conftest.$ac_ext >&5
   2750 
   2751 	ac_c_werror_flag=$ac_save_c_werror_flag
   2752 	 CFLAGS="-g"
   2753 	 cat >conftest.$ac_ext <<_ACEOF
   2754 /* confdefs.h.  */
   2755 _ACEOF
   2756 cat confdefs.h >>conftest.$ac_ext
   2757 cat >>conftest.$ac_ext <<_ACEOF
   2758 /* end confdefs.h.  */
   2759 
   2760 int
   2761 main ()
   2762 {
   2763 
   2764   ;
   2765   return 0;
   2766 }
   2767 _ACEOF
   2768 rm -f conftest.$ac_objext
   2769 if { (ac_try="$ac_compile"
   2770 case "(($ac_try" in
   2771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2772   *) ac_try_echo=$ac_try;;
   2773 esac
   2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2775   (eval "$ac_compile") 2>conftest.er1
   2776   ac_status=$?
   2777   grep -v '^ *+' conftest.er1 >conftest.err
   2778   rm -f conftest.er1
   2779   cat conftest.err >&5
   2780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2781   (exit $ac_status); } && {
   2782 	 test -z "$ac_c_werror_flag" ||
   2783 	 test ! -s conftest.err
   2784        } && test -s conftest.$ac_objext; then
   2785   ac_cv_prog_cc_g=yes
   2786 else
   2787   echo "$as_me: failed program was:" >&5
   2788 sed 's/^/| /' conftest.$ac_ext >&5
   2789 
   2790 
   2791 fi
   2792 
   2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2794 fi
   2795 
   2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2797 fi
   2798 
   2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2800    ac_c_werror_flag=$ac_save_c_werror_flag
   2801 fi
   2802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   2804 if test "$ac_test_CFLAGS" = set; then
   2805   CFLAGS=$ac_save_CFLAGS
   2806 elif test $ac_cv_prog_cc_g = yes; then
   2807   if test "$GCC" = yes; then
   2808     CFLAGS="-g -O2"
   2809   else
   2810     CFLAGS="-g"
   2811   fi
   2812 else
   2813   if test "$GCC" = yes; then
   2814     CFLAGS="-O2"
   2815   else
   2816     CFLAGS=
   2817   fi
   2818 fi
   2819 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   2820 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   2821 if test "${ac_cv_prog_cc_c89+set}" = set; then
   2822   echo $ECHO_N "(cached) $ECHO_C" >&6
   2823 else
   2824   ac_cv_prog_cc_c89=no
   2825 ac_save_CC=$CC
   2826 cat >conftest.$ac_ext <<_ACEOF
   2827 /* confdefs.h.  */
   2828 _ACEOF
   2829 cat confdefs.h >>conftest.$ac_ext
   2830 cat >>conftest.$ac_ext <<_ACEOF
   2831 /* end confdefs.h.  */
   2832 #include <stdarg.h>
   2833 #include <stdio.h>
   2834 #include <sys/types.h>
   2835 #include <sys/stat.h>
   2836 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2837 struct buf { int x; };
   2838 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2839 static char *e (p, i)
   2840      char **p;
   2841      int i;
   2842 {
   2843   return p[i];
   2844 }
   2845 static char *f (char * (*g) (char **, int), char **p, ...)
   2846 {
   2847   char *s;
   2848   va_list v;
   2849   va_start (v,p);
   2850   s = g (p, va_arg (v,int));
   2851   va_end (v);
   2852   return s;
   2853 }
   2854 
   2855 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2856    function prototypes and stuff, but not '\xHH' hex character constants.
   2857    These don't provoke an error unfortunately, instead are silently treated
   2858    as 'x'.  The following induces an error, until -std is added to get
   2859    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2860    array size at least.  It's necessary to write '\x00'==0 to get something
   2861    that's true only with -std.  */
   2862 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2863 
   2864 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2865    inside strings and character constants.  */
   2866 #define FOO(x) 'x'
   2867 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2868 
   2869 int test (int i, double x);
   2870 struct s1 {int (*f) (int a);};
   2871 struct s2 {int (*f) (double a);};
   2872 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2873 int argc;
   2874 char **argv;
   2875 int
   2876 main ()
   2877 {
   2878 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2879   ;
   2880   return 0;
   2881 }
   2882 _ACEOF
   2883 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2884 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2885 do
   2886   CC="$ac_save_CC $ac_arg"
   2887   rm -f conftest.$ac_objext
   2888 if { (ac_try="$ac_compile"
   2889 case "(($ac_try" in
   2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2891   *) ac_try_echo=$ac_try;;
   2892 esac
   2893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2894   (eval "$ac_compile") 2>conftest.er1
   2895   ac_status=$?
   2896   grep -v '^ *+' conftest.er1 >conftest.err
   2897   rm -f conftest.er1
   2898   cat conftest.err >&5
   2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2900   (exit $ac_status); } && {
   2901 	 test -z "$ac_c_werror_flag" ||
   2902 	 test ! -s conftest.err
   2903        } && test -s conftest.$ac_objext; then
   2904   ac_cv_prog_cc_c89=$ac_arg
   2905 else
   2906   echo "$as_me: failed program was:" >&5
   2907 sed 's/^/| /' conftest.$ac_ext >&5
   2908 
   2909 
   2910 fi
   2911 
   2912 rm -f core conftest.err conftest.$ac_objext
   2913   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2914 done
   2915 rm -f conftest.$ac_ext
   2916 CC=$ac_save_CC
   2917 
   2918 fi
   2919 # AC_CACHE_VAL
   2920 case "x$ac_cv_prog_cc_c89" in
   2921   x)
   2922     { echo "$as_me:$LINENO: result: none needed" >&5
   2923 echo "${ECHO_T}none needed" >&6; } ;;
   2924   xno)
   2925     { echo "$as_me:$LINENO: result: unsupported" >&5
   2926 echo "${ECHO_T}unsupported" >&6; } ;;
   2927   *)
   2928     CC="$CC $ac_cv_prog_cc_c89"
   2929     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   2930 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   2931 esac
   2932 
   2933 
   2934 ac_ext=c
   2935 ac_cpp='$CPP $CPPFLAGS'
   2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2939 
   2940 
   2941 ac_ext=c
   2942 ac_cpp='$CPP $CPPFLAGS'
   2943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2946 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   2947 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   2948 # On Suns, sometimes $CPP names a directory.
   2949 if test -n "$CPP" && test -d "$CPP"; then
   2950   CPP=
   2951 fi
   2952 if test -z "$CPP"; then
   2953   if test "${ac_cv_prog_CPP+set}" = set; then
   2954   echo $ECHO_N "(cached) $ECHO_C" >&6
   2955 else
   2956       # Double quotes because CPP needs to be expanded
   2957     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2958     do
   2959       ac_preproc_ok=false
   2960 for ac_c_preproc_warn_flag in '' yes
   2961 do
   2962   # Use a header file that comes with gcc, so configuring glibc
   2963   # with a fresh cross-compiler works.
   2964   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2965   # <limits.h> exists even on freestanding compilers.
   2966   # On the NeXT, cc -E runs the code through the compiler's parser,
   2967   # not just through cpp. "Syntax error" is here to catch this case.
   2968   cat >conftest.$ac_ext <<_ACEOF
   2969 /* confdefs.h.  */
   2970 _ACEOF
   2971 cat confdefs.h >>conftest.$ac_ext
   2972 cat >>conftest.$ac_ext <<_ACEOF
   2973 /* end confdefs.h.  */
   2974 #ifdef __STDC__
   2975 # include <limits.h>
   2976 #else
   2977 # include <assert.h>
   2978 #endif
   2979 		     Syntax error
   2980 _ACEOF
   2981 if { (ac_try="$ac_cpp conftest.$ac_ext"
   2982 case "(($ac_try" in
   2983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2984   *) ac_try_echo=$ac_try;;
   2985 esac
   2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2987   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   2988   ac_status=$?
   2989   grep -v '^ *+' conftest.er1 >conftest.err
   2990   rm -f conftest.er1
   2991   cat conftest.err >&5
   2992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2993   (exit $ac_status); } >/dev/null && {
   2994 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2995 	 test ! -s conftest.err
   2996        }; then
   2997   :
   2998 else
   2999   echo "$as_me: failed program was:" >&5
   3000 sed 's/^/| /' conftest.$ac_ext >&5
   3001 
   3002   # Broken: fails on valid input.
   3003 continue
   3004 fi
   3005 
   3006 rm -f conftest.err conftest.$ac_ext
   3007 
   3008   # OK, works on sane cases.  Now check whether nonexistent headers
   3009   # can be detected and how.
   3010   cat >conftest.$ac_ext <<_ACEOF
   3011 /* confdefs.h.  */
   3012 _ACEOF
   3013 cat confdefs.h >>conftest.$ac_ext
   3014 cat >>conftest.$ac_ext <<_ACEOF
   3015 /* end confdefs.h.  */
   3016 #include <ac_nonexistent.h>
   3017 _ACEOF
   3018 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3019 case "(($ac_try" in
   3020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3021   *) ac_try_echo=$ac_try;;
   3022 esac
   3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3024   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3025   ac_status=$?
   3026   grep -v '^ *+' conftest.er1 >conftest.err
   3027   rm -f conftest.er1
   3028   cat conftest.err >&5
   3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3030   (exit $ac_status); } >/dev/null && {
   3031 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3032 	 test ! -s conftest.err
   3033        }; then
   3034   # Broken: success on invalid input.
   3035 continue
   3036 else
   3037   echo "$as_me: failed program was:" >&5
   3038 sed 's/^/| /' conftest.$ac_ext >&5
   3039 
   3040   # Passes both tests.
   3041 ac_preproc_ok=:
   3042 break
   3043 fi
   3044 
   3045 rm -f conftest.err conftest.$ac_ext
   3046 
   3047 done
   3048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3049 rm -f conftest.err conftest.$ac_ext
   3050 if $ac_preproc_ok; then
   3051   break
   3052 fi
   3053 
   3054     done
   3055     ac_cv_prog_CPP=$CPP
   3056 
   3057 fi
   3058   CPP=$ac_cv_prog_CPP
   3059 else
   3060   ac_cv_prog_CPP=$CPP
   3061 fi
   3062 { echo "$as_me:$LINENO: result: $CPP" >&5
   3063 echo "${ECHO_T}$CPP" >&6; }
   3064 ac_preproc_ok=false
   3065 for ac_c_preproc_warn_flag in '' yes
   3066 do
   3067   # Use a header file that comes with gcc, so configuring glibc
   3068   # with a fresh cross-compiler works.
   3069   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3070   # <limits.h> exists even on freestanding compilers.
   3071   # On the NeXT, cc -E runs the code through the compiler's parser,
   3072   # not just through cpp. "Syntax error" is here to catch this case.
   3073   cat >conftest.$ac_ext <<_ACEOF
   3074 /* confdefs.h.  */
   3075 _ACEOF
   3076 cat confdefs.h >>conftest.$ac_ext
   3077 cat >>conftest.$ac_ext <<_ACEOF
   3078 /* end confdefs.h.  */
   3079 #ifdef __STDC__
   3080 # include <limits.h>
   3081 #else
   3082 # include <assert.h>
   3083 #endif
   3084 		     Syntax error
   3085 _ACEOF
   3086 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3092   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3093   ac_status=$?
   3094   grep -v '^ *+' conftest.er1 >conftest.err
   3095   rm -f conftest.er1
   3096   cat conftest.err >&5
   3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3098   (exit $ac_status); } >/dev/null && {
   3099 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3100 	 test ! -s conftest.err
   3101        }; then
   3102   :
   3103 else
   3104   echo "$as_me: failed program was:" >&5
   3105 sed 's/^/| /' conftest.$ac_ext >&5
   3106 
   3107   # Broken: fails on valid input.
   3108 continue
   3109 fi
   3110 
   3111 rm -f conftest.err conftest.$ac_ext
   3112 
   3113   # OK, works on sane cases.  Now check whether nonexistent headers
   3114   # can be detected and how.
   3115   cat >conftest.$ac_ext <<_ACEOF
   3116 /* confdefs.h.  */
   3117 _ACEOF
   3118 cat confdefs.h >>conftest.$ac_ext
   3119 cat >>conftest.$ac_ext <<_ACEOF
   3120 /* end confdefs.h.  */
   3121 #include <ac_nonexistent.h>
   3122 _ACEOF
   3123 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3124 case "(($ac_try" in
   3125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3126   *) ac_try_echo=$ac_try;;
   3127 esac
   3128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3129   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3130   ac_status=$?
   3131   grep -v '^ *+' conftest.er1 >conftest.err
   3132   rm -f conftest.er1
   3133   cat conftest.err >&5
   3134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3135   (exit $ac_status); } >/dev/null && {
   3136 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3137 	 test ! -s conftest.err
   3138        }; then
   3139   # Broken: success on invalid input.
   3140 continue
   3141 else
   3142   echo "$as_me: failed program was:" >&5
   3143 sed 's/^/| /' conftest.$ac_ext >&5
   3144 
   3145   # Passes both tests.
   3146 ac_preproc_ok=:
   3147 break
   3148 fi
   3149 
   3150 rm -f conftest.err conftest.$ac_ext
   3151 
   3152 done
   3153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3154 rm -f conftest.err conftest.$ac_ext
   3155 if $ac_preproc_ok; then
   3156   :
   3157 else
   3158   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3159 See \`config.log' for more details." >&5
   3160 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3161 See \`config.log' for more details." >&2;}
   3162    { (exit 1); exit 1; }; }
   3163 fi
   3164 
   3165 ac_ext=c
   3166 ac_cpp='$CPP $CPPFLAGS'
   3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3170 
   3171 
   3172 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3173 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3174 if test "${ac_cv_path_GREP+set}" = set; then
   3175   echo $ECHO_N "(cached) $ECHO_C" >&6
   3176 else
   3177   # Extract the first word of "grep ggrep" to use in msg output
   3178 if test -z "$GREP"; then
   3179 set dummy grep ggrep; ac_prog_name=$2
   3180 if test "${ac_cv_path_GREP+set}" = set; then
   3181   echo $ECHO_N "(cached) $ECHO_C" >&6
   3182 else
   3183   ac_path_GREP_found=false
   3184 # Loop through the user's path and test for each of PROGNAME-LIST
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3187 do
   3188   IFS=$as_save_IFS
   3189   test -z "$as_dir" && as_dir=.
   3190   for ac_prog in grep ggrep; do
   3191   for ac_exec_ext in '' $ac_executable_extensions; do
   3192     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3193     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3194     # Check for GNU ac_path_GREP and select it if it is found.
   3195   # Check for GNU $ac_path_GREP
   3196 case `"$ac_path_GREP" --version 2>&1` in
   3197 *GNU*)
   3198   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3199 *)
   3200   ac_count=0
   3201   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3202   while :
   3203   do
   3204     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3205     mv "conftest.tmp" "conftest.in"
   3206     cp "conftest.in" "conftest.nl"
   3207     echo 'GREP' >> "conftest.nl"
   3208     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3209     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3210     ac_count=`expr $ac_count + 1`
   3211     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3212       # Best one so far, save it but keep looking for a better one
   3213       ac_cv_path_GREP="$ac_path_GREP"
   3214       ac_path_GREP_max=$ac_count
   3215     fi
   3216     # 10*(2^10) chars as input seems more than enough
   3217     test $ac_count -gt 10 && break
   3218   done
   3219   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3220 esac
   3221 
   3222 
   3223     $ac_path_GREP_found && break 3
   3224   done
   3225 done
   3226 
   3227 done
   3228 IFS=$as_save_IFS
   3229 
   3230 
   3231 fi
   3232 
   3233 GREP="$ac_cv_path_GREP"
   3234 if test -z "$GREP"; then
   3235   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3236 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3237    { (exit 1); exit 1; }; }
   3238 fi
   3239 
   3240 else
   3241   ac_cv_path_GREP=$GREP
   3242 fi
   3243 
   3244 
   3245 fi
   3246 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3247 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3248  GREP="$ac_cv_path_GREP"
   3249 
   3250 
   3251 { echo "$as_me:$LINENO: checking for egrep" >&5
   3252 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3253 if test "${ac_cv_path_EGREP+set}" = set; then
   3254   echo $ECHO_N "(cached) $ECHO_C" >&6
   3255 else
   3256   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3257    then ac_cv_path_EGREP="$GREP -E"
   3258    else
   3259      # Extract the first word of "egrep" to use in msg output
   3260 if test -z "$EGREP"; then
   3261 set dummy egrep; ac_prog_name=$2
   3262 if test "${ac_cv_path_EGREP+set}" = set; then
   3263   echo $ECHO_N "(cached) $ECHO_C" >&6
   3264 else
   3265   ac_path_EGREP_found=false
   3266 # Loop through the user's path and test for each of PROGNAME-LIST
   3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3268 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3269 do
   3270   IFS=$as_save_IFS
   3271   test -z "$as_dir" && as_dir=.
   3272   for ac_prog in egrep; do
   3273   for ac_exec_ext in '' $ac_executable_extensions; do
   3274     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3275     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3276     # Check for GNU ac_path_EGREP and select it if it is found.
   3277   # Check for GNU $ac_path_EGREP
   3278 case `"$ac_path_EGREP" --version 2>&1` in
   3279 *GNU*)
   3280   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3281 *)
   3282   ac_count=0
   3283   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3284   while :
   3285   do
   3286     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3287     mv "conftest.tmp" "conftest.in"
   3288     cp "conftest.in" "conftest.nl"
   3289     echo 'EGREP' >> "conftest.nl"
   3290     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3291     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3292     ac_count=`expr $ac_count + 1`
   3293     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3294       # Best one so far, save it but keep looking for a better one
   3295       ac_cv_path_EGREP="$ac_path_EGREP"
   3296       ac_path_EGREP_max=$ac_count
   3297     fi
   3298     # 10*(2^10) chars as input seems more than enough
   3299     test $ac_count -gt 10 && break
   3300   done
   3301   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3302 esac
   3303 
   3304 
   3305     $ac_path_EGREP_found && break 3
   3306   done
   3307 done
   3308 
   3309 done
   3310 IFS=$as_save_IFS
   3311 
   3312 
   3313 fi
   3314 
   3315 EGREP="$ac_cv_path_EGREP"
   3316 if test -z "$EGREP"; then
   3317   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3318 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3319    { (exit 1); exit 1; }; }
   3320 fi
   3321 
   3322 else
   3323   ac_cv_path_EGREP=$EGREP
   3324 fi
   3325 
   3326 
   3327    fi
   3328 fi
   3329 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3330 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3331  EGREP="$ac_cv_path_EGREP"
   3332 
   3333 
   3334 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3335 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   3336 if test "${ac_cv_header_stdc+set}" = set; then
   3337   echo $ECHO_N "(cached) $ECHO_C" >&6
   3338 else
   3339   cat >conftest.$ac_ext <<_ACEOF
   3340 /* confdefs.h.  */
   3341 _ACEOF
   3342 cat confdefs.h >>conftest.$ac_ext
   3343 cat >>conftest.$ac_ext <<_ACEOF
   3344 /* end confdefs.h.  */
   3345 #include <stdlib.h>
   3346 #include <stdarg.h>
   3347 #include <string.h>
   3348 #include <float.h>
   3349 
   3350 int
   3351 main ()
   3352 {
   3353 
   3354   ;
   3355   return 0;
   3356 }
   3357 _ACEOF
   3358 rm -f conftest.$ac_objext
   3359 if { (ac_try="$ac_compile"
   3360 case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3365   (eval "$ac_compile") 2>conftest.er1
   3366   ac_status=$?
   3367   grep -v '^ *+' conftest.er1 >conftest.err
   3368   rm -f conftest.er1
   3369   cat conftest.err >&5
   3370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3371   (exit $ac_status); } && {
   3372 	 test -z "$ac_c_werror_flag" ||
   3373 	 test ! -s conftest.err
   3374        } && test -s conftest.$ac_objext; then
   3375   ac_cv_header_stdc=yes
   3376 else
   3377   echo "$as_me: failed program was:" >&5
   3378 sed 's/^/| /' conftest.$ac_ext >&5
   3379 
   3380 	ac_cv_header_stdc=no
   3381 fi
   3382 
   3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3384 
   3385 if test $ac_cv_header_stdc = yes; then
   3386   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3387   cat >conftest.$ac_ext <<_ACEOF
   3388 /* confdefs.h.  */
   3389 _ACEOF
   3390 cat confdefs.h >>conftest.$ac_ext
   3391 cat >>conftest.$ac_ext <<_ACEOF
   3392 /* end confdefs.h.  */
   3393 #include <string.h>
   3394 
   3395 _ACEOF
   3396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3397   $EGREP "memchr" >/dev/null 2>&1; then
   3398   :
   3399 else
   3400   ac_cv_header_stdc=no
   3401 fi
   3402 rm -f conftest*
   3403 
   3404 fi
   3405 
   3406 if test $ac_cv_header_stdc = yes; then
   3407   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3408   cat >conftest.$ac_ext <<_ACEOF
   3409 /* confdefs.h.  */
   3410 _ACEOF
   3411 cat confdefs.h >>conftest.$ac_ext
   3412 cat >>conftest.$ac_ext <<_ACEOF
   3413 /* end confdefs.h.  */
   3414 #include <stdlib.h>
   3415 
   3416 _ACEOF
   3417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3418   $EGREP "free" >/dev/null 2>&1; then
   3419   :
   3420 else
   3421   ac_cv_header_stdc=no
   3422 fi
   3423 rm -f conftest*
   3424 
   3425 fi
   3426 
   3427 if test $ac_cv_header_stdc = yes; then
   3428   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3429   if test "$cross_compiling" = yes; then
   3430   :
   3431 else
   3432   cat >conftest.$ac_ext <<_ACEOF
   3433 /* confdefs.h.  */
   3434 _ACEOF
   3435 cat confdefs.h >>conftest.$ac_ext
   3436 cat >>conftest.$ac_ext <<_ACEOF
   3437 /* end confdefs.h.  */
   3438 #include <ctype.h>
   3439 #include <stdlib.h>
   3440 #if ((' ' & 0x0FF) == 0x020)
   3441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3443 #else
   3444 # define ISLOWER(c) \
   3445 		   (('a' <= (c) && (c) <= 'i') \
   3446 		     || ('j' <= (c) && (c) <= 'r') \
   3447 		     || ('s' <= (c) && (c) <= 'z'))
   3448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3449 #endif
   3450 
   3451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3452 int
   3453 main ()
   3454 {
   3455   int i;
   3456   for (i = 0; i < 256; i++)
   3457     if (XOR (islower (i), ISLOWER (i))
   3458 	|| toupper (i) != TOUPPER (i))
   3459       return 2;
   3460   return 0;
   3461 }
   3462 _ACEOF
   3463 rm -f conftest$ac_exeext
   3464 if { (ac_try="$ac_link"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3470   (eval "$ac_link") 2>&5
   3471   ac_status=$?
   3472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3473   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3474   { (case "(($ac_try" in
   3475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3476   *) ac_try_echo=$ac_try;;
   3477 esac
   3478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3479   (eval "$ac_try") 2>&5
   3480   ac_status=$?
   3481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3482   (exit $ac_status); }; }; then
   3483   :
   3484 else
   3485   echo "$as_me: program exited with status $ac_status" >&5
   3486 echo "$as_me: failed program was:" >&5
   3487 sed 's/^/| /' conftest.$ac_ext >&5
   3488 
   3489 ( exit $ac_status )
   3490 ac_cv_header_stdc=no
   3491 fi
   3492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3493 fi
   3494 
   3495 
   3496 fi
   3497 fi
   3498 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3499 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   3500 if test $ac_cv_header_stdc = yes; then
   3501 
   3502 cat >>confdefs.h <<\_ACEOF
   3503 #define STDC_HEADERS 1
   3504 _ACEOF
   3505 
   3506 fi
   3507 
   3508 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3519 		  inttypes.h stdint.h unistd.h
   3520 do
   3521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   3523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   3524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   3525   echo $ECHO_N "(cached) $ECHO_C" >&6
   3526 else
   3527   cat >conftest.$ac_ext <<_ACEOF
   3528 /* confdefs.h.  */
   3529 _ACEOF
   3530 cat confdefs.h >>conftest.$ac_ext
   3531 cat >>conftest.$ac_ext <<_ACEOF
   3532 /* end confdefs.h.  */
   3533 $ac_includes_default
   3534 
   3535 #include <$ac_header>
   3536 _ACEOF
   3537 rm -f conftest.$ac_objext
   3538 if { (ac_try="$ac_compile"
   3539 case "(($ac_try" in
   3540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3541   *) ac_try_echo=$ac_try;;
   3542 esac
   3543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3544   (eval "$ac_compile") 2>conftest.er1
   3545   ac_status=$?
   3546   grep -v '^ *+' conftest.er1 >conftest.err
   3547   rm -f conftest.er1
   3548   cat conftest.err >&5
   3549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3550   (exit $ac_status); } && {
   3551 	 test -z "$ac_c_werror_flag" ||
   3552 	 test ! -s conftest.err
   3553        } && test -s conftest.$ac_objext; then
   3554   eval "$as_ac_Header=yes"
   3555 else
   3556   echo "$as_me: failed program was:" >&5
   3557 sed 's/^/| /' conftest.$ac_ext >&5
   3558 
   3559 	eval "$as_ac_Header=no"
   3560 fi
   3561 
   3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3563 fi
   3564 ac_res=`eval echo '${'$as_ac_Header'}'`
   3565 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   3566 echo "${ECHO_T}$ac_res" >&6; }
   3567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3568   cat >>confdefs.h <<_ACEOF
   3569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3570 _ACEOF
   3571 
   3572 fi
   3573 
   3574 done
   3575 
   3576 
   3577    { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   3578 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
   3579 if test "${ac_cv_prog_cc_c99+set}" = set; then
   3580   echo $ECHO_N "(cached) $ECHO_C" >&6
   3581 else
   3582   ac_cv_prog_cc_c99=no
   3583 ac_save_CC=$CC
   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 #include <stdarg.h>
   3591 #include <stdbool.h>
   3592 #include <stdlib.h>
   3593 #include <wchar.h>
   3594 #include <stdio.h>
   3595 
   3596 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3597 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3598 #define showlist(...) puts (#__VA_ARGS__)
   3599 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3600 static void
   3601 test_varargs_macros (void)
   3602 {
   3603   int x = 1234;
   3604   int y = 5678;
   3605   debug ("Flag");
   3606   debug ("X = %d\n", x);
   3607   showlist (The first, second, and third items.);
   3608   report (x>y, "x is %d but y is %d", x, y);
   3609 }
   3610 
   3611 // Check long long types.
   3612 #define BIG64 18446744073709551615ull
   3613 #define BIG32 4294967295ul
   3614 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3615 #if !BIG_OK
   3616   your preprocessor is broken;
   3617 #endif
   3618 #if BIG_OK
   3619 #else
   3620   your preprocessor is broken;
   3621 #endif
   3622 static long long int bignum = -9223372036854775807LL;
   3623 static unsigned long long int ubignum = BIG64;
   3624 
   3625 struct incomplete_array
   3626 {
   3627   int datasize;
   3628   double data[];
   3629 };
   3630 
   3631 struct named_init {
   3632   int number;
   3633   const wchar_t *name;
   3634   double average;
   3635 };
   3636 
   3637 typedef const char *ccp;
   3638 
   3639 static inline int
   3640 test_restrict (ccp restrict text)
   3641 {
   3642   // See if C++-style comments work.
   3643   // Iterate through items via the restricted pointer.
   3644   // Also check for declarations in for loops.
   3645   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3646     continue;
   3647   return 0;
   3648 }
   3649 
   3650 // Check varargs and va_copy.
   3651 static void
   3652 test_varargs (const char *format, ...)
   3653 {
   3654   va_list args;
   3655   va_start (args, format);
   3656   va_list args_copy;
   3657   va_copy (args_copy, args);
   3658 
   3659   const char *str;
   3660   int number;
   3661   float fnumber;
   3662 
   3663   while (*format)
   3664     {
   3665       switch (*format++)
   3666 	{
   3667 	case 's': // string
   3668 	  str = va_arg (args_copy, const char *);
   3669 	  break;
   3670 	case 'd': // int
   3671 	  number = va_arg (args_copy, int);
   3672 	  break;
   3673 	case 'f': // float
   3674 	  fnumber = va_arg (args_copy, double);
   3675 	  break;
   3676 	default:
   3677 	  break;
   3678 	}
   3679     }
   3680   va_end (args_copy);
   3681   va_end (args);
   3682 }
   3683 
   3684 int
   3685 main ()
   3686 {
   3687 
   3688   // Check bool.
   3689   _Bool success = false;
   3690 
   3691   // Check restrict.
   3692   if (test_restrict ("String literal") == 0)
   3693     success = true;
   3694   char *restrict newvar = "Another string";
   3695 
   3696   // Check varargs.
   3697   test_varargs ("s, d' f .", "string", 65, 34.234);
   3698   test_varargs_macros ();
   3699 
   3700   // Check flexible array members.
   3701   struct incomplete_array *ia =
   3702     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3703   ia->datasize = 10;
   3704   for (int i = 0; i < ia->datasize; ++i)
   3705     ia->data[i] = i * 1.234;
   3706 
   3707   // Check named initializers.
   3708   struct named_init ni = {
   3709     .number = 34,
   3710     .name = L"Test wide string",
   3711     .average = 543.34343,
   3712   };
   3713 
   3714   ni.number = 58;
   3715 
   3716   int dynamic_array[ni.number];
   3717   dynamic_array[ni.number - 1] = 543;
   3718 
   3719   // work around unused variable warnings
   3720   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3721 	  || dynamic_array[ni.number - 1] != 543);
   3722 
   3723   ;
   3724   return 0;
   3725 }
   3726 _ACEOF
   3727 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
   3728 do
   3729   CC="$ac_save_CC $ac_arg"
   3730   rm -f conftest.$ac_objext
   3731 if { (ac_try="$ac_compile"
   3732 case "(($ac_try" in
   3733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3734   *) ac_try_echo=$ac_try;;
   3735 esac
   3736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3737   (eval "$ac_compile") 2>conftest.er1
   3738   ac_status=$?
   3739   grep -v '^ *+' conftest.er1 >conftest.err
   3740   rm -f conftest.er1
   3741   cat conftest.err >&5
   3742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3743   (exit $ac_status); } && {
   3744 	 test -z "$ac_c_werror_flag" ||
   3745 	 test ! -s conftest.err
   3746        } && test -s conftest.$ac_objext; then
   3747   ac_cv_prog_cc_c99=$ac_arg
   3748 else
   3749   echo "$as_me: failed program was:" >&5
   3750 sed 's/^/| /' conftest.$ac_ext >&5
   3751 
   3752 
   3753 fi
   3754 
   3755 rm -f core conftest.err conftest.$ac_objext
   3756   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3757 done
   3758 rm -f conftest.$ac_ext
   3759 CC=$ac_save_CC
   3760 
   3761 fi
   3762 # AC_CACHE_VAL
   3763 case "x$ac_cv_prog_cc_c99" in
   3764   x)
   3765     { echo "$as_me:$LINENO: result: none needed" >&5
   3766 echo "${ECHO_T}none needed" >&6; } ;;
   3767   xno)
   3768     { echo "$as_me:$LINENO: result: unsupported" >&5
   3769 echo "${ECHO_T}unsupported" >&6; } ;;
   3770   *)
   3771     CC="$CC $ac_cv_prog_cc_c99"
   3772     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   3773 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
   3774 esac
   3775 
   3776 
   3777 
   3778 ac_aux_dir=
   3779 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3780   if test -f "$ac_dir/install-sh"; then
   3781     ac_aux_dir=$ac_dir
   3782     ac_install_sh="$ac_aux_dir/install-sh -c"
   3783     break
   3784   elif test -f "$ac_dir/install.sh"; then
   3785     ac_aux_dir=$ac_dir
   3786     ac_install_sh="$ac_aux_dir/install.sh -c"
   3787     break
   3788   elif test -f "$ac_dir/shtool"; then
   3789     ac_aux_dir=$ac_dir
   3790     ac_install_sh="$ac_aux_dir/shtool install -c"
   3791     break
   3792   fi
   3793 done
   3794 if test -z "$ac_aux_dir"; then
   3795   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   3796 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   3797    { (exit 1); exit 1; }; }
   3798 fi
   3799 
   3800 # These three variables are undocumented and unsupported,
   3801 # and are intended to be withdrawn in a future Autoconf release.
   3802 # They can cause serious problems if a builder's source tree is in a directory
   3803 # whose full name contains unusual characters.
   3804 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3805 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3806 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3807 
   3808 
   3809 # Make sure we can run config.sub.
   3810 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3811   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3812 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3813    { (exit 1); exit 1; }; }
   3814 
   3815 { echo "$as_me:$LINENO: checking build system type" >&5
   3816 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3817 if test "${ac_cv_build+set}" = set; then
   3818   echo $ECHO_N "(cached) $ECHO_C" >&6
   3819 else
   3820   ac_build_alias=$build_alias
   3821 test "x$ac_build_alias" = x &&
   3822   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3823 test "x$ac_build_alias" = x &&
   3824   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3825 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3826    { (exit 1); exit 1; }; }
   3827 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3828   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3829 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3830    { (exit 1); exit 1; }; }
   3831 
   3832 fi
   3833 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3834 echo "${ECHO_T}$ac_cv_build" >&6; }
   3835 case $ac_cv_build in
   3836 *-*-*) ;;
   3837 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3838 echo "$as_me: error: invalid value of canonical build" >&2;}
   3839    { (exit 1); exit 1; }; };;
   3840 esac
   3841 build=$ac_cv_build
   3842 ac_save_IFS=$IFS; IFS='-'
   3843 set x $ac_cv_build
   3844 shift
   3845 build_cpu=$1
   3846 build_vendor=$2
   3847 shift; shift
   3848 # Remember, the first character of IFS is used to create $*,
   3849 # except with old shells:
   3850 build_os=$*
   3851 IFS=$ac_save_IFS
   3852 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3853 
   3854 
   3855 { echo "$as_me:$LINENO: checking host system type" >&5
   3856 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3857 if test "${ac_cv_host+set}" = set; then
   3858   echo $ECHO_N "(cached) $ECHO_C" >&6
   3859 else
   3860   if test "x$host_alias" = x; then
   3861   ac_cv_host=$ac_cv_build
   3862 else
   3863   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3864     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3865 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3866    { (exit 1); exit 1; }; }
   3867 fi
   3868 
   3869 fi
   3870 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3871 echo "${ECHO_T}$ac_cv_host" >&6; }
   3872 case $ac_cv_host in
   3873 *-*-*) ;;
   3874 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3875 echo "$as_me: error: invalid value of canonical host" >&2;}
   3876    { (exit 1); exit 1; }; };;
   3877 esac
   3878 host=$ac_cv_host
   3879 ac_save_IFS=$IFS; IFS='-'
   3880 set x $ac_cv_host
   3881 shift
   3882 host_cpu=$1
   3883 host_vendor=$2
   3884 shift; shift
   3885 # Remember, the first character of IFS is used to create $*,
   3886 # except with old shells:
   3887 host_os=$*
   3888 IFS=$ac_save_IFS
   3889 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3890 
   3891 
   3892 
   3893 
   3894 
   3895 if  test "x$GCC" = xyes ; then
   3896     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   3897 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   3898 -Wbad-function-cast"
   3899     case `$CC -dumpversion` in
   3900     3.4.* | 4.*)
   3901 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   3902 	;;
   3903     esac
   3904 else
   3905     { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   3906 echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
   3907 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   3908   echo $ECHO_N "(cached) $ECHO_C" >&6
   3909 else
   3910   cat >conftest.$ac_ext <<_ACEOF
   3911 /* confdefs.h.  */
   3912 _ACEOF
   3913 cat confdefs.h >>conftest.$ac_ext
   3914 cat >>conftest.$ac_ext <<_ACEOF
   3915 /* end confdefs.h.  */
   3916 $ac_includes_default
   3917 int
   3918 main ()
   3919 {
   3920 #ifndef __SUNPRO_C
   3921   (void) __SUNPRO_C;
   3922 #endif
   3923 
   3924   ;
   3925   return 0;
   3926 }
   3927 _ACEOF
   3928 rm -f conftest.$ac_objext
   3929 if { (ac_try="$ac_compile"
   3930 case "(($ac_try" in
   3931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3932   *) ac_try_echo=$ac_try;;
   3933 esac
   3934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3935   (eval "$ac_compile") 2>conftest.er1
   3936   ac_status=$?
   3937   grep -v '^ *+' conftest.er1 >conftest.err
   3938   rm -f conftest.er1
   3939   cat conftest.err >&5
   3940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3941   (exit $ac_status); } && {
   3942 	 test -z "$ac_c_werror_flag" ||
   3943 	 test ! -s conftest.err
   3944        } && test -s conftest.$ac_objext; then
   3945   ac_cv_have_decl___SUNPRO_C=yes
   3946 else
   3947   echo "$as_me: failed program was:" >&5
   3948 sed 's/^/| /' conftest.$ac_ext >&5
   3949 
   3950 	ac_cv_have_decl___SUNPRO_C=no
   3951 fi
   3952 
   3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3954 fi
   3955 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   3956 echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
   3957 if test $ac_cv_have_decl___SUNPRO_C = yes; then
   3958   SUNCC="yes"
   3959 else
   3960   SUNCC="no"
   3961 fi
   3962 
   3963     if test "x$SUNCC" = "xyes"; then
   3964 	CWARNFLAGS="-v"
   3965     fi
   3966 fi
   3967 
   3968 
   3969 
   3970 
   3971 
   3972 
   3973 
   3974 
   3975 # Check whether --enable-strict-compilation was given.
   3976 if test "${enable_strict_compilation+set}" = set; then
   3977   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   3978 else
   3979   STRICT_COMPILE=no
   3980 fi
   3981 
   3982 if test "x$STRICT_COMPILE" = "xyes"; then
   3983 	{ echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   3984 echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
   3985 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   3986   echo $ECHO_N "(cached) $ECHO_C" >&6
   3987 else
   3988   cat >conftest.$ac_ext <<_ACEOF
   3989 /* confdefs.h.  */
   3990 _ACEOF
   3991 cat confdefs.h >>conftest.$ac_ext
   3992 cat >>conftest.$ac_ext <<_ACEOF
   3993 /* end confdefs.h.  */
   3994 $ac_includes_default
   3995 int
   3996 main ()
   3997 {
   3998 #ifndef __SUNPRO_C
   3999   (void) __SUNPRO_C;
   4000 #endif
   4001 
   4002   ;
   4003   return 0;
   4004 }
   4005 _ACEOF
   4006 rm -f conftest.$ac_objext
   4007 if { (ac_try="$ac_compile"
   4008 case "(($ac_try" in
   4009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4010   *) ac_try_echo=$ac_try;;
   4011 esac
   4012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4013   (eval "$ac_compile") 2>conftest.er1
   4014   ac_status=$?
   4015   grep -v '^ *+' conftest.er1 >conftest.err
   4016   rm -f conftest.er1
   4017   cat conftest.err >&5
   4018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4019   (exit $ac_status); } && {
   4020 	 test -z "$ac_c_werror_flag" ||
   4021 	 test ! -s conftest.err
   4022        } && test -s conftest.$ac_objext; then
   4023   ac_cv_have_decl___SUNPRO_C=yes
   4024 else
   4025   echo "$as_me: failed program was:" >&5
   4026 sed 's/^/| /' conftest.$ac_ext >&5
   4027 
   4028 	ac_cv_have_decl___SUNPRO_C=no
   4029 fi
   4030 
   4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4032 fi
   4033 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4034 echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
   4035 if test $ac_cv_have_decl___SUNPRO_C = yes; then
   4036   SUNCC="yes"
   4037 else
   4038   SUNCC="no"
   4039 fi
   4040 
   4041 	{ echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4042 echo $ECHO_N "checking whether __INTEL_COMPILER is declared... $ECHO_C" >&6; }
   4043 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4044   echo $ECHO_N "(cached) $ECHO_C" >&6
   4045 else
   4046   cat >conftest.$ac_ext <<_ACEOF
   4047 /* confdefs.h.  */
   4048 _ACEOF
   4049 cat confdefs.h >>conftest.$ac_ext
   4050 cat >>conftest.$ac_ext <<_ACEOF
   4051 /* end confdefs.h.  */
   4052 $ac_includes_default
   4053 int
   4054 main ()
   4055 {
   4056 #ifndef __INTEL_COMPILER
   4057   (void) __INTEL_COMPILER;
   4058 #endif
   4059 
   4060   ;
   4061   return 0;
   4062 }
   4063 _ACEOF
   4064 rm -f conftest.$ac_objext
   4065 if { (ac_try="$ac_compile"
   4066 case "(($ac_try" in
   4067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4068   *) ac_try_echo=$ac_try;;
   4069 esac
   4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4071   (eval "$ac_compile") 2>conftest.er1
   4072   ac_status=$?
   4073   grep -v '^ *+' conftest.er1 >conftest.err
   4074   rm -f conftest.er1
   4075   cat conftest.err >&5
   4076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4077   (exit $ac_status); } && {
   4078 	 test -z "$ac_c_werror_flag" ||
   4079 	 test ! -s conftest.err
   4080        } && test -s conftest.$ac_objext; then
   4081   ac_cv_have_decl___INTEL_COMPILER=yes
   4082 else
   4083   echo "$as_me: failed program was:" >&5
   4084 sed 's/^/| /' conftest.$ac_ext >&5
   4085 
   4086 	ac_cv_have_decl___INTEL_COMPILER=no
   4087 fi
   4088 
   4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4090 fi
   4091 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   4092 echo "${ECHO_T}$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   4093 if test $ac_cv_have_decl___INTEL_COMPILER = yes; then
   4094   INTELCC="yes"
   4095 else
   4096   INTELCC="no"
   4097 fi
   4098 
   4099 	if test "x$GCC" = xyes ; then
   4100 		STRICT_CFLAGS="-pedantic -Werror"
   4101 	elif test "x$SUNCC" = "xyes"; then
   4102 		STRICT_CFLAGS="-errwarn"
   4103     elif test "x$INTELCC" = "xyes"; then
   4104 		STRICT_CFLAGS="-Werror"
   4105 	fi
   4106 fi
   4107 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4108 
   4109 
   4110 
   4111 
   4112 # Check whether --with-release-version was given.
   4113 if test "${with_release_version+set}" = set; then
   4114   withval=$with_release_version; RELEASE_VERSION="$withval"
   4115 else
   4116   RELEASE_VERSION=""
   4117 fi
   4118 
   4119 	if test "x$RELEASE_VERSION" != "x"; then
   4120 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   4121 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   4122 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   4123 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   4124 	fi
   4125 
   4126 cat >>confdefs.h <<_ACEOF
   4127 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4128 _ACEOF
   4129 
   4130 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4131 	if test "x$PVM" = "x"; then
   4132 		PVM="0"
   4133 	fi
   4134 
   4135 cat >>confdefs.h <<_ACEOF
   4136 #define PACKAGE_VERSION_MINOR $PVM
   4137 _ACEOF
   4138 
   4139 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4140 	if test "x$PVP" = "x"; then
   4141 		PVP="0"
   4142 	fi
   4143 
   4144 cat >>confdefs.h <<_ACEOF
   4145 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4146 _ACEOF
   4147 
   4148 
   4149 
   4150 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4151 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4152 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4153 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4154 
   4155 
   4156 
   4157 INSTALL_CMD="if test -f "$prefix/share/doc/util-macros/INSTALL"; then \
   4158 cp -f "$prefix/share/doc/util-macros/INSTALL" \$(top_srcdir); \
   4159 else echo '$prefix/share/doc/util-macros/INSTALL cannot be found.' >&2; fi "
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 if test x$APP_MAN_SUFFIX = x    ; then
   4166     APP_MAN_SUFFIX=1
   4167 fi
   4168 if test x$APP_MAN_DIR = x    ; then
   4169     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4170 fi
   4171 
   4172 if test x$LIB_MAN_SUFFIX = x    ; then
   4173     LIB_MAN_SUFFIX=3
   4174 fi
   4175 if test x$LIB_MAN_DIR = x    ; then
   4176     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4177 fi
   4178 
   4179 if test x$FILE_MAN_SUFFIX = x    ; then
   4180     case $host_os in
   4181 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4182 	*)		FILE_MAN_SUFFIX=5  ;;
   4183     esac
   4184 fi
   4185 if test x$FILE_MAN_DIR = x    ; then
   4186     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4187 fi
   4188 
   4189 if test x$MISC_MAN_SUFFIX = x    ; then
   4190     case $host_os in
   4191 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4192 	*)		MISC_MAN_SUFFIX=7  ;;
   4193     esac
   4194 fi
   4195 if test x$MISC_MAN_DIR = x    ; then
   4196     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4197 fi
   4198 
   4199 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4200     case $host_os in
   4201 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4202 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4203     esac
   4204 fi
   4205 if test x$DRIVER_MAN_DIR = x    ; then
   4206     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4207 fi
   4208 
   4209 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4210     case $host_os in
   4211 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4212 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4213     esac
   4214 fi
   4215 if test x$ADMIN_MAN_DIR = x    ; then
   4216     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4217 fi
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 ac_aux_dir=
   4236 for ac_dir in . "$srcdir"/.; do
   4237   if test -f "$ac_dir/install-sh"; then
   4238     ac_aux_dir=$ac_dir
   4239     ac_install_sh="$ac_aux_dir/install-sh -c"
   4240     break
   4241   elif test -f "$ac_dir/install.sh"; then
   4242     ac_aux_dir=$ac_dir
   4243     ac_install_sh="$ac_aux_dir/install.sh -c"
   4244     break
   4245   elif test -f "$ac_dir/shtool"; then
   4246     ac_aux_dir=$ac_dir
   4247     ac_install_sh="$ac_aux_dir/shtool install -c"
   4248     break
   4249   fi
   4250 done
   4251 if test -z "$ac_aux_dir"; then
   4252   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   4253 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   4254    { (exit 1); exit 1; }; }
   4255 fi
   4256 
   4257 # These three variables are undocumented and unsupported,
   4258 # and are intended to be withdrawn in a future Autoconf release.
   4259 # They can cause serious problems if a builder's source tree is in a directory
   4260 # whose full name contains unusual characters.
   4261 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   4262 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   4263 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   4264 
   4265 
   4266 
   4267 am__api_version='1.10'
   4268 
   4269 # Find a good install program.  We prefer a C program (faster),
   4270 # so one script is as good as another.  But avoid the broken or
   4271 # incompatible versions:
   4272 # SysV /etc/install, /usr/sbin/install
   4273 # SunOS /usr/etc/install
   4274 # IRIX /sbin/install
   4275 # AIX /bin/install
   4276 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4280 # OS/2's system install, which has a completely different semantic
   4281 # ./install, which can be erroneously created by make from ./install.sh.
   4282 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   4283 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   4284 if test -z "$INSTALL"; then
   4285 if test "${ac_cv_path_install+set}" = set; then
   4286   echo $ECHO_N "(cached) $ECHO_C" >&6
   4287 else
   4288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4289 for as_dir in $PATH
   4290 do
   4291   IFS=$as_save_IFS
   4292   test -z "$as_dir" && as_dir=.
   4293   # Account for people who put trailing slashes in PATH elements.
   4294 case $as_dir/ in
   4295   ./ | .// | /cC/* | \
   4296   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4297   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4298   /usr/ucb/* ) ;;
   4299   *)
   4300     # OSF1 and SCO ODT 3.0 have their own names for install.
   4301     # Don't use installbsd from OSF since it installs stuff as root
   4302     # by default.
   4303     for ac_prog in ginstall scoinst install; do
   4304       for ac_exec_ext in '' $ac_executable_extensions; do
   4305 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4306 	  if test $ac_prog = install &&
   4307 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4308 	    # AIX install.  It has an incompatible calling convention.
   4309 	    :
   4310 	  elif test $ac_prog = install &&
   4311 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4312 	    # program-specific install script used by HP pwplus--don't use.
   4313 	    :
   4314 	  else
   4315 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4316 	    break 3
   4317 	  fi
   4318 	fi
   4319       done
   4320     done
   4321     ;;
   4322 esac
   4323 done
   4324 IFS=$as_save_IFS
   4325 
   4326 
   4327 fi
   4328   if test "${ac_cv_path_install+set}" = set; then
   4329     INSTALL=$ac_cv_path_install
   4330   else
   4331     # As a last resort, use the slow shell script.  Don't cache a
   4332     # value for INSTALL within a source directory, because that will
   4333     # break other packages using the cache if that directory is
   4334     # removed, or if the value is a relative name.
   4335     INSTALL=$ac_install_sh
   4336   fi
   4337 fi
   4338 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   4339 echo "${ECHO_T}$INSTALL" >&6; }
   4340 
   4341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4342 # It thinks the first close brace ends the variable substitution.
   4343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4344 
   4345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4346 
   4347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4348 
   4349 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   4350 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   4351 # Just in case
   4352 sleep 1
   4353 echo timestamp > conftest.file
   4354 # Do `set' in a subshell so we don't clobber the current shell's
   4355 # arguments.  Must try -L first in case configure is actually a
   4356 # symlink; some systems play weird games with the mod time of symlinks
   4357 # (eg FreeBSD returns the mod time of the symlink's containing
   4358 # directory).
   4359 if (
   4360    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   4361    if test "$*" = "X"; then
   4362       # -L didn't work.
   4363       set X `ls -t $srcdir/configure conftest.file`
   4364    fi
   4365    rm -f conftest.file
   4366    if test "$*" != "X $srcdir/configure conftest.file" \
   4367       && test "$*" != "X conftest.file $srcdir/configure"; then
   4368 
   4369       # If neither matched, then we have a broken ls.  This can happen
   4370       # if, for instance, CONFIG_SHELL is bash and it inherits a
   4371       # broken ls alias from the environment.  This has actually
   4372       # happened.  Such a system could not be considered "sane".
   4373       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   4374 alias in your environment" >&5
   4375 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   4376 alias in your environment" >&2;}
   4377    { (exit 1); exit 1; }; }
   4378    fi
   4379 
   4380    test "$2" = conftest.file
   4381    )
   4382 then
   4383    # Ok.
   4384    :
   4385 else
   4386    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   4387 Check your system clock" >&5
   4388 echo "$as_me: error: newly created file is older than distributed files!
   4389 Check your system clock" >&2;}
   4390    { (exit 1); exit 1; }; }
   4391 fi
   4392 { echo "$as_me:$LINENO: result: yes" >&5
   4393 echo "${ECHO_T}yes" >&6; }
   4394 test "$program_prefix" != NONE &&
   4395   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4396 # Use a double $ so make ignores it.
   4397 test "$program_suffix" != NONE &&
   4398   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4399 # Double any \ or $.  echo might interpret backslashes.
   4400 # By default was `s,x,x', remove it if useless.
   4401 cat <<\_ACEOF >conftest.sed
   4402 s/[\\$]/&&/g;s/;s,x,x,$//
   4403 _ACEOF
   4404 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   4405 rm -f conftest.sed
   4406 
   4407 # expand $ac_aux_dir to an absolute path
   4408 am_aux_dir=`cd $ac_aux_dir && pwd`
   4409 
   4410 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   4411 # Use eval to expand $SHELL
   4412 if eval "$MISSING --run true"; then
   4413   am_missing_run="$MISSING --run "
   4414 else
   4415   am_missing_run=
   4416   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   4417 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4418 fi
   4419 
   4420 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   4421 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   4422 if test -z "$MKDIR_P"; then
   4423   if test "${ac_cv_path_mkdir+set}" = set; then
   4424   echo $ECHO_N "(cached) $ECHO_C" >&6
   4425 else
   4426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4427 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4428 do
   4429   IFS=$as_save_IFS
   4430   test -z "$as_dir" && as_dir=.
   4431   for ac_prog in mkdir gmkdir; do
   4432 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4433 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4434 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4435 	     'mkdir (GNU coreutils) '* | \
   4436 	     'mkdir (coreutils) '* | \
   4437 	     'mkdir (fileutils) '4.1*)
   4438 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4439 	       break 3;;
   4440 	   esac
   4441 	 done
   4442        done
   4443 done
   4444 IFS=$as_save_IFS
   4445 
   4446 fi
   4447 
   4448   if test "${ac_cv_path_mkdir+set}" = set; then
   4449     MKDIR_P="$ac_cv_path_mkdir -p"
   4450   else
   4451     # As a last resort, use the slow shell script.  Don't cache a
   4452     # value for MKDIR_P within a source directory, because that will
   4453     # break other packages using the cache if that directory is
   4454     # removed, or if the value is a relative name.
   4455     test -d ./--version && rmdir ./--version
   4456     MKDIR_P="$ac_install_sh -d"
   4457   fi
   4458 fi
   4459 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   4460 echo "${ECHO_T}$MKDIR_P" >&6; }
   4461 
   4462 mkdir_p="$MKDIR_P"
   4463 case $mkdir_p in
   4464   [\\/$]* | ?:[\\/]*) ;;
   4465   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4466 esac
   4467 
   4468 for ac_prog in gawk mawk nawk awk
   4469 do
   4470   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4471 set dummy $ac_prog; ac_word=$2
   4472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4474 if test "${ac_cv_prog_AWK+set}" = set; then
   4475   echo $ECHO_N "(cached) $ECHO_C" >&6
   4476 else
   4477   if test -n "$AWK"; then
   4478   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4479 else
   4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4481 for as_dir in $PATH
   4482 do
   4483   IFS=$as_save_IFS
   4484   test -z "$as_dir" && as_dir=.
   4485   for ac_exec_ext in '' $ac_executable_extensions; do
   4486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4487     ac_cv_prog_AWK="$ac_prog"
   4488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4489     break 2
   4490   fi
   4491 done
   4492 done
   4493 IFS=$as_save_IFS
   4494 
   4495 fi
   4496 fi
   4497 AWK=$ac_cv_prog_AWK
   4498 if test -n "$AWK"; then
   4499   { echo "$as_me:$LINENO: result: $AWK" >&5
   4500 echo "${ECHO_T}$AWK" >&6; }
   4501 else
   4502   { echo "$as_me:$LINENO: result: no" >&5
   4503 echo "${ECHO_T}no" >&6; }
   4504 fi
   4505 
   4506 
   4507   test -n "$AWK" && break
   4508 done
   4509 
   4510 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4511 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   4512 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4513 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   4514   echo $ECHO_N "(cached) $ECHO_C" >&6
   4515 else
   4516   cat >conftest.make <<\_ACEOF
   4517 SHELL = /bin/sh
   4518 all:
   4519 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4520 _ACEOF
   4521 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   4522 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4523   *@@@%%%=?*=@@@%%%*)
   4524     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4525   *)
   4526     eval ac_cv_prog_make_${ac_make}_set=no;;
   4527 esac
   4528 rm -f conftest.make
   4529 fi
   4530 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4531   { echo "$as_me:$LINENO: result: yes" >&5
   4532 echo "${ECHO_T}yes" >&6; }
   4533   SET_MAKE=
   4534 else
   4535   { echo "$as_me:$LINENO: result: no" >&5
   4536 echo "${ECHO_T}no" >&6; }
   4537   SET_MAKE="MAKE=${MAKE-make}"
   4538 fi
   4539 
   4540 rm -rf .tst 2>/dev/null
   4541 mkdir .tst 2>/dev/null
   4542 if test -d .tst; then
   4543   am__leading_dot=.
   4544 else
   4545   am__leading_dot=_
   4546 fi
   4547 rmdir .tst 2>/dev/null
   4548 
   4549 DEPDIR="${am__leading_dot}deps"
   4550 
   4551 ac_config_commands="$ac_config_commands depfiles"
   4552 
   4553 
   4554 am_make=${MAKE-make}
   4555 cat > confinc << 'END'
   4556 am__doit:
   4557 	@echo done
   4558 .PHONY: am__doit
   4559 END
   4560 # If we don't find an include directive, just comment out the code.
   4561 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   4562 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   4563 am__include="#"
   4564 am__quote=
   4565 _am_result=none
   4566 # First try GNU make style include.
   4567 echo "include confinc" > confmf
   4568 # We grep out `Entering directory' and `Leaving directory'
   4569 # messages which can occur if `w' ends up in MAKEFLAGS.
   4570 # In particular we don't look at `^make:' because GNU make might
   4571 # be invoked under some other name (usually "gmake"), in which
   4572 # case it prints its new name instead of `make'.
   4573 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   4574    am__include=include
   4575    am__quote=
   4576    _am_result=GNU
   4577 fi
   4578 # Now try BSD make style include.
   4579 if test "$am__include" = "#"; then
   4580    echo '.include "confinc"' > confmf
   4581    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   4582       am__include=.include
   4583       am__quote="\""
   4584       _am_result=BSD
   4585    fi
   4586 fi
   4587 
   4588 
   4589 { echo "$as_me:$LINENO: result: $_am_result" >&5
   4590 echo "${ECHO_T}$_am_result" >&6; }
   4591 rm -f confinc confmf
   4592 
   4593 # Check whether --enable-dependency-tracking was given.
   4594 if test "${enable_dependency_tracking+set}" = set; then
   4595   enableval=$enable_dependency_tracking;
   4596 fi
   4597 
   4598 if test "x$enable_dependency_tracking" != xno; then
   4599   am_depcomp="$ac_aux_dir/depcomp"
   4600   AMDEPBACKSLASH='\'
   4601 fi
   4602  if test "x$enable_dependency_tracking" != xno; then
   4603   AMDEP_TRUE=
   4604   AMDEP_FALSE='#'
   4605 else
   4606   AMDEP_TRUE='#'
   4607   AMDEP_FALSE=
   4608 fi
   4609 
   4610 
   4611 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4612   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4613   # is not polluted with repeated "-I."
   4614   am__isrc=' -I$(srcdir)'
   4615   # test to see if srcdir already configured
   4616   if test -f $srcdir/config.status; then
   4617     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   4618 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   4619    { (exit 1); exit 1; }; }
   4620   fi
   4621 fi
   4622 
   4623 # test whether we have cygpath
   4624 if test -z "$CYGPATH_W"; then
   4625   if (cygpath --version) >/dev/null 2>/dev/null; then
   4626     CYGPATH_W='cygpath -w'
   4627   else
   4628     CYGPATH_W=echo
   4629   fi
   4630 fi
   4631 
   4632 
   4633 # Define the identity of the package.
   4634  PACKAGE='xf86-video-ati'
   4635  VERSION='6.13.0'
   4636 
   4637 
   4638 cat >>confdefs.h <<_ACEOF
   4639 #define PACKAGE "$PACKAGE"
   4640 _ACEOF
   4641 
   4642 
   4643 cat >>confdefs.h <<_ACEOF
   4644 #define VERSION "$VERSION"
   4645 _ACEOF
   4646 
   4647 # Some tools Automake needs.
   4648 
   4649 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4650 
   4651 
   4652 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4653 
   4654 
   4655 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4656 
   4657 
   4658 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4659 
   4660 
   4661 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4662 
   4663 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   4664 
   4665 # Installed binaries are usually stripped using `strip' when the user
   4666 # run `make install-strip'.  However `strip' might not be the right
   4667 # tool to use in cross-compilation environments, therefore Automake
   4668 # will honor the `STRIP' environment variable to overrule this program.
   4669 if test "$cross_compiling" != no; then
   4670   if test -n "$ac_tool_prefix"; then
   4671   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4672 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4675 if test "${ac_cv_prog_STRIP+set}" = set; then
   4676   echo $ECHO_N "(cached) $ECHO_C" >&6
   4677 else
   4678   if test -n "$STRIP"; then
   4679   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4680 else
   4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4682 for as_dir in $PATH
   4683 do
   4684   IFS=$as_save_IFS
   4685   test -z "$as_dir" && as_dir=.
   4686   for ac_exec_ext in '' $ac_executable_extensions; do
   4687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4688     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4689     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4690     break 2
   4691   fi
   4692 done
   4693 done
   4694 IFS=$as_save_IFS
   4695 
   4696 fi
   4697 fi
   4698 STRIP=$ac_cv_prog_STRIP
   4699 if test -n "$STRIP"; then
   4700   { echo "$as_me:$LINENO: result: $STRIP" >&5
   4701 echo "${ECHO_T}$STRIP" >&6; }
   4702 else
   4703   { echo "$as_me:$LINENO: result: no" >&5
   4704 echo "${ECHO_T}no" >&6; }
   4705 fi
   4706 
   4707 
   4708 fi
   4709 if test -z "$ac_cv_prog_STRIP"; then
   4710   ac_ct_STRIP=$STRIP
   4711   # Extract the first word of "strip", so it can be a program name with args.
   4712 set dummy strip; ac_word=$2
   4713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4715 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   4716   echo $ECHO_N "(cached) $ECHO_C" >&6
   4717 else
   4718   if test -n "$ac_ct_STRIP"; then
   4719   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4720 else
   4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4722 for as_dir in $PATH
   4723 do
   4724   IFS=$as_save_IFS
   4725   test -z "$as_dir" && as_dir=.
   4726   for ac_exec_ext in '' $ac_executable_extensions; do
   4727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4728     ac_cv_prog_ac_ct_STRIP="strip"
   4729     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4730     break 2
   4731   fi
   4732 done
   4733 done
   4734 IFS=$as_save_IFS
   4735 
   4736 fi
   4737 fi
   4738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4739 if test -n "$ac_ct_STRIP"; then
   4740   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   4741 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   4742 else
   4743   { echo "$as_me:$LINENO: result: no" >&5
   4744 echo "${ECHO_T}no" >&6; }
   4745 fi
   4746 
   4747   if test "x$ac_ct_STRIP" = x; then
   4748     STRIP=":"
   4749   else
   4750     case $cross_compiling:$ac_tool_warned in
   4751 yes:)
   4752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   4753 whose name does not start with the host triplet.  If you think this
   4754 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   4755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   4756 whose name does not start with the host triplet.  If you think this
   4757 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   4758 ac_tool_warned=yes ;;
   4759 esac
   4760     STRIP=$ac_ct_STRIP
   4761   fi
   4762 else
   4763   STRIP="$ac_cv_prog_STRIP"
   4764 fi
   4765 
   4766 fi
   4767 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4768 
   4769 # We need awk for the "check" target.  The system "awk" is bad on
   4770 # some platforms.
   4771 # Always define AMTAR for backward compatibility.
   4772 
   4773 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4774 
   4775 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4776 
   4777 
   4778 
   4779 
   4780 depcc="$CC"   am_compiler_list=
   4781 
   4782 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   4784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   4785   echo $ECHO_N "(cached) $ECHO_C" >&6
   4786 else
   4787   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4788   # We make a subdir and do the tests there.  Otherwise we can end up
   4789   # making bogus files that we don't know about and never remove.  For
   4790   # instance it was reported that on HP-UX the gcc test will end up
   4791   # making a dummy file named `D' -- because `-MD' means `put the output
   4792   # in D'.
   4793   mkdir conftest.dir
   4794   # Copy depcomp to subdir because otherwise we won't find it if we're
   4795   # using a relative directory.
   4796   cp "$am_depcomp" conftest.dir
   4797   cd conftest.dir
   4798   # We will build objects and dependencies in a subdirectory because
   4799   # it helps to detect inapplicable dependency modes.  For instance
   4800   # both Tru64's cc and ICC support -MD to output dependencies as a
   4801   # side effect of compilation, but ICC will put the dependencies in
   4802   # the current directory while Tru64 will put them in the object
   4803   # directory.
   4804   mkdir sub
   4805 
   4806   am_cv_CC_dependencies_compiler_type=none
   4807   if test "$am_compiler_list" = ""; then
   4808      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4809   fi
   4810   for depmode in $am_compiler_list; do
   4811     # Setup a source with many dependencies, because some compilers
   4812     # like to wrap large dependency lists on column 80 (with \), and
   4813     # we should not choose a depcomp mode which is confused by this.
   4814     #
   4815     # We need to recreate these files for each test, as the compiler may
   4816     # overwrite some of them when testing with obscure command lines.
   4817     # This happens at least with the AIX C compiler.
   4818     : > sub/conftest.c
   4819     for i in 1 2 3 4 5 6; do
   4820       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4821       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4822       # Solaris 8's {/usr,}/bin/sh.
   4823       touch sub/conftst$i.h
   4824     done
   4825     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4826 
   4827     case $depmode in
   4828     nosideeffect)
   4829       # after this tag, mechanisms are not by side-effect, so they'll
   4830       # only be used when explicitly requested
   4831       if test "x$enable_dependency_tracking" = xyes; then
   4832 	continue
   4833       else
   4834 	break
   4835       fi
   4836       ;;
   4837     none) break ;;
   4838     esac
   4839     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4840     # mode.  It turns out that the SunPro C++ compiler does not properly
   4841     # handle `-M -o', and we need to detect this.
   4842     if depmode=$depmode \
   4843        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4844        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4845        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4846          >/dev/null 2>conftest.err &&
   4847        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4848        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4849        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4850        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4851       # icc doesn't choke on unknown options, it will just issue warnings
   4852       # or remarks (even with -Werror).  So we grep stderr for any message
   4853       # that says an option was ignored or not supported.
   4854       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4855       #   icc: Command line warning: ignoring option '-M'; no argument required
   4856       # The diagnosis changed in icc 8.0:
   4857       #   icc: Command line remark: option '-MP' not supported
   4858       if (grep 'ignoring option' conftest.err ||
   4859           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4860         am_cv_CC_dependencies_compiler_type=$depmode
   4861         break
   4862       fi
   4863     fi
   4864   done
   4865 
   4866   cd ..
   4867   rm -rf conftest.dir
   4868 else
   4869   am_cv_CC_dependencies_compiler_type=none
   4870 fi
   4871 
   4872 fi
   4873 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   4874 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   4875 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4876 
   4877  if
   4878   test "x$enable_dependency_tracking" != xno \
   4879   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4880   am__fastdepCC_TRUE=
   4881   am__fastdepCC_FALSE='#'
   4882 else
   4883   am__fastdepCC_TRUE='#'
   4884   am__fastdepCC_FALSE=
   4885 fi
   4886 
   4887 
   4888 
   4889 # Check whether --enable-largefile was given.
   4890 if test "${enable_largefile+set}" = set; then
   4891   enableval=$enable_largefile;
   4892 fi
   4893 
   4894 if test "$enable_largefile" != no; then
   4895 
   4896   { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
   4897 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
   4898 if test "${ac_cv_sys_largefile_CC+set}" = set; then
   4899   echo $ECHO_N "(cached) $ECHO_C" >&6
   4900 else
   4901   ac_cv_sys_largefile_CC=no
   4902      if test "$GCC" != yes; then
   4903        ac_save_CC=$CC
   4904        while :; do
   4905 	 # IRIX 6.2 and later do not support large files by default,
   4906 	 # so use the C compiler's -n32 option if that helps.
   4907 	 cat >conftest.$ac_ext <<_ACEOF
   4908 /* confdefs.h.  */
   4909 _ACEOF
   4910 cat confdefs.h >>conftest.$ac_ext
   4911 cat >>conftest.$ac_ext <<_ACEOF
   4912 /* end confdefs.h.  */
   4913 #include <sys/types.h>
   4914  /* Check that off_t can represent 2**63 - 1 correctly.
   4915     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4916     since some C++ compilers masquerading as C compilers
   4917     incorrectly reject 9223372036854775807.  */
   4918 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4919   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4920 		       && LARGE_OFF_T % 2147483647 == 1)
   4921 		      ? 1 : -1];
   4922 int
   4923 main ()
   4924 {
   4925 
   4926   ;
   4927   return 0;
   4928 }
   4929 _ACEOF
   4930 	 rm -f conftest.$ac_objext
   4931 if { (ac_try="$ac_compile"
   4932 case "(($ac_try" in
   4933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4934   *) ac_try_echo=$ac_try;;
   4935 esac
   4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4937   (eval "$ac_compile") 2>conftest.er1
   4938   ac_status=$?
   4939   grep -v '^ *+' conftest.er1 >conftest.err
   4940   rm -f conftest.er1
   4941   cat conftest.err >&5
   4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4943   (exit $ac_status); } && {
   4944 	 test -z "$ac_c_werror_flag" ||
   4945 	 test ! -s conftest.err
   4946        } && test -s conftest.$ac_objext; then
   4947   break
   4948 else
   4949   echo "$as_me: failed program was:" >&5
   4950 sed 's/^/| /' conftest.$ac_ext >&5
   4951 
   4952 
   4953 fi
   4954 
   4955 rm -f core conftest.err conftest.$ac_objext
   4956 	 CC="$CC -n32"
   4957 	 rm -f conftest.$ac_objext
   4958 if { (ac_try="$ac_compile"
   4959 case "(($ac_try" in
   4960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4961   *) ac_try_echo=$ac_try;;
   4962 esac
   4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4964   (eval "$ac_compile") 2>conftest.er1
   4965   ac_status=$?
   4966   grep -v '^ *+' conftest.er1 >conftest.err
   4967   rm -f conftest.er1
   4968   cat conftest.err >&5
   4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4970   (exit $ac_status); } && {
   4971 	 test -z "$ac_c_werror_flag" ||
   4972 	 test ! -s conftest.err
   4973        } && test -s conftest.$ac_objext; then
   4974   ac_cv_sys_largefile_CC=' -n32'; break
   4975 else
   4976   echo "$as_me: failed program was:" >&5
   4977 sed 's/^/| /' conftest.$ac_ext >&5
   4978 
   4979 
   4980 fi
   4981 
   4982 rm -f core conftest.err conftest.$ac_objext
   4983 	 break
   4984        done
   4985        CC=$ac_save_CC
   4986        rm -f conftest.$ac_ext
   4987     fi
   4988 fi
   4989 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
   4990 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
   4991   if test "$ac_cv_sys_largefile_CC" != no; then
   4992     CC=$CC$ac_cv_sys_largefile_CC
   4993   fi
   4994 
   4995   { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4996 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
   4997 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
   4998   echo $ECHO_N "(cached) $ECHO_C" >&6
   4999 else
   5000   while :; do
   5001   cat >conftest.$ac_ext <<_ACEOF
   5002 /* confdefs.h.  */
   5003 _ACEOF
   5004 cat confdefs.h >>conftest.$ac_ext
   5005 cat >>conftest.$ac_ext <<_ACEOF
   5006 /* end confdefs.h.  */
   5007 #include <sys/types.h>
   5008  /* Check that off_t can represent 2**63 - 1 correctly.
   5009     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5010     since some C++ compilers masquerading as C compilers
   5011     incorrectly reject 9223372036854775807.  */
   5012 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5013   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5014 		       && LARGE_OFF_T % 2147483647 == 1)
   5015 		      ? 1 : -1];
   5016 int
   5017 main ()
   5018 {
   5019 
   5020   ;
   5021   return 0;
   5022 }
   5023 _ACEOF
   5024 rm -f conftest.$ac_objext
   5025 if { (ac_try="$ac_compile"
   5026 case "(($ac_try" in
   5027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5028   *) ac_try_echo=$ac_try;;
   5029 esac
   5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5031   (eval "$ac_compile") 2>conftest.er1
   5032   ac_status=$?
   5033   grep -v '^ *+' conftest.er1 >conftest.err
   5034   rm -f conftest.er1
   5035   cat conftest.err >&5
   5036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5037   (exit $ac_status); } && {
   5038 	 test -z "$ac_c_werror_flag" ||
   5039 	 test ! -s conftest.err
   5040        } && test -s conftest.$ac_objext; then
   5041   ac_cv_sys_file_offset_bits=no; break
   5042 else
   5043   echo "$as_me: failed program was:" >&5
   5044 sed 's/^/| /' conftest.$ac_ext >&5
   5045 
   5046 
   5047 fi
   5048 
   5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5050   cat >conftest.$ac_ext <<_ACEOF
   5051 /* confdefs.h.  */
   5052 _ACEOF
   5053 cat confdefs.h >>conftest.$ac_ext
   5054 cat >>conftest.$ac_ext <<_ACEOF
   5055 /* end confdefs.h.  */
   5056 #define _FILE_OFFSET_BITS 64
   5057 #include <sys/types.h>
   5058  /* Check that off_t can represent 2**63 - 1 correctly.
   5059     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5060     since some C++ compilers masquerading as C compilers
   5061     incorrectly reject 9223372036854775807.  */
   5062 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5063   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5064 		       && LARGE_OFF_T % 2147483647 == 1)
   5065 		      ? 1 : -1];
   5066 int
   5067 main ()
   5068 {
   5069 
   5070   ;
   5071   return 0;
   5072 }
   5073 _ACEOF
   5074 rm -f conftest.$ac_objext
   5075 if { (ac_try="$ac_compile"
   5076 case "(($ac_try" in
   5077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5078   *) ac_try_echo=$ac_try;;
   5079 esac
   5080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5081   (eval "$ac_compile") 2>conftest.er1
   5082   ac_status=$?
   5083   grep -v '^ *+' conftest.er1 >conftest.err
   5084   rm -f conftest.er1
   5085   cat conftest.err >&5
   5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5087   (exit $ac_status); } && {
   5088 	 test -z "$ac_c_werror_flag" ||
   5089 	 test ! -s conftest.err
   5090        } && test -s conftest.$ac_objext; then
   5091   ac_cv_sys_file_offset_bits=64; break
   5092 else
   5093   echo "$as_me: failed program was:" >&5
   5094 sed 's/^/| /' conftest.$ac_ext >&5
   5095 
   5096 
   5097 fi
   5098 
   5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5100   ac_cv_sys_file_offset_bits=unknown
   5101   break
   5102 done
   5103 fi
   5104 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
   5105 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
   5106 case $ac_cv_sys_file_offset_bits in #(
   5107   no | unknown) ;;
   5108   *)
   5109 cat >>confdefs.h <<_ACEOF
   5110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   5111 _ACEOF
   5112 ;;
   5113 esac
   5114 rm -f conftest*
   5115   if test $ac_cv_sys_file_offset_bits = unknown; then
   5116     { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
   5117 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
   5118 if test "${ac_cv_sys_large_files+set}" = set; then
   5119   echo $ECHO_N "(cached) $ECHO_C" >&6
   5120 else
   5121   while :; do
   5122   cat >conftest.$ac_ext <<_ACEOF
   5123 /* confdefs.h.  */
   5124 _ACEOF
   5125 cat confdefs.h >>conftest.$ac_ext
   5126 cat >>conftest.$ac_ext <<_ACEOF
   5127 /* end confdefs.h.  */
   5128 #include <sys/types.h>
   5129  /* Check that off_t can represent 2**63 - 1 correctly.
   5130     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5131     since some C++ compilers masquerading as C compilers
   5132     incorrectly reject 9223372036854775807.  */
   5133 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5134   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5135 		       && LARGE_OFF_T % 2147483647 == 1)
   5136 		      ? 1 : -1];
   5137 int
   5138 main ()
   5139 {
   5140 
   5141   ;
   5142   return 0;
   5143 }
   5144 _ACEOF
   5145 rm -f conftest.$ac_objext
   5146 if { (ac_try="$ac_compile"
   5147 case "(($ac_try" in
   5148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5149   *) ac_try_echo=$ac_try;;
   5150 esac
   5151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5152   (eval "$ac_compile") 2>conftest.er1
   5153   ac_status=$?
   5154   grep -v '^ *+' conftest.er1 >conftest.err
   5155   rm -f conftest.er1
   5156   cat conftest.err >&5
   5157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5158   (exit $ac_status); } && {
   5159 	 test -z "$ac_c_werror_flag" ||
   5160 	 test ! -s conftest.err
   5161        } && test -s conftest.$ac_objext; then
   5162   ac_cv_sys_large_files=no; break
   5163 else
   5164   echo "$as_me: failed program was:" >&5
   5165 sed 's/^/| /' conftest.$ac_ext >&5
   5166 
   5167 
   5168 fi
   5169 
   5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5171   cat >conftest.$ac_ext <<_ACEOF
   5172 /* confdefs.h.  */
   5173 _ACEOF
   5174 cat confdefs.h >>conftest.$ac_ext
   5175 cat >>conftest.$ac_ext <<_ACEOF
   5176 /* end confdefs.h.  */
   5177 #define _LARGE_FILES 1
   5178 #include <sys/types.h>
   5179  /* Check that off_t can represent 2**63 - 1 correctly.
   5180     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5181     since some C++ compilers masquerading as C compilers
   5182     incorrectly reject 9223372036854775807.  */
   5183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5184   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5185 		       && LARGE_OFF_T % 2147483647 == 1)
   5186 		      ? 1 : -1];
   5187 int
   5188 main ()
   5189 {
   5190 
   5191   ;
   5192   return 0;
   5193 }
   5194 _ACEOF
   5195 rm -f conftest.$ac_objext
   5196 if { (ac_try="$ac_compile"
   5197 case "(($ac_try" in
   5198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5199   *) ac_try_echo=$ac_try;;
   5200 esac
   5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5202   (eval "$ac_compile") 2>conftest.er1
   5203   ac_status=$?
   5204   grep -v '^ *+' conftest.er1 >conftest.err
   5205   rm -f conftest.er1
   5206   cat conftest.err >&5
   5207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5208   (exit $ac_status); } && {
   5209 	 test -z "$ac_c_werror_flag" ||
   5210 	 test ! -s conftest.err
   5211        } && test -s conftest.$ac_objext; then
   5212   ac_cv_sys_large_files=1; break
   5213 else
   5214   echo "$as_me: failed program was:" >&5
   5215 sed 's/^/| /' conftest.$ac_ext >&5
   5216 
   5217 
   5218 fi
   5219 
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221   ac_cv_sys_large_files=unknown
   5222   break
   5223 done
   5224 fi
   5225 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
   5226 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
   5227 case $ac_cv_sys_large_files in #(
   5228   no | unknown) ;;
   5229   *)
   5230 cat >>confdefs.h <<_ACEOF
   5231 #define _LARGE_FILES $ac_cv_sys_large_files
   5232 _ACEOF
   5233 ;;
   5234 esac
   5235 rm -f conftest*
   5236   fi
   5237 fi
   5238 
   5239 
   5240 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   5241 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   5242     # Check whether --enable-maintainer-mode was given.
   5243 if test "${enable_maintainer_mode+set}" = set; then
   5244   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   5245 else
   5246   USE_MAINTAINER_MODE=no
   5247 fi
   5248 
   5249   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   5250 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   5251    if test $USE_MAINTAINER_MODE = yes; then
   5252   MAINTAINER_MODE_TRUE=
   5253   MAINTAINER_MODE_FALSE='#'
   5254 else
   5255   MAINTAINER_MODE_TRUE='#'
   5256   MAINTAINER_MODE_FALSE=
   5257 fi
   5258 
   5259   MAINT=$MAINTAINER_MODE_TRUE
   5260 
   5261 
   5262 
   5263 # Checks for programs.
   5264 # Check whether --enable-static was given.
   5265 if test "${enable_static+set}" = set; then
   5266   enableval=$enable_static; p=${PACKAGE-default}
   5267     case $enableval in
   5268     yes) enable_static=yes ;;
   5269     no) enable_static=no ;;
   5270     *)
   5271      enable_static=no
   5272       # Look at the argument we got.  We use all the common list separators.
   5273       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5274       for pkg in $enableval; do
   5275 	IFS="$lt_save_ifs"
   5276 	if test "X$pkg" = "X$p"; then
   5277 	  enable_static=yes
   5278 	fi
   5279       done
   5280       IFS="$lt_save_ifs"
   5281       ;;
   5282     esac
   5283 else
   5284   enable_static=no
   5285 fi
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 case `pwd` in
   5296   *\ * | *\	*)
   5297     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5298 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5299 esac
   5300 
   5301 
   5302 
   5303 macro_version='2.2.4'
   5304 macro_revision='1.2976'
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 ltmain="$ac_aux_dir/ltmain.sh"
   5319 
   5320 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5321 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   5322 if test "${ac_cv_path_SED+set}" = set; then
   5323   echo $ECHO_N "(cached) $ECHO_C" >&6
   5324 else
   5325             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5326      for ac_i in 1 2 3 4 5 6 7; do
   5327        ac_script="$ac_script$as_nl$ac_script"
   5328      done
   5329      echo "$ac_script" | sed 99q >conftest.sed
   5330      $as_unset ac_script || ac_script=
   5331      # Extract the first word of "sed gsed" to use in msg output
   5332 if test -z "$SED"; then
   5333 set dummy sed gsed; ac_prog_name=$2
   5334 if test "${ac_cv_path_SED+set}" = set; then
   5335   echo $ECHO_N "(cached) $ECHO_C" >&6
   5336 else
   5337   ac_path_SED_found=false
   5338 # Loop through the user's path and test for each of PROGNAME-LIST
   5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5340 for as_dir in $PATH
   5341 do
   5342   IFS=$as_save_IFS
   5343   test -z "$as_dir" && as_dir=.
   5344   for ac_prog in sed gsed; do
   5345   for ac_exec_ext in '' $ac_executable_extensions; do
   5346     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5347     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5348     # Check for GNU ac_path_SED and select it if it is found.
   5349   # Check for GNU $ac_path_SED
   5350 case `"$ac_path_SED" --version 2>&1` in
   5351 *GNU*)
   5352   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5353 *)
   5354   ac_count=0
   5355   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   5356   while :
   5357   do
   5358     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5359     mv "conftest.tmp" "conftest.in"
   5360     cp "conftest.in" "conftest.nl"
   5361     echo '' >> "conftest.nl"
   5362     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5363     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5364     ac_count=`expr $ac_count + 1`
   5365     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5366       # Best one so far, save it but keep looking for a better one
   5367       ac_cv_path_SED="$ac_path_SED"
   5368       ac_path_SED_max=$ac_count
   5369     fi
   5370     # 10*(2^10) chars as input seems more than enough
   5371     test $ac_count -gt 10 && break
   5372   done
   5373   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5374 esac
   5375 
   5376 
   5377     $ac_path_SED_found && break 3
   5378   done
   5379 done
   5380 
   5381 done
   5382 IFS=$as_save_IFS
   5383 
   5384 
   5385 fi
   5386 
   5387 SED="$ac_cv_path_SED"
   5388 if test -z "$SED"; then
   5389   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
   5390 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
   5391    { (exit 1); exit 1; }; }
   5392 fi
   5393 
   5394 else
   5395   ac_cv_path_SED=$SED
   5396 fi
   5397 
   5398 fi
   5399 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   5400 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
   5401  SED="$ac_cv_path_SED"
   5402   rm -f conftest.sed
   5403 
   5404 test -z "$SED" && SED=sed
   5405 Xsed="$SED -e 1s/^X//"
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 { echo "$as_me:$LINENO: checking for fgrep" >&5
   5418 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
   5419 if test "${ac_cv_path_FGREP+set}" = set; then
   5420   echo $ECHO_N "(cached) $ECHO_C" >&6
   5421 else
   5422   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5423    then ac_cv_path_FGREP="$GREP -F"
   5424    else
   5425      # Extract the first word of "fgrep" to use in msg output
   5426 if test -z "$FGREP"; then
   5427 set dummy fgrep; ac_prog_name=$2
   5428 if test "${ac_cv_path_FGREP+set}" = set; then
   5429   echo $ECHO_N "(cached) $ECHO_C" >&6
   5430 else
   5431   ac_path_FGREP_found=false
   5432 # Loop through the user's path and test for each of PROGNAME-LIST
   5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5434 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5435 do
   5436   IFS=$as_save_IFS
   5437   test -z "$as_dir" && as_dir=.
   5438   for ac_prog in fgrep; do
   5439   for ac_exec_ext in '' $ac_executable_extensions; do
   5440     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5441     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5442     # Check for GNU ac_path_FGREP and select it if it is found.
   5443   # Check for GNU $ac_path_FGREP
   5444 case `"$ac_path_FGREP" --version 2>&1` in
   5445 *GNU*)
   5446   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5447 *)
   5448   ac_count=0
   5449   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   5450   while :
   5451   do
   5452     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5453     mv "conftest.tmp" "conftest.in"
   5454     cp "conftest.in" "conftest.nl"
   5455     echo 'FGREP' >> "conftest.nl"
   5456     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5457     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5458     ac_count=`expr $ac_count + 1`
   5459     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5460       # Best one so far, save it but keep looking for a better one
   5461       ac_cv_path_FGREP="$ac_path_FGREP"
   5462       ac_path_FGREP_max=$ac_count
   5463     fi
   5464     # 10*(2^10) chars as input seems more than enough
   5465     test $ac_count -gt 10 && break
   5466   done
   5467   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5468 esac
   5469 
   5470 
   5471     $ac_path_FGREP_found && break 3
   5472   done
   5473 done
   5474 
   5475 done
   5476 IFS=$as_save_IFS
   5477 
   5478 
   5479 fi
   5480 
   5481 FGREP="$ac_cv_path_FGREP"
   5482 if test -z "$FGREP"; then
   5483   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   5484 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   5485    { (exit 1); exit 1; }; }
   5486 fi
   5487 
   5488 else
   5489   ac_cv_path_FGREP=$FGREP
   5490 fi
   5491 
   5492 
   5493    fi
   5494 fi
   5495 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   5496 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
   5497  FGREP="$ac_cv_path_FGREP"
   5498 
   5499 
   5500 test -z "$GREP" && GREP=grep
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 # Check whether --with-gnu-ld was given.
   5521 if test "${with_gnu_ld+set}" = set; then
   5522   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5523 else
   5524   with_gnu_ld=no
   5525 fi
   5526 
   5527 ac_prog=ld
   5528 if test "$GCC" = yes; then
   5529   # Check if gcc -print-prog-name=ld gives a path.
   5530   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5531 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   5532   case $host in
   5533   *-*-mingw*)
   5534     # gcc leaves a trailing carriage return which upsets mingw
   5535     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5536   *)
   5537     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5538   esac
   5539   case $ac_prog in
   5540     # Accept absolute paths.
   5541     [\\/]* | ?:[\\/]*)
   5542       re_direlt='/[^/][^/]*/\.\./'
   5543       # Canonicalize the pathname of ld
   5544       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5545       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5546 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5547       done
   5548       test -z "$LD" && LD="$ac_prog"
   5549       ;;
   5550   "")
   5551     # If it fails, then pretend we aren't using GCC.
   5552     ac_prog=ld
   5553     ;;
   5554   *)
   5555     # If it is relative, then search for the first ld in PATH.
   5556     with_gnu_ld=unknown
   5557     ;;
   5558   esac
   5559 elif test "$with_gnu_ld" = yes; then
   5560   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   5561 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   5562 else
   5563   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5564 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   5565 fi
   5566 if test "${lt_cv_path_LD+set}" = set; then
   5567   echo $ECHO_N "(cached) $ECHO_C" >&6
   5568 else
   5569   if test -z "$LD"; then
   5570   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5571   for ac_dir in $PATH; do
   5572     IFS="$lt_save_ifs"
   5573     test -z "$ac_dir" && ac_dir=.
   5574     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5575       lt_cv_path_LD="$ac_dir/$ac_prog"
   5576       # Check to see if the program is GNU ld.  I'd rather use --version,
   5577       # but apparently some variants of GNU ld only accept -v.
   5578       # Break only if it was the GNU/non-GNU ld that we prefer.
   5579       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5580       *GNU* | *'with BFD'*)
   5581 	test "$with_gnu_ld" != no && break
   5582 	;;
   5583       *)
   5584 	test "$with_gnu_ld" != yes && break
   5585 	;;
   5586       esac
   5587     fi
   5588   done
   5589   IFS="$lt_save_ifs"
   5590 else
   5591   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5592 fi
   5593 fi
   5594 
   5595 LD="$lt_cv_path_LD"
   5596 if test -n "$LD"; then
   5597   { echo "$as_me:$LINENO: result: $LD" >&5
   5598 echo "${ECHO_T}$LD" >&6; }
   5599 else
   5600   { echo "$as_me:$LINENO: result: no" >&5
   5601 echo "${ECHO_T}no" >&6; }
   5602 fi
   5603 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5604 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5605    { (exit 1); exit 1; }; }
   5606 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5607 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   5608 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5609   echo $ECHO_N "(cached) $ECHO_C" >&6
   5610 else
   5611   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5612 case `$LD -v 2>&1 </dev/null` in
   5613 *GNU* | *'with BFD'*)
   5614   lt_cv_prog_gnu_ld=yes
   5615   ;;
   5616 *)
   5617   lt_cv_prog_gnu_ld=no
   5618   ;;
   5619 esac
   5620 fi
   5621 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5622 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   5623 with_gnu_ld=$lt_cv_prog_gnu_ld
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5634 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
   5635 if test "${lt_cv_path_NM+set}" = set; then
   5636   echo $ECHO_N "(cached) $ECHO_C" >&6
   5637 else
   5638   if test -n "$NM"; then
   5639   # Let the user override the test.
   5640   lt_cv_path_NM="$NM"
   5641 else
   5642   lt_nm_to_check="${ac_tool_prefix}nm"
   5643   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5644     lt_nm_to_check="$lt_nm_to_check nm"
   5645   fi
   5646   for lt_tmp_nm in $lt_nm_to_check; do
   5647     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5648     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5649       IFS="$lt_save_ifs"
   5650       test -z "$ac_dir" && ac_dir=.
   5651       tmp_nm="$ac_dir/$lt_tmp_nm"
   5652       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5653 	# Check to see if the nm accepts a BSD-compat flag.
   5654 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5655 	#   nm: unknown option "B" ignored
   5656 	# Tru64's nm complains that /dev/null is an invalid object file
   5657 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5658 	*/dev/null* | *'Invalid file or object type'*)
   5659 	  lt_cv_path_NM="$tmp_nm -B"
   5660 	  break
   5661 	  ;;
   5662 	*)
   5663 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5664 	  */dev/null*)
   5665 	    lt_cv_path_NM="$tmp_nm -p"
   5666 	    break
   5667 	    ;;
   5668 	  *)
   5669 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5670 	    continue # so that we can try to find one that supports BSD flags
   5671 	    ;;
   5672 	  esac
   5673 	  ;;
   5674 	esac
   5675       fi
   5676     done
   5677     IFS="$lt_save_ifs"
   5678   done
   5679   : ${lt_cv_path_NM=no}
   5680 fi
   5681 fi
   5682 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5683 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   5684 if test "$lt_cv_path_NM" != "no"; then
   5685   NM="$lt_cv_path_NM"
   5686 else
   5687   # Didn't find any BSD compatible name lister, look for dumpbin.
   5688   if test -n "$ac_tool_prefix"; then
   5689   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5690   do
   5691     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5695 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5696   echo $ECHO_N "(cached) $ECHO_C" >&6
   5697 else
   5698   if test -n "$DUMPBIN"; then
   5699   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5700 else
   5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5702 for as_dir in $PATH
   5703 do
   5704   IFS=$as_save_IFS
   5705   test -z "$as_dir" && as_dir=.
   5706   for ac_exec_ext in '' $ac_executable_extensions; do
   5707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5708     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5710     break 2
   5711   fi
   5712 done
   5713 done
   5714 IFS=$as_save_IFS
   5715 
   5716 fi
   5717 fi
   5718 DUMPBIN=$ac_cv_prog_DUMPBIN
   5719 if test -n "$DUMPBIN"; then
   5720   { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5721 echo "${ECHO_T}$DUMPBIN" >&6; }
   5722 else
   5723   { echo "$as_me:$LINENO: result: no" >&5
   5724 echo "${ECHO_T}no" >&6; }
   5725 fi
   5726 
   5727 
   5728     test -n "$DUMPBIN" && break
   5729   done
   5730 fi
   5731 if test -z "$DUMPBIN"; then
   5732   ac_ct_DUMPBIN=$DUMPBIN
   5733   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5734 do
   5735   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5736 set dummy $ac_prog; ac_word=$2
   5737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5739 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5740   echo $ECHO_N "(cached) $ECHO_C" >&6
   5741 else
   5742   if test -n "$ac_ct_DUMPBIN"; then
   5743   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5744 else
   5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5746 for as_dir in $PATH
   5747 do
   5748   IFS=$as_save_IFS
   5749   test -z "$as_dir" && as_dir=.
   5750   for ac_exec_ext in '' $ac_executable_extensions; do
   5751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5752     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5753     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5754     break 2
   5755   fi
   5756 done
   5757 done
   5758 IFS=$as_save_IFS
   5759 
   5760 fi
   5761 fi
   5762 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5763 if test -n "$ac_ct_DUMPBIN"; then
   5764   { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5765 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
   5766 else
   5767   { echo "$as_me:$LINENO: result: no" >&5
   5768 echo "${ECHO_T}no" >&6; }
   5769 fi
   5770 
   5771 
   5772   test -n "$ac_ct_DUMPBIN" && break
   5773 done
   5774 
   5775   if test "x$ac_ct_DUMPBIN" = x; then
   5776     DUMPBIN=":"
   5777   else
   5778     case $cross_compiling:$ac_tool_warned in
   5779 yes:)
   5780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5781 whose name does not start with the host triplet.  If you think this
   5782 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5784 whose name does not start with the host triplet.  If you think this
   5785 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5786 ac_tool_warned=yes ;;
   5787 esac
   5788     DUMPBIN=$ac_ct_DUMPBIN
   5789   fi
   5790 fi
   5791 
   5792 
   5793   if test "$DUMPBIN" != ":"; then
   5794     NM="$DUMPBIN"
   5795   fi
   5796 fi
   5797 test -z "$NM" && NM=nm
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5805 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
   5806 if test "${lt_cv_nm_interface+set}" = set; then
   5807   echo $ECHO_N "(cached) $ECHO_C" >&6
   5808 else
   5809   lt_cv_nm_interface="BSD nm"
   5810   echo "int some_variable = 0;" > conftest.$ac_ext
   5811   (eval echo "\"\$as_me:5811: $ac_compile\"" >&5)
   5812   (eval "$ac_compile" 2>conftest.err)
   5813   cat conftest.err >&5
   5814   (eval echo "\"\$as_me:5814: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5815   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5816   cat conftest.err >&5
   5817   (eval echo "\"\$as_me:5817: output\"" >&5)
   5818   cat conftest.out >&5
   5819   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5820     lt_cv_nm_interface="MS dumpbin"
   5821   fi
   5822   rm -f conftest*
   5823 fi
   5824 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5825 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
   5826 
   5827 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5828 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   5829 LN_S=$as_ln_s
   5830 if test "$LN_S" = "ln -s"; then
   5831   { echo "$as_me:$LINENO: result: yes" >&5
   5832 echo "${ECHO_T}yes" >&6; }
   5833 else
   5834   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5835 echo "${ECHO_T}no, using $LN_S" >&6; }
   5836 fi
   5837 
   5838 # find the maximum length of command line arguments
   5839 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5840 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   5841 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5842   echo $ECHO_N "(cached) $ECHO_C" >&6
   5843 else
   5844     i=0
   5845   teststring="ABCD"
   5846 
   5847   case $build_os in
   5848   msdosdjgpp*)
   5849     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5850     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5851     # during glob expansion).  Even if it were fixed, the result of this
   5852     # check would be larger than it should be.
   5853     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5854     ;;
   5855 
   5856   gnu*)
   5857     # Under GNU Hurd, this test is not required because there is
   5858     # no limit to the length of command line arguments.
   5859     # Libtool will interpret -1 as no limit whatsoever
   5860     lt_cv_sys_max_cmd_len=-1;
   5861     ;;
   5862 
   5863   cygwin* | mingw*)
   5864     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5865     # about 5 minutes as the teststring grows exponentially.
   5866     # Worse, since 9x/ME are not pre-emptively multitasking,
   5867     # you end up with a "frozen" computer, even though with patience
   5868     # the test eventually succeeds (with a max line length of 256k).
   5869     # Instead, let's just punt: use the minimum linelength reported by
   5870     # all of the supported platforms: 8192 (on NT/2K/XP).
   5871     lt_cv_sys_max_cmd_len=8192;
   5872     ;;
   5873 
   5874   amigaos*)
   5875     # On AmigaOS with pdksh, this test takes hours, literally.
   5876     # So we just punt and use a minimum line length of 8192.
   5877     lt_cv_sys_max_cmd_len=8192;
   5878     ;;
   5879 
   5880   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5881     # This has been around since 386BSD, at least.  Likely further.
   5882     if test -x /sbin/sysctl; then
   5883       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5884     elif test -x /usr/sbin/sysctl; then
   5885       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5886     else
   5887       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5888     fi
   5889     # And add a safety zone
   5890     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5891     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5892     ;;
   5893 
   5894   interix*)
   5895     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5896     lt_cv_sys_max_cmd_len=196608
   5897     ;;
   5898 
   5899   osf*)
   5900     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5901     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5902     # nice to cause kernel panics so lets avoid the loop below.
   5903     # First set a reasonable default.
   5904     lt_cv_sys_max_cmd_len=16384
   5905     #
   5906     if test -x /sbin/sysconfig; then
   5907       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5908         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5909       esac
   5910     fi
   5911     ;;
   5912   sco3.2v5*)
   5913     lt_cv_sys_max_cmd_len=102400
   5914     ;;
   5915   sysv5* | sco5v6* | sysv4.2uw2*)
   5916     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5917     if test -n "$kargmax"; then
   5918       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5919     else
   5920       lt_cv_sys_max_cmd_len=32768
   5921     fi
   5922     ;;
   5923   *)
   5924     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5925     if test -n "$lt_cv_sys_max_cmd_len"; then
   5926       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5927       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5928     else
   5929       # Make teststring a little bigger before we do anything with it.
   5930       # a 1K string should be a reasonable start.
   5931       for i in 1 2 3 4 5 6 7 8 ; do
   5932         teststring=$teststring$teststring
   5933       done
   5934       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5935       # If test is not a shell built-in, we'll probably end up computing a
   5936       # maximum length that is only half of the actual maximum length, but
   5937       # we can't tell.
   5938       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5939 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5940 	      test $i != 17 # 1/2 MB should be enough
   5941       do
   5942         i=`expr $i + 1`
   5943         teststring=$teststring$teststring
   5944       done
   5945       # Only check the string length outside the loop.
   5946       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5947       teststring=
   5948       # Add a significant safety factor because C++ compilers can tack on
   5949       # massive amounts of additional arguments before passing them to the
   5950       # linker.  It appears as though 1/2 is a usable value.
   5951       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5952     fi
   5953     ;;
   5954   esac
   5955 
   5956 fi
   5957 
   5958 if test -n $lt_cv_sys_max_cmd_len ; then
   5959   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5960 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   5961 else
   5962   { echo "$as_me:$LINENO: result: none" >&5
   5963 echo "${ECHO_T}none" >&6; }
   5964 fi
   5965 max_cmd_len=$lt_cv_sys_max_cmd_len
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 : ${CP="cp -f"}
   5973 : ${MV="mv -f"}
   5974 : ${RM="rm -f"}
   5975 
   5976 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5977 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
   5978 # Try some XSI features
   5979 xsi_shell=no
   5980 ( _lt_dummy="a/b/c"
   5981   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5982       = c,a/b,, \
   5983     && eval 'test $(( 1 + 1 )) -eq 2 \
   5984     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5985   && xsi_shell=yes
   5986 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5987 echo "${ECHO_T}$xsi_shell" >&6; }
   5988 
   5989 
   5990 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5991 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
   5992 lt_shell_append=no
   5993 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5994     >/dev/null 2>&1 \
   5995   && lt_shell_append=yes
   5996 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5997 echo "${ECHO_T}$lt_shell_append" >&6; }
   5998 
   5999 
   6000 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6001   lt_unset=unset
   6002 else
   6003   lt_unset=false
   6004 fi
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 # test EBCDIC or ASCII
   6011 case `echo X|tr X '\101'` in
   6012  A) # ASCII based system
   6013     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6014   lt_SP2NL='tr \040 \012'
   6015   lt_NL2SP='tr \015\012 \040\040'
   6016   ;;
   6017  *) # EBCDIC based system
   6018   lt_SP2NL='tr \100 \n'
   6019   lt_NL2SP='tr \r\n \100\100'
   6020   ;;
   6021 esac
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   6032 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   6033 if test "${lt_cv_ld_reload_flag+set}" = set; then
   6034   echo $ECHO_N "(cached) $ECHO_C" >&6
   6035 else
   6036   lt_cv_ld_reload_flag='-r'
   6037 fi
   6038 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   6039 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   6040 reload_flag=$lt_cv_ld_reload_flag
   6041 case $reload_flag in
   6042 "" | " "*) ;;
   6043 *) reload_flag=" $reload_flag" ;;
   6044 esac
   6045 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6046 case $host_os in
   6047   darwin*)
   6048     if test "$GCC" = yes; then
   6049       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6050     else
   6051       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6052     fi
   6053     ;;
   6054 esac
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   6066 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   6067 if test "${lt_cv_deplibs_check_method+set}" = set; then
   6068   echo $ECHO_N "(cached) $ECHO_C" >&6
   6069 else
   6070   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6071 lt_cv_file_magic_test_file=
   6072 lt_cv_deplibs_check_method='unknown'
   6073 # Need to set the preceding variable on all platforms that support
   6074 # interlibrary dependencies.
   6075 # 'none' -- dependencies not supported.
   6076 # `unknown' -- same as none, but documents that we really don't know.
   6077 # 'pass_all' -- all dependencies passed with no checks.
   6078 # 'test_compile' -- check by making test program.
   6079 # 'file_magic [[regex]]' -- check by looking for files in library path
   6080 # which responds to the $file_magic_cmd with a given extended regex.
   6081 # If you have `file' or equivalent on your system and you're not sure
   6082 # whether `pass_all' will *always* work, you probably want this one.
   6083 
   6084 case $host_os in
   6085 aix[4-9]*)
   6086   lt_cv_deplibs_check_method=pass_all
   6087   ;;
   6088 
   6089 beos*)
   6090   lt_cv_deplibs_check_method=pass_all
   6091   ;;
   6092 
   6093 bsdi[45]*)
   6094   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6095   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6096   lt_cv_file_magic_test_file=/shlib/libc.so
   6097   ;;
   6098 
   6099 cygwin*)
   6100   # func_win32_libid is a shell function defined in ltmain.sh
   6101   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6102   lt_cv_file_magic_cmd='func_win32_libid'
   6103   ;;
   6104 
   6105 mingw* | pw32*)
   6106   # Base MSYS/MinGW do not provide the 'file' command needed by
   6107   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6108   # unless we find 'file', for example because we are cross-compiling.
   6109   if ( file / ) >/dev/null 2>&1; then
   6110     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6111     lt_cv_file_magic_cmd='func_win32_libid'
   6112   else
   6113     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6114     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6115   fi
   6116   ;;
   6117 
   6118 darwin* | rhapsody*)
   6119   lt_cv_deplibs_check_method=pass_all
   6120   ;;
   6121 
   6122 freebsd* | dragonfly*)
   6123   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6124     case $host_cpu in
   6125     i*86 )
   6126       # Not sure whether the presence of OpenBSD here was a mistake.
   6127       # Let's accept both of them until this is cleared up.
   6128       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6129       lt_cv_file_magic_cmd=/usr/bin/file
   6130       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6131       ;;
   6132     esac
   6133   else
   6134     lt_cv_deplibs_check_method=pass_all
   6135   fi
   6136   ;;
   6137 
   6138 gnu*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 hpux10.20* | hpux11*)
   6143   lt_cv_file_magic_cmd=/usr/bin/file
   6144   case $host_cpu in
   6145   ia64*)
   6146     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6147     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6148     ;;
   6149   hppa*64*)
   6150     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]'
   6151     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6152     ;;
   6153   *)
   6154     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6155     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6156     ;;
   6157   esac
   6158   ;;
   6159 
   6160 interix[3-9]*)
   6161   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6162   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6163   ;;
   6164 
   6165 irix5* | irix6* | nonstopux*)
   6166   case $LD in
   6167   *-32|*"-32 ") libmagic=32-bit;;
   6168   *-n32|*"-n32 ") libmagic=N32;;
   6169   *-64|*"-64 ") libmagic=64-bit;;
   6170   *) libmagic=never-match;;
   6171   esac
   6172   lt_cv_deplibs_check_method=pass_all
   6173   ;;
   6174 
   6175 # This must be Linux ELF.
   6176 linux* | k*bsd*-gnu)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 
   6180 netbsd* | netbsdelf*-gnu)
   6181   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6182     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6183   else
   6184     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6185   fi
   6186   ;;
   6187 
   6188 newos6*)
   6189   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6190   lt_cv_file_magic_cmd=/usr/bin/file
   6191   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6192   ;;
   6193 
   6194 *nto* | *qnx*)
   6195   lt_cv_deplibs_check_method=pass_all
   6196   ;;
   6197 
   6198 openbsd*)
   6199   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6200     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6201   else
   6202     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6203   fi
   6204   ;;
   6205 
   6206 osf3* | osf4* | osf5*)
   6207   lt_cv_deplibs_check_method=pass_all
   6208   ;;
   6209 
   6210 rdos*)
   6211   lt_cv_deplibs_check_method=pass_all
   6212   ;;
   6213 
   6214 solaris*)
   6215   lt_cv_deplibs_check_method=pass_all
   6216   ;;
   6217 
   6218 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6219   lt_cv_deplibs_check_method=pass_all
   6220   ;;
   6221 
   6222 sysv4 | sysv4.3*)
   6223   case $host_vendor in
   6224   motorola)
   6225     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]'
   6226     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6227     ;;
   6228   ncr)
   6229     lt_cv_deplibs_check_method=pass_all
   6230     ;;
   6231   sequent)
   6232     lt_cv_file_magic_cmd='/bin/file'
   6233     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6234     ;;
   6235   sni)
   6236     lt_cv_file_magic_cmd='/bin/file'
   6237     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6238     lt_cv_file_magic_test_file=/lib/libc.so
   6239     ;;
   6240   siemens)
   6241     lt_cv_deplibs_check_method=pass_all
   6242     ;;
   6243   pc)
   6244     lt_cv_deplibs_check_method=pass_all
   6245     ;;
   6246   esac
   6247   ;;
   6248 
   6249 tpf*)
   6250   lt_cv_deplibs_check_method=pass_all
   6251   ;;
   6252 esac
   6253 
   6254 fi
   6255 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   6256 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   6257 file_magic_cmd=$lt_cv_file_magic_cmd
   6258 deplibs_check_method=$lt_cv_deplibs_check_method
   6259 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 if test -n "$ac_tool_prefix"; then
   6273   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6274 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6277 if test "${ac_cv_prog_AR+set}" = set; then
   6278   echo $ECHO_N "(cached) $ECHO_C" >&6
   6279 else
   6280   if test -n "$AR"; then
   6281   ac_cv_prog_AR="$AR" # Let the user override the test.
   6282 else
   6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6284 for as_dir in $PATH
   6285 do
   6286   IFS=$as_save_IFS
   6287   test -z "$as_dir" && as_dir=.
   6288   for ac_exec_ext in '' $ac_executable_extensions; do
   6289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6290     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6292     break 2
   6293   fi
   6294 done
   6295 done
   6296 IFS=$as_save_IFS
   6297 
   6298 fi
   6299 fi
   6300 AR=$ac_cv_prog_AR
   6301 if test -n "$AR"; then
   6302   { echo "$as_me:$LINENO: result: $AR" >&5
   6303 echo "${ECHO_T}$AR" >&6; }
   6304 else
   6305   { echo "$as_me:$LINENO: result: no" >&5
   6306 echo "${ECHO_T}no" >&6; }
   6307 fi
   6308 
   6309 
   6310 fi
   6311 if test -z "$ac_cv_prog_AR"; then
   6312   ac_ct_AR=$AR
   6313   # Extract the first word of "ar", so it can be a program name with args.
   6314 set dummy ar; ac_word=$2
   6315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6317 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6318   echo $ECHO_N "(cached) $ECHO_C" >&6
   6319 else
   6320   if test -n "$ac_ct_AR"; then
   6321   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6322 else
   6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6324 for as_dir in $PATH
   6325 do
   6326   IFS=$as_save_IFS
   6327   test -z "$as_dir" && as_dir=.
   6328   for ac_exec_ext in '' $ac_executable_extensions; do
   6329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6330     ac_cv_prog_ac_ct_AR="ar"
   6331     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6332     break 2
   6333   fi
   6334 done
   6335 done
   6336 IFS=$as_save_IFS
   6337 
   6338 fi
   6339 fi
   6340 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6341 if test -n "$ac_ct_AR"; then
   6342   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6343 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6344 else
   6345   { echo "$as_me:$LINENO: result: no" >&5
   6346 echo "${ECHO_T}no" >&6; }
   6347 fi
   6348 
   6349   if test "x$ac_ct_AR" = x; then
   6350     AR="false"
   6351   else
   6352     case $cross_compiling:$ac_tool_warned in
   6353 yes:)
   6354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6355 whose name does not start with the host triplet.  If you think this
   6356 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6358 whose name does not start with the host triplet.  If you think this
   6359 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6360 ac_tool_warned=yes ;;
   6361 esac
   6362     AR=$ac_ct_AR
   6363   fi
   6364 else
   6365   AR="$ac_cv_prog_AR"
   6366 fi
   6367 
   6368 test -z "$AR" && AR=ar
   6369 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 if test -n "$ac_tool_prefix"; then
   6382   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6383 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6386 if test "${ac_cv_prog_STRIP+set}" = set; then
   6387   echo $ECHO_N "(cached) $ECHO_C" >&6
   6388 else
   6389   if test -n "$STRIP"; then
   6390   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6391 else
   6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6393 for as_dir in $PATH
   6394 do
   6395   IFS=$as_save_IFS
   6396   test -z "$as_dir" && as_dir=.
   6397   for ac_exec_ext in '' $ac_executable_extensions; do
   6398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6399     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6400     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6401     break 2
   6402   fi
   6403 done
   6404 done
   6405 IFS=$as_save_IFS
   6406 
   6407 fi
   6408 fi
   6409 STRIP=$ac_cv_prog_STRIP
   6410 if test -n "$STRIP"; then
   6411   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6412 echo "${ECHO_T}$STRIP" >&6; }
   6413 else
   6414   { echo "$as_me:$LINENO: result: no" >&5
   6415 echo "${ECHO_T}no" >&6; }
   6416 fi
   6417 
   6418 
   6419 fi
   6420 if test -z "$ac_cv_prog_STRIP"; then
   6421   ac_ct_STRIP=$STRIP
   6422   # Extract the first word of "strip", so it can be a program name with args.
   6423 set dummy strip; ac_word=$2
   6424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6426 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6427   echo $ECHO_N "(cached) $ECHO_C" >&6
   6428 else
   6429   if test -n "$ac_ct_STRIP"; then
   6430   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6431 else
   6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6433 for as_dir in $PATH
   6434 do
   6435   IFS=$as_save_IFS
   6436   test -z "$as_dir" && as_dir=.
   6437   for ac_exec_ext in '' $ac_executable_extensions; do
   6438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6439     ac_cv_prog_ac_ct_STRIP="strip"
   6440     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6441     break 2
   6442   fi
   6443 done
   6444 done
   6445 IFS=$as_save_IFS
   6446 
   6447 fi
   6448 fi
   6449 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6450 if test -n "$ac_ct_STRIP"; then
   6451   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6452 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6453 else
   6454   { echo "$as_me:$LINENO: result: no" >&5
   6455 echo "${ECHO_T}no" >&6; }
   6456 fi
   6457 
   6458   if test "x$ac_ct_STRIP" = x; then
   6459     STRIP=":"
   6460   else
   6461     case $cross_compiling:$ac_tool_warned in
   6462 yes:)
   6463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6464 whose name does not start with the host triplet.  If you think this
   6465 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6467 whose name does not start with the host triplet.  If you think this
   6468 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6469 ac_tool_warned=yes ;;
   6470 esac
   6471     STRIP=$ac_ct_STRIP
   6472   fi
   6473 else
   6474   STRIP="$ac_cv_prog_STRIP"
   6475 fi
   6476 
   6477 test -z "$STRIP" && STRIP=:
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 if test -n "$ac_tool_prefix"; then
   6485   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6486 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6489 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6490   echo $ECHO_N "(cached) $ECHO_C" >&6
   6491 else
   6492   if test -n "$RANLIB"; then
   6493   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6494 else
   6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6496 for as_dir in $PATH
   6497 do
   6498   IFS=$as_save_IFS
   6499   test -z "$as_dir" && as_dir=.
   6500   for ac_exec_ext in '' $ac_executable_extensions; do
   6501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6502     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6503     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6504     break 2
   6505   fi
   6506 done
   6507 done
   6508 IFS=$as_save_IFS
   6509 
   6510 fi
   6511 fi
   6512 RANLIB=$ac_cv_prog_RANLIB
   6513 if test -n "$RANLIB"; then
   6514   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6515 echo "${ECHO_T}$RANLIB" >&6; }
   6516 else
   6517   { echo "$as_me:$LINENO: result: no" >&5
   6518 echo "${ECHO_T}no" >&6; }
   6519 fi
   6520 
   6521 
   6522 fi
   6523 if test -z "$ac_cv_prog_RANLIB"; then
   6524   ac_ct_RANLIB=$RANLIB
   6525   # Extract the first word of "ranlib", so it can be a program name with args.
   6526 set dummy ranlib; ac_word=$2
   6527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6529 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6530   echo $ECHO_N "(cached) $ECHO_C" >&6
   6531 else
   6532   if test -n "$ac_ct_RANLIB"; then
   6533   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6534 else
   6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6536 for as_dir in $PATH
   6537 do
   6538   IFS=$as_save_IFS
   6539   test -z "$as_dir" && as_dir=.
   6540   for ac_exec_ext in '' $ac_executable_extensions; do
   6541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6542     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6544     break 2
   6545   fi
   6546 done
   6547 done
   6548 IFS=$as_save_IFS
   6549 
   6550 fi
   6551 fi
   6552 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6553 if test -n "$ac_ct_RANLIB"; then
   6554   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6555 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6556 else
   6557   { echo "$as_me:$LINENO: result: no" >&5
   6558 echo "${ECHO_T}no" >&6; }
   6559 fi
   6560 
   6561   if test "x$ac_ct_RANLIB" = x; then
   6562     RANLIB=":"
   6563   else
   6564     case $cross_compiling:$ac_tool_warned in
   6565 yes:)
   6566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6567 whose name does not start with the host triplet.  If you think this
   6568 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6570 whose name does not start with the host triplet.  If you think this
   6571 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6572 ac_tool_warned=yes ;;
   6573 esac
   6574     RANLIB=$ac_ct_RANLIB
   6575   fi
   6576 else
   6577   RANLIB="$ac_cv_prog_RANLIB"
   6578 fi
   6579 
   6580 test -z "$RANLIB" && RANLIB=:
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 # Determine commands to create old-style static archives.
   6588 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6589 old_postinstall_cmds='chmod 644 $oldlib'
   6590 old_postuninstall_cmds=
   6591 
   6592 if test -n "$RANLIB"; then
   6593   case $host_os in
   6594   openbsd*)
   6595     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6596     ;;
   6597   *)
   6598     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6599     ;;
   6600   esac
   6601   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6602 fi
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 # If no C compiler was specified, use CC.
   6638 LTCC=${LTCC-"$CC"}
   6639 
   6640 # If no C compiler flags were specified, use CFLAGS.
   6641 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6642 
   6643 # Allow CC to be a program name with arguments.
   6644 compiler=$CC
   6645 
   6646 
   6647 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6648 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6649 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6650 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6651   echo $ECHO_N "(cached) $ECHO_C" >&6
   6652 else
   6653 
   6654 # These are sane defaults that work on at least a few old systems.
   6655 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6656 
   6657 # Character class describing NM global symbol codes.
   6658 symcode='[BCDEGRST]'
   6659 
   6660 # Regexp to match symbols that can be accessed directly from C.
   6661 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6662 
   6663 # Define system-specific variables.
   6664 case $host_os in
   6665 aix*)
   6666   symcode='[BCDT]'
   6667   ;;
   6668 cygwin* | mingw* | pw32*)
   6669   symcode='[ABCDGISTW]'
   6670   ;;
   6671 hpux*)
   6672   if test "$host_cpu" = ia64; then
   6673     symcode='[ABCDEGRST]'
   6674   fi
   6675   ;;
   6676 irix* | nonstopux*)
   6677   symcode='[BCDEGRST]'
   6678   ;;
   6679 osf*)
   6680   symcode='[BCDEGQRST]'
   6681   ;;
   6682 solaris*)
   6683   symcode='[BDRT]'
   6684   ;;
   6685 sco3.2v5*)
   6686   symcode='[DT]'
   6687   ;;
   6688 sysv4.2uw2*)
   6689   symcode='[DT]'
   6690   ;;
   6691 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6692   symcode='[ABDT]'
   6693   ;;
   6694 sysv4)
   6695   symcode='[DFNSTU]'
   6696   ;;
   6697 esac
   6698 
   6699 # If we're using GNU nm, then use its standard symbol codes.
   6700 case `$NM -V 2>&1` in
   6701 *GNU* | *'with BFD'*)
   6702   symcode='[ABCDGIRSTW]' ;;
   6703 esac
   6704 
   6705 # Transform an extracted symbol line into a proper C declaration.
   6706 # Some systems (esp. on ia64) link data and code symbols differently,
   6707 # so use this general approach.
   6708 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6709 
   6710 # Transform an extracted symbol line into symbol name and symbol address
   6711 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6712 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6713 
   6714 # Handle CRLF in mingw tool chain
   6715 opt_cr=
   6716 case $build_os in
   6717 mingw*)
   6718   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6719   ;;
   6720 esac
   6721 
   6722 # Try without a prefix underscore, then with it.
   6723 for ac_symprfx in "" "_"; do
   6724 
   6725   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6726   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6727 
   6728   # Write the raw and C identifiers.
   6729   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6730     # Fake it for dumpbin and say T for any non-static function
   6731     # and D for any global variable.
   6732     # Also find C++ and __fastcall symbols from MSVC++,
   6733     # which start with @ or ?.
   6734     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6735 "     {last_section=section; section=\$ 3};"\
   6736 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6737 "     \$ 0!~/External *\|/{next};"\
   6738 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6739 "     {if(hide[section]) next};"\
   6740 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6741 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6742 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6743 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6744 "     ' prfx=^$ac_symprfx"
   6745   else
   6746     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6747   fi
   6748 
   6749   # Check to see that the pipe works correctly.
   6750   pipe_works=no
   6751 
   6752   rm -f conftest*
   6753   cat > conftest.$ac_ext <<_LT_EOF
   6754 #ifdef __cplusplus
   6755 extern "C" {
   6756 #endif
   6757 char nm_test_var;
   6758 void nm_test_func(void);
   6759 void nm_test_func(void){}
   6760 #ifdef __cplusplus
   6761 }
   6762 #endif
   6763 int main(){nm_test_var='a';nm_test_func();return(0);}
   6764 _LT_EOF
   6765 
   6766   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6767   (eval $ac_compile) 2>&5
   6768   ac_status=$?
   6769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6770   (exit $ac_status); }; then
   6771     # Now try to grab the symbols.
   6772     nlist=conftest.nm
   6773     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6774   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6775   ac_status=$?
   6776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6777   (exit $ac_status); } && test -s "$nlist"; then
   6778       # Try sorting and uniquifying the output.
   6779       if sort "$nlist" | uniq > "$nlist"T; then
   6780 	mv -f "$nlist"T "$nlist"
   6781       else
   6782 	rm -f "$nlist"T
   6783       fi
   6784 
   6785       # Make sure that we snagged all the symbols we need.
   6786       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6787 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6788 	  cat <<_LT_EOF > conftest.$ac_ext
   6789 #ifdef __cplusplus
   6790 extern "C" {
   6791 #endif
   6792 
   6793 _LT_EOF
   6794 	  # Now generate the symbol file.
   6795 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6796 
   6797 	  cat <<_LT_EOF >> conftest.$ac_ext
   6798 
   6799 /* The mapping between symbol names and symbols.  */
   6800 const struct {
   6801   const char *name;
   6802   void       *address;
   6803 }
   6804 lt__PROGRAM__LTX_preloaded_symbols[] =
   6805 {
   6806   { "@PROGRAM@", (void *) 0 },
   6807 _LT_EOF
   6808 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6809 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6810   {0, (void *) 0}
   6811 };
   6812 
   6813 /* This works around a problem in FreeBSD linker */
   6814 #ifdef FREEBSD_WORKAROUND
   6815 static const void *lt_preloaded_setup() {
   6816   return lt__PROGRAM__LTX_preloaded_symbols;
   6817 }
   6818 #endif
   6819 
   6820 #ifdef __cplusplus
   6821 }
   6822 #endif
   6823 _LT_EOF
   6824 	  # Now try linking the two files.
   6825 	  mv conftest.$ac_objext conftstm.$ac_objext
   6826 	  lt_save_LIBS="$LIBS"
   6827 	  lt_save_CFLAGS="$CFLAGS"
   6828 	  LIBS="conftstm.$ac_objext"
   6829 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6830 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6831   (eval $ac_link) 2>&5
   6832   ac_status=$?
   6833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6834   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6835 	    pipe_works=yes
   6836 	  fi
   6837 	  LIBS="$lt_save_LIBS"
   6838 	  CFLAGS="$lt_save_CFLAGS"
   6839 	else
   6840 	  echo "cannot find nm_test_func in $nlist" >&5
   6841 	fi
   6842       else
   6843 	echo "cannot find nm_test_var in $nlist" >&5
   6844       fi
   6845     else
   6846       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6847     fi
   6848   else
   6849     echo "$progname: failed program was:" >&5
   6850     cat conftest.$ac_ext >&5
   6851   fi
   6852   rm -rf conftest* conftst*
   6853 
   6854   # Do not use the global_symbol_pipe unless it works.
   6855   if test "$pipe_works" = yes; then
   6856     break
   6857   else
   6858     lt_cv_sys_global_symbol_pipe=
   6859   fi
   6860 done
   6861 
   6862 fi
   6863 
   6864 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6865   lt_cv_sys_global_symbol_to_cdecl=
   6866 fi
   6867 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6868   { echo "$as_me:$LINENO: result: failed" >&5
   6869 echo "${ECHO_T}failed" >&6; }
   6870 else
   6871   { echo "$as_me:$LINENO: result: ok" >&5
   6872 echo "${ECHO_T}ok" >&6; }
   6873 fi
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 # Check whether --enable-libtool-lock was given.
   6897 if test "${enable_libtool_lock+set}" = set; then
   6898   enableval=$enable_libtool_lock;
   6899 fi
   6900 
   6901 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6902 
   6903 # Some flags need to be propagated to the compiler or linker for good
   6904 # libtool support.
   6905 case $host in
   6906 ia64-*-hpux*)
   6907   # Find out which ABI we are using.
   6908   echo 'int i;' > conftest.$ac_ext
   6909   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6910   (eval $ac_compile) 2>&5
   6911   ac_status=$?
   6912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6913   (exit $ac_status); }; then
   6914     case `/usr/bin/file conftest.$ac_objext` in
   6915       *ELF-32*)
   6916 	HPUX_IA64_MODE="32"
   6917 	;;
   6918       *ELF-64*)
   6919 	HPUX_IA64_MODE="64"
   6920 	;;
   6921     esac
   6922   fi
   6923   rm -rf conftest*
   6924   ;;
   6925 *-*-irix6*)
   6926   # Find out which ABI we are using.
   6927   echo '#line 6927 "configure"' > conftest.$ac_ext
   6928   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6929   (eval $ac_compile) 2>&5
   6930   ac_status=$?
   6931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6932   (exit $ac_status); }; then
   6933     if test "$lt_cv_prog_gnu_ld" = yes; then
   6934       case `/usr/bin/file conftest.$ac_objext` in
   6935 	*32-bit*)
   6936 	  LD="${LD-ld} -melf32bsmip"
   6937 	  ;;
   6938 	*N32*)
   6939 	  LD="${LD-ld} -melf32bmipn32"
   6940 	  ;;
   6941 	*64-bit*)
   6942 	  LD="${LD-ld} -melf64bmip"
   6943 	;;
   6944       esac
   6945     else
   6946       case `/usr/bin/file conftest.$ac_objext` in
   6947 	*32-bit*)
   6948 	  LD="${LD-ld} -32"
   6949 	  ;;
   6950 	*N32*)
   6951 	  LD="${LD-ld} -n32"
   6952 	  ;;
   6953 	*64-bit*)
   6954 	  LD="${LD-ld} -64"
   6955 	  ;;
   6956       esac
   6957     fi
   6958   fi
   6959   rm -rf conftest*
   6960   ;;
   6961 
   6962 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6963 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6964   # Find out which ABI we are using.
   6965   echo 'int i;' > conftest.$ac_ext
   6966   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6967   (eval $ac_compile) 2>&5
   6968   ac_status=$?
   6969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6970   (exit $ac_status); }; then
   6971     case `/usr/bin/file conftest.o` in
   6972       *32-bit*)
   6973 	case $host in
   6974 	  x86_64-*kfreebsd*-gnu)
   6975 	    LD="${LD-ld} -m elf_i386_fbsd"
   6976 	    ;;
   6977 	  x86_64-*linux*)
   6978 	    LD="${LD-ld} -m elf_i386"
   6979 	    ;;
   6980 	  ppc64-*linux*|powerpc64-*linux*)
   6981 	    LD="${LD-ld} -m elf32ppclinux"
   6982 	    ;;
   6983 	  s390x-*linux*)
   6984 	    LD="${LD-ld} -m elf_s390"
   6985 	    ;;
   6986 	  sparc64-*linux*)
   6987 	    LD="${LD-ld} -m elf32_sparc"
   6988 	    ;;
   6989 	esac
   6990 	;;
   6991       *64-bit*)
   6992 	case $host in
   6993 	  x86_64-*kfreebsd*-gnu)
   6994 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6995 	    ;;
   6996 	  x86_64-*linux*)
   6997 	    LD="${LD-ld} -m elf_x86_64"
   6998 	    ;;
   6999 	  ppc*-*linux*|powerpc*-*linux*)
   7000 	    LD="${LD-ld} -m elf64ppc"
   7001 	    ;;
   7002 	  s390*-*linux*|s390*-*tpf*)
   7003 	    LD="${LD-ld} -m elf64_s390"
   7004 	    ;;
   7005 	  sparc*-*linux*)
   7006 	    LD="${LD-ld} -m elf64_sparc"
   7007 	    ;;
   7008 	esac
   7009 	;;
   7010     esac
   7011   fi
   7012   rm -rf conftest*
   7013   ;;
   7014 
   7015 *-*-sco3.2v5*)
   7016   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7017   SAVE_CFLAGS="$CFLAGS"
   7018   CFLAGS="$CFLAGS -belf"
   7019   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   7020 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   7021 if test "${lt_cv_cc_needs_belf+set}" = set; then
   7022   echo $ECHO_N "(cached) $ECHO_C" >&6
   7023 else
   7024   ac_ext=c
   7025 ac_cpp='$CPP $CPPFLAGS'
   7026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7029 
   7030      cat >conftest.$ac_ext <<_ACEOF
   7031 /* confdefs.h.  */
   7032 _ACEOF
   7033 cat confdefs.h >>conftest.$ac_ext
   7034 cat >>conftest.$ac_ext <<_ACEOF
   7035 /* end confdefs.h.  */
   7036 
   7037 int
   7038 main ()
   7039 {
   7040 
   7041   ;
   7042   return 0;
   7043 }
   7044 _ACEOF
   7045 rm -f conftest.$ac_objext conftest$ac_exeext
   7046 if { (ac_try="$ac_link"
   7047 case "(($ac_try" in
   7048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7049   *) ac_try_echo=$ac_try;;
   7050 esac
   7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7052   (eval "$ac_link") 2>conftest.er1
   7053   ac_status=$?
   7054   grep -v '^ *+' conftest.er1 >conftest.err
   7055   rm -f conftest.er1
   7056   cat conftest.err >&5
   7057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7058   (exit $ac_status); } && {
   7059 	 test -z "$ac_c_werror_flag" ||
   7060 	 test ! -s conftest.err
   7061        } && test -s conftest$ac_exeext &&
   7062        $as_test_x conftest$ac_exeext; then
   7063   lt_cv_cc_needs_belf=yes
   7064 else
   7065   echo "$as_me: failed program was:" >&5
   7066 sed 's/^/| /' conftest.$ac_ext >&5
   7067 
   7068 	lt_cv_cc_needs_belf=no
   7069 fi
   7070 
   7071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7072       conftest$ac_exeext conftest.$ac_ext
   7073      ac_ext=c
   7074 ac_cpp='$CPP $CPPFLAGS'
   7075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7078 
   7079 fi
   7080 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   7081 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   7082   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7083     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7084     CFLAGS="$SAVE_CFLAGS"
   7085   fi
   7086   ;;
   7087 sparc*-*solaris*)
   7088   # Find out which ABI we are using.
   7089   echo 'int i;' > conftest.$ac_ext
   7090   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7091   (eval $ac_compile) 2>&5
   7092   ac_status=$?
   7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7094   (exit $ac_status); }; then
   7095     case `/usr/bin/file conftest.o` in
   7096     *64-bit*)
   7097       case $lt_cv_prog_gnu_ld in
   7098       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7099       *)
   7100 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7101 	  LD="${LD-ld} -64"
   7102 	fi
   7103 	;;
   7104       esac
   7105       ;;
   7106     esac
   7107   fi
   7108   rm -rf conftest*
   7109   ;;
   7110 esac
   7111 
   7112 need_locks="$enable_libtool_lock"
   7113 
   7114 
   7115   case $host_os in
   7116     rhapsody* | darwin*)
   7117     if test -n "$ac_tool_prefix"; then
   7118   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7119 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7122 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7123   echo $ECHO_N "(cached) $ECHO_C" >&6
   7124 else
   7125   if test -n "$DSYMUTIL"; then
   7126   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7127 else
   7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7129 for as_dir in $PATH
   7130 do
   7131   IFS=$as_save_IFS
   7132   test -z "$as_dir" && as_dir=.
   7133   for ac_exec_ext in '' $ac_executable_extensions; do
   7134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7135     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7137     break 2
   7138   fi
   7139 done
   7140 done
   7141 IFS=$as_save_IFS
   7142 
   7143 fi
   7144 fi
   7145 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7146 if test -n "$DSYMUTIL"; then
   7147   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7148 echo "${ECHO_T}$DSYMUTIL" >&6; }
   7149 else
   7150   { echo "$as_me:$LINENO: result: no" >&5
   7151 echo "${ECHO_T}no" >&6; }
   7152 fi
   7153 
   7154 
   7155 fi
   7156 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7157   ac_ct_DSYMUTIL=$DSYMUTIL
   7158   # Extract the first word of "dsymutil", so it can be a program name with args.
   7159 set dummy dsymutil; ac_word=$2
   7160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7162 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7163   echo $ECHO_N "(cached) $ECHO_C" >&6
   7164 else
   7165   if test -n "$ac_ct_DSYMUTIL"; then
   7166   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7167 else
   7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7169 for as_dir in $PATH
   7170 do
   7171   IFS=$as_save_IFS
   7172   test -z "$as_dir" && as_dir=.
   7173   for ac_exec_ext in '' $ac_executable_extensions; do
   7174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7175     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7176     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7177     break 2
   7178   fi
   7179 done
   7180 done
   7181 IFS=$as_save_IFS
   7182 
   7183 fi
   7184 fi
   7185 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7186 if test -n "$ac_ct_DSYMUTIL"; then
   7187   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7188 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
   7189 else
   7190   { echo "$as_me:$LINENO: result: no" >&5
   7191 echo "${ECHO_T}no" >&6; }
   7192 fi
   7193 
   7194   if test "x$ac_ct_DSYMUTIL" = x; then
   7195     DSYMUTIL=":"
   7196   else
   7197     case $cross_compiling:$ac_tool_warned in
   7198 yes:)
   7199 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7200 whose name does not start with the host triplet.  If you think this
   7201 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7202 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7203 whose name does not start with the host triplet.  If you think this
   7204 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7205 ac_tool_warned=yes ;;
   7206 esac
   7207     DSYMUTIL=$ac_ct_DSYMUTIL
   7208   fi
   7209 else
   7210   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7211 fi
   7212 
   7213     if test -n "$ac_tool_prefix"; then
   7214   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7215 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7218 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7219   echo $ECHO_N "(cached) $ECHO_C" >&6
   7220 else
   7221   if test -n "$NMEDIT"; then
   7222   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7223 else
   7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7225 for as_dir in $PATH
   7226 do
   7227   IFS=$as_save_IFS
   7228   test -z "$as_dir" && as_dir=.
   7229   for ac_exec_ext in '' $ac_executable_extensions; do
   7230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7231     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7233     break 2
   7234   fi
   7235 done
   7236 done
   7237 IFS=$as_save_IFS
   7238 
   7239 fi
   7240 fi
   7241 NMEDIT=$ac_cv_prog_NMEDIT
   7242 if test -n "$NMEDIT"; then
   7243   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7244 echo "${ECHO_T}$NMEDIT" >&6; }
   7245 else
   7246   { echo "$as_me:$LINENO: result: no" >&5
   7247 echo "${ECHO_T}no" >&6; }
   7248 fi
   7249 
   7250 
   7251 fi
   7252 if test -z "$ac_cv_prog_NMEDIT"; then
   7253   ac_ct_NMEDIT=$NMEDIT
   7254   # Extract the first word of "nmedit", so it can be a program name with args.
   7255 set dummy nmedit; ac_word=$2
   7256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7258 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7259   echo $ECHO_N "(cached) $ECHO_C" >&6
   7260 else
   7261   if test -n "$ac_ct_NMEDIT"; then
   7262   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7263 else
   7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7265 for as_dir in $PATH
   7266 do
   7267   IFS=$as_save_IFS
   7268   test -z "$as_dir" && as_dir=.
   7269   for ac_exec_ext in '' $ac_executable_extensions; do
   7270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7271     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7273     break 2
   7274   fi
   7275 done
   7276 done
   7277 IFS=$as_save_IFS
   7278 
   7279 fi
   7280 fi
   7281 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7282 if test -n "$ac_ct_NMEDIT"; then
   7283   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7284 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
   7285 else
   7286   { echo "$as_me:$LINENO: result: no" >&5
   7287 echo "${ECHO_T}no" >&6; }
   7288 fi
   7289 
   7290   if test "x$ac_ct_NMEDIT" = x; then
   7291     NMEDIT=":"
   7292   else
   7293     case $cross_compiling:$ac_tool_warned in
   7294 yes:)
   7295 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7296 whose name does not start with the host triplet.  If you think this
   7297 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7298 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7299 whose name does not start with the host triplet.  If you think this
   7300 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7301 ac_tool_warned=yes ;;
   7302 esac
   7303     NMEDIT=$ac_ct_NMEDIT
   7304   fi
   7305 else
   7306   NMEDIT="$ac_cv_prog_NMEDIT"
   7307 fi
   7308 
   7309     if test -n "$ac_tool_prefix"; then
   7310   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7311 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7314 if test "${ac_cv_prog_LIPO+set}" = set; then
   7315   echo $ECHO_N "(cached) $ECHO_C" >&6
   7316 else
   7317   if test -n "$LIPO"; then
   7318   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7319 else
   7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7321 for as_dir in $PATH
   7322 do
   7323   IFS=$as_save_IFS
   7324   test -z "$as_dir" && as_dir=.
   7325   for ac_exec_ext in '' $ac_executable_extensions; do
   7326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7327     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7328     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7329     break 2
   7330   fi
   7331 done
   7332 done
   7333 IFS=$as_save_IFS
   7334 
   7335 fi
   7336 fi
   7337 LIPO=$ac_cv_prog_LIPO
   7338 if test -n "$LIPO"; then
   7339   { echo "$as_me:$LINENO: result: $LIPO" >&5
   7340 echo "${ECHO_T}$LIPO" >&6; }
   7341 else
   7342   { echo "$as_me:$LINENO: result: no" >&5
   7343 echo "${ECHO_T}no" >&6; }
   7344 fi
   7345 
   7346 
   7347 fi
   7348 if test -z "$ac_cv_prog_LIPO"; then
   7349   ac_ct_LIPO=$LIPO
   7350   # Extract the first word of "lipo", so it can be a program name with args.
   7351 set dummy lipo; ac_word=$2
   7352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7354 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   7355   echo $ECHO_N "(cached) $ECHO_C" >&6
   7356 else
   7357   if test -n "$ac_ct_LIPO"; then
   7358   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7359 else
   7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7361 for as_dir in $PATH
   7362 do
   7363   IFS=$as_save_IFS
   7364   test -z "$as_dir" && as_dir=.
   7365   for ac_exec_ext in '' $ac_executable_extensions; do
   7366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7367     ac_cv_prog_ac_ct_LIPO="lipo"
   7368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7369     break 2
   7370   fi
   7371 done
   7372 done
   7373 IFS=$as_save_IFS
   7374 
   7375 fi
   7376 fi
   7377 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7378 if test -n "$ac_ct_LIPO"; then
   7379   { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   7380 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
   7381 else
   7382   { echo "$as_me:$LINENO: result: no" >&5
   7383 echo "${ECHO_T}no" >&6; }
   7384 fi
   7385 
   7386   if test "x$ac_ct_LIPO" = x; then
   7387     LIPO=":"
   7388   else
   7389     case $cross_compiling:$ac_tool_warned in
   7390 yes:)
   7391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7392 whose name does not start with the host triplet.  If you think this
   7393 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7395 whose name does not start with the host triplet.  If you think this
   7396 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7397 ac_tool_warned=yes ;;
   7398 esac
   7399     LIPO=$ac_ct_LIPO
   7400   fi
   7401 else
   7402   LIPO="$ac_cv_prog_LIPO"
   7403 fi
   7404 
   7405     if test -n "$ac_tool_prefix"; then
   7406   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7407 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7410 if test "${ac_cv_prog_OTOOL+set}" = set; then
   7411   echo $ECHO_N "(cached) $ECHO_C" >&6
   7412 else
   7413   if test -n "$OTOOL"; then
   7414   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7415 else
   7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7417 for as_dir in $PATH
   7418 do
   7419   IFS=$as_save_IFS
   7420   test -z "$as_dir" && as_dir=.
   7421   for ac_exec_ext in '' $ac_executable_extensions; do
   7422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7423     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7424     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7425     break 2
   7426   fi
   7427 done
   7428 done
   7429 IFS=$as_save_IFS
   7430 
   7431 fi
   7432 fi
   7433 OTOOL=$ac_cv_prog_OTOOL
   7434 if test -n "$OTOOL"; then
   7435   { echo "$as_me:$LINENO: result: $OTOOL" >&5
   7436 echo "${ECHO_T}$OTOOL" >&6; }
   7437 else
   7438   { echo "$as_me:$LINENO: result: no" >&5
   7439 echo "${ECHO_T}no" >&6; }
   7440 fi
   7441 
   7442 
   7443 fi
   7444 if test -z "$ac_cv_prog_OTOOL"; then
   7445   ac_ct_OTOOL=$OTOOL
   7446   # Extract the first word of "otool", so it can be a program name with args.
   7447 set dummy otool; ac_word=$2
   7448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7450 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   7451   echo $ECHO_N "(cached) $ECHO_C" >&6
   7452 else
   7453   if test -n "$ac_ct_OTOOL"; then
   7454   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7455 else
   7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7457 for as_dir in $PATH
   7458 do
   7459   IFS=$as_save_IFS
   7460   test -z "$as_dir" && as_dir=.
   7461   for ac_exec_ext in '' $ac_executable_extensions; do
   7462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7463     ac_cv_prog_ac_ct_OTOOL="otool"
   7464     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7465     break 2
   7466   fi
   7467 done
   7468 done
   7469 IFS=$as_save_IFS
   7470 
   7471 fi
   7472 fi
   7473 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7474 if test -n "$ac_ct_OTOOL"; then
   7475   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   7476 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
   7477 else
   7478   { echo "$as_me:$LINENO: result: no" >&5
   7479 echo "${ECHO_T}no" >&6; }
   7480 fi
   7481 
   7482   if test "x$ac_ct_OTOOL" = x; then
   7483     OTOOL=":"
   7484   else
   7485     case $cross_compiling:$ac_tool_warned in
   7486 yes:)
   7487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7488 whose name does not start with the host triplet.  If you think this
   7489 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7491 whose name does not start with the host triplet.  If you think this
   7492 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7493 ac_tool_warned=yes ;;
   7494 esac
   7495     OTOOL=$ac_ct_OTOOL
   7496   fi
   7497 else
   7498   OTOOL="$ac_cv_prog_OTOOL"
   7499 fi
   7500 
   7501     if test -n "$ac_tool_prefix"; then
   7502   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7503 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7506 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   7507   echo $ECHO_N "(cached) $ECHO_C" >&6
   7508 else
   7509   if test -n "$OTOOL64"; then
   7510   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7511 else
   7512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7513 for as_dir in $PATH
   7514 do
   7515   IFS=$as_save_IFS
   7516   test -z "$as_dir" && as_dir=.
   7517   for ac_exec_ext in '' $ac_executable_extensions; do
   7518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7519     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7521     break 2
   7522   fi
   7523 done
   7524 done
   7525 IFS=$as_save_IFS
   7526 
   7527 fi
   7528 fi
   7529 OTOOL64=$ac_cv_prog_OTOOL64
   7530 if test -n "$OTOOL64"; then
   7531   { echo "$as_me:$LINENO: result: $OTOOL64" >&5
   7532 echo "${ECHO_T}$OTOOL64" >&6; }
   7533 else
   7534   { echo "$as_me:$LINENO: result: no" >&5
   7535 echo "${ECHO_T}no" >&6; }
   7536 fi
   7537 
   7538 
   7539 fi
   7540 if test -z "$ac_cv_prog_OTOOL64"; then
   7541   ac_ct_OTOOL64=$OTOOL64
   7542   # Extract the first word of "otool64", so it can be a program name with args.
   7543 set dummy otool64; ac_word=$2
   7544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7546 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   7547   echo $ECHO_N "(cached) $ECHO_C" >&6
   7548 else
   7549   if test -n "$ac_ct_OTOOL64"; then
   7550   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7551 else
   7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7553 for as_dir in $PATH
   7554 do
   7555   IFS=$as_save_IFS
   7556   test -z "$as_dir" && as_dir=.
   7557   for ac_exec_ext in '' $ac_executable_extensions; do
   7558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7559     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7561     break 2
   7562   fi
   7563 done
   7564 done
   7565 IFS=$as_save_IFS
   7566 
   7567 fi
   7568 fi
   7569 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7570 if test -n "$ac_ct_OTOOL64"; then
   7571   { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   7572 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
   7573 else
   7574   { echo "$as_me:$LINENO: result: no" >&5
   7575 echo "${ECHO_T}no" >&6; }
   7576 fi
   7577 
   7578   if test "x$ac_ct_OTOOL64" = x; then
   7579     OTOOL64=":"
   7580   else
   7581     case $cross_compiling:$ac_tool_warned in
   7582 yes:)
   7583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7584 whose name does not start with the host triplet.  If you think this
   7585 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7587 whose name does not start with the host triplet.  If you think this
   7588 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7589 ac_tool_warned=yes ;;
   7590 esac
   7591     OTOOL64=$ac_ct_OTOOL64
   7592   fi
   7593 else
   7594   OTOOL64="$ac_cv_prog_OTOOL64"
   7595 fi
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7624 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
   7625 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7626   echo $ECHO_N "(cached) $ECHO_C" >&6
   7627 else
   7628   lt_cv_apple_cc_single_mod=no
   7629       if test -z "${LT_MULTI_MODULE}"; then
   7630 	# By default we will add the -single_module flag. You can override
   7631 	# by either setting the environment variable LT_MULTI_MODULE
   7632 	# non-empty at configure time, or by adding -multi_module to the
   7633 	# link flags.
   7634 	rm -rf libconftest.dylib*
   7635 	echo "int foo(void){return 1;}" > conftest.c
   7636 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7637 -dynamiclib -Wl,-single_module conftest.c" >&5
   7638 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7639 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7640         _lt_result=$?
   7641 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7642 	  lt_cv_apple_cc_single_mod=yes
   7643 	else
   7644 	  cat conftest.err >&5
   7645 	fi
   7646 	rm -rf libconftest.dylib*
   7647 	rm -f conftest.*
   7648       fi
   7649 fi
   7650 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7651 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
   7652     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7653 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
   7654 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7655   echo $ECHO_N "(cached) $ECHO_C" >&6
   7656 else
   7657   lt_cv_ld_exported_symbols_list=no
   7658       save_LDFLAGS=$LDFLAGS
   7659       echo "_main" > conftest.sym
   7660       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7661       cat >conftest.$ac_ext <<_ACEOF
   7662 /* confdefs.h.  */
   7663 _ACEOF
   7664 cat confdefs.h >>conftest.$ac_ext
   7665 cat >>conftest.$ac_ext <<_ACEOF
   7666 /* end confdefs.h.  */
   7667 
   7668 int
   7669 main ()
   7670 {
   7671 
   7672   ;
   7673   return 0;
   7674 }
   7675 _ACEOF
   7676 rm -f conftest.$ac_objext conftest$ac_exeext
   7677 if { (ac_try="$ac_link"
   7678 case "(($ac_try" in
   7679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7680   *) ac_try_echo=$ac_try;;
   7681 esac
   7682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7683   (eval "$ac_link") 2>conftest.er1
   7684   ac_status=$?
   7685   grep -v '^ *+' conftest.er1 >conftest.err
   7686   rm -f conftest.er1
   7687   cat conftest.err >&5
   7688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7689   (exit $ac_status); } && {
   7690 	 test -z "$ac_c_werror_flag" ||
   7691 	 test ! -s conftest.err
   7692        } && test -s conftest$ac_exeext &&
   7693        $as_test_x conftest$ac_exeext; then
   7694   lt_cv_ld_exported_symbols_list=yes
   7695 else
   7696   echo "$as_me: failed program was:" >&5
   7697 sed 's/^/| /' conftest.$ac_ext >&5
   7698 
   7699 	lt_cv_ld_exported_symbols_list=no
   7700 fi
   7701 
   7702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7703       conftest$ac_exeext conftest.$ac_ext
   7704 	LDFLAGS="$save_LDFLAGS"
   7705 
   7706 fi
   7707 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7708 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
   7709     case $host_os in
   7710     rhapsody* | darwin1.[012])
   7711       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7712     darwin1.*)
   7713       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7714     darwin*) # darwin 5.x on
   7715       # if running on 10.5 or later, the deployment target defaults
   7716       # to the OS version, if on x86, and 10.4, the deployment
   7717       # target defaults to 10.4. Don't you love it?
   7718       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7719 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7720 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7721 	10.[012]*)
   7722 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7723 	10.*)
   7724 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7725       esac
   7726     ;;
   7727   esac
   7728     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7729       _lt_dar_single_mod='$single_module'
   7730     fi
   7731     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7732       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7733     else
   7734       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7735     fi
   7736     if test "$DSYMUTIL" != ":"; then
   7737       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7738     else
   7739       _lt_dsymutil=
   7740     fi
   7741     ;;
   7742   esac
   7743 
   7744 
   7745 for ac_header in dlfcn.h
   7746 do
   7747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7748 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   7749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   7750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7751   echo $ECHO_N "(cached) $ECHO_C" >&6
   7752 else
   7753   cat >conftest.$ac_ext <<_ACEOF
   7754 /* confdefs.h.  */
   7755 _ACEOF
   7756 cat confdefs.h >>conftest.$ac_ext
   7757 cat >>conftest.$ac_ext <<_ACEOF
   7758 /* end confdefs.h.  */
   7759 $ac_includes_default
   7760 
   7761 #include <$ac_header>
   7762 _ACEOF
   7763 rm -f conftest.$ac_objext
   7764 if { (ac_try="$ac_compile"
   7765 case "(($ac_try" in
   7766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7767   *) ac_try_echo=$ac_try;;
   7768 esac
   7769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7770   (eval "$ac_compile") 2>conftest.er1
   7771   ac_status=$?
   7772   grep -v '^ *+' conftest.er1 >conftest.err
   7773   rm -f conftest.er1
   7774   cat conftest.err >&5
   7775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7776   (exit $ac_status); } && {
   7777 	 test -z "$ac_c_werror_flag" ||
   7778 	 test ! -s conftest.err
   7779        } && test -s conftest.$ac_objext; then
   7780   eval "$as_ac_Header=yes"
   7781 else
   7782   echo "$as_me: failed program was:" >&5
   7783 sed 's/^/| /' conftest.$ac_ext >&5
   7784 
   7785 	eval "$as_ac_Header=no"
   7786 fi
   7787 
   7788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7789 fi
   7790 ac_res=`eval echo '${'$as_ac_Header'}'`
   7791 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   7792 echo "${ECHO_T}$ac_res" >&6; }
   7793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   7794   cat >>confdefs.h <<_ACEOF
   7795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7796 _ACEOF
   7797 
   7798 fi
   7799 
   7800 done
   7801 
   7802 
   7803 
   7804 # Set options
   7805 
   7806 
   7807 
   7808         enable_dlopen=no
   7809 
   7810 
   7811   enable_win32_dll=no
   7812 
   7813 
   7814             # Check whether --enable-shared was given.
   7815 if test "${enable_shared+set}" = set; then
   7816   enableval=$enable_shared; p=${PACKAGE-default}
   7817     case $enableval in
   7818     yes) enable_shared=yes ;;
   7819     no) enable_shared=no ;;
   7820     *)
   7821       enable_shared=no
   7822       # Look at the argument we got.  We use all the common list separators.
   7823       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7824       for pkg in $enableval; do
   7825 	IFS="$lt_save_ifs"
   7826 	if test "X$pkg" = "X$p"; then
   7827 	  enable_shared=yes
   7828 	fi
   7829       done
   7830       IFS="$lt_save_ifs"
   7831       ;;
   7832     esac
   7833 else
   7834   enable_shared=yes
   7835 fi
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 # Check whether --with-pic was given.
   7848 if test "${with_pic+set}" = set; then
   7849   withval=$with_pic; pic_mode="$withval"
   7850 else
   7851   pic_mode=default
   7852 fi
   7853 
   7854 
   7855 test -z "$pic_mode" && pic_mode=default
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863   # Check whether --enable-fast-install was given.
   7864 if test "${enable_fast_install+set}" = set; then
   7865   enableval=$enable_fast_install; p=${PACKAGE-default}
   7866     case $enableval in
   7867     yes) enable_fast_install=yes ;;
   7868     no) enable_fast_install=no ;;
   7869     *)
   7870       enable_fast_install=no
   7871       # Look at the argument we got.  We use all the common list separators.
   7872       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7873       for pkg in $enableval; do
   7874 	IFS="$lt_save_ifs"
   7875 	if test "X$pkg" = "X$p"; then
   7876 	  enable_fast_install=yes
   7877 	fi
   7878       done
   7879       IFS="$lt_save_ifs"
   7880       ;;
   7881     esac
   7882 else
   7883   enable_fast_install=yes
   7884 fi
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 # This can be used to rebuild libtool when needed
   7897 LIBTOOL_DEPS="$ltmain"
   7898 
   7899 # Always use our own libtool.
   7900 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 test -z "$LN_S" && LN_S="ln -s"
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 if test -n "${ZSH_VERSION+set}" ; then
   7942    setopt NO_GLOB_SUBST
   7943 fi
   7944 
   7945 { echo "$as_me:$LINENO: checking for objdir" >&5
   7946 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   7947 if test "${lt_cv_objdir+set}" = set; then
   7948   echo $ECHO_N "(cached) $ECHO_C" >&6
   7949 else
   7950   rm -f .libs 2>/dev/null
   7951 mkdir .libs 2>/dev/null
   7952 if test -d .libs; then
   7953   lt_cv_objdir=.libs
   7954 else
   7955   # MS-DOS does not allow filenames that begin with a dot.
   7956   lt_cv_objdir=_libs
   7957 fi
   7958 rmdir .libs 2>/dev/null
   7959 fi
   7960 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7961 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   7962 objdir=$lt_cv_objdir
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 cat >>confdefs.h <<_ACEOF
   7969 #define LT_OBJDIR "$lt_cv_objdir/"
   7970 _ACEOF
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 case $host_os in
   7989 aix3*)
   7990   # AIX sometimes has problems with the GCC collect2 program.  For some
   7991   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7992   # vanish in a puff of smoke.
   7993   if test "X${COLLECT_NAMES+set}" != Xset; then
   7994     COLLECT_NAMES=
   7995     export COLLECT_NAMES
   7996   fi
   7997   ;;
   7998 esac
   7999 
   8000 # Sed substitution that helps us do robust quoting.  It backslashifies
   8001 # metacharacters that are still active within double-quoted strings.
   8002 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8003 
   8004 # Same as above, but do not quote variable references.
   8005 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8006 
   8007 # Sed substitution to delay expansion of an escaped shell variable in a
   8008 # double_quote_subst'ed string.
   8009 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8010 
   8011 # Sed substitution to delay expansion of an escaped single quote.
   8012 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8013 
   8014 # Sed substitution to avoid accidental globbing in evaled expressions
   8015 no_glob_subst='s/\*/\\\*/g'
   8016 
   8017 # Global variables:
   8018 ofile=libtool
   8019 can_build_shared=yes
   8020 
   8021 # All known linkers require a `.a' archive for static linking (except MSVC,
   8022 # which needs '.lib').
   8023 libext=a
   8024 
   8025 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8026 
   8027 old_CC="$CC"
   8028 old_CFLAGS="$CFLAGS"
   8029 
   8030 # Set sane defaults for various variables
   8031 test -z "$CC" && CC=cc
   8032 test -z "$LTCC" && LTCC=$CC
   8033 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8034 test -z "$LD" && LD=ld
   8035 test -z "$ac_objext" && ac_objext=o
   8036 
   8037 for cc_temp in $compiler""; do
   8038   case $cc_temp in
   8039     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8040     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8041     \-*) ;;
   8042     *) break;;
   8043   esac
   8044 done
   8045 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8046 
   8047 
   8048 # Only perform the check for file, if the check method requires it
   8049 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8050 case $deplibs_check_method in
   8051 file_magic*)
   8052   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8053     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   8054 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   8055 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8056   echo $ECHO_N "(cached) $ECHO_C" >&6
   8057 else
   8058   case $MAGIC_CMD in
   8059 [\\/*] |  ?:[\\/]*)
   8060   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8061   ;;
   8062 *)
   8063   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8064   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8065   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8066   for ac_dir in $ac_dummy; do
   8067     IFS="$lt_save_ifs"
   8068     test -z "$ac_dir" && ac_dir=.
   8069     if test -f $ac_dir/${ac_tool_prefix}file; then
   8070       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8071       if test -n "$file_magic_test_file"; then
   8072 	case $deplibs_check_method in
   8073 	"file_magic "*)
   8074 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8075 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8076 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8077 	    $EGREP "$file_magic_regex" > /dev/null; then
   8078 	    :
   8079 	  else
   8080 	    cat <<_LT_EOF 1>&2
   8081 
   8082 *** Warning: the command libtool uses to detect shared libraries,
   8083 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8084 *** The result is that libtool may fail to recognize shared libraries
   8085 *** as such.  This will affect the creation of libtool libraries that
   8086 *** depend on shared libraries, but programs linked with such libtool
   8087 *** libraries will work regardless of this problem.  Nevertheless, you
   8088 *** may want to report the problem to your system manager and/or to
   8089 *** bug-libtool@gnu.org
   8090 
   8091 _LT_EOF
   8092 	  fi ;;
   8093 	esac
   8094       fi
   8095       break
   8096     fi
   8097   done
   8098   IFS="$lt_save_ifs"
   8099   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8100   ;;
   8101 esac
   8102 fi
   8103 
   8104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8105 if test -n "$MAGIC_CMD"; then
   8106   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8107 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   8108 else
   8109   { echo "$as_me:$LINENO: result: no" >&5
   8110 echo "${ECHO_T}no" >&6; }
   8111 fi
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8118   if test -n "$ac_tool_prefix"; then
   8119     { echo "$as_me:$LINENO: checking for file" >&5
   8120 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   8121 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8122   echo $ECHO_N "(cached) $ECHO_C" >&6
   8123 else
   8124   case $MAGIC_CMD in
   8125 [\\/*] |  ?:[\\/]*)
   8126   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8127   ;;
   8128 *)
   8129   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8131   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8132   for ac_dir in $ac_dummy; do
   8133     IFS="$lt_save_ifs"
   8134     test -z "$ac_dir" && ac_dir=.
   8135     if test -f $ac_dir/file; then
   8136       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8137       if test -n "$file_magic_test_file"; then
   8138 	case $deplibs_check_method in
   8139 	"file_magic "*)
   8140 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8141 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8142 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8143 	    $EGREP "$file_magic_regex" > /dev/null; then
   8144 	    :
   8145 	  else
   8146 	    cat <<_LT_EOF 1>&2
   8147 
   8148 *** Warning: the command libtool uses to detect shared libraries,
   8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8150 *** The result is that libtool may fail to recognize shared libraries
   8151 *** as such.  This will affect the creation of libtool libraries that
   8152 *** depend on shared libraries, but programs linked with such libtool
   8153 *** libraries will work regardless of this problem.  Nevertheless, you
   8154 *** may want to report the problem to your system manager and/or to
   8155 *** bug-libtool@gnu.org
   8156 
   8157 _LT_EOF
   8158 	  fi ;;
   8159 	esac
   8160       fi
   8161       break
   8162     fi
   8163   done
   8164   IFS="$lt_save_ifs"
   8165   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8166   ;;
   8167 esac
   8168 fi
   8169 
   8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8171 if test -n "$MAGIC_CMD"; then
   8172   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8173 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   8174 else
   8175   { echo "$as_me:$LINENO: result: no" >&5
   8176 echo "${ECHO_T}no" >&6; }
   8177 fi
   8178 
   8179 
   8180   else
   8181     MAGIC_CMD=:
   8182   fi
   8183 fi
   8184 
   8185   fi
   8186   ;;
   8187 esac
   8188 
   8189 # Use C for the default configuration in the libtool script
   8190 
   8191 lt_save_CC="$CC"
   8192 ac_ext=c
   8193 ac_cpp='$CPP $CPPFLAGS'
   8194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8197 
   8198 
   8199 # Source file extension for C test sources.
   8200 ac_ext=c
   8201 
   8202 # Object file extension for compiled C test sources.
   8203 objext=o
   8204 objext=$objext
   8205 
   8206 # Code to be used in simple compile tests
   8207 lt_simple_compile_test_code="int some_variable = 0;"
   8208 
   8209 # Code to be used in simple link tests
   8210 lt_simple_link_test_code='int main(){return(0);}'
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 # If no C compiler was specified, use CC.
   8219 LTCC=${LTCC-"$CC"}
   8220 
   8221 # If no C compiler flags were specified, use CFLAGS.
   8222 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8223 
   8224 # Allow CC to be a program name with arguments.
   8225 compiler=$CC
   8226 
   8227 # Save the default compiler, since it gets overwritten when the other
   8228 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8229 compiler_DEFAULT=$CC
   8230 
   8231 # save warnings/boilerplate of simple test code
   8232 ac_outfile=conftest.$ac_objext
   8233 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8234 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8235 _lt_compiler_boilerplate=`cat conftest.err`
   8236 $RM conftest*
   8237 
   8238 ac_outfile=conftest.$ac_objext
   8239 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8240 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8241 _lt_linker_boilerplate=`cat conftest.err`
   8242 $RM -r conftest*
   8243 
   8244 
   8245 if test -n "$compiler"; then
   8246 
   8247 lt_prog_compiler_no_builtin_flag=
   8248 
   8249 if test "$GCC" = yes; then
   8250   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8251 
   8252   { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8253 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   8254 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   8255   echo $ECHO_N "(cached) $ECHO_C" >&6
   8256 else
   8257   lt_cv_prog_compiler_rtti_exceptions=no
   8258    ac_outfile=conftest.$ac_objext
   8259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8260    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8261    # Insert the option either (1) after the last *FLAGS variable, or
   8262    # (2) before a word containing "conftest.", or (3) at the end.
   8263    # Note that $ac_compile itself does not contain backslashes and begins
   8264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8265    # The option is referenced via a variable to avoid confusing sed.
   8266    lt_compile=`echo "$ac_compile" | $SED \
   8267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8269    -e 's:$: $lt_compiler_flag:'`
   8270    (eval echo "\"\$as_me:8270: $lt_compile\"" >&5)
   8271    (eval "$lt_compile" 2>conftest.err)
   8272    ac_status=$?
   8273    cat conftest.err >&5
   8274    echo "$as_me:8274: \$? = $ac_status" >&5
   8275    if (exit $ac_status) && test -s "$ac_outfile"; then
   8276      # The compiler can only warn and ignore the option if not recognized
   8277      # So say no if there are warnings other than the usual output.
   8278      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8279      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8280      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8281        lt_cv_prog_compiler_rtti_exceptions=yes
   8282      fi
   8283    fi
   8284    $RM conftest*
   8285 
   8286 fi
   8287 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8288 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8289 
   8290 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8291     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8292 else
   8293     :
   8294 fi
   8295 
   8296 fi
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303   lt_prog_compiler_wl=
   8304 lt_prog_compiler_pic=
   8305 lt_prog_compiler_static=
   8306 
   8307 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   8308 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   8309 
   8310   if test "$GCC" = yes; then
   8311     lt_prog_compiler_wl='-Wl,'
   8312     lt_prog_compiler_static='-static'
   8313 
   8314     case $host_os in
   8315       aix*)
   8316       # All AIX code is PIC.
   8317       if test "$host_cpu" = ia64; then
   8318 	# AIX 5 now supports IA64 processor
   8319 	lt_prog_compiler_static='-Bstatic'
   8320       fi
   8321       ;;
   8322 
   8323     amigaos*)
   8324       case $host_cpu in
   8325       powerpc)
   8326             # see comment about AmigaOS4 .so support
   8327             lt_prog_compiler_pic='-fPIC'
   8328         ;;
   8329       m68k)
   8330             # FIXME: we need at least 68020 code to build shared libraries, but
   8331             # adding the `-m68020' flag to GCC prevents building anything better,
   8332             # like `-m68040'.
   8333             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8334         ;;
   8335       esac
   8336       ;;
   8337 
   8338     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8339       # PIC is the default for these OSes.
   8340       ;;
   8341 
   8342     mingw* | cygwin* | pw32* | os2*)
   8343       # This hack is so that the source file can tell whether it is being
   8344       # built for inclusion in a dll (and should export symbols for example).
   8345       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8346       # (--disable-auto-import) libraries
   8347       lt_prog_compiler_pic='-DDLL_EXPORT'
   8348       ;;
   8349 
   8350     darwin* | rhapsody*)
   8351       # PIC is the default on this platform
   8352       # Common symbols not allowed in MH_DYLIB files
   8353       lt_prog_compiler_pic='-fno-common'
   8354       ;;
   8355 
   8356     hpux*)
   8357       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8358       # not for PA HP-UX.
   8359       case $host_cpu in
   8360       hppa*64*|ia64*)
   8361 	# +Z the default
   8362 	;;
   8363       *)
   8364 	lt_prog_compiler_pic='-fPIC'
   8365 	;;
   8366       esac
   8367       ;;
   8368 
   8369     interix[3-9]*)
   8370       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8371       # Instead, we relocate shared libraries at runtime.
   8372       ;;
   8373 
   8374     msdosdjgpp*)
   8375       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8376       # on systems that don't support them.
   8377       lt_prog_compiler_can_build_shared=no
   8378       enable_shared=no
   8379       ;;
   8380 
   8381     *nto* | *qnx*)
   8382       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8383       # it will coredump.
   8384       lt_prog_compiler_pic='-fPIC -shared'
   8385       ;;
   8386 
   8387     sysv4*MP*)
   8388       if test -d /usr/nec; then
   8389 	lt_prog_compiler_pic=-Kconform_pic
   8390       fi
   8391       ;;
   8392 
   8393     *)
   8394       lt_prog_compiler_pic='-fPIC'
   8395       ;;
   8396     esac
   8397   else
   8398     # PORTME Check for flag to pass linker flags through the system compiler.
   8399     case $host_os in
   8400     aix*)
   8401       lt_prog_compiler_wl='-Wl,'
   8402       if test "$host_cpu" = ia64; then
   8403 	# AIX 5 now supports IA64 processor
   8404 	lt_prog_compiler_static='-Bstatic'
   8405       else
   8406 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8407       fi
   8408       ;;
   8409 
   8410     mingw* | cygwin* | pw32* | os2*)
   8411       # This hack is so that the source file can tell whether it is being
   8412       # built for inclusion in a dll (and should export symbols for example).
   8413       lt_prog_compiler_pic='-DDLL_EXPORT'
   8414       ;;
   8415 
   8416     hpux9* | hpux10* | hpux11*)
   8417       lt_prog_compiler_wl='-Wl,'
   8418       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8419       # not for PA HP-UX.
   8420       case $host_cpu in
   8421       hppa*64*|ia64*)
   8422 	# +Z the default
   8423 	;;
   8424       *)
   8425 	lt_prog_compiler_pic='+Z'
   8426 	;;
   8427       esac
   8428       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8429       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8430       ;;
   8431 
   8432     irix5* | irix6* | nonstopux*)
   8433       lt_prog_compiler_wl='-Wl,'
   8434       # PIC (with -KPIC) is the default.
   8435       lt_prog_compiler_static='-non_shared'
   8436       ;;
   8437 
   8438     linux* | k*bsd*-gnu)
   8439       case $cc_basename in
   8440       icc* | ecc* | ifort*)
   8441 	lt_prog_compiler_wl='-Wl,'
   8442 	lt_prog_compiler_pic='-KPIC'
   8443 	lt_prog_compiler_static='-static'
   8444         ;;
   8445       pgcc* | pgf77* | pgf90* | pgf95*)
   8446         # Portland Group compilers (*not* the Pentium gcc compiler,
   8447 	# which looks to be a dead project)
   8448 	lt_prog_compiler_wl='-Wl,'
   8449 	lt_prog_compiler_pic='-fpic'
   8450 	lt_prog_compiler_static='-Bstatic'
   8451         ;;
   8452       ccc*)
   8453         lt_prog_compiler_wl='-Wl,'
   8454         # All Alpha code is PIC.
   8455         lt_prog_compiler_static='-non_shared'
   8456         ;;
   8457       xl*)
   8458 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8459 	lt_prog_compiler_wl='-Wl,'
   8460 	lt_prog_compiler_pic='-qpic'
   8461 	lt_prog_compiler_static='-qstaticlink'
   8462 	;;
   8463       *)
   8464 	case `$CC -V 2>&1 | sed 5q` in
   8465 	*Sun\ C*)
   8466 	  # Sun C 5.9
   8467 	  lt_prog_compiler_pic='-KPIC'
   8468 	  lt_prog_compiler_static='-Bstatic'
   8469 	  lt_prog_compiler_wl='-Wl,'
   8470 	  ;;
   8471 	*Sun\ F*)
   8472 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8473 	  lt_prog_compiler_pic='-KPIC'
   8474 	  lt_prog_compiler_static='-Bstatic'
   8475 	  lt_prog_compiler_wl=''
   8476 	  ;;
   8477 	esac
   8478 	;;
   8479       esac
   8480       ;;
   8481 
   8482     newsos6)
   8483       lt_prog_compiler_pic='-KPIC'
   8484       lt_prog_compiler_static='-Bstatic'
   8485       ;;
   8486 
   8487     *nto* | *qnx*)
   8488       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8489       # it will coredump.
   8490       lt_prog_compiler_pic='-fPIC -shared'
   8491       ;;
   8492 
   8493     osf3* | osf4* | osf5*)
   8494       lt_prog_compiler_wl='-Wl,'
   8495       # All OSF/1 code is PIC.
   8496       lt_prog_compiler_static='-non_shared'
   8497       ;;
   8498 
   8499     rdos*)
   8500       lt_prog_compiler_static='-non_shared'
   8501       ;;
   8502 
   8503     solaris*)
   8504       lt_prog_compiler_pic='-KPIC'
   8505       lt_prog_compiler_static='-Bstatic'
   8506       case $cc_basename in
   8507       f77* | f90* | f95*)
   8508 	lt_prog_compiler_wl='-Qoption ld ';;
   8509       *)
   8510 	lt_prog_compiler_wl='-Wl,';;
   8511       esac
   8512       ;;
   8513 
   8514     sunos4*)
   8515       lt_prog_compiler_wl='-Qoption ld '
   8516       lt_prog_compiler_pic='-PIC'
   8517       lt_prog_compiler_static='-Bstatic'
   8518       ;;
   8519 
   8520     sysv4 | sysv4.2uw2* | sysv4.3*)
   8521       lt_prog_compiler_wl='-Wl,'
   8522       lt_prog_compiler_pic='-KPIC'
   8523       lt_prog_compiler_static='-Bstatic'
   8524       ;;
   8525 
   8526     sysv4*MP*)
   8527       if test -d /usr/nec ;then
   8528 	lt_prog_compiler_pic='-Kconform_pic'
   8529 	lt_prog_compiler_static='-Bstatic'
   8530       fi
   8531       ;;
   8532 
   8533     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8534       lt_prog_compiler_wl='-Wl,'
   8535       lt_prog_compiler_pic='-KPIC'
   8536       lt_prog_compiler_static='-Bstatic'
   8537       ;;
   8538 
   8539     unicos*)
   8540       lt_prog_compiler_wl='-Wl,'
   8541       lt_prog_compiler_can_build_shared=no
   8542       ;;
   8543 
   8544     uts4*)
   8545       lt_prog_compiler_pic='-pic'
   8546       lt_prog_compiler_static='-Bstatic'
   8547       ;;
   8548 
   8549     *)
   8550       lt_prog_compiler_can_build_shared=no
   8551       ;;
   8552     esac
   8553   fi
   8554 
   8555 case $host_os in
   8556   # For platforms which do not support PIC, -DPIC is meaningless:
   8557   *djgpp*)
   8558     lt_prog_compiler_pic=
   8559     ;;
   8560   *)
   8561     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8562     ;;
   8563 esac
   8564 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8565 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 #
   8573 # Check to make sure the PIC flag actually works.
   8574 #
   8575 if test -n "$lt_prog_compiler_pic"; then
   8576   { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8577 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   8578 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8579   echo $ECHO_N "(cached) $ECHO_C" >&6
   8580 else
   8581   lt_cv_prog_compiler_pic_works=no
   8582    ac_outfile=conftest.$ac_objext
   8583    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8584    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8585    # Insert the option either (1) after the last *FLAGS variable, or
   8586    # (2) before a word containing "conftest.", or (3) at the end.
   8587    # Note that $ac_compile itself does not contain backslashes and begins
   8588    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8589    # The option is referenced via a variable to avoid confusing sed.
   8590    lt_compile=`echo "$ac_compile" | $SED \
   8591    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8592    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8593    -e 's:$: $lt_compiler_flag:'`
   8594    (eval echo "\"\$as_me:8594: $lt_compile\"" >&5)
   8595    (eval "$lt_compile" 2>conftest.err)
   8596    ac_status=$?
   8597    cat conftest.err >&5
   8598    echo "$as_me:8598: \$? = $ac_status" >&5
   8599    if (exit $ac_status) && test -s "$ac_outfile"; then
   8600      # The compiler can only warn and ignore the option if not recognized
   8601      # So say no if there are warnings other than the usual output.
   8602      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8603      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8604      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8605        lt_cv_prog_compiler_pic_works=yes
   8606      fi
   8607    fi
   8608    $RM conftest*
   8609 
   8610 fi
   8611 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8612 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
   8613 
   8614 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8615     case $lt_prog_compiler_pic in
   8616      "" | " "*) ;;
   8617      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8618      esac
   8619 else
   8620     lt_prog_compiler_pic=
   8621      lt_prog_compiler_can_build_shared=no
   8622 fi
   8623 
   8624 fi
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 #
   8632 # Check to make sure the static flag actually works.
   8633 #
   8634 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8635 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8636 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   8637 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8638   echo $ECHO_N "(cached) $ECHO_C" >&6
   8639 else
   8640   lt_cv_prog_compiler_static_works=no
   8641    save_LDFLAGS="$LDFLAGS"
   8642    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8643    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8644    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8645      # The linker can only warn and ignore the option if not recognized
   8646      # So say no if there are warnings
   8647      if test -s conftest.err; then
   8648        # Append any errors to the config.log.
   8649        cat conftest.err 1>&5
   8650        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8651        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8652        if diff conftest.exp conftest.er2 >/dev/null; then
   8653          lt_cv_prog_compiler_static_works=yes
   8654        fi
   8655      else
   8656        lt_cv_prog_compiler_static_works=yes
   8657      fi
   8658    fi
   8659    $RM -r conftest*
   8660    LDFLAGS="$save_LDFLAGS"
   8661 
   8662 fi
   8663 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8664 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
   8665 
   8666 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8667     :
   8668 else
   8669     lt_prog_compiler_static=
   8670 fi
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8679 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   8680 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8681   echo $ECHO_N "(cached) $ECHO_C" >&6
   8682 else
   8683   lt_cv_prog_compiler_c_o=no
   8684    $RM -r conftest 2>/dev/null
   8685    mkdir conftest
   8686    cd conftest
   8687    mkdir out
   8688    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8689 
   8690    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8691    # Insert the option either (1) after the last *FLAGS variable, or
   8692    # (2) before a word containing "conftest.", or (3) at the end.
   8693    # Note that $ac_compile itself does not contain backslashes and begins
   8694    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8695    lt_compile=`echo "$ac_compile" | $SED \
   8696    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8697    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8698    -e 's:$: $lt_compiler_flag:'`
   8699    (eval echo "\"\$as_me:8699: $lt_compile\"" >&5)
   8700    (eval "$lt_compile" 2>out/conftest.err)
   8701    ac_status=$?
   8702    cat out/conftest.err >&5
   8703    echo "$as_me:8703: \$? = $ac_status" >&5
   8704    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8705    then
   8706      # The compiler can only warn and ignore the option if not recognized
   8707      # So say no if there are warnings
   8708      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8709      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8710      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8711        lt_cv_prog_compiler_c_o=yes
   8712      fi
   8713    fi
   8714    chmod u+w . 2>&5
   8715    $RM conftest*
   8716    # SGI C++ compiler will create directory out/ii_files/ for
   8717    # template instantiation
   8718    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8719    $RM out/* && rmdir out
   8720    cd ..
   8721    $RM -r conftest
   8722    $RM conftest*
   8723 
   8724 fi
   8725 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8726 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733   { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8734 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   8735 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8736   echo $ECHO_N "(cached) $ECHO_C" >&6
   8737 else
   8738   lt_cv_prog_compiler_c_o=no
   8739    $RM -r conftest 2>/dev/null
   8740    mkdir conftest
   8741    cd conftest
   8742    mkdir out
   8743    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8744 
   8745    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8746    # Insert the option either (1) after the last *FLAGS variable, or
   8747    # (2) before a word containing "conftest.", or (3) at the end.
   8748    # Note that $ac_compile itself does not contain backslashes and begins
   8749    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8750    lt_compile=`echo "$ac_compile" | $SED \
   8751    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8752    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8753    -e 's:$: $lt_compiler_flag:'`
   8754    (eval echo "\"\$as_me:8754: $lt_compile\"" >&5)
   8755    (eval "$lt_compile" 2>out/conftest.err)
   8756    ac_status=$?
   8757    cat out/conftest.err >&5
   8758    echo "$as_me:8758: \$? = $ac_status" >&5
   8759    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8760    then
   8761      # The compiler can only warn and ignore the option if not recognized
   8762      # So say no if there are warnings
   8763      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8764      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8765      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8766        lt_cv_prog_compiler_c_o=yes
   8767      fi
   8768    fi
   8769    chmod u+w . 2>&5
   8770    $RM conftest*
   8771    # SGI C++ compiler will create directory out/ii_files/ for
   8772    # template instantiation
   8773    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8774    $RM out/* && rmdir out
   8775    cd ..
   8776    $RM -r conftest
   8777    $RM conftest*
   8778 
   8779 fi
   8780 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8781 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   8782 
   8783 
   8784 
   8785 
   8786 hard_links="nottested"
   8787 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8788   # do not overwrite the value of need_locks provided by the user
   8789   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8790 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   8791   hard_links=yes
   8792   $RM conftest*
   8793   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8794   touch conftest.a
   8795   ln conftest.a conftest.b 2>&5 || hard_links=no
   8796   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8797   { echo "$as_me:$LINENO: result: $hard_links" >&5
   8798 echo "${ECHO_T}$hard_links" >&6; }
   8799   if test "$hard_links" = no; then
   8800     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8801 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8802     need_locks=warn
   8803   fi
   8804 else
   8805   need_locks=no
   8806 fi
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813   { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8814 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   8815 
   8816   runpath_var=
   8817   allow_undefined_flag=
   8818   always_export_symbols=no
   8819   archive_cmds=
   8820   archive_expsym_cmds=
   8821   compiler_needs_object=no
   8822   enable_shared_with_static_runtimes=no
   8823   export_dynamic_flag_spec=
   8824   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8825   hardcode_automatic=no
   8826   hardcode_direct=no
   8827   hardcode_direct_absolute=no
   8828   hardcode_libdir_flag_spec=
   8829   hardcode_libdir_flag_spec_ld=
   8830   hardcode_libdir_separator=
   8831   hardcode_minus_L=no
   8832   hardcode_shlibpath_var=unsupported
   8833   inherit_rpath=no
   8834   link_all_deplibs=unknown
   8835   module_cmds=
   8836   module_expsym_cmds=
   8837   old_archive_from_new_cmds=
   8838   old_archive_from_expsyms_cmds=
   8839   thread_safe_flag_spec=
   8840   whole_archive_flag_spec=
   8841   # include_expsyms should be a list of space-separated symbols to be *always*
   8842   # included in the symbol list
   8843   include_expsyms=
   8844   # exclude_expsyms can be an extended regexp of symbols to exclude
   8845   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8846   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8847   # as well as any symbol that contains `d'.
   8848   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8849   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8850   # platforms (ab)use it in PIC code, but their linkers get confused if
   8851   # the symbol is explicitly referenced.  Since portable code cannot
   8852   # rely on this symbol name, it's probably fine to never include it in
   8853   # preloaded symbol tables.
   8854   # Exclude shared library initialization/finalization symbols.
   8855   extract_expsyms_cmds=
   8856 
   8857   case $host_os in
   8858   cygwin* | mingw* | pw32*)
   8859     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8860     # When not using gcc, we currently assume that we are using
   8861     # Microsoft Visual C++.
   8862     if test "$GCC" != yes; then
   8863       with_gnu_ld=no
   8864     fi
   8865     ;;
   8866   interix*)
   8867     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8868     with_gnu_ld=yes
   8869     ;;
   8870   openbsd*)
   8871     with_gnu_ld=no
   8872     ;;
   8873   esac
   8874 
   8875   ld_shlibs=yes
   8876   if test "$with_gnu_ld" = yes; then
   8877     # If archive_cmds runs LD, not CC, wlarc should be empty
   8878     wlarc='${wl}'
   8879 
   8880     # Set some defaults for GNU ld with shared library support. These
   8881     # are reset later if shared libraries are not supported. Putting them
   8882     # here allows them to be overridden if necessary.
   8883     runpath_var=LD_RUN_PATH
   8884     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8885     export_dynamic_flag_spec='${wl}--export-dynamic'
   8886     # ancient GNU ld didn't support --whole-archive et. al.
   8887     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8888       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8889     else
   8890       whole_archive_flag_spec=
   8891     fi
   8892     supports_anon_versioning=no
   8893     case `$LD -v 2>&1` in
   8894       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8895       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8896       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8897       *\ 2.11.*) ;; # other 2.11 versions
   8898       *) supports_anon_versioning=yes ;;
   8899     esac
   8900 
   8901     # See if GNU ld supports shared libraries.
   8902     case $host_os in
   8903     aix[3-9]*)
   8904       # On AIX/PPC, the GNU linker is very broken
   8905       if test "$host_cpu" != ia64; then
   8906 	ld_shlibs=no
   8907 	cat <<_LT_EOF 1>&2
   8908 
   8909 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8910 *** to be unable to reliably create shared libraries on AIX.
   8911 *** Therefore, libtool is disabling shared libraries support.  If you
   8912 *** really care for shared libraries, you may want to modify your PATH
   8913 *** so that a non-GNU linker is found, and then restart.
   8914 
   8915 _LT_EOF
   8916       fi
   8917       ;;
   8918 
   8919     amigaos*)
   8920       case $host_cpu in
   8921       powerpc)
   8922             # see comment about AmigaOS4 .so support
   8923             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8924             archive_expsym_cmds=''
   8925         ;;
   8926       m68k)
   8927             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)'
   8928             hardcode_libdir_flag_spec='-L$libdir'
   8929             hardcode_minus_L=yes
   8930         ;;
   8931       esac
   8932       ;;
   8933 
   8934     beos*)
   8935       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8936 	allow_undefined_flag=unsupported
   8937 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8938 	# support --undefined.  This deserves some investigation.  FIXME
   8939 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8940       else
   8941 	ld_shlibs=no
   8942       fi
   8943       ;;
   8944 
   8945     cygwin* | mingw* | pw32*)
   8946       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8947       # as there is no search path for DLLs.
   8948       hardcode_libdir_flag_spec='-L$libdir'
   8949       allow_undefined_flag=unsupported
   8950       always_export_symbols=no
   8951       enable_shared_with_static_runtimes=yes
   8952       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8953 
   8954       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8955         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8956 	# If the export-symbols file already is a .def file (1st line
   8957 	# is EXPORTS), use it as is; otherwise, prepend...
   8958 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8959 	  cp $export_symbols $output_objdir/$soname.def;
   8960 	else
   8961 	  echo EXPORTS > $output_objdir/$soname.def;
   8962 	  cat $export_symbols >> $output_objdir/$soname.def;
   8963 	fi~
   8964 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8965       else
   8966 	ld_shlibs=no
   8967       fi
   8968       ;;
   8969 
   8970     interix[3-9]*)
   8971       hardcode_direct=no
   8972       hardcode_shlibpath_var=no
   8973       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8974       export_dynamic_flag_spec='${wl}-E'
   8975       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8976       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8977       # default) and relocated if they conflict, which is a slow very memory
   8978       # consuming and fragmenting process.  To avoid this, we pick a random,
   8979       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8980       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8981       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8982       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'
   8983       ;;
   8984 
   8985     gnu* | linux* | tpf* | k*bsd*-gnu)
   8986       tmp_diet=no
   8987       if test "$host_os" = linux-dietlibc; then
   8988 	case $cc_basename in
   8989 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8990 	esac
   8991       fi
   8992       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8993 	 && test "$tmp_diet" = no
   8994       then
   8995 	tmp_addflag=
   8996 	tmp_sharedflag='-shared'
   8997 	case $cc_basename,$host_cpu in
   8998         pgcc*)				# Portland Group C compiler
   8999 	  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'
   9000 	  tmp_addflag=' $pic_flag'
   9001 	  ;;
   9002 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9003 	  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'
   9004 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9005 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9006 	  tmp_addflag=' -i_dynamic' ;;
   9007 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9008 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9009 	ifc* | ifort*)			# Intel Fortran compiler
   9010 	  tmp_addflag=' -nofor_main' ;;
   9011 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9012 	  tmp_sharedflag='-qmkshrobj'
   9013 	  tmp_addflag= ;;
   9014 	esac
   9015 	case `$CC -V 2>&1 | sed 5q` in
   9016 	*Sun\ C*)			# Sun C 5.9
   9017 	  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'
   9018 	  compiler_needs_object=yes
   9019 	  tmp_sharedflag='-G' ;;
   9020 	*Sun\ F*)			# Sun Fortran 8.3
   9021 	  tmp_sharedflag='-G' ;;
   9022 	esac
   9023 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9024 
   9025         if test "x$supports_anon_versioning" = xyes; then
   9026           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9027 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9028 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9029 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9030         fi
   9031 
   9032 	case $cc_basename in
   9033 	xlf*)
   9034 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9035 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9036 	  hardcode_libdir_flag_spec=
   9037 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9038 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9039 	  if test "x$supports_anon_versioning" = xyes; then
   9040 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9041 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9042 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9043 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9044 	  fi
   9045 	  ;;
   9046 	esac
   9047       else
   9048         ld_shlibs=no
   9049       fi
   9050       ;;
   9051 
   9052     netbsd* | netbsdelf*-gnu)
   9053       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9054 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9055 	wlarc=
   9056       else
   9057 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9058 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9059       fi
   9060       ;;
   9061 
   9062     solaris*)
   9063       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9064 	ld_shlibs=no
   9065 	cat <<_LT_EOF 1>&2
   9066 
   9067 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9068 *** create shared libraries on Solaris systems.  Therefore, libtool
   9069 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9070 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9071 *** your PATH or compiler configuration so that the native linker is
   9072 *** used, and then restart.
   9073 
   9074 _LT_EOF
   9075       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9076 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9077 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9078       else
   9079 	ld_shlibs=no
   9080       fi
   9081       ;;
   9082 
   9083     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9084       case `$LD -v 2>&1` in
   9085         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9086 	ld_shlibs=no
   9087 	cat <<_LT_EOF 1>&2
   9088 
   9089 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9090 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9091 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9092 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9093 *** your PATH or compiler configuration so that the native linker is
   9094 *** used, and then restart.
   9095 
   9096 _LT_EOF
   9097 	;;
   9098 	*)
   9099 	  # For security reasons, it is highly recommended that you always
   9100 	  # use absolute paths for naming shared libraries, and exclude the
   9101 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9102 	  # requires that you compile everything twice, which is a pain.
   9103 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9104 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9105 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9106 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9107 	  else
   9108 	    ld_shlibs=no
   9109 	  fi
   9110 	;;
   9111       esac
   9112       ;;
   9113 
   9114     sunos4*)
   9115       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9116       wlarc=
   9117       hardcode_direct=yes
   9118       hardcode_shlibpath_var=no
   9119       ;;
   9120 
   9121     *)
   9122       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9123 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9124 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9125       else
   9126 	ld_shlibs=no
   9127       fi
   9128       ;;
   9129     esac
   9130 
   9131     if test "$ld_shlibs" = no; then
   9132       runpath_var=
   9133       hardcode_libdir_flag_spec=
   9134       export_dynamic_flag_spec=
   9135       whole_archive_flag_spec=
   9136     fi
   9137   else
   9138     # PORTME fill in a description of your system's linker (not GNU ld)
   9139     case $host_os in
   9140     aix3*)
   9141       allow_undefined_flag=unsupported
   9142       always_export_symbols=yes
   9143       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'
   9144       # Note: this linker hardcodes the directories in LIBPATH if there
   9145       # are no directories specified by -L.
   9146       hardcode_minus_L=yes
   9147       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9148 	# Neither direct hardcoding nor static linking is supported with a
   9149 	# broken collect2.
   9150 	hardcode_direct=unsupported
   9151       fi
   9152       ;;
   9153 
   9154     aix[4-9]*)
   9155       if test "$host_cpu" = ia64; then
   9156 	# On IA64, the linker does run time linking by default, so we don't
   9157 	# have to do anything special.
   9158 	aix_use_runtimelinking=no
   9159 	exp_sym_flag='-Bexport'
   9160 	no_entry_flag=""
   9161       else
   9162 	# If we're using GNU nm, then we don't want the "-C" option.
   9163 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9164 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9165 	  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'
   9166 	else
   9167 	  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'
   9168 	fi
   9169 	aix_use_runtimelinking=no
   9170 
   9171 	# Test if we are trying to use run time linking or normal
   9172 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9173 	# need to do runtime linking.
   9174 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9175 	  for ld_flag in $LDFLAGS; do
   9176 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9177 	    aix_use_runtimelinking=yes
   9178 	    break
   9179 	  fi
   9180 	  done
   9181 	  ;;
   9182 	esac
   9183 
   9184 	exp_sym_flag='-bexport'
   9185 	no_entry_flag='-bnoentry'
   9186       fi
   9187 
   9188       # When large executables or shared objects are built, AIX ld can
   9189       # have problems creating the table of contents.  If linking a library
   9190       # or program results in "error TOC overflow" add -mminimal-toc to
   9191       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9192       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9193 
   9194       archive_cmds=''
   9195       hardcode_direct=yes
   9196       hardcode_direct_absolute=yes
   9197       hardcode_libdir_separator=':'
   9198       link_all_deplibs=yes
   9199       file_list_spec='${wl}-f,'
   9200 
   9201       if test "$GCC" = yes; then
   9202 	case $host_os in aix4.[012]|aix4.[012].*)
   9203 	# We only want to do this on AIX 4.2 and lower, the check
   9204 	# below for broken collect2 doesn't work under 4.3+
   9205 	  collect2name=`${CC} -print-prog-name=collect2`
   9206 	  if test -f "$collect2name" &&
   9207 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9208 	  then
   9209 	  # We have reworked collect2
   9210 	  :
   9211 	  else
   9212 	  # We have old collect2
   9213 	  hardcode_direct=unsupported
   9214 	  # It fails to find uninstalled libraries when the uninstalled
   9215 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9216 	  # to unsupported forces relinking
   9217 	  hardcode_minus_L=yes
   9218 	  hardcode_libdir_flag_spec='-L$libdir'
   9219 	  hardcode_libdir_separator=
   9220 	  fi
   9221 	  ;;
   9222 	esac
   9223 	shared_flag='-shared'
   9224 	if test "$aix_use_runtimelinking" = yes; then
   9225 	  shared_flag="$shared_flag "'${wl}-G'
   9226 	fi
   9227 	link_all_deplibs=no
   9228       else
   9229 	# not using gcc
   9230 	if test "$host_cpu" = ia64; then
   9231 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9232 	# chokes on -Wl,-G. The following line is correct:
   9233 	  shared_flag='-G'
   9234 	else
   9235 	  if test "$aix_use_runtimelinking" = yes; then
   9236 	    shared_flag='${wl}-G'
   9237 	  else
   9238 	    shared_flag='${wl}-bM:SRE'
   9239 	  fi
   9240 	fi
   9241       fi
   9242 
   9243       # It seems that -bexpall does not export symbols beginning with
   9244       # underscore (_), so it is better to generate a list of symbols to export.
   9245       always_export_symbols=yes
   9246       if test "$aix_use_runtimelinking" = yes; then
   9247 	# Warning - without using the other runtime loading flags (-brtl),
   9248 	# -berok will link without error, but may produce a broken library.
   9249 	allow_undefined_flag='-berok'
   9250         # Determine the default libpath from the value encoded in an
   9251         # empty executable.
   9252         cat >conftest.$ac_ext <<_ACEOF
   9253 /* confdefs.h.  */
   9254 _ACEOF
   9255 cat confdefs.h >>conftest.$ac_ext
   9256 cat >>conftest.$ac_ext <<_ACEOF
   9257 /* end confdefs.h.  */
   9258 
   9259 int
   9260 main ()
   9261 {
   9262 
   9263   ;
   9264   return 0;
   9265 }
   9266 _ACEOF
   9267 rm -f conftest.$ac_objext conftest$ac_exeext
   9268 if { (ac_try="$ac_link"
   9269 case "(($ac_try" in
   9270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9271   *) ac_try_echo=$ac_try;;
   9272 esac
   9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9274   (eval "$ac_link") 2>conftest.er1
   9275   ac_status=$?
   9276   grep -v '^ *+' conftest.er1 >conftest.err
   9277   rm -f conftest.er1
   9278   cat conftest.err >&5
   9279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9280   (exit $ac_status); } && {
   9281 	 test -z "$ac_c_werror_flag" ||
   9282 	 test ! -s conftest.err
   9283        } && test -s conftest$ac_exeext &&
   9284        $as_test_x conftest$ac_exeext; then
   9285 
   9286 lt_aix_libpath_sed='
   9287     /Import File Strings/,/^$/ {
   9288 	/^0/ {
   9289 	    s/^0  *\(.*\)$/\1/
   9290 	    p
   9291 	}
   9292     }'
   9293 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9294 # Check for a 64-bit object if we didn't find anything.
   9295 if test -z "$aix_libpath"; then
   9296   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9297 fi
   9298 else
   9299   echo "$as_me: failed program was:" >&5
   9300 sed 's/^/| /' conftest.$ac_ext >&5
   9301 
   9302 
   9303 fi
   9304 
   9305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9306       conftest$ac_exeext conftest.$ac_ext
   9307 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9308 
   9309         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9310         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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9311       else
   9312 	if test "$host_cpu" = ia64; then
   9313 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9314 	  allow_undefined_flag="-z nodefs"
   9315 	  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"
   9316 	else
   9317 	 # Determine the default libpath from the value encoded in an
   9318 	 # empty executable.
   9319 	 cat >conftest.$ac_ext <<_ACEOF
   9320 /* confdefs.h.  */
   9321 _ACEOF
   9322 cat confdefs.h >>conftest.$ac_ext
   9323 cat >>conftest.$ac_ext <<_ACEOF
   9324 /* end confdefs.h.  */
   9325 
   9326 int
   9327 main ()
   9328 {
   9329 
   9330   ;
   9331   return 0;
   9332 }
   9333 _ACEOF
   9334 rm -f conftest.$ac_objext conftest$ac_exeext
   9335 if { (ac_try="$ac_link"
   9336 case "(($ac_try" in
   9337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9338   *) ac_try_echo=$ac_try;;
   9339 esac
   9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9341   (eval "$ac_link") 2>conftest.er1
   9342   ac_status=$?
   9343   grep -v '^ *+' conftest.er1 >conftest.err
   9344   rm -f conftest.er1
   9345   cat conftest.err >&5
   9346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9347   (exit $ac_status); } && {
   9348 	 test -z "$ac_c_werror_flag" ||
   9349 	 test ! -s conftest.err
   9350        } && test -s conftest$ac_exeext &&
   9351        $as_test_x conftest$ac_exeext; then
   9352 
   9353 lt_aix_libpath_sed='
   9354     /Import File Strings/,/^$/ {
   9355 	/^0/ {
   9356 	    s/^0  *\(.*\)$/\1/
   9357 	    p
   9358 	}
   9359     }'
   9360 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9361 # Check for a 64-bit object if we didn't find anything.
   9362 if test -z "$aix_libpath"; then
   9363   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9364 fi
   9365 else
   9366   echo "$as_me: failed program was:" >&5
   9367 sed 's/^/| /' conftest.$ac_ext >&5
   9368 
   9369 
   9370 fi
   9371 
   9372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9373       conftest$ac_exeext conftest.$ac_ext
   9374 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9375 
   9376 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9377 	  # Warning - without using the other run time loading flags,
   9378 	  # -berok will link without error, but may produce a broken library.
   9379 	  no_undefined_flag=' ${wl}-bernotok'
   9380 	  allow_undefined_flag=' ${wl}-berok'
   9381 	  # Exported symbols can be pulled into shared objects from archives
   9382 	  whole_archive_flag_spec='$convenience'
   9383 	  archive_cmds_need_lc=yes
   9384 	  # This is similar to how AIX traditionally builds its shared libraries.
   9385 	  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'
   9386 	fi
   9387       fi
   9388       ;;
   9389 
   9390     amigaos*)
   9391       case $host_cpu in
   9392       powerpc)
   9393             # see comment about AmigaOS4 .so support
   9394             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9395             archive_expsym_cmds=''
   9396         ;;
   9397       m68k)
   9398             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)'
   9399             hardcode_libdir_flag_spec='-L$libdir'
   9400             hardcode_minus_L=yes
   9401         ;;
   9402       esac
   9403       ;;
   9404 
   9405     bsdi[45]*)
   9406       export_dynamic_flag_spec=-rdynamic
   9407       ;;
   9408 
   9409     cygwin* | mingw* | pw32*)
   9410       # When not using gcc, we currently assume that we are using
   9411       # Microsoft Visual C++.
   9412       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9413       # no search path for DLLs.
   9414       hardcode_libdir_flag_spec=' '
   9415       allow_undefined_flag=unsupported
   9416       # Tell ltmain to make .lib files, not .a files.
   9417       libext=lib
   9418       # Tell ltmain to make .dll files, not .so files.
   9419       shrext_cmds=".dll"
   9420       # FIXME: Setting linknames here is a bad hack.
   9421       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9422       # The linker will automatically build a .lib file if we build a DLL.
   9423       old_archive_from_new_cmds='true'
   9424       # FIXME: Should let the user specify the lib program.
   9425       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9426       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9427       enable_shared_with_static_runtimes=yes
   9428       ;;
   9429 
   9430     darwin* | rhapsody*)
   9431 
   9432 
   9433   archive_cmds_need_lc=no
   9434   hardcode_direct=no
   9435   hardcode_automatic=yes
   9436   hardcode_shlibpath_var=unsupported
   9437   whole_archive_flag_spec=''
   9438   link_all_deplibs=yes
   9439   allow_undefined_flag="$_lt_dar_allow_undefined"
   9440   if test "$GCC" = "yes"; then
   9441     output_verbose_link_cmd=echo
   9442     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9443     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9444     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}"
   9445     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}"
   9446 
   9447   else
   9448   ld_shlibs=no
   9449   fi
   9450 
   9451       ;;
   9452 
   9453     dgux*)
   9454       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9455       hardcode_libdir_flag_spec='-L$libdir'
   9456       hardcode_shlibpath_var=no
   9457       ;;
   9458 
   9459     freebsd1*)
   9460       ld_shlibs=no
   9461       ;;
   9462 
   9463     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9464     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9465     # does not break anything, and helps significantly (at the cost of a little
   9466     # extra space).
   9467     freebsd2.2*)
   9468       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9469       hardcode_libdir_flag_spec='-R$libdir'
   9470       hardcode_direct=yes
   9471       hardcode_shlibpath_var=no
   9472       ;;
   9473 
   9474     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9475     freebsd2*)
   9476       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9477       hardcode_direct=yes
   9478       hardcode_minus_L=yes
   9479       hardcode_shlibpath_var=no
   9480       ;;
   9481 
   9482     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9483     freebsd* | dragonfly*)
   9484       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9485       hardcode_libdir_flag_spec='-R$libdir'
   9486       hardcode_direct=yes
   9487       hardcode_shlibpath_var=no
   9488       ;;
   9489 
   9490     hpux9*)
   9491       if test "$GCC" = yes; then
   9492 	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'
   9493       else
   9494 	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'
   9495       fi
   9496       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9497       hardcode_libdir_separator=:
   9498       hardcode_direct=yes
   9499 
   9500       # hardcode_minus_L: Not really in the search PATH,
   9501       # but as the default location of the library.
   9502       hardcode_minus_L=yes
   9503       export_dynamic_flag_spec='${wl}-E'
   9504       ;;
   9505 
   9506     hpux10*)
   9507       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9508 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9509       else
   9510 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9511       fi
   9512       if test "$with_gnu_ld" = no; then
   9513 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9514 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9515 	hardcode_libdir_separator=:
   9516 	hardcode_direct=yes
   9517 	hardcode_direct_absolute=yes
   9518 	export_dynamic_flag_spec='${wl}-E'
   9519 	# hardcode_minus_L: Not really in the search PATH,
   9520 	# but as the default location of the library.
   9521 	hardcode_minus_L=yes
   9522       fi
   9523       ;;
   9524 
   9525     hpux11*)
   9526       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9527 	case $host_cpu in
   9528 	hppa*64*)
   9529 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9530 	  ;;
   9531 	ia64*)
   9532 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9533 	  ;;
   9534 	*)
   9535 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9536 	  ;;
   9537 	esac
   9538       else
   9539 	case $host_cpu in
   9540 	hppa*64*)
   9541 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542 	  ;;
   9543 	ia64*)
   9544 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9545 	  ;;
   9546 	*)
   9547 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9548 	  ;;
   9549 	esac
   9550       fi
   9551       if test "$with_gnu_ld" = no; then
   9552 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9553 	hardcode_libdir_separator=:
   9554 
   9555 	case $host_cpu in
   9556 	hppa*64*|ia64*)
   9557 	  hardcode_direct=no
   9558 	  hardcode_shlibpath_var=no
   9559 	  ;;
   9560 	*)
   9561 	  hardcode_direct=yes
   9562 	  hardcode_direct_absolute=yes
   9563 	  export_dynamic_flag_spec='${wl}-E'
   9564 
   9565 	  # hardcode_minus_L: Not really in the search PATH,
   9566 	  # but as the default location of the library.
   9567 	  hardcode_minus_L=yes
   9568 	  ;;
   9569 	esac
   9570       fi
   9571       ;;
   9572 
   9573     irix5* | irix6* | nonstopux*)
   9574       if test "$GCC" = yes; then
   9575 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9576 	# Try to use the -exported_symbol ld option, if it does not
   9577 	# work, assume that -exports_file does not work either and
   9578 	# implicitly export all symbols.
   9579         save_LDFLAGS="$LDFLAGS"
   9580         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9581         cat >conftest.$ac_ext <<_ACEOF
   9582 int foo(void) {}
   9583 _ACEOF
   9584 rm -f conftest.$ac_objext conftest$ac_exeext
   9585 if { (ac_try="$ac_link"
   9586 case "(($ac_try" in
   9587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9588   *) ac_try_echo=$ac_try;;
   9589 esac
   9590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9591   (eval "$ac_link") 2>conftest.er1
   9592   ac_status=$?
   9593   grep -v '^ *+' conftest.er1 >conftest.err
   9594   rm -f conftest.er1
   9595   cat conftest.err >&5
   9596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9597   (exit $ac_status); } && {
   9598 	 test -z "$ac_c_werror_flag" ||
   9599 	 test ! -s conftest.err
   9600        } && test -s conftest$ac_exeext &&
   9601        $as_test_x conftest$ac_exeext; then
   9602   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9603 
   9604 else
   9605   echo "$as_me: failed program was:" >&5
   9606 sed 's/^/| /' conftest.$ac_ext >&5
   9607 
   9608 
   9609 fi
   9610 
   9611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9612       conftest$ac_exeext conftest.$ac_ext
   9613         LDFLAGS="$save_LDFLAGS"
   9614       else
   9615 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9616 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9617       fi
   9618       archive_cmds_need_lc='no'
   9619       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9620       hardcode_libdir_separator=:
   9621       inherit_rpath=yes
   9622       link_all_deplibs=yes
   9623       ;;
   9624 
   9625     netbsd* | netbsdelf*-gnu)
   9626       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9627 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9628       else
   9629 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9630       fi
   9631       hardcode_libdir_flag_spec='-R$libdir'
   9632       hardcode_direct=yes
   9633       hardcode_shlibpath_var=no
   9634       ;;
   9635 
   9636     newsos6)
   9637       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9638       hardcode_direct=yes
   9639       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9640       hardcode_libdir_separator=:
   9641       hardcode_shlibpath_var=no
   9642       ;;
   9643 
   9644     *nto* | *qnx*)
   9645       ;;
   9646 
   9647     openbsd*)
   9648       if test -f /usr/libexec/ld.so; then
   9649 	hardcode_direct=yes
   9650 	hardcode_shlibpath_var=no
   9651 	hardcode_direct_absolute=yes
   9652 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9653 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9654 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9655 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9656 	  export_dynamic_flag_spec='${wl}-E'
   9657 	else
   9658 	  case $host_os in
   9659 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9660 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9661 	     hardcode_libdir_flag_spec='-R$libdir'
   9662 	     ;;
   9663 	   *)
   9664 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9665 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9666 	     ;;
   9667 	  esac
   9668 	fi
   9669       else
   9670 	ld_shlibs=no
   9671       fi
   9672       ;;
   9673 
   9674     os2*)
   9675       hardcode_libdir_flag_spec='-L$libdir'
   9676       hardcode_minus_L=yes
   9677       allow_undefined_flag=unsupported
   9678       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'
   9679       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9680       ;;
   9681 
   9682     osf3*)
   9683       if test "$GCC" = yes; then
   9684 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9685 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9686       else
   9687 	allow_undefined_flag=' -expect_unresolved \*'
   9688 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9689       fi
   9690       archive_cmds_need_lc='no'
   9691       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9692       hardcode_libdir_separator=:
   9693       ;;
   9694 
   9695     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9696       if test "$GCC" = yes; then
   9697 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9698 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9699 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9700       else
   9701 	allow_undefined_flag=' -expect_unresolved \*'
   9702 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9703 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   9704 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9705 
   9706 	# Both c and cxx compiler support -rpath directly
   9707 	hardcode_libdir_flag_spec='-rpath $libdir'
   9708       fi
   9709       archive_cmds_need_lc='no'
   9710       hardcode_libdir_separator=:
   9711       ;;
   9712 
   9713     solaris*)
   9714       no_undefined_flag=' -z defs'
   9715       if test "$GCC" = yes; then
   9716 	wlarc='${wl}'
   9717 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9718 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9719 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9720       else
   9721 	case `$CC -V 2>&1` in
   9722 	*"Compilers 5.0"*)
   9723 	  wlarc=''
   9724 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9725 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9726 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9727 	  ;;
   9728 	*)
   9729 	  wlarc='${wl}'
   9730 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9731 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9732 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9733 	  ;;
   9734 	esac
   9735       fi
   9736       hardcode_libdir_flag_spec='-R$libdir'
   9737       hardcode_shlibpath_var=no
   9738       case $host_os in
   9739       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9740       *)
   9741 	# The compiler driver will combine and reorder linker options,
   9742 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9743 	# but is careful enough not to reorder.
   9744 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9745 	if test "$GCC" = yes; then
   9746 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9747 	else
   9748 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9749 	fi
   9750 	;;
   9751       esac
   9752       link_all_deplibs=yes
   9753       ;;
   9754 
   9755     sunos4*)
   9756       if test "x$host_vendor" = xsequent; then
   9757 	# Use $CC to link under sequent, because it throws in some extra .o
   9758 	# files that make .init and .fini sections work.
   9759 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9760       else
   9761 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9762       fi
   9763       hardcode_libdir_flag_spec='-L$libdir'
   9764       hardcode_direct=yes
   9765       hardcode_minus_L=yes
   9766       hardcode_shlibpath_var=no
   9767       ;;
   9768 
   9769     sysv4)
   9770       case $host_vendor in
   9771 	sni)
   9772 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9773 	  hardcode_direct=yes # is this really true???
   9774 	;;
   9775 	siemens)
   9776 	  ## LD is ld it makes a PLAMLIB
   9777 	  ## CC just makes a GrossModule.
   9778 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9779 	  reload_cmds='$CC -r -o $output$reload_objs'
   9780 	  hardcode_direct=no
   9781         ;;
   9782 	motorola)
   9783 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9784 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9785 	;;
   9786       esac
   9787       runpath_var='LD_RUN_PATH'
   9788       hardcode_shlibpath_var=no
   9789       ;;
   9790 
   9791     sysv4.3*)
   9792       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9793       hardcode_shlibpath_var=no
   9794       export_dynamic_flag_spec='-Bexport'
   9795       ;;
   9796 
   9797     sysv4*MP*)
   9798       if test -d /usr/nec; then
   9799 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9800 	hardcode_shlibpath_var=no
   9801 	runpath_var=LD_RUN_PATH
   9802 	hardcode_runpath_var=yes
   9803 	ld_shlibs=yes
   9804       fi
   9805       ;;
   9806 
   9807     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9808       no_undefined_flag='${wl}-z,text'
   9809       archive_cmds_need_lc=no
   9810       hardcode_shlibpath_var=no
   9811       runpath_var='LD_RUN_PATH'
   9812 
   9813       if test "$GCC" = yes; then
   9814 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9815 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9816       else
   9817 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9818 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9819       fi
   9820       ;;
   9821 
   9822     sysv5* | sco3.2v5* | sco5v6*)
   9823       # Note: We can NOT use -z defs as we might desire, because we do not
   9824       # link with -lc, and that would cause any symbols used from libc to
   9825       # always be unresolved, which means just about no library would
   9826       # ever link correctly.  If we're not using GNU ld we use -z text
   9827       # though, which does catch some bad symbols but isn't as heavy-handed
   9828       # as -z defs.
   9829       no_undefined_flag='${wl}-z,text'
   9830       allow_undefined_flag='${wl}-z,nodefs'
   9831       archive_cmds_need_lc=no
   9832       hardcode_shlibpath_var=no
   9833       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9834       hardcode_libdir_separator=':'
   9835       link_all_deplibs=yes
   9836       export_dynamic_flag_spec='${wl}-Bexport'
   9837       runpath_var='LD_RUN_PATH'
   9838 
   9839       if test "$GCC" = yes; then
   9840 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9841 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9842       else
   9843 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9844 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9845       fi
   9846       ;;
   9847 
   9848     uts4*)
   9849       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9850       hardcode_libdir_flag_spec='-L$libdir'
   9851       hardcode_shlibpath_var=no
   9852       ;;
   9853 
   9854     *)
   9855       ld_shlibs=no
   9856       ;;
   9857     esac
   9858 
   9859     if test x$host_vendor = xsni; then
   9860       case $host in
   9861       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9862 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9863 	;;
   9864       esac
   9865     fi
   9866   fi
   9867 
   9868 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9869 echo "${ECHO_T}$ld_shlibs" >&6; }
   9870 test "$ld_shlibs" = no && can_build_shared=no
   9871 
   9872 with_gnu_ld=$with_gnu_ld
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 #
   9889 # Do we need to explicitly link libc?
   9890 #
   9891 case "x$archive_cmds_need_lc" in
   9892 x|xyes)
   9893   # Assume -lc should be added
   9894   archive_cmds_need_lc=yes
   9895 
   9896   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9897     case $archive_cmds in
   9898     *'~'*)
   9899       # FIXME: we may have to deal with multi-command sequences.
   9900       ;;
   9901     '$CC '*)
   9902       # Test whether the compiler implicitly links with -lc since on some
   9903       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9904       # to ld, don't add -lc before -lgcc.
   9905       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9906 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   9907       $RM conftest*
   9908       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9909 
   9910       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9911   (eval $ac_compile) 2>&5
   9912   ac_status=$?
   9913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9914   (exit $ac_status); } 2>conftest.err; then
   9915         soname=conftest
   9916         lib=conftest
   9917         libobjs=conftest.$ac_objext
   9918         deplibs=
   9919         wl=$lt_prog_compiler_wl
   9920 	pic_flag=$lt_prog_compiler_pic
   9921         compiler_flags=-v
   9922         linker_flags=-v
   9923         verstring=
   9924         output_objdir=.
   9925         libname=conftest
   9926         lt_save_allow_undefined_flag=$allow_undefined_flag
   9927         allow_undefined_flag=
   9928         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9929   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9930   ac_status=$?
   9931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9932   (exit $ac_status); }
   9933         then
   9934 	  archive_cmds_need_lc=no
   9935         else
   9936 	  archive_cmds_need_lc=yes
   9937         fi
   9938         allow_undefined_flag=$lt_save_allow_undefined_flag
   9939       else
   9940         cat conftest.err 1>&5
   9941       fi
   9942       $RM conftest*
   9943       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9944 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   9945       ;;
   9946     esac
   9947   fi
   9948   ;;
   9949 esac
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107   { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   10108 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   10109 
   10110 if test "$GCC" = yes; then
   10111   case $host_os in
   10112     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10113     *) lt_awk_arg="/^libraries:/" ;;
   10114   esac
   10115   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10116   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10117     # if the path contains ";" then we assume it to be the separator
   10118     # otherwise default to the standard path separator (i.e. ":") - it is
   10119     # assumed that no part of a normal pathname contains ";" but that should
   10120     # okay in the real world where ";" in dirpaths is itself problematic.
   10121     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10122   else
   10123     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10124   fi
   10125   # Ok, now we have the path, separated by spaces, we can step through it
   10126   # and add multilib dir if necessary.
   10127   lt_tmp_lt_search_path_spec=
   10128   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10129   for lt_sys_path in $lt_search_path_spec; do
   10130     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10131       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10132     else
   10133       test -d "$lt_sys_path" && \
   10134 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10135     fi
   10136   done
   10137   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10138 BEGIN {RS=" "; FS="/|\n";} {
   10139   lt_foo="";
   10140   lt_count=0;
   10141   for (lt_i = NF; lt_i > 0; lt_i--) {
   10142     if ($lt_i != "" && $lt_i != ".") {
   10143       if ($lt_i == "..") {
   10144         lt_count++;
   10145       } else {
   10146         if (lt_count == 0) {
   10147           lt_foo="/" $lt_i lt_foo;
   10148         } else {
   10149           lt_count--;
   10150         }
   10151       }
   10152     }
   10153   }
   10154   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10155   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10156 }'`
   10157   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10158 else
   10159   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10160 fi
   10161 library_names_spec=
   10162 libname_spec='lib$name'
   10163 soname_spec=
   10164 shrext_cmds=".so"
   10165 postinstall_cmds=
   10166 postuninstall_cmds=
   10167 finish_cmds=
   10168 finish_eval=
   10169 shlibpath_var=
   10170 shlibpath_overrides_runpath=unknown
   10171 version_type=none
   10172 dynamic_linker="$host_os ld.so"
   10173 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10174 need_lib_prefix=unknown
   10175 hardcode_into_libs=no
   10176 
   10177 # when you set need_version to no, make sure it does not cause -set_version
   10178 # flags to be left without arguments
   10179 need_version=unknown
   10180 
   10181 case $host_os in
   10182 aix3*)
   10183   version_type=linux
   10184   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10185   shlibpath_var=LIBPATH
   10186 
   10187   # AIX 3 has no versioning support, so we append a major version to the name.
   10188   soname_spec='${libname}${release}${shared_ext}$major'
   10189   ;;
   10190 
   10191 aix[4-9]*)
   10192   version_type=linux
   10193   need_lib_prefix=no
   10194   need_version=no
   10195   hardcode_into_libs=yes
   10196   if test "$host_cpu" = ia64; then
   10197     # AIX 5 supports IA64
   10198     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10199     shlibpath_var=LD_LIBRARY_PATH
   10200   else
   10201     # With GCC up to 2.95.x, collect2 would create an import file
   10202     # for dependence libraries.  The import file would start with
   10203     # the line `#! .'.  This would cause the generated library to
   10204     # depend on `.', always an invalid library.  This was fixed in
   10205     # development snapshots of GCC prior to 3.0.
   10206     case $host_os in
   10207       aix4 | aix4.[01] | aix4.[01].*)
   10208       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10209 	   echo ' yes '
   10210 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10211 	:
   10212       else
   10213 	can_build_shared=no
   10214       fi
   10215       ;;
   10216     esac
   10217     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10218     # soname into executable. Probably we can add versioning support to
   10219     # collect2, so additional links can be useful in future.
   10220     if test "$aix_use_runtimelinking" = yes; then
   10221       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10222       # instead of lib<name>.a to let people know that these are not
   10223       # typical AIX shared libraries.
   10224       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10225     else
   10226       # We preserve .a as extension for shared libraries through AIX4.2
   10227       # and later when we are not doing run time linking.
   10228       library_names_spec='${libname}${release}.a $libname.a'
   10229       soname_spec='${libname}${release}${shared_ext}$major'
   10230     fi
   10231     shlibpath_var=LIBPATH
   10232   fi
   10233   ;;
   10234 
   10235 amigaos*)
   10236   case $host_cpu in
   10237   powerpc)
   10238     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10239     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10240     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10241     ;;
   10242   m68k)
   10243     library_names_spec='$libname.ixlibrary $libname.a'
   10244     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10245     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'
   10246     ;;
   10247   esac
   10248   ;;
   10249 
   10250 beos*)
   10251   library_names_spec='${libname}${shared_ext}'
   10252   dynamic_linker="$host_os ld.so"
   10253   shlibpath_var=LIBRARY_PATH
   10254   ;;
   10255 
   10256 bsdi[45]*)
   10257   version_type=linux
   10258   need_version=no
   10259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10260   soname_spec='${libname}${release}${shared_ext}$major'
   10261   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10262   shlibpath_var=LD_LIBRARY_PATH
   10263   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10264   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10265   # the default ld.so.conf also contains /usr/contrib/lib and
   10266   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10267   # libtool to hard-code these into programs
   10268   ;;
   10269 
   10270 cygwin* | mingw* | pw32*)
   10271   version_type=windows
   10272   shrext_cmds=".dll"
   10273   need_version=no
   10274   need_lib_prefix=no
   10275 
   10276   case $GCC,$host_os in
   10277   yes,cygwin* | yes,mingw* | yes,pw32*)
   10278     library_names_spec='$libname.dll.a'
   10279     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10280     postinstall_cmds='base_file=`basename \${file}`~
   10281       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10282       dldir=$destdir/`dirname \$dlpath`~
   10283       test -d \$dldir || mkdir -p \$dldir~
   10284       $install_prog $dir/$dlname \$dldir/$dlname~
   10285       chmod a+x \$dldir/$dlname~
   10286       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10287         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10288       fi'
   10289     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10290       dlpath=$dir/\$dldll~
   10291        $RM \$dlpath'
   10292     shlibpath_overrides_runpath=yes
   10293 
   10294     case $host_os in
   10295     cygwin*)
   10296       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10297       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10298       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10299       ;;
   10300     mingw*)
   10301       # MinGW DLLs use traditional 'lib' prefix
   10302       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10303       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10304       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10305         # It is most probably a Windows format PATH printed by
   10306         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10307         # path with ; separators, and with drive letters. We can handle the
   10308         # drive letters (cygwin fileutils understands them), so leave them,
   10309         # especially as we might pass files found there to a mingw objdump,
   10310         # which wouldn't understand a cygwinified path. Ahh.
   10311         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10312       else
   10313         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10314       fi
   10315       ;;
   10316     pw32*)
   10317       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10318       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10319       ;;
   10320     esac
   10321     ;;
   10322 
   10323   *)
   10324     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10325     ;;
   10326   esac
   10327   dynamic_linker='Win32 ld.exe'
   10328   # FIXME: first we should search . and the directory the executable is in
   10329   shlibpath_var=PATH
   10330   ;;
   10331 
   10332 darwin* | rhapsody*)
   10333   dynamic_linker="$host_os dyld"
   10334   version_type=darwin
   10335   need_lib_prefix=no
   10336   need_version=no
   10337   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10338   soname_spec='${libname}${release}${major}$shared_ext'
   10339   shlibpath_overrides_runpath=yes
   10340   shlibpath_var=DYLD_LIBRARY_PATH
   10341   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10342 
   10343   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10344   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10345   ;;
   10346 
   10347 dgux*)
   10348   version_type=linux
   10349   need_lib_prefix=no
   10350   need_version=no
   10351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10352   soname_spec='${libname}${release}${shared_ext}$major'
   10353   shlibpath_var=LD_LIBRARY_PATH
   10354   ;;
   10355 
   10356 freebsd1*)
   10357   dynamic_linker=no
   10358   ;;
   10359 
   10360 freebsd* | dragonfly*)
   10361   # DragonFly does not have aout.  When/if they implement a new
   10362   # versioning mechanism, adjust this.
   10363   if test -x /usr/bin/objformat; then
   10364     objformat=`/usr/bin/objformat`
   10365   else
   10366     case $host_os in
   10367     freebsd[123]*) objformat=aout ;;
   10368     *) objformat=elf ;;
   10369     esac
   10370   fi
   10371   version_type=freebsd-$objformat
   10372   case $version_type in
   10373     freebsd-elf*)
   10374       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10375       need_version=no
   10376       need_lib_prefix=no
   10377       ;;
   10378     freebsd-*)
   10379       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10380       need_version=yes
   10381       ;;
   10382   esac
   10383   shlibpath_var=LD_LIBRARY_PATH
   10384   case $host_os in
   10385   freebsd2*)
   10386     shlibpath_overrides_runpath=yes
   10387     ;;
   10388   freebsd3.[01]* | freebsdelf3.[01]*)
   10389     shlibpath_overrides_runpath=yes
   10390     hardcode_into_libs=yes
   10391     ;;
   10392   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10393   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10394     shlibpath_overrides_runpath=no
   10395     hardcode_into_libs=yes
   10396     ;;
   10397   *) # from 4.6 on, and DragonFly
   10398     shlibpath_overrides_runpath=yes
   10399     hardcode_into_libs=yes
   10400     ;;
   10401   esac
   10402   ;;
   10403 
   10404 gnu*)
   10405   version_type=linux
   10406   need_lib_prefix=no
   10407   need_version=no
   10408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10409   soname_spec='${libname}${release}${shared_ext}$major'
   10410   shlibpath_var=LD_LIBRARY_PATH
   10411   hardcode_into_libs=yes
   10412   ;;
   10413 
   10414 hpux9* | hpux10* | hpux11*)
   10415   # Give a soname corresponding to the major version so that dld.sl refuses to
   10416   # link against other versions.
   10417   version_type=sunos
   10418   need_lib_prefix=no
   10419   need_version=no
   10420   case $host_cpu in
   10421   ia64*)
   10422     shrext_cmds='.so'
   10423     hardcode_into_libs=yes
   10424     dynamic_linker="$host_os dld.so"
   10425     shlibpath_var=LD_LIBRARY_PATH
   10426     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10427     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10428     soname_spec='${libname}${release}${shared_ext}$major'
   10429     if test "X$HPUX_IA64_MODE" = X32; then
   10430       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10431     else
   10432       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10433     fi
   10434     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10435     ;;
   10436   hppa*64*)
   10437     shrext_cmds='.sl'
   10438     hardcode_into_libs=yes
   10439     dynamic_linker="$host_os dld.sl"
   10440     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10441     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10442     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10443     soname_spec='${libname}${release}${shared_ext}$major'
   10444     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10445     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10446     ;;
   10447   *)
   10448     shrext_cmds='.sl'
   10449     dynamic_linker="$host_os dld.sl"
   10450     shlibpath_var=SHLIB_PATH
   10451     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10452     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10453     soname_spec='${libname}${release}${shared_ext}$major'
   10454     ;;
   10455   esac
   10456   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10457   postinstall_cmds='chmod 555 $lib'
   10458   ;;
   10459 
   10460 interix[3-9]*)
   10461   version_type=linux
   10462   need_lib_prefix=no
   10463   need_version=no
   10464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10465   soname_spec='${libname}${release}${shared_ext}$major'
   10466   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10467   shlibpath_var=LD_LIBRARY_PATH
   10468   shlibpath_overrides_runpath=no
   10469   hardcode_into_libs=yes
   10470   ;;
   10471 
   10472 irix5* | irix6* | nonstopux*)
   10473   case $host_os in
   10474     nonstopux*) version_type=nonstopux ;;
   10475     *)
   10476 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10477 		version_type=linux
   10478 	else
   10479 		version_type=irix
   10480 	fi ;;
   10481   esac
   10482   need_lib_prefix=no
   10483   need_version=no
   10484   soname_spec='${libname}${release}${shared_ext}$major'
   10485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10486   case $host_os in
   10487   irix5* | nonstopux*)
   10488     libsuff= shlibsuff=
   10489     ;;
   10490   *)
   10491     case $LD in # libtool.m4 will add one of these switches to LD
   10492     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10493       libsuff= shlibsuff= libmagic=32-bit;;
   10494     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10495       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10496     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10497       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10498     *) libsuff= shlibsuff= libmagic=never-match;;
   10499     esac
   10500     ;;
   10501   esac
   10502   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10503   shlibpath_overrides_runpath=no
   10504   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10505   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10506   hardcode_into_libs=yes
   10507   ;;
   10508 
   10509 # No shared lib support for Linux oldld, aout, or coff.
   10510 linux*oldld* | linux*aout* | linux*coff*)
   10511   dynamic_linker=no
   10512   ;;
   10513 
   10514 # This must be Linux ELF.
   10515 linux* | k*bsd*-gnu)
   10516   version_type=linux
   10517   need_lib_prefix=no
   10518   need_version=no
   10519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10520   soname_spec='${libname}${release}${shared_ext}$major'
   10521   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10522   shlibpath_var=LD_LIBRARY_PATH
   10523   shlibpath_overrides_runpath=no
   10524   # Some binutils ld are patched to set DT_RUNPATH
   10525   save_LDFLAGS=$LDFLAGS
   10526   save_libdir=$libdir
   10527   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10528        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10529   cat >conftest.$ac_ext <<_ACEOF
   10530 /* confdefs.h.  */
   10531 _ACEOF
   10532 cat confdefs.h >>conftest.$ac_ext
   10533 cat >>conftest.$ac_ext <<_ACEOF
   10534 /* end confdefs.h.  */
   10535 
   10536 int
   10537 main ()
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 rm -f conftest.$ac_objext conftest$ac_exeext
   10545 if { (ac_try="$ac_link"
   10546 case "(($ac_try" in
   10547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10548   *) ac_try_echo=$ac_try;;
   10549 esac
   10550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10551   (eval "$ac_link") 2>conftest.er1
   10552   ac_status=$?
   10553   grep -v '^ *+' conftest.er1 >conftest.err
   10554   rm -f conftest.er1
   10555   cat conftest.err >&5
   10556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10557   (exit $ac_status); } && {
   10558 	 test -z "$ac_c_werror_flag" ||
   10559 	 test ! -s conftest.err
   10560        } && test -s conftest$ac_exeext &&
   10561        $as_test_x conftest$ac_exeext; then
   10562   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   10563   shlibpath_overrides_runpath=yes
   10564 fi
   10565 
   10566 else
   10567   echo "$as_me: failed program was:" >&5
   10568 sed 's/^/| /' conftest.$ac_ext >&5
   10569 
   10570 
   10571 fi
   10572 
   10573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10574       conftest$ac_exeext conftest.$ac_ext
   10575   LDFLAGS=$save_LDFLAGS
   10576   libdir=$save_libdir
   10577 
   10578   # This implies no fast_install, which is unacceptable.
   10579   # Some rework will be needed to allow for fast_install
   10580   # before this can be enabled.
   10581   hardcode_into_libs=yes
   10582 
   10583   # Append ld.so.conf contents to the search path
   10584   if test -f /etc/ld.so.conf; then
   10585     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' ' '`
   10586     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10587   fi
   10588 
   10589   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10590   # powerpc, because MkLinux only supported shared libraries with the
   10591   # GNU dynamic linker.  Since this was broken with cross compilers,
   10592   # most powerpc-linux boxes support dynamic linking these days and
   10593   # people can always --disable-shared, the test was removed, and we
   10594   # assume the GNU/Linux dynamic linker is in use.
   10595   dynamic_linker='GNU/Linux ld.so'
   10596   ;;
   10597 
   10598 netbsdelf*-gnu)
   10599   version_type=linux
   10600   need_lib_prefix=no
   10601   need_version=no
   10602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10603   soname_spec='${libname}${release}${shared_ext}$major'
   10604   shlibpath_var=LD_LIBRARY_PATH
   10605   shlibpath_overrides_runpath=no
   10606   hardcode_into_libs=yes
   10607   dynamic_linker='NetBSD ld.elf_so'
   10608   ;;
   10609 
   10610 netbsd*)
   10611   version_type=sunos
   10612   need_lib_prefix=no
   10613   need_version=no
   10614   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10615     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10616     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10617     dynamic_linker='NetBSD (a.out) ld.so'
   10618   else
   10619     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10620     soname_spec='${libname}${release}${shared_ext}$major'
   10621     dynamic_linker='NetBSD ld.elf_so'
   10622   fi
   10623   shlibpath_var=LD_LIBRARY_PATH
   10624   shlibpath_overrides_runpath=yes
   10625   hardcode_into_libs=yes
   10626   ;;
   10627 
   10628 newsos6)
   10629   version_type=linux
   10630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10631   shlibpath_var=LD_LIBRARY_PATH
   10632   shlibpath_overrides_runpath=yes
   10633   ;;
   10634 
   10635 *nto* | *qnx*)
   10636   version_type=qnx
   10637   need_lib_prefix=no
   10638   need_version=no
   10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10640   soname_spec='${libname}${release}${shared_ext}$major'
   10641   shlibpath_var=LD_LIBRARY_PATH
   10642   shlibpath_overrides_runpath=no
   10643   hardcode_into_libs=yes
   10644   dynamic_linker='ldqnx.so'
   10645   ;;
   10646 
   10647 openbsd*)
   10648   version_type=sunos
   10649   sys_lib_dlsearch_path_spec="/usr/lib"
   10650   need_lib_prefix=no
   10651   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10652   case $host_os in
   10653     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10654     *)				need_version=no  ;;
   10655   esac
   10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10657   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10658   shlibpath_var=LD_LIBRARY_PATH
   10659   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10660     case $host_os in
   10661       openbsd2.[89] | openbsd2.[89].*)
   10662 	shlibpath_overrides_runpath=no
   10663 	;;
   10664       *)
   10665 	shlibpath_overrides_runpath=yes
   10666 	;;
   10667       esac
   10668   else
   10669     shlibpath_overrides_runpath=yes
   10670   fi
   10671   ;;
   10672 
   10673 os2*)
   10674   libname_spec='$name'
   10675   shrext_cmds=".dll"
   10676   need_lib_prefix=no
   10677   library_names_spec='$libname${shared_ext} $libname.a'
   10678   dynamic_linker='OS/2 ld.exe'
   10679   shlibpath_var=LIBPATH
   10680   ;;
   10681 
   10682 osf3* | osf4* | osf5*)
   10683   version_type=osf
   10684   need_lib_prefix=no
   10685   need_version=no
   10686   soname_spec='${libname}${release}${shared_ext}$major'
   10687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10688   shlibpath_var=LD_LIBRARY_PATH
   10689   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10690   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10691   ;;
   10692 
   10693 rdos*)
   10694   dynamic_linker=no
   10695   ;;
   10696 
   10697 solaris*)
   10698   version_type=linux
   10699   need_lib_prefix=no
   10700   need_version=no
   10701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10702   soname_spec='${libname}${release}${shared_ext}$major'
   10703   shlibpath_var=LD_LIBRARY_PATH
   10704   shlibpath_overrides_runpath=yes
   10705   hardcode_into_libs=yes
   10706   # ldd complains unless libraries are executable
   10707   postinstall_cmds='chmod +x $lib'
   10708   ;;
   10709 
   10710 sunos4*)
   10711   version_type=sunos
   10712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10713   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10714   shlibpath_var=LD_LIBRARY_PATH
   10715   shlibpath_overrides_runpath=yes
   10716   if test "$with_gnu_ld" = yes; then
   10717     need_lib_prefix=no
   10718   fi
   10719   need_version=yes
   10720   ;;
   10721 
   10722 sysv4 | sysv4.3*)
   10723   version_type=linux
   10724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10725   soname_spec='${libname}${release}${shared_ext}$major'
   10726   shlibpath_var=LD_LIBRARY_PATH
   10727   case $host_vendor in
   10728     sni)
   10729       shlibpath_overrides_runpath=no
   10730       need_lib_prefix=no
   10731       runpath_var=LD_RUN_PATH
   10732       ;;
   10733     siemens)
   10734       need_lib_prefix=no
   10735       ;;
   10736     motorola)
   10737       need_lib_prefix=no
   10738       need_version=no
   10739       shlibpath_overrides_runpath=no
   10740       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10741       ;;
   10742   esac
   10743   ;;
   10744 
   10745 sysv4*MP*)
   10746   if test -d /usr/nec ;then
   10747     version_type=linux
   10748     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10749     soname_spec='$libname${shared_ext}.$major'
   10750     shlibpath_var=LD_LIBRARY_PATH
   10751   fi
   10752   ;;
   10753 
   10754 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10755   version_type=freebsd-elf
   10756   need_lib_prefix=no
   10757   need_version=no
   10758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10759   soname_spec='${libname}${release}${shared_ext}$major'
   10760   shlibpath_var=LD_LIBRARY_PATH
   10761   shlibpath_overrides_runpath=yes
   10762   hardcode_into_libs=yes
   10763   if test "$with_gnu_ld" = yes; then
   10764     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10765   else
   10766     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10767     case $host_os in
   10768       sco3.2v5*)
   10769         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10770 	;;
   10771     esac
   10772   fi
   10773   sys_lib_dlsearch_path_spec='/usr/lib'
   10774   ;;
   10775 
   10776 tpf*)
   10777   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10778   version_type=linux
   10779   need_lib_prefix=no
   10780   need_version=no
   10781   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10782   shlibpath_var=LD_LIBRARY_PATH
   10783   shlibpath_overrides_runpath=no
   10784   hardcode_into_libs=yes
   10785   ;;
   10786 
   10787 uts4*)
   10788   version_type=linux
   10789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10790   soname_spec='${libname}${release}${shared_ext}$major'
   10791   shlibpath_var=LD_LIBRARY_PATH
   10792   ;;
   10793 
   10794 *)
   10795   dynamic_linker=no
   10796   ;;
   10797 esac
   10798 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10799 echo "${ECHO_T}$dynamic_linker" >&6; }
   10800 test "$dynamic_linker" = no && can_build_shared=no
   10801 
   10802 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10803 if test "$GCC" = yes; then
   10804   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10805 fi
   10806 
   10807 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10808   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10809 fi
   10810 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10811   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10812 fi
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900   { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10901 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   10902 hardcode_action=
   10903 if test -n "$hardcode_libdir_flag_spec" ||
   10904    test -n "$runpath_var" ||
   10905    test "X$hardcode_automatic" = "Xyes" ; then
   10906 
   10907   # We can hardcode non-existent directories.
   10908   if test "$hardcode_direct" != no &&
   10909      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10910      # have to relink, otherwise we might link with an installed library
   10911      # when we should be linking with a yet-to-be-installed one
   10912      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10913      test "$hardcode_minus_L" != no; then
   10914     # Linking always hardcodes the temporary library directory.
   10915     hardcode_action=relink
   10916   else
   10917     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10918     hardcode_action=immediate
   10919   fi
   10920 else
   10921   # We cannot hardcode anything, or else we can only hardcode existing
   10922   # directories.
   10923   hardcode_action=unsupported
   10924 fi
   10925 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10926 echo "${ECHO_T}$hardcode_action" >&6; }
   10927 
   10928 if test "$hardcode_action" = relink ||
   10929    test "$inherit_rpath" = yes; then
   10930   # Fast installation is not supported
   10931   enable_fast_install=no
   10932 elif test "$shlibpath_overrides_runpath" = yes ||
   10933      test "$enable_shared" = no; then
   10934   # Fast installation is not necessary
   10935   enable_fast_install=needless
   10936 fi
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943   if test "x$enable_dlopen" != xyes; then
   10944   enable_dlopen=unknown
   10945   enable_dlopen_self=unknown
   10946   enable_dlopen_self_static=unknown
   10947 else
   10948   lt_cv_dlopen=no
   10949   lt_cv_dlopen_libs=
   10950 
   10951   case $host_os in
   10952   beos*)
   10953     lt_cv_dlopen="load_add_on"
   10954     lt_cv_dlopen_libs=
   10955     lt_cv_dlopen_self=yes
   10956     ;;
   10957 
   10958   mingw* | pw32*)
   10959     lt_cv_dlopen="LoadLibrary"
   10960     lt_cv_dlopen_libs=
   10961     ;;
   10962 
   10963   cygwin*)
   10964     lt_cv_dlopen="dlopen"
   10965     lt_cv_dlopen_libs=
   10966     ;;
   10967 
   10968   darwin*)
   10969   # if libdl is installed we need to link against it
   10970     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10971 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10972 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10973   echo $ECHO_N "(cached) $ECHO_C" >&6
   10974 else
   10975   ac_check_lib_save_LIBS=$LIBS
   10976 LIBS="-ldl  $LIBS"
   10977 cat >conftest.$ac_ext <<_ACEOF
   10978 /* confdefs.h.  */
   10979 _ACEOF
   10980 cat confdefs.h >>conftest.$ac_ext
   10981 cat >>conftest.$ac_ext <<_ACEOF
   10982 /* end confdefs.h.  */
   10983 
   10984 /* Override any GCC internal prototype to avoid an error.
   10985    Use char because int might match the return type of a GCC
   10986    builtin and then its argument prototype would still apply.  */
   10987 #ifdef __cplusplus
   10988 extern "C"
   10989 #endif
   10990 char dlopen ();
   10991 int
   10992 main ()
   10993 {
   10994 return dlopen ();
   10995   ;
   10996   return 0;
   10997 }
   10998 _ACEOF
   10999 rm -f conftest.$ac_objext conftest$ac_exeext
   11000 if { (ac_try="$ac_link"
   11001 case "(($ac_try" in
   11002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11003   *) ac_try_echo=$ac_try;;
   11004 esac
   11005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11006   (eval "$ac_link") 2>conftest.er1
   11007   ac_status=$?
   11008   grep -v '^ *+' conftest.er1 >conftest.err
   11009   rm -f conftest.er1
   11010   cat conftest.err >&5
   11011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11012   (exit $ac_status); } && {
   11013 	 test -z "$ac_c_werror_flag" ||
   11014 	 test ! -s conftest.err
   11015        } && test -s conftest$ac_exeext &&
   11016        $as_test_x conftest$ac_exeext; then
   11017   ac_cv_lib_dl_dlopen=yes
   11018 else
   11019   echo "$as_me: failed program was:" >&5
   11020 sed 's/^/| /' conftest.$ac_ext >&5
   11021 
   11022 	ac_cv_lib_dl_dlopen=no
   11023 fi
   11024 
   11025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11026       conftest$ac_exeext conftest.$ac_ext
   11027 LIBS=$ac_check_lib_save_LIBS
   11028 fi
   11029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11030 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   11031 if test $ac_cv_lib_dl_dlopen = yes; then
   11032   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11033 else
   11034 
   11035     lt_cv_dlopen="dyld"
   11036     lt_cv_dlopen_libs=
   11037     lt_cv_dlopen_self=yes
   11038 
   11039 fi
   11040 
   11041     ;;
   11042 
   11043   *)
   11044     { echo "$as_me:$LINENO: checking for shl_load" >&5
   11045 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   11046 if test "${ac_cv_func_shl_load+set}" = set; then
   11047   echo $ECHO_N "(cached) $ECHO_C" >&6
   11048 else
   11049   cat >conftest.$ac_ext <<_ACEOF
   11050 /* confdefs.h.  */
   11051 _ACEOF
   11052 cat confdefs.h >>conftest.$ac_ext
   11053 cat >>conftest.$ac_ext <<_ACEOF
   11054 /* end confdefs.h.  */
   11055 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   11056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11057 #define shl_load innocuous_shl_load
   11058 
   11059 /* System header to define __stub macros and hopefully few prototypes,
   11060     which can conflict with char shl_load (); below.
   11061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11062     <limits.h> exists even on freestanding compilers.  */
   11063 
   11064 #ifdef __STDC__
   11065 # include <limits.h>
   11066 #else
   11067 # include <assert.h>
   11068 #endif
   11069 
   11070 #undef shl_load
   11071 
   11072 /* Override any GCC internal prototype to avoid an error.
   11073    Use char because int might match the return type of a GCC
   11074    builtin and then its argument prototype would still apply.  */
   11075 #ifdef __cplusplus
   11076 extern "C"
   11077 #endif
   11078 char shl_load ();
   11079 /* The GNU C library defines this for functions which it implements
   11080     to always fail with ENOSYS.  Some functions are actually named
   11081     something starting with __ and the normal name is an alias.  */
   11082 #if defined __stub_shl_load || defined __stub___shl_load
   11083 choke me
   11084 #endif
   11085 
   11086 int
   11087 main ()
   11088 {
   11089 return shl_load ();
   11090   ;
   11091   return 0;
   11092 }
   11093 _ACEOF
   11094 rm -f conftest.$ac_objext conftest$ac_exeext
   11095 if { (ac_try="$ac_link"
   11096 case "(($ac_try" in
   11097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11098   *) ac_try_echo=$ac_try;;
   11099 esac
   11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11101   (eval "$ac_link") 2>conftest.er1
   11102   ac_status=$?
   11103   grep -v '^ *+' conftest.er1 >conftest.err
   11104   rm -f conftest.er1
   11105   cat conftest.err >&5
   11106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11107   (exit $ac_status); } && {
   11108 	 test -z "$ac_c_werror_flag" ||
   11109 	 test ! -s conftest.err
   11110        } && test -s conftest$ac_exeext &&
   11111        $as_test_x conftest$ac_exeext; then
   11112   ac_cv_func_shl_load=yes
   11113 else
   11114   echo "$as_me: failed program was:" >&5
   11115 sed 's/^/| /' conftest.$ac_ext >&5
   11116 
   11117 	ac_cv_func_shl_load=no
   11118 fi
   11119 
   11120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11121       conftest$ac_exeext conftest.$ac_ext
   11122 fi
   11123 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   11124 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   11125 if test $ac_cv_func_shl_load = yes; then
   11126   lt_cv_dlopen="shl_load"
   11127 else
   11128   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   11129 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   11130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   11131   echo $ECHO_N "(cached) $ECHO_C" >&6
   11132 else
   11133   ac_check_lib_save_LIBS=$LIBS
   11134 LIBS="-ldld  $LIBS"
   11135 cat >conftest.$ac_ext <<_ACEOF
   11136 /* confdefs.h.  */
   11137 _ACEOF
   11138 cat confdefs.h >>conftest.$ac_ext
   11139 cat >>conftest.$ac_ext <<_ACEOF
   11140 /* end confdefs.h.  */
   11141 
   11142 /* Override any GCC internal prototype to avoid an error.
   11143    Use char because int might match the return type of a GCC
   11144    builtin and then its argument prototype would still apply.  */
   11145 #ifdef __cplusplus
   11146 extern "C"
   11147 #endif
   11148 char shl_load ();
   11149 int
   11150 main ()
   11151 {
   11152 return shl_load ();
   11153   ;
   11154   return 0;
   11155 }
   11156 _ACEOF
   11157 rm -f conftest.$ac_objext conftest$ac_exeext
   11158 if { (ac_try="$ac_link"
   11159 case "(($ac_try" in
   11160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11161   *) ac_try_echo=$ac_try;;
   11162 esac
   11163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11164   (eval "$ac_link") 2>conftest.er1
   11165   ac_status=$?
   11166   grep -v '^ *+' conftest.er1 >conftest.err
   11167   rm -f conftest.er1
   11168   cat conftest.err >&5
   11169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11170   (exit $ac_status); } && {
   11171 	 test -z "$ac_c_werror_flag" ||
   11172 	 test ! -s conftest.err
   11173        } && test -s conftest$ac_exeext &&
   11174        $as_test_x conftest$ac_exeext; then
   11175   ac_cv_lib_dld_shl_load=yes
   11176 else
   11177   echo "$as_me: failed program was:" >&5
   11178 sed 's/^/| /' conftest.$ac_ext >&5
   11179 
   11180 	ac_cv_lib_dld_shl_load=no
   11181 fi
   11182 
   11183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11184       conftest$ac_exeext conftest.$ac_ext
   11185 LIBS=$ac_check_lib_save_LIBS
   11186 fi
   11187 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   11188 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   11189 if test $ac_cv_lib_dld_shl_load = yes; then
   11190   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11191 else
   11192   { echo "$as_me:$LINENO: checking for dlopen" >&5
   11193 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   11194 if test "${ac_cv_func_dlopen+set}" = set; then
   11195   echo $ECHO_N "(cached) $ECHO_C" >&6
   11196 else
   11197   cat >conftest.$ac_ext <<_ACEOF
   11198 /* confdefs.h.  */
   11199 _ACEOF
   11200 cat confdefs.h >>conftest.$ac_ext
   11201 cat >>conftest.$ac_ext <<_ACEOF
   11202 /* end confdefs.h.  */
   11203 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   11204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11205 #define dlopen innocuous_dlopen
   11206 
   11207 /* System header to define __stub macros and hopefully few prototypes,
   11208     which can conflict with char dlopen (); below.
   11209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11210     <limits.h> exists even on freestanding compilers.  */
   11211 
   11212 #ifdef __STDC__
   11213 # include <limits.h>
   11214 #else
   11215 # include <assert.h>
   11216 #endif
   11217 
   11218 #undef dlopen
   11219 
   11220 /* Override any GCC internal prototype to avoid an error.
   11221    Use char because int might match the return type of a GCC
   11222    builtin and then its argument prototype would still apply.  */
   11223 #ifdef __cplusplus
   11224 extern "C"
   11225 #endif
   11226 char dlopen ();
   11227 /* The GNU C library defines this for functions which it implements
   11228     to always fail with ENOSYS.  Some functions are actually named
   11229     something starting with __ and the normal name is an alias.  */
   11230 #if defined __stub_dlopen || defined __stub___dlopen
   11231 choke me
   11232 #endif
   11233 
   11234 int
   11235 main ()
   11236 {
   11237 return dlopen ();
   11238   ;
   11239   return 0;
   11240 }
   11241 _ACEOF
   11242 rm -f conftest.$ac_objext conftest$ac_exeext
   11243 if { (ac_try="$ac_link"
   11244 case "(($ac_try" in
   11245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11246   *) ac_try_echo=$ac_try;;
   11247 esac
   11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11249   (eval "$ac_link") 2>conftest.er1
   11250   ac_status=$?
   11251   grep -v '^ *+' conftest.er1 >conftest.err
   11252   rm -f conftest.er1
   11253   cat conftest.err >&5
   11254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11255   (exit $ac_status); } && {
   11256 	 test -z "$ac_c_werror_flag" ||
   11257 	 test ! -s conftest.err
   11258        } && test -s conftest$ac_exeext &&
   11259        $as_test_x conftest$ac_exeext; then
   11260   ac_cv_func_dlopen=yes
   11261 else
   11262   echo "$as_me: failed program was:" >&5
   11263 sed 's/^/| /' conftest.$ac_ext >&5
   11264 
   11265 	ac_cv_func_dlopen=no
   11266 fi
   11267 
   11268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11269       conftest$ac_exeext conftest.$ac_ext
   11270 fi
   11271 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   11272 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   11273 if test $ac_cv_func_dlopen = yes; then
   11274   lt_cv_dlopen="dlopen"
   11275 else
   11276   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11277 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   11278 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11279   echo $ECHO_N "(cached) $ECHO_C" >&6
   11280 else
   11281   ac_check_lib_save_LIBS=$LIBS
   11282 LIBS="-ldl  $LIBS"
   11283 cat >conftest.$ac_ext <<_ACEOF
   11284 /* confdefs.h.  */
   11285 _ACEOF
   11286 cat confdefs.h >>conftest.$ac_ext
   11287 cat >>conftest.$ac_ext <<_ACEOF
   11288 /* end confdefs.h.  */
   11289 
   11290 /* Override any GCC internal prototype to avoid an error.
   11291    Use char because int might match the return type of a GCC
   11292    builtin and then its argument prototype would still apply.  */
   11293 #ifdef __cplusplus
   11294 extern "C"
   11295 #endif
   11296 char dlopen ();
   11297 int
   11298 main ()
   11299 {
   11300 return dlopen ();
   11301   ;
   11302   return 0;
   11303 }
   11304 _ACEOF
   11305 rm -f conftest.$ac_objext conftest$ac_exeext
   11306 if { (ac_try="$ac_link"
   11307 case "(($ac_try" in
   11308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11309   *) ac_try_echo=$ac_try;;
   11310 esac
   11311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11312   (eval "$ac_link") 2>conftest.er1
   11313   ac_status=$?
   11314   grep -v '^ *+' conftest.er1 >conftest.err
   11315   rm -f conftest.er1
   11316   cat conftest.err >&5
   11317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11318   (exit $ac_status); } && {
   11319 	 test -z "$ac_c_werror_flag" ||
   11320 	 test ! -s conftest.err
   11321        } && test -s conftest$ac_exeext &&
   11322        $as_test_x conftest$ac_exeext; then
   11323   ac_cv_lib_dl_dlopen=yes
   11324 else
   11325   echo "$as_me: failed program was:" >&5
   11326 sed 's/^/| /' conftest.$ac_ext >&5
   11327 
   11328 	ac_cv_lib_dl_dlopen=no
   11329 fi
   11330 
   11331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11332       conftest$ac_exeext conftest.$ac_ext
   11333 LIBS=$ac_check_lib_save_LIBS
   11334 fi
   11335 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11336 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   11337 if test $ac_cv_lib_dl_dlopen = yes; then
   11338   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11339 else
   11340   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11341 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   11342 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11343   echo $ECHO_N "(cached) $ECHO_C" >&6
   11344 else
   11345   ac_check_lib_save_LIBS=$LIBS
   11346 LIBS="-lsvld  $LIBS"
   11347 cat >conftest.$ac_ext <<_ACEOF
   11348 /* confdefs.h.  */
   11349 _ACEOF
   11350 cat confdefs.h >>conftest.$ac_ext
   11351 cat >>conftest.$ac_ext <<_ACEOF
   11352 /* end confdefs.h.  */
   11353 
   11354 /* Override any GCC internal prototype to avoid an error.
   11355    Use char because int might match the return type of a GCC
   11356    builtin and then its argument prototype would still apply.  */
   11357 #ifdef __cplusplus
   11358 extern "C"
   11359 #endif
   11360 char dlopen ();
   11361 int
   11362 main ()
   11363 {
   11364 return dlopen ();
   11365   ;
   11366   return 0;
   11367 }
   11368 _ACEOF
   11369 rm -f conftest.$ac_objext conftest$ac_exeext
   11370 if { (ac_try="$ac_link"
   11371 case "(($ac_try" in
   11372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11373   *) ac_try_echo=$ac_try;;
   11374 esac
   11375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11376   (eval "$ac_link") 2>conftest.er1
   11377   ac_status=$?
   11378   grep -v '^ *+' conftest.er1 >conftest.err
   11379   rm -f conftest.er1
   11380   cat conftest.err >&5
   11381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11382   (exit $ac_status); } && {
   11383 	 test -z "$ac_c_werror_flag" ||
   11384 	 test ! -s conftest.err
   11385        } && test -s conftest$ac_exeext &&
   11386        $as_test_x conftest$ac_exeext; then
   11387   ac_cv_lib_svld_dlopen=yes
   11388 else
   11389   echo "$as_me: failed program was:" >&5
   11390 sed 's/^/| /' conftest.$ac_ext >&5
   11391 
   11392 	ac_cv_lib_svld_dlopen=no
   11393 fi
   11394 
   11395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11396       conftest$ac_exeext conftest.$ac_ext
   11397 LIBS=$ac_check_lib_save_LIBS
   11398 fi
   11399 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11400 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   11401 if test $ac_cv_lib_svld_dlopen = yes; then
   11402   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11403 else
   11404   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11405 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   11406 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11407   echo $ECHO_N "(cached) $ECHO_C" >&6
   11408 else
   11409   ac_check_lib_save_LIBS=$LIBS
   11410 LIBS="-ldld  $LIBS"
   11411 cat >conftest.$ac_ext <<_ACEOF
   11412 /* confdefs.h.  */
   11413 _ACEOF
   11414 cat confdefs.h >>conftest.$ac_ext
   11415 cat >>conftest.$ac_ext <<_ACEOF
   11416 /* end confdefs.h.  */
   11417 
   11418 /* Override any GCC internal prototype to avoid an error.
   11419    Use char because int might match the return type of a GCC
   11420    builtin and then its argument prototype would still apply.  */
   11421 #ifdef __cplusplus
   11422 extern "C"
   11423 #endif
   11424 char dld_link ();
   11425 int
   11426 main ()
   11427 {
   11428 return dld_link ();
   11429   ;
   11430   return 0;
   11431 }
   11432 _ACEOF
   11433 rm -f conftest.$ac_objext conftest$ac_exeext
   11434 if { (ac_try="$ac_link"
   11435 case "(($ac_try" in
   11436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11437   *) ac_try_echo=$ac_try;;
   11438 esac
   11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11440   (eval "$ac_link") 2>conftest.er1
   11441   ac_status=$?
   11442   grep -v '^ *+' conftest.er1 >conftest.err
   11443   rm -f conftest.er1
   11444   cat conftest.err >&5
   11445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11446   (exit $ac_status); } && {
   11447 	 test -z "$ac_c_werror_flag" ||
   11448 	 test ! -s conftest.err
   11449        } && test -s conftest$ac_exeext &&
   11450        $as_test_x conftest$ac_exeext; then
   11451   ac_cv_lib_dld_dld_link=yes
   11452 else
   11453   echo "$as_me: failed program was:" >&5
   11454 sed 's/^/| /' conftest.$ac_ext >&5
   11455 
   11456 	ac_cv_lib_dld_dld_link=no
   11457 fi
   11458 
   11459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11460       conftest$ac_exeext conftest.$ac_ext
   11461 LIBS=$ac_check_lib_save_LIBS
   11462 fi
   11463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11464 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   11465 if test $ac_cv_lib_dld_dld_link = yes; then
   11466   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11467 fi
   11468 
   11469 
   11470 fi
   11471 
   11472 
   11473 fi
   11474 
   11475 
   11476 fi
   11477 
   11478 
   11479 fi
   11480 
   11481 
   11482 fi
   11483 
   11484     ;;
   11485   esac
   11486 
   11487   if test "x$lt_cv_dlopen" != xno; then
   11488     enable_dlopen=yes
   11489   else
   11490     enable_dlopen=no
   11491   fi
   11492 
   11493   case $lt_cv_dlopen in
   11494   dlopen)
   11495     save_CPPFLAGS="$CPPFLAGS"
   11496     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11497 
   11498     save_LDFLAGS="$LDFLAGS"
   11499     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11500 
   11501     save_LIBS="$LIBS"
   11502     LIBS="$lt_cv_dlopen_libs $LIBS"
   11503 
   11504     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   11505 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   11506 if test "${lt_cv_dlopen_self+set}" = set; then
   11507   echo $ECHO_N "(cached) $ECHO_C" >&6
   11508 else
   11509   	  if test "$cross_compiling" = yes; then :
   11510   lt_cv_dlopen_self=cross
   11511 else
   11512   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11513   lt_status=$lt_dlunknown
   11514   cat > conftest.$ac_ext <<_LT_EOF
   11515 #line 11515 "configure"
   11516 #include "confdefs.h"
   11517 
   11518 #if HAVE_DLFCN_H
   11519 #include <dlfcn.h>
   11520 #endif
   11521 
   11522 #include <stdio.h>
   11523 
   11524 #ifdef RTLD_GLOBAL
   11525 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11526 #else
   11527 #  ifdef DL_GLOBAL
   11528 #    define LT_DLGLOBAL		DL_GLOBAL
   11529 #  else
   11530 #    define LT_DLGLOBAL		0
   11531 #  endif
   11532 #endif
   11533 
   11534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11535    find out it does not work in some platform. */
   11536 #ifndef LT_DLLAZY_OR_NOW
   11537 #  ifdef RTLD_LAZY
   11538 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11539 #  else
   11540 #    ifdef DL_LAZY
   11541 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11542 #    else
   11543 #      ifdef RTLD_NOW
   11544 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11545 #      else
   11546 #        ifdef DL_NOW
   11547 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11548 #        else
   11549 #          define LT_DLLAZY_OR_NOW	0
   11550 #        endif
   11551 #      endif
   11552 #    endif
   11553 #  endif
   11554 #endif
   11555 
   11556 #ifdef __cplusplus
   11557 extern "C" void exit (int);
   11558 #endif
   11559 
   11560 void fnord() { int i=42;}
   11561 int main ()
   11562 {
   11563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11564   int status = $lt_dlunknown;
   11565 
   11566   if (self)
   11567     {
   11568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11569       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11570       /* dlclose (self); */
   11571     }
   11572   else
   11573     puts (dlerror ());
   11574 
   11575     exit (status);
   11576 }
   11577 _LT_EOF
   11578   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11579   (eval $ac_link) 2>&5
   11580   ac_status=$?
   11581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11582   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11583     (./conftest; exit; ) >&5 2>/dev/null
   11584     lt_status=$?
   11585     case x$lt_status in
   11586       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11587       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11588       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11589     esac
   11590   else :
   11591     # compilation failed
   11592     lt_cv_dlopen_self=no
   11593   fi
   11594 fi
   11595 rm -fr conftest*
   11596 
   11597 
   11598 fi
   11599 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   11600 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   11601 
   11602     if test "x$lt_cv_dlopen_self" = xyes; then
   11603       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11604       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   11605 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   11606 if test "${lt_cv_dlopen_self_static+set}" = set; then
   11607   echo $ECHO_N "(cached) $ECHO_C" >&6
   11608 else
   11609   	  if test "$cross_compiling" = yes; then :
   11610   lt_cv_dlopen_self_static=cross
   11611 else
   11612   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11613   lt_status=$lt_dlunknown
   11614   cat > conftest.$ac_ext <<_LT_EOF
   11615 #line 11615 "configure"
   11616 #include "confdefs.h"
   11617 
   11618 #if HAVE_DLFCN_H
   11619 #include <dlfcn.h>
   11620 #endif
   11621 
   11622 #include <stdio.h>
   11623 
   11624 #ifdef RTLD_GLOBAL
   11625 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11626 #else
   11627 #  ifdef DL_GLOBAL
   11628 #    define LT_DLGLOBAL		DL_GLOBAL
   11629 #  else
   11630 #    define LT_DLGLOBAL		0
   11631 #  endif
   11632 #endif
   11633 
   11634 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11635    find out it does not work in some platform. */
   11636 #ifndef LT_DLLAZY_OR_NOW
   11637 #  ifdef RTLD_LAZY
   11638 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11639 #  else
   11640 #    ifdef DL_LAZY
   11641 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11642 #    else
   11643 #      ifdef RTLD_NOW
   11644 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11645 #      else
   11646 #        ifdef DL_NOW
   11647 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11648 #        else
   11649 #          define LT_DLLAZY_OR_NOW	0
   11650 #        endif
   11651 #      endif
   11652 #    endif
   11653 #  endif
   11654 #endif
   11655 
   11656 #ifdef __cplusplus
   11657 extern "C" void exit (int);
   11658 #endif
   11659 
   11660 void fnord() { int i=42;}
   11661 int main ()
   11662 {
   11663   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11664   int status = $lt_dlunknown;
   11665 
   11666   if (self)
   11667     {
   11668       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11669       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11670       /* dlclose (self); */
   11671     }
   11672   else
   11673     puts (dlerror ());
   11674 
   11675     exit (status);
   11676 }
   11677 _LT_EOF
   11678   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11679   (eval $ac_link) 2>&5
   11680   ac_status=$?
   11681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11682   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11683     (./conftest; exit; ) >&5 2>/dev/null
   11684     lt_status=$?
   11685     case x$lt_status in
   11686       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11687       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11688       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11689     esac
   11690   else :
   11691     # compilation failed
   11692     lt_cv_dlopen_self_static=no
   11693   fi
   11694 fi
   11695 rm -fr conftest*
   11696 
   11697 
   11698 fi
   11699 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11700 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   11701     fi
   11702 
   11703     CPPFLAGS="$save_CPPFLAGS"
   11704     LDFLAGS="$save_LDFLAGS"
   11705     LIBS="$save_LIBS"
   11706     ;;
   11707   esac
   11708 
   11709   case $lt_cv_dlopen_self in
   11710   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11711   *) enable_dlopen_self=unknown ;;
   11712   esac
   11713 
   11714   case $lt_cv_dlopen_self_static in
   11715   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11716   *) enable_dlopen_self_static=unknown ;;
   11717   esac
   11718 fi
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 striplib=
   11737 old_striplib=
   11738 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11739 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   11740 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11741   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11742   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11743   { echo "$as_me:$LINENO: result: yes" >&5
   11744 echo "${ECHO_T}yes" >&6; }
   11745 else
   11746 # FIXME - insert some real tests, host_os isn't really good enough
   11747   case $host_os in
   11748   darwin*)
   11749     if test -n "$STRIP" ; then
   11750       striplib="$STRIP -x"
   11751       old_striplib="$STRIP -S"
   11752       { echo "$as_me:$LINENO: result: yes" >&5
   11753 echo "${ECHO_T}yes" >&6; }
   11754     else
   11755       { echo "$as_me:$LINENO: result: no" >&5
   11756 echo "${ECHO_T}no" >&6; }
   11757     fi
   11758     ;;
   11759   *)
   11760     { echo "$as_me:$LINENO: result: no" >&5
   11761 echo "${ECHO_T}no" >&6; }
   11762     ;;
   11763   esac
   11764 fi
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777   # Report which library types will actually be built
   11778   { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11779 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   11780   { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11781 echo "${ECHO_T}$can_build_shared" >&6; }
   11782 
   11783   { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11784 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   11785   test "$can_build_shared" = "no" && enable_shared=no
   11786 
   11787   # On AIX, shared libraries and static libraries use the same namespace, and
   11788   # are all built from PIC.
   11789   case $host_os in
   11790   aix3*)
   11791     test "$enable_shared" = yes && enable_static=no
   11792     if test -n "$RANLIB"; then
   11793       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11794       postinstall_cmds='$RANLIB $lib'
   11795     fi
   11796     ;;
   11797 
   11798   aix[4-9]*)
   11799     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11800       test "$enable_shared" = yes && enable_static=no
   11801     fi
   11802     ;;
   11803   esac
   11804   { echo "$as_me:$LINENO: result: $enable_shared" >&5
   11805 echo "${ECHO_T}$enable_shared" >&6; }
   11806 
   11807   { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11808 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   11809   # Make sure either enable_shared or enable_static is yes.
   11810   test "$enable_shared" = yes || enable_static=yes
   11811   { echo "$as_me:$LINENO: result: $enable_static" >&5
   11812 echo "${ECHO_T}$enable_static" >&6; }
   11813 
   11814 
   11815 
   11816 
   11817 fi
   11818 ac_ext=c
   11819 ac_cpp='$CPP $CPPFLAGS'
   11820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11823 
   11824 CC="$lt_save_CC"
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838         ac_config_commands="$ac_config_commands libtool"
   11839 
   11840 
   11841 
   11842 
   11843 # Only expand once:
   11844 
   11845 
   11846 ac_ext=c
   11847 ac_cpp='$CPP $CPPFLAGS'
   11848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11851 if test -n "$ac_tool_prefix"; then
   11852   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11853 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   11855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   11856 if test "${ac_cv_prog_CC+set}" = set; then
   11857   echo $ECHO_N "(cached) $ECHO_C" >&6
   11858 else
   11859   if test -n "$CC"; then
   11860   ac_cv_prog_CC="$CC" # Let the user override the test.
   11861 else
   11862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11863 for as_dir in $PATH
   11864 do
   11865   IFS=$as_save_IFS
   11866   test -z "$as_dir" && as_dir=.
   11867   for ac_exec_ext in '' $ac_executable_extensions; do
   11868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11869     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11871     break 2
   11872   fi
   11873 done
   11874 done
   11875 IFS=$as_save_IFS
   11876 
   11877 fi
   11878 fi
   11879 CC=$ac_cv_prog_CC
   11880 if test -n "$CC"; then
   11881   { echo "$as_me:$LINENO: result: $CC" >&5
   11882 echo "${ECHO_T}$CC" >&6; }
   11883 else
   11884   { echo "$as_me:$LINENO: result: no" >&5
   11885 echo "${ECHO_T}no" >&6; }
   11886 fi
   11887 
   11888 
   11889 fi
   11890 if test -z "$ac_cv_prog_CC"; then
   11891   ac_ct_CC=$CC
   11892   # Extract the first word of "gcc", so it can be a program name with args.
   11893 set dummy gcc; ac_word=$2
   11894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   11895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   11896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11897   echo $ECHO_N "(cached) $ECHO_C" >&6
   11898 else
   11899   if test -n "$ac_ct_CC"; then
   11900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11901 else
   11902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11903 for as_dir in $PATH
   11904 do
   11905   IFS=$as_save_IFS
   11906   test -z "$as_dir" && as_dir=.
   11907   for ac_exec_ext in '' $ac_executable_extensions; do
   11908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11909     ac_cv_prog_ac_ct_CC="gcc"
   11910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11911     break 2
   11912   fi
   11913 done
   11914 done
   11915 IFS=$as_save_IFS
   11916 
   11917 fi
   11918 fi
   11919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11920 if test -n "$ac_ct_CC"; then
   11921   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11922 echo "${ECHO_T}$ac_ct_CC" >&6; }
   11923 else
   11924   { echo "$as_me:$LINENO: result: no" >&5
   11925 echo "${ECHO_T}no" >&6; }
   11926 fi
   11927 
   11928   if test "x$ac_ct_CC" = x; then
   11929     CC=""
   11930   else
   11931     case $cross_compiling:$ac_tool_warned in
   11932 yes:)
   11933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   11934 whose name does not start with the host triplet.  If you think this
   11935 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   11936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   11937 whose name does not start with the host triplet.  If you think this
   11938 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   11939 ac_tool_warned=yes ;;
   11940 esac
   11941     CC=$ac_ct_CC
   11942   fi
   11943 else
   11944   CC="$ac_cv_prog_CC"
   11945 fi
   11946 
   11947 if test -z "$CC"; then
   11948           if test -n "$ac_tool_prefix"; then
   11949     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11950 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   11952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   11953 if test "${ac_cv_prog_CC+set}" = set; then
   11954   echo $ECHO_N "(cached) $ECHO_C" >&6
   11955 else
   11956   if test -n "$CC"; then
   11957   ac_cv_prog_CC="$CC" # Let the user override the test.
   11958 else
   11959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11960 for as_dir in $PATH
   11961 do
   11962   IFS=$as_save_IFS
   11963   test -z "$as_dir" && as_dir=.
   11964   for ac_exec_ext in '' $ac_executable_extensions; do
   11965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11966     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11968     break 2
   11969   fi
   11970 done
   11971 done
   11972 IFS=$as_save_IFS
   11973 
   11974 fi
   11975 fi
   11976 CC=$ac_cv_prog_CC
   11977 if test -n "$CC"; then
   11978   { echo "$as_me:$LINENO: result: $CC" >&5
   11979 echo "${ECHO_T}$CC" >&6; }
   11980 else
   11981   { echo "$as_me:$LINENO: result: no" >&5
   11982 echo "${ECHO_T}no" >&6; }
   11983 fi
   11984 
   11985 
   11986   fi
   11987 fi
   11988 if test -z "$CC"; then
   11989   # Extract the first word of "cc", so it can be a program name with args.
   11990 set dummy cc; ac_word=$2
   11991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   11993 if test "${ac_cv_prog_CC+set}" = set; then
   11994   echo $ECHO_N "(cached) $ECHO_C" >&6
   11995 else
   11996   if test -n "$CC"; then
   11997   ac_cv_prog_CC="$CC" # Let the user override the test.
   11998 else
   11999   ac_prog_rejected=no
   12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12001 for as_dir in $PATH
   12002 do
   12003   IFS=$as_save_IFS
   12004   test -z "$as_dir" && as_dir=.
   12005   for ac_exec_ext in '' $ac_executable_extensions; do
   12006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12007     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12008        ac_prog_rejected=yes
   12009        continue
   12010      fi
   12011     ac_cv_prog_CC="cc"
   12012     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12013     break 2
   12014   fi
   12015 done
   12016 done
   12017 IFS=$as_save_IFS
   12018 
   12019 if test $ac_prog_rejected = yes; then
   12020   # We found a bogon in the path, so make sure we never use it.
   12021   set dummy $ac_cv_prog_CC
   12022   shift
   12023   if test $# != 0; then
   12024     # We chose a different compiler from the bogus one.
   12025     # However, it has the same basename, so the bogon will be chosen
   12026     # first if we set CC to just the basename; use the full file name.
   12027     shift
   12028     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12029   fi
   12030 fi
   12031 fi
   12032 fi
   12033 CC=$ac_cv_prog_CC
   12034 if test -n "$CC"; then
   12035   { echo "$as_me:$LINENO: result: $CC" >&5
   12036 echo "${ECHO_T}$CC" >&6; }
   12037 else
   12038   { echo "$as_me:$LINENO: result: no" >&5
   12039 echo "${ECHO_T}no" >&6; }
   12040 fi
   12041 
   12042 
   12043 fi
   12044 if test -z "$CC"; then
   12045   if test -n "$ac_tool_prefix"; then
   12046   for ac_prog in cl.exe
   12047   do
   12048     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   12051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   12052 if test "${ac_cv_prog_CC+set}" = set; then
   12053   echo $ECHO_N "(cached) $ECHO_C" >&6
   12054 else
   12055   if test -n "$CC"; then
   12056   ac_cv_prog_CC="$CC" # Let the user override the test.
   12057 else
   12058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12059 for as_dir in $PATH
   12060 do
   12061   IFS=$as_save_IFS
   12062   test -z "$as_dir" && as_dir=.
   12063   for ac_exec_ext in '' $ac_executable_extensions; do
   12064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12065     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12066     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12067     break 2
   12068   fi
   12069 done
   12070 done
   12071 IFS=$as_save_IFS
   12072 
   12073 fi
   12074 fi
   12075 CC=$ac_cv_prog_CC
   12076 if test -n "$CC"; then
   12077   { echo "$as_me:$LINENO: result: $CC" >&5
   12078 echo "${ECHO_T}$CC" >&6; }
   12079 else
   12080   { echo "$as_me:$LINENO: result: no" >&5
   12081 echo "${ECHO_T}no" >&6; }
   12082 fi
   12083 
   12084 
   12085     test -n "$CC" && break
   12086   done
   12087 fi
   12088 if test -z "$CC"; then
   12089   ac_ct_CC=$CC
   12090   for ac_prog in cl.exe
   12091 do
   12092   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12093 set dummy $ac_prog; ac_word=$2
   12094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   12095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   12096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12097   echo $ECHO_N "(cached) $ECHO_C" >&6
   12098 else
   12099   if test -n "$ac_ct_CC"; then
   12100   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12101 else
   12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12103 for as_dir in $PATH
   12104 do
   12105   IFS=$as_save_IFS
   12106   test -z "$as_dir" && as_dir=.
   12107   for ac_exec_ext in '' $ac_executable_extensions; do
   12108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12109     ac_cv_prog_ac_ct_CC="$ac_prog"
   12110     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12111     break 2
   12112   fi
   12113 done
   12114 done
   12115 IFS=$as_save_IFS
   12116 
   12117 fi
   12118 fi
   12119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12120 if test -n "$ac_ct_CC"; then
   12121   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12122 echo "${ECHO_T}$ac_ct_CC" >&6; }
   12123 else
   12124   { echo "$as_me:$LINENO: result: no" >&5
   12125 echo "${ECHO_T}no" >&6; }
   12126 fi
   12127 
   12128 
   12129   test -n "$ac_ct_CC" && break
   12130 done
   12131 
   12132   if test "x$ac_ct_CC" = x; then
   12133     CC=""
   12134   else
   12135     case $cross_compiling:$ac_tool_warned in
   12136 yes:)
   12137 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   12138 whose name does not start with the host triplet.  If you think this
   12139 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   12140 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   12141 whose name does not start with the host triplet.  If you think this
   12142 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   12143 ac_tool_warned=yes ;;
   12144 esac
   12145     CC=$ac_ct_CC
   12146   fi
   12147 fi
   12148 
   12149 fi
   12150 
   12151 
   12152 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   12153 See \`config.log' for more details." >&5
   12154 echo "$as_me: error: no acceptable C compiler found in \$PATH
   12155 See \`config.log' for more details." >&2;}
   12156    { (exit 1); exit 1; }; }
   12157 
   12158 # Provide some information about the compiler.
   12159 echo "$as_me:$LINENO: checking for C compiler version" >&5
   12160 ac_compiler=`set X $ac_compile; echo $2`
   12161 { (ac_try="$ac_compiler --version >&5"
   12162 case "(($ac_try" in
   12163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12164   *) ac_try_echo=$ac_try;;
   12165 esac
   12166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12167   (eval "$ac_compiler --version >&5") 2>&5
   12168   ac_status=$?
   12169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12170   (exit $ac_status); }
   12171 { (ac_try="$ac_compiler -v >&5"
   12172 case "(($ac_try" in
   12173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12174   *) ac_try_echo=$ac_try;;
   12175 esac
   12176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12177   (eval "$ac_compiler -v >&5") 2>&5
   12178   ac_status=$?
   12179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12180   (exit $ac_status); }
   12181 { (ac_try="$ac_compiler -V >&5"
   12182 case "(($ac_try" in
   12183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12184   *) ac_try_echo=$ac_try;;
   12185 esac
   12186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12187   (eval "$ac_compiler -V >&5") 2>&5
   12188   ac_status=$?
   12189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12190   (exit $ac_status); }
   12191 
   12192 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   12193 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   12194 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   12195   echo $ECHO_N "(cached) $ECHO_C" >&6
   12196 else
   12197   cat >conftest.$ac_ext <<_ACEOF
   12198 /* confdefs.h.  */
   12199 _ACEOF
   12200 cat confdefs.h >>conftest.$ac_ext
   12201 cat >>conftest.$ac_ext <<_ACEOF
   12202 /* end confdefs.h.  */
   12203 
   12204 int
   12205 main ()
   12206 {
   12207 #ifndef __GNUC__
   12208        choke me
   12209 #endif
   12210 
   12211   ;
   12212   return 0;
   12213 }
   12214 _ACEOF
   12215 rm -f conftest.$ac_objext
   12216 if { (ac_try="$ac_compile"
   12217 case "(($ac_try" in
   12218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12219   *) ac_try_echo=$ac_try;;
   12220 esac
   12221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12222   (eval "$ac_compile") 2>conftest.er1
   12223   ac_status=$?
   12224   grep -v '^ *+' conftest.er1 >conftest.err
   12225   rm -f conftest.er1
   12226   cat conftest.err >&5
   12227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12228   (exit $ac_status); } && {
   12229 	 test -z "$ac_c_werror_flag" ||
   12230 	 test ! -s conftest.err
   12231        } && test -s conftest.$ac_objext; then
   12232   ac_compiler_gnu=yes
   12233 else
   12234   echo "$as_me: failed program was:" >&5
   12235 sed 's/^/| /' conftest.$ac_ext >&5
   12236 
   12237 	ac_compiler_gnu=no
   12238 fi
   12239 
   12240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12241 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12242 
   12243 fi
   12244 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   12245 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   12246 GCC=`test $ac_compiler_gnu = yes && echo yes`
   12247 ac_test_CFLAGS=${CFLAGS+set}
   12248 ac_save_CFLAGS=$CFLAGS
   12249 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   12250 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   12251 if test "${ac_cv_prog_cc_g+set}" = set; then
   12252   echo $ECHO_N "(cached) $ECHO_C" >&6
   12253 else
   12254   ac_save_c_werror_flag=$ac_c_werror_flag
   12255    ac_c_werror_flag=yes
   12256    ac_cv_prog_cc_g=no
   12257    CFLAGS="-g"
   12258    cat >conftest.$ac_ext <<_ACEOF
   12259 /* confdefs.h.  */
   12260 _ACEOF
   12261 cat confdefs.h >>conftest.$ac_ext
   12262 cat >>conftest.$ac_ext <<_ACEOF
   12263 /* end confdefs.h.  */
   12264 
   12265 int
   12266 main ()
   12267 {
   12268 
   12269   ;
   12270   return 0;
   12271 }
   12272 _ACEOF
   12273 rm -f conftest.$ac_objext
   12274 if { (ac_try="$ac_compile"
   12275 case "(($ac_try" in
   12276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12277   *) ac_try_echo=$ac_try;;
   12278 esac
   12279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12280   (eval "$ac_compile") 2>conftest.er1
   12281   ac_status=$?
   12282   grep -v '^ *+' conftest.er1 >conftest.err
   12283   rm -f conftest.er1
   12284   cat conftest.err >&5
   12285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12286   (exit $ac_status); } && {
   12287 	 test -z "$ac_c_werror_flag" ||
   12288 	 test ! -s conftest.err
   12289        } && test -s conftest.$ac_objext; then
   12290   ac_cv_prog_cc_g=yes
   12291 else
   12292   echo "$as_me: failed program was:" >&5
   12293 sed 's/^/| /' conftest.$ac_ext >&5
   12294 
   12295 	CFLAGS=""
   12296       cat >conftest.$ac_ext <<_ACEOF
   12297 /* confdefs.h.  */
   12298 _ACEOF
   12299 cat confdefs.h >>conftest.$ac_ext
   12300 cat >>conftest.$ac_ext <<_ACEOF
   12301 /* end confdefs.h.  */
   12302 
   12303 int
   12304 main ()
   12305 {
   12306 
   12307   ;
   12308   return 0;
   12309 }
   12310 _ACEOF
   12311 rm -f conftest.$ac_objext
   12312 if { (ac_try="$ac_compile"
   12313 case "(($ac_try" in
   12314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12315   *) ac_try_echo=$ac_try;;
   12316 esac
   12317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12318   (eval "$ac_compile") 2>conftest.er1
   12319   ac_status=$?
   12320   grep -v '^ *+' conftest.er1 >conftest.err
   12321   rm -f conftest.er1
   12322   cat conftest.err >&5
   12323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12324   (exit $ac_status); } && {
   12325 	 test -z "$ac_c_werror_flag" ||
   12326 	 test ! -s conftest.err
   12327        } && test -s conftest.$ac_objext; then
   12328   :
   12329 else
   12330   echo "$as_me: failed program was:" >&5
   12331 sed 's/^/| /' conftest.$ac_ext >&5
   12332 
   12333 	ac_c_werror_flag=$ac_save_c_werror_flag
   12334 	 CFLAGS="-g"
   12335 	 cat >conftest.$ac_ext <<_ACEOF
   12336 /* confdefs.h.  */
   12337 _ACEOF
   12338 cat confdefs.h >>conftest.$ac_ext
   12339 cat >>conftest.$ac_ext <<_ACEOF
   12340 /* end confdefs.h.  */
   12341 
   12342 int
   12343 main ()
   12344 {
   12345 
   12346   ;
   12347   return 0;
   12348 }
   12349 _ACEOF
   12350 rm -f conftest.$ac_objext
   12351 if { (ac_try="$ac_compile"
   12352 case "(($ac_try" in
   12353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12354   *) ac_try_echo=$ac_try;;
   12355 esac
   12356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12357   (eval "$ac_compile") 2>conftest.er1
   12358   ac_status=$?
   12359   grep -v '^ *+' conftest.er1 >conftest.err
   12360   rm -f conftest.er1
   12361   cat conftest.err >&5
   12362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12363   (exit $ac_status); } && {
   12364 	 test -z "$ac_c_werror_flag" ||
   12365 	 test ! -s conftest.err
   12366        } && test -s conftest.$ac_objext; then
   12367   ac_cv_prog_cc_g=yes
   12368 else
   12369   echo "$as_me: failed program was:" >&5
   12370 sed 's/^/| /' conftest.$ac_ext >&5
   12371 
   12372 
   12373 fi
   12374 
   12375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12376 fi
   12377 
   12378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12379 fi
   12380 
   12381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12382    ac_c_werror_flag=$ac_save_c_werror_flag
   12383 fi
   12384 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   12385 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   12386 if test "$ac_test_CFLAGS" = set; then
   12387   CFLAGS=$ac_save_CFLAGS
   12388 elif test $ac_cv_prog_cc_g = yes; then
   12389   if test "$GCC" = yes; then
   12390     CFLAGS="-g -O2"
   12391   else
   12392     CFLAGS="-g"
   12393   fi
   12394 else
   12395   if test "$GCC" = yes; then
   12396     CFLAGS="-O2"
   12397   else
   12398     CFLAGS=
   12399   fi
   12400 fi
   12401 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   12402 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   12403 if test "${ac_cv_prog_cc_c89+set}" = set; then
   12404   echo $ECHO_N "(cached) $ECHO_C" >&6
   12405 else
   12406   ac_cv_prog_cc_c89=no
   12407 ac_save_CC=$CC
   12408 cat >conftest.$ac_ext <<_ACEOF
   12409 /* confdefs.h.  */
   12410 _ACEOF
   12411 cat confdefs.h >>conftest.$ac_ext
   12412 cat >>conftest.$ac_ext <<_ACEOF
   12413 /* end confdefs.h.  */
   12414 #include <stdarg.h>
   12415 #include <stdio.h>
   12416 #include <sys/types.h>
   12417 #include <sys/stat.h>
   12418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12419 struct buf { int x; };
   12420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12421 static char *e (p, i)
   12422      char **p;
   12423      int i;
   12424 {
   12425   return p[i];
   12426 }
   12427 static char *f (char * (*g) (char **, int), char **p, ...)
   12428 {
   12429   char *s;
   12430   va_list v;
   12431   va_start (v,p);
   12432   s = g (p, va_arg (v,int));
   12433   va_end (v);
   12434   return s;
   12435 }
   12436 
   12437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12438    function prototypes and stuff, but not '\xHH' hex character constants.
   12439    These don't provoke an error unfortunately, instead are silently treated
   12440    as 'x'.  The following induces an error, until -std is added to get
   12441    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12442    array size at least.  It's necessary to write '\x00'==0 to get something
   12443    that's true only with -std.  */
   12444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12445 
   12446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12447    inside strings and character constants.  */
   12448 #define FOO(x) 'x'
   12449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12450 
   12451 int test (int i, double x);
   12452 struct s1 {int (*f) (int a);};
   12453 struct s2 {int (*f) (double a);};
   12454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12455 int argc;
   12456 char **argv;
   12457 int
   12458 main ()
   12459 {
   12460 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12461   ;
   12462   return 0;
   12463 }
   12464 _ACEOF
   12465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12466 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12467 do
   12468   CC="$ac_save_CC $ac_arg"
   12469   rm -f conftest.$ac_objext
   12470 if { (ac_try="$ac_compile"
   12471 case "(($ac_try" in
   12472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12473   *) ac_try_echo=$ac_try;;
   12474 esac
   12475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12476   (eval "$ac_compile") 2>conftest.er1
   12477   ac_status=$?
   12478   grep -v '^ *+' conftest.er1 >conftest.err
   12479   rm -f conftest.er1
   12480   cat conftest.err >&5
   12481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12482   (exit $ac_status); } && {
   12483 	 test -z "$ac_c_werror_flag" ||
   12484 	 test ! -s conftest.err
   12485        } && test -s conftest.$ac_objext; then
   12486   ac_cv_prog_cc_c89=$ac_arg
   12487 else
   12488   echo "$as_me: failed program was:" >&5
   12489 sed 's/^/| /' conftest.$ac_ext >&5
   12490 
   12491 
   12492 fi
   12493 
   12494 rm -f core conftest.err conftest.$ac_objext
   12495   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12496 done
   12497 rm -f conftest.$ac_ext
   12498 CC=$ac_save_CC
   12499 
   12500 fi
   12501 # AC_CACHE_VAL
   12502 case "x$ac_cv_prog_cc_c89" in
   12503   x)
   12504     { echo "$as_me:$LINENO: result: none needed" >&5
   12505 echo "${ECHO_T}none needed" >&6; } ;;
   12506   xno)
   12507     { echo "$as_me:$LINENO: result: unsupported" >&5
   12508 echo "${ECHO_T}unsupported" >&6; } ;;
   12509   *)
   12510     CC="$CC $ac_cv_prog_cc_c89"
   12511     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   12512 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   12513 esac
   12514 
   12515 
   12516 ac_ext=c
   12517 ac_cpp='$CPP $CPPFLAGS'
   12518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12521 
   12522 
   12523 if test "x$GCC" = "xyes"; then
   12524 	CPPFLAGS="$CPPFLAGS -Wall"
   12525 fi
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 # Check whether --with-xorg-module-dir was given.
   12532 if test "${with_xorg_module_dir+set}" = set; then
   12533   withval=$with_xorg_module_dir; moduledir="$withval"
   12534 else
   12535   moduledir="$libdir/xorg/modules"
   12536 fi
   12537 
   12538 
   12539 # Check whether --enable-dri was given.
   12540 if test "${enable_dri+set}" = set; then
   12541   enableval=$enable_dri; DRI="$enableval"
   12542 else
   12543   DRI=auto
   12544 fi
   12545 
   12546 
   12547 # Check whether --enable-exa was given.
   12548 if test "${enable_exa+set}" = set; then
   12549   enableval=$enable_exa; EXA="$enableval"
   12550 else
   12551   EXA=yes
   12552 fi
   12553 
   12554 
   12555 # Check whether --enable-kms was given.
   12556 if test "${enable_kms+set}" = set; then
   12557   enableval=$enable_kms; DRM_MODE="$enableval"
   12558 else
   12559   DRM_MODE=yes
   12560 fi
   12561 
   12562 
   12563 
   12564 # Check whether --with-xserver-source was given.
   12565 if test "${with_xserver_source+set}" = set; then
   12566   withval=$with_xserver_source;  XSERVER_SOURCE="$withval"
   12567 else
   12568    XSERVER_SOURCE=""
   12569 fi
   12570 
   12571 
   12572 # Checks for extensions
   12573 
   12574 	SAVE_CFLAGS="$CFLAGS"
   12575 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12576 	cat >conftest.$ac_ext <<_ACEOF
   12577 /* confdefs.h.  */
   12578 _ACEOF
   12579 cat confdefs.h >>conftest.$ac_ext
   12580 cat >>conftest.$ac_ext <<_ACEOF
   12581 /* end confdefs.h.  */
   12582 
   12583 #include "xorg-server.h"
   12584 #if !defined RANDR
   12585 #error RANDR not defined
   12586 #endif
   12587 
   12588 int
   12589 main ()
   12590 {
   12591 
   12592   ;
   12593   return 0;
   12594 }
   12595 _ACEOF
   12596 rm -f conftest.$ac_objext
   12597 if { (ac_try="$ac_compile"
   12598 case "(($ac_try" in
   12599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12600   *) ac_try_echo=$ac_try;;
   12601 esac
   12602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12603   (eval "$ac_compile") 2>conftest.er1
   12604   ac_status=$?
   12605   grep -v '^ *+' conftest.er1 >conftest.err
   12606   rm -f conftest.er1
   12607   cat conftest.err >&5
   12608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12609   (exit $ac_status); } && {
   12610 	 test -z "$ac_c_werror_flag" ||
   12611 	 test ! -s conftest.err
   12612        } && test -s conftest.$ac_objext; then
   12613   _EXT_CHECK=yes
   12614 else
   12615   echo "$as_me: failed program was:" >&5
   12616 sed 's/^/| /' conftest.$ac_ext >&5
   12617 
   12618 	_EXT_CHECK=no
   12619 fi
   12620 
   12621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12622 	CFLAGS="$SAVE_CFLAGS"
   12623 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   12624 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   12625 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12626 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   12627 	if test "$_EXT_CHECK" != no; then
   12628 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   12629 	fi
   12630 
   12631 
   12632 	SAVE_CFLAGS="$CFLAGS"
   12633 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12634 	cat >conftest.$ac_ext <<_ACEOF
   12635 /* confdefs.h.  */
   12636 _ACEOF
   12637 cat confdefs.h >>conftest.$ac_ext
   12638 cat >>conftest.$ac_ext <<_ACEOF
   12639 /* end confdefs.h.  */
   12640 
   12641 #include "xorg-server.h"
   12642 #if !defined RENDER
   12643 #error RENDER not defined
   12644 #endif
   12645 
   12646 int
   12647 main ()
   12648 {
   12649 
   12650   ;
   12651   return 0;
   12652 }
   12653 _ACEOF
   12654 rm -f conftest.$ac_objext
   12655 if { (ac_try="$ac_compile"
   12656 case "(($ac_try" in
   12657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12658   *) ac_try_echo=$ac_try;;
   12659 esac
   12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12661   (eval "$ac_compile") 2>conftest.er1
   12662   ac_status=$?
   12663   grep -v '^ *+' conftest.er1 >conftest.err
   12664   rm -f conftest.er1
   12665   cat conftest.err >&5
   12666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12667   (exit $ac_status); } && {
   12668 	 test -z "$ac_c_werror_flag" ||
   12669 	 test ! -s conftest.err
   12670        } && test -s conftest.$ac_objext; then
   12671   _EXT_CHECK=yes
   12672 else
   12673   echo "$as_me: failed program was:" >&5
   12674 sed 's/^/| /' conftest.$ac_ext >&5
   12675 
   12676 	_EXT_CHECK=no
   12677 fi
   12678 
   12679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12680 	CFLAGS="$SAVE_CFLAGS"
   12681 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   12682 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   12683 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12684 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   12685 	if test "$_EXT_CHECK" != no; then
   12686 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   12687 	fi
   12688 
   12689 
   12690 	SAVE_CFLAGS="$CFLAGS"
   12691 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12692 	cat >conftest.$ac_ext <<_ACEOF
   12693 /* confdefs.h.  */
   12694 _ACEOF
   12695 cat confdefs.h >>conftest.$ac_ext
   12696 cat >>conftest.$ac_ext <<_ACEOF
   12697 /* end confdefs.h.  */
   12698 
   12699 #include "xorg-server.h"
   12700 #if !defined XV
   12701 #error XV not defined
   12702 #endif
   12703 
   12704 int
   12705 main ()
   12706 {
   12707 
   12708   ;
   12709   return 0;
   12710 }
   12711 _ACEOF
   12712 rm -f conftest.$ac_objext
   12713 if { (ac_try="$ac_compile"
   12714 case "(($ac_try" in
   12715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12716   *) ac_try_echo=$ac_try;;
   12717 esac
   12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12719   (eval "$ac_compile") 2>conftest.er1
   12720   ac_status=$?
   12721   grep -v '^ *+' conftest.er1 >conftest.err
   12722   rm -f conftest.er1
   12723   cat conftest.err >&5
   12724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12725   (exit $ac_status); } && {
   12726 	 test -z "$ac_c_werror_flag" ||
   12727 	 test ! -s conftest.err
   12728        } && test -s conftest.$ac_objext; then
   12729   _EXT_CHECK=yes
   12730 else
   12731   echo "$as_me: failed program was:" >&5
   12732 sed 's/^/| /' conftest.$ac_ext >&5
   12733 
   12734 	_EXT_CHECK=no
   12735 fi
   12736 
   12737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12738 	CFLAGS="$SAVE_CFLAGS"
   12739 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   12740 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   12741 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12742 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   12743 	if test "$_EXT_CHECK" != no; then
   12744 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   12745 	fi
   12746 
   12747 
   12748 	SAVE_CFLAGS="$CFLAGS"
   12749 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12750 	cat >conftest.$ac_ext <<_ACEOF
   12751 /* confdefs.h.  */
   12752 _ACEOF
   12753 cat confdefs.h >>conftest.$ac_ext
   12754 cat >>conftest.$ac_ext <<_ACEOF
   12755 /* end confdefs.h.  */
   12756 
   12757 #include "xorg-server.h"
   12758 #if !defined DPMSExtension
   12759 #error DPMSExtension not defined
   12760 #endif
   12761 
   12762 int
   12763 main ()
   12764 {
   12765 
   12766   ;
   12767   return 0;
   12768 }
   12769 _ACEOF
   12770 rm -f conftest.$ac_objext
   12771 if { (ac_try="$ac_compile"
   12772 case "(($ac_try" in
   12773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12774   *) ac_try_echo=$ac_try;;
   12775 esac
   12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12777   (eval "$ac_compile") 2>conftest.er1
   12778   ac_status=$?
   12779   grep -v '^ *+' conftest.er1 >conftest.err
   12780   rm -f conftest.er1
   12781   cat conftest.err >&5
   12782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12783   (exit $ac_status); } && {
   12784 	 test -z "$ac_c_werror_flag" ||
   12785 	 test ! -s conftest.err
   12786        } && test -s conftest.$ac_objext; then
   12787   _EXT_CHECK=yes
   12788 else
   12789   echo "$as_me: failed program was:" >&5
   12790 sed 's/^/| /' conftest.$ac_ext >&5
   12791 
   12792 	_EXT_CHECK=no
   12793 fi
   12794 
   12795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12796 	CFLAGS="$SAVE_CFLAGS"
   12797 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12798 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   12799 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12800 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   12801 	if test "$_EXT_CHECK" != no; then
   12802 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12803 	fi
   12804 
   12805 
   12806 # Checks for pkg-config packages
   12807 
   12808 
   12809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12810 	if test -n "$ac_tool_prefix"; then
   12811   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12812 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   12814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   12815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   12816   echo $ECHO_N "(cached) $ECHO_C" >&6
   12817 else
   12818   case $PKG_CONFIG in
   12819   [\\/]* | ?:[\\/]*)
   12820   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12821   ;;
   12822   *)
   12823   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12824 for as_dir in $PATH
   12825 do
   12826   IFS=$as_save_IFS
   12827   test -z "$as_dir" && as_dir=.
   12828   for ac_exec_ext in '' $ac_executable_extensions; do
   12829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12830     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12831     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12832     break 2
   12833   fi
   12834 done
   12835 done
   12836 IFS=$as_save_IFS
   12837 
   12838   ;;
   12839 esac
   12840 fi
   12841 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12842 if test -n "$PKG_CONFIG"; then
   12843   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   12844 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   12845 else
   12846   { echo "$as_me:$LINENO: result: no" >&5
   12847 echo "${ECHO_T}no" >&6; }
   12848 fi
   12849 
   12850 
   12851 fi
   12852 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12853   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12854   # Extract the first word of "pkg-config", so it can be a program name with args.
   12855 set dummy pkg-config; ac_word=$2
   12856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   12857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   12858 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   12859   echo $ECHO_N "(cached) $ECHO_C" >&6
   12860 else
   12861   case $ac_pt_PKG_CONFIG in
   12862   [\\/]* | ?:[\\/]*)
   12863   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12864   ;;
   12865   *)
   12866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12867 for as_dir in $PATH
   12868 do
   12869   IFS=$as_save_IFS
   12870   test -z "$as_dir" && as_dir=.
   12871   for ac_exec_ext in '' $ac_executable_extensions; do
   12872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12873     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12874     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12875     break 2
   12876   fi
   12877 done
   12878 done
   12879 IFS=$as_save_IFS
   12880 
   12881   ;;
   12882 esac
   12883 fi
   12884 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12885 if test -n "$ac_pt_PKG_CONFIG"; then
   12886   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   12887 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   12888 else
   12889   { echo "$as_me:$LINENO: result: no" >&5
   12890 echo "${ECHO_T}no" >&6; }
   12891 fi
   12892 
   12893   if test "x$ac_pt_PKG_CONFIG" = x; then
   12894     PKG_CONFIG=""
   12895   else
   12896     case $cross_compiling:$ac_tool_warned in
   12897 yes:)
   12898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   12899 whose name does not start with the host triplet.  If you think this
   12900 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   12901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   12902 whose name does not start with the host triplet.  If you think this
   12903 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   12904 ac_tool_warned=yes ;;
   12905 esac
   12906     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12907   fi
   12908 else
   12909   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12910 fi
   12911 
   12912 fi
   12913 if test -n "$PKG_CONFIG"; then
   12914 	_pkg_min_version=0.9.0
   12915 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   12916 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   12917 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12918 		{ echo "$as_me:$LINENO: result: yes" >&5
   12919 echo "${ECHO_T}yes" >&6; }
   12920 	else
   12921 		{ echo "$as_me:$LINENO: result: no" >&5
   12922 echo "${ECHO_T}no" >&6; }
   12923 		PKG_CONFIG=""
   12924 	fi
   12925 
   12926 fi
   12927 
   12928 pkg_failed=no
   12929 { echo "$as_me:$LINENO: checking for XORG" >&5
   12930 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   12931 
   12932 if test -n "$PKG_CONFIG"; then
   12933     if test -n "$XORG_CFLAGS"; then
   12934         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12935     else
   12936         if test -n "$PKG_CONFIG" && \
   12937     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12938   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12939   ac_status=$?
   12940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12941   (exit $ac_status); }; then
   12942   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12943 else
   12944   pkg_failed=yes
   12945 fi
   12946     fi
   12947 else
   12948 	pkg_failed=untried
   12949 fi
   12950 if test -n "$PKG_CONFIG"; then
   12951     if test -n "$XORG_LIBS"; then
   12952         pkg_cv_XORG_LIBS="$XORG_LIBS"
   12953     else
   12954         if test -n "$PKG_CONFIG" && \
   12955     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12956   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12957   ac_status=$?
   12958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12959   (exit $ac_status); }; then
   12960   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12961 else
   12962   pkg_failed=yes
   12963 fi
   12964     fi
   12965 else
   12966 	pkg_failed=untried
   12967 fi
   12968 
   12969 
   12970 
   12971 if test $pkg_failed = yes; then
   12972 
   12973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12974         _pkg_short_errors_supported=yes
   12975 else
   12976         _pkg_short_errors_supported=no
   12977 fi
   12978         if test $_pkg_short_errors_supported = yes; then
   12979 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   12980         else
   12981 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   12982         fi
   12983 	# Put the nasty error message in config.log where it belongs
   12984 	echo "$XORG_PKG_ERRORS" >&5
   12985 
   12986 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   12987 
   12988 $XORG_PKG_ERRORS
   12989 
   12990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12991 installed software in a non-standard prefix.
   12992 
   12993 Alternatively, you may set the environment variables XORG_CFLAGS
   12994 and XORG_LIBS to avoid the need to call pkg-config.
   12995 See the pkg-config man page for more details.
   12996 " >&5
   12997 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   12998 
   12999 $XORG_PKG_ERRORS
   13000 
   13001 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13002 installed software in a non-standard prefix.
   13003 
   13004 Alternatively, you may set the environment variables XORG_CFLAGS
   13005 and XORG_LIBS to avoid the need to call pkg-config.
   13006 See the pkg-config man page for more details.
   13007 " >&2;}
   13008    { (exit 1); exit 1; }; }
   13009 elif test $pkg_failed = untried; then
   13010 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13011 is in your PATH or set the PKG_CONFIG environment variable to the full
   13012 path to pkg-config.
   13013 
   13014 Alternatively, you may set the environment variables XORG_CFLAGS
   13015 and XORG_LIBS to avoid the need to call pkg-config.
   13016 See the pkg-config man page for more details.
   13017 
   13018 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13019 See \`config.log' for more details." >&5
   13020 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13021 is in your PATH or set the PKG_CONFIG environment variable to the full
   13022 path to pkg-config.
   13023 
   13024 Alternatively, you may set the environment variables XORG_CFLAGS
   13025 and XORG_LIBS to avoid the need to call pkg-config.
   13026 See the pkg-config man page for more details.
   13027 
   13028 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13029 See \`config.log' for more details." >&2;}
   13030    { (exit 1); exit 1; }; }
   13031 else
   13032 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   13033 	XORG_LIBS=$pkg_cv_XORG_LIBS
   13034         { echo "$as_me:$LINENO: result: yes" >&5
   13035 echo "${ECHO_T}yes" >&6; }
   13036 	:
   13037 fi
   13038 
   13039 pkg_failed=no
   13040 { echo "$as_me:$LINENO: checking for XEXT" >&5
   13041 echo $ECHO_N "checking for XEXT... $ECHO_C" >&6; }
   13042 
   13043 if test -n "$PKG_CONFIG"; then
   13044     if test -n "$XEXT_CFLAGS"; then
   13045         pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   13046     else
   13047         if test -n "$PKG_CONFIG" && \
   13048     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13049   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13050   ac_status=$?
   13051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13052   (exit $ac_status); }; then
   13053   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   13054 else
   13055   pkg_failed=yes
   13056 fi
   13057     fi
   13058 else
   13059 	pkg_failed=untried
   13060 fi
   13061 if test -n "$PKG_CONFIG"; then
   13062     if test -n "$XEXT_LIBS"; then
   13063         pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   13064     else
   13065         if test -n "$PKG_CONFIG" && \
   13066     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13067   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13068   ac_status=$?
   13069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13070   (exit $ac_status); }; then
   13071   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   13072 else
   13073   pkg_failed=yes
   13074 fi
   13075     fi
   13076 else
   13077 	pkg_failed=untried
   13078 fi
   13079 
   13080 
   13081 
   13082 if test $pkg_failed = yes; then
   13083 
   13084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13085         _pkg_short_errors_supported=yes
   13086 else
   13087         _pkg_short_errors_supported=no
   13088 fi
   13089         if test $_pkg_short_errors_supported = yes; then
   13090 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xextproto >= 7.0.99.1"`
   13091         else
   13092 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xextproto >= 7.0.99.1"`
   13093         fi
   13094 	# Put the nasty error message in config.log where it belongs
   13095 	echo "$XEXT_PKG_ERRORS" >&5
   13096 
   13097 	{ echo "$as_me:$LINENO: result: no" >&5
   13098 echo "${ECHO_T}no" >&6; }
   13099                 HAVE_XEXTPROTO_71="no"
   13100 elif test $pkg_failed = untried; then
   13101 	HAVE_XEXTPROTO_71="no"
   13102 else
   13103 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   13104 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   13105         { echo "$as_me:$LINENO: result: yes" >&5
   13106 echo "${ECHO_T}yes" >&6; }
   13107 	HAVE_XEXTPROTO_71="yes";
   13108 cat >>confdefs.h <<\_ACEOF
   13109 #define HAVE_XEXTPROTO_71 1
   13110 _ACEOF
   13111 
   13112 fi
   13113  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   13114   HAVE_XEXTPROTO_71_TRUE=
   13115   HAVE_XEXTPROTO_71_FALSE='#'
   13116 else
   13117   HAVE_XEXTPROTO_71_TRUE='#'
   13118   HAVE_XEXTPROTO_71_FALSE=
   13119 fi
   13120 
   13121 
   13122 # Checks for libraries.
   13123 
   13124 # Checks for header files.
   13125 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   13126 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   13127 if test "${ac_cv_header_stdc+set}" = set; then
   13128   echo $ECHO_N "(cached) $ECHO_C" >&6
   13129 else
   13130   cat >conftest.$ac_ext <<_ACEOF
   13131 /* confdefs.h.  */
   13132 _ACEOF
   13133 cat confdefs.h >>conftest.$ac_ext
   13134 cat >>conftest.$ac_ext <<_ACEOF
   13135 /* end confdefs.h.  */
   13136 #include <stdlib.h>
   13137 #include <stdarg.h>
   13138 #include <string.h>
   13139 #include <float.h>
   13140 
   13141 int
   13142 main ()
   13143 {
   13144 
   13145   ;
   13146   return 0;
   13147 }
   13148 _ACEOF
   13149 rm -f conftest.$ac_objext
   13150 if { (ac_try="$ac_compile"
   13151 case "(($ac_try" in
   13152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13153   *) ac_try_echo=$ac_try;;
   13154 esac
   13155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13156   (eval "$ac_compile") 2>conftest.er1
   13157   ac_status=$?
   13158   grep -v '^ *+' conftest.er1 >conftest.err
   13159   rm -f conftest.er1
   13160   cat conftest.err >&5
   13161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13162   (exit $ac_status); } && {
   13163 	 test -z "$ac_c_werror_flag" ||
   13164 	 test ! -s conftest.err
   13165        } && test -s conftest.$ac_objext; then
   13166   ac_cv_header_stdc=yes
   13167 else
   13168   echo "$as_me: failed program was:" >&5
   13169 sed 's/^/| /' conftest.$ac_ext >&5
   13170 
   13171 	ac_cv_header_stdc=no
   13172 fi
   13173 
   13174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13175 
   13176 if test $ac_cv_header_stdc = yes; then
   13177   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13178   cat >conftest.$ac_ext <<_ACEOF
   13179 /* confdefs.h.  */
   13180 _ACEOF
   13181 cat confdefs.h >>conftest.$ac_ext
   13182 cat >>conftest.$ac_ext <<_ACEOF
   13183 /* end confdefs.h.  */
   13184 #include <string.h>
   13185 
   13186 _ACEOF
   13187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13188   $EGREP "memchr" >/dev/null 2>&1; then
   13189   :
   13190 else
   13191   ac_cv_header_stdc=no
   13192 fi
   13193 rm -f conftest*
   13194 
   13195 fi
   13196 
   13197 if test $ac_cv_header_stdc = yes; then
   13198   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13199   cat >conftest.$ac_ext <<_ACEOF
   13200 /* confdefs.h.  */
   13201 _ACEOF
   13202 cat confdefs.h >>conftest.$ac_ext
   13203 cat >>conftest.$ac_ext <<_ACEOF
   13204 /* end confdefs.h.  */
   13205 #include <stdlib.h>
   13206 
   13207 _ACEOF
   13208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13209   $EGREP "free" >/dev/null 2>&1; then
   13210   :
   13211 else
   13212   ac_cv_header_stdc=no
   13213 fi
   13214 rm -f conftest*
   13215 
   13216 fi
   13217 
   13218 if test $ac_cv_header_stdc = yes; then
   13219   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13220   if test "$cross_compiling" = yes; then
   13221   :
   13222 else
   13223   cat >conftest.$ac_ext <<_ACEOF
   13224 /* confdefs.h.  */
   13225 _ACEOF
   13226 cat confdefs.h >>conftest.$ac_ext
   13227 cat >>conftest.$ac_ext <<_ACEOF
   13228 /* end confdefs.h.  */
   13229 #include <ctype.h>
   13230 #include <stdlib.h>
   13231 #if ((' ' & 0x0FF) == 0x020)
   13232 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13233 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13234 #else
   13235 # define ISLOWER(c) \
   13236 		   (('a' <= (c) && (c) <= 'i') \
   13237 		     || ('j' <= (c) && (c) <= 'r') \
   13238 		     || ('s' <= (c) && (c) <= 'z'))
   13239 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13240 #endif
   13241 
   13242 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13243 int
   13244 main ()
   13245 {
   13246   int i;
   13247   for (i = 0; i < 256; i++)
   13248     if (XOR (islower (i), ISLOWER (i))
   13249 	|| toupper (i) != TOUPPER (i))
   13250       return 2;
   13251   return 0;
   13252 }
   13253 _ACEOF
   13254 rm -f conftest$ac_exeext
   13255 if { (ac_try="$ac_link"
   13256 case "(($ac_try" in
   13257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13258   *) ac_try_echo=$ac_try;;
   13259 esac
   13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13261   (eval "$ac_link") 2>&5
   13262   ac_status=$?
   13263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13264   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13265   { (case "(($ac_try" in
   13266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13267   *) ac_try_echo=$ac_try;;
   13268 esac
   13269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13270   (eval "$ac_try") 2>&5
   13271   ac_status=$?
   13272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13273   (exit $ac_status); }; }; then
   13274   :
   13275 else
   13276   echo "$as_me: program exited with status $ac_status" >&5
   13277 echo "$as_me: failed program was:" >&5
   13278 sed 's/^/| /' conftest.$ac_ext >&5
   13279 
   13280 ( exit $ac_status )
   13281 ac_cv_header_stdc=no
   13282 fi
   13283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13284 fi
   13285 
   13286 
   13287 fi
   13288 fi
   13289 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13290 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   13291 if test $ac_cv_header_stdc = yes; then
   13292 
   13293 cat >>confdefs.h <<\_ACEOF
   13294 #define STDC_HEADERS 1
   13295 _ACEOF
   13296 
   13297 fi
   13298 
   13299 
   13300 if test "$DRI" != no; then
   13301 
   13302 pkg_failed=no
   13303 { echo "$as_me:$LINENO: checking for DRI" >&5
   13304 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   13305 
   13306 if test -n "$PKG_CONFIG"; then
   13307     if test -n "$DRI_CFLAGS"; then
   13308         pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   13309     else
   13310         if test -n "$PKG_CONFIG" && \
   13311     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   13312   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   13313   ac_status=$?
   13314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13315   (exit $ac_status); }; then
   13316   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   13317 else
   13318   pkg_failed=yes
   13319 fi
   13320     fi
   13321 else
   13322 	pkg_failed=untried
   13323 fi
   13324 if test -n "$PKG_CONFIG"; then
   13325     if test -n "$DRI_LIBS"; then
   13326         pkg_cv_DRI_LIBS="$DRI_LIBS"
   13327     else
   13328         if test -n "$PKG_CONFIG" && \
   13329     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   13330   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   13331   ac_status=$?
   13332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13333   (exit $ac_status); }; then
   13334   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   13335 else
   13336   pkg_failed=yes
   13337 fi
   13338     fi
   13339 else
   13340 	pkg_failed=untried
   13341 fi
   13342 
   13343 
   13344 
   13345 if test $pkg_failed = yes; then
   13346 
   13347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13348         _pkg_short_errors_supported=yes
   13349 else
   13350         _pkg_short_errors_supported=no
   13351 fi
   13352         if test $_pkg_short_errors_supported = yes; then
   13353 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.2 xf86driproto"`
   13354         else
   13355 	        DRI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.2 xf86driproto"`
   13356         fi
   13357 	# Put the nasty error message in config.log where it belongs
   13358 	echo "$DRI_PKG_ERRORS" >&5
   13359 
   13360 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   13361 
   13362 $DRI_PKG_ERRORS
   13363 
   13364 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13365 installed software in a non-standard prefix.
   13366 
   13367 Alternatively, you may set the environment variables DRI_CFLAGS
   13368 and DRI_LIBS to avoid the need to call pkg-config.
   13369 See the pkg-config man page for more details.
   13370 " >&5
   13371 echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   13372 
   13373 $DRI_PKG_ERRORS
   13374 
   13375 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13376 installed software in a non-standard prefix.
   13377 
   13378 Alternatively, you may set the environment variables DRI_CFLAGS
   13379 and DRI_LIBS to avoid the need to call pkg-config.
   13380 See the pkg-config man page for more details.
   13381 " >&2;}
   13382    { (exit 1); exit 1; }; }
   13383 elif test $pkg_failed = untried; then
   13384 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13385 is in your PATH or set the PKG_CONFIG environment variable to the full
   13386 path to pkg-config.
   13387 
   13388 Alternatively, you may set the environment variables DRI_CFLAGS
   13389 and DRI_LIBS to avoid the need to call pkg-config.
   13390 See the pkg-config man page for more details.
   13391 
   13392 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13393 See \`config.log' for more details." >&5
   13394 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13395 is in your PATH or set the PKG_CONFIG environment variable to the full
   13396 path to pkg-config.
   13397 
   13398 Alternatively, you may set the environment variables DRI_CFLAGS
   13399 and DRI_LIBS to avoid the need to call pkg-config.
   13400 See the pkg-config man page for more details.
   13401 
   13402 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13403 See \`config.log' for more details." >&2;}
   13404    { (exit 1); exit 1; }; }
   13405 else
   13406 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   13407 	DRI_LIBS=$pkg_cv_DRI_LIBS
   13408         { echo "$as_me:$LINENO: result: yes" >&5
   13409 echo "${ECHO_T}yes" >&6; }
   13410 	:
   13411 fi
   13412 	save_CPPFLAGS="$CPPFLAGS"
   13413 	CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS"
   13414 	{ echo "$as_me:$LINENO: checking for dri.h" >&5
   13415 echo $ECHO_N "checking for dri.h... $ECHO_C" >&6; }
   13416 if test "${ac_cv_header_dri_h+set}" = set; then
   13417   echo $ECHO_N "(cached) $ECHO_C" >&6
   13418 else
   13419   cat >conftest.$ac_ext <<_ACEOF
   13420 /* confdefs.h.  */
   13421 _ACEOF
   13422 cat confdefs.h >>conftest.$ac_ext
   13423 cat >>conftest.$ac_ext <<_ACEOF
   13424 /* end confdefs.h.  */
   13425 #include <dri.h>
   13426 _ACEOF
   13427 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13428 case "(($ac_try" in
   13429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13430   *) ac_try_echo=$ac_try;;
   13431 esac
   13432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13433   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13434   ac_status=$?
   13435   grep -v '^ *+' conftest.er1 >conftest.err
   13436   rm -f conftest.er1
   13437   cat conftest.err >&5
   13438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13439   (exit $ac_status); } >/dev/null && {
   13440 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13441 	 test ! -s conftest.err
   13442        }; then
   13443   ac_cv_header_dri_h=yes
   13444 else
   13445   echo "$as_me: failed program was:" >&5
   13446 sed 's/^/| /' conftest.$ac_ext >&5
   13447 
   13448   ac_cv_header_dri_h=no
   13449 fi
   13450 
   13451 rm -f conftest.err conftest.$ac_ext
   13452 fi
   13453 { echo "$as_me:$LINENO: result: $ac_cv_header_dri_h" >&5
   13454 echo "${ECHO_T}$ac_cv_header_dri_h" >&6; }
   13455 if test $ac_cv_header_dri_h = yes; then
   13456   have_dri_h="yes"
   13457 else
   13458   have_dri_h="no"
   13459 fi
   13460 
   13461 
   13462 	{ echo "$as_me:$LINENO: checking for sarea.h" >&5
   13463 echo $ECHO_N "checking for sarea.h... $ECHO_C" >&6; }
   13464 if test "${ac_cv_header_sarea_h+set}" = set; then
   13465   echo $ECHO_N "(cached) $ECHO_C" >&6
   13466 else
   13467   cat >conftest.$ac_ext <<_ACEOF
   13468 /* confdefs.h.  */
   13469 _ACEOF
   13470 cat confdefs.h >>conftest.$ac_ext
   13471 cat >>conftest.$ac_ext <<_ACEOF
   13472 /* end confdefs.h.  */
   13473 #include <sarea.h>
   13474 _ACEOF
   13475 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13476 case "(($ac_try" in
   13477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13478   *) ac_try_echo=$ac_try;;
   13479 esac
   13480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13481   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13482   ac_status=$?
   13483   grep -v '^ *+' conftest.er1 >conftest.err
   13484   rm -f conftest.er1
   13485   cat conftest.err >&5
   13486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13487   (exit $ac_status); } >/dev/null && {
   13488 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13489 	 test ! -s conftest.err
   13490        }; then
   13491   ac_cv_header_sarea_h=yes
   13492 else
   13493   echo "$as_me: failed program was:" >&5
   13494 sed 's/^/| /' conftest.$ac_ext >&5
   13495 
   13496   ac_cv_header_sarea_h=no
   13497 fi
   13498 
   13499 rm -f conftest.err conftest.$ac_ext
   13500 fi
   13501 { echo "$as_me:$LINENO: result: $ac_cv_header_sarea_h" >&5
   13502 echo "${ECHO_T}$ac_cv_header_sarea_h" >&6; }
   13503 if test $ac_cv_header_sarea_h = yes; then
   13504   have_sarea_h="yes"
   13505 else
   13506   have_sarea_h="no"
   13507 fi
   13508 
   13509 
   13510 	cat >conftest.$ac_ext <<_ACEOF
   13511 /* confdefs.h.  */
   13512 _ACEOF
   13513 cat confdefs.h >>conftest.$ac_ext
   13514 cat >>conftest.$ac_ext <<_ACEOF
   13515 /* end confdefs.h.  */
   13516 
   13517 #include <xorg-server.h>
   13518 #include <dristruct.h>
   13519 
   13520 int
   13521 main ()
   13522 {
   13523 
   13524   ;
   13525   return 0;
   13526 }
   13527 _ACEOF
   13528 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13529 case "(($ac_try" in
   13530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13531   *) ac_try_echo=$ac_try;;
   13532 esac
   13533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13534   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13535   ac_status=$?
   13536   grep -v '^ *+' conftest.er1 >conftest.err
   13537   rm -f conftest.er1
   13538   cat conftest.err >&5
   13539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13540   (exit $ac_status); } >/dev/null && {
   13541 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13542 	 test ! -s conftest.err
   13543        }; then
   13544   have_dristruct_h="yes"
   13545 else
   13546   echo "$as_me: failed program was:" >&5
   13547 sed 's/^/| /' conftest.$ac_ext >&5
   13548 
   13549   have_dristruct_h="no"
   13550 fi
   13551 
   13552 rm -f conftest.err conftest.$ac_ext
   13553 	{ echo "$as_me:$LINENO: checking for damage.h" >&5
   13554 echo $ECHO_N "checking for damage.h... $ECHO_C" >&6; }
   13555 if test "${ac_cv_header_damage_h+set}" = set; then
   13556   echo $ECHO_N "(cached) $ECHO_C" >&6
   13557 else
   13558   cat >conftest.$ac_ext <<_ACEOF
   13559 /* confdefs.h.  */
   13560 _ACEOF
   13561 cat confdefs.h >>conftest.$ac_ext
   13562 cat >>conftest.$ac_ext <<_ACEOF
   13563 /* end confdefs.h.  */
   13564 #include <damage.h>
   13565 _ACEOF
   13566 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13567 case "(($ac_try" in
   13568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13569   *) ac_try_echo=$ac_try;;
   13570 esac
   13571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13572   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13573   ac_status=$?
   13574   grep -v '^ *+' conftest.er1 >conftest.err
   13575   rm -f conftest.er1
   13576   cat conftest.err >&5
   13577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13578   (exit $ac_status); } >/dev/null && {
   13579 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13580 	 test ! -s conftest.err
   13581        }; then
   13582   ac_cv_header_damage_h=yes
   13583 else
   13584   echo "$as_me: failed program was:" >&5
   13585 sed 's/^/| /' conftest.$ac_ext >&5
   13586 
   13587   ac_cv_header_damage_h=no
   13588 fi
   13589 
   13590 rm -f conftest.err conftest.$ac_ext
   13591 fi
   13592 { echo "$as_me:$LINENO: result: $ac_cv_header_damage_h" >&5
   13593 echo "${ECHO_T}$ac_cv_header_damage_h" >&6; }
   13594 if test $ac_cv_header_damage_h = yes; then
   13595   have_damage_h="yes"
   13596 else
   13597   have_damage_h="no"
   13598 fi
   13599 
   13600 
   13601 	CPPFLAGS="$save_CPPFLAGS"
   13602 fi
   13603 
   13604 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   13605 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   13606 if test x$DRI = xauto; then
   13607 	if test "$have_dri_h" = yes -a \
   13608                 "$have_sarea_h" = yes -a \
   13609                 "$have_dristruct_h" = yes; then
   13610 		DRI="yes"
   13611 	else
   13612 		DRI="no"
   13613 	fi
   13614 fi
   13615 { echo "$as_me:$LINENO: result: $DRI" >&5
   13616 echo "${ECHO_T}$DRI" >&6; }
   13617 
   13618  if test x$DRI = xyes; then
   13619   DRI_TRUE=
   13620   DRI_FALSE='#'
   13621 else
   13622   DRI_TRUE='#'
   13623   DRI_FALSE=
   13624 fi
   13625 
   13626 if test "$DRI" = yes; then
   13627 
   13628 cat >>confdefs.h <<\_ACEOF
   13629 #define XF86DRI 1
   13630 _ACEOF
   13631 
   13632 
   13633 cat >>confdefs.h <<\_ACEOF
   13634 #define XF86DRI_DEVEL 1
   13635 _ACEOF
   13636 
   13637 	if test "$have_damage_h" = yes; then
   13638 
   13639 cat >>confdefs.h <<\_ACEOF
   13640 #define DAMAGE 1
   13641 _ACEOF
   13642 
   13643 	fi
   13644 
   13645         save_CFLAGS="$CFLAGS"
   13646         CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $CFLAGS"
   13647 	if test "$DRM_MODE" = yes; then
   13648 	   	{ echo "$as_me:$LINENO: checking for xf86drmMode.h" >&5
   13649 echo $ECHO_N "checking for xf86drmMode.h... $ECHO_C" >&6; }
   13650 if test "${ac_cv_header_xf86drmMode_h+set}" = set; then
   13651   echo $ECHO_N "(cached) $ECHO_C" >&6
   13652 else
   13653   cat >conftest.$ac_ext <<_ACEOF
   13654 /* confdefs.h.  */
   13655 _ACEOF
   13656 cat confdefs.h >>conftest.$ac_ext
   13657 cat >>conftest.$ac_ext <<_ACEOF
   13658 /* end confdefs.h.  */
   13659 #include <stdint.h>
   13660 #include <stdlib.h>
   13661 
   13662 #include <xf86drmMode.h>
   13663 _ACEOF
   13664 rm -f conftest.$ac_objext
   13665 if { (ac_try="$ac_compile"
   13666 case "(($ac_try" in
   13667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13668   *) ac_try_echo=$ac_try;;
   13669 esac
   13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13671   (eval "$ac_compile") 2>conftest.er1
   13672   ac_status=$?
   13673   grep -v '^ *+' conftest.er1 >conftest.err
   13674   rm -f conftest.er1
   13675   cat conftest.err >&5
   13676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13677   (exit $ac_status); } && {
   13678 	 test -z "$ac_c_werror_flag" ||
   13679 	 test ! -s conftest.err
   13680        } && test -s conftest.$ac_objext; then
   13681   ac_cv_header_xf86drmMode_h=yes
   13682 else
   13683   echo "$as_me: failed program was:" >&5
   13684 sed 's/^/| /' conftest.$ac_ext >&5
   13685 
   13686 	ac_cv_header_xf86drmMode_h=no
   13687 fi
   13688 
   13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13690 fi
   13691 { echo "$as_me:$LINENO: result: $ac_cv_header_xf86drmMode_h" >&5
   13692 echo "${ECHO_T}$ac_cv_header_xf86drmMode_h" >&6; }
   13693 if test $ac_cv_header_xf86drmMode_h = yes; then
   13694   DRM_MODE=yes
   13695 else
   13696   DRM_MODE=no
   13697 fi
   13698 
   13699 
   13700 		if test "x$DRM_MODE" = xyes; then
   13701 
   13702 pkg_failed=no
   13703 { echo "$as_me:$LINENO: checking for LIBDRM_RADEON" >&5
   13704 echo $ECHO_N "checking for LIBDRM_RADEON... $ECHO_C" >&6; }
   13705 
   13706 if test -n "$PKG_CONFIG"; then
   13707     if test -n "$LIBDRM_RADEON_CFLAGS"; then
   13708         pkg_cv_LIBDRM_RADEON_CFLAGS="$LIBDRM_RADEON_CFLAGS"
   13709     else
   13710         if test -n "$PKG_CONFIG" && \
   13711     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.2 libdrm_radeon\"") >&5
   13712   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.2 libdrm_radeon") 2>&5
   13713   ac_status=$?
   13714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13715   (exit $ac_status); }; then
   13716   pkg_cv_LIBDRM_RADEON_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.6.2 libdrm_radeon" 2>/dev/null`
   13717 else
   13718   pkg_failed=yes
   13719 fi
   13720     fi
   13721 else
   13722 	pkg_failed=untried
   13723 fi
   13724 if test -n "$PKG_CONFIG"; then
   13725     if test -n "$LIBDRM_RADEON_LIBS"; then
   13726         pkg_cv_LIBDRM_RADEON_LIBS="$LIBDRM_RADEON_LIBS"
   13727     else
   13728         if test -n "$PKG_CONFIG" && \
   13729     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.2 libdrm_radeon\"") >&5
   13730   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.2 libdrm_radeon") 2>&5
   13731   ac_status=$?
   13732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13733   (exit $ac_status); }; then
   13734   pkg_cv_LIBDRM_RADEON_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.6.2 libdrm_radeon" 2>/dev/null`
   13735 else
   13736   pkg_failed=yes
   13737 fi
   13738     fi
   13739 else
   13740 	pkg_failed=untried
   13741 fi
   13742 
   13743 
   13744 
   13745 if test $pkg_failed = yes; then
   13746 
   13747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13748         _pkg_short_errors_supported=yes
   13749 else
   13750         _pkg_short_errors_supported=no
   13751 fi
   13752         if test $_pkg_short_errors_supported = yes; then
   13753 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.6.2 libdrm_radeon"`
   13754         else
   13755 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.6.2 libdrm_radeon"`
   13756         fi
   13757 	# Put the nasty error message in config.log where it belongs
   13758 	echo "$LIBDRM_RADEON_PKG_ERRORS" >&5
   13759 
   13760 	{ echo "$as_me:$LINENO: result: no" >&5
   13761 echo "${ECHO_T}no" >&6; }
   13762                 LIBDRM_RADEON=no
   13763 elif test $pkg_failed = untried; then
   13764 	LIBDRM_RADEON=no
   13765 else
   13766 	LIBDRM_RADEON_CFLAGS=$pkg_cv_LIBDRM_RADEON_CFLAGS
   13767 	LIBDRM_RADEON_LIBS=$pkg_cv_LIBDRM_RADEON_LIBS
   13768         { echo "$as_me:$LINENO: result: yes" >&5
   13769 echo "${ECHO_T}yes" >&6; }
   13770 	LIBDRM_RADEON=yes
   13771 fi
   13772 
   13773 			if test "x$LIBDRM_RADEON" = xyes; then
   13774 
   13775 cat >>confdefs.h <<\_ACEOF
   13776 #define XF86DRM_MODE 1
   13777 _ACEOF
   13778 
   13779 
   13780 cat >>confdefs.h <<\_ACEOF
   13781 #define RADEON_DRI2 1
   13782 _ACEOF
   13783 
   13784                         else
   13785                                 DRM_MODE=no
   13786 			fi
   13787         	fi
   13788 	fi
   13789 	CFLAGS="$save_CFLAGS"
   13790 else
   13791 	DRM_MODE=no
   13792 fi
   13793  if test x$DRM_MODE = xyes; then
   13794   DRM_MODE_TRUE=
   13795   DRM_MODE_FALSE='#'
   13796 else
   13797   DRM_MODE_TRUE='#'
   13798   DRM_MODE_FALSE=
   13799 fi
   13800 
   13801 
   13802 save_CFLAGS="$CFLAGS"
   13803 CFLAGS="$XORG_CFLAGS"
   13804 { echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   13805 echo $ECHO_N "checking for xf86Modes.h... $ECHO_C" >&6; }
   13806 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   13807   echo $ECHO_N "(cached) $ECHO_C" >&6
   13808 else
   13809   cat >conftest.$ac_ext <<_ACEOF
   13810 /* confdefs.h.  */
   13811 _ACEOF
   13812 cat confdefs.h >>conftest.$ac_ext
   13813 cat >>conftest.$ac_ext <<_ACEOF
   13814 /* end confdefs.h.  */
   13815 #include "xorg-server.h"
   13816 
   13817 #include <xf86Modes.h>
   13818 _ACEOF
   13819 rm -f conftest.$ac_objext
   13820 if { (ac_try="$ac_compile"
   13821 case "(($ac_try" in
   13822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13823   *) ac_try_echo=$ac_try;;
   13824 esac
   13825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13826   (eval "$ac_compile") 2>conftest.er1
   13827   ac_status=$?
   13828   grep -v '^ *+' conftest.er1 >conftest.err
   13829   rm -f conftest.er1
   13830   cat conftest.err >&5
   13831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13832   (exit $ac_status); } && {
   13833 	 test -z "$ac_c_werror_flag" ||
   13834 	 test ! -s conftest.err
   13835        } && test -s conftest.$ac_objext; then
   13836   ac_cv_header_xf86Modes_h=yes
   13837 else
   13838   echo "$as_me: failed program was:" >&5
   13839 sed 's/^/| /' conftest.$ac_ext >&5
   13840 
   13841 	ac_cv_header_xf86Modes_h=no
   13842 fi
   13843 
   13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13845 fi
   13846 { echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   13847 echo "${ECHO_T}$ac_cv_header_xf86Modes_h" >&6; }
   13848 if test $ac_cv_header_xf86Modes_h = yes; then
   13849   XMODES=yes
   13850 else
   13851   XMODES=no
   13852 fi
   13853 
   13854 
   13855 CFLAGS="$save_CFLAGS"
   13856 
   13857 
   13858 cat >>confdefs.h <<\_ACEOF
   13859 #define USE_XAA 1
   13860 _ACEOF
   13861 
   13862 
   13863 # Properly handle EXA.
   13864 { echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   13865 echo $ECHO_N "checking whether to enable EXA support... $ECHO_C" >&6; }
   13866 if test "x$EXA" = xyes; then
   13867         { echo "$as_me:$LINENO: result: yes" >&5
   13868 echo "${ECHO_T}yes" >&6; }
   13869 
   13870         SAVE_CPPFLAGS="$CPPFLAGS"
   13871         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   13872         if test "${ac_cv_header_exa_h+set}" = set; then
   13873   { echo "$as_me:$LINENO: checking for exa.h" >&5
   13874 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   13875 if test "${ac_cv_header_exa_h+set}" = set; then
   13876   echo $ECHO_N "(cached) $ECHO_C" >&6
   13877 fi
   13878 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   13879 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   13880 else
   13881   # Is the header compilable?
   13882 { echo "$as_me:$LINENO: checking exa.h usability" >&5
   13883 echo $ECHO_N "checking exa.h usability... $ECHO_C" >&6; }
   13884 cat >conftest.$ac_ext <<_ACEOF
   13885 /* confdefs.h.  */
   13886 _ACEOF
   13887 cat confdefs.h >>conftest.$ac_ext
   13888 cat >>conftest.$ac_ext <<_ACEOF
   13889 /* end confdefs.h.  */
   13890 $ac_includes_default
   13891 #include <exa.h>
   13892 _ACEOF
   13893 rm -f conftest.$ac_objext
   13894 if { (ac_try="$ac_compile"
   13895 case "(($ac_try" in
   13896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13897   *) ac_try_echo=$ac_try;;
   13898 esac
   13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13900   (eval "$ac_compile") 2>conftest.er1
   13901   ac_status=$?
   13902   grep -v '^ *+' conftest.er1 >conftest.err
   13903   rm -f conftest.er1
   13904   cat conftest.err >&5
   13905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13906   (exit $ac_status); } && {
   13907 	 test -z "$ac_c_werror_flag" ||
   13908 	 test ! -s conftest.err
   13909        } && test -s conftest.$ac_objext; then
   13910   ac_header_compiler=yes
   13911 else
   13912   echo "$as_me: failed program was:" >&5
   13913 sed 's/^/| /' conftest.$ac_ext >&5
   13914 
   13915 	ac_header_compiler=no
   13916 fi
   13917 
   13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   13920 echo "${ECHO_T}$ac_header_compiler" >&6; }
   13921 
   13922 # Is the header present?
   13923 { echo "$as_me:$LINENO: checking exa.h presence" >&5
   13924 echo $ECHO_N "checking exa.h presence... $ECHO_C" >&6; }
   13925 cat >conftest.$ac_ext <<_ACEOF
   13926 /* confdefs.h.  */
   13927 _ACEOF
   13928 cat confdefs.h >>conftest.$ac_ext
   13929 cat >>conftest.$ac_ext <<_ACEOF
   13930 /* end confdefs.h.  */
   13931 #include <exa.h>
   13932 _ACEOF
   13933 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13934 case "(($ac_try" in
   13935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13936   *) ac_try_echo=$ac_try;;
   13937 esac
   13938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13939   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13940   ac_status=$?
   13941   grep -v '^ *+' conftest.er1 >conftest.err
   13942   rm -f conftest.er1
   13943   cat conftest.err >&5
   13944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13945   (exit $ac_status); } >/dev/null && {
   13946 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13947 	 test ! -s conftest.err
   13948        }; then
   13949   ac_header_preproc=yes
   13950 else
   13951   echo "$as_me: failed program was:" >&5
   13952 sed 's/^/| /' conftest.$ac_ext >&5
   13953 
   13954   ac_header_preproc=no
   13955 fi
   13956 
   13957 rm -f conftest.err conftest.$ac_ext
   13958 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   13959 echo "${ECHO_T}$ac_header_preproc" >&6; }
   13960 
   13961 # So?  What about this header?
   13962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   13963   yes:no: )
   13964     { echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   13965 echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   13966     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   13967 echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   13968     ac_header_preproc=yes
   13969     ;;
   13970   no:yes:* )
   13971     { echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   13972 echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   13973     { echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   13974 echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   13975     { echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   13976 echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   13977     { echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   13978 echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   13979     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   13980 echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   13981     { echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   13982 echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   13983     ( cat <<\_ASBOX
   13984 ## ---------------------------------------------------------------------- ##
   13985 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   13986 ## ---------------------------------------------------------------------- ##
   13987 _ASBOX
   13988      ) | sed "s/^/$as_me: WARNING:     /" >&2
   13989     ;;
   13990 esac
   13991 { echo "$as_me:$LINENO: checking for exa.h" >&5
   13992 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   13993 if test "${ac_cv_header_exa_h+set}" = set; then
   13994   echo $ECHO_N "(cached) $ECHO_C" >&6
   13995 else
   13996   ac_cv_header_exa_h=$ac_header_preproc
   13997 fi
   13998 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   13999 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   14000 
   14001 fi
   14002 if test $ac_cv_header_exa_h = yes; then
   14003   have_exa_h="yes"
   14004 else
   14005   have_exa_h="no"
   14006 fi
   14007 
   14008 
   14009         CPPFLAGS="$SAVE_CPPFLAGS"
   14010 else
   14011         { echo "$as_me:$LINENO: result: no" >&5
   14012 echo "${ECHO_T}no" >&6; }
   14013 fi
   14014 
   14015 SAVE_CPPFLAGS="$CPPFLAGS"
   14016 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   14017 if test "x$have_exa_h" = xyes; then
   14018         { echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   14019 echo $ECHO_N "checking whether EXA version is at least 2.0.0... $ECHO_C" >&6; }
   14020         cat >conftest.$ac_ext <<_ACEOF
   14021 /* confdefs.h.  */
   14022 _ACEOF
   14023 cat confdefs.h >>conftest.$ac_ext
   14024 cat >>conftest.$ac_ext <<_ACEOF
   14025 /* end confdefs.h.  */
   14026 
   14027 #include "exa.h"
   14028 #if EXA_VERSION_MAJOR < 2
   14029 #error OLD EXA!
   14030 #endif
   14031 
   14032 int
   14033 main ()
   14034 {
   14035 
   14036   ;
   14037   return 0;
   14038 }
   14039 _ACEOF
   14040 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14041 case "(($ac_try" in
   14042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14043   *) ac_try_echo=$ac_try;;
   14044 esac
   14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14046   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14047   ac_status=$?
   14048   grep -v '^ *+' conftest.er1 >conftest.err
   14049   rm -f conftest.er1
   14050   cat conftest.err >&5
   14051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14052   (exit $ac_status); } >/dev/null && {
   14053 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   14054 	 test ! -s conftest.err
   14055        }; then
   14056   USE_EXA=yes
   14057 else
   14058   echo "$as_me: failed program was:" >&5
   14059 sed 's/^/| /' conftest.$ac_ext >&5
   14060 
   14061   USE_EXA=no
   14062 fi
   14063 
   14064 rm -f conftest.err conftest.$ac_ext
   14065         { echo "$as_me:$LINENO: result: $USE_EXA" >&5
   14066 echo "${ECHO_T}$USE_EXA" >&6; }
   14067 
   14068         if test "x$USE_EXA" = xyes; then
   14069 
   14070 cat >>confdefs.h <<\_ACEOF
   14071 #define USE_EXA 1
   14072 _ACEOF
   14073 
   14074         fi
   14075 fi
   14076 
   14077 { echo "$as_me:$LINENO: checking whether xf86XVFillKeyHelperDrawable is declared" >&5
   14078 echo $ECHO_N "checking whether xf86XVFillKeyHelperDrawable is declared... $ECHO_C" >&6; }
   14079 if test "${ac_cv_have_decl_xf86XVFillKeyHelperDrawable+set}" = set; then
   14080   echo $ECHO_N "(cached) $ECHO_C" >&6
   14081 else
   14082   cat >conftest.$ac_ext <<_ACEOF
   14083 /* confdefs.h.  */
   14084 _ACEOF
   14085 cat confdefs.h >>conftest.$ac_ext
   14086 cat >>conftest.$ac_ext <<_ACEOF
   14087 /* end confdefs.h.  */
   14088 #include <xf86xv.h>
   14089 
   14090 int
   14091 main ()
   14092 {
   14093 #ifndef xf86XVFillKeyHelperDrawable
   14094   (void) xf86XVFillKeyHelperDrawable;
   14095 #endif
   14096 
   14097   ;
   14098   return 0;
   14099 }
   14100 _ACEOF
   14101 rm -f conftest.$ac_objext
   14102 if { (ac_try="$ac_compile"
   14103 case "(($ac_try" in
   14104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14105   *) ac_try_echo=$ac_try;;
   14106 esac
   14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14108   (eval "$ac_compile") 2>conftest.er1
   14109   ac_status=$?
   14110   grep -v '^ *+' conftest.er1 >conftest.err
   14111   rm -f conftest.er1
   14112   cat conftest.err >&5
   14113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14114   (exit $ac_status); } && {
   14115 	 test -z "$ac_c_werror_flag" ||
   14116 	 test ! -s conftest.err
   14117        } && test -s conftest.$ac_objext; then
   14118   ac_cv_have_decl_xf86XVFillKeyHelperDrawable=yes
   14119 else
   14120   echo "$as_me: failed program was:" >&5
   14121 sed 's/^/| /' conftest.$ac_ext >&5
   14122 
   14123 	ac_cv_have_decl_xf86XVFillKeyHelperDrawable=no
   14124 fi
   14125 
   14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14127 fi
   14128 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&5
   14129 echo "${ECHO_T}$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&6; }
   14130 if test $ac_cv_have_decl_xf86XVFillKeyHelperDrawable = yes; then
   14131 
   14132 cat >>confdefs.h <<\_ACEOF
   14133 #define HAVE_XV_DRAWABLE_HELPER 1
   14134 _ACEOF
   14135 
   14136 fi
   14137 
   14138 
   14139 { echo "$as_me:$LINENO: checking whether xf86ModeBandwidth is declared" >&5
   14140 echo $ECHO_N "checking whether xf86ModeBandwidth is declared... $ECHO_C" >&6; }
   14141 if test "${ac_cv_have_decl_xf86ModeBandwidth+set}" = set; then
   14142   echo $ECHO_N "(cached) $ECHO_C" >&6
   14143 else
   14144   cat >conftest.$ac_ext <<_ACEOF
   14145 /* confdefs.h.  */
   14146 _ACEOF
   14147 cat confdefs.h >>conftest.$ac_ext
   14148 cat >>conftest.$ac_ext <<_ACEOF
   14149 /* end confdefs.h.  */
   14150 #include "xorg-server.h"
   14151 	       #include "xf86Modes.h"
   14152 
   14153 int
   14154 main ()
   14155 {
   14156 #ifndef xf86ModeBandwidth
   14157   (void) xf86ModeBandwidth;
   14158 #endif
   14159 
   14160   ;
   14161   return 0;
   14162 }
   14163 _ACEOF
   14164 rm -f conftest.$ac_objext
   14165 if { (ac_try="$ac_compile"
   14166 case "(($ac_try" in
   14167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14168   *) ac_try_echo=$ac_try;;
   14169 esac
   14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14171   (eval "$ac_compile") 2>conftest.er1
   14172   ac_status=$?
   14173   grep -v '^ *+' conftest.er1 >conftest.err
   14174   rm -f conftest.er1
   14175   cat conftest.err >&5
   14176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14177   (exit $ac_status); } && {
   14178 	 test -z "$ac_c_werror_flag" ||
   14179 	 test ! -s conftest.err
   14180        } && test -s conftest.$ac_objext; then
   14181   ac_cv_have_decl_xf86ModeBandwidth=yes
   14182 else
   14183   echo "$as_me: failed program was:" >&5
   14184 sed 's/^/| /' conftest.$ac_ext >&5
   14185 
   14186 	ac_cv_have_decl_xf86ModeBandwidth=no
   14187 fi
   14188 
   14189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14190 fi
   14191 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ModeBandwidth" >&5
   14192 echo "${ECHO_T}$ac_cv_have_decl_xf86ModeBandwidth" >&6; }
   14193 if test $ac_cv_have_decl_xf86ModeBandwidth = yes; then
   14194 
   14195 cat >>confdefs.h <<\_ACEOF
   14196 #define HAVE_XF86MODEBANDWIDTH 1
   14197 _ACEOF
   14198 
   14199 fi
   14200 
   14201 
   14202 { echo "$as_me:$LINENO: checking whether xf86_crtc_clip_video_helper is declared" >&5
   14203 echo $ECHO_N "checking whether xf86_crtc_clip_video_helper is declared... $ECHO_C" >&6; }
   14204 if test "${ac_cv_have_decl_xf86_crtc_clip_video_helper+set}" = set; then
   14205   echo $ECHO_N "(cached) $ECHO_C" >&6
   14206 else
   14207   cat >conftest.$ac_ext <<_ACEOF
   14208 /* confdefs.h.  */
   14209 _ACEOF
   14210 cat confdefs.h >>conftest.$ac_ext
   14211 cat >>conftest.$ac_ext <<_ACEOF
   14212 /* end confdefs.h.  */
   14213 #include <X11/Xmd.h>
   14214 	       #include "xorg-server.h"
   14215 	       #include "xf86i2c.h"
   14216 	       #include "xf86Crtc.h"
   14217 
   14218 int
   14219 main ()
   14220 {
   14221 #ifndef xf86_crtc_clip_video_helper
   14222   (void) xf86_crtc_clip_video_helper;
   14223 #endif
   14224 
   14225   ;
   14226   return 0;
   14227 }
   14228 _ACEOF
   14229 rm -f conftest.$ac_objext
   14230 if { (ac_try="$ac_compile"
   14231 case "(($ac_try" in
   14232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14233   *) ac_try_echo=$ac_try;;
   14234 esac
   14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14236   (eval "$ac_compile") 2>conftest.er1
   14237   ac_status=$?
   14238   grep -v '^ *+' conftest.er1 >conftest.err
   14239   rm -f conftest.er1
   14240   cat conftest.err >&5
   14241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14242   (exit $ac_status); } && {
   14243 	 test -z "$ac_c_werror_flag" ||
   14244 	 test ! -s conftest.err
   14245        } && test -s conftest.$ac_objext; then
   14246   ac_cv_have_decl_xf86_crtc_clip_video_helper=yes
   14247 else
   14248   echo "$as_me: failed program was:" >&5
   14249 sed 's/^/| /' conftest.$ac_ext >&5
   14250 
   14251 	ac_cv_have_decl_xf86_crtc_clip_video_helper=no
   14252 fi
   14253 
   14254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14255 fi
   14256 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86_crtc_clip_video_helper" >&5
   14257 echo "${ECHO_T}$ac_cv_have_decl_xf86_crtc_clip_video_helper" >&6; }
   14258 if test $ac_cv_have_decl_xf86_crtc_clip_video_helper = yes; then
   14259 
   14260 cat >>confdefs.h <<\_ACEOF
   14261 #define HAVE_XF86CRTCCLIPVIDEOHELPER 1
   14262 _ACEOF
   14263 
   14264 fi
   14265 
   14266 
   14267 { echo "$as_me:$LINENO: checking whether xf86RotateFreeShadow is declared" >&5
   14268 echo $ECHO_N "checking whether xf86RotateFreeShadow is declared... $ECHO_C" >&6; }
   14269 if test "${ac_cv_have_decl_xf86RotateFreeShadow+set}" = set; then
   14270   echo $ECHO_N "(cached) $ECHO_C" >&6
   14271 else
   14272   cat >conftest.$ac_ext <<_ACEOF
   14273 /* confdefs.h.  */
   14274 _ACEOF
   14275 cat confdefs.h >>conftest.$ac_ext
   14276 cat >>conftest.$ac_ext <<_ACEOF
   14277 /* end confdefs.h.  */
   14278 #include <xorg-server.h>
   14279                #include <windowstr.h>
   14280 	       #include <xf86Crtc.h>
   14281 
   14282 int
   14283 main ()
   14284 {
   14285 #ifndef xf86RotateFreeShadow
   14286   (void) xf86RotateFreeShadow;
   14287 #endif
   14288 
   14289   ;
   14290   return 0;
   14291 }
   14292 _ACEOF
   14293 rm -f conftest.$ac_objext
   14294 if { (ac_try="$ac_compile"
   14295 case "(($ac_try" in
   14296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14297   *) ac_try_echo=$ac_try;;
   14298 esac
   14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14300   (eval "$ac_compile") 2>conftest.er1
   14301   ac_status=$?
   14302   grep -v '^ *+' conftest.er1 >conftest.err
   14303   rm -f conftest.er1
   14304   cat conftest.err >&5
   14305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14306   (exit $ac_status); } && {
   14307 	 test -z "$ac_c_werror_flag" ||
   14308 	 test ! -s conftest.err
   14309        } && test -s conftest.$ac_objext; then
   14310   ac_cv_have_decl_xf86RotateFreeShadow=yes
   14311 else
   14312   echo "$as_me: failed program was:" >&5
   14313 sed 's/^/| /' conftest.$ac_ext >&5
   14314 
   14315 	ac_cv_have_decl_xf86RotateFreeShadow=no
   14316 fi
   14317 
   14318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14319 fi
   14320 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86RotateFreeShadow" >&5
   14321 echo "${ECHO_T}$ac_cv_have_decl_xf86RotateFreeShadow" >&6; }
   14322 if test $ac_cv_have_decl_xf86RotateFreeShadow = yes; then
   14323 
   14324 cat >>confdefs.h <<\_ACEOF
   14325 #define HAVE_FREE_SHADOW 1
   14326 _ACEOF
   14327 
   14328 fi
   14329 
   14330 
   14331 { echo "$as_me:$LINENO: checking whether pci_device_enable is declared" >&5
   14332 echo $ECHO_N "checking whether pci_device_enable is declared... $ECHO_C" >&6; }
   14333 if test "${ac_cv_have_decl_pci_device_enable+set}" = set; then
   14334   echo $ECHO_N "(cached) $ECHO_C" >&6
   14335 else
   14336   cat >conftest.$ac_ext <<_ACEOF
   14337 /* confdefs.h.  */
   14338 _ACEOF
   14339 cat confdefs.h >>conftest.$ac_ext
   14340 cat >>conftest.$ac_ext <<_ACEOF
   14341 /* end confdefs.h.  */
   14342 #include <pciaccess.h>
   14343 
   14344 int
   14345 main ()
   14346 {
   14347 #ifndef pci_device_enable
   14348   (void) pci_device_enable;
   14349 #endif
   14350 
   14351   ;
   14352   return 0;
   14353 }
   14354 _ACEOF
   14355 rm -f conftest.$ac_objext
   14356 if { (ac_try="$ac_compile"
   14357 case "(($ac_try" in
   14358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14359   *) ac_try_echo=$ac_try;;
   14360 esac
   14361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14362   (eval "$ac_compile") 2>conftest.er1
   14363   ac_status=$?
   14364   grep -v '^ *+' conftest.er1 >conftest.err
   14365   rm -f conftest.er1
   14366   cat conftest.err >&5
   14367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14368   (exit $ac_status); } && {
   14369 	 test -z "$ac_c_werror_flag" ||
   14370 	 test ! -s conftest.err
   14371        } && test -s conftest.$ac_objext; then
   14372   ac_cv_have_decl_pci_device_enable=yes
   14373 else
   14374   echo "$as_me: failed program was:" >&5
   14375 sed 's/^/| /' conftest.$ac_ext >&5
   14376 
   14377 	ac_cv_have_decl_pci_device_enable=no
   14378 fi
   14379 
   14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14381 fi
   14382 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_pci_device_enable" >&5
   14383 echo "${ECHO_T}$ac_cv_have_decl_pci_device_enable" >&6; }
   14384 if test $ac_cv_have_decl_pci_device_enable = yes; then
   14385 
   14386 cat >>confdefs.h <<\_ACEOF
   14387 #define HAVE_PCI_DEVICE_ENABLE 1
   14388 _ACEOF
   14389 
   14390 fi
   14391 
   14392 
   14393 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   14394 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   14395 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   14396   echo $ECHO_N "(cached) $ECHO_C" >&6
   14397 else
   14398   cat >conftest.$ac_ext <<_ACEOF
   14399 /* confdefs.h.  */
   14400 _ACEOF
   14401 cat confdefs.h >>conftest.$ac_ext
   14402 cat >>conftest.$ac_ext <<_ACEOF
   14403 /* end confdefs.h.  */
   14404 #include "xorg-server.h"
   14405 
   14406 int
   14407 main ()
   14408 {
   14409 #ifndef XSERVER_LIBPCIACCESS
   14410   (void) XSERVER_LIBPCIACCESS;
   14411 #endif
   14412 
   14413   ;
   14414   return 0;
   14415 }
   14416 _ACEOF
   14417 rm -f conftest.$ac_objext
   14418 if { (ac_try="$ac_compile"
   14419 case "(($ac_try" in
   14420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14421   *) ac_try_echo=$ac_try;;
   14422 esac
   14423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14424   (eval "$ac_compile") 2>conftest.er1
   14425   ac_status=$?
   14426   grep -v '^ *+' conftest.er1 >conftest.err
   14427   rm -f conftest.er1
   14428   cat conftest.err >&5
   14429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14430   (exit $ac_status); } && {
   14431 	 test -z "$ac_c_werror_flag" ||
   14432 	 test ! -s conftest.err
   14433        } && test -s conftest.$ac_objext; then
   14434   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   14435 else
   14436   echo "$as_me: failed program was:" >&5
   14437 sed 's/^/| /' conftest.$ac_ext >&5
   14438 
   14439 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   14440 fi
   14441 
   14442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14443 fi
   14444 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   14445 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   14446 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   14447   XSERVER_LIBPCIACCESS=yes
   14448 else
   14449   XSERVER_LIBPCIACCESS=no
   14450 fi
   14451 
   14452 
   14453  if test "x$XMODES" = xno; then
   14454   XMODES_TRUE=
   14455   XMODES_FALSE='#'
   14456 else
   14457   XMODES_TRUE='#'
   14458   XMODES_FALSE=
   14459 fi
   14460 
   14461 
   14462 if test "x$XSERVER_SOURCE" = x; then
   14463         if test -d ../../xserver; then
   14464                 XSERVER_SOURCE="`cd ../../xserver && pwd`"
   14465         fi
   14466 fi
   14467 
   14468 if test -d "$XSERVER_SOURCE"; then
   14469         case "$XSERVER_SOURCE" in
   14470         /*)
   14471                 ;;
   14472         *)
   14473                 XSERVER_SOURCE="`cd $XSERVER_SOURCE && pwd`"
   14474         esac
   14475         if test -f src/modes/xf86Modes.h; then
   14476                 :
   14477         else
   14478                 ln -sf $XSERVER_SOURCE/hw/xfree86/modes src/modes
   14479         fi
   14480 
   14481         if test -f src/parser/xf86Parser.h; then
   14482                 :
   14483         else
   14484                 ln -sf $XSERVER_SOURCE/hw/xfree86/parser src/parser
   14485         fi
   14486 fi
   14487 if test "x$XMODES" = xyes; then
   14488         { echo "$as_me:$LINENO: X server has new mode code" >&5
   14489 echo "$as_me: X server has new mode code" >&6;}
   14490 
   14491 cat >>confdefs.h <<\_ACEOF
   14492 #define XMODES 1
   14493 _ACEOF
   14494 
   14495         XMODES_CFLAGS=
   14496 else
   14497         if test -f src/modes/xf86Modes.h -a -f src/parser/xf86Parser.h; then
   14498                 { echo "$as_me:$LINENO: X server is missing new mode code, using local copy" >&5
   14499 echo "$as_me: X server is missing new mode code, using local copy" >&6;}
   14500         else
   14501                 { { echo "$as_me:$LINENO: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&5
   14502 echo "$as_me: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&2;}
   14503    { (exit 1); exit 1; }; }
   14504         fi
   14505         XMODES_CFLAGS='-DXF86_MODES_RENAME -I$(top_srcdir)/src -I$(top_srcdir)/src/modes -I$(top_srcdir)/src/parser'
   14506 fi
   14507 
   14508 
   14509 
   14510 CPPFLAGS="$SAVE_CPPFLAGS"
   14511 
   14512  if test "x$USE_EXA" = xyes; then
   14513   USE_EXA_TRUE=
   14514   USE_EXA_FALSE='#'
   14515 else
   14516   USE_EXA_TRUE='#'
   14517   USE_EXA_FALSE=
   14518 fi
   14519 
   14520 
   14521  if test "x$LIBDRM_RADEON" = xyes; then
   14522   XF86DRM_MODE_TRUE=
   14523   XF86DRM_MODE_FALSE='#'
   14524 else
   14525   XF86DRM_MODE_TRUE='#'
   14526   XF86DRM_MODE_FALSE=
   14527 fi
   14528 
   14529 
   14530 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   14531 
   14532 pkg_failed=no
   14533 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   14534 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   14535 
   14536 if test -n "$PKG_CONFIG"; then
   14537     if test -n "$PCIACCESS_CFLAGS"; then
   14538         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   14539     else
   14540         if test -n "$PKG_CONFIG" && \
   14541     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   14542   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   14543   ac_status=$?
   14544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14545   (exit $ac_status); }; then
   14546   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   14547 else
   14548   pkg_failed=yes
   14549 fi
   14550     fi
   14551 else
   14552 	pkg_failed=untried
   14553 fi
   14554 if test -n "$PKG_CONFIG"; then
   14555     if test -n "$PCIACCESS_LIBS"; then
   14556         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   14557     else
   14558         if test -n "$PKG_CONFIG" && \
   14559     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   14560   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   14561   ac_status=$?
   14562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14563   (exit $ac_status); }; then
   14564   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   14565 else
   14566   pkg_failed=yes
   14567 fi
   14568     fi
   14569 else
   14570 	pkg_failed=untried
   14571 fi
   14572 
   14573 
   14574 
   14575 if test $pkg_failed = yes; then
   14576 
   14577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14578         _pkg_short_errors_supported=yes
   14579 else
   14580         _pkg_short_errors_supported=no
   14581 fi
   14582         if test $_pkg_short_errors_supported = yes; then
   14583 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   14584         else
   14585 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   14586         fi
   14587 	# Put the nasty error message in config.log where it belongs
   14588 	echo "$PCIACCESS_PKG_ERRORS" >&5
   14589 
   14590 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   14591 
   14592 $PCIACCESS_PKG_ERRORS
   14593 
   14594 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14595 installed software in a non-standard prefix.
   14596 
   14597 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   14598 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   14599 See the pkg-config man page for more details.
   14600 " >&5
   14601 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   14602 
   14603 $PCIACCESS_PKG_ERRORS
   14604 
   14605 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14606 installed software in a non-standard prefix.
   14607 
   14608 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   14609 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   14610 See the pkg-config man page for more details.
   14611 " >&2;}
   14612    { (exit 1); exit 1; }; }
   14613 elif test $pkg_failed = untried; then
   14614 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   14615 is in your PATH or set the PKG_CONFIG environment variable to the full
   14616 path to pkg-config.
   14617 
   14618 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   14619 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   14620 See the pkg-config man page for more details.
   14621 
   14622 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14623 See \`config.log' for more details." >&5
   14624 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   14625 is in your PATH or set the PKG_CONFIG environment variable to the full
   14626 path to pkg-config.
   14627 
   14628 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   14629 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   14630 See the pkg-config man page for more details.
   14631 
   14632 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14633 See \`config.log' for more details." >&2;}
   14634    { (exit 1); exit 1; }; }
   14635 else
   14636 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   14637 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   14638         { echo "$as_me:$LINENO: result: yes" >&5
   14639 echo "${ECHO_T}yes" >&6; }
   14640 	:
   14641 fi
   14642     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   14643 fi
   14644  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   14645   XSERVER_LIBPCIACCESS_TRUE=
   14646   XSERVER_LIBPCIACCESS_FALSE='#'
   14647 else
   14648   XSERVER_LIBPCIACCESS_TRUE='#'
   14649   XSERVER_LIBPCIACCESS_FALSE=
   14650 fi
   14651 
   14652 
   14653 # Checks for headers/macros for byte swapping
   14654 # Known variants:
   14655 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   14656 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   14657 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   14658 #	and a fallback to local macros if none of the above are found
   14659 
   14660 # if <byteswap.h> is found, assume it's the correct version
   14661 
   14662 for ac_header in byteswap.h
   14663 do
   14664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14665 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14666   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14669   echo $ECHO_N "(cached) $ECHO_C" >&6
   14670 fi
   14671 ac_res=`eval echo '${'$as_ac_Header'}'`
   14672 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14673 echo "${ECHO_T}$ac_res" >&6; }
   14674 else
   14675   # Is the header compilable?
   14676 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14678 cat >conftest.$ac_ext <<_ACEOF
   14679 /* confdefs.h.  */
   14680 _ACEOF
   14681 cat confdefs.h >>conftest.$ac_ext
   14682 cat >>conftest.$ac_ext <<_ACEOF
   14683 /* end confdefs.h.  */
   14684 $ac_includes_default
   14685 #include <$ac_header>
   14686 _ACEOF
   14687 rm -f conftest.$ac_objext
   14688 if { (ac_try="$ac_compile"
   14689 case "(($ac_try" in
   14690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14691   *) ac_try_echo=$ac_try;;
   14692 esac
   14693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14694   (eval "$ac_compile") 2>conftest.er1
   14695   ac_status=$?
   14696   grep -v '^ *+' conftest.er1 >conftest.err
   14697   rm -f conftest.er1
   14698   cat conftest.err >&5
   14699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14700   (exit $ac_status); } && {
   14701 	 test -z "$ac_c_werror_flag" ||
   14702 	 test ! -s conftest.err
   14703        } && test -s conftest.$ac_objext; then
   14704   ac_header_compiler=yes
   14705 else
   14706   echo "$as_me: failed program was:" >&5
   14707 sed 's/^/| /' conftest.$ac_ext >&5
   14708 
   14709 	ac_header_compiler=no
   14710 fi
   14711 
   14712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14713 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14714 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14715 
   14716 # Is the header present?
   14717 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   14718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   14719 cat >conftest.$ac_ext <<_ACEOF
   14720 /* confdefs.h.  */
   14721 _ACEOF
   14722 cat confdefs.h >>conftest.$ac_ext
   14723 cat >>conftest.$ac_ext <<_ACEOF
   14724 /* end confdefs.h.  */
   14725 #include <$ac_header>
   14726 _ACEOF
   14727 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14728 case "(($ac_try" in
   14729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14730   *) ac_try_echo=$ac_try;;
   14731 esac
   14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14733   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14734   ac_status=$?
   14735   grep -v '^ *+' conftest.er1 >conftest.err
   14736   rm -f conftest.er1
   14737   cat conftest.err >&5
   14738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14739   (exit $ac_status); } >/dev/null && {
   14740 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   14741 	 test ! -s conftest.err
   14742        }; then
   14743   ac_header_preproc=yes
   14744 else
   14745   echo "$as_me: failed program was:" >&5
   14746 sed 's/^/| /' conftest.$ac_ext >&5
   14747 
   14748   ac_header_preproc=no
   14749 fi
   14750 
   14751 rm -f conftest.err conftest.$ac_ext
   14752 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14753 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14754 
   14755 # So?  What about this header?
   14756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14757   yes:no: )
   14758     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   14759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14760     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   14761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   14762     ac_header_preproc=yes
   14763     ;;
   14764   no:yes:* )
   14765     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   14766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   14767     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   14768 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   14769     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   14770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   14771     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   14772 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   14773     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   14774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   14775     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   14776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   14777     ( cat <<\_ASBOX
   14778 ## ---------------------------------------------------------------------- ##
   14779 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   14780 ## ---------------------------------------------------------------------- ##
   14781 _ASBOX
   14782      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14783     ;;
   14784 esac
   14785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14788   echo $ECHO_N "(cached) $ECHO_C" >&6
   14789 else
   14790   eval "$as_ac_Header=\$ac_header_preproc"
   14791 fi
   14792 ac_res=`eval echo '${'$as_ac_Header'}'`
   14793 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14794 echo "${ECHO_T}$ac_res" >&6; }
   14795 
   14796 fi
   14797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   14798   cat >>confdefs.h <<_ACEOF
   14799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14800 _ACEOF
   14801 
   14802 fi
   14803 
   14804 done
   14805 
   14806 
   14807 # if <sys/endian.h> is found, have to check which version
   14808 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   14809   { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   14810 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
   14811 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   14812   echo $ECHO_N "(cached) $ECHO_C" >&6
   14813 fi
   14814 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   14815 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
   14816 else
   14817   # Is the header compilable?
   14818 { echo "$as_me:$LINENO: checking sys/endian.h usability" >&5
   14819 echo $ECHO_N "checking sys/endian.h usability... $ECHO_C" >&6; }
   14820 cat >conftest.$ac_ext <<_ACEOF
   14821 /* confdefs.h.  */
   14822 _ACEOF
   14823 cat confdefs.h >>conftest.$ac_ext
   14824 cat >>conftest.$ac_ext <<_ACEOF
   14825 /* end confdefs.h.  */
   14826 $ac_includes_default
   14827 #include <sys/endian.h>
   14828 _ACEOF
   14829 rm -f conftest.$ac_objext
   14830 if { (ac_try="$ac_compile"
   14831 case "(($ac_try" in
   14832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14833   *) ac_try_echo=$ac_try;;
   14834 esac
   14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14836   (eval "$ac_compile") 2>conftest.er1
   14837   ac_status=$?
   14838   grep -v '^ *+' conftest.er1 >conftest.err
   14839   rm -f conftest.er1
   14840   cat conftest.err >&5
   14841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14842   (exit $ac_status); } && {
   14843 	 test -z "$ac_c_werror_flag" ||
   14844 	 test ! -s conftest.err
   14845        } && test -s conftest.$ac_objext; then
   14846   ac_header_compiler=yes
   14847 else
   14848   echo "$as_me: failed program was:" >&5
   14849 sed 's/^/| /' conftest.$ac_ext >&5
   14850 
   14851 	ac_header_compiler=no
   14852 fi
   14853 
   14854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14855 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14856 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14857 
   14858 # Is the header present?
   14859 { echo "$as_me:$LINENO: checking sys/endian.h presence" >&5
   14860 echo $ECHO_N "checking sys/endian.h presence... $ECHO_C" >&6; }
   14861 cat >conftest.$ac_ext <<_ACEOF
   14862 /* confdefs.h.  */
   14863 _ACEOF
   14864 cat confdefs.h >>conftest.$ac_ext
   14865 cat >>conftest.$ac_ext <<_ACEOF
   14866 /* end confdefs.h.  */
   14867 #include <sys/endian.h>
   14868 _ACEOF
   14869 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14870 case "(($ac_try" in
   14871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14872   *) ac_try_echo=$ac_try;;
   14873 esac
   14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14875   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14876   ac_status=$?
   14877   grep -v '^ *+' conftest.er1 >conftest.err
   14878   rm -f conftest.er1
   14879   cat conftest.err >&5
   14880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14881   (exit $ac_status); } >/dev/null && {
   14882 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   14883 	 test ! -s conftest.err
   14884        }; then
   14885   ac_header_preproc=yes
   14886 else
   14887   echo "$as_me: failed program was:" >&5
   14888 sed 's/^/| /' conftest.$ac_ext >&5
   14889 
   14890   ac_header_preproc=no
   14891 fi
   14892 
   14893 rm -f conftest.err conftest.$ac_ext
   14894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14895 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14896 
   14897 # So?  What about this header?
   14898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14899   yes:no: )
   14900     { echo "$as_me:$LINENO: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
   14901 echo "$as_me: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14902     { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the compiler's result" >&5
   14903 echo "$as_me: WARNING: sys/endian.h: proceeding with the compiler's result" >&2;}
   14904     ac_header_preproc=yes
   14905     ;;
   14906   no:yes:* )
   14907     { echo "$as_me:$LINENO: WARNING: sys/endian.h: present but cannot be compiled" >&5
   14908 echo "$as_me: WARNING: sys/endian.h: present but cannot be compiled" >&2;}
   14909     { echo "$as_me:$LINENO: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&5
   14910 echo "$as_me: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&2;}
   14911     { echo "$as_me:$LINENO: WARNING: sys/endian.h: see the Autoconf documentation" >&5
   14912 echo "$as_me: WARNING: sys/endian.h: see the Autoconf documentation" >&2;}
   14913     { echo "$as_me:$LINENO: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&5
   14914 echo "$as_me: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   14915     { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&5
   14916 echo "$as_me: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&2;}
   14917     { echo "$as_me:$LINENO: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&5
   14918 echo "$as_me: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&2;}
   14919     ( cat <<\_ASBOX
   14920 ## ---------------------------------------------------------------------- ##
   14921 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   14922 ## ---------------------------------------------------------------------- ##
   14923 _ASBOX
   14924      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14925     ;;
   14926 esac
   14927 { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   14928 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
   14929 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   14930   echo $ECHO_N "(cached) $ECHO_C" >&6
   14931 else
   14932   ac_cv_header_sys_endian_h=$ac_header_preproc
   14933 fi
   14934 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   14935 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
   14936 
   14937 fi
   14938 if test $ac_cv_header_sys_endian_h = yes; then
   14939   HAVE_SYS_ENDIAN_H="yes"
   14940 else
   14941   HAVE_SYS_ENDIAN_H="no"
   14942 fi
   14943 
   14944 
   14945 
   14946 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   14947 	{ echo "$as_me:$LINENO: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   14948 echo $ECHO_N "checking for __swap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
   14949 	cat >conftest.$ac_ext <<_ACEOF
   14950 /* confdefs.h.  */
   14951 _ACEOF
   14952 cat confdefs.h >>conftest.$ac_ext
   14953 cat >>conftest.$ac_ext <<_ACEOF
   14954 /* end confdefs.h.  */
   14955 
   14956 #include <sys/types.h>
   14957 #include <sys/endian.h>
   14958 
   14959 int
   14960 main ()
   14961 {
   14962 
   14963 int a = 1, b;
   14964 b = __swap16(a);
   14965 
   14966   ;
   14967   return 0;
   14968 }
   14969 
   14970 _ACEOF
   14971 rm -f conftest.$ac_objext conftest$ac_exeext
   14972 if { (ac_try="$ac_link"
   14973 case "(($ac_try" in
   14974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14975   *) ac_try_echo=$ac_try;;
   14976 esac
   14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14978   (eval "$ac_link") 2>conftest.er1
   14979   ac_status=$?
   14980   grep -v '^ *+' conftest.er1 >conftest.err
   14981   rm -f conftest.er1
   14982   cat conftest.err >&5
   14983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14984   (exit $ac_status); } && {
   14985 	 test -z "$ac_c_werror_flag" ||
   14986 	 test ! -s conftest.err
   14987        } && test -s conftest$ac_exeext &&
   14988        $as_test_x conftest$ac_exeext; then
   14989   SYS_ENDIAN__SWAP='yes'
   14990 else
   14991   echo "$as_me: failed program was:" >&5
   14992 sed 's/^/| /' conftest.$ac_ext >&5
   14993 
   14994 	SYS_ENDIAN__SWAP='no'
   14995 fi
   14996 
   14997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14998       conftest$ac_exeext conftest.$ac_ext
   14999 	{ echo "$as_me:$LINENO: result: $SYS_ENDIAN__SWAP" >&5
   15000 echo "${ECHO_T}$SYS_ENDIAN__SWAP" >&6; }
   15001 
   15002 	{ echo "$as_me:$LINENO: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   15003 echo $ECHO_N "checking for bswap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
   15004 	cat >conftest.$ac_ext <<_ACEOF
   15005 /* confdefs.h.  */
   15006 _ACEOF
   15007 cat confdefs.h >>conftest.$ac_ext
   15008 cat >>conftest.$ac_ext <<_ACEOF
   15009 /* end confdefs.h.  */
   15010 
   15011 #include <sys/types.h>
   15012 #include <sys/endian.h>
   15013 
   15014 int
   15015 main ()
   15016 {
   15017 
   15018 int a = 1, b;
   15019 b = bswap16(a);
   15020 
   15021   ;
   15022   return 0;
   15023 }
   15024 
   15025 _ACEOF
   15026 rm -f conftest.$ac_objext conftest$ac_exeext
   15027 if { (ac_try="$ac_link"
   15028 case "(($ac_try" in
   15029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15030   *) ac_try_echo=$ac_try;;
   15031 esac
   15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15033   (eval "$ac_link") 2>conftest.er1
   15034   ac_status=$?
   15035   grep -v '^ *+' conftest.er1 >conftest.err
   15036   rm -f conftest.er1
   15037   cat conftest.err >&5
   15038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15039   (exit $ac_status); } && {
   15040 	 test -z "$ac_c_werror_flag" ||
   15041 	 test ! -s conftest.err
   15042        } && test -s conftest$ac_exeext &&
   15043        $as_test_x conftest$ac_exeext; then
   15044   SYS_ENDIAN_BSWAP='yes'
   15045 else
   15046   echo "$as_me: failed program was:" >&5
   15047 sed 's/^/| /' conftest.$ac_ext >&5
   15048 
   15049 	SYS_ENDIAN_BSWAP='no'
   15050 fi
   15051 
   15052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15053       conftest$ac_exeext conftest.$ac_ext
   15054 	{ echo "$as_me:$LINENO: result: $SYS_ENDIAN_BSWAP" >&5
   15055 echo "${ECHO_T}$SYS_ENDIAN_BSWAP" >&6; }
   15056 
   15057     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   15058 		USE_SYS_ENDIAN_H=yes
   15059 		BSWAP=bswap
   15060 	else
   15061 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   15062 			USE_SYS_ENDIAN_H=yes
   15063 			BSWAP=__swap
   15064 		else
   15065 			USE_SYS_ENDIAN_H=no
   15066 		fi
   15067 	fi
   15068 
   15069 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   15070 
   15071 cat >>confdefs.h <<\_ACEOF
   15072 #define USE_SYS_ENDIAN_H 1
   15073 _ACEOF
   15074 
   15075 
   15076 cat >>confdefs.h <<_ACEOF
   15077 #define bswap_16 ${BSWAP}16
   15078 _ACEOF
   15079 
   15080 
   15081 cat >>confdefs.h <<_ACEOF
   15082 #define bswap_32 ${BSWAP}32
   15083 _ACEOF
   15084 
   15085 
   15086 cat >>confdefs.h <<_ACEOF
   15087 #define bswap_64 ${BSWAP}64
   15088 _ACEOF
   15089 
   15090 	fi
   15091 fi
   15092 
   15093 case $host_os in
   15094   *linux*)
   15095 
   15096 cat >>confdefs.h <<\_ACEOF
   15097 #define FGL_LINUX 1
   15098 _ACEOF
   15099  ;;
   15100 esac
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 DRIVER_NAME=ati
   15109 
   15110 
   15111 { echo "$as_me:$LINENO: The atimisc sub-driver has been split out to xf86-video-mach64:
   15112     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   15113 Please install that driver as well for mach64-based cards.
   15114 " >&5
   15115 echo "$as_me: The atimisc sub-driver has been split out to xf86-video-mach64:
   15116     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   15117 Please install that driver as well for mach64-based cards.
   15118 " >&6;}
   15119 
   15120 { echo "$as_me:$LINENO: The r128 sub-driver has been split out to xf86-video-r128:
   15121     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   15122 Please install that driver as well for rage128-based cards.
   15123 " >&5
   15124 echo "$as_me: The r128 sub-driver has been split out to xf86-video-r128:
   15125     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   15126 Please install that driver as well for rage128-based cards.
   15127 " >&6;}
   15128 
   15129 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   15130 
   15131 cat >confcache <<\_ACEOF
   15132 # This file is a shell script that caches the results of configure
   15133 # tests run on this system so they can be shared between configure
   15134 # scripts and configure runs, see configure's option --config-cache.
   15135 # It is not useful on other systems.  If it contains results you don't
   15136 # want to keep, you may remove or edit it.
   15137 #
   15138 # config.status only pays attention to the cache file if you give it
   15139 # the --recheck option to rerun configure.
   15140 #
   15141 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15142 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15143 # following values.
   15144 
   15145 _ACEOF
   15146 
   15147 # The following way of writing the cache mishandles newlines in values,
   15148 # but we know of no workaround that is simple, portable, and efficient.
   15149 # So, we kill variables containing newlines.
   15150 # Ultrix sh set writes to stderr and can't be redirected directly,
   15151 # and sets the high bit in the cache file unless we assign to the vars.
   15152 (
   15153   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15154     eval ac_val=\$$ac_var
   15155     case $ac_val in #(
   15156     *${as_nl}*)
   15157       case $ac_var in #(
   15158       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   15159 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   15160       esac
   15161       case $ac_var in #(
   15162       _ | IFS | as_nl) ;; #(
   15163       *) $as_unset $ac_var ;;
   15164       esac ;;
   15165     esac
   15166   done
   15167 
   15168   (set) 2>&1 |
   15169     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15170     *${as_nl}ac_space=\ *)
   15171       # `set' does not quote correctly, so add quotes (double-quote
   15172       # substitution turns \\\\ into \\, and sed turns \\ into \).
   15173       sed -n \
   15174 	"s/'/'\\\\''/g;
   15175 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15176       ;; #(
   15177     *)
   15178       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15179       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15180       ;;
   15181     esac |
   15182     sort
   15183 ) |
   15184   sed '
   15185      /^ac_cv_env_/b end
   15186      t clear
   15187      :clear
   15188      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15189      t end
   15190      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15191      :end' >>confcache
   15192 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15193   if test -w "$cache_file"; then
   15194     test "x$cache_file" != "x/dev/null" &&
   15195       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   15196 echo "$as_me: updating cache $cache_file" >&6;}
   15197     cat confcache >$cache_file
   15198   else
   15199     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   15200 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15201   fi
   15202 fi
   15203 rm -f confcache
   15204 
   15205 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15206 # Let make expand exec_prefix.
   15207 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15208 
   15209 DEFS=-DHAVE_CONFIG_H
   15210 
   15211 ac_libobjs=
   15212 ac_ltlibobjs=
   15213 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15214   # 1. Remove the extension, and $U if already installed.
   15215   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15216   ac_i=`echo "$ac_i" | sed "$ac_script"`
   15217   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15218   #    will be set to the directory where LIBOBJS objects are built.
   15219   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15220   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   15221 done
   15222 LIBOBJS=$ac_libobjs
   15223 
   15224 LTLIBOBJS=$ac_ltlibobjs
   15225 
   15226 
   15227 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15228   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   15229 Usually this means the macro was only invoked conditionally." >&5
   15230 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   15231 Usually this means the macro was only invoked conditionally." >&2;}
   15232    { (exit 1); exit 1; }; }
   15233 fi
   15234 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15235   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   15236 Usually this means the macro was only invoked conditionally." >&5
   15237 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   15238 Usually this means the macro was only invoked conditionally." >&2;}
   15239    { (exit 1); exit 1; }; }
   15240 fi
   15241 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   15242   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   15243 Usually this means the macro was only invoked conditionally." >&5
   15244 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   15245 Usually this means the macro was only invoked conditionally." >&2;}
   15246    { (exit 1); exit 1; }; }
   15247 fi
   15248 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   15249   { { echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   15250 Usually this means the macro was only invoked conditionally." >&5
   15251 echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   15252 Usually this means the macro was only invoked conditionally." >&2;}
   15253    { (exit 1); exit 1; }; }
   15254 fi
   15255 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   15256   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   15257 Usually this means the macro was only invoked conditionally." >&5
   15258 echo "$as_me: error: conditional \"DRI\" was never defined.
   15259 Usually this means the macro was only invoked conditionally." >&2;}
   15260    { (exit 1); exit 1; }; }
   15261 fi
   15262 if test -z "${DRM_MODE_TRUE}" && test -z "${DRM_MODE_FALSE}"; then
   15263   { { echo "$as_me:$LINENO: error: conditional \"DRM_MODE\" was never defined.
   15264 Usually this means the macro was only invoked conditionally." >&5
   15265 echo "$as_me: error: conditional \"DRM_MODE\" was never defined.
   15266 Usually this means the macro was only invoked conditionally." >&2;}
   15267    { (exit 1); exit 1; }; }
   15268 fi
   15269 if test -z "${XMODES_TRUE}" && test -z "${XMODES_FALSE}"; then
   15270   { { echo "$as_me:$LINENO: error: conditional \"XMODES\" was never defined.
   15271 Usually this means the macro was only invoked conditionally." >&5
   15272 echo "$as_me: error: conditional \"XMODES\" was never defined.
   15273 Usually this means the macro was only invoked conditionally." >&2;}
   15274    { (exit 1); exit 1; }; }
   15275 fi
   15276 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   15277   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   15278 Usually this means the macro was only invoked conditionally." >&5
   15279 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   15280 Usually this means the macro was only invoked conditionally." >&2;}
   15281    { (exit 1); exit 1; }; }
   15282 fi
   15283 if test -z "${XF86DRM_MODE_TRUE}" && test -z "${XF86DRM_MODE_FALSE}"; then
   15284   { { echo "$as_me:$LINENO: error: conditional \"XF86DRM_MODE\" was never defined.
   15285 Usually this means the macro was only invoked conditionally." >&5
   15286 echo "$as_me: error: conditional \"XF86DRM_MODE\" was never defined.
   15287 Usually this means the macro was only invoked conditionally." >&2;}
   15288    { (exit 1); exit 1; }; }
   15289 fi
   15290 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   15291   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   15292 Usually this means the macro was only invoked conditionally." >&5
   15293 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   15294 Usually this means the macro was only invoked conditionally." >&2;}
   15295    { (exit 1); exit 1; }; }
   15296 fi
   15297 
   15298 : ${CONFIG_STATUS=./config.status}
   15299 ac_clean_files_save=$ac_clean_files
   15300 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15301 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   15302 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15303 cat >$CONFIG_STATUS <<_ACEOF
   15304 #! $SHELL
   15305 # Generated by $as_me.
   15306 # Run this file to recreate the current configuration.
   15307 # Compiler output produced by configure, useful for debugging
   15308 # configure, is in config.log if it exists.
   15309 
   15310 debug=false
   15311 ac_cs_recheck=false
   15312 ac_cs_silent=false
   15313 SHELL=\${CONFIG_SHELL-$SHELL}
   15314 _ACEOF
   15315 
   15316 cat >>$CONFIG_STATUS <<\_ACEOF
   15317 ## --------------------- ##
   15318 ## M4sh Initialization.  ##
   15319 ## --------------------- ##
   15320 
   15321 # Be more Bourne compatible
   15322 DUALCASE=1; export DUALCASE # for MKS sh
   15323 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15324   emulate sh
   15325   NULLCMD=:
   15326   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   15327   # is contrary to our usage.  Disable this feature.
   15328   alias -g '${1+"$@"}'='"$@"'
   15329   setopt NO_GLOB_SUBST
   15330 else
   15331   case `(set -o) 2>/dev/null` in
   15332   *posix*) set -o posix ;;
   15333 esac
   15334 
   15335 fi
   15336 
   15337 
   15338 
   15339 
   15340 # PATH needs CR
   15341 # Avoid depending upon Character Ranges.
   15342 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15343 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15344 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15345 as_cr_digits='0123456789'
   15346 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15347 
   15348 # The user is always right.
   15349 if test "${PATH_SEPARATOR+set}" != set; then
   15350   echo "#! /bin/sh" >conf$$.sh
   15351   echo  "exit 0"   >>conf$$.sh
   15352   chmod +x conf$$.sh
   15353   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   15354     PATH_SEPARATOR=';'
   15355   else
   15356     PATH_SEPARATOR=:
   15357   fi
   15358   rm -f conf$$.sh
   15359 fi
   15360 
   15361 # Support unset when possible.
   15362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   15363   as_unset=unset
   15364 else
   15365   as_unset=false
   15366 fi
   15367 
   15368 
   15369 # IFS
   15370 # We need space, tab and new line, in precisely that order.  Quoting is
   15371 # there to prevent editors from complaining about space-tab.
   15372 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15373 # splitting by setting IFS to empty value.)
   15374 as_nl='
   15375 '
   15376 IFS=" ""	$as_nl"
   15377 
   15378 # Find who we are.  Look in the path if we contain no directory separator.
   15379 case $0 in
   15380   *[\\/]* ) as_myself=$0 ;;
   15381   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15382 for as_dir in $PATH
   15383 do
   15384   IFS=$as_save_IFS
   15385   test -z "$as_dir" && as_dir=.
   15386   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15387 done
   15388 IFS=$as_save_IFS
   15389 
   15390      ;;
   15391 esac
   15392 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15393 # in which case we are not to be found in the path.
   15394 if test "x$as_myself" = x; then
   15395   as_myself=$0
   15396 fi
   15397 if test ! -f "$as_myself"; then
   15398   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15399   { (exit 1); exit 1; }
   15400 fi
   15401 
   15402 # Work around bugs in pre-3.0 UWIN ksh.
   15403 for as_var in ENV MAIL MAILPATH
   15404 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   15405 done
   15406 PS1='$ '
   15407 PS2='> '
   15408 PS4='+ '
   15409 
   15410 # NLS nuisances.
   15411 for as_var in \
   15412   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   15413   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   15414   LC_TELEPHONE LC_TIME
   15415 do
   15416   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   15417     eval $as_var=C; export $as_var
   15418   else
   15419     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   15420   fi
   15421 done
   15422 
   15423 # Required to use basename.
   15424 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15425    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15426   as_expr=expr
   15427 else
   15428   as_expr=false
   15429 fi
   15430 
   15431 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15432   as_basename=basename
   15433 else
   15434   as_basename=false
   15435 fi
   15436 
   15437 
   15438 # Name of the executable.
   15439 as_me=`$as_basename -- "$0" ||
   15440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15441 	 X"$0" : 'X\(//\)$' \| \
   15442 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15443 echo X/"$0" |
   15444     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15445 	    s//\1/
   15446 	    q
   15447 	  }
   15448 	  /^X\/\(\/\/\)$/{
   15449 	    s//\1/
   15450 	    q
   15451 	  }
   15452 	  /^X\/\(\/\).*/{
   15453 	    s//\1/
   15454 	    q
   15455 	  }
   15456 	  s/.*/./; q'`
   15457 
   15458 # CDPATH.
   15459 $as_unset CDPATH
   15460 
   15461 
   15462 
   15463   as_lineno_1=$LINENO
   15464   as_lineno_2=$LINENO
   15465   test "x$as_lineno_1" != "x$as_lineno_2" &&
   15466   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   15467 
   15468   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   15469   # uniformly replaced by the line number.  The first 'sed' inserts a
   15470   # line-number line after each line using $LINENO; the second 'sed'
   15471   # does the real work.  The second script uses 'N' to pair each
   15472   # line-number line with the line containing $LINENO, and appends
   15473   # trailing '-' during substitution so that $LINENO is not a special
   15474   # case at line end.
   15475   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   15476   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   15477   # E. McMahon (1931-1989) for sed's syntax.  :-)
   15478   sed -n '
   15479     p
   15480     /[$]LINENO/=
   15481   ' <$as_myself |
   15482     sed '
   15483       s/[$]LINENO.*/&-/
   15484       t lineno
   15485       b
   15486       :lineno
   15487       N
   15488       :loop
   15489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   15490       t loop
   15491       s/-\n.*//
   15492     ' >$as_me.lineno &&
   15493   chmod +x "$as_me.lineno" ||
   15494     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   15495    { (exit 1); exit 1; }; }
   15496 
   15497   # Don't try to exec as it changes $[0], causing all sort of problems
   15498   # (the dirname of $[0] is not the place where we might find the
   15499   # original and so on.  Autoconf is especially sensitive to this).
   15500   . "./$as_me.lineno"
   15501   # Exit status is that of the last command.
   15502   exit
   15503 }
   15504 
   15505 
   15506 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15507   as_dirname=dirname
   15508 else
   15509   as_dirname=false
   15510 fi
   15511 
   15512 ECHO_C= ECHO_N= ECHO_T=
   15513 case `echo -n x` in
   15514 -n*)
   15515   case `echo 'x\c'` in
   15516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15517   *)   ECHO_C='\c';;
   15518   esac;;
   15519 *)
   15520   ECHO_N='-n';;
   15521 esac
   15522 
   15523 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15524    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15525   as_expr=expr
   15526 else
   15527   as_expr=false
   15528 fi
   15529 
   15530 rm -f conf$$ conf$$.exe conf$$.file
   15531 if test -d conf$$.dir; then
   15532   rm -f conf$$.dir/conf$$.file
   15533 else
   15534   rm -f conf$$.dir
   15535   mkdir conf$$.dir
   15536 fi
   15537 echo >conf$$.file
   15538 if ln -s conf$$.file conf$$ 2>/dev/null; then
   15539   as_ln_s='ln -s'
   15540   # ... but there are two gotchas:
   15541   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15542   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15543   # In both cases, we have to default to `cp -p'.
   15544   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15545     as_ln_s='cp -p'
   15546 elif ln conf$$.file conf$$ 2>/dev/null; then
   15547   as_ln_s=ln
   15548 else
   15549   as_ln_s='cp -p'
   15550 fi
   15551 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15552 rmdir conf$$.dir 2>/dev/null
   15553 
   15554 if mkdir -p . 2>/dev/null; then
   15555   as_mkdir_p=:
   15556 else
   15557   test -d ./-p && rmdir ./-p
   15558   as_mkdir_p=false
   15559 fi
   15560 
   15561 if test -x / >/dev/null 2>&1; then
   15562   as_test_x='test -x'
   15563 else
   15564   if ls -dL / >/dev/null 2>&1; then
   15565     as_ls_L_option=L
   15566   else
   15567     as_ls_L_option=
   15568   fi
   15569   as_test_x='
   15570     eval sh -c '\''
   15571       if test -d "$1"; then
   15572         test -d "$1/.";
   15573       else
   15574 	case $1 in
   15575         -*)set "./$1";;
   15576 	esac;
   15577 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   15578 	???[sx]*):;;*)false;;esac;fi
   15579     '\'' sh
   15580   '
   15581 fi
   15582 as_executable_p=$as_test_x
   15583 
   15584 # Sed expression to map a string onto a valid CPP name.
   15585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15586 
   15587 # Sed expression to map a string onto a valid variable name.
   15588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15589 
   15590 
   15591 exec 6>&1
   15592 
   15593 # Save the log message, to keep $[0] and so on meaningful, and to
   15594 # report actual input values of CONFIG_FILES etc. instead of their
   15595 # values after options handling.
   15596 ac_log="
   15597 This file was extended by xf86-video-ati $as_me 6.13.0, which was
   15598 generated by GNU Autoconf 2.61.  Invocation command line was
   15599 
   15600   CONFIG_FILES    = $CONFIG_FILES
   15601   CONFIG_HEADERS  = $CONFIG_HEADERS
   15602   CONFIG_LINKS    = $CONFIG_LINKS
   15603   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15604   $ $0 $@
   15605 
   15606 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15607 "
   15608 
   15609 _ACEOF
   15610 
   15611 cat >>$CONFIG_STATUS <<_ACEOF
   15612 # Files that config.status was made for.
   15613 config_files="$ac_config_files"
   15614 config_headers="$ac_config_headers"
   15615 config_commands="$ac_config_commands"
   15616 
   15617 _ACEOF
   15618 
   15619 cat >>$CONFIG_STATUS <<\_ACEOF
   15620 ac_cs_usage="\
   15621 \`$as_me' instantiates files from templates according to the
   15622 current configuration.
   15623 
   15624 Usage: $0 [OPTIONS] [FILE]...
   15625 
   15626   -h, --help       print this help, then exit
   15627   -V, --version    print version number and configuration settings, then exit
   15628   -q, --quiet      do not print progress messages
   15629   -d, --debug      don't remove temporary files
   15630       --recheck    update $as_me by reconfiguring in the same conditions
   15631   --file=FILE[:TEMPLATE]
   15632 		   instantiate the configuration file FILE
   15633   --header=FILE[:TEMPLATE]
   15634 		   instantiate the configuration header FILE
   15635 
   15636 Configuration files:
   15637 $config_files
   15638 
   15639 Configuration headers:
   15640 $config_headers
   15641 
   15642 Configuration commands:
   15643 $config_commands
   15644 
   15645 Report bugs to <bug-autoconf (at] gnu.org>."
   15646 
   15647 _ACEOF
   15648 cat >>$CONFIG_STATUS <<_ACEOF
   15649 ac_cs_version="\\
   15650 xf86-video-ati config.status 6.13.0
   15651 configured by $0, generated by GNU Autoconf 2.61,
   15652   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   15653 
   15654 Copyright (C) 2006 Free Software Foundation, Inc.
   15655 This config.status script is free software; the Free Software Foundation
   15656 gives unlimited permission to copy, distribute and modify it."
   15657 
   15658 ac_pwd='$ac_pwd'
   15659 srcdir='$srcdir'
   15660 INSTALL='$INSTALL'
   15661 MKDIR_P='$MKDIR_P'
   15662 _ACEOF
   15663 
   15664 cat >>$CONFIG_STATUS <<\_ACEOF
   15665 # If no file are specified by the user, then we need to provide default
   15666 # value.  By we need to know if files were specified by the user.
   15667 ac_need_defaults=:
   15668 while test $# != 0
   15669 do
   15670   case $1 in
   15671   --*=*)
   15672     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15673     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15674     ac_shift=:
   15675     ;;
   15676   *)
   15677     ac_option=$1
   15678     ac_optarg=$2
   15679     ac_shift=shift
   15680     ;;
   15681   esac
   15682 
   15683   case $ac_option in
   15684   # Handling of the options.
   15685   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15686     ac_cs_recheck=: ;;
   15687   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15688     echo "$ac_cs_version"; exit ;;
   15689   --debug | --debu | --deb | --de | --d | -d )
   15690     debug=: ;;
   15691   --file | --fil | --fi | --f )
   15692     $ac_shift
   15693     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   15694     ac_need_defaults=false;;
   15695   --header | --heade | --head | --hea )
   15696     $ac_shift
   15697     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   15698     ac_need_defaults=false;;
   15699   --he | --h)
   15700     # Conflict between --help and --header
   15701     { echo "$as_me: error: ambiguous option: $1
   15702 Try \`$0 --help' for more information." >&2
   15703    { (exit 1); exit 1; }; };;
   15704   --help | --hel | -h )
   15705     echo "$ac_cs_usage"; exit ;;
   15706   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15707   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15708     ac_cs_silent=: ;;
   15709 
   15710   # This is an error.
   15711   -*) { echo "$as_me: error: unrecognized option: $1
   15712 Try \`$0 --help' for more information." >&2
   15713    { (exit 1); exit 1; }; } ;;
   15714 
   15715   *) ac_config_targets="$ac_config_targets $1"
   15716      ac_need_defaults=false ;;
   15717 
   15718   esac
   15719   shift
   15720 done
   15721 
   15722 ac_configure_extra_args=
   15723 
   15724 if $ac_cs_silent; then
   15725   exec 6>/dev/null
   15726   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15727 fi
   15728 
   15729 _ACEOF
   15730 cat >>$CONFIG_STATUS <<_ACEOF
   15731 if \$ac_cs_recheck; then
   15732   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   15733   CONFIG_SHELL=$SHELL
   15734   export CONFIG_SHELL
   15735   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15736 fi
   15737 
   15738 _ACEOF
   15739 cat >>$CONFIG_STATUS <<\_ACEOF
   15740 exec 5>>config.log
   15741 {
   15742   echo
   15743   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15744 ## Running $as_me. ##
   15745 _ASBOX
   15746   echo "$ac_log"
   15747 } >&5
   15748 
   15749 _ACEOF
   15750 cat >>$CONFIG_STATUS <<_ACEOF
   15751 #
   15752 # INIT-COMMANDS
   15753 #
   15754 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15755 
   15756 
   15757 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15758 # if CDPATH is set.
   15759 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15760 
   15761 sed_quote_subst='$sed_quote_subst'
   15762 double_quote_subst='$double_quote_subst'
   15763 delay_variable_subst='$delay_variable_subst'
   15764 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   15765 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   15766 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   15767 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   15768 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   15769 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   15770 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15771 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   15772 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   15773 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15774 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   15775 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   15776 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   15777 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   15778 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   15779 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15780 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15781 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   15782 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   15783 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   15784 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   15785 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   15786 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   15787 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   15788 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   15789 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   15790 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15791 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15792 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   15793 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   15794 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   15795 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15796 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   15797 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   15798 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15799 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15800 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15801 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   15802 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15803 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   15804 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   15805 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   15806 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   15807 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   15808 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15809 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   15810 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   15811 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   15812 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   15813 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15814 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   15815 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   15816 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   15817 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   15818 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   15819 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   15820 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   15821 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   15822 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   15823 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   15824 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   15825 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15826 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15827 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   15828 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   15829 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15830 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15831 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   15832 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15833 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15834 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15835 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15836 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15837 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15838 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15839 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15840 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15841 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15842 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15843 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   15844 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   15845 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   15846 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   15847 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15848 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   15849 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   15850 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   15851 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   15852 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   15853 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15854 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15855 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15856 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15857 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15858 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   15859 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15860 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   15861 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   15862 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15863 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15864 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   15865 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15866 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15867 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15868 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15869 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15870 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15871 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   15872 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   15873 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15874 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15875 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   15876 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   15877 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   15878 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   15879 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15880 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15881 
   15882 LTCC='$LTCC'
   15883 LTCFLAGS='$LTCFLAGS'
   15884 compiler='$compiler_DEFAULT'
   15885 
   15886 # Quote evaled strings.
   15887 for var in SED \
   15888 GREP \
   15889 EGREP \
   15890 FGREP \
   15891 LD \
   15892 NM \
   15893 LN_S \
   15894 lt_SP2NL \
   15895 lt_NL2SP \
   15896 reload_flag \
   15897 deplibs_check_method \
   15898 file_magic_cmd \
   15899 AR \
   15900 AR_FLAGS \
   15901 STRIP \
   15902 RANLIB \
   15903 CC \
   15904 CFLAGS \
   15905 compiler \
   15906 lt_cv_sys_global_symbol_pipe \
   15907 lt_cv_sys_global_symbol_to_cdecl \
   15908 lt_cv_sys_global_symbol_to_c_name_address \
   15909 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15910 SHELL \
   15911 ECHO \
   15912 lt_prog_compiler_no_builtin_flag \
   15913 lt_prog_compiler_wl \
   15914 lt_prog_compiler_pic \
   15915 lt_prog_compiler_static \
   15916 lt_cv_prog_compiler_c_o \
   15917 need_locks \
   15918 DSYMUTIL \
   15919 NMEDIT \
   15920 LIPO \
   15921 OTOOL \
   15922 OTOOL64 \
   15923 shrext_cmds \
   15924 export_dynamic_flag_spec \
   15925 whole_archive_flag_spec \
   15926 compiler_needs_object \
   15927 with_gnu_ld \
   15928 allow_undefined_flag \
   15929 no_undefined_flag \
   15930 hardcode_libdir_flag_spec \
   15931 hardcode_libdir_flag_spec_ld \
   15932 hardcode_libdir_separator \
   15933 fix_srcfile_path \
   15934 exclude_expsyms \
   15935 include_expsyms \
   15936 file_list_spec \
   15937 variables_saved_for_relink \
   15938 libname_spec \
   15939 library_names_spec \
   15940 soname_spec \
   15941 finish_eval \
   15942 old_striplib \
   15943 striplib; do
   15944     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15945     *[\\\\\\\`\\"\\\$]*)
   15946       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15947       ;;
   15948     *)
   15949       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15950       ;;
   15951     esac
   15952 done
   15953 
   15954 # Double-quote double-evaled strings.
   15955 for var in reload_cmds \
   15956 old_postinstall_cmds \
   15957 old_postuninstall_cmds \
   15958 old_archive_cmds \
   15959 extract_expsyms_cmds \
   15960 old_archive_from_new_cmds \
   15961 old_archive_from_expsyms_cmds \
   15962 archive_cmds \
   15963 archive_expsym_cmds \
   15964 module_cmds \
   15965 module_expsym_cmds \
   15966 export_symbols_cmds \
   15967 prelink_cmds \
   15968 postinstall_cmds \
   15969 postuninstall_cmds \
   15970 finish_cmds \
   15971 sys_lib_search_path_spec \
   15972 sys_lib_dlsearch_path_spec; do
   15973     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15974     *[\\\\\\\`\\"\\\$]*)
   15975       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15976       ;;
   15977     *)
   15978       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15979       ;;
   15980     esac
   15981 done
   15982 
   15983 # Fix-up fallback echo if it was mangled by the above quoting rules.
   15984 case \$lt_ECHO in
   15985 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   15986   ;;
   15987 esac
   15988 
   15989 ac_aux_dir='$ac_aux_dir'
   15990 xsi_shell='$xsi_shell'
   15991 lt_shell_append='$lt_shell_append'
   15992 
   15993 # See if we are running on zsh, and set the options which allow our
   15994 # commands through without removal of \ escapes INIT.
   15995 if test -n "\${ZSH_VERSION+set}" ; then
   15996    setopt NO_GLOB_SUBST
   15997 fi
   15998 
   15999 
   16000     PACKAGE='$PACKAGE'
   16001     VERSION='$VERSION'
   16002     TIMESTAMP='$TIMESTAMP'
   16003     RM='$RM'
   16004     ofile='$ofile'
   16005 
   16006 
   16007 
   16008 
   16009 _ACEOF
   16010 
   16011 cat >>$CONFIG_STATUS <<\_ACEOF
   16012 
   16013 # Handling of arguments.
   16014 for ac_config_target in $ac_config_targets
   16015 do
   16016   case $ac_config_target in
   16017     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   16018     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16019     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16020     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16021     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   16022     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   16023 
   16024   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   16025 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   16026    { (exit 1); exit 1; }; };;
   16027   esac
   16028 done
   16029 
   16030 
   16031 # If the user did not use the arguments to specify the items to instantiate,
   16032 # then the envvar interface is used.  Set only those that are not.
   16033 # We use the long form for the default assignment because of an extremely
   16034 # bizarre bug on SunOS 4.1.3.
   16035 if $ac_need_defaults; then
   16036   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16037   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16038   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16039 fi
   16040 
   16041 # Have a temporary directory for convenience.  Make it in the build tree
   16042 # simply because there is no reason against having it here, and in addition,
   16043 # creating and moving files from /tmp can sometimes cause problems.
   16044 # Hook for its removal unless debugging.
   16045 # Note that there is a small window in which the directory will not be cleaned:
   16046 # after its creation but before its name has been assigned to `$tmp'.
   16047 $debug ||
   16048 {
   16049   tmp=
   16050   trap 'exit_status=$?
   16051   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   16052 ' 0
   16053   trap '{ (exit 1); exit 1; }' 1 2 13 15
   16054 }
   16055 # Create a (secure) tmp directory for tmp files.
   16056 
   16057 {
   16058   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16059   test -n "$tmp" && test -d "$tmp"
   16060 }  ||
   16061 {
   16062   tmp=./conf$$-$RANDOM
   16063   (umask 077 && mkdir "$tmp")
   16064 } ||
   16065 {
   16066    echo "$me: cannot create a temporary directory in ." >&2
   16067    { (exit 1); exit 1; }
   16068 }
   16069 
   16070 #
   16071 # Set up the sed scripts for CONFIG_FILES section.
   16072 #
   16073 
   16074 # No need to generate the scripts if there are no CONFIG_FILES.
   16075 # This happens for instance when ./config.status config.h
   16076 if test -n "$CONFIG_FILES"; then
   16077 
   16078 _ACEOF
   16079 
   16080 
   16081 
   16082 ac_delim='%!_!# '
   16083 for ac_last_try in false false false false false :; do
   16084   cat >conf$$subs.sed <<_ACEOF
   16085 SHELL!$SHELL$ac_delim
   16086 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   16087 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   16088 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   16089 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   16090 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   16091 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   16092 exec_prefix!$exec_prefix$ac_delim
   16093 prefix!$prefix$ac_delim
   16094 program_transform_name!$program_transform_name$ac_delim
   16095 bindir!$bindir$ac_delim
   16096 sbindir!$sbindir$ac_delim
   16097 libexecdir!$libexecdir$ac_delim
   16098 datarootdir!$datarootdir$ac_delim
   16099 datadir!$datadir$ac_delim
   16100 sysconfdir!$sysconfdir$ac_delim
   16101 sharedstatedir!$sharedstatedir$ac_delim
   16102 localstatedir!$localstatedir$ac_delim
   16103 includedir!$includedir$ac_delim
   16104 oldincludedir!$oldincludedir$ac_delim
   16105 docdir!$docdir$ac_delim
   16106 infodir!$infodir$ac_delim
   16107 htmldir!$htmldir$ac_delim
   16108 dvidir!$dvidir$ac_delim
   16109 pdfdir!$pdfdir$ac_delim
   16110 psdir!$psdir$ac_delim
   16111 libdir!$libdir$ac_delim
   16112 localedir!$localedir$ac_delim
   16113 mandir!$mandir$ac_delim
   16114 DEFS!$DEFS$ac_delim
   16115 ECHO_C!$ECHO_C$ac_delim
   16116 ECHO_N!$ECHO_N$ac_delim
   16117 ECHO_T!$ECHO_T$ac_delim
   16118 LIBS!$LIBS$ac_delim
   16119 build_alias!$build_alias$ac_delim
   16120 host_alias!$host_alias$ac_delim
   16121 target_alias!$target_alias$ac_delim
   16122 CC!$CC$ac_delim
   16123 CFLAGS!$CFLAGS$ac_delim
   16124 LDFLAGS!$LDFLAGS$ac_delim
   16125 CPPFLAGS!$CPPFLAGS$ac_delim
   16126 ac_ct_CC!$ac_ct_CC$ac_delim
   16127 EXEEXT!$EXEEXT$ac_delim
   16128 OBJEXT!$OBJEXT$ac_delim
   16129 CPP!$CPP$ac_delim
   16130 GREP!$GREP$ac_delim
   16131 EGREP!$EGREP$ac_delim
   16132 CWARNFLAGS!$CWARNFLAGS$ac_delim
   16133 CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim
   16134 INSTALL_CMD!$INSTALL_CMD$ac_delim
   16135 build!$build$ac_delim
   16136 build_cpu!$build_cpu$ac_delim
   16137 build_vendor!$build_vendor$ac_delim
   16138 build_os!$build_os$ac_delim
   16139 host!$host$ac_delim
   16140 host_cpu!$host_cpu$ac_delim
   16141 host_vendor!$host_vendor$ac_delim
   16142 host_os!$host_os$ac_delim
   16143 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   16144 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   16145 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   16146 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   16147 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   16148 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   16149 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   16150 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   16151 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   16152 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   16153 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   16154 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   16155 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   16156 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   16157 INSTALL_DATA!$INSTALL_DATA$ac_delim
   16158 am__isrc!$am__isrc$ac_delim
   16159 CYGPATH_W!$CYGPATH_W$ac_delim
   16160 PACKAGE!$PACKAGE$ac_delim
   16161 VERSION!$VERSION$ac_delim
   16162 ACLOCAL!$ACLOCAL$ac_delim
   16163 AUTOCONF!$AUTOCONF$ac_delim
   16164 AUTOMAKE!$AUTOMAKE$ac_delim
   16165 AUTOHEADER!$AUTOHEADER$ac_delim
   16166 MAKEINFO!$MAKEINFO$ac_delim
   16167 install_sh!$install_sh$ac_delim
   16168 STRIP!$STRIP$ac_delim
   16169 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   16170 mkdir_p!$mkdir_p$ac_delim
   16171 AWK!$AWK$ac_delim
   16172 SET_MAKE!$SET_MAKE$ac_delim
   16173 am__leading_dot!$am__leading_dot$ac_delim
   16174 AMTAR!$AMTAR$ac_delim
   16175 am__tar!$am__tar$ac_delim
   16176 am__untar!$am__untar$ac_delim
   16177 DEPDIR!$DEPDIR$ac_delim
   16178 am__include!$am__include$ac_delim
   16179 am__quote!$am__quote$ac_delim
   16180 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   16181 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   16182 _ACEOF
   16183 
   16184   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   16185     break
   16186   elif $ac_last_try; then
   16187     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   16188 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   16189    { (exit 1); exit 1; }; }
   16190   else
   16191     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16192   fi
   16193 done
   16194 
   16195 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   16196 if test -n "$ac_eof"; then
   16197   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   16198   ac_eof=`expr $ac_eof + 1`
   16199 fi
   16200 
   16201 cat >>$CONFIG_STATUS <<_ACEOF
   16202 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   16203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16204 _ACEOF
   16205 sed '
   16206 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   16207 s/^/s,@/; s/!/@,|#_!!_#|/
   16208 :n
   16209 t n
   16210 s/'"$ac_delim"'$/,g/; t
   16211 s/$/\\/; p
   16212 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   16213 ' >>$CONFIG_STATUS <conf$$subs.sed
   16214 rm -f conf$$subs.sed
   16215 cat >>$CONFIG_STATUS <<_ACEOF
   16216 CEOF$ac_eof
   16217 _ACEOF
   16218 
   16219 
   16220 ac_delim='%!_!# '
   16221 for ac_last_try in false false false false false :; do
   16222   cat >conf$$subs.sed <<_ACEOF
   16223 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   16224 CCDEPMODE!$CCDEPMODE$ac_delim
   16225 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   16226 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   16227 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   16228 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   16229 MAINT!$MAINT$ac_delim
   16230 LIBTOOL!$LIBTOOL$ac_delim
   16231 SED!$SED$ac_delim
   16232 FGREP!$FGREP$ac_delim
   16233 LD!$LD$ac_delim
   16234 DUMPBIN!$DUMPBIN$ac_delim
   16235 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
   16236 NM!$NM$ac_delim
   16237 LN_S!$LN_S$ac_delim
   16238 AR!$AR$ac_delim
   16239 RANLIB!$RANLIB$ac_delim
   16240 lt_ECHO!$lt_ECHO$ac_delim
   16241 DSYMUTIL!$DSYMUTIL$ac_delim
   16242 NMEDIT!$NMEDIT$ac_delim
   16243 LIPO!$LIPO$ac_delim
   16244 OTOOL!$OTOOL$ac_delim
   16245 OTOOL64!$OTOOL64$ac_delim
   16246 PKG_CONFIG!$PKG_CONFIG$ac_delim
   16247 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   16248 XORG_LIBS!$XORG_LIBS$ac_delim
   16249 XEXT_CFLAGS!$XEXT_CFLAGS$ac_delim
   16250 XEXT_LIBS!$XEXT_LIBS$ac_delim
   16251 HAVE_XEXTPROTO_71_TRUE!$HAVE_XEXTPROTO_71_TRUE$ac_delim
   16252 HAVE_XEXTPROTO_71_FALSE!$HAVE_XEXTPROTO_71_FALSE$ac_delim
   16253 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   16254 DRI_LIBS!$DRI_LIBS$ac_delim
   16255 DRI_TRUE!$DRI_TRUE$ac_delim
   16256 DRI_FALSE!$DRI_FALSE$ac_delim
   16257 LIBDRM_RADEON_CFLAGS!$LIBDRM_RADEON_CFLAGS$ac_delim
   16258 LIBDRM_RADEON_LIBS!$LIBDRM_RADEON_LIBS$ac_delim
   16259 DRM_MODE_TRUE!$DRM_MODE_TRUE$ac_delim
   16260 DRM_MODE_FALSE!$DRM_MODE_FALSE$ac_delim
   16261 XMODES_TRUE!$XMODES_TRUE$ac_delim
   16262 XMODES_FALSE!$XMODES_FALSE$ac_delim
   16263 XMODES_CFLAGS!$XMODES_CFLAGS$ac_delim
   16264 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   16265 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   16266 XF86DRM_MODE_TRUE!$XF86DRM_MODE_TRUE$ac_delim
   16267 XF86DRM_MODE_FALSE!$XF86DRM_MODE_FALSE$ac_delim
   16268 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   16269 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   16270 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   16271 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   16272 moduledir!$moduledir$ac_delim
   16273 DRIVER_NAME!$DRIVER_NAME$ac_delim
   16274 LIBOBJS!$LIBOBJS$ac_delim
   16275 LTLIBOBJS!$LTLIBOBJS$ac_delim
   16276 _ACEOF
   16277 
   16278   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
   16279     break
   16280   elif $ac_last_try; then
   16281     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   16282 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   16283    { (exit 1); exit 1; }; }
   16284   else
   16285     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16286   fi
   16287 done
   16288 
   16289 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   16290 if test -n "$ac_eof"; then
   16291   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   16292   ac_eof=`expr $ac_eof + 1`
   16293 fi
   16294 
   16295 cat >>$CONFIG_STATUS <<_ACEOF
   16296 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   16297 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   16298 _ACEOF
   16299 sed '
   16300 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   16301 s/^/s,@/; s/!/@,|#_!!_#|/
   16302 :n
   16303 t n
   16304 s/'"$ac_delim"'$/,g/; t
   16305 s/$/\\/; p
   16306 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   16307 ' >>$CONFIG_STATUS <conf$$subs.sed
   16308 rm -f conf$$subs.sed
   16309 cat >>$CONFIG_STATUS <<_ACEOF
   16310 :end
   16311 s/|#_!!_#|//g
   16312 CEOF$ac_eof
   16313 _ACEOF
   16314 
   16315 
   16316 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   16317 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   16318 # trailing colons and then remove the whole line if VPATH becomes empty
   16319 # (actually we leave an empty line to preserve line numbers).
   16320 if test "x$srcdir" = x.; then
   16321   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   16322 s/:*\$(srcdir):*/:/
   16323 s/:*\${srcdir}:*/:/
   16324 s/:*@srcdir@:*/:/
   16325 s/^\([^=]*=[	 ]*\):*/\1/
   16326 s/:*$//
   16327 s/^[^=]*=[	 ]*$//
   16328 }'
   16329 fi
   16330 
   16331 cat >>$CONFIG_STATUS <<\_ACEOF
   16332 fi # test -n "$CONFIG_FILES"
   16333 
   16334 
   16335 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   16336 do
   16337   case $ac_tag in
   16338   :[FHLC]) ac_mode=$ac_tag; continue;;
   16339   esac
   16340   case $ac_mode$ac_tag in
   16341   :[FHL]*:*);;
   16342   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   16343 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   16344    { (exit 1); exit 1; }; };;
   16345   :[FH]-) ac_tag=-:-;;
   16346   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16347   esac
   16348   ac_save_IFS=$IFS
   16349   IFS=:
   16350   set x $ac_tag
   16351   IFS=$ac_save_IFS
   16352   shift
   16353   ac_file=$1
   16354   shift
   16355 
   16356   case $ac_mode in
   16357   :L) ac_source=$1;;
   16358   :[FH])
   16359     ac_file_inputs=
   16360     for ac_f
   16361     do
   16362       case $ac_f in
   16363       -) ac_f="$tmp/stdin";;
   16364       *) # Look for the file first in the build tree, then in the source tree
   16365 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16366 	 # because $ac_f cannot contain `:'.
   16367 	 test -f "$ac_f" ||
   16368 	   case $ac_f in
   16369 	   [\\/$]*) false;;
   16370 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16371 	   esac ||
   16372 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   16373 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   16374    { (exit 1); exit 1; }; };;
   16375       esac
   16376       ac_file_inputs="$ac_file_inputs $ac_f"
   16377     done
   16378 
   16379     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16380     # use $as_me), people would be surprised to read:
   16381     #    /* config.h.  Generated by config.status.  */
   16382     configure_input="Generated from "`IFS=:
   16383 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   16384     if test x"$ac_file" != x-; then
   16385       configure_input="$ac_file.  $configure_input"
   16386       { echo "$as_me:$LINENO: creating $ac_file" >&5
   16387 echo "$as_me: creating $ac_file" >&6;}
   16388     fi
   16389 
   16390     case $ac_tag in
   16391     *:-:* | *:-) cat >"$tmp/stdin";;
   16392     esac
   16393     ;;
   16394   esac
   16395 
   16396   ac_dir=`$as_dirname -- "$ac_file" ||
   16397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16398 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16399 	 X"$ac_file" : 'X\(//\)$' \| \
   16400 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16401 echo X"$ac_file" |
   16402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16403 	    s//\1/
   16404 	    q
   16405 	  }
   16406 	  /^X\(\/\/\)[^/].*/{
   16407 	    s//\1/
   16408 	    q
   16409 	  }
   16410 	  /^X\(\/\/\)$/{
   16411 	    s//\1/
   16412 	    q
   16413 	  }
   16414 	  /^X\(\/\).*/{
   16415 	    s//\1/
   16416 	    q
   16417 	  }
   16418 	  s/.*/./; q'`
   16419   { as_dir="$ac_dir"
   16420   case $as_dir in #(
   16421   -*) as_dir=./$as_dir;;
   16422   esac
   16423   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   16424     as_dirs=
   16425     while :; do
   16426       case $as_dir in #(
   16427       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   16428       *) as_qdir=$as_dir;;
   16429       esac
   16430       as_dirs="'$as_qdir' $as_dirs"
   16431       as_dir=`$as_dirname -- "$as_dir" ||
   16432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16433 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16434 	 X"$as_dir" : 'X\(//\)$' \| \
   16435 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16436 echo X"$as_dir" |
   16437     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16438 	    s//\1/
   16439 	    q
   16440 	  }
   16441 	  /^X\(\/\/\)[^/].*/{
   16442 	    s//\1/
   16443 	    q
   16444 	  }
   16445 	  /^X\(\/\/\)$/{
   16446 	    s//\1/
   16447 	    q
   16448 	  }
   16449 	  /^X\(\/\).*/{
   16450 	    s//\1/
   16451 	    q
   16452 	  }
   16453 	  s/.*/./; q'`
   16454       test -d "$as_dir" && break
   16455     done
   16456     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16457   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   16458 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   16459    { (exit 1); exit 1; }; }; }
   16460   ac_builddir=.
   16461 
   16462 case "$ac_dir" in
   16463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16464 *)
   16465   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   16466   # A ".." for each directory in $ac_dir_suffix.
   16467   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   16468   case $ac_top_builddir_sub in
   16469   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16470   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16471   esac ;;
   16472 esac
   16473 ac_abs_top_builddir=$ac_pwd
   16474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16475 # for backward compatibility:
   16476 ac_top_builddir=$ac_top_build_prefix
   16477 
   16478 case $srcdir in
   16479   .)  # We are building in place.
   16480     ac_srcdir=.
   16481     ac_top_srcdir=$ac_top_builddir_sub
   16482     ac_abs_top_srcdir=$ac_pwd ;;
   16483   [\\/]* | ?:[\\/]* )  # Absolute name.
   16484     ac_srcdir=$srcdir$ac_dir_suffix;
   16485     ac_top_srcdir=$srcdir
   16486     ac_abs_top_srcdir=$srcdir ;;
   16487   *) # Relative name.
   16488     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16489     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16490     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16491 esac
   16492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16493 
   16494 
   16495   case $ac_mode in
   16496   :F)
   16497   #
   16498   # CONFIG_FILE
   16499   #
   16500 
   16501   case $INSTALL in
   16502   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16503   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16504   esac
   16505   ac_MKDIR_P=$MKDIR_P
   16506   case $MKDIR_P in
   16507   [\\/$]* | ?:[\\/]* ) ;;
   16508   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16509   esac
   16510 _ACEOF
   16511 
   16512 cat >>$CONFIG_STATUS <<\_ACEOF
   16513 # If the template does not know about datarootdir, expand it.
   16514 # FIXME: This hack should be removed a few years after 2.60.
   16515 ac_datarootdir_hack=; ac_datarootdir_seen=
   16516 
   16517 case `sed -n '/datarootdir/ {
   16518   p
   16519   q
   16520 }
   16521 /@datadir@/p
   16522 /@docdir@/p
   16523 /@infodir@/p
   16524 /@localedir@/p
   16525 /@mandir@/p
   16526 ' $ac_file_inputs` in
   16527 *datarootdir*) ac_datarootdir_seen=yes;;
   16528 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16529   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16530 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16531 _ACEOF
   16532 cat >>$CONFIG_STATUS <<_ACEOF
   16533   ac_datarootdir_hack='
   16534   s&@datadir@&$datadir&g
   16535   s&@docdir@&$docdir&g
   16536   s&@infodir@&$infodir&g
   16537   s&@localedir@&$localedir&g
   16538   s&@mandir@&$mandir&g
   16539     s&\\\${datarootdir}&$datarootdir&g' ;;
   16540 esac
   16541 _ACEOF
   16542 
   16543 # Neutralize VPATH when `$srcdir' = `.'.
   16544 # Shell code in configure.ac might set extrasub.
   16545 # FIXME: do we really want to maintain this feature?
   16546 cat >>$CONFIG_STATUS <<_ACEOF
   16547   sed "$ac_vpsub
   16548 $extrasub
   16549 _ACEOF
   16550 cat >>$CONFIG_STATUS <<\_ACEOF
   16551 :t
   16552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16553 s&@configure_input@&$configure_input&;t t
   16554 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16555 s&@srcdir@&$ac_srcdir&;t t
   16556 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16557 s&@top_srcdir@&$ac_top_srcdir&;t t
   16558 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16559 s&@builddir@&$ac_builddir&;t t
   16560 s&@abs_builddir@&$ac_abs_builddir&;t t
   16561 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16562 s&@INSTALL@&$ac_INSTALL&;t t
   16563 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16564 $ac_datarootdir_hack
   16565 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   16566 
   16567 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16568   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   16569   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   16570   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16571 which seems to be undefined.  Please make sure it is defined." >&5
   16572 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16573 which seems to be undefined.  Please make sure it is defined." >&2;}
   16574 
   16575   rm -f "$tmp/stdin"
   16576   case $ac_file in
   16577   -) cat "$tmp/out"; rm -f "$tmp/out";;
   16578   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   16579   esac
   16580  ;;
   16581   :H)
   16582   #
   16583   # CONFIG_HEADER
   16584   #
   16585 _ACEOF
   16586 
   16587 # Transform confdefs.h into a sed script `conftest.defines', that
   16588 # substitutes the proper values into config.h.in to produce config.h.
   16589 rm -f conftest.defines conftest.tail
   16590 # First, append a space to every undef/define line, to ease matching.
   16591 echo 's/$/ /' >conftest.defines
   16592 # Then, protect against being on the right side of a sed subst, or in
   16593 # an unquoted here document, in config.status.  If some macros were
   16594 # called several times there might be several #defines for the same
   16595 # symbol, which is useless.  But do not sort them, since the last
   16596 # AC_DEFINE must be honored.
   16597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16598 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   16599 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   16600 # PARAMS is the parameter list in the macro definition--in most cases, it's
   16601 # just an empty string.
   16602 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   16603 ac_dB='\\)[	 (].*,\\1define\\2'
   16604 ac_dC=' '
   16605 ac_dD=' ,'
   16606 
   16607 uniq confdefs.h |
   16608   sed -n '
   16609 	t rset
   16610 	:rset
   16611 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   16612 	t ok
   16613 	d
   16614 	:ok
   16615 	s/[\\&,]/\\&/g
   16616 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   16617 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   16618   ' >>conftest.defines
   16619 
   16620 # Remove the space that was appended to ease matching.
   16621 # Then replace #undef with comments.  This is necessary, for
   16622 # example, in the case of _POSIX_SOURCE, which is predefined and required
   16623 # on some systems where configure will not decide to define it.
   16624 # (The regexp can be short, since the line contains either #define or #undef.)
   16625 echo 's/ $//
   16626 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   16627 
   16628 # Break up conftest.defines:
   16629 ac_max_sed_lines=50
   16630 
   16631 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   16632 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   16633 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   16634 # et cetera.
   16635 ac_in='$ac_file_inputs'
   16636 ac_out='"$tmp/out1"'
   16637 ac_nxt='"$tmp/out2"'
   16638 
   16639 while :
   16640 do
   16641   # Write a here document:
   16642     cat >>$CONFIG_STATUS <<_ACEOF
   16643     # First, check the format of the line:
   16644     cat >"\$tmp/defines.sed" <<\\CEOF
   16645 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   16646 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   16647 b
   16648 :def
   16649 _ACEOF
   16650   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   16651   echo 'CEOF
   16652     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   16653   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   16654   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   16655   grep . conftest.tail >/dev/null || break
   16656   rm -f conftest.defines
   16657   mv conftest.tail conftest.defines
   16658 done
   16659 rm -f conftest.defines conftest.tail
   16660 
   16661 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   16662 cat >>$CONFIG_STATUS <<\_ACEOF
   16663   if test x"$ac_file" != x-; then
   16664     echo "/* $configure_input  */" >"$tmp/config.h"
   16665     cat "$ac_result" >>"$tmp/config.h"
   16666     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   16667       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   16668 echo "$as_me: $ac_file is unchanged" >&6;}
   16669     else
   16670       rm -f $ac_file
   16671       mv "$tmp/config.h" $ac_file
   16672     fi
   16673   else
   16674     echo "/* $configure_input  */"
   16675     cat "$ac_result"
   16676   fi
   16677   rm -f "$tmp/out12"
   16678 # Compute $ac_file's index in $config_headers.
   16679 _am_arg=$ac_file
   16680 _am_stamp_count=1
   16681 for _am_header in $config_headers :; do
   16682   case $_am_header in
   16683     $_am_arg | $_am_arg:* )
   16684       break ;;
   16685     * )
   16686       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16687   esac
   16688 done
   16689 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16690 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16691 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16692 	 X"$_am_arg" : 'X\(//\)$' \| \
   16693 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16694 echo X"$_am_arg" |
   16695     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16696 	    s//\1/
   16697 	    q
   16698 	  }
   16699 	  /^X\(\/\/\)[^/].*/{
   16700 	    s//\1/
   16701 	    q
   16702 	  }
   16703 	  /^X\(\/\/\)$/{
   16704 	    s//\1/
   16705 	    q
   16706 	  }
   16707 	  /^X\(\/\).*/{
   16708 	    s//\1/
   16709 	    q
   16710 	  }
   16711 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16712  ;;
   16713 
   16714   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   16715 echo "$as_me: executing $ac_file commands" >&6;}
   16716  ;;
   16717   esac
   16718 
   16719 
   16720   case $ac_file$ac_mode in
   16721     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   16722   # Strip MF so we end up with the name of the file.
   16723   mf=`echo "$mf" | sed -e 's/:.*$//'`
   16724   # Check whether this is an Automake generated Makefile or not.
   16725   # We used to match only the files named `Makefile.in', but
   16726   # some people rename them; so instead we look at the file content.
   16727   # Grep'ing the first line is not enough: some people post-process
   16728   # each Makefile.in and add a new line on top of each file to say so.
   16729   # Grep'ing the whole file is not good either: AIX grep has a line
   16730   # limit of 2048, but all sed's we know have understand at least 4000.
   16731   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16732     dirpart=`$as_dirname -- "$mf" ||
   16733 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16734 	 X"$mf" : 'X\(//\)[^/]' \| \
   16735 	 X"$mf" : 'X\(//\)$' \| \
   16736 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16737 echo X"$mf" |
   16738     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16739 	    s//\1/
   16740 	    q
   16741 	  }
   16742 	  /^X\(\/\/\)[^/].*/{
   16743 	    s//\1/
   16744 	    q
   16745 	  }
   16746 	  /^X\(\/\/\)$/{
   16747 	    s//\1/
   16748 	    q
   16749 	  }
   16750 	  /^X\(\/\).*/{
   16751 	    s//\1/
   16752 	    q
   16753 	  }
   16754 	  s/.*/./; q'`
   16755   else
   16756     continue
   16757   fi
   16758   # Extract the definition of DEPDIR, am__include, and am__quote
   16759   # from the Makefile without running `make'.
   16760   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16761   test -z "$DEPDIR" && continue
   16762   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16763   test -z "am__include" && continue
   16764   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16765   # When using ansi2knr, U may be empty or an underscore; expand it
   16766   U=`sed -n 's/^U = //p' < "$mf"`
   16767   # Find all dependency output files, they are included files with
   16768   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16769   # simplest approach to changing $(DEPDIR) to its actual value in the
   16770   # expansion.
   16771   for file in `sed -n "
   16772     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16773        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   16774     # Make sure the directory exists.
   16775     test -f "$dirpart/$file" && continue
   16776     fdir=`$as_dirname -- "$file" ||
   16777 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16778 	 X"$file" : 'X\(//\)[^/]' \| \
   16779 	 X"$file" : 'X\(//\)$' \| \
   16780 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16781 echo X"$file" |
   16782     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16783 	    s//\1/
   16784 	    q
   16785 	  }
   16786 	  /^X\(\/\/\)[^/].*/{
   16787 	    s//\1/
   16788 	    q
   16789 	  }
   16790 	  /^X\(\/\/\)$/{
   16791 	    s//\1/
   16792 	    q
   16793 	  }
   16794 	  /^X\(\/\).*/{
   16795 	    s//\1/
   16796 	    q
   16797 	  }
   16798 	  s/.*/./; q'`
   16799     { as_dir=$dirpart/$fdir
   16800   case $as_dir in #(
   16801   -*) as_dir=./$as_dir;;
   16802   esac
   16803   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   16804     as_dirs=
   16805     while :; do
   16806       case $as_dir in #(
   16807       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   16808       *) as_qdir=$as_dir;;
   16809       esac
   16810       as_dirs="'$as_qdir' $as_dirs"
   16811       as_dir=`$as_dirname -- "$as_dir" ||
   16812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16813 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16814 	 X"$as_dir" : 'X\(//\)$' \| \
   16815 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16816 echo X"$as_dir" |
   16817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16818 	    s//\1/
   16819 	    q
   16820 	  }
   16821 	  /^X\(\/\/\)[^/].*/{
   16822 	    s//\1/
   16823 	    q
   16824 	  }
   16825 	  /^X\(\/\/\)$/{
   16826 	    s//\1/
   16827 	    q
   16828 	  }
   16829 	  /^X\(\/\).*/{
   16830 	    s//\1/
   16831 	    q
   16832 	  }
   16833 	  s/.*/./; q'`
   16834       test -d "$as_dir" && break
   16835     done
   16836     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16837   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   16838 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   16839    { (exit 1); exit 1; }; }; }
   16840     # echo "creating $dirpart/$file"
   16841     echo '# dummy' > "$dirpart/$file"
   16842   done
   16843 done
   16844  ;;
   16845     "libtool":C)
   16846 
   16847     # See if we are running on zsh, and set the options which allow our
   16848     # commands through without removal of \ escapes.
   16849     if test -n "${ZSH_VERSION+set}" ; then
   16850       setopt NO_GLOB_SUBST
   16851     fi
   16852 
   16853     cfgfile="${ofile}T"
   16854     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16855     $RM "$cfgfile"
   16856 
   16857     cat <<_LT_EOF >> "$cfgfile"
   16858 #! $SHELL
   16859 
   16860 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16861 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16862 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16863 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16864 #
   16865 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16866 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   16867 #   Written by Gordon Matzigkeit, 1996
   16868 #
   16869 #   This file is part of GNU Libtool.
   16870 #
   16871 # GNU Libtool is free software; you can redistribute it and/or
   16872 # modify it under the terms of the GNU General Public License as
   16873 # published by the Free Software Foundation; either version 2 of
   16874 # the License, or (at your option) any later version.
   16875 #
   16876 # As a special exception to the GNU General Public License,
   16877 # if you distribute this file as part of a program or library that
   16878 # is built using GNU Libtool, you may include this file under the
   16879 # same distribution terms that you use for the rest of that program.
   16880 #
   16881 # GNU Libtool is distributed in the hope that it will be useful,
   16882 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16883 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16884 # GNU General Public License for more details.
   16885 #
   16886 # You should have received a copy of the GNU General Public License
   16887 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16888 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16889 # obtained by writing to the Free Software Foundation, Inc.,
   16890 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16891 
   16892 
   16893 # The names of the tagged configurations supported by this script.
   16894 available_tags=""
   16895 
   16896 # ### BEGIN LIBTOOL CONFIG
   16897 
   16898 # Whether or not to build static libraries.
   16899 build_old_libs=$enable_static
   16900 
   16901 # Which release of libtool.m4 was used?
   16902 macro_version=$macro_version
   16903 macro_revision=$macro_revision
   16904 
   16905 # Whether or not to build shared libraries.
   16906 build_libtool_libs=$enable_shared
   16907 
   16908 # What type of objects to build.
   16909 pic_mode=$pic_mode
   16910 
   16911 # Whether or not to optimize for fast installation.
   16912 fast_install=$enable_fast_install
   16913 
   16914 # The host system.
   16915 host_alias=$host_alias
   16916 host=$host
   16917 host_os=$host_os
   16918 
   16919 # The build system.
   16920 build_alias=$build_alias
   16921 build=$build
   16922 build_os=$build_os
   16923 
   16924 # A sed program that does not truncate output.
   16925 SED=$lt_SED
   16926 
   16927 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16928 Xsed="\$SED -e 1s/^X//"
   16929 
   16930 # A grep program that handles long lines.
   16931 GREP=$lt_GREP
   16932 
   16933 # An ERE matcher.
   16934 EGREP=$lt_EGREP
   16935 
   16936 # A literal string matcher.
   16937 FGREP=$lt_FGREP
   16938 
   16939 # A BSD- or MS-compatible name lister.
   16940 NM=$lt_NM
   16941 
   16942 # Whether we need soft or hard links.
   16943 LN_S=$lt_LN_S
   16944 
   16945 # What is the maximum length of a command?
   16946 max_cmd_len=$max_cmd_len
   16947 
   16948 # Object file suffix (normally "o").
   16949 objext=$ac_objext
   16950 
   16951 # Executable file suffix (normally "").
   16952 exeext=$exeext
   16953 
   16954 # whether the shell understands "unset".
   16955 lt_unset=$lt_unset
   16956 
   16957 # turn spaces into newlines.
   16958 SP2NL=$lt_lt_SP2NL
   16959 
   16960 # turn newlines into spaces.
   16961 NL2SP=$lt_lt_NL2SP
   16962 
   16963 # How to create reloadable object files.
   16964 reload_flag=$lt_reload_flag
   16965 reload_cmds=$lt_reload_cmds
   16966 
   16967 # Method to check whether dependent libraries are shared objects.
   16968 deplibs_check_method=$lt_deplibs_check_method
   16969 
   16970 # Command to use when deplibs_check_method == "file_magic".
   16971 file_magic_cmd=$lt_file_magic_cmd
   16972 
   16973 # The archiver.
   16974 AR=$lt_AR
   16975 AR_FLAGS=$lt_AR_FLAGS
   16976 
   16977 # A symbol stripping program.
   16978 STRIP=$lt_STRIP
   16979 
   16980 # Commands used to install an old-style archive.
   16981 RANLIB=$lt_RANLIB
   16982 old_postinstall_cmds=$lt_old_postinstall_cmds
   16983 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16984 
   16985 # A C compiler.
   16986 LTCC=$lt_CC
   16987 
   16988 # LTCC compiler flags.
   16989 LTCFLAGS=$lt_CFLAGS
   16990 
   16991 # Take the output of nm and produce a listing of raw symbols and C names.
   16992 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16993 
   16994 # Transform the output of nm in a proper C declaration.
   16995 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16996 
   16997 # Transform the output of nm in a C name address pair.
   16998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16999 
   17000 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17001 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17002 
   17003 # The name of the directory that contains temporary libtool files.
   17004 objdir=$objdir
   17005 
   17006 # Shell to use when invoking shell scripts.
   17007 SHELL=$lt_SHELL
   17008 
   17009 # An echo program that does not interpret backslashes.
   17010 ECHO=$lt_ECHO
   17011 
   17012 # Used to examine libraries when file_magic_cmd begins with "file".
   17013 MAGIC_CMD=$MAGIC_CMD
   17014 
   17015 # Must we lock files when doing compilation?
   17016 need_locks=$lt_need_locks
   17017 
   17018 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17019 DSYMUTIL=$lt_DSYMUTIL
   17020 
   17021 # Tool to change global to local symbols on Mac OS X.
   17022 NMEDIT=$lt_NMEDIT
   17023 
   17024 # Tool to manipulate fat objects and archives on Mac OS X.
   17025 LIPO=$lt_LIPO
   17026 
   17027 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17028 OTOOL=$lt_OTOOL
   17029 
   17030 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17031 OTOOL64=$lt_OTOOL64
   17032 
   17033 # Old archive suffix (normally "a").
   17034 libext=$libext
   17035 
   17036 # Shared library suffix (normally ".so").
   17037 shrext_cmds=$lt_shrext_cmds
   17038 
   17039 # The commands to extract the exported symbol list from a shared archive.
   17040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17041 
   17042 # Variables whose values should be saved in libtool wrapper scripts and
   17043 # restored at link time.
   17044 variables_saved_for_relink=$lt_variables_saved_for_relink
   17045 
   17046 # Do we need the "lib" prefix for modules?
   17047 need_lib_prefix=$need_lib_prefix
   17048 
   17049 # Do we need a version for libraries?
   17050 need_version=$need_version
   17051 
   17052 # Library versioning type.
   17053 version_type=$version_type
   17054 
   17055 # Shared library runtime path variable.
   17056 runpath_var=$runpath_var
   17057 
   17058 # Shared library path variable.
   17059 shlibpath_var=$shlibpath_var
   17060 
   17061 # Is shlibpath searched before the hard-coded library search path?
   17062 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17063 
   17064 # Format of library name prefix.
   17065 libname_spec=$lt_libname_spec
   17066 
   17067 # List of archive names.  First name is the real one, the rest are links.
   17068 # The last name is the one that the linker finds with -lNAME
   17069 library_names_spec=$lt_library_names_spec
   17070 
   17071 # The coded name of the library, if different from the real name.
   17072 soname_spec=$lt_soname_spec
   17073 
   17074 # Command to use after installation of a shared archive.
   17075 postinstall_cmds=$lt_postinstall_cmds
   17076 
   17077 # Command to use after uninstallation of a shared archive.
   17078 postuninstall_cmds=$lt_postuninstall_cmds
   17079 
   17080 # Commands used to finish a libtool library installation in a directory.
   17081 finish_cmds=$lt_finish_cmds
   17082 
   17083 # As "finish_cmds", except a single script fragment to be evaled but
   17084 # not shown.
   17085 finish_eval=$lt_finish_eval
   17086 
   17087 # Whether we should hardcode library paths into libraries.
   17088 hardcode_into_libs=$hardcode_into_libs
   17089 
   17090 # Compile-time system search path for libraries.
   17091 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17092 
   17093 # Run-time system search path for libraries.
   17094 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17095 
   17096 # Whether dlopen is supported.
   17097 dlopen_support=$enable_dlopen
   17098 
   17099 # Whether dlopen of programs is supported.
   17100 dlopen_self=$enable_dlopen_self
   17101 
   17102 # Whether dlopen of statically linked programs is supported.
   17103 dlopen_self_static=$enable_dlopen_self_static
   17104 
   17105 # Commands to strip libraries.
   17106 old_striplib=$lt_old_striplib
   17107 striplib=$lt_striplib
   17108 
   17109 
   17110 # The linker used to build libraries.
   17111 LD=$lt_LD
   17112 
   17113 # Commands used to build an old-style archive.
   17114 old_archive_cmds=$lt_old_archive_cmds
   17115 
   17116 # A language specific compiler.
   17117 CC=$lt_compiler
   17118 
   17119 # Is the compiler the GNU compiler?
   17120 with_gcc=$GCC
   17121 
   17122 # Compiler flag to turn off builtin functions.
   17123 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17124 
   17125 # How to pass a linker flag through the compiler.
   17126 wl=$lt_lt_prog_compiler_wl
   17127 
   17128 # Additional compiler flags for building library objects.
   17129 pic_flag=$lt_lt_prog_compiler_pic
   17130 
   17131 # Compiler flag to prevent dynamic linking.
   17132 link_static_flag=$lt_lt_prog_compiler_static
   17133 
   17134 # Does compiler simultaneously support -c and -o options?
   17135 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17136 
   17137 # Whether or not to add -lc for building shared libraries.
   17138 build_libtool_need_lc=$archive_cmds_need_lc
   17139 
   17140 # Whether or not to disallow shared libs when runtime libs are static.
   17141 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17142 
   17143 # Compiler flag to allow reflexive dlopens.
   17144 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17145 
   17146 # Compiler flag to generate shared objects directly from archives.
   17147 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17148 
   17149 # Whether the compiler copes with passing no objects directly.
   17150 compiler_needs_object=$lt_compiler_needs_object
   17151 
   17152 # Create an old-style archive from a shared archive.
   17153 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17154 
   17155 # Create a temporary old-style archive to link instead of a shared archive.
   17156 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17157 
   17158 # Commands used to build a shared archive.
   17159 archive_cmds=$lt_archive_cmds
   17160 archive_expsym_cmds=$lt_archive_expsym_cmds
   17161 
   17162 # Commands used to build a loadable module if different from building
   17163 # a shared archive.
   17164 module_cmds=$lt_module_cmds
   17165 module_expsym_cmds=$lt_module_expsym_cmds
   17166 
   17167 # Whether we are building with GNU ld or not.
   17168 with_gnu_ld=$lt_with_gnu_ld
   17169 
   17170 # Flag that allows shared libraries with undefined symbols to be built.
   17171 allow_undefined_flag=$lt_allow_undefined_flag
   17172 
   17173 # Flag that enforces no undefined symbols.
   17174 no_undefined_flag=$lt_no_undefined_flag
   17175 
   17176 # Flag to hardcode \$libdir into a binary during linking.
   17177 # This must work even if \$libdir does not exist
   17178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17179 
   17180 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17181 # during linking.  This must work even if \$libdir does not exist.
   17182 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   17183 
   17184 # Whether we need a single "-rpath" flag with a separated argument.
   17185 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17186 
   17187 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17188 # DIR into the resulting binary.
   17189 hardcode_direct=$hardcode_direct
   17190 
   17191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17192 # DIR into the resulting binary and the resulting library dependency is
   17193 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17194 # library is relocated.
   17195 hardcode_direct_absolute=$hardcode_direct_absolute
   17196 
   17197 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17198 # into the resulting binary.
   17199 hardcode_minus_L=$hardcode_minus_L
   17200 
   17201 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17202 # into the resulting binary.
   17203 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17204 
   17205 # Set to "yes" if building a shared library automatically hardcodes DIR
   17206 # into the library and all subsequent libraries and executables linked
   17207 # against it.
   17208 hardcode_automatic=$hardcode_automatic
   17209 
   17210 # Set to yes if linker adds runtime paths of dependent libraries
   17211 # to runtime path list.
   17212 inherit_rpath=$inherit_rpath
   17213 
   17214 # Whether libtool must link a program against all its dependency libraries.
   17215 link_all_deplibs=$link_all_deplibs
   17216 
   17217 # Fix the shell variable \$srcfile for the compiler.
   17218 fix_srcfile_path=$lt_fix_srcfile_path
   17219 
   17220 # Set to "yes" if exported symbols are required.
   17221 always_export_symbols=$always_export_symbols
   17222 
   17223 # The commands to list exported symbols.
   17224 export_symbols_cmds=$lt_export_symbols_cmds
   17225 
   17226 # Symbols that should not be listed in the preloaded symbols.
   17227 exclude_expsyms=$lt_exclude_expsyms
   17228 
   17229 # Symbols that must always be exported.
   17230 include_expsyms=$lt_include_expsyms
   17231 
   17232 # Commands necessary for linking programs (against libraries) with templates.
   17233 prelink_cmds=$lt_prelink_cmds
   17234 
   17235 # Specify filename containing input files.
   17236 file_list_spec=$lt_file_list_spec
   17237 
   17238 # How to hardcode a shared library path into an executable.
   17239 hardcode_action=$hardcode_action
   17240 
   17241 # ### END LIBTOOL CONFIG
   17242 
   17243 _LT_EOF
   17244 
   17245   case $host_os in
   17246   aix3*)
   17247     cat <<\_LT_EOF >> "$cfgfile"
   17248 # AIX sometimes has problems with the GCC collect2 program.  For some
   17249 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17250 # vanish in a puff of smoke.
   17251 if test "X${COLLECT_NAMES+set}" != Xset; then
   17252   COLLECT_NAMES=
   17253   export COLLECT_NAMES
   17254 fi
   17255 _LT_EOF
   17256     ;;
   17257   esac
   17258 
   17259 
   17260 ltmain="$ac_aux_dir/ltmain.sh"
   17261 
   17262 
   17263   # We use sed instead of cat because bash on DJGPP gets confused if
   17264   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17265   # text mode, it properly converts lines to CR/LF.  This bash problem
   17266   # is reportedly fixed, but why not run on old versions too?
   17267   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   17268     || (rm -f "$cfgfile"; exit 1)
   17269 
   17270   case $xsi_shell in
   17271   yes)
   17272     cat << \_LT_EOF >> "$cfgfile"
   17273 
   17274 # func_dirname file append nondir_replacement
   17275 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17276 # otherwise set result to NONDIR_REPLACEMENT.
   17277 func_dirname ()
   17278 {
   17279   case ${1} in
   17280     */*) func_dirname_result="${1%/*}${2}" ;;
   17281     *  ) func_dirname_result="${3}" ;;
   17282   esac
   17283 }
   17284 
   17285 # func_basename file
   17286 func_basename ()
   17287 {
   17288   func_basename_result="${1##*/}"
   17289 }
   17290 
   17291 # func_dirname_and_basename file append nondir_replacement
   17292 # perform func_basename and func_dirname in a single function
   17293 # call:
   17294 #   dirname:  Compute the dirname of FILE.  If nonempty,
   17295 #             add APPEND to the result, otherwise set result
   17296 #             to NONDIR_REPLACEMENT.
   17297 #             value returned in "$func_dirname_result"
   17298 #   basename: Compute filename of FILE.
   17299 #             value retuned in "$func_basename_result"
   17300 # Implementation must be kept synchronized with func_dirname
   17301 # and func_basename. For efficiency, we do not delegate to
   17302 # those functions but instead duplicate the functionality here.
   17303 func_dirname_and_basename ()
   17304 {
   17305   case ${1} in
   17306     */*) func_dirname_result="${1%/*}${2}" ;;
   17307     *  ) func_dirname_result="${3}" ;;
   17308   esac
   17309   func_basename_result="${1##*/}"
   17310 }
   17311 
   17312 # func_stripname prefix suffix name
   17313 # strip PREFIX and SUFFIX off of NAME.
   17314 # PREFIX and SUFFIX must not contain globbing or regex special
   17315 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17316 # dot (in which case that matches only a dot).
   17317 func_stripname ()
   17318 {
   17319   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   17320   # positional parameters, so assign one to ordinary parameter first.
   17321   func_stripname_result=${3}
   17322   func_stripname_result=${func_stripname_result#"${1}"}
   17323   func_stripname_result=${func_stripname_result%"${2}"}
   17324 }
   17325 
   17326 # func_opt_split
   17327 func_opt_split ()
   17328 {
   17329   func_opt_split_opt=${1%%=*}
   17330   func_opt_split_arg=${1#*=}
   17331 }
   17332 
   17333 # func_lo2o object
   17334 func_lo2o ()
   17335 {
   17336   case ${1} in
   17337     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   17338     *)    func_lo2o_result=${1} ;;
   17339   esac
   17340 }
   17341 
   17342 # func_xform libobj-or-source
   17343 func_xform ()
   17344 {
   17345   func_xform_result=${1%.*}.lo
   17346 }
   17347 
   17348 # func_arith arithmetic-term...
   17349 func_arith ()
   17350 {
   17351   func_arith_result=$(( $* ))
   17352 }
   17353 
   17354 # func_len string
   17355 # STRING may not start with a hyphen.
   17356 func_len ()
   17357 {
   17358   func_len_result=${#1}
   17359 }
   17360 
   17361 _LT_EOF
   17362     ;;
   17363   *) # Bourne compatible functions.
   17364     cat << \_LT_EOF >> "$cfgfile"
   17365 
   17366 # func_dirname file append nondir_replacement
   17367 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17368 # otherwise set result to NONDIR_REPLACEMENT.
   17369 func_dirname ()
   17370 {
   17371   # Extract subdirectory from the argument.
   17372   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   17373   if test "X$func_dirname_result" = "X${1}"; then
   17374     func_dirname_result="${3}"
   17375   else
   17376     func_dirname_result="$func_dirname_result${2}"
   17377   fi
   17378 }
   17379 
   17380 # func_basename file
   17381 func_basename ()
   17382 {
   17383   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   17384 }
   17385 
   17386 
   17387 # func_stripname prefix suffix name
   17388 # strip PREFIX and SUFFIX off of NAME.
   17389 # PREFIX and SUFFIX must not contain globbing or regex special
   17390 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17391 # dot (in which case that matches only a dot).
   17392 # func_strip_suffix prefix name
   17393 func_stripname ()
   17394 {
   17395   case ${2} in
   17396     .*) func_stripname_result=`$ECHO "X${3}" \
   17397            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   17398     *)  func_stripname_result=`$ECHO "X${3}" \
   17399            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   17400   esac
   17401 }
   17402 
   17403 # sed scripts:
   17404 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   17405 my_sed_long_arg='1s/^-[^=]*=//'
   17406 
   17407 # func_opt_split
   17408 func_opt_split ()
   17409 {
   17410   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   17411   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   17412 }
   17413 
   17414 # func_lo2o object
   17415 func_lo2o ()
   17416 {
   17417   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   17418 }
   17419 
   17420 # func_xform libobj-or-source
   17421 func_xform ()
   17422 {
   17423   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   17424 }
   17425 
   17426 # func_arith arithmetic-term...
   17427 func_arith ()
   17428 {
   17429   func_arith_result=`expr "$@"`
   17430 }
   17431 
   17432 # func_len string
   17433 # STRING may not start with a hyphen.
   17434 func_len ()
   17435 {
   17436   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   17437 }
   17438 
   17439 _LT_EOF
   17440 esac
   17441 
   17442 case $lt_shell_append in
   17443   yes)
   17444     cat << \_LT_EOF >> "$cfgfile"
   17445 
   17446 # func_append var value
   17447 # Append VALUE to the end of shell variable VAR.
   17448 func_append ()
   17449 {
   17450   eval "$1+=\$2"
   17451 }
   17452 _LT_EOF
   17453     ;;
   17454   *)
   17455     cat << \_LT_EOF >> "$cfgfile"
   17456 
   17457 # func_append var value
   17458 # Append VALUE to the end of shell variable VAR.
   17459 func_append ()
   17460 {
   17461   eval "$1=\$$1\$2"
   17462 }
   17463 
   17464 _LT_EOF
   17465     ;;
   17466   esac
   17467 
   17468 
   17469   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   17470     || (rm -f "$cfgfile"; exit 1)
   17471 
   17472   mv -f "$cfgfile" "$ofile" ||
   17473     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17474   chmod +x "$ofile"
   17475 
   17476  ;;
   17477 
   17478   esac
   17479 done # for ac_tag
   17480 
   17481 
   17482 { (exit 0); exit 0; }
   17483 _ACEOF
   17484 chmod +x $CONFIG_STATUS
   17485 ac_clean_files=$ac_clean_files_save
   17486 
   17487 
   17488 # configure is writing to config.log, and then calls config.status.
   17489 # config.status does its own redirection, appending to config.log.
   17490 # Unfortunately, on DOS this fails, as config.log is still kept open
   17491 # by configure, so config.status won't be able to write to it; its
   17492 # output is simply discarded.  So we exec the FD to /dev/null,
   17493 # effectively closing config.log, so it can be properly (re)opened and
   17494 # appended to by config.status.  When coming back to configure, we
   17495 # need to make the FD available again.
   17496 if test "$no_create" != yes; then
   17497   ac_cs_success=:
   17498   ac_config_status_args=
   17499   test "$silent" = yes &&
   17500     ac_config_status_args="$ac_config_status_args --quiet"
   17501   exec 5>/dev/null
   17502   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17503   exec 5>>config.log
   17504   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17505   # would make configure fail if this is the last instruction.
   17506   $ac_cs_success || { (exit 1); exit 1; }
   17507 fi
   17508 
   17509 
   17510 echo ""
   17511 echo "        prefix:              $prefix"
   17512 echo "        exec_prefix:         $exec_prefix"
   17513 echo "        libdir:              $libdir"
   17514 echo "        includedir:          $includedir"
   17515 
   17516 
   17517 echo ""
   17518 echo "        Kernel modesetting:  $DRM_MODE"
   17519 
   17520 echo ""
   17521 echo "        CFLAGS:              $CFLAGS"
   17522 echo "        CXXFLAGS:            $CXXFLAGS"
   17523 echo "        Macros:              $DEFINES"
   17524 
   17525 echo ""
   17526 echo "        Run '${MAKE-make}' to build xf86-video-ati"
   17527 echo ""
   17528