Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-ati 6.13.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$lt_ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 ECHO=${lt_ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $ECHO works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<_LT_EOF
    606 $*
    607 _LT_EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$lt_ECHO"; then
    616   if test "X${echo_test_string+set}" != Xset; then
    617     # find a string as large as possible, as long as the shell can cope with it
    618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    621 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    622       then
    623         break
    624       fi
    625     done
    626   fi
    627 
    628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    630      test "X$echo_testing_string" = "X$echo_test_string"; then
    631     :
    632   else
    633     # The Solaris, AIX, and Digital Unix default echo programs unquote
    634     # backslashes.  This makes it impossible to quote backslashes using
    635     #   echo "$something" | sed 's/\\/\\\\/g'
    636     #
    637     # So, first we look for a working echo in the user's PATH.
    638 
    639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    640     for dir in $PATH /usr/ucb; do
    641       IFS="$lt_save_ifs"
    642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    645          test "X$echo_testing_string" = "X$echo_test_string"; then
    646         ECHO="$dir/echo"
    647         break
    648       fi
    649     done
    650     IFS="$lt_save_ifs"
    651 
    652     if test "X$ECHO" = Xecho; then
    653       # We didn't find a better echo, so look for alternatives.
    654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    656          test "X$echo_testing_string" = "X$echo_test_string"; then
    657         # This shell has a builtin print -r that does the trick.
    658         ECHO='print -r'
    659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    660 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    661         # If we have ksh, try running configure again with it.
    662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    663         export ORIGINAL_CONFIG_SHELL
    664         CONFIG_SHELL=/bin/ksh
    665         export CONFIG_SHELL
    666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    667       else
    668         # Try using printf.
    669         ECHO='printf %s\n'
    670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    671 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    672 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    673 	  # Cool, printf works
    674 	  :
    675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    676 	     test "X$echo_testing_string" = 'X\t' &&
    677 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    678 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    679 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    680 	  export CONFIG_SHELL
    681 	  SHELL="$CONFIG_SHELL"
    682 	  export SHELL
    683 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    685 	     test "X$echo_testing_string" = 'X\t' &&
    686 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    687 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    688 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    689         else
    690 	  # maybe with a smaller string...
    691 	  prev=:
    692 
    693 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    694 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    695 	    then
    696 	      break
    697 	    fi
    698 	    prev="$cmd"
    699 	  done
    700 
    701 	  if test "$prev" != 'sed 50q "$0"'; then
    702 	    echo_test_string=`eval $prev`
    703 	    export echo_test_string
    704 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    705 	  else
    706 	    # Oops.  We lost completely, so just stick with echo.
    707 	    ECHO=echo
    708 	  fi
    709         fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 
    715 # Copy echo and quote the copy suitably for passing to libtool from
    716 # the Makefile, instead of quoting the original, which is used later.
    717 lt_ECHO=$ECHO
    718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    720 fi
    721 
    722 
    723 
    724 
    725 exec 7<&0 </dev/null 6>&1
    726 
    727 # Name of the host.
    728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    729 # so uname gets run too.
    730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    731 
    732 #
    733 # Initializations.
    734 #
    735 ac_default_prefix=/usr/local
    736 ac_clean_files=
    737 ac_config_libobj_dir=.
    738 LIBOBJS=
    739 cross_compiling=no
    740 subdirs=
    741 MFLAGS=
    742 MAKEFLAGS=
    743 SHELL=${CONFIG_SHELL-/bin/sh}
    744 
    745 # Identity of this package.
    746 PACKAGE_NAME='xf86-video-ati'
    747 PACKAGE_TARNAME='xf86-video-ati'
    748 PACKAGE_VERSION='6.13.1'
    749 PACKAGE_STRING='xf86-video-ati 6.13.1'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='am__EXEEXT_FALSE
    790 am__EXEEXT_TRUE
    791 LTLIBOBJS
    792 LIBOBJS
    793 DRIVER_NAME
    794 moduledir
    795 XSERVER_LIBPCIACCESS_FALSE
    796 XSERVER_LIBPCIACCESS_TRUE
    797 PCIACCESS_LIBS
    798 PCIACCESS_CFLAGS
    799 XF86DRM_MODE_FALSE
    800 XF86DRM_MODE_TRUE
    801 USE_EXA_FALSE
    802 USE_EXA_TRUE
    803 XMODES_CFLAGS
    804 XMODES_FALSE
    805 XMODES_TRUE
    806 LIBUDEV_FALSE
    807 LIBUDEV_TRUE
    808 DRM_MODE_FALSE
    809 DRM_MODE_TRUE
    810 LIBUDEV_LIBS
    811 LIBUDEV_CFLAGS
    812 LIBDRM_RADEON_LIBS
    813 LIBDRM_RADEON_CFLAGS
    814 DRI_FALSE
    815 DRI_TRUE
    816 DRI_LIBS
    817 DRI_CFLAGS
    818 HAVE_XEXTPROTO_71_FALSE
    819 HAVE_XEXTPROTO_71_TRUE
    820 XEXT_LIBS
    821 XEXT_CFLAGS
    822 XORG_LIBS
    823 XORG_CFLAGS
    824 OTOOL64
    825 OTOOL
    826 LIPO
    827 NMEDIT
    828 DSYMUTIL
    829 lt_ECHO
    830 RANLIB
    831 AR
    832 OBJDUMP
    833 LN_S
    834 NM
    835 ac_ct_DUMPBIN
    836 DUMPBIN
    837 LD
    838 FGREP
    839 LIBTOOL
    840 MAINT
    841 MAINTAINER_MODE_FALSE
    842 MAINTAINER_MODE_TRUE
    843 am__fastdepCC_FALSE
    844 am__fastdepCC_TRUE
    845 CCDEPMODE
    846 AMDEPBACKSLASH
    847 AMDEP_FALSE
    848 AMDEP_TRUE
    849 am__quote
    850 am__include
    851 DEPDIR
    852 am__untar
    853 am__tar
    854 AMTAR
    855 am__leading_dot
    856 SET_MAKE
    857 AWK
    858 mkdir_p
    859 MKDIR_P
    860 INSTALL_STRIP_PROGRAM
    861 STRIP
    862 install_sh
    863 MAKEINFO
    864 AUTOHEADER
    865 AUTOMAKE
    866 AUTOCONF
    867 ACLOCAL
    868 VERSION
    869 PACKAGE
    870 CYGPATH_W
    871 am__isrc
    872 AM_BACKSLASH
    873 AM_DEFAULT_VERBOSITY
    874 MAN_SUBSTS
    875 XORG_MAN_PAGE
    876 ADMIN_MAN_DIR
    877 DRIVER_MAN_DIR
    878 MISC_MAN_DIR
    879 FILE_MAN_DIR
    880 LIB_MAN_DIR
    881 APP_MAN_DIR
    882 ADMIN_MAN_SUFFIX
    883 DRIVER_MAN_SUFFIX
    884 MISC_MAN_SUFFIX
    885 FILE_MAN_SUFFIX
    886 LIB_MAN_SUFFIX
    887 APP_MAN_SUFFIX
    888 SED
    889 host_os
    890 host_vendor
    891 host_cpu
    892 host
    893 build_os
    894 build_vendor
    895 build_cpu
    896 build
    897 INSTALL_CMD
    898 PKG_CONFIG
    899 CHANGELOG_CMD
    900 CWARNFLAGS
    901 EGREP
    902 GREP
    903 CPP
    904 OBJEXT
    905 EXEEXT
    906 ac_ct_CC
    907 CPPFLAGS
    908 LDFLAGS
    909 CFLAGS
    910 CC
    911 INSTALL_DATA
    912 INSTALL_SCRIPT
    913 INSTALL_PROGRAM
    914 target_alias
    915 host_alias
    916 build_alias
    917 LIBS
    918 ECHO_T
    919 ECHO_N
    920 ECHO_C
    921 DEFS
    922 mandir
    923 localedir
    924 libdir
    925 psdir
    926 pdfdir
    927 dvidir
    928 htmldir
    929 infodir
    930 docdir
    931 oldincludedir
    932 includedir
    933 localstatedir
    934 sharedstatedir
    935 sysconfdir
    936 datadir
    937 datarootdir
    938 libexecdir
    939 sbindir
    940 bindir
    941 program_transform_name
    942 prefix
    943 exec_prefix
    944 PACKAGE_BUGREPORT
    945 PACKAGE_STRING
    946 PACKAGE_VERSION
    947 PACKAGE_TARNAME
    948 PACKAGE_NAME
    949 PATH_SEPARATOR
    950 SHELL'
    951 ac_subst_files=''
    952 ac_user_opts='
    953 enable_option_checking
    954 enable_strict_compilation
    955 enable_silent_rules
    956 enable_dependency_tracking
    957 enable_largefile
    958 enable_maintainer_mode
    959 enable_static
    960 enable_shared
    961 with_pic
    962 enable_fast_install
    963 with_gnu_ld
    964 enable_libtool_lock
    965 with_xorg_module_dir
    966 enable_dri
    967 enable_exa
    968 enable_kms
    969 with_xserver_source
    970 '
    971       ac_precious_vars='build_alias
    972 host_alias
    973 target_alias
    974 CC
    975 CFLAGS
    976 LDFLAGS
    977 LIBS
    978 CPPFLAGS
    979 CPP
    980 PKG_CONFIG
    981 XORG_CFLAGS
    982 XORG_LIBS
    983 XEXT_CFLAGS
    984 XEXT_LIBS
    985 DRI_CFLAGS
    986 DRI_LIBS
    987 LIBDRM_RADEON_CFLAGS
    988 LIBDRM_RADEON_LIBS
    989 LIBUDEV_CFLAGS
    990 LIBUDEV_LIBS
    991 PCIACCESS_CFLAGS
    992 PCIACCESS_LIBS'
    993 
    994 
    995 # Initialize some variables set by options.
    996 ac_init_help=
    997 ac_init_version=false
    998 ac_unrecognized_opts=
    999 ac_unrecognized_sep=
   1000 # The variables have the same names as the options, with
   1001 # dashes changed to underlines.
   1002 cache_file=/dev/null
   1003 exec_prefix=NONE
   1004 no_create=
   1005 no_recursion=
   1006 prefix=NONE
   1007 program_prefix=NONE
   1008 program_suffix=NONE
   1009 program_transform_name=s,x,x,
   1010 silent=
   1011 site=
   1012 srcdir=
   1013 verbose=
   1014 x_includes=NONE
   1015 x_libraries=NONE
   1016 
   1017 # Installation directory options.
   1018 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1019 # and all the variables that are supposed to be based on exec_prefix
   1020 # by default will actually change.
   1021 # Use braces instead of parens because sh, perl, etc. also accept them.
   1022 # (The list follows the same order as the GNU Coding Standards.)
   1023 bindir='${exec_prefix}/bin'
   1024 sbindir='${exec_prefix}/sbin'
   1025 libexecdir='${exec_prefix}/libexec'
   1026 datarootdir='${prefix}/share'
   1027 datadir='${datarootdir}'
   1028 sysconfdir='${prefix}/etc'
   1029 sharedstatedir='${prefix}/com'
   1030 localstatedir='${prefix}/var'
   1031 includedir='${prefix}/include'
   1032 oldincludedir='/usr/include'
   1033 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1034 infodir='${datarootdir}/info'
   1035 htmldir='${docdir}'
   1036 dvidir='${docdir}'
   1037 pdfdir='${docdir}'
   1038 psdir='${docdir}'
   1039 libdir='${exec_prefix}/lib'
   1040 localedir='${datarootdir}/locale'
   1041 mandir='${datarootdir}/man'
   1042 
   1043 ac_prev=
   1044 ac_dashdash=
   1045 for ac_option
   1046 do
   1047   # If the previous option needs an argument, assign it.
   1048   if test -n "$ac_prev"; then
   1049     eval $ac_prev=\$ac_option
   1050     ac_prev=
   1051     continue
   1052   fi
   1053 
   1054   case $ac_option in
   1055   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1056   *)	ac_optarg=yes ;;
   1057   esac
   1058 
   1059   # Accept the important Cygnus configure options, so we can diagnose typos.
   1060 
   1061   case $ac_dashdash$ac_option in
   1062   --)
   1063     ac_dashdash=yes ;;
   1064 
   1065   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1066     ac_prev=bindir ;;
   1067   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1068     bindir=$ac_optarg ;;
   1069 
   1070   -build | --build | --buil | --bui | --bu)
   1071     ac_prev=build_alias ;;
   1072   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1073     build_alias=$ac_optarg ;;
   1074 
   1075   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1076   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1077     ac_prev=cache_file ;;
   1078   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1079   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1080     cache_file=$ac_optarg ;;
   1081 
   1082   --config-cache | -C)
   1083     cache_file=config.cache ;;
   1084 
   1085   -datadir | --datadir | --datadi | --datad)
   1086     ac_prev=datadir ;;
   1087   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1088     datadir=$ac_optarg ;;
   1089 
   1090   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1091   | --dataroo | --dataro | --datar)
   1092     ac_prev=datarootdir ;;
   1093   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1094   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1095     datarootdir=$ac_optarg ;;
   1096 
   1097   -disable-* | --disable-*)
   1098     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1099     # Reject names that are not valid shell variable names.
   1100     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1101       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1102    { (exit 1); exit 1; }; }
   1103     ac_useropt_orig=$ac_useropt
   1104     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1105     case $ac_user_opts in
   1106       *"
   1107 "enable_$ac_useropt"
   1108 "*) ;;
   1109       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1110 	 ac_unrecognized_sep=', ';;
   1111     esac
   1112     eval enable_$ac_useropt=no ;;
   1113 
   1114   -docdir | --docdir | --docdi | --doc | --do)
   1115     ac_prev=docdir ;;
   1116   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1117     docdir=$ac_optarg ;;
   1118 
   1119   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1120     ac_prev=dvidir ;;
   1121   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1122     dvidir=$ac_optarg ;;
   1123 
   1124   -enable-* | --enable-*)
   1125     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1126     # Reject names that are not valid shell variable names.
   1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1128       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1129    { (exit 1); exit 1; }; }
   1130     ac_useropt_orig=$ac_useropt
   1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1132     case $ac_user_opts in
   1133       *"
   1134 "enable_$ac_useropt"
   1135 "*) ;;
   1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1137 	 ac_unrecognized_sep=', ';;
   1138     esac
   1139     eval enable_$ac_useropt=\$ac_optarg ;;
   1140 
   1141   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1142   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1143   | --exec | --exe | --ex)
   1144     ac_prev=exec_prefix ;;
   1145   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1146   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1147   | --exec=* | --exe=* | --ex=*)
   1148     exec_prefix=$ac_optarg ;;
   1149 
   1150   -gas | --gas | --ga | --g)
   1151     # Obsolete; use --with-gas.
   1152     with_gas=yes ;;
   1153 
   1154   -help | --help | --hel | --he | -h)
   1155     ac_init_help=long ;;
   1156   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1157     ac_init_help=recursive ;;
   1158   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1159     ac_init_help=short ;;
   1160 
   1161   -host | --host | --hos | --ho)
   1162     ac_prev=host_alias ;;
   1163   -host=* | --host=* | --hos=* | --ho=*)
   1164     host_alias=$ac_optarg ;;
   1165 
   1166   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1167     ac_prev=htmldir ;;
   1168   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1169   | --ht=*)
   1170     htmldir=$ac_optarg ;;
   1171 
   1172   -includedir | --includedir | --includedi | --included | --include \
   1173   | --includ | --inclu | --incl | --inc)
   1174     ac_prev=includedir ;;
   1175   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1176   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1177     includedir=$ac_optarg ;;
   1178 
   1179   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1180     ac_prev=infodir ;;
   1181   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1182     infodir=$ac_optarg ;;
   1183 
   1184   -libdir | --libdir | --libdi | --libd)
   1185     ac_prev=libdir ;;
   1186   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1187     libdir=$ac_optarg ;;
   1188 
   1189   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1190   | --libexe | --libex | --libe)
   1191     ac_prev=libexecdir ;;
   1192   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1193   | --libexe=* | --libex=* | --libe=*)
   1194     libexecdir=$ac_optarg ;;
   1195 
   1196   -localedir | --localedir | --localedi | --localed | --locale)
   1197     ac_prev=localedir ;;
   1198   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1199     localedir=$ac_optarg ;;
   1200 
   1201   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1202   | --localstate | --localstat | --localsta | --localst | --locals)
   1203     ac_prev=localstatedir ;;
   1204   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1205   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1206     localstatedir=$ac_optarg ;;
   1207 
   1208   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1209     ac_prev=mandir ;;
   1210   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1211     mandir=$ac_optarg ;;
   1212 
   1213   -nfp | --nfp | --nf)
   1214     # Obsolete; use --without-fp.
   1215     with_fp=no ;;
   1216 
   1217   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1218   | --no-cr | --no-c | -n)
   1219     no_create=yes ;;
   1220 
   1221   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1222   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1223     no_recursion=yes ;;
   1224 
   1225   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1226   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1227   | --oldin | --oldi | --old | --ol | --o)
   1228     ac_prev=oldincludedir ;;
   1229   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1230   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1231   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1232     oldincludedir=$ac_optarg ;;
   1233 
   1234   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1235     ac_prev=prefix ;;
   1236   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1237     prefix=$ac_optarg ;;
   1238 
   1239   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1240   | --program-pre | --program-pr | --program-p)
   1241     ac_prev=program_prefix ;;
   1242   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1243   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1244     program_prefix=$ac_optarg ;;
   1245 
   1246   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1247   | --program-suf | --program-su | --program-s)
   1248     ac_prev=program_suffix ;;
   1249   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1250   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1251     program_suffix=$ac_optarg ;;
   1252 
   1253   -program-transform-name | --program-transform-name \
   1254   | --program-transform-nam | --program-transform-na \
   1255   | --program-transform-n | --program-transform- \
   1256   | --program-transform | --program-transfor \
   1257   | --program-transfo | --program-transf \
   1258   | --program-trans | --program-tran \
   1259   | --progr-tra | --program-tr | --program-t)
   1260     ac_prev=program_transform_name ;;
   1261   -program-transform-name=* | --program-transform-name=* \
   1262   | --program-transform-nam=* | --program-transform-na=* \
   1263   | --program-transform-n=* | --program-transform-=* \
   1264   | --program-transform=* | --program-transfor=* \
   1265   | --program-transfo=* | --program-transf=* \
   1266   | --program-trans=* | --program-tran=* \
   1267   | --progr-tra=* | --program-tr=* | --program-t=*)
   1268     program_transform_name=$ac_optarg ;;
   1269 
   1270   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1271     ac_prev=pdfdir ;;
   1272   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1273     pdfdir=$ac_optarg ;;
   1274 
   1275   -psdir | --psdir | --psdi | --psd | --ps)
   1276     ac_prev=psdir ;;
   1277   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1278     psdir=$ac_optarg ;;
   1279 
   1280   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1281   | -silent | --silent | --silen | --sile | --sil)
   1282     silent=yes ;;
   1283 
   1284   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1285     ac_prev=sbindir ;;
   1286   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1287   | --sbi=* | --sb=*)
   1288     sbindir=$ac_optarg ;;
   1289 
   1290   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1291   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1292   | --sharedst | --shareds | --shared | --share | --shar \
   1293   | --sha | --sh)
   1294     ac_prev=sharedstatedir ;;
   1295   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1296   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1297   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1298   | --sha=* | --sh=*)
   1299     sharedstatedir=$ac_optarg ;;
   1300 
   1301   -site | --site | --sit)
   1302     ac_prev=site ;;
   1303   -site=* | --site=* | --sit=*)
   1304     site=$ac_optarg ;;
   1305 
   1306   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1307     ac_prev=srcdir ;;
   1308   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1309     srcdir=$ac_optarg ;;
   1310 
   1311   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1312   | --syscon | --sysco | --sysc | --sys | --sy)
   1313     ac_prev=sysconfdir ;;
   1314   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1315   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1316     sysconfdir=$ac_optarg ;;
   1317 
   1318   -target | --target | --targe | --targ | --tar | --ta | --t)
   1319     ac_prev=target_alias ;;
   1320   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1321     target_alias=$ac_optarg ;;
   1322 
   1323   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1324     verbose=yes ;;
   1325 
   1326   -version | --version | --versio | --versi | --vers | -V)
   1327     ac_init_version=: ;;
   1328 
   1329   -with-* | --with-*)
   1330     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1331     # Reject names that are not valid shell variable names.
   1332     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1333       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1334    { (exit 1); exit 1; }; }
   1335     ac_useropt_orig=$ac_useropt
   1336     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1337     case $ac_user_opts in
   1338       *"
   1339 "with_$ac_useropt"
   1340 "*) ;;
   1341       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1342 	 ac_unrecognized_sep=', ';;
   1343     esac
   1344     eval with_$ac_useropt=\$ac_optarg ;;
   1345 
   1346   -without-* | --without-*)
   1347     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1348     # Reject names that are not valid shell variable names.
   1349     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1350       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1351    { (exit 1); exit 1; }; }
   1352     ac_useropt_orig=$ac_useropt
   1353     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1354     case $ac_user_opts in
   1355       *"
   1356 "with_$ac_useropt"
   1357 "*) ;;
   1358       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1359 	 ac_unrecognized_sep=', ';;
   1360     esac
   1361     eval with_$ac_useropt=no ;;
   1362 
   1363   --x)
   1364     # Obsolete; use --with-x.
   1365     with_x=yes ;;
   1366 
   1367   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1368   | --x-incl | --x-inc | --x-in | --x-i)
   1369     ac_prev=x_includes ;;
   1370   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1371   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1372     x_includes=$ac_optarg ;;
   1373 
   1374   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1375   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1376     ac_prev=x_libraries ;;
   1377   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1378   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1379     x_libraries=$ac_optarg ;;
   1380 
   1381   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1382 Try \`$0 --help' for more information." >&2
   1383    { (exit 1); exit 1; }; }
   1384     ;;
   1385 
   1386   *=*)
   1387     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1388     # Reject names that are not valid shell variable names.
   1389     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1390       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1391    { (exit 1); exit 1; }; }
   1392     eval $ac_envvar=\$ac_optarg
   1393     export $ac_envvar ;;
   1394 
   1395   *)
   1396     # FIXME: should be removed in autoconf 3.0.
   1397     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1398     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1399       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1400     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1401     ;;
   1402 
   1403   esac
   1404 done
   1405 
   1406 if test -n "$ac_prev"; then
   1407   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1408   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1409    { (exit 1); exit 1; }; }
   1410 fi
   1411 
   1412 if test -n "$ac_unrecognized_opts"; then
   1413   case $enable_option_checking in
   1414     no) ;;
   1415     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1416    { (exit 1); exit 1; }; } ;;
   1417     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1418   esac
   1419 fi
   1420 
   1421 # Check all directory arguments for consistency.
   1422 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1423 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1424 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1425 		libdir localedir mandir
   1426 do
   1427   eval ac_val=\$$ac_var
   1428   # Remove trailing slashes.
   1429   case $ac_val in
   1430     */ )
   1431       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1432       eval $ac_var=\$ac_val;;
   1433   esac
   1434   # Be sure to have absolute directory names.
   1435   case $ac_val in
   1436     [\\/$]* | ?:[\\/]* )  continue;;
   1437     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1438   esac
   1439   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1440    { (exit 1); exit 1; }; }
   1441 done
   1442 
   1443 # There might be people who depend on the old broken behavior: `$host'
   1444 # used to hold the argument of --host etc.
   1445 # FIXME: To remove some day.
   1446 build=$build_alias
   1447 host=$host_alias
   1448 target=$target_alias
   1449 
   1450 # FIXME: To remove some day.
   1451 if test "x$host_alias" != x; then
   1452   if test "x$build_alias" = x; then
   1453     cross_compiling=maybe
   1454     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1455     If a cross compiler is detected then cross compile mode will be used." >&2
   1456   elif test "x$build_alias" != "x$host_alias"; then
   1457     cross_compiling=yes
   1458   fi
   1459 fi
   1460 
   1461 ac_tool_prefix=
   1462 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1463 
   1464 test "$silent" = yes && exec 6>/dev/null
   1465 
   1466 
   1467 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1468 ac_ls_di=`ls -di .` &&
   1469 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1470   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1471    { (exit 1); exit 1; }; }
   1472 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1473   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1474    { (exit 1); exit 1; }; }
   1475 
   1476 
   1477 # Find the source files, if location was not specified.
   1478 if test -z "$srcdir"; then
   1479   ac_srcdir_defaulted=yes
   1480   # Try the directory containing this script, then the parent directory.
   1481   ac_confdir=`$as_dirname -- "$as_myself" ||
   1482 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1483 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1484 	 X"$as_myself" : 'X\(//\)$' \| \
   1485 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1486 $as_echo X"$as_myself" |
   1487     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1488 	    s//\1/
   1489 	    q
   1490 	  }
   1491 	  /^X\(\/\/\)[^/].*/{
   1492 	    s//\1/
   1493 	    q
   1494 	  }
   1495 	  /^X\(\/\/\)$/{
   1496 	    s//\1/
   1497 	    q
   1498 	  }
   1499 	  /^X\(\/\).*/{
   1500 	    s//\1/
   1501 	    q
   1502 	  }
   1503 	  s/.*/./; q'`
   1504   srcdir=$ac_confdir
   1505   if test ! -r "$srcdir/$ac_unique_file"; then
   1506     srcdir=..
   1507   fi
   1508 else
   1509   ac_srcdir_defaulted=no
   1510 fi
   1511 if test ! -r "$srcdir/$ac_unique_file"; then
   1512   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1513   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1514    { (exit 1); exit 1; }; }
   1515 fi
   1516 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1517 ac_abs_confdir=`(
   1518 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1519    { (exit 1); exit 1; }; }
   1520 	pwd)`
   1521 # When building in place, set srcdir=.
   1522 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1523   srcdir=.
   1524 fi
   1525 # Remove unnecessary trailing slashes from srcdir.
   1526 # Double slashes in file names in object file debugging info
   1527 # mess up M-x gdb in Emacs.
   1528 case $srcdir in
   1529 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1530 esac
   1531 for ac_var in $ac_precious_vars; do
   1532   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1533   eval ac_env_${ac_var}_value=\$${ac_var}
   1534   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1535   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1536 done
   1537 
   1538 #
   1539 # Report the --help message.
   1540 #
   1541 if test "$ac_init_help" = "long"; then
   1542   # Omit some internal or obsolete options to make the list less imposing.
   1543   # This message is too long to be a string in the A/UX 3.1 sh.
   1544   cat <<_ACEOF
   1545 \`configure' configures xf86-video-ati 6.13.1 to adapt to many kinds of systems.
   1546 
   1547 Usage: $0 [OPTION]... [VAR=VALUE]...
   1548 
   1549 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1550 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1551 
   1552 Defaults for the options are specified in brackets.
   1553 
   1554 Configuration:
   1555   -h, --help              display this help and exit
   1556       --help=short        display options specific to this package
   1557       --help=recursive    display the short help of all the included packages
   1558   -V, --version           display version information and exit
   1559   -q, --quiet, --silent   do not print \`checking...' messages
   1560       --cache-file=FILE   cache test results in FILE [disabled]
   1561   -C, --config-cache      alias for \`--cache-file=config.cache'
   1562   -n, --no-create         do not create output files
   1563       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1564 
   1565 Installation directories:
   1566   --prefix=PREFIX         install architecture-independent files in PREFIX
   1567                           [$ac_default_prefix]
   1568   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1569                           [PREFIX]
   1570 
   1571 By default, \`make install' will install all the files in
   1572 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1573 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1574 for instance \`--prefix=\$HOME'.
   1575 
   1576 For better control, use the options below.
   1577 
   1578 Fine tuning of the installation directories:
   1579   --bindir=DIR            user executables [EPREFIX/bin]
   1580   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1581   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1582   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1583   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1584   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1585   --libdir=DIR            object code libraries [EPREFIX/lib]
   1586   --includedir=DIR        C header files [PREFIX/include]
   1587   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1588   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1589   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1590   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1591   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1592   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1593   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-ati]
   1594   --htmldir=DIR           html documentation [DOCDIR]
   1595   --dvidir=DIR            dvi documentation [DOCDIR]
   1596   --pdfdir=DIR            pdf documentation [DOCDIR]
   1597   --psdir=DIR             ps documentation [DOCDIR]
   1598 _ACEOF
   1599 
   1600   cat <<\_ACEOF
   1601 
   1602 Program names:
   1603   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1604   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1605   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1606 
   1607 System types:
   1608   --build=BUILD     configure for building on BUILD [guessed]
   1609   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1610 _ACEOF
   1611 fi
   1612 
   1613 if test -n "$ac_init_help"; then
   1614   case $ac_init_help in
   1615      short | recursive ) echo "Configuration of xf86-video-ati 6.13.1:";;
   1616    esac
   1617   cat <<\_ACEOF
   1618 
   1619 Optional Features:
   1620   --disable-option-checking  ignore unrecognized --enable/--with options
   1621   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1622   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1623   --enable-strict-compilation
   1624                           Enable all warnings from compiler and make them
   1625                           errors (default: disabled)
   1626   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1627   --disable-silent-rules         verbose build output (undo: `make V=0')
   1628   --disable-dependency-tracking  speeds up one-time build
   1629   --enable-dependency-tracking   do not reject slow dependency extractors
   1630   --disable-largefile     omit support for large files
   1631   --enable-maintainer-mode  enable make rules and dependencies not useful
   1632 			  (and sometimes confusing) to the casual installer
   1633   --enable-static[=PKGS]  build static libraries [default=no]
   1634   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1635   --enable-fast-install[=PKGS]
   1636                           optimize for fast installation [default=yes]
   1637   --disable-libtool-lock  avoid locking (might break parallel builds)
   1638   --disable-dri           Disable DRI support [default=auto]
   1639   --disable-exa           Disable EXA support [default=enabled]
   1640   --disable-kms           Disable KMS support [default=enabled]
   1641 
   1642 Optional Packages:
   1643   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1644   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1645   --with-pic              try to use only PIC/non-PIC objects [default=use
   1646                           both]
   1647   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1648   --with-xorg-module-dir=DIR
   1649                           Default xorg module directory
   1650                           [default=$libdir/xorg/modules]
   1651   --with-xserver-source=XSERVER_SOURCE
   1652                           Path to X server source tree
   1653 
   1654 Some influential environment variables:
   1655   CC          C compiler command
   1656   CFLAGS      C compiler flags
   1657   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1658               nonstandard directory <lib dir>
   1659   LIBS        libraries to pass to the linker, e.g. -l<library>
   1660   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1661               you have headers in a nonstandard directory <include dir>
   1662   CPP         C preprocessor
   1663   PKG_CONFIG  path to pkg-config utility
   1664   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1665   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1666   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1667   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1668   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1669   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1670   LIBDRM_RADEON_CFLAGS
   1671               C compiler flags for LIBDRM_RADEON, overriding pkg-config
   1672   LIBDRM_RADEON_LIBS
   1673               linker flags for LIBDRM_RADEON, overriding pkg-config
   1674   LIBUDEV_CFLAGS
   1675               C compiler flags for LIBUDEV, overriding pkg-config
   1676   LIBUDEV_LIBS
   1677               linker flags for LIBUDEV, overriding pkg-config
   1678   PCIACCESS_CFLAGS
   1679               C compiler flags for PCIACCESS, overriding pkg-config
   1680   PCIACCESS_LIBS
   1681               linker flags for PCIACCESS, overriding pkg-config
   1682 
   1683 Use these variables to override the choices made by `configure' or to help
   1684 it to find libraries and programs with nonstandard names/locations.
   1685 
   1686 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1687 _ACEOF
   1688 ac_status=$?
   1689 fi
   1690 
   1691 if test "$ac_init_help" = "recursive"; then
   1692   # If there are subdirs, report their specific --help.
   1693   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1694     test -d "$ac_dir" ||
   1695       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1696       continue
   1697     ac_builddir=.
   1698 
   1699 case "$ac_dir" in
   1700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1701 *)
   1702   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1703   # A ".." for each directory in $ac_dir_suffix.
   1704   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1705   case $ac_top_builddir_sub in
   1706   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1707   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1708   esac ;;
   1709 esac
   1710 ac_abs_top_builddir=$ac_pwd
   1711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1712 # for backward compatibility:
   1713 ac_top_builddir=$ac_top_build_prefix
   1714 
   1715 case $srcdir in
   1716   .)  # We are building in place.
   1717     ac_srcdir=.
   1718     ac_top_srcdir=$ac_top_builddir_sub
   1719     ac_abs_top_srcdir=$ac_pwd ;;
   1720   [\\/]* | ?:[\\/]* )  # Absolute name.
   1721     ac_srcdir=$srcdir$ac_dir_suffix;
   1722     ac_top_srcdir=$srcdir
   1723     ac_abs_top_srcdir=$srcdir ;;
   1724   *) # Relative name.
   1725     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1726     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1727     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1728 esac
   1729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1730 
   1731     cd "$ac_dir" || { ac_status=$?; continue; }
   1732     # Check for guested configure.
   1733     if test -f "$ac_srcdir/configure.gnu"; then
   1734       echo &&
   1735       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1736     elif test -f "$ac_srcdir/configure"; then
   1737       echo &&
   1738       $SHELL "$ac_srcdir/configure" --help=recursive
   1739     else
   1740       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1741     fi || ac_status=$?
   1742     cd "$ac_pwd" || { ac_status=$?; break; }
   1743   done
   1744 fi
   1745 
   1746 test -n "$ac_init_help" && exit $ac_status
   1747 if $ac_init_version; then
   1748   cat <<\_ACEOF
   1749 xf86-video-ati configure 6.13.1
   1750 generated by GNU Autoconf 2.63
   1751 
   1752 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1753 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1754 This configure script is free software; the Free Software Foundation
   1755 gives unlimited permission to copy, distribute and modify it.
   1756 _ACEOF
   1757   exit
   1758 fi
   1759 cat >config.log <<_ACEOF
   1760 This file contains any messages produced by compilers while
   1761 running configure, to aid debugging if configure makes a mistake.
   1762 
   1763 It was created by xf86-video-ati $as_me 6.13.1, which was
   1764 generated by GNU Autoconf 2.63.  Invocation command line was
   1765 
   1766   $ $0 $@
   1767 
   1768 _ACEOF
   1769 exec 5>>config.log
   1770 {
   1771 cat <<_ASUNAME
   1772 ## --------- ##
   1773 ## Platform. ##
   1774 ## --------- ##
   1775 
   1776 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1777 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1778 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1779 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1780 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1781 
   1782 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1783 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1784 
   1785 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1786 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1787 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1788 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1789 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1790 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1791 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1792 
   1793 _ASUNAME
   1794 
   1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1796 for as_dir in $PATH
   1797 do
   1798   IFS=$as_save_IFS
   1799   test -z "$as_dir" && as_dir=.
   1800   $as_echo "PATH: $as_dir"
   1801 done
   1802 IFS=$as_save_IFS
   1803 
   1804 } >&5
   1805 
   1806 cat >&5 <<_ACEOF
   1807 
   1808 
   1809 ## ----------- ##
   1810 ## Core tests. ##
   1811 ## ----------- ##
   1812 
   1813 _ACEOF
   1814 
   1815 
   1816 # Keep a trace of the command line.
   1817 # Strip out --no-create and --no-recursion so they do not pile up.
   1818 # Strip out --silent because we don't want to record it for future runs.
   1819 # Also quote any args containing shell meta-characters.
   1820 # Make two passes to allow for proper duplicate-argument suppression.
   1821 ac_configure_args=
   1822 ac_configure_args0=
   1823 ac_configure_args1=
   1824 ac_must_keep_next=false
   1825 for ac_pass in 1 2
   1826 do
   1827   for ac_arg
   1828   do
   1829     case $ac_arg in
   1830     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1831     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1832     | -silent | --silent | --silen | --sile | --sil)
   1833       continue ;;
   1834     *\'*)
   1835       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1836     esac
   1837     case $ac_pass in
   1838     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1839     2)
   1840       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1841       if test $ac_must_keep_next = true; then
   1842 	ac_must_keep_next=false # Got value, back to normal.
   1843       else
   1844 	case $ac_arg in
   1845 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1846 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1847 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1848 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1849 	    case "$ac_configure_args0 " in
   1850 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1851 	    esac
   1852 	    ;;
   1853 	  -* ) ac_must_keep_next=true ;;
   1854 	esac
   1855       fi
   1856       ac_configure_args="$ac_configure_args '$ac_arg'"
   1857       ;;
   1858     esac
   1859   done
   1860 done
   1861 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1862 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1863 
   1864 # When interrupted or exit'd, cleanup temporary files, and complete
   1865 # config.log.  We remove comments because anyway the quotes in there
   1866 # would cause problems or look ugly.
   1867 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1868 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1869 trap 'exit_status=$?
   1870   # Save into config.log some information that might help in debugging.
   1871   {
   1872     echo
   1873 
   1874     cat <<\_ASBOX
   1875 ## ---------------- ##
   1876 ## Cache variables. ##
   1877 ## ---------------- ##
   1878 _ASBOX
   1879     echo
   1880     # The following way of writing the cache mishandles newlines in values,
   1881 (
   1882   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1883     eval ac_val=\$$ac_var
   1884     case $ac_val in #(
   1885     *${as_nl}*)
   1886       case $ac_var in #(
   1887       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1889       esac
   1890       case $ac_var in #(
   1891       _ | IFS | as_nl) ;; #(
   1892       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1893       *) $as_unset $ac_var ;;
   1894       esac ;;
   1895     esac
   1896   done
   1897   (set) 2>&1 |
   1898     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1899     *${as_nl}ac_space=\ *)
   1900       sed -n \
   1901 	"s/'\''/'\''\\\\'\'''\''/g;
   1902 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1903       ;; #(
   1904     *)
   1905       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1906       ;;
   1907     esac |
   1908     sort
   1909 )
   1910     echo
   1911 
   1912     cat <<\_ASBOX
   1913 ## ----------------- ##
   1914 ## Output variables. ##
   1915 ## ----------------- ##
   1916 _ASBOX
   1917     echo
   1918     for ac_var in $ac_subst_vars
   1919     do
   1920       eval ac_val=\$$ac_var
   1921       case $ac_val in
   1922       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1923       esac
   1924       $as_echo "$ac_var='\''$ac_val'\''"
   1925     done | sort
   1926     echo
   1927 
   1928     if test -n "$ac_subst_files"; then
   1929       cat <<\_ASBOX
   1930 ## ------------------- ##
   1931 ## File substitutions. ##
   1932 ## ------------------- ##
   1933 _ASBOX
   1934       echo
   1935       for ac_var in $ac_subst_files
   1936       do
   1937 	eval ac_val=\$$ac_var
   1938 	case $ac_val in
   1939 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1940 	esac
   1941 	$as_echo "$ac_var='\''$ac_val'\''"
   1942       done | sort
   1943       echo
   1944     fi
   1945 
   1946     if test -s confdefs.h; then
   1947       cat <<\_ASBOX
   1948 ## ----------- ##
   1949 ## confdefs.h. ##
   1950 ## ----------- ##
   1951 _ASBOX
   1952       echo
   1953       cat confdefs.h
   1954       echo
   1955     fi
   1956     test "$ac_signal" != 0 &&
   1957       $as_echo "$as_me: caught signal $ac_signal"
   1958     $as_echo "$as_me: exit $exit_status"
   1959   } >&5
   1960   rm -f core *.core core.conftest.* &&
   1961     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1962     exit $exit_status
   1963 ' 0
   1964 for ac_signal in 1 2 13 15; do
   1965   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1966 done
   1967 ac_signal=0
   1968 
   1969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1970 rm -f -r conftest* confdefs.h
   1971 
   1972 # Predefined preprocessor variables.
   1973 
   1974 cat >>confdefs.h <<_ACEOF
   1975 #define PACKAGE_NAME "$PACKAGE_NAME"
   1976 _ACEOF
   1977 
   1978 
   1979 cat >>confdefs.h <<_ACEOF
   1980 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1981 _ACEOF
   1982 
   1983 
   1984 cat >>confdefs.h <<_ACEOF
   1985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1986 _ACEOF
   1987 
   1988 
   1989 cat >>confdefs.h <<_ACEOF
   1990 #define PACKAGE_STRING "$PACKAGE_STRING"
   1991 _ACEOF
   1992 
   1993 
   1994 cat >>confdefs.h <<_ACEOF
   1995 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1996 _ACEOF
   1997 
   1998 
   1999 # Let the site file select an alternate cache file if it wants to.
   2000 # Prefer an explicitly selected file to automatically selected ones.
   2001 ac_site_file1=NONE
   2002 ac_site_file2=NONE
   2003 if test -n "$CONFIG_SITE"; then
   2004   ac_site_file1=$CONFIG_SITE
   2005 elif test "x$prefix" != xNONE; then
   2006   ac_site_file1=$prefix/share/config.site
   2007   ac_site_file2=$prefix/etc/config.site
   2008 else
   2009   ac_site_file1=$ac_default_prefix/share/config.site
   2010   ac_site_file2=$ac_default_prefix/etc/config.site
   2011 fi
   2012 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2013 do
   2014   test "x$ac_site_file" = xNONE && continue
   2015   if test -r "$ac_site_file"; then
   2016     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   2017 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2018     sed 's/^/| /' "$ac_site_file" >&5
   2019     . "$ac_site_file"
   2020   fi
   2021 done
   2022 
   2023 if test -r "$cache_file"; then
   2024   # Some versions of bash will fail to source /dev/null (special
   2025   # files actually), so we avoid doing that.
   2026   if test -f "$cache_file"; then
   2027     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2028 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2029     case $cache_file in
   2030       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2031       *)                      . "./$cache_file";;
   2032     esac
   2033   fi
   2034 else
   2035   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2036 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2037   >$cache_file
   2038 fi
   2039 
   2040 # Check that the precious variables saved in the cache have kept the same
   2041 # value.
   2042 ac_cache_corrupted=false
   2043 for ac_var in $ac_precious_vars; do
   2044   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2045   eval ac_new_set=\$ac_env_${ac_var}_set
   2046   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2047   eval ac_new_val=\$ac_env_${ac_var}_value
   2048   case $ac_old_set,$ac_new_set in
   2049     set,)
   2050       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2051 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2052       ac_cache_corrupted=: ;;
   2053     ,set)
   2054       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2055 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2056       ac_cache_corrupted=: ;;
   2057     ,);;
   2058     *)
   2059       if test "x$ac_old_val" != "x$ac_new_val"; then
   2060 	# differences in whitespace do not lead to failure.
   2061 	ac_old_val_w=`echo x $ac_old_val`
   2062 	ac_new_val_w=`echo x $ac_new_val`
   2063 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2064 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2065 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2066 	  ac_cache_corrupted=:
   2067 	else
   2068 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2069 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2070 	  eval $ac_var=\$ac_old_val
   2071 	fi
   2072 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2073 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2074 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2075 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2076       fi;;
   2077   esac
   2078   # Pass precious variables to config.status.
   2079   if test "$ac_new_set" = set; then
   2080     case $ac_new_val in
   2081     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2082     *) ac_arg=$ac_var=$ac_new_val ;;
   2083     esac
   2084     case " $ac_configure_args " in
   2085       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2086       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2087     esac
   2088   fi
   2089 done
   2090 if $ac_cache_corrupted; then
   2091   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2093   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2094 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2095   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2096 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2097    { (exit 1); exit 1; }; }
   2098 fi
   2099 
   2100 
   2101 
   2102 
   2103 
   2104 
   2105 
   2106 
   2107 
   2108 
   2109 
   2110 
   2111 
   2112 
   2113 
   2114 
   2115 
   2116 
   2117 
   2118 
   2119 
   2120 
   2121 
   2122 
   2123 
   2124 ac_ext=c
   2125 ac_cpp='$CPP $CPPFLAGS'
   2126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2129 
   2130 
   2131 
   2132 
   2133 ac_config_headers="$ac_config_headers config.h"
   2134 
   2135 
   2136 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2137 
   2138 
   2139 
   2140 
   2141 
   2142 
   2143 
   2144 
   2145 
   2146 
   2147 
   2148 ac_aux_dir=
   2149 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2150   if test -f "$ac_dir/install-sh"; then
   2151     ac_aux_dir=$ac_dir
   2152     ac_install_sh="$ac_aux_dir/install-sh -c"
   2153     break
   2154   elif test -f "$ac_dir/install.sh"; then
   2155     ac_aux_dir=$ac_dir
   2156     ac_install_sh="$ac_aux_dir/install.sh -c"
   2157     break
   2158   elif test -f "$ac_dir/shtool"; then
   2159     ac_aux_dir=$ac_dir
   2160     ac_install_sh="$ac_aux_dir/shtool install -c"
   2161     break
   2162   fi
   2163 done
   2164 if test -z "$ac_aux_dir"; then
   2165   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2166 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2167    { (exit 1); exit 1; }; }
   2168 fi
   2169 
   2170 # These three variables are undocumented and unsupported,
   2171 # and are intended to be withdrawn in a future Autoconf release.
   2172 # They can cause serious problems if a builder's source tree is in a directory
   2173 # whose full name contains unusual characters.
   2174 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2175 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2176 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2177 
   2178 
   2179 # Find a good install program.  We prefer a C program (faster),
   2180 # so one script is as good as another.  But avoid the broken or
   2181 # incompatible versions:
   2182 # SysV /etc/install, /usr/sbin/install
   2183 # SunOS /usr/etc/install
   2184 # IRIX /sbin/install
   2185 # AIX /bin/install
   2186 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2187 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2188 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2189 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2190 # OS/2's system install, which has a completely different semantic
   2191 # ./install, which can be erroneously created by make from ./install.sh.
   2192 # Reject install programs that cannot install multiple files.
   2193 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2194 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2195 if test -z "$INSTALL"; then
   2196 if test "${ac_cv_path_install+set}" = set; then
   2197   $as_echo_n "(cached) " >&6
   2198 else
   2199   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2200 for as_dir in $PATH
   2201 do
   2202   IFS=$as_save_IFS
   2203   test -z "$as_dir" && as_dir=.
   2204   # Account for people who put trailing slashes in PATH elements.
   2205 case $as_dir/ in
   2206   ./ | .// | /cC/* | \
   2207   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2208   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2209   /usr/ucb/* ) ;;
   2210   *)
   2211     # OSF1 and SCO ODT 3.0 have their own names for install.
   2212     # Don't use installbsd from OSF since it installs stuff as root
   2213     # by default.
   2214     for ac_prog in ginstall scoinst install; do
   2215       for ac_exec_ext in '' $ac_executable_extensions; do
   2216 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2217 	  if test $ac_prog = install &&
   2218 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2219 	    # AIX install.  It has an incompatible calling convention.
   2220 	    :
   2221 	  elif test $ac_prog = install &&
   2222 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2223 	    # program-specific install script used by HP pwplus--don't use.
   2224 	    :
   2225 	  else
   2226 	    rm -rf conftest.one conftest.two conftest.dir
   2227 	    echo one > conftest.one
   2228 	    echo two > conftest.two
   2229 	    mkdir conftest.dir
   2230 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2231 	      test -s conftest.one && test -s conftest.two &&
   2232 	      test -s conftest.dir/conftest.one &&
   2233 	      test -s conftest.dir/conftest.two
   2234 	    then
   2235 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2236 	      break 3
   2237 	    fi
   2238 	  fi
   2239 	fi
   2240       done
   2241     done
   2242     ;;
   2243 esac
   2244 
   2245 done
   2246 IFS=$as_save_IFS
   2247 
   2248 rm -rf conftest.one conftest.two conftest.dir
   2249 
   2250 fi
   2251   if test "${ac_cv_path_install+set}" = set; then
   2252     INSTALL=$ac_cv_path_install
   2253   else
   2254     # As a last resort, use the slow shell script.  Don't cache a
   2255     # value for INSTALL within a source directory, because that will
   2256     # break other packages using the cache if that directory is
   2257     # removed, or if the value is a relative name.
   2258     INSTALL=$ac_install_sh
   2259   fi
   2260 fi
   2261 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2262 $as_echo "$INSTALL" >&6; }
   2263 
   2264 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2265 # It thinks the first close brace ends the variable substitution.
   2266 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2267 
   2268 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2269 
   2270 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2271 
   2272 ac_ext=c
   2273 ac_cpp='$CPP $CPPFLAGS'
   2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2277 if test -n "$ac_tool_prefix"; then
   2278   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2281 $as_echo_n "checking for $ac_word... " >&6; }
   2282 if test "${ac_cv_prog_CC+set}" = set; then
   2283   $as_echo_n "(cached) " >&6
   2284 else
   2285   if test -n "$CC"; then
   2286   ac_cv_prog_CC="$CC" # Let the user override the test.
   2287 else
   2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2289 for as_dir in $PATH
   2290 do
   2291   IFS=$as_save_IFS
   2292   test -z "$as_dir" && as_dir=.
   2293   for ac_exec_ext in '' $ac_executable_extensions; do
   2294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2295     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2296     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2297     break 2
   2298   fi
   2299 done
   2300 done
   2301 IFS=$as_save_IFS
   2302 
   2303 fi
   2304 fi
   2305 CC=$ac_cv_prog_CC
   2306 if test -n "$CC"; then
   2307   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2308 $as_echo "$CC" >&6; }
   2309 else
   2310   { $as_echo "$as_me:$LINENO: result: no" >&5
   2311 $as_echo "no" >&6; }
   2312 fi
   2313 
   2314 
   2315 fi
   2316 if test -z "$ac_cv_prog_CC"; then
   2317   ac_ct_CC=$CC
   2318   # Extract the first word of "gcc", so it can be a program name with args.
   2319 set dummy gcc; ac_word=$2
   2320 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2321 $as_echo_n "checking for $ac_word... " >&6; }
   2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2323   $as_echo_n "(cached) " >&6
   2324 else
   2325   if test -n "$ac_ct_CC"; then
   2326   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2327 else
   2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2329 for as_dir in $PATH
   2330 do
   2331   IFS=$as_save_IFS
   2332   test -z "$as_dir" && as_dir=.
   2333   for ac_exec_ext in '' $ac_executable_extensions; do
   2334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2335     ac_cv_prog_ac_ct_CC="gcc"
   2336     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2337     break 2
   2338   fi
   2339 done
   2340 done
   2341 IFS=$as_save_IFS
   2342 
   2343 fi
   2344 fi
   2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2346 if test -n "$ac_ct_CC"; then
   2347   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2348 $as_echo "$ac_ct_CC" >&6; }
   2349 else
   2350   { $as_echo "$as_me:$LINENO: result: no" >&5
   2351 $as_echo "no" >&6; }
   2352 fi
   2353 
   2354   if test "x$ac_ct_CC" = x; then
   2355     CC=""
   2356   else
   2357     case $cross_compiling:$ac_tool_warned in
   2358 yes:)
   2359 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2361 ac_tool_warned=yes ;;
   2362 esac
   2363     CC=$ac_ct_CC
   2364   fi
   2365 else
   2366   CC="$ac_cv_prog_CC"
   2367 fi
   2368 
   2369 if test -z "$CC"; then
   2370           if test -n "$ac_tool_prefix"; then
   2371     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2372 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2374 $as_echo_n "checking for $ac_word... " >&6; }
   2375 if test "${ac_cv_prog_CC+set}" = set; then
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   if test -n "$CC"; then
   2379   ac_cv_prog_CC="$CC" # Let the user override the test.
   2380 else
   2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386   for ac_exec_ext in '' $ac_executable_extensions; do
   2387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2388     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2389     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2390     break 2
   2391   fi
   2392 done
   2393 done
   2394 IFS=$as_save_IFS
   2395 
   2396 fi
   2397 fi
   2398 CC=$ac_cv_prog_CC
   2399 if test -n "$CC"; then
   2400   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2401 $as_echo "$CC" >&6; }
   2402 else
   2403   { $as_echo "$as_me:$LINENO: result: no" >&5
   2404 $as_echo "no" >&6; }
   2405 fi
   2406 
   2407 
   2408   fi
   2409 fi
   2410 if test -z "$CC"; then
   2411   # Extract the first word of "cc", so it can be a program name with args.
   2412 set dummy cc; ac_word=$2
   2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2414 $as_echo_n "checking for $ac_word... " >&6; }
   2415 if test "${ac_cv_prog_CC+set}" = set; then
   2416   $as_echo_n "(cached) " >&6
   2417 else
   2418   if test -n "$CC"; then
   2419   ac_cv_prog_CC="$CC" # Let the user override the test.
   2420 else
   2421   ac_prog_rejected=no
   2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 for as_dir in $PATH
   2424 do
   2425   IFS=$as_save_IFS
   2426   test -z "$as_dir" && as_dir=.
   2427   for ac_exec_ext in '' $ac_executable_extensions; do
   2428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2429     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2430        ac_prog_rejected=yes
   2431        continue
   2432      fi
   2433     ac_cv_prog_CC="cc"
   2434     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2435     break 2
   2436   fi
   2437 done
   2438 done
   2439 IFS=$as_save_IFS
   2440 
   2441 if test $ac_prog_rejected = yes; then
   2442   # We found a bogon in the path, so make sure we never use it.
   2443   set dummy $ac_cv_prog_CC
   2444   shift
   2445   if test $# != 0; then
   2446     # We chose a different compiler from the bogus one.
   2447     # However, it has the same basename, so the bogon will be chosen
   2448     # first if we set CC to just the basename; use the full file name.
   2449     shift
   2450     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2451   fi
   2452 fi
   2453 fi
   2454 fi
   2455 CC=$ac_cv_prog_CC
   2456 if test -n "$CC"; then
   2457   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2458 $as_echo "$CC" >&6; }
   2459 else
   2460   { $as_echo "$as_me:$LINENO: result: no" >&5
   2461 $as_echo "no" >&6; }
   2462 fi
   2463 
   2464 
   2465 fi
   2466 if test -z "$CC"; then
   2467   if test -n "$ac_tool_prefix"; then
   2468   for ac_prog in cl.exe
   2469   do
   2470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2473 $as_echo_n "checking for $ac_word... " >&6; }
   2474 if test "${ac_cv_prog_CC+set}" = set; then
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   if test -n "$CC"; then
   2478   ac_cv_prog_CC="$CC" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485   for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2487     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2488     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492 done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 fi
   2497 CC=$ac_cv_prog_CC
   2498 if test -n "$CC"; then
   2499   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2500 $as_echo "$CC" >&6; }
   2501 else
   2502   { $as_echo "$as_me:$LINENO: result: no" >&5
   2503 $as_echo "no" >&6; }
   2504 fi
   2505 
   2506 
   2507     test -n "$CC" && break
   2508   done
   2509 fi
   2510 if test -z "$CC"; then
   2511   ac_ct_CC=$CC
   2512   for ac_prog in cl.exe
   2513 do
   2514   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2515 set dummy $ac_prog; ac_word=$2
   2516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2517 $as_echo_n "checking for $ac_word... " >&6; }
   2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2519   $as_echo_n "(cached) " >&6
   2520 else
   2521   if test -n "$ac_ct_CC"; then
   2522   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2523 else
   2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2525 for as_dir in $PATH
   2526 do
   2527   IFS=$as_save_IFS
   2528   test -z "$as_dir" && as_dir=.
   2529   for ac_exec_ext in '' $ac_executable_extensions; do
   2530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2531     ac_cv_prog_ac_ct_CC="$ac_prog"
   2532     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2533     break 2
   2534   fi
   2535 done
   2536 done
   2537 IFS=$as_save_IFS
   2538 
   2539 fi
   2540 fi
   2541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2542 if test -n "$ac_ct_CC"; then
   2543   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2544 $as_echo "$ac_ct_CC" >&6; }
   2545 else
   2546   { $as_echo "$as_me:$LINENO: result: no" >&5
   2547 $as_echo "no" >&6; }
   2548 fi
   2549 
   2550 
   2551   test -n "$ac_ct_CC" && break
   2552 done
   2553 
   2554   if test "x$ac_ct_CC" = x; then
   2555     CC=""
   2556   else
   2557     case $cross_compiling:$ac_tool_warned in
   2558 yes:)
   2559 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2561 ac_tool_warned=yes ;;
   2562 esac
   2563     CC=$ac_ct_CC
   2564   fi
   2565 fi
   2566 
   2567 fi
   2568 
   2569 
   2570 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2572 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2573 See \`config.log' for more details." >&5
   2574 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2575 See \`config.log' for more details." >&2;}
   2576    { (exit 1); exit 1; }; }; }
   2577 
   2578 # Provide some information about the compiler.
   2579 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2580 set X $ac_compile
   2581 ac_compiler=$2
   2582 { (ac_try="$ac_compiler --version >&5"
   2583 case "(($ac_try" in
   2584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2585   *) ac_try_echo=$ac_try;;
   2586 esac
   2587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2588 $as_echo "$ac_try_echo") >&5
   2589   (eval "$ac_compiler --version >&5") 2>&5
   2590   ac_status=$?
   2591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2592   (exit $ac_status); }
   2593 { (ac_try="$ac_compiler -v >&5"
   2594 case "(($ac_try" in
   2595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2596   *) ac_try_echo=$ac_try;;
   2597 esac
   2598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2599 $as_echo "$ac_try_echo") >&5
   2600   (eval "$ac_compiler -v >&5") 2>&5
   2601   ac_status=$?
   2602   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2603   (exit $ac_status); }
   2604 { (ac_try="$ac_compiler -V >&5"
   2605 case "(($ac_try" in
   2606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2607   *) ac_try_echo=$ac_try;;
   2608 esac
   2609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2610 $as_echo "$ac_try_echo") >&5
   2611   (eval "$ac_compiler -V >&5") 2>&5
   2612   ac_status=$?
   2613   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2614   (exit $ac_status); }
   2615 
   2616 cat >conftest.$ac_ext <<_ACEOF
   2617 /* confdefs.h.  */
   2618 _ACEOF
   2619 cat confdefs.h >>conftest.$ac_ext
   2620 cat >>conftest.$ac_ext <<_ACEOF
   2621 /* end confdefs.h.  */
   2622 
   2623 int
   2624 main ()
   2625 {
   2626 
   2627   ;
   2628   return 0;
   2629 }
   2630 _ACEOF
   2631 ac_clean_files_save=$ac_clean_files
   2632 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2633 # Try to create an executable without -o first, disregard a.out.
   2634 # It will help us diagnose broken compilers, and finding out an intuition
   2635 # of exeext.
   2636 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2637 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2638 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2639 
   2640 # The possible output files:
   2641 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2642 
   2643 ac_rmfiles=
   2644 for ac_file in $ac_files
   2645 do
   2646   case $ac_file in
   2647     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2648     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2649   esac
   2650 done
   2651 rm -f $ac_rmfiles
   2652 
   2653 if { (ac_try="$ac_link_default"
   2654 case "(($ac_try" in
   2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2656   *) ac_try_echo=$ac_try;;
   2657 esac
   2658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2659 $as_echo "$ac_try_echo") >&5
   2660   (eval "$ac_link_default") 2>&5
   2661   ac_status=$?
   2662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2663   (exit $ac_status); }; then
   2664   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2665 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2666 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2667 # so that the user can short-circuit this test for compilers unknown to
   2668 # Autoconf.
   2669 for ac_file in $ac_files ''
   2670 do
   2671   test -f "$ac_file" || continue
   2672   case $ac_file in
   2673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2674 	;;
   2675     [ab].out )
   2676 	# We found the default executable, but exeext='' is most
   2677 	# certainly right.
   2678 	break;;
   2679     *.* )
   2680         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2681 	then :; else
   2682 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2683 	fi
   2684 	# We set ac_cv_exeext here because the later test for it is not
   2685 	# safe: cross compilers may not add the suffix if given an `-o'
   2686 	# argument, so we may need to know it at that point already.
   2687 	# Even if this section looks crufty: it has the advantage of
   2688 	# actually working.
   2689 	break;;
   2690     * )
   2691 	break;;
   2692   esac
   2693 done
   2694 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2695 
   2696 else
   2697   ac_file=''
   2698 fi
   2699 
   2700 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   2701 $as_echo "$ac_file" >&6; }
   2702 if test -z "$ac_file"; then
   2703   $as_echo "$as_me: failed program was:" >&5
   2704 sed 's/^/| /' conftest.$ac_ext >&5
   2705 
   2706 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2708 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   2709 See \`config.log' for more details." >&5
   2710 $as_echo "$as_me: error: C compiler cannot create executables
   2711 See \`config.log' for more details." >&2;}
   2712    { (exit 77); exit 77; }; }; }
   2713 fi
   2714 
   2715 ac_exeext=$ac_cv_exeext
   2716 
   2717 # Check that the compiler produces executables we can run.  If not, either
   2718 # the compiler is broken, or we cross compile.
   2719 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2720 $as_echo_n "checking whether the C compiler works... " >&6; }
   2721 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2722 # If not cross compiling, check that we can run a simple program.
   2723 if test "$cross_compiling" != yes; then
   2724   if { ac_try='./$ac_file'
   2725   { (case "(($ac_try" in
   2726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2727   *) ac_try_echo=$ac_try;;
   2728 esac
   2729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2730 $as_echo "$ac_try_echo") >&5
   2731   (eval "$ac_try") 2>&5
   2732   ac_status=$?
   2733   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2734   (exit $ac_status); }; }; then
   2735     cross_compiling=no
   2736   else
   2737     if test "$cross_compiling" = maybe; then
   2738 	cross_compiling=yes
   2739     else
   2740 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2742 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2743 If you meant to cross compile, use \`--host'.
   2744 See \`config.log' for more details." >&5
   2745 $as_echo "$as_me: error: cannot run C compiled programs.
   2746 If you meant to cross compile, use \`--host'.
   2747 See \`config.log' for more details." >&2;}
   2748    { (exit 1); exit 1; }; }; }
   2749     fi
   2750   fi
   2751 fi
   2752 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2753 $as_echo "yes" >&6; }
   2754 
   2755 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2756 ac_clean_files=$ac_clean_files_save
   2757 # Check that the compiler produces executables we can run.  If not, either
   2758 # the compiler is broken, or we cross compile.
   2759 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2760 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2761 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2762 $as_echo "$cross_compiling" >&6; }
   2763 
   2764 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2765 $as_echo_n "checking for suffix of executables... " >&6; }
   2766 if { (ac_try="$ac_link"
   2767 case "(($ac_try" in
   2768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2769   *) ac_try_echo=$ac_try;;
   2770 esac
   2771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2772 $as_echo "$ac_try_echo") >&5
   2773   (eval "$ac_link") 2>&5
   2774   ac_status=$?
   2775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2776   (exit $ac_status); }; then
   2777   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2778 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2780 # `rm'.
   2781 for ac_file in conftest.exe conftest conftest.*; do
   2782   test -f "$ac_file" || continue
   2783   case $ac_file in
   2784     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2785     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2786 	  break;;
   2787     * ) break;;
   2788   esac
   2789 done
   2790 else
   2791   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2793 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2794 See \`config.log' for more details." >&5
   2795 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2796 See \`config.log' for more details." >&2;}
   2797    { (exit 1); exit 1; }; }; }
   2798 fi
   2799 
   2800 rm -f conftest$ac_cv_exeext
   2801 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2802 $as_echo "$ac_cv_exeext" >&6; }
   2803 
   2804 rm -f conftest.$ac_ext
   2805 EXEEXT=$ac_cv_exeext
   2806 ac_exeext=$EXEEXT
   2807 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2808 $as_echo_n "checking for suffix of object files... " >&6; }
   2809 if test "${ac_cv_objext+set}" = set; then
   2810   $as_echo_n "(cached) " >&6
   2811 else
   2812   cat >conftest.$ac_ext <<_ACEOF
   2813 /* confdefs.h.  */
   2814 _ACEOF
   2815 cat confdefs.h >>conftest.$ac_ext
   2816 cat >>conftest.$ac_ext <<_ACEOF
   2817 /* end confdefs.h.  */
   2818 
   2819 int
   2820 main ()
   2821 {
   2822 
   2823   ;
   2824   return 0;
   2825 }
   2826 _ACEOF
   2827 rm -f conftest.o conftest.obj
   2828 if { (ac_try="$ac_compile"
   2829 case "(($ac_try" in
   2830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2831   *) ac_try_echo=$ac_try;;
   2832 esac
   2833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2834 $as_echo "$ac_try_echo") >&5
   2835   (eval "$ac_compile") 2>&5
   2836   ac_status=$?
   2837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2838   (exit $ac_status); }; then
   2839   for ac_file in conftest.o conftest.obj conftest.*; do
   2840   test -f "$ac_file" || continue;
   2841   case $ac_file in
   2842     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2843     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2844        break;;
   2845   esac
   2846 done
   2847 else
   2848   $as_echo "$as_me: failed program was:" >&5
   2849 sed 's/^/| /' conftest.$ac_ext >&5
   2850 
   2851 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2853 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2854 See \`config.log' for more details." >&5
   2855 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2856 See \`config.log' for more details." >&2;}
   2857    { (exit 1); exit 1; }; }; }
   2858 fi
   2859 
   2860 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2861 fi
   2862 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2863 $as_echo "$ac_cv_objext" >&6; }
   2864 OBJEXT=$ac_cv_objext
   2865 ac_objext=$OBJEXT
   2866 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2867 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2868 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2869   $as_echo_n "(cached) " >&6
   2870 else
   2871   cat >conftest.$ac_ext <<_ACEOF
   2872 /* confdefs.h.  */
   2873 _ACEOF
   2874 cat confdefs.h >>conftest.$ac_ext
   2875 cat >>conftest.$ac_ext <<_ACEOF
   2876 /* end confdefs.h.  */
   2877 
   2878 int
   2879 main ()
   2880 {
   2881 #ifndef __GNUC__
   2882        choke me
   2883 #endif
   2884 
   2885   ;
   2886   return 0;
   2887 }
   2888 _ACEOF
   2889 rm -f conftest.$ac_objext
   2890 if { (ac_try="$ac_compile"
   2891 case "(($ac_try" in
   2892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2893   *) ac_try_echo=$ac_try;;
   2894 esac
   2895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2896 $as_echo "$ac_try_echo") >&5
   2897   (eval "$ac_compile") 2>conftest.er1
   2898   ac_status=$?
   2899   grep -v '^ *+' conftest.er1 >conftest.err
   2900   rm -f conftest.er1
   2901   cat conftest.err >&5
   2902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2903   (exit $ac_status); } && {
   2904 	 test -z "$ac_c_werror_flag" ||
   2905 	 test ! -s conftest.err
   2906        } && test -s conftest.$ac_objext; then
   2907   ac_compiler_gnu=yes
   2908 else
   2909   $as_echo "$as_me: failed program was:" >&5
   2910 sed 's/^/| /' conftest.$ac_ext >&5
   2911 
   2912 	ac_compiler_gnu=no
   2913 fi
   2914 
   2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2916 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2917 
   2918 fi
   2919 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2920 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2921 if test $ac_compiler_gnu = yes; then
   2922   GCC=yes
   2923 else
   2924   GCC=
   2925 fi
   2926 ac_test_CFLAGS=${CFLAGS+set}
   2927 ac_save_CFLAGS=$CFLAGS
   2928 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2929 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2930 if test "${ac_cv_prog_cc_g+set}" = set; then
   2931   $as_echo_n "(cached) " >&6
   2932 else
   2933   ac_save_c_werror_flag=$ac_c_werror_flag
   2934    ac_c_werror_flag=yes
   2935    ac_cv_prog_cc_g=no
   2936    CFLAGS="-g"
   2937    cat >conftest.$ac_ext <<_ACEOF
   2938 /* confdefs.h.  */
   2939 _ACEOF
   2940 cat confdefs.h >>conftest.$ac_ext
   2941 cat >>conftest.$ac_ext <<_ACEOF
   2942 /* end confdefs.h.  */
   2943 
   2944 int
   2945 main ()
   2946 {
   2947 
   2948   ;
   2949   return 0;
   2950 }
   2951 _ACEOF
   2952 rm -f conftest.$ac_objext
   2953 if { (ac_try="$ac_compile"
   2954 case "(($ac_try" in
   2955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2956   *) ac_try_echo=$ac_try;;
   2957 esac
   2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2959 $as_echo "$ac_try_echo") >&5
   2960   (eval "$ac_compile") 2>conftest.er1
   2961   ac_status=$?
   2962   grep -v '^ *+' conftest.er1 >conftest.err
   2963   rm -f conftest.er1
   2964   cat conftest.err >&5
   2965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2966   (exit $ac_status); } && {
   2967 	 test -z "$ac_c_werror_flag" ||
   2968 	 test ! -s conftest.err
   2969        } && test -s conftest.$ac_objext; then
   2970   ac_cv_prog_cc_g=yes
   2971 else
   2972   $as_echo "$as_me: failed program was:" >&5
   2973 sed 's/^/| /' conftest.$ac_ext >&5
   2974 
   2975 	CFLAGS=""
   2976       cat >conftest.$ac_ext <<_ACEOF
   2977 /* confdefs.h.  */
   2978 _ACEOF
   2979 cat confdefs.h >>conftest.$ac_ext
   2980 cat >>conftest.$ac_ext <<_ACEOF
   2981 /* end confdefs.h.  */
   2982 
   2983 int
   2984 main ()
   2985 {
   2986 
   2987   ;
   2988   return 0;
   2989 }
   2990 _ACEOF
   2991 rm -f conftest.$ac_objext
   2992 if { (ac_try="$ac_compile"
   2993 case "(($ac_try" in
   2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2995   *) ac_try_echo=$ac_try;;
   2996 esac
   2997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2998 $as_echo "$ac_try_echo") >&5
   2999   (eval "$ac_compile") 2>conftest.er1
   3000   ac_status=$?
   3001   grep -v '^ *+' conftest.er1 >conftest.err
   3002   rm -f conftest.er1
   3003   cat conftest.err >&5
   3004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3005   (exit $ac_status); } && {
   3006 	 test -z "$ac_c_werror_flag" ||
   3007 	 test ! -s conftest.err
   3008        } && test -s conftest.$ac_objext; then
   3009   :
   3010 else
   3011   $as_echo "$as_me: failed program was:" >&5
   3012 sed 's/^/| /' conftest.$ac_ext >&5
   3013 
   3014 	ac_c_werror_flag=$ac_save_c_werror_flag
   3015 	 CFLAGS="-g"
   3016 	 cat >conftest.$ac_ext <<_ACEOF
   3017 /* confdefs.h.  */
   3018 _ACEOF
   3019 cat confdefs.h >>conftest.$ac_ext
   3020 cat >>conftest.$ac_ext <<_ACEOF
   3021 /* end confdefs.h.  */
   3022 
   3023 int
   3024 main ()
   3025 {
   3026 
   3027   ;
   3028   return 0;
   3029 }
   3030 _ACEOF
   3031 rm -f conftest.$ac_objext
   3032 if { (ac_try="$ac_compile"
   3033 case "(($ac_try" in
   3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3035   *) ac_try_echo=$ac_try;;
   3036 esac
   3037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3038 $as_echo "$ac_try_echo") >&5
   3039   (eval "$ac_compile") 2>conftest.er1
   3040   ac_status=$?
   3041   grep -v '^ *+' conftest.er1 >conftest.err
   3042   rm -f conftest.er1
   3043   cat conftest.err >&5
   3044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3045   (exit $ac_status); } && {
   3046 	 test -z "$ac_c_werror_flag" ||
   3047 	 test ! -s conftest.err
   3048        } && test -s conftest.$ac_objext; then
   3049   ac_cv_prog_cc_g=yes
   3050 else
   3051   $as_echo "$as_me: failed program was:" >&5
   3052 sed 's/^/| /' conftest.$ac_ext >&5
   3053 
   3054 
   3055 fi
   3056 
   3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3058 fi
   3059 
   3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3061 fi
   3062 
   3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3064    ac_c_werror_flag=$ac_save_c_werror_flag
   3065 fi
   3066 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3067 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3068 if test "$ac_test_CFLAGS" = set; then
   3069   CFLAGS=$ac_save_CFLAGS
   3070 elif test $ac_cv_prog_cc_g = yes; then
   3071   if test "$GCC" = yes; then
   3072     CFLAGS="-g -O2"
   3073   else
   3074     CFLAGS="-g"
   3075   fi
   3076 else
   3077   if test "$GCC" = yes; then
   3078     CFLAGS="-O2"
   3079   else
   3080     CFLAGS=
   3081   fi
   3082 fi
   3083 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3084 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3085 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3086   $as_echo_n "(cached) " >&6
   3087 else
   3088   ac_cv_prog_cc_c89=no
   3089 ac_save_CC=$CC
   3090 cat >conftest.$ac_ext <<_ACEOF
   3091 /* confdefs.h.  */
   3092 _ACEOF
   3093 cat confdefs.h >>conftest.$ac_ext
   3094 cat >>conftest.$ac_ext <<_ACEOF
   3095 /* end confdefs.h.  */
   3096 #include <stdarg.h>
   3097 #include <stdio.h>
   3098 #include <sys/types.h>
   3099 #include <sys/stat.h>
   3100 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3101 struct buf { int x; };
   3102 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3103 static char *e (p, i)
   3104      char **p;
   3105      int i;
   3106 {
   3107   return p[i];
   3108 }
   3109 static char *f (char * (*g) (char **, int), char **p, ...)
   3110 {
   3111   char *s;
   3112   va_list v;
   3113   va_start (v,p);
   3114   s = g (p, va_arg (v,int));
   3115   va_end (v);
   3116   return s;
   3117 }
   3118 
   3119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3120    function prototypes and stuff, but not '\xHH' hex character constants.
   3121    These don't provoke an error unfortunately, instead are silently treated
   3122    as 'x'.  The following induces an error, until -std is added to get
   3123    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3124    array size at least.  It's necessary to write '\x00'==0 to get something
   3125    that's true only with -std.  */
   3126 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3127 
   3128 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3129    inside strings and character constants.  */
   3130 #define FOO(x) 'x'
   3131 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3132 
   3133 int test (int i, double x);
   3134 struct s1 {int (*f) (int a);};
   3135 struct s2 {int (*f) (double a);};
   3136 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3137 int argc;
   3138 char **argv;
   3139 int
   3140 main ()
   3141 {
   3142 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3143   ;
   3144   return 0;
   3145 }
   3146 _ACEOF
   3147 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3148 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3149 do
   3150   CC="$ac_save_CC $ac_arg"
   3151   rm -f conftest.$ac_objext
   3152 if { (ac_try="$ac_compile"
   3153 case "(($ac_try" in
   3154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3155   *) ac_try_echo=$ac_try;;
   3156 esac
   3157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3158 $as_echo "$ac_try_echo") >&5
   3159   (eval "$ac_compile") 2>conftest.er1
   3160   ac_status=$?
   3161   grep -v '^ *+' conftest.er1 >conftest.err
   3162   rm -f conftest.er1
   3163   cat conftest.err >&5
   3164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3165   (exit $ac_status); } && {
   3166 	 test -z "$ac_c_werror_flag" ||
   3167 	 test ! -s conftest.err
   3168        } && test -s conftest.$ac_objext; then
   3169   ac_cv_prog_cc_c89=$ac_arg
   3170 else
   3171   $as_echo "$as_me: failed program was:" >&5
   3172 sed 's/^/| /' conftest.$ac_ext >&5
   3173 
   3174 
   3175 fi
   3176 
   3177 rm -f core conftest.err conftest.$ac_objext
   3178   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3179 done
   3180 rm -f conftest.$ac_ext
   3181 CC=$ac_save_CC
   3182 
   3183 fi
   3184 # AC_CACHE_VAL
   3185 case "x$ac_cv_prog_cc_c89" in
   3186   x)
   3187     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3188 $as_echo "none needed" >&6; } ;;
   3189   xno)
   3190     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3191 $as_echo "unsupported" >&6; } ;;
   3192   *)
   3193     CC="$CC $ac_cv_prog_cc_c89"
   3194     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3196 esac
   3197 
   3198 
   3199 ac_ext=c
   3200 ac_cpp='$CPP $CPPFLAGS'
   3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3204 
   3205    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   3206 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3207 if test "${ac_cv_prog_cc_c99+set}" = set; then
   3208   $as_echo_n "(cached) " >&6
   3209 else
   3210   ac_cv_prog_cc_c99=no
   3211 ac_save_CC=$CC
   3212 cat >conftest.$ac_ext <<_ACEOF
   3213 /* confdefs.h.  */
   3214 _ACEOF
   3215 cat confdefs.h >>conftest.$ac_ext
   3216 cat >>conftest.$ac_ext <<_ACEOF
   3217 /* end confdefs.h.  */
   3218 #include <stdarg.h>
   3219 #include <stdbool.h>
   3220 #include <stdlib.h>
   3221 #include <wchar.h>
   3222 #include <stdio.h>
   3223 
   3224 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3225 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3226 #define showlist(...) puts (#__VA_ARGS__)
   3227 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3228 static void
   3229 test_varargs_macros (void)
   3230 {
   3231   int x = 1234;
   3232   int y = 5678;
   3233   debug ("Flag");
   3234   debug ("X = %d\n", x);
   3235   showlist (The first, second, and third items.);
   3236   report (x>y, "x is %d but y is %d", x, y);
   3237 }
   3238 
   3239 // Check long long types.
   3240 #define BIG64 18446744073709551615ull
   3241 #define BIG32 4294967295ul
   3242 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3243 #if !BIG_OK
   3244   your preprocessor is broken;
   3245 #endif
   3246 #if BIG_OK
   3247 #else
   3248   your preprocessor is broken;
   3249 #endif
   3250 static long long int bignum = -9223372036854775807LL;
   3251 static unsigned long long int ubignum = BIG64;
   3252 
   3253 struct incomplete_array
   3254 {
   3255   int datasize;
   3256   double data[];
   3257 };
   3258 
   3259 struct named_init {
   3260   int number;
   3261   const wchar_t *name;
   3262   double average;
   3263 };
   3264 
   3265 typedef const char *ccp;
   3266 
   3267 static inline int
   3268 test_restrict (ccp restrict text)
   3269 {
   3270   // See if C++-style comments work.
   3271   // Iterate through items via the restricted pointer.
   3272   // Also check for declarations in for loops.
   3273   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3274     continue;
   3275   return 0;
   3276 }
   3277 
   3278 // Check varargs and va_copy.
   3279 static void
   3280 test_varargs (const char *format, ...)
   3281 {
   3282   va_list args;
   3283   va_start (args, format);
   3284   va_list args_copy;
   3285   va_copy (args_copy, args);
   3286 
   3287   const char *str;
   3288   int number;
   3289   float fnumber;
   3290 
   3291   while (*format)
   3292     {
   3293       switch (*format++)
   3294 	{
   3295 	case 's': // string
   3296 	  str = va_arg (args_copy, const char *);
   3297 	  break;
   3298 	case 'd': // int
   3299 	  number = va_arg (args_copy, int);
   3300 	  break;
   3301 	case 'f': // float
   3302 	  fnumber = va_arg (args_copy, double);
   3303 	  break;
   3304 	default:
   3305 	  break;
   3306 	}
   3307     }
   3308   va_end (args_copy);
   3309   va_end (args);
   3310 }
   3311 
   3312 int
   3313 main ()
   3314 {
   3315 
   3316   // Check bool.
   3317   _Bool success = false;
   3318 
   3319   // Check restrict.
   3320   if (test_restrict ("String literal") == 0)
   3321     success = true;
   3322   char *restrict newvar = "Another string";
   3323 
   3324   // Check varargs.
   3325   test_varargs ("s, d' f .", "string", 65, 34.234);
   3326   test_varargs_macros ();
   3327 
   3328   // Check flexible array members.
   3329   struct incomplete_array *ia =
   3330     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3331   ia->datasize = 10;
   3332   for (int i = 0; i < ia->datasize; ++i)
   3333     ia->data[i] = i * 1.234;
   3334 
   3335   // Check named initializers.
   3336   struct named_init ni = {
   3337     .number = 34,
   3338     .name = L"Test wide string",
   3339     .average = 543.34343,
   3340   };
   3341 
   3342   ni.number = 58;
   3343 
   3344   int dynamic_array[ni.number];
   3345   dynamic_array[ni.number - 1] = 543;
   3346 
   3347   // work around unused variable warnings
   3348   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3349 	  || dynamic_array[ni.number - 1] != 543);
   3350 
   3351   ;
   3352   return 0;
   3353 }
   3354 _ACEOF
   3355 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3356 do
   3357   CC="$ac_save_CC $ac_arg"
   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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3365 $as_echo "$ac_try_echo") >&5
   3366   (eval "$ac_compile") 2>conftest.er1
   3367   ac_status=$?
   3368   grep -v '^ *+' conftest.er1 >conftest.err
   3369   rm -f conftest.er1
   3370   cat conftest.err >&5
   3371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3372   (exit $ac_status); } && {
   3373 	 test -z "$ac_c_werror_flag" ||
   3374 	 test ! -s conftest.err
   3375        } && test -s conftest.$ac_objext; then
   3376   ac_cv_prog_cc_c99=$ac_arg
   3377 else
   3378   $as_echo "$as_me: failed program was:" >&5
   3379 sed 's/^/| /' conftest.$ac_ext >&5
   3380 
   3381 
   3382 fi
   3383 
   3384 rm -f core conftest.err conftest.$ac_objext
   3385   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3386 done
   3387 rm -f conftest.$ac_ext
   3388 CC=$ac_save_CC
   3389 
   3390 fi
   3391 # AC_CACHE_VAL
   3392 case "x$ac_cv_prog_cc_c99" in
   3393   x)
   3394     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3395 $as_echo "none needed" >&6; } ;;
   3396   xno)
   3397     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3398 $as_echo "unsupported" >&6; } ;;
   3399   *)
   3400     CC="$CC $ac_cv_prog_cc_c99"
   3401     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   3402 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3403 esac
   3404 
   3405 
   3406 
   3407 
   3408 ac_ext=c
   3409 ac_cpp='$CPP $CPPFLAGS'
   3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3413 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3414 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3415 # On Suns, sometimes $CPP names a directory.
   3416 if test -n "$CPP" && test -d "$CPP"; then
   3417   CPP=
   3418 fi
   3419 if test -z "$CPP"; then
   3420   if test "${ac_cv_prog_CPP+set}" = set; then
   3421   $as_echo_n "(cached) " >&6
   3422 else
   3423       # Double quotes because CPP needs to be expanded
   3424     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3425     do
   3426       ac_preproc_ok=false
   3427 for ac_c_preproc_warn_flag in '' yes
   3428 do
   3429   # Use a header file that comes with gcc, so configuring glibc
   3430   # with a fresh cross-compiler works.
   3431   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3432   # <limits.h> exists even on freestanding compilers.
   3433   # On the NeXT, cc -E runs the code through the compiler's parser,
   3434   # not just through cpp. "Syntax error" is here to catch this case.
   3435   cat >conftest.$ac_ext <<_ACEOF
   3436 /* confdefs.h.  */
   3437 _ACEOF
   3438 cat confdefs.h >>conftest.$ac_ext
   3439 cat >>conftest.$ac_ext <<_ACEOF
   3440 /* end confdefs.h.  */
   3441 #ifdef __STDC__
   3442 # include <limits.h>
   3443 #else
   3444 # include <assert.h>
   3445 #endif
   3446 		     Syntax error
   3447 _ACEOF
   3448 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3449 case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo") >&5
   3455   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3456   ac_status=$?
   3457   grep -v '^ *+' conftest.er1 >conftest.err
   3458   rm -f conftest.er1
   3459   cat conftest.err >&5
   3460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3461   (exit $ac_status); } >/dev/null && {
   3462 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3463 	 test ! -s conftest.err
   3464        }; then
   3465   :
   3466 else
   3467   $as_echo "$as_me: failed program was:" >&5
   3468 sed 's/^/| /' conftest.$ac_ext >&5
   3469 
   3470   # Broken: fails on valid input.
   3471 continue
   3472 fi
   3473 
   3474 rm -f conftest.err conftest.$ac_ext
   3475 
   3476   # OK, works on sane cases.  Now check whether nonexistent headers
   3477   # can be detected and how.
   3478   cat >conftest.$ac_ext <<_ACEOF
   3479 /* confdefs.h.  */
   3480 _ACEOF
   3481 cat confdefs.h >>conftest.$ac_ext
   3482 cat >>conftest.$ac_ext <<_ACEOF
   3483 /* end confdefs.h.  */
   3484 #include <ac_nonexistent.h>
   3485 _ACEOF
   3486 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3487 case "(($ac_try" in
   3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3489   *) ac_try_echo=$ac_try;;
   3490 esac
   3491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3492 $as_echo "$ac_try_echo") >&5
   3493   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3494   ac_status=$?
   3495   grep -v '^ *+' conftest.er1 >conftest.err
   3496   rm -f conftest.er1
   3497   cat conftest.err >&5
   3498   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3499   (exit $ac_status); } >/dev/null && {
   3500 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3501 	 test ! -s conftest.err
   3502        }; then
   3503   # Broken: success on invalid input.
   3504 continue
   3505 else
   3506   $as_echo "$as_me: failed program was:" >&5
   3507 sed 's/^/| /' conftest.$ac_ext >&5
   3508 
   3509   # Passes both tests.
   3510 ac_preproc_ok=:
   3511 break
   3512 fi
   3513 
   3514 rm -f conftest.err conftest.$ac_ext
   3515 
   3516 done
   3517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3518 rm -f conftest.err conftest.$ac_ext
   3519 if $ac_preproc_ok; then
   3520   break
   3521 fi
   3522 
   3523     done
   3524     ac_cv_prog_CPP=$CPP
   3525 
   3526 fi
   3527   CPP=$ac_cv_prog_CPP
   3528 else
   3529   ac_cv_prog_CPP=$CPP
   3530 fi
   3531 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3532 $as_echo "$CPP" >&6; }
   3533 ac_preproc_ok=false
   3534 for ac_c_preproc_warn_flag in '' yes
   3535 do
   3536   # Use a header file that comes with gcc, so configuring glibc
   3537   # with a fresh cross-compiler works.
   3538   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3539   # <limits.h> exists even on freestanding compilers.
   3540   # On the NeXT, cc -E runs the code through the compiler's parser,
   3541   # not just through cpp. "Syntax error" is here to catch this case.
   3542   cat >conftest.$ac_ext <<_ACEOF
   3543 /* confdefs.h.  */
   3544 _ACEOF
   3545 cat confdefs.h >>conftest.$ac_ext
   3546 cat >>conftest.$ac_ext <<_ACEOF
   3547 /* end confdefs.h.  */
   3548 #ifdef __STDC__
   3549 # include <limits.h>
   3550 #else
   3551 # include <assert.h>
   3552 #endif
   3553 		     Syntax error
   3554 _ACEOF
   3555 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3556 case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3561 $as_echo "$ac_try_echo") >&5
   3562   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3563   ac_status=$?
   3564   grep -v '^ *+' conftest.er1 >conftest.err
   3565   rm -f conftest.er1
   3566   cat conftest.err >&5
   3567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3568   (exit $ac_status); } >/dev/null && {
   3569 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3570 	 test ! -s conftest.err
   3571        }; then
   3572   :
   3573 else
   3574   $as_echo "$as_me: failed program was:" >&5
   3575 sed 's/^/| /' conftest.$ac_ext >&5
   3576 
   3577   # Broken: fails on valid input.
   3578 continue
   3579 fi
   3580 
   3581 rm -f conftest.err conftest.$ac_ext
   3582 
   3583   # OK, works on sane cases.  Now check whether nonexistent headers
   3584   # can be detected and how.
   3585   cat >conftest.$ac_ext <<_ACEOF
   3586 /* confdefs.h.  */
   3587 _ACEOF
   3588 cat confdefs.h >>conftest.$ac_ext
   3589 cat >>conftest.$ac_ext <<_ACEOF
   3590 /* end confdefs.h.  */
   3591 #include <ac_nonexistent.h>
   3592 _ACEOF
   3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3594 case "(($ac_try" in
   3595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3596   *) ac_try_echo=$ac_try;;
   3597 esac
   3598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3599 $as_echo "$ac_try_echo") >&5
   3600   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3601   ac_status=$?
   3602   grep -v '^ *+' conftest.er1 >conftest.err
   3603   rm -f conftest.er1
   3604   cat conftest.err >&5
   3605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3606   (exit $ac_status); } >/dev/null && {
   3607 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3608 	 test ! -s conftest.err
   3609        }; then
   3610   # Broken: success on invalid input.
   3611 continue
   3612 else
   3613   $as_echo "$as_me: failed program was:" >&5
   3614 sed 's/^/| /' conftest.$ac_ext >&5
   3615 
   3616   # Passes both tests.
   3617 ac_preproc_ok=:
   3618 break
   3619 fi
   3620 
   3621 rm -f conftest.err conftest.$ac_ext
   3622 
   3623 done
   3624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3625 rm -f conftest.err conftest.$ac_ext
   3626 if $ac_preproc_ok; then
   3627   :
   3628 else
   3629   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3631 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3632 See \`config.log' for more details." >&5
   3633 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3634 See \`config.log' for more details." >&2;}
   3635    { (exit 1); exit 1; }; }; }
   3636 fi
   3637 
   3638 ac_ext=c
   3639 ac_cpp='$CPP $CPPFLAGS'
   3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3643 
   3644 
   3645 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3646 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3647 if test "${ac_cv_path_GREP+set}" = set; then
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   if test -z "$GREP"; then
   3651   ac_path_GREP_found=false
   3652   # Loop through the user's path and test for each of PROGNAME-LIST
   3653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3654 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3655 do
   3656   IFS=$as_save_IFS
   3657   test -z "$as_dir" && as_dir=.
   3658   for ac_prog in grep ggrep; do
   3659     for ac_exec_ext in '' $ac_executable_extensions; do
   3660       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3661       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3662 # Check for GNU ac_path_GREP and select it if it is found.
   3663   # Check for GNU $ac_path_GREP
   3664 case `"$ac_path_GREP" --version 2>&1` in
   3665 *GNU*)
   3666   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3667 *)
   3668   ac_count=0
   3669   $as_echo_n 0123456789 >"conftest.in"
   3670   while :
   3671   do
   3672     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3673     mv "conftest.tmp" "conftest.in"
   3674     cp "conftest.in" "conftest.nl"
   3675     $as_echo 'GREP' >> "conftest.nl"
   3676     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3677     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3678     ac_count=`expr $ac_count + 1`
   3679     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3680       # Best one so far, save it but keep looking for a better one
   3681       ac_cv_path_GREP="$ac_path_GREP"
   3682       ac_path_GREP_max=$ac_count
   3683     fi
   3684     # 10*(2^10) chars as input seems more than enough
   3685     test $ac_count -gt 10 && break
   3686   done
   3687   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3688 esac
   3689 
   3690       $ac_path_GREP_found && break 3
   3691     done
   3692   done
   3693 done
   3694 IFS=$as_save_IFS
   3695   if test -z "$ac_cv_path_GREP"; then
   3696     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3697 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3698    { (exit 1); exit 1; }; }
   3699   fi
   3700 else
   3701   ac_cv_path_GREP=$GREP
   3702 fi
   3703 
   3704 fi
   3705 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3706 $as_echo "$ac_cv_path_GREP" >&6; }
   3707  GREP="$ac_cv_path_GREP"
   3708 
   3709 
   3710 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3711 $as_echo_n "checking for egrep... " >&6; }
   3712 if test "${ac_cv_path_EGREP+set}" = set; then
   3713   $as_echo_n "(cached) " >&6
   3714 else
   3715   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3716    then ac_cv_path_EGREP="$GREP -E"
   3717    else
   3718      if test -z "$EGREP"; then
   3719   ac_path_EGREP_found=false
   3720   # Loop through the user's path and test for each of PROGNAME-LIST
   3721   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3723 do
   3724   IFS=$as_save_IFS
   3725   test -z "$as_dir" && as_dir=.
   3726   for ac_prog in egrep; do
   3727     for ac_exec_ext in '' $ac_executable_extensions; do
   3728       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3729       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3730 # Check for GNU ac_path_EGREP and select it if it is found.
   3731   # Check for GNU $ac_path_EGREP
   3732 case `"$ac_path_EGREP" --version 2>&1` in
   3733 *GNU*)
   3734   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3735 *)
   3736   ac_count=0
   3737   $as_echo_n 0123456789 >"conftest.in"
   3738   while :
   3739   do
   3740     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3741     mv "conftest.tmp" "conftest.in"
   3742     cp "conftest.in" "conftest.nl"
   3743     $as_echo 'EGREP' >> "conftest.nl"
   3744     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3745     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3746     ac_count=`expr $ac_count + 1`
   3747     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3748       # Best one so far, save it but keep looking for a better one
   3749       ac_cv_path_EGREP="$ac_path_EGREP"
   3750       ac_path_EGREP_max=$ac_count
   3751     fi
   3752     # 10*(2^10) chars as input seems more than enough
   3753     test $ac_count -gt 10 && break
   3754   done
   3755   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3756 esac
   3757 
   3758       $ac_path_EGREP_found && break 3
   3759     done
   3760   done
   3761 done
   3762 IFS=$as_save_IFS
   3763   if test -z "$ac_cv_path_EGREP"; then
   3764     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3765 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3766    { (exit 1); exit 1; }; }
   3767   fi
   3768 else
   3769   ac_cv_path_EGREP=$EGREP
   3770 fi
   3771 
   3772    fi
   3773 fi
   3774 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3775 $as_echo "$ac_cv_path_EGREP" >&6; }
   3776  EGREP="$ac_cv_path_EGREP"
   3777 
   3778 
   3779 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3780 $as_echo_n "checking for ANSI C header files... " >&6; }
   3781 if test "${ac_cv_header_stdc+set}" = set; then
   3782   $as_echo_n "(cached) " >&6
   3783 else
   3784   cat >conftest.$ac_ext <<_ACEOF
   3785 /* confdefs.h.  */
   3786 _ACEOF
   3787 cat confdefs.h >>conftest.$ac_ext
   3788 cat >>conftest.$ac_ext <<_ACEOF
   3789 /* end confdefs.h.  */
   3790 #include <stdlib.h>
   3791 #include <stdarg.h>
   3792 #include <string.h>
   3793 #include <float.h>
   3794 
   3795 int
   3796 main ()
   3797 {
   3798 
   3799   ;
   3800   return 0;
   3801 }
   3802 _ACEOF
   3803 rm -f conftest.$ac_objext
   3804 if { (ac_try="$ac_compile"
   3805 case "(($ac_try" in
   3806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3807   *) ac_try_echo=$ac_try;;
   3808 esac
   3809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3810 $as_echo "$ac_try_echo") >&5
   3811   (eval "$ac_compile") 2>conftest.er1
   3812   ac_status=$?
   3813   grep -v '^ *+' conftest.er1 >conftest.err
   3814   rm -f conftest.er1
   3815   cat conftest.err >&5
   3816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3817   (exit $ac_status); } && {
   3818 	 test -z "$ac_c_werror_flag" ||
   3819 	 test ! -s conftest.err
   3820        } && test -s conftest.$ac_objext; then
   3821   ac_cv_header_stdc=yes
   3822 else
   3823   $as_echo "$as_me: failed program was:" >&5
   3824 sed 's/^/| /' conftest.$ac_ext >&5
   3825 
   3826 	ac_cv_header_stdc=no
   3827 fi
   3828 
   3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3830 
   3831 if test $ac_cv_header_stdc = yes; then
   3832   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3833   cat >conftest.$ac_ext <<_ACEOF
   3834 /* confdefs.h.  */
   3835 _ACEOF
   3836 cat confdefs.h >>conftest.$ac_ext
   3837 cat >>conftest.$ac_ext <<_ACEOF
   3838 /* end confdefs.h.  */
   3839 #include <string.h>
   3840 
   3841 _ACEOF
   3842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3843   $EGREP "memchr" >/dev/null 2>&1; then
   3844   :
   3845 else
   3846   ac_cv_header_stdc=no
   3847 fi
   3848 rm -f conftest*
   3849 
   3850 fi
   3851 
   3852 if test $ac_cv_header_stdc = yes; then
   3853   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3854   cat >conftest.$ac_ext <<_ACEOF
   3855 /* confdefs.h.  */
   3856 _ACEOF
   3857 cat confdefs.h >>conftest.$ac_ext
   3858 cat >>conftest.$ac_ext <<_ACEOF
   3859 /* end confdefs.h.  */
   3860 #include <stdlib.h>
   3861 
   3862 _ACEOF
   3863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3864   $EGREP "free" >/dev/null 2>&1; then
   3865   :
   3866 else
   3867   ac_cv_header_stdc=no
   3868 fi
   3869 rm -f conftest*
   3870 
   3871 fi
   3872 
   3873 if test $ac_cv_header_stdc = yes; then
   3874   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3875   if test "$cross_compiling" = yes; then
   3876   :
   3877 else
   3878   cat >conftest.$ac_ext <<_ACEOF
   3879 /* confdefs.h.  */
   3880 _ACEOF
   3881 cat confdefs.h >>conftest.$ac_ext
   3882 cat >>conftest.$ac_ext <<_ACEOF
   3883 /* end confdefs.h.  */
   3884 #include <ctype.h>
   3885 #include <stdlib.h>
   3886 #if ((' ' & 0x0FF) == 0x020)
   3887 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3888 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3889 #else
   3890 # define ISLOWER(c) \
   3891 		   (('a' <= (c) && (c) <= 'i') \
   3892 		     || ('j' <= (c) && (c) <= 'r') \
   3893 		     || ('s' <= (c) && (c) <= 'z'))
   3894 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3895 #endif
   3896 
   3897 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3898 int
   3899 main ()
   3900 {
   3901   int i;
   3902   for (i = 0; i < 256; i++)
   3903     if (XOR (islower (i), ISLOWER (i))
   3904 	|| toupper (i) != TOUPPER (i))
   3905       return 2;
   3906   return 0;
   3907 }
   3908 _ACEOF
   3909 rm -f conftest$ac_exeext
   3910 if { (ac_try="$ac_link"
   3911 case "(($ac_try" in
   3912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3913   *) ac_try_echo=$ac_try;;
   3914 esac
   3915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3916 $as_echo "$ac_try_echo") >&5
   3917   (eval "$ac_link") 2>&5
   3918   ac_status=$?
   3919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3920   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3921   { (case "(($ac_try" in
   3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3923   *) ac_try_echo=$ac_try;;
   3924 esac
   3925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3926 $as_echo "$ac_try_echo") >&5
   3927   (eval "$ac_try") 2>&5
   3928   ac_status=$?
   3929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3930   (exit $ac_status); }; }; then
   3931   :
   3932 else
   3933   $as_echo "$as_me: program exited with status $ac_status" >&5
   3934 $as_echo "$as_me: failed program was:" >&5
   3935 sed 's/^/| /' conftest.$ac_ext >&5
   3936 
   3937 ( exit $ac_status )
   3938 ac_cv_header_stdc=no
   3939 fi
   3940 rm -rf conftest.dSYM
   3941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3942 fi
   3943 
   3944 
   3945 fi
   3946 fi
   3947 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3948 $as_echo "$ac_cv_header_stdc" >&6; }
   3949 if test $ac_cv_header_stdc = yes; then
   3950 
   3951 cat >>confdefs.h <<\_ACEOF
   3952 #define STDC_HEADERS 1
   3953 _ACEOF
   3954 
   3955 fi
   3956 
   3957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3958 
   3959 
   3960 
   3961 
   3962 
   3963 
   3964 
   3965 
   3966 
   3967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3968 		  inttypes.h stdint.h unistd.h
   3969 do
   3970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3971 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   3972 $as_echo_n "checking for $ac_header... " >&6; }
   3973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   3974   $as_echo_n "(cached) " >&6
   3975 else
   3976   cat >conftest.$ac_ext <<_ACEOF
   3977 /* confdefs.h.  */
   3978 _ACEOF
   3979 cat confdefs.h >>conftest.$ac_ext
   3980 cat >>conftest.$ac_ext <<_ACEOF
   3981 /* end confdefs.h.  */
   3982 $ac_includes_default
   3983 
   3984 #include <$ac_header>
   3985 _ACEOF
   3986 rm -f conftest.$ac_objext
   3987 if { (ac_try="$ac_compile"
   3988 case "(($ac_try" in
   3989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3990   *) ac_try_echo=$ac_try;;
   3991 esac
   3992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3993 $as_echo "$ac_try_echo") >&5
   3994   (eval "$ac_compile") 2>conftest.er1
   3995   ac_status=$?
   3996   grep -v '^ *+' conftest.er1 >conftest.err
   3997   rm -f conftest.er1
   3998   cat conftest.err >&5
   3999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4000   (exit $ac_status); } && {
   4001 	 test -z "$ac_c_werror_flag" ||
   4002 	 test ! -s conftest.err
   4003        } && test -s conftest.$ac_objext; then
   4004   eval "$as_ac_Header=yes"
   4005 else
   4006   $as_echo "$as_me: failed program was:" >&5
   4007 sed 's/^/| /' conftest.$ac_ext >&5
   4008 
   4009 	eval "$as_ac_Header=no"
   4010 fi
   4011 
   4012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4013 fi
   4014 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4015 		 $as_echo "$as_val"'`
   4016 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4017 $as_echo "$ac_res" >&6; }
   4018 as_val=`eval 'as_val=${'$as_ac_Header'}
   4019 		 $as_echo "$as_val"'`
   4020    if test "x$as_val" = x""yes; then
   4021   cat >>confdefs.h <<_ACEOF
   4022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4023 _ACEOF
   4024 
   4025 fi
   4026 
   4027 done
   4028 
   4029 
   4030 
   4031 
   4032 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4033 	if test -n "$ac_tool_prefix"; then
   4034   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4035 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4037 $as_echo_n "checking for $ac_word... " >&6; }
   4038 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4039   $as_echo_n "(cached) " >&6
   4040 else
   4041   case $PKG_CONFIG in
   4042   [\\/]* | ?:[\\/]*)
   4043   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4044   ;;
   4045   *)
   4046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4047 for as_dir in $PATH
   4048 do
   4049   IFS=$as_save_IFS
   4050   test -z "$as_dir" && as_dir=.
   4051   for ac_exec_ext in '' $ac_executable_extensions; do
   4052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4053     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4054     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4055     break 2
   4056   fi
   4057 done
   4058 done
   4059 IFS=$as_save_IFS
   4060 
   4061   ;;
   4062 esac
   4063 fi
   4064 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4065 if test -n "$PKG_CONFIG"; then
   4066   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   4067 $as_echo "$PKG_CONFIG" >&6; }
   4068 else
   4069   { $as_echo "$as_me:$LINENO: result: no" >&5
   4070 $as_echo "no" >&6; }
   4071 fi
   4072 
   4073 
   4074 fi
   4075 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4076   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4077   # Extract the first word of "pkg-config", so it can be a program name with args.
   4078 set dummy pkg-config; ac_word=$2
   4079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4080 $as_echo_n "checking for $ac_word... " >&6; }
   4081 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084   case $ac_pt_PKG_CONFIG in
   4085   [\\/]* | ?:[\\/]*)
   4086   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4087   ;;
   4088   *)
   4089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH
   4091 do
   4092   IFS=$as_save_IFS
   4093   test -z "$as_dir" && as_dir=.
   4094   for ac_exec_ext in '' $ac_executable_extensions; do
   4095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4096     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4097     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4098     break 2
   4099   fi
   4100 done
   4101 done
   4102 IFS=$as_save_IFS
   4103 
   4104   ;;
   4105 esac
   4106 fi
   4107 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4108 if test -n "$ac_pt_PKG_CONFIG"; then
   4109   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   4110 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4111 else
   4112   { $as_echo "$as_me:$LINENO: result: no" >&5
   4113 $as_echo "no" >&6; }
   4114 fi
   4115 
   4116   if test "x$ac_pt_PKG_CONFIG" = x; then
   4117     PKG_CONFIG=""
   4118   else
   4119     case $cross_compiling:$ac_tool_warned in
   4120 yes:)
   4121 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4123 ac_tool_warned=yes ;;
   4124 esac
   4125     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4126   fi
   4127 else
   4128   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4129 fi
   4130 
   4131 fi
   4132 if test -n "$PKG_CONFIG"; then
   4133 	_pkg_min_version=0.9.0
   4134 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   4135 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4136 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4137 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   4138 $as_echo "yes" >&6; }
   4139 	else
   4140 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   4141 $as_echo "no" >&6; }
   4142 		PKG_CONFIG=""
   4143 	fi
   4144 
   4145 fi
   4146 # Make sure we can run config.sub.
   4147 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4148   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4149 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4150    { (exit 1); exit 1; }; }
   4151 
   4152 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4153 $as_echo_n "checking build system type... " >&6; }
   4154 if test "${ac_cv_build+set}" = set; then
   4155   $as_echo_n "(cached) " >&6
   4156 else
   4157   ac_build_alias=$build_alias
   4158 test "x$ac_build_alias" = x &&
   4159   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4160 test "x$ac_build_alias" = x &&
   4161   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4162 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4163    { (exit 1); exit 1; }; }
   4164 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4165   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4166 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4167    { (exit 1); exit 1; }; }
   4168 
   4169 fi
   4170 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4171 $as_echo "$ac_cv_build" >&6; }
   4172 case $ac_cv_build in
   4173 *-*-*) ;;
   4174 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4175 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4176    { (exit 1); exit 1; }; };;
   4177 esac
   4178 build=$ac_cv_build
   4179 ac_save_IFS=$IFS; IFS='-'
   4180 set x $ac_cv_build
   4181 shift
   4182 build_cpu=$1
   4183 build_vendor=$2
   4184 shift; shift
   4185 # Remember, the first character of IFS is used to create $*,
   4186 # except with old shells:
   4187 build_os=$*
   4188 IFS=$ac_save_IFS
   4189 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4190 
   4191 
   4192 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4193 $as_echo_n "checking host system type... " >&6; }
   4194 if test "${ac_cv_host+set}" = set; then
   4195   $as_echo_n "(cached) " >&6
   4196 else
   4197   if test "x$host_alias" = x; then
   4198   ac_cv_host=$ac_cv_build
   4199 else
   4200   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4201     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4202 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4203    { (exit 1); exit 1; }; }
   4204 fi
   4205 
   4206 fi
   4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4208 $as_echo "$ac_cv_host" >&6; }
   4209 case $ac_cv_host in
   4210 *-*-*) ;;
   4211 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4212 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4213    { (exit 1); exit 1; }; };;
   4214 esac
   4215 host=$ac_cv_host
   4216 ac_save_IFS=$IFS; IFS='-'
   4217 set x $ac_cv_host
   4218 shift
   4219 host_cpu=$1
   4220 host_vendor=$2
   4221 shift; shift
   4222 # Remember, the first character of IFS is used to create $*,
   4223 # except with old shells:
   4224 host_os=$*
   4225 IFS=$ac_save_IFS
   4226 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4227 
   4228 
   4229 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4230 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4231 if test "${ac_cv_path_SED+set}" = set; then
   4232   $as_echo_n "(cached) " >&6
   4233 else
   4234             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4235      for ac_i in 1 2 3 4 5 6 7; do
   4236        ac_script="$ac_script$as_nl$ac_script"
   4237      done
   4238      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4239      $as_unset ac_script || ac_script=
   4240      if test -z "$SED"; then
   4241   ac_path_SED_found=false
   4242   # Loop through the user's path and test for each of PROGNAME-LIST
   4243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4244 for as_dir in $PATH
   4245 do
   4246   IFS=$as_save_IFS
   4247   test -z "$as_dir" && as_dir=.
   4248   for ac_prog in sed gsed; do
   4249     for ac_exec_ext in '' $ac_executable_extensions; do
   4250       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4251       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4252 # Check for GNU ac_path_SED and select it if it is found.
   4253   # Check for GNU $ac_path_SED
   4254 case `"$ac_path_SED" --version 2>&1` in
   4255 *GNU*)
   4256   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4257 *)
   4258   ac_count=0
   4259   $as_echo_n 0123456789 >"conftest.in"
   4260   while :
   4261   do
   4262     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4263     mv "conftest.tmp" "conftest.in"
   4264     cp "conftest.in" "conftest.nl"
   4265     $as_echo '' >> "conftest.nl"
   4266     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4267     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4268     ac_count=`expr $ac_count + 1`
   4269     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4270       # Best one so far, save it but keep looking for a better one
   4271       ac_cv_path_SED="$ac_path_SED"
   4272       ac_path_SED_max=$ac_count
   4273     fi
   4274     # 10*(2^10) chars as input seems more than enough
   4275     test $ac_count -gt 10 && break
   4276   done
   4277   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4278 esac
   4279 
   4280       $ac_path_SED_found && break 3
   4281     done
   4282   done
   4283 done
   4284 IFS=$as_save_IFS
   4285   if test -z "$ac_cv_path_SED"; then
   4286     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   4287 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   4288    { (exit 1); exit 1; }; }
   4289   fi
   4290 else
   4291   ac_cv_path_SED=$SED
   4292 fi
   4293 
   4294 fi
   4295 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   4296 $as_echo "$ac_cv_path_SED" >&6; }
   4297  SED="$ac_cv_path_SED"
   4298   rm -f conftest.sed
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 if  test "x$GCC" = xyes ; then
   4305     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4306 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4307 -Wbad-function-cast -Wformat=2"
   4308     case `$CC -dumpversion` in
   4309     3.4.* | 4.*)
   4310 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4311 	;;
   4312     esac
   4313 else
   4314     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4315 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4316 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   cat >conftest.$ac_ext <<_ACEOF
   4320 /* confdefs.h.  */
   4321 _ACEOF
   4322 cat confdefs.h >>conftest.$ac_ext
   4323 cat >>conftest.$ac_ext <<_ACEOF
   4324 /* end confdefs.h.  */
   4325 $ac_includes_default
   4326 int
   4327 main ()
   4328 {
   4329 #ifndef __SUNPRO_C
   4330   (void) __SUNPRO_C;
   4331 #endif
   4332 
   4333   ;
   4334   return 0;
   4335 }
   4336 _ACEOF
   4337 rm -f conftest.$ac_objext
   4338 if { (ac_try="$ac_compile"
   4339 case "(($ac_try" in
   4340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4341   *) ac_try_echo=$ac_try;;
   4342 esac
   4343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4344 $as_echo "$ac_try_echo") >&5
   4345   (eval "$ac_compile") 2>conftest.er1
   4346   ac_status=$?
   4347   grep -v '^ *+' conftest.er1 >conftest.err
   4348   rm -f conftest.er1
   4349   cat conftest.err >&5
   4350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4351   (exit $ac_status); } && {
   4352 	 test -z "$ac_c_werror_flag" ||
   4353 	 test ! -s conftest.err
   4354        } && test -s conftest.$ac_objext; then
   4355   ac_cv_have_decl___SUNPRO_C=yes
   4356 else
   4357   $as_echo "$as_me: failed program was:" >&5
   4358 sed 's/^/| /' conftest.$ac_ext >&5
   4359 
   4360 	ac_cv_have_decl___SUNPRO_C=no
   4361 fi
   4362 
   4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4364 fi
   4365 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4366 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4367 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4368   SUNCC="yes"
   4369 else
   4370   SUNCC="no"
   4371 fi
   4372 
   4373     if test "x$SUNCC" = "xyes"; then
   4374 	CWARNFLAGS="-v"
   4375     fi
   4376 fi
   4377 
   4378 
   4379 
   4380 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4381 
   4382 
   4383 
   4384 # Check whether --enable-strict-compilation was given.
   4385 if test "${enable_strict_compilation+set}" = set; then
   4386   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4387 else
   4388   STRICT_COMPILE=no
   4389 fi
   4390 
   4391 if test "x$STRICT_COMPILE" = "xyes"; then
   4392 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4393 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4394 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4395   $as_echo_n "(cached) " >&6
   4396 else
   4397   cat >conftest.$ac_ext <<_ACEOF
   4398 /* confdefs.h.  */
   4399 _ACEOF
   4400 cat confdefs.h >>conftest.$ac_ext
   4401 cat >>conftest.$ac_ext <<_ACEOF
   4402 /* end confdefs.h.  */
   4403 $ac_includes_default
   4404 int
   4405 main ()
   4406 {
   4407 #ifndef __SUNPRO_C
   4408   (void) __SUNPRO_C;
   4409 #endif
   4410 
   4411   ;
   4412   return 0;
   4413 }
   4414 _ACEOF
   4415 rm -f conftest.$ac_objext
   4416 if { (ac_try="$ac_compile"
   4417 case "(($ac_try" in
   4418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4419   *) ac_try_echo=$ac_try;;
   4420 esac
   4421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4422 $as_echo "$ac_try_echo") >&5
   4423   (eval "$ac_compile") 2>conftest.er1
   4424   ac_status=$?
   4425   grep -v '^ *+' conftest.er1 >conftest.err
   4426   rm -f conftest.er1
   4427   cat conftest.err >&5
   4428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4429   (exit $ac_status); } && {
   4430 	 test -z "$ac_c_werror_flag" ||
   4431 	 test ! -s conftest.err
   4432        } && test -s conftest.$ac_objext; then
   4433   ac_cv_have_decl___SUNPRO_C=yes
   4434 else
   4435   $as_echo "$as_me: failed program was:" >&5
   4436 sed 's/^/| /' conftest.$ac_ext >&5
   4437 
   4438 	ac_cv_have_decl___SUNPRO_C=no
   4439 fi
   4440 
   4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4442 fi
   4443 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4444 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4445 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4446   SUNCC="yes"
   4447 else
   4448   SUNCC="no"
   4449 fi
   4450 
   4451 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4452 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   4453 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   cat >conftest.$ac_ext <<_ACEOF
   4457 /* confdefs.h.  */
   4458 _ACEOF
   4459 cat confdefs.h >>conftest.$ac_ext
   4460 cat >>conftest.$ac_ext <<_ACEOF
   4461 /* end confdefs.h.  */
   4462 $ac_includes_default
   4463 int
   4464 main ()
   4465 {
   4466 #ifndef __INTEL_COMPILER
   4467   (void) __INTEL_COMPILER;
   4468 #endif
   4469 
   4470   ;
   4471   return 0;
   4472 }
   4473 _ACEOF
   4474 rm -f conftest.$ac_objext
   4475 if { (ac_try="$ac_compile"
   4476 case "(($ac_try" in
   4477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4478   *) ac_try_echo=$ac_try;;
   4479 esac
   4480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4481 $as_echo "$ac_try_echo") >&5
   4482   (eval "$ac_compile") 2>conftest.er1
   4483   ac_status=$?
   4484   grep -v '^ *+' conftest.er1 >conftest.err
   4485   rm -f conftest.er1
   4486   cat conftest.err >&5
   4487   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4488   (exit $ac_status); } && {
   4489 	 test -z "$ac_c_werror_flag" ||
   4490 	 test ! -s conftest.err
   4491        } && test -s conftest.$ac_objext; then
   4492   ac_cv_have_decl___INTEL_COMPILER=yes
   4493 else
   4494   $as_echo "$as_me: failed program was:" >&5
   4495 sed 's/^/| /' conftest.$ac_ext >&5
   4496 
   4497 	ac_cv_have_decl___INTEL_COMPILER=no
   4498 fi
   4499 
   4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4501 fi
   4502 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   4503 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   4504 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   4505   INTELCC="yes"
   4506 else
   4507   INTELCC="no"
   4508 fi
   4509 
   4510 	if test "x$GCC" = xyes ; then
   4511 		STRICT_CFLAGS="-pedantic -Werror"
   4512 	elif test "x$SUNCC" = "xyes"; then
   4513 		STRICT_CFLAGS="-errwarn"
   4514     elif test "x$INTELCC" = "xyes"; then
   4515 		STRICT_CFLAGS="-Werror"
   4516 	fi
   4517 fi
   4518 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4519 
   4520 
   4521 
   4522 
   4523 cat >>confdefs.h <<_ACEOF
   4524 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4525 _ACEOF
   4526 
   4527 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4528 	if test "x$PVM" = "x"; then
   4529 		PVM="0"
   4530 	fi
   4531 
   4532 cat >>confdefs.h <<_ACEOF
   4533 #define PACKAGE_VERSION_MINOR $PVM
   4534 _ACEOF
   4535 
   4536 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4537 	if test "x$PVP" = "x"; then
   4538 		PVP="0"
   4539 	fi
   4540 
   4541 cat >>confdefs.h <<_ACEOF
   4542 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4543 _ACEOF
   4544 
   4545 
   4546 
   4547 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4548 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4549 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4550 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4551 
   4552 
   4553 
   4554 
   4555 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4556 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4557 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4558 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4559 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4560 
   4561 
   4562 
   4563 
   4564 
   4565 
   4566 if test x$APP_MAN_SUFFIX = x    ; then
   4567     APP_MAN_SUFFIX=1
   4568 fi
   4569 if test x$APP_MAN_DIR = x    ; then
   4570     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4571 fi
   4572 
   4573 if test x$LIB_MAN_SUFFIX = x    ; then
   4574     LIB_MAN_SUFFIX=3
   4575 fi
   4576 if test x$LIB_MAN_DIR = x    ; then
   4577     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4578 fi
   4579 
   4580 if test x$FILE_MAN_SUFFIX = x    ; then
   4581     case $host_os in
   4582 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4583 	*)		FILE_MAN_SUFFIX=5  ;;
   4584     esac
   4585 fi
   4586 if test x$FILE_MAN_DIR = x    ; then
   4587     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4588 fi
   4589 
   4590 if test x$MISC_MAN_SUFFIX = x    ; then
   4591     case $host_os in
   4592 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4593 	*)		MISC_MAN_SUFFIX=7  ;;
   4594     esac
   4595 fi
   4596 if test x$MISC_MAN_DIR = x    ; then
   4597     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4598 fi
   4599 
   4600 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4601     case $host_os in
   4602 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4603 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4604     esac
   4605 fi
   4606 if test x$DRIVER_MAN_DIR = x    ; then
   4607     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4608 fi
   4609 
   4610 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4611     case $host_os in
   4612 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4613 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4614     esac
   4615 fi
   4616 if test x$ADMIN_MAN_DIR = x    ; then
   4617     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4618 fi
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 XORG_MAN_PAGE="X Version 11"
   4635 
   4636 MAN_SUBSTS="\
   4637 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4638 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4639 	-e 's|__xservername__|Xorg|g' \
   4640 	-e 's|__xconfigfile__|xorg.conf|g' \
   4641 	-e 's|__projectroot__|\$(prefix)|g' \
   4642 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4643 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4644 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4645 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4646 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4647 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4648 
   4649 
   4650 
   4651 # Check whether --enable-silent-rules was given.
   4652 if test "${enable_silent_rules+set}" = set; then
   4653   enableval=$enable_silent_rules;
   4654 fi
   4655 
   4656 case $enable_silent_rules in
   4657 yes) AM_DEFAULT_VERBOSITY=0;;
   4658 no)  AM_DEFAULT_VERBOSITY=1;;
   4659 *)   AM_DEFAULT_VERBOSITY=0;;
   4660 esac
   4661 AM_BACKSLASH='\'
   4662 
   4663 
   4664 
   4665 ac_aux_dir=
   4666 for ac_dir in . "$srcdir"/.; do
   4667   if test -f "$ac_dir/install-sh"; then
   4668     ac_aux_dir=$ac_dir
   4669     ac_install_sh="$ac_aux_dir/install-sh -c"
   4670     break
   4671   elif test -f "$ac_dir/install.sh"; then
   4672     ac_aux_dir=$ac_dir
   4673     ac_install_sh="$ac_aux_dir/install.sh -c"
   4674     break
   4675   elif test -f "$ac_dir/shtool"; then
   4676     ac_aux_dir=$ac_dir
   4677     ac_install_sh="$ac_aux_dir/shtool install -c"
   4678     break
   4679   fi
   4680 done
   4681 if test -z "$ac_aux_dir"; then
   4682   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   4683 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   4684    { (exit 1); exit 1; }; }
   4685 fi
   4686 
   4687 # These three variables are undocumented and unsupported,
   4688 # and are intended to be withdrawn in a future Autoconf release.
   4689 # They can cause serious problems if a builder's source tree is in a directory
   4690 # whose full name contains unusual characters.
   4691 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   4692 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   4693 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   4694 
   4695 
   4696 
   4697 am__api_version='1.11'
   4698 
   4699 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   4700 $as_echo_n "checking whether build environment is sane... " >&6; }
   4701 # Just in case
   4702 sleep 1
   4703 echo timestamp > conftest.file
   4704 # Reject unsafe characters in $srcdir or the absolute working directory
   4705 # name.  Accept space and tab only in the latter.
   4706 am_lf='
   4707 '
   4708 case `pwd` in
   4709   *[\\\"\#\$\&\'\`$am_lf]*)
   4710     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   4711 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   4712    { (exit 1); exit 1; }; };;
   4713 esac
   4714 case $srcdir in
   4715   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4716     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   4717 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   4718    { (exit 1); exit 1; }; };;
   4719 esac
   4720 
   4721 # Do `set' in a subshell so we don't clobber the current shell's
   4722 # arguments.  Must try -L first in case configure is actually a
   4723 # symlink; some systems play weird games with the mod time of symlinks
   4724 # (eg FreeBSD returns the mod time of the symlink's containing
   4725 # directory).
   4726 if (
   4727    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4728    if test "$*" = "X"; then
   4729       # -L didn't work.
   4730       set X `ls -t "$srcdir/configure" conftest.file`
   4731    fi
   4732    rm -f conftest.file
   4733    if test "$*" != "X $srcdir/configure conftest.file" \
   4734       && test "$*" != "X conftest.file $srcdir/configure"; then
   4735 
   4736       # If neither matched, then we have a broken ls.  This can happen
   4737       # if, for instance, CONFIG_SHELL is bash and it inherits a
   4738       # broken ls alias from the environment.  This has actually
   4739       # happened.  Such a system could not be considered "sane".
   4740       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   4741 alias in your environment" >&5
   4742 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   4743 alias in your environment" >&2;}
   4744    { (exit 1); exit 1; }; }
   4745    fi
   4746 
   4747    test "$2" = conftest.file
   4748    )
   4749 then
   4750    # Ok.
   4751    :
   4752 else
   4753    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   4754 Check your system clock" >&5
   4755 $as_echo "$as_me: error: newly created file is older than distributed files!
   4756 Check your system clock" >&2;}
   4757    { (exit 1); exit 1; }; }
   4758 fi
   4759 { $as_echo "$as_me:$LINENO: result: yes" >&5
   4760 $as_echo "yes" >&6; }
   4761 test "$program_prefix" != NONE &&
   4762   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4763 # Use a double $ so make ignores it.
   4764 test "$program_suffix" != NONE &&
   4765   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4766 # Double any \ or $.
   4767 # By default was `s,x,x', remove it if useless.
   4768 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4769 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4770 
   4771 # expand $ac_aux_dir to an absolute path
   4772 am_aux_dir=`cd $ac_aux_dir && pwd`
   4773 
   4774 if test x"${MISSING+set}" != xset; then
   4775   case $am_aux_dir in
   4776   *\ * | *\	*)
   4777     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4778   *)
   4779     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4780   esac
   4781 fi
   4782 # Use eval to expand $SHELL
   4783 if eval "$MISSING --run true"; then
   4784   am_missing_run="$MISSING --run "
   4785 else
   4786   am_missing_run=
   4787   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   4788 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4789 fi
   4790 
   4791 if test x"${install_sh}" != xset; then
   4792   case $am_aux_dir in
   4793   *\ * | *\	*)
   4794     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4795   *)
   4796     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4797   esac
   4798 fi
   4799 
   4800 # Installed binaries are usually stripped using `strip' when the user
   4801 # run `make install-strip'.  However `strip' might not be the right
   4802 # tool to use in cross-compilation environments, therefore Automake
   4803 # will honor the `STRIP' environment variable to overrule this program.
   4804 if test "$cross_compiling" != no; then
   4805   if test -n "$ac_tool_prefix"; then
   4806   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4807 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4809 $as_echo_n "checking for $ac_word... " >&6; }
   4810 if test "${ac_cv_prog_STRIP+set}" = set; then
   4811   $as_echo_n "(cached) " >&6
   4812 else
   4813   if test -n "$STRIP"; then
   4814   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4815 else
   4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4817 for as_dir in $PATH
   4818 do
   4819   IFS=$as_save_IFS
   4820   test -z "$as_dir" && as_dir=.
   4821   for ac_exec_ext in '' $ac_executable_extensions; do
   4822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4823     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4824     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4825     break 2
   4826   fi
   4827 done
   4828 done
   4829 IFS=$as_save_IFS
   4830 
   4831 fi
   4832 fi
   4833 STRIP=$ac_cv_prog_STRIP
   4834 if test -n "$STRIP"; then
   4835   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   4836 $as_echo "$STRIP" >&6; }
   4837 else
   4838   { $as_echo "$as_me:$LINENO: result: no" >&5
   4839 $as_echo "no" >&6; }
   4840 fi
   4841 
   4842 
   4843 fi
   4844 if test -z "$ac_cv_prog_STRIP"; then
   4845   ac_ct_STRIP=$STRIP
   4846   # Extract the first word of "strip", so it can be a program name with args.
   4847 set dummy strip; ac_word=$2
   4848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4849 $as_echo_n "checking for $ac_word... " >&6; }
   4850 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   if test -n "$ac_ct_STRIP"; then
   4854   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4855 else
   4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4857 for as_dir in $PATH
   4858 do
   4859   IFS=$as_save_IFS
   4860   test -z "$as_dir" && as_dir=.
   4861   for ac_exec_ext in '' $ac_executable_extensions; do
   4862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4863     ac_cv_prog_ac_ct_STRIP="strip"
   4864     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4865     break 2
   4866   fi
   4867 done
   4868 done
   4869 IFS=$as_save_IFS
   4870 
   4871 fi
   4872 fi
   4873 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4874 if test -n "$ac_ct_STRIP"; then
   4875   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   4876 $as_echo "$ac_ct_STRIP" >&6; }
   4877 else
   4878   { $as_echo "$as_me:$LINENO: result: no" >&5
   4879 $as_echo "no" >&6; }
   4880 fi
   4881 
   4882   if test "x$ac_ct_STRIP" = x; then
   4883     STRIP=":"
   4884   else
   4885     case $cross_compiling:$ac_tool_warned in
   4886 yes:)
   4887 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4889 ac_tool_warned=yes ;;
   4890 esac
   4891     STRIP=$ac_ct_STRIP
   4892   fi
   4893 else
   4894   STRIP="$ac_cv_prog_STRIP"
   4895 fi
   4896 
   4897 fi
   4898 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4899 
   4900 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   4901 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4902 if test -z "$MKDIR_P"; then
   4903   if test "${ac_cv_path_mkdir+set}" = set; then
   4904   $as_echo_n "(cached) " >&6
   4905 else
   4906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4907 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4908 do
   4909   IFS=$as_save_IFS
   4910   test -z "$as_dir" && as_dir=.
   4911   for ac_prog in mkdir gmkdir; do
   4912 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4913 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4914 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4915 	     'mkdir (GNU coreutils) '* | \
   4916 	     'mkdir (coreutils) '* | \
   4917 	     'mkdir (fileutils) '4.1*)
   4918 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4919 	       break 3;;
   4920 	   esac
   4921 	 done
   4922        done
   4923 done
   4924 IFS=$as_save_IFS
   4925 
   4926 fi
   4927 
   4928   if test "${ac_cv_path_mkdir+set}" = set; then
   4929     MKDIR_P="$ac_cv_path_mkdir -p"
   4930   else
   4931     # As a last resort, use the slow shell script.  Don't cache a
   4932     # value for MKDIR_P within a source directory, because that will
   4933     # break other packages using the cache if that directory is
   4934     # removed, or if the value is a relative name.
   4935     test -d ./--version && rmdir ./--version
   4936     MKDIR_P="$ac_install_sh -d"
   4937   fi
   4938 fi
   4939 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   4940 $as_echo "$MKDIR_P" >&6; }
   4941 
   4942 mkdir_p="$MKDIR_P"
   4943 case $mkdir_p in
   4944   [\\/$]* | ?:[\\/]*) ;;
   4945   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4946 esac
   4947 
   4948 for ac_prog in gawk mawk nawk awk
   4949 do
   4950   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4951 set dummy $ac_prog; ac_word=$2
   4952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4953 $as_echo_n "checking for $ac_word... " >&6; }
   4954 if test "${ac_cv_prog_AWK+set}" = set; then
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   if test -n "$AWK"; then
   4958   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4959 else
   4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4961 for as_dir in $PATH
   4962 do
   4963   IFS=$as_save_IFS
   4964   test -z "$as_dir" && as_dir=.
   4965   for ac_exec_ext in '' $ac_executable_extensions; do
   4966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4967     ac_cv_prog_AWK="$ac_prog"
   4968     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4969     break 2
   4970   fi
   4971 done
   4972 done
   4973 IFS=$as_save_IFS
   4974 
   4975 fi
   4976 fi
   4977 AWK=$ac_cv_prog_AWK
   4978 if test -n "$AWK"; then
   4979   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   4980 $as_echo "$AWK" >&6; }
   4981 else
   4982   { $as_echo "$as_me:$LINENO: result: no" >&5
   4983 $as_echo "no" >&6; }
   4984 fi
   4985 
   4986 
   4987   test -n "$AWK" && break
   4988 done
   4989 
   4990 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4991 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4992 set x ${MAKE-make}
   4993 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4994 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   4995   $as_echo_n "(cached) " >&6
   4996 else
   4997   cat >conftest.make <<\_ACEOF
   4998 SHELL = /bin/sh
   4999 all:
   5000 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5001 _ACEOF
   5002 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   5003 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5004   *@@@%%%=?*=@@@%%%*)
   5005     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5006   *)
   5007     eval ac_cv_prog_make_${ac_make}_set=no;;
   5008 esac
   5009 rm -f conftest.make
   5010 fi
   5011 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5012   { $as_echo "$as_me:$LINENO: result: yes" >&5
   5013 $as_echo "yes" >&6; }
   5014   SET_MAKE=
   5015 else
   5016   { $as_echo "$as_me:$LINENO: result: no" >&5
   5017 $as_echo "no" >&6; }
   5018   SET_MAKE="MAKE=${MAKE-make}"
   5019 fi
   5020 
   5021 rm -rf .tst 2>/dev/null
   5022 mkdir .tst 2>/dev/null
   5023 if test -d .tst; then
   5024   am__leading_dot=.
   5025 else
   5026   am__leading_dot=_
   5027 fi
   5028 rmdir .tst 2>/dev/null
   5029 
   5030 DEPDIR="${am__leading_dot}deps"
   5031 
   5032 ac_config_commands="$ac_config_commands depfiles"
   5033 
   5034 
   5035 am_make=${MAKE-make}
   5036 cat > confinc << 'END'
   5037 am__doit:
   5038 	@echo this is the am__doit target
   5039 .PHONY: am__doit
   5040 END
   5041 # If we don't find an include directive, just comment out the code.
   5042 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   5043 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   5044 am__include="#"
   5045 am__quote=
   5046 _am_result=none
   5047 # First try GNU make style include.
   5048 echo "include confinc" > confmf
   5049 # Ignore all kinds of additional output from `make'.
   5050 case `$am_make -s -f confmf 2> /dev/null` in #(
   5051 *the\ am__doit\ target*)
   5052   am__include=include
   5053   am__quote=
   5054   _am_result=GNU
   5055   ;;
   5056 esac
   5057 # Now try BSD make style include.
   5058 if test "$am__include" = "#"; then
   5059    echo '.include "confinc"' > confmf
   5060    case `$am_make -s -f confmf 2> /dev/null` in #(
   5061    *the\ am__doit\ target*)
   5062      am__include=.include
   5063      am__quote="\""
   5064      _am_result=BSD
   5065      ;;
   5066    esac
   5067 fi
   5068 
   5069 
   5070 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   5071 $as_echo "$_am_result" >&6; }
   5072 rm -f confinc confmf
   5073 
   5074 # Check whether --enable-dependency-tracking was given.
   5075 if test "${enable_dependency_tracking+set}" = set; then
   5076   enableval=$enable_dependency_tracking;
   5077 fi
   5078 
   5079 if test "x$enable_dependency_tracking" != xno; then
   5080   am_depcomp="$ac_aux_dir/depcomp"
   5081   AMDEPBACKSLASH='\'
   5082 fi
   5083  if test "x$enable_dependency_tracking" != xno; then
   5084   AMDEP_TRUE=
   5085   AMDEP_FALSE='#'
   5086 else
   5087   AMDEP_TRUE='#'
   5088   AMDEP_FALSE=
   5089 fi
   5090 
   5091 
   5092 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5093   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5094   # is not polluted with repeated "-I."
   5095   am__isrc=' -I$(srcdir)'
   5096   # test to see if srcdir already configured
   5097   if test -f $srcdir/config.status; then
   5098     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   5099 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   5100    { (exit 1); exit 1; }; }
   5101   fi
   5102 fi
   5103 
   5104 # test whether we have cygpath
   5105 if test -z "$CYGPATH_W"; then
   5106   if (cygpath --version) >/dev/null 2>/dev/null; then
   5107     CYGPATH_W='cygpath -w'
   5108   else
   5109     CYGPATH_W=echo
   5110   fi
   5111 fi
   5112 
   5113 
   5114 # Define the identity of the package.
   5115  PACKAGE='xf86-video-ati'
   5116  VERSION='6.13.1'
   5117 
   5118 
   5119 cat >>confdefs.h <<_ACEOF
   5120 #define PACKAGE "$PACKAGE"
   5121 _ACEOF
   5122 
   5123 
   5124 cat >>confdefs.h <<_ACEOF
   5125 #define VERSION "$VERSION"
   5126 _ACEOF
   5127 
   5128 # Some tools Automake needs.
   5129 
   5130 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5131 
   5132 
   5133 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5134 
   5135 
   5136 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5137 
   5138 
   5139 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5140 
   5141 
   5142 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5143 
   5144 # We need awk for the "check" target.  The system "awk" is bad on
   5145 # some platforms.
   5146 # Always define AMTAR for backward compatibility.
   5147 
   5148 AMTAR=${AMTAR-"${am_missing_run}tar"}
   5149 
   5150 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   5151 
   5152 
   5153 
   5154 
   5155 depcc="$CC"   am_compiler_list=
   5156 
   5157 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5158 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5159 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5163   # We make a subdir and do the tests there.  Otherwise we can end up
   5164   # making bogus files that we don't know about and never remove.  For
   5165   # instance it was reported that on HP-UX the gcc test will end up
   5166   # making a dummy file named `D' -- because `-MD' means `put the output
   5167   # in D'.
   5168   mkdir conftest.dir
   5169   # Copy depcomp to subdir because otherwise we won't find it if we're
   5170   # using a relative directory.
   5171   cp "$am_depcomp" conftest.dir
   5172   cd conftest.dir
   5173   # We will build objects and dependencies in a subdirectory because
   5174   # it helps to detect inapplicable dependency modes.  For instance
   5175   # both Tru64's cc and ICC support -MD to output dependencies as a
   5176   # side effect of compilation, but ICC will put the dependencies in
   5177   # the current directory while Tru64 will put them in the object
   5178   # directory.
   5179   mkdir sub
   5180 
   5181   am_cv_CC_dependencies_compiler_type=none
   5182   if test "$am_compiler_list" = ""; then
   5183      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5184   fi
   5185   am__universal=false
   5186   case " $depcc " in #(
   5187      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5188      esac
   5189 
   5190   for depmode in $am_compiler_list; do
   5191     # Setup a source with many dependencies, because some compilers
   5192     # like to wrap large dependency lists on column 80 (with \), and
   5193     # we should not choose a depcomp mode which is confused by this.
   5194     #
   5195     # We need to recreate these files for each test, as the compiler may
   5196     # overwrite some of them when testing with obscure command lines.
   5197     # This happens at least with the AIX C compiler.
   5198     : > sub/conftest.c
   5199     for i in 1 2 3 4 5 6; do
   5200       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5201       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5202       # Solaris 8's {/usr,}/bin/sh.
   5203       touch sub/conftst$i.h
   5204     done
   5205     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5206 
   5207     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5208     # mode.  It turns out that the SunPro C++ compiler does not properly
   5209     # handle `-M -o', and we need to detect this.  Also, some Intel
   5210     # versions had trouble with output in subdirs
   5211     am__obj=sub/conftest.${OBJEXT-o}
   5212     am__minus_obj="-o $am__obj"
   5213     case $depmode in
   5214     gcc)
   5215       # This depmode causes a compiler race in universal mode.
   5216       test "$am__universal" = false || continue
   5217       ;;
   5218     nosideeffect)
   5219       # after this tag, mechanisms are not by side-effect, so they'll
   5220       # only be used when explicitly requested
   5221       if test "x$enable_dependency_tracking" = xyes; then
   5222 	continue
   5223       else
   5224 	break
   5225       fi
   5226       ;;
   5227     msvisualcpp | msvcmsys)
   5228       # This compiler won't grok `-c -o', but also, the minuso test has
   5229       # not run yet.  These depmodes are late enough in the game, and
   5230       # so weak that their functioning should not be impacted.
   5231       am__obj=conftest.${OBJEXT-o}
   5232       am__minus_obj=
   5233       ;;
   5234     none) break ;;
   5235     esac
   5236     if depmode=$depmode \
   5237        source=sub/conftest.c object=$am__obj \
   5238        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5239        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5240          >/dev/null 2>conftest.err &&
   5241        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5242        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5243        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5244        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5245       # icc doesn't choke on unknown options, it will just issue warnings
   5246       # or remarks (even with -Werror).  So we grep stderr for any message
   5247       # that says an option was ignored or not supported.
   5248       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5249       #   icc: Command line warning: ignoring option '-M'; no argument required
   5250       # The diagnosis changed in icc 8.0:
   5251       #   icc: Command line remark: option '-MP' not supported
   5252       if (grep 'ignoring option' conftest.err ||
   5253           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5254         am_cv_CC_dependencies_compiler_type=$depmode
   5255         break
   5256       fi
   5257     fi
   5258   done
   5259 
   5260   cd ..
   5261   rm -rf conftest.dir
   5262 else
   5263   am_cv_CC_dependencies_compiler_type=none
   5264 fi
   5265 
   5266 fi
   5267 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   5268 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5269 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5270 
   5271  if
   5272   test "x$enable_dependency_tracking" != xno \
   5273   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5274   am__fastdepCC_TRUE=
   5275   am__fastdepCC_FALSE='#'
   5276 else
   5277   am__fastdepCC_TRUE='#'
   5278   am__fastdepCC_FALSE=
   5279 fi
   5280 
   5281 
   5282 
   5283 # Check whether --enable-largefile was given.
   5284 if test "${enable_largefile+set}" = set; then
   5285   enableval=$enable_largefile;
   5286 fi
   5287 
   5288 if test "$enable_largefile" != no; then
   5289 
   5290   { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
   5291 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   5292 if test "${ac_cv_sys_largefile_CC+set}" = set; then
   5293   $as_echo_n "(cached) " >&6
   5294 else
   5295   ac_cv_sys_largefile_CC=no
   5296      if test "$GCC" != yes; then
   5297        ac_save_CC=$CC
   5298        while :; do
   5299 	 # IRIX 6.2 and later do not support large files by default,
   5300 	 # so use the C compiler's -n32 option if that helps.
   5301 	 cat >conftest.$ac_ext <<_ACEOF
   5302 /* confdefs.h.  */
   5303 _ACEOF
   5304 cat confdefs.h >>conftest.$ac_ext
   5305 cat >>conftest.$ac_ext <<_ACEOF
   5306 /* end confdefs.h.  */
   5307 #include <sys/types.h>
   5308  /* Check that off_t can represent 2**63 - 1 correctly.
   5309     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5310     since some C++ compilers masquerading as C compilers
   5311     incorrectly reject 9223372036854775807.  */
   5312 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5313   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5314 		       && LARGE_OFF_T % 2147483647 == 1)
   5315 		      ? 1 : -1];
   5316 int
   5317 main ()
   5318 {
   5319 
   5320   ;
   5321   return 0;
   5322 }
   5323 _ACEOF
   5324 	 rm -f conftest.$ac_objext
   5325 if { (ac_try="$ac_compile"
   5326 case "(($ac_try" in
   5327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5328   *) ac_try_echo=$ac_try;;
   5329 esac
   5330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5331 $as_echo "$ac_try_echo") >&5
   5332   (eval "$ac_compile") 2>conftest.er1
   5333   ac_status=$?
   5334   grep -v '^ *+' conftest.er1 >conftest.err
   5335   rm -f conftest.er1
   5336   cat conftest.err >&5
   5337   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5338   (exit $ac_status); } && {
   5339 	 test -z "$ac_c_werror_flag" ||
   5340 	 test ! -s conftest.err
   5341        } && test -s conftest.$ac_objext; then
   5342   break
   5343 else
   5344   $as_echo "$as_me: failed program was:" >&5
   5345 sed 's/^/| /' conftest.$ac_ext >&5
   5346 
   5347 
   5348 fi
   5349 
   5350 rm -f core conftest.err conftest.$ac_objext
   5351 	 CC="$CC -n32"
   5352 	 rm -f conftest.$ac_objext
   5353 if { (ac_try="$ac_compile"
   5354 case "(($ac_try" in
   5355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5356   *) ac_try_echo=$ac_try;;
   5357 esac
   5358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5359 $as_echo "$ac_try_echo") >&5
   5360   (eval "$ac_compile") 2>conftest.er1
   5361   ac_status=$?
   5362   grep -v '^ *+' conftest.er1 >conftest.err
   5363   rm -f conftest.er1
   5364   cat conftest.err >&5
   5365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5366   (exit $ac_status); } && {
   5367 	 test -z "$ac_c_werror_flag" ||
   5368 	 test ! -s conftest.err
   5369        } && test -s conftest.$ac_objext; then
   5370   ac_cv_sys_largefile_CC=' -n32'; break
   5371 else
   5372   $as_echo "$as_me: failed program was:" >&5
   5373 sed 's/^/| /' conftest.$ac_ext >&5
   5374 
   5375 
   5376 fi
   5377 
   5378 rm -f core conftest.err conftest.$ac_objext
   5379 	 break
   5380        done
   5381        CC=$ac_save_CC
   5382        rm -f conftest.$ac_ext
   5383     fi
   5384 fi
   5385 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
   5386 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   5387   if test "$ac_cv_sys_largefile_CC" != no; then
   5388     CC=$CC$ac_cv_sys_largefile_CC
   5389   fi
   5390 
   5391   { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   5392 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   5393 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
   5394   $as_echo_n "(cached) " >&6
   5395 else
   5396   while :; do
   5397   cat >conftest.$ac_ext <<_ACEOF
   5398 /* confdefs.h.  */
   5399 _ACEOF
   5400 cat confdefs.h >>conftest.$ac_ext
   5401 cat >>conftest.$ac_ext <<_ACEOF
   5402 /* end confdefs.h.  */
   5403 #include <sys/types.h>
   5404  /* Check that off_t can represent 2**63 - 1 correctly.
   5405     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5406     since some C++ compilers masquerading as C compilers
   5407     incorrectly reject 9223372036854775807.  */
   5408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5409   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5410 		       && LARGE_OFF_T % 2147483647 == 1)
   5411 		      ? 1 : -1];
   5412 int
   5413 main ()
   5414 {
   5415 
   5416   ;
   5417   return 0;
   5418 }
   5419 _ACEOF
   5420 rm -f conftest.$ac_objext
   5421 if { (ac_try="$ac_compile"
   5422 case "(($ac_try" in
   5423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5424   *) ac_try_echo=$ac_try;;
   5425 esac
   5426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5427 $as_echo "$ac_try_echo") >&5
   5428   (eval "$ac_compile") 2>conftest.er1
   5429   ac_status=$?
   5430   grep -v '^ *+' conftest.er1 >conftest.err
   5431   rm -f conftest.er1
   5432   cat conftest.err >&5
   5433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5434   (exit $ac_status); } && {
   5435 	 test -z "$ac_c_werror_flag" ||
   5436 	 test ! -s conftest.err
   5437        } && test -s conftest.$ac_objext; then
   5438   ac_cv_sys_file_offset_bits=no; break
   5439 else
   5440   $as_echo "$as_me: failed program was:" >&5
   5441 sed 's/^/| /' conftest.$ac_ext >&5
   5442 
   5443 
   5444 fi
   5445 
   5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5447   cat >conftest.$ac_ext <<_ACEOF
   5448 /* confdefs.h.  */
   5449 _ACEOF
   5450 cat confdefs.h >>conftest.$ac_ext
   5451 cat >>conftest.$ac_ext <<_ACEOF
   5452 /* end confdefs.h.  */
   5453 #define _FILE_OFFSET_BITS 64
   5454 #include <sys/types.h>
   5455  /* Check that off_t can represent 2**63 - 1 correctly.
   5456     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5457     since some C++ compilers masquerading as C compilers
   5458     incorrectly reject 9223372036854775807.  */
   5459 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5460   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5461 		       && LARGE_OFF_T % 2147483647 == 1)
   5462 		      ? 1 : -1];
   5463 int
   5464 main ()
   5465 {
   5466 
   5467   ;
   5468   return 0;
   5469 }
   5470 _ACEOF
   5471 rm -f conftest.$ac_objext
   5472 if { (ac_try="$ac_compile"
   5473 case "(($ac_try" in
   5474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5475   *) ac_try_echo=$ac_try;;
   5476 esac
   5477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5478 $as_echo "$ac_try_echo") >&5
   5479   (eval "$ac_compile") 2>conftest.er1
   5480   ac_status=$?
   5481   grep -v '^ *+' conftest.er1 >conftest.err
   5482   rm -f conftest.er1
   5483   cat conftest.err >&5
   5484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5485   (exit $ac_status); } && {
   5486 	 test -z "$ac_c_werror_flag" ||
   5487 	 test ! -s conftest.err
   5488        } && test -s conftest.$ac_objext; then
   5489   ac_cv_sys_file_offset_bits=64; break
   5490 else
   5491   $as_echo "$as_me: failed program was:" >&5
   5492 sed 's/^/| /' conftest.$ac_ext >&5
   5493 
   5494 
   5495 fi
   5496 
   5497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5498   ac_cv_sys_file_offset_bits=unknown
   5499   break
   5500 done
   5501 fi
   5502 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
   5503 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   5504 case $ac_cv_sys_file_offset_bits in #(
   5505   no | unknown) ;;
   5506   *)
   5507 cat >>confdefs.h <<_ACEOF
   5508 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   5509 _ACEOF
   5510 ;;
   5511 esac
   5512 rm -rf conftest*
   5513   if test $ac_cv_sys_file_offset_bits = unknown; then
   5514     { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
   5515 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   5516 if test "${ac_cv_sys_large_files+set}" = set; then
   5517   $as_echo_n "(cached) " >&6
   5518 else
   5519   while :; do
   5520   cat >conftest.$ac_ext <<_ACEOF
   5521 /* confdefs.h.  */
   5522 _ACEOF
   5523 cat confdefs.h >>conftest.$ac_ext
   5524 cat >>conftest.$ac_ext <<_ACEOF
   5525 /* end confdefs.h.  */
   5526 #include <sys/types.h>
   5527  /* Check that off_t can represent 2**63 - 1 correctly.
   5528     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5529     since some C++ compilers masquerading as C compilers
   5530     incorrectly reject 9223372036854775807.  */
   5531 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5532   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5533 		       && LARGE_OFF_T % 2147483647 == 1)
   5534 		      ? 1 : -1];
   5535 int
   5536 main ()
   5537 {
   5538 
   5539   ;
   5540   return 0;
   5541 }
   5542 _ACEOF
   5543 rm -f conftest.$ac_objext
   5544 if { (ac_try="$ac_compile"
   5545 case "(($ac_try" in
   5546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5547   *) ac_try_echo=$ac_try;;
   5548 esac
   5549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5550 $as_echo "$ac_try_echo") >&5
   5551   (eval "$ac_compile") 2>conftest.er1
   5552   ac_status=$?
   5553   grep -v '^ *+' conftest.er1 >conftest.err
   5554   rm -f conftest.er1
   5555   cat conftest.err >&5
   5556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5557   (exit $ac_status); } && {
   5558 	 test -z "$ac_c_werror_flag" ||
   5559 	 test ! -s conftest.err
   5560        } && test -s conftest.$ac_objext; then
   5561   ac_cv_sys_large_files=no; break
   5562 else
   5563   $as_echo "$as_me: failed program was:" >&5
   5564 sed 's/^/| /' conftest.$ac_ext >&5
   5565 
   5566 
   5567 fi
   5568 
   5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5570   cat >conftest.$ac_ext <<_ACEOF
   5571 /* confdefs.h.  */
   5572 _ACEOF
   5573 cat confdefs.h >>conftest.$ac_ext
   5574 cat >>conftest.$ac_ext <<_ACEOF
   5575 /* end confdefs.h.  */
   5576 #define _LARGE_FILES 1
   5577 #include <sys/types.h>
   5578  /* Check that off_t can represent 2**63 - 1 correctly.
   5579     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5580     since some C++ compilers masquerading as C compilers
   5581     incorrectly reject 9223372036854775807.  */
   5582 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5583   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5584 		       && LARGE_OFF_T % 2147483647 == 1)
   5585 		      ? 1 : -1];
   5586 int
   5587 main ()
   5588 {
   5589 
   5590   ;
   5591   return 0;
   5592 }
   5593 _ACEOF
   5594 rm -f conftest.$ac_objext
   5595 if { (ac_try="$ac_compile"
   5596 case "(($ac_try" in
   5597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5598   *) ac_try_echo=$ac_try;;
   5599 esac
   5600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5601 $as_echo "$ac_try_echo") >&5
   5602   (eval "$ac_compile") 2>conftest.er1
   5603   ac_status=$?
   5604   grep -v '^ *+' conftest.er1 >conftest.err
   5605   rm -f conftest.er1
   5606   cat conftest.err >&5
   5607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5608   (exit $ac_status); } && {
   5609 	 test -z "$ac_c_werror_flag" ||
   5610 	 test ! -s conftest.err
   5611        } && test -s conftest.$ac_objext; then
   5612   ac_cv_sys_large_files=1; break
   5613 else
   5614   $as_echo "$as_me: failed program was:" >&5
   5615 sed 's/^/| /' conftest.$ac_ext >&5
   5616 
   5617 
   5618 fi
   5619 
   5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5621   ac_cv_sys_large_files=unknown
   5622   break
   5623 done
   5624 fi
   5625 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
   5626 $as_echo "$ac_cv_sys_large_files" >&6; }
   5627 case $ac_cv_sys_large_files in #(
   5628   no | unknown) ;;
   5629   *)
   5630 cat >>confdefs.h <<_ACEOF
   5631 #define _LARGE_FILES $ac_cv_sys_large_files
   5632 _ACEOF
   5633 ;;
   5634 esac
   5635 rm -rf conftest*
   5636   fi
   5637 fi
   5638 
   5639 
   5640 
   5641 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   5642 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   5643     # Check whether --enable-maintainer-mode was given.
   5644 if test "${enable_maintainer_mode+set}" = set; then
   5645   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   5646 else
   5647   USE_MAINTAINER_MODE=no
   5648 fi
   5649 
   5650   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   5651 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   5652    if test $USE_MAINTAINER_MODE = yes; then
   5653   MAINTAINER_MODE_TRUE=
   5654   MAINTAINER_MODE_FALSE='#'
   5655 else
   5656   MAINTAINER_MODE_TRUE='#'
   5657   MAINTAINER_MODE_FALSE=
   5658 fi
   5659 
   5660   MAINT=$MAINTAINER_MODE_TRUE
   5661 
   5662 
   5663 
   5664 # Checks for programs.
   5665 # Check whether --enable-static was given.
   5666 if test "${enable_static+set}" = set; then
   5667   enableval=$enable_static; p=${PACKAGE-default}
   5668     case $enableval in
   5669     yes) enable_static=yes ;;
   5670     no) enable_static=no ;;
   5671     *)
   5672      enable_static=no
   5673       # Look at the argument we got.  We use all the common list separators.
   5674       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5675       for pkg in $enableval; do
   5676 	IFS="$lt_save_ifs"
   5677 	if test "X$pkg" = "X$p"; then
   5678 	  enable_static=yes
   5679 	fi
   5680       done
   5681       IFS="$lt_save_ifs"
   5682       ;;
   5683     esac
   5684 else
   5685   enable_static=no
   5686 fi
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 case `pwd` in
   5697   *\ * | *\	*)
   5698     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5699 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5700 esac
   5701 
   5702 
   5703 
   5704 macro_version='2.2.6b'
   5705 macro_revision='1.3017'
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 ltmain="$ac_aux_dir/ltmain.sh"
   5720 
   5721 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5722 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5723 if test "${ac_cv_path_SED+set}" = set; then
   5724   $as_echo_n "(cached) " >&6
   5725 else
   5726             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5727      for ac_i in 1 2 3 4 5 6 7; do
   5728        ac_script="$ac_script$as_nl$ac_script"
   5729      done
   5730      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5731      $as_unset ac_script || ac_script=
   5732      if test -z "$SED"; then
   5733   ac_path_SED_found=false
   5734   # Loop through the user's path and test for each of PROGNAME-LIST
   5735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5736 for as_dir in $PATH
   5737 do
   5738   IFS=$as_save_IFS
   5739   test -z "$as_dir" && as_dir=.
   5740   for ac_prog in sed gsed; do
   5741     for ac_exec_ext in '' $ac_executable_extensions; do
   5742       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5743       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5744 # Check for GNU ac_path_SED and select it if it is found.
   5745   # Check for GNU $ac_path_SED
   5746 case `"$ac_path_SED" --version 2>&1` in
   5747 *GNU*)
   5748   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5749 *)
   5750   ac_count=0
   5751   $as_echo_n 0123456789 >"conftest.in"
   5752   while :
   5753   do
   5754     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5755     mv "conftest.tmp" "conftest.in"
   5756     cp "conftest.in" "conftest.nl"
   5757     $as_echo '' >> "conftest.nl"
   5758     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5759     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5760     ac_count=`expr $ac_count + 1`
   5761     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5762       # Best one so far, save it but keep looking for a better one
   5763       ac_cv_path_SED="$ac_path_SED"
   5764       ac_path_SED_max=$ac_count
   5765     fi
   5766     # 10*(2^10) chars as input seems more than enough
   5767     test $ac_count -gt 10 && break
   5768   done
   5769   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5770 esac
   5771 
   5772       $ac_path_SED_found && break 3
   5773     done
   5774   done
   5775 done
   5776 IFS=$as_save_IFS
   5777   if test -z "$ac_cv_path_SED"; then
   5778     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   5779 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   5780    { (exit 1); exit 1; }; }
   5781   fi
   5782 else
   5783   ac_cv_path_SED=$SED
   5784 fi
   5785 
   5786 fi
   5787 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   5788 $as_echo "$ac_cv_path_SED" >&6; }
   5789  SED="$ac_cv_path_SED"
   5790   rm -f conftest.sed
   5791 
   5792 test -z "$SED" && SED=sed
   5793 Xsed="$SED -e 1s/^X//"
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   5806 $as_echo_n "checking for fgrep... " >&6; }
   5807 if test "${ac_cv_path_FGREP+set}" = set; then
   5808   $as_echo_n "(cached) " >&6
   5809 else
   5810   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5811    then ac_cv_path_FGREP="$GREP -F"
   5812    else
   5813      if test -z "$FGREP"; then
   5814   ac_path_FGREP_found=false
   5815   # Loop through the user's path and test for each of PROGNAME-LIST
   5816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5817 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5818 do
   5819   IFS=$as_save_IFS
   5820   test -z "$as_dir" && as_dir=.
   5821   for ac_prog in fgrep; do
   5822     for ac_exec_ext in '' $ac_executable_extensions; do
   5823       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5824       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5825 # Check for GNU ac_path_FGREP and select it if it is found.
   5826   # Check for GNU $ac_path_FGREP
   5827 case `"$ac_path_FGREP" --version 2>&1` in
   5828 *GNU*)
   5829   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5830 *)
   5831   ac_count=0
   5832   $as_echo_n 0123456789 >"conftest.in"
   5833   while :
   5834   do
   5835     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5836     mv "conftest.tmp" "conftest.in"
   5837     cp "conftest.in" "conftest.nl"
   5838     $as_echo 'FGREP' >> "conftest.nl"
   5839     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5840     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5841     ac_count=`expr $ac_count + 1`
   5842     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5843       # Best one so far, save it but keep looking for a better one
   5844       ac_cv_path_FGREP="$ac_path_FGREP"
   5845       ac_path_FGREP_max=$ac_count
   5846     fi
   5847     # 10*(2^10) chars as input seems more than enough
   5848     test $ac_count -gt 10 && break
   5849   done
   5850   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5851 esac
   5852 
   5853       $ac_path_FGREP_found && break 3
   5854     done
   5855   done
   5856 done
   5857 IFS=$as_save_IFS
   5858   if test -z "$ac_cv_path_FGREP"; then
   5859     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   5860 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   5861    { (exit 1); exit 1; }; }
   5862   fi
   5863 else
   5864   ac_cv_path_FGREP=$FGREP
   5865 fi
   5866 
   5867    fi
   5868 fi
   5869 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   5870 $as_echo "$ac_cv_path_FGREP" >&6; }
   5871  FGREP="$ac_cv_path_FGREP"
   5872 
   5873 
   5874 test -z "$GREP" && GREP=grep
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 # Check whether --with-gnu-ld was given.
   5895 if test "${with_gnu_ld+set}" = set; then
   5896   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5897 else
   5898   with_gnu_ld=no
   5899 fi
   5900 
   5901 ac_prog=ld
   5902 if test "$GCC" = yes; then
   5903   # Check if gcc -print-prog-name=ld gives a path.
   5904   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5905 $as_echo_n "checking for ld used by $CC... " >&6; }
   5906   case $host in
   5907   *-*-mingw*)
   5908     # gcc leaves a trailing carriage return which upsets mingw
   5909     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5910   *)
   5911     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5912   esac
   5913   case $ac_prog in
   5914     # Accept absolute paths.
   5915     [\\/]* | ?:[\\/]*)
   5916       re_direlt='/[^/][^/]*/\.\./'
   5917       # Canonicalize the pathname of ld
   5918       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5919       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5920 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5921       done
   5922       test -z "$LD" && LD="$ac_prog"
   5923       ;;
   5924   "")
   5925     # If it fails, then pretend we aren't using GCC.
   5926     ac_prog=ld
   5927     ;;
   5928   *)
   5929     # If it is relative, then search for the first ld in PATH.
   5930     with_gnu_ld=unknown
   5931     ;;
   5932   esac
   5933 elif test "$with_gnu_ld" = yes; then
   5934   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   5935 $as_echo_n "checking for GNU ld... " >&6; }
   5936 else
   5937   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5938 $as_echo_n "checking for non-GNU ld... " >&6; }
   5939 fi
   5940 if test "${lt_cv_path_LD+set}" = set; then
   5941   $as_echo_n "(cached) " >&6
   5942 else
   5943   if test -z "$LD"; then
   5944   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5945   for ac_dir in $PATH; do
   5946     IFS="$lt_save_ifs"
   5947     test -z "$ac_dir" && ac_dir=.
   5948     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5949       lt_cv_path_LD="$ac_dir/$ac_prog"
   5950       # Check to see if the program is GNU ld.  I'd rather use --version,
   5951       # but apparently some variants of GNU ld only accept -v.
   5952       # Break only if it was the GNU/non-GNU ld that we prefer.
   5953       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5954       *GNU* | *'with BFD'*)
   5955 	test "$with_gnu_ld" != no && break
   5956 	;;
   5957       *)
   5958 	test "$with_gnu_ld" != yes && break
   5959 	;;
   5960       esac
   5961     fi
   5962   done
   5963   IFS="$lt_save_ifs"
   5964 else
   5965   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5966 fi
   5967 fi
   5968 
   5969 LD="$lt_cv_path_LD"
   5970 if test -n "$LD"; then
   5971   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   5972 $as_echo "$LD" >&6; }
   5973 else
   5974   { $as_echo "$as_me:$LINENO: result: no" >&5
   5975 $as_echo "no" >&6; }
   5976 fi
   5977 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5978 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5979    { (exit 1); exit 1; }; }
   5980 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5981 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5982 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5983   $as_echo_n "(cached) " >&6
   5984 else
   5985   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5986 case `$LD -v 2>&1 </dev/null` in
   5987 *GNU* | *'with BFD'*)
   5988   lt_cv_prog_gnu_ld=yes
   5989   ;;
   5990 *)
   5991   lt_cv_prog_gnu_ld=no
   5992   ;;
   5993 esac
   5994 fi
   5995 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5996 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5997 with_gnu_ld=$lt_cv_prog_gnu_ld
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   6008 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6009 if test "${lt_cv_path_NM+set}" = set; then
   6010   $as_echo_n "(cached) " >&6
   6011 else
   6012   if test -n "$NM"; then
   6013   # Let the user override the test.
   6014   lt_cv_path_NM="$NM"
   6015 else
   6016   lt_nm_to_check="${ac_tool_prefix}nm"
   6017   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6018     lt_nm_to_check="$lt_nm_to_check nm"
   6019   fi
   6020   for lt_tmp_nm in $lt_nm_to_check; do
   6021     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6022     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6023       IFS="$lt_save_ifs"
   6024       test -z "$ac_dir" && ac_dir=.
   6025       tmp_nm="$ac_dir/$lt_tmp_nm"
   6026       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6027 	# Check to see if the nm accepts a BSD-compat flag.
   6028 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6029 	#   nm: unknown option "B" ignored
   6030 	# Tru64's nm complains that /dev/null is an invalid object file
   6031 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6032 	*/dev/null* | *'Invalid file or object type'*)
   6033 	  lt_cv_path_NM="$tmp_nm -B"
   6034 	  break
   6035 	  ;;
   6036 	*)
   6037 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6038 	  */dev/null*)
   6039 	    lt_cv_path_NM="$tmp_nm -p"
   6040 	    break
   6041 	    ;;
   6042 	  *)
   6043 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6044 	    continue # so that we can try to find one that supports BSD flags
   6045 	    ;;
   6046 	  esac
   6047 	  ;;
   6048 	esac
   6049       fi
   6050     done
   6051     IFS="$lt_save_ifs"
   6052   done
   6053   : ${lt_cv_path_NM=no}
   6054 fi
   6055 fi
   6056 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   6057 $as_echo "$lt_cv_path_NM" >&6; }
   6058 if test "$lt_cv_path_NM" != "no"; then
   6059   NM="$lt_cv_path_NM"
   6060 else
   6061   # Didn't find any BSD compatible name lister, look for dumpbin.
   6062   if test -n "$ac_tool_prefix"; then
   6063   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   6064   do
   6065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6067 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6068 $as_echo_n "checking for $ac_word... " >&6; }
   6069 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   if test -n "$DUMPBIN"; then
   6073   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6074 else
   6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6076 for as_dir in $PATH
   6077 do
   6078   IFS=$as_save_IFS
   6079   test -z "$as_dir" && as_dir=.
   6080   for ac_exec_ext in '' $ac_executable_extensions; do
   6081   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6082     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6083     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6084     break 2
   6085   fi
   6086 done
   6087 done
   6088 IFS=$as_save_IFS
   6089 
   6090 fi
   6091 fi
   6092 DUMPBIN=$ac_cv_prog_DUMPBIN
   6093 if test -n "$DUMPBIN"; then
   6094   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   6095 $as_echo "$DUMPBIN" >&6; }
   6096 else
   6097   { $as_echo "$as_me:$LINENO: result: no" >&5
   6098 $as_echo "no" >&6; }
   6099 fi
   6100 
   6101 
   6102     test -n "$DUMPBIN" && break
   6103   done
   6104 fi
   6105 if test -z "$DUMPBIN"; then
   6106   ac_ct_DUMPBIN=$DUMPBIN
   6107   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   6108 do
   6109   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6110 set dummy $ac_prog; ac_word=$2
   6111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6112 $as_echo_n "checking for $ac_word... " >&6; }
   6113 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   6114   $as_echo_n "(cached) " >&6
   6115 else
   6116   if test -n "$ac_ct_DUMPBIN"; then
   6117   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6118 else
   6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6120 for as_dir in $PATH
   6121 do
   6122   IFS=$as_save_IFS
   6123   test -z "$as_dir" && as_dir=.
   6124   for ac_exec_ext in '' $ac_executable_extensions; do
   6125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6126     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6127     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6128     break 2
   6129   fi
   6130 done
   6131 done
   6132 IFS=$as_save_IFS
   6133 
   6134 fi
   6135 fi
   6136 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6137 if test -n "$ac_ct_DUMPBIN"; then
   6138   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   6139 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6140 else
   6141   { $as_echo "$as_me:$LINENO: result: no" >&5
   6142 $as_echo "no" >&6; }
   6143 fi
   6144 
   6145 
   6146   test -n "$ac_ct_DUMPBIN" && break
   6147 done
   6148 
   6149   if test "x$ac_ct_DUMPBIN" = x; then
   6150     DUMPBIN=":"
   6151   else
   6152     case $cross_compiling:$ac_tool_warned in
   6153 yes:)
   6154 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6156 ac_tool_warned=yes ;;
   6157 esac
   6158     DUMPBIN=$ac_ct_DUMPBIN
   6159   fi
   6160 fi
   6161 
   6162 
   6163   if test "$DUMPBIN" != ":"; then
   6164     NM="$DUMPBIN"
   6165   fi
   6166 fi
   6167 test -z "$NM" && NM=nm
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   6175 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6176 if test "${lt_cv_nm_interface+set}" = set; then
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   lt_cv_nm_interface="BSD nm"
   6180   echo "int some_variable = 0;" > conftest.$ac_ext
   6181   (eval echo "\"\$as_me:6181: $ac_compile\"" >&5)
   6182   (eval "$ac_compile" 2>conftest.err)
   6183   cat conftest.err >&5
   6184   (eval echo "\"\$as_me:6184: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6185   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6186   cat conftest.err >&5
   6187   (eval echo "\"\$as_me:6187: output\"" >&5)
   6188   cat conftest.out >&5
   6189   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6190     lt_cv_nm_interface="MS dumpbin"
   6191   fi
   6192   rm -f conftest*
   6193 fi
   6194 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   6195 $as_echo "$lt_cv_nm_interface" >&6; }
   6196 
   6197 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   6198 $as_echo_n "checking whether ln -s works... " >&6; }
   6199 LN_S=$as_ln_s
   6200 if test "$LN_S" = "ln -s"; then
   6201   { $as_echo "$as_me:$LINENO: result: yes" >&5
   6202 $as_echo "yes" >&6; }
   6203 else
   6204   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   6205 $as_echo "no, using $LN_S" >&6; }
   6206 fi
   6207 
   6208 # find the maximum length of command line arguments
   6209 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6210 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6211 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214     i=0
   6215   teststring="ABCD"
   6216 
   6217   case $build_os in
   6218   msdosdjgpp*)
   6219     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6220     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6221     # during glob expansion).  Even if it were fixed, the result of this
   6222     # check would be larger than it should be.
   6223     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6224     ;;
   6225 
   6226   gnu*)
   6227     # Under GNU Hurd, this test is not required because there is
   6228     # no limit to the length of command line arguments.
   6229     # Libtool will interpret -1 as no limit whatsoever
   6230     lt_cv_sys_max_cmd_len=-1;
   6231     ;;
   6232 
   6233   cygwin* | mingw* | cegcc*)
   6234     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6235     # about 5 minutes as the teststring grows exponentially.
   6236     # Worse, since 9x/ME are not pre-emptively multitasking,
   6237     # you end up with a "frozen" computer, even though with patience
   6238     # the test eventually succeeds (with a max line length of 256k).
   6239     # Instead, let's just punt: use the minimum linelength reported by
   6240     # all of the supported platforms: 8192 (on NT/2K/XP).
   6241     lt_cv_sys_max_cmd_len=8192;
   6242     ;;
   6243 
   6244   amigaos*)
   6245     # On AmigaOS with pdksh, this test takes hours, literally.
   6246     # So we just punt and use a minimum line length of 8192.
   6247     lt_cv_sys_max_cmd_len=8192;
   6248     ;;
   6249 
   6250   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6251     # This has been around since 386BSD, at least.  Likely further.
   6252     if test -x /sbin/sysctl; then
   6253       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6254     elif test -x /usr/sbin/sysctl; then
   6255       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6256     else
   6257       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6258     fi
   6259     # And add a safety zone
   6260     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6261     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6262     ;;
   6263 
   6264   interix*)
   6265     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6266     lt_cv_sys_max_cmd_len=196608
   6267     ;;
   6268 
   6269   osf*)
   6270     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6271     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6272     # nice to cause kernel panics so lets avoid the loop below.
   6273     # First set a reasonable default.
   6274     lt_cv_sys_max_cmd_len=16384
   6275     #
   6276     if test -x /sbin/sysconfig; then
   6277       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6278         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6279       esac
   6280     fi
   6281     ;;
   6282   sco3.2v5*)
   6283     lt_cv_sys_max_cmd_len=102400
   6284     ;;
   6285   sysv5* | sco5v6* | sysv4.2uw2*)
   6286     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6287     if test -n "$kargmax"; then
   6288       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6289     else
   6290       lt_cv_sys_max_cmd_len=32768
   6291     fi
   6292     ;;
   6293   *)
   6294     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6295     if test -n "$lt_cv_sys_max_cmd_len"; then
   6296       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6297       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6298     else
   6299       # Make teststring a little bigger before we do anything with it.
   6300       # a 1K string should be a reasonable start.
   6301       for i in 1 2 3 4 5 6 7 8 ; do
   6302         teststring=$teststring$teststring
   6303       done
   6304       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6305       # If test is not a shell built-in, we'll probably end up computing a
   6306       # maximum length that is only half of the actual maximum length, but
   6307       # we can't tell.
   6308       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   6309 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   6310 	      test $i != 17 # 1/2 MB should be enough
   6311       do
   6312         i=`expr $i + 1`
   6313         teststring=$teststring$teststring
   6314       done
   6315       # Only check the string length outside the loop.
   6316       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6317       teststring=
   6318       # Add a significant safety factor because C++ compilers can tack on
   6319       # massive amounts of additional arguments before passing them to the
   6320       # linker.  It appears as though 1/2 is a usable value.
   6321       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6322     fi
   6323     ;;
   6324   esac
   6325 
   6326 fi
   6327 
   6328 if test -n $lt_cv_sys_max_cmd_len ; then
   6329   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6330 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6331 else
   6332   { $as_echo "$as_me:$LINENO: result: none" >&5
   6333 $as_echo "none" >&6; }
   6334 fi
   6335 max_cmd_len=$lt_cv_sys_max_cmd_len
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 : ${CP="cp -f"}
   6343 : ${MV="mv -f"}
   6344 : ${RM="rm -f"}
   6345 
   6346 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   6347 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6348 # Try some XSI features
   6349 xsi_shell=no
   6350 ( _lt_dummy="a/b/c"
   6351   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6352       = c,a/b,, \
   6353     && eval 'test $(( 1 + 1 )) -eq 2 \
   6354     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6355   && xsi_shell=yes
   6356 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   6357 $as_echo "$xsi_shell" >&6; }
   6358 
   6359 
   6360 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   6361 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6362 lt_shell_append=no
   6363 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6364     >/dev/null 2>&1 \
   6365   && lt_shell_append=yes
   6366 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   6367 $as_echo "$lt_shell_append" >&6; }
   6368 
   6369 
   6370 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6371   lt_unset=unset
   6372 else
   6373   lt_unset=false
   6374 fi
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 # test EBCDIC or ASCII
   6381 case `echo X|tr X '\101'` in
   6382  A) # ASCII based system
   6383     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6384   lt_SP2NL='tr \040 \012'
   6385   lt_NL2SP='tr \015\012 \040\040'
   6386   ;;
   6387  *) # EBCDIC based system
   6388   lt_SP2NL='tr \100 \n'
   6389   lt_NL2SP='tr \r\n \100\100'
   6390   ;;
   6391 esac
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   6402 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6403 if test "${lt_cv_ld_reload_flag+set}" = set; then
   6404   $as_echo_n "(cached) " >&6
   6405 else
   6406   lt_cv_ld_reload_flag='-r'
   6407 fi
   6408 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   6409 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6410 reload_flag=$lt_cv_ld_reload_flag
   6411 case $reload_flag in
   6412 "" | " "*) ;;
   6413 *) reload_flag=" $reload_flag" ;;
   6414 esac
   6415 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6416 case $host_os in
   6417   darwin*)
   6418     if test "$GCC" = yes; then
   6419       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6420     else
   6421       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6422     fi
   6423     ;;
   6424 esac
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 if test -n "$ac_tool_prefix"; then
   6435   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6436 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6438 $as_echo_n "checking for $ac_word... " >&6; }
   6439 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   if test -n "$OBJDUMP"; then
   6443   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6444 else
   6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6446 for as_dir in $PATH
   6447 do
   6448   IFS=$as_save_IFS
   6449   test -z "$as_dir" && as_dir=.
   6450   for ac_exec_ext in '' $ac_executable_extensions; do
   6451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6452     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6453     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6454     break 2
   6455   fi
   6456 done
   6457 done
   6458 IFS=$as_save_IFS
   6459 
   6460 fi
   6461 fi
   6462 OBJDUMP=$ac_cv_prog_OBJDUMP
   6463 if test -n "$OBJDUMP"; then
   6464   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   6465 $as_echo "$OBJDUMP" >&6; }
   6466 else
   6467   { $as_echo "$as_me:$LINENO: result: no" >&5
   6468 $as_echo "no" >&6; }
   6469 fi
   6470 
   6471 
   6472 fi
   6473 if test -z "$ac_cv_prog_OBJDUMP"; then
   6474   ac_ct_OBJDUMP=$OBJDUMP
   6475   # Extract the first word of "objdump", so it can be a program name with args.
   6476 set dummy objdump; ac_word=$2
   6477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6478 $as_echo_n "checking for $ac_word... " >&6; }
   6479 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   if test -n "$ac_ct_OBJDUMP"; then
   6483   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6484 else
   6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6486 for as_dir in $PATH
   6487 do
   6488   IFS=$as_save_IFS
   6489   test -z "$as_dir" && as_dir=.
   6490   for ac_exec_ext in '' $ac_executable_extensions; do
   6491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6492     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6493     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6494     break 2
   6495   fi
   6496 done
   6497 done
   6498 IFS=$as_save_IFS
   6499 
   6500 fi
   6501 fi
   6502 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6503 if test -n "$ac_ct_OBJDUMP"; then
   6504   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   6505 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6506 else
   6507   { $as_echo "$as_me:$LINENO: result: no" >&5
   6508 $as_echo "no" >&6; }
   6509 fi
   6510 
   6511   if test "x$ac_ct_OBJDUMP" = x; then
   6512     OBJDUMP="false"
   6513   else
   6514     case $cross_compiling:$ac_tool_warned in
   6515 yes:)
   6516 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6518 ac_tool_warned=yes ;;
   6519 esac
   6520     OBJDUMP=$ac_ct_OBJDUMP
   6521   fi
   6522 else
   6523   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6524 fi
   6525 
   6526 test -z "$OBJDUMP" && OBJDUMP=objdump
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   6537 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6538 if test "${lt_cv_deplibs_check_method+set}" = set; then
   6539   $as_echo_n "(cached) " >&6
   6540 else
   6541   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6542 lt_cv_file_magic_test_file=
   6543 lt_cv_deplibs_check_method='unknown'
   6544 # Need to set the preceding variable on all platforms that support
   6545 # interlibrary dependencies.
   6546 # 'none' -- dependencies not supported.
   6547 # `unknown' -- same as none, but documents that we really don't know.
   6548 # 'pass_all' -- all dependencies passed with no checks.
   6549 # 'test_compile' -- check by making test program.
   6550 # 'file_magic [[regex]]' -- check by looking for files in library path
   6551 # which responds to the $file_magic_cmd with a given extended regex.
   6552 # If you have `file' or equivalent on your system and you're not sure
   6553 # whether `pass_all' will *always* work, you probably want this one.
   6554 
   6555 case $host_os in
   6556 aix[4-9]*)
   6557   lt_cv_deplibs_check_method=pass_all
   6558   ;;
   6559 
   6560 beos*)
   6561   lt_cv_deplibs_check_method=pass_all
   6562   ;;
   6563 
   6564 bsdi[45]*)
   6565   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6566   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6567   lt_cv_file_magic_test_file=/shlib/libc.so
   6568   ;;
   6569 
   6570 cygwin*)
   6571   # func_win32_libid is a shell function defined in ltmain.sh
   6572   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6573   lt_cv_file_magic_cmd='func_win32_libid'
   6574   ;;
   6575 
   6576 mingw* | pw32*)
   6577   # Base MSYS/MinGW do not provide the 'file' command needed by
   6578   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6579   # unless we find 'file', for example because we are cross-compiling.
   6580   if ( file / ) >/dev/null 2>&1; then
   6581     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6582     lt_cv_file_magic_cmd='func_win32_libid'
   6583   else
   6584     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6585     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6586   fi
   6587   ;;
   6588 
   6589 cegcc)
   6590   # use the weaker test based on 'objdump'. See mingw*.
   6591   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6592   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6593   ;;
   6594 
   6595 darwin* | rhapsody*)
   6596   lt_cv_deplibs_check_method=pass_all
   6597   ;;
   6598 
   6599 freebsd* | dragonfly*)
   6600   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6601     case $host_cpu in
   6602     i*86 )
   6603       # Not sure whether the presence of OpenBSD here was a mistake.
   6604       # Let's accept both of them until this is cleared up.
   6605       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6606       lt_cv_file_magic_cmd=/usr/bin/file
   6607       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6608       ;;
   6609     esac
   6610   else
   6611     lt_cv_deplibs_check_method=pass_all
   6612   fi
   6613   ;;
   6614 
   6615 gnu*)
   6616   lt_cv_deplibs_check_method=pass_all
   6617   ;;
   6618 
   6619 hpux10.20* | hpux11*)
   6620   lt_cv_file_magic_cmd=/usr/bin/file
   6621   case $host_cpu in
   6622   ia64*)
   6623     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6624     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6625     ;;
   6626   hppa*64*)
   6627     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]'
   6628     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6629     ;;
   6630   *)
   6631     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6632     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6633     ;;
   6634   esac
   6635   ;;
   6636 
   6637 interix[3-9]*)
   6638   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6639   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6640   ;;
   6641 
   6642 irix5* | irix6* | nonstopux*)
   6643   case $LD in
   6644   *-32|*"-32 ") libmagic=32-bit;;
   6645   *-n32|*"-n32 ") libmagic=N32;;
   6646   *-64|*"-64 ") libmagic=64-bit;;
   6647   *) libmagic=never-match;;
   6648   esac
   6649   lt_cv_deplibs_check_method=pass_all
   6650   ;;
   6651 
   6652 # This must be Linux ELF.
   6653 linux* | k*bsd*-gnu)
   6654   lt_cv_deplibs_check_method=pass_all
   6655   ;;
   6656 
   6657 netbsd*)
   6658   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6659     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6660   else
   6661     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6662   fi
   6663   ;;
   6664 
   6665 newos6*)
   6666   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6667   lt_cv_file_magic_cmd=/usr/bin/file
   6668   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6669   ;;
   6670 
   6671 *nto* | *qnx*)
   6672   lt_cv_deplibs_check_method=pass_all
   6673   ;;
   6674 
   6675 openbsd*)
   6676   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6677     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6678   else
   6679     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6680   fi
   6681   ;;
   6682 
   6683 osf3* | osf4* | osf5*)
   6684   lt_cv_deplibs_check_method=pass_all
   6685   ;;
   6686 
   6687 rdos*)
   6688   lt_cv_deplibs_check_method=pass_all
   6689   ;;
   6690 
   6691 solaris*)
   6692   lt_cv_deplibs_check_method=pass_all
   6693   ;;
   6694 
   6695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6696   lt_cv_deplibs_check_method=pass_all
   6697   ;;
   6698 
   6699 sysv4 | sysv4.3*)
   6700   case $host_vendor in
   6701   motorola)
   6702     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]'
   6703     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6704     ;;
   6705   ncr)
   6706     lt_cv_deplibs_check_method=pass_all
   6707     ;;
   6708   sequent)
   6709     lt_cv_file_magic_cmd='/bin/file'
   6710     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6711     ;;
   6712   sni)
   6713     lt_cv_file_magic_cmd='/bin/file'
   6714     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6715     lt_cv_file_magic_test_file=/lib/libc.so
   6716     ;;
   6717   siemens)
   6718     lt_cv_deplibs_check_method=pass_all
   6719     ;;
   6720   pc)
   6721     lt_cv_deplibs_check_method=pass_all
   6722     ;;
   6723   esac
   6724   ;;
   6725 
   6726 tpf*)
   6727   lt_cv_deplibs_check_method=pass_all
   6728   ;;
   6729 esac
   6730 
   6731 fi
   6732 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   6733 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6734 file_magic_cmd=$lt_cv_file_magic_cmd
   6735 deplibs_check_method=$lt_cv_deplibs_check_method
   6736 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 if test -n "$ac_tool_prefix"; then
   6750   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6751 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6753 $as_echo_n "checking for $ac_word... " >&6; }
   6754 if test "${ac_cv_prog_AR+set}" = set; then
   6755   $as_echo_n "(cached) " >&6
   6756 else
   6757   if test -n "$AR"; then
   6758   ac_cv_prog_AR="$AR" # Let the user override the test.
   6759 else
   6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6761 for as_dir in $PATH
   6762 do
   6763   IFS=$as_save_IFS
   6764   test -z "$as_dir" && as_dir=.
   6765   for ac_exec_ext in '' $ac_executable_extensions; do
   6766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6767     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6768     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6769     break 2
   6770   fi
   6771 done
   6772 done
   6773 IFS=$as_save_IFS
   6774 
   6775 fi
   6776 fi
   6777 AR=$ac_cv_prog_AR
   6778 if test -n "$AR"; then
   6779   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6780 $as_echo "$AR" >&6; }
   6781 else
   6782   { $as_echo "$as_me:$LINENO: result: no" >&5
   6783 $as_echo "no" >&6; }
   6784 fi
   6785 
   6786 
   6787 fi
   6788 if test -z "$ac_cv_prog_AR"; then
   6789   ac_ct_AR=$AR
   6790   # Extract the first word of "ar", so it can be a program name with args.
   6791 set dummy ar; ac_word=$2
   6792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6793 $as_echo_n "checking for $ac_word... " >&6; }
   6794 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6795   $as_echo_n "(cached) " >&6
   6796 else
   6797   if test -n "$ac_ct_AR"; then
   6798   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6799 else
   6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6801 for as_dir in $PATH
   6802 do
   6803   IFS=$as_save_IFS
   6804   test -z "$as_dir" && as_dir=.
   6805   for ac_exec_ext in '' $ac_executable_extensions; do
   6806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6807     ac_cv_prog_ac_ct_AR="ar"
   6808     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6809     break 2
   6810   fi
   6811 done
   6812 done
   6813 IFS=$as_save_IFS
   6814 
   6815 fi
   6816 fi
   6817 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6818 if test -n "$ac_ct_AR"; then
   6819   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6820 $as_echo "$ac_ct_AR" >&6; }
   6821 else
   6822   { $as_echo "$as_me:$LINENO: result: no" >&5
   6823 $as_echo "no" >&6; }
   6824 fi
   6825 
   6826   if test "x$ac_ct_AR" = x; then
   6827     AR="false"
   6828   else
   6829     case $cross_compiling:$ac_tool_warned in
   6830 yes:)
   6831 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6833 ac_tool_warned=yes ;;
   6834 esac
   6835     AR=$ac_ct_AR
   6836   fi
   6837 else
   6838   AR="$ac_cv_prog_AR"
   6839 fi
   6840 
   6841 test -z "$AR" && AR=ar
   6842 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 if test -n "$ac_tool_prefix"; then
   6855   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6856 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6858 $as_echo_n "checking for $ac_word... " >&6; }
   6859 if test "${ac_cv_prog_STRIP+set}" = set; then
   6860   $as_echo_n "(cached) " >&6
   6861 else
   6862   if test -n "$STRIP"; then
   6863   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6864 else
   6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6866 for as_dir in $PATH
   6867 do
   6868   IFS=$as_save_IFS
   6869   test -z "$as_dir" && as_dir=.
   6870   for ac_exec_ext in '' $ac_executable_extensions; do
   6871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6872     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6873     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6874     break 2
   6875   fi
   6876 done
   6877 done
   6878 IFS=$as_save_IFS
   6879 
   6880 fi
   6881 fi
   6882 STRIP=$ac_cv_prog_STRIP
   6883 if test -n "$STRIP"; then
   6884   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6885 $as_echo "$STRIP" >&6; }
   6886 else
   6887   { $as_echo "$as_me:$LINENO: result: no" >&5
   6888 $as_echo "no" >&6; }
   6889 fi
   6890 
   6891 
   6892 fi
   6893 if test -z "$ac_cv_prog_STRIP"; then
   6894   ac_ct_STRIP=$STRIP
   6895   # Extract the first word of "strip", so it can be a program name with args.
   6896 set dummy strip; ac_word=$2
   6897 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6898 $as_echo_n "checking for $ac_word... " >&6; }
   6899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6900   $as_echo_n "(cached) " >&6
   6901 else
   6902   if test -n "$ac_ct_STRIP"; then
   6903   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6904 else
   6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6906 for as_dir in $PATH
   6907 do
   6908   IFS=$as_save_IFS
   6909   test -z "$as_dir" && as_dir=.
   6910   for ac_exec_ext in '' $ac_executable_extensions; do
   6911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6912     ac_cv_prog_ac_ct_STRIP="strip"
   6913     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6914     break 2
   6915   fi
   6916 done
   6917 done
   6918 IFS=$as_save_IFS
   6919 
   6920 fi
   6921 fi
   6922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6923 if test -n "$ac_ct_STRIP"; then
   6924   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6925 $as_echo "$ac_ct_STRIP" >&6; }
   6926 else
   6927   { $as_echo "$as_me:$LINENO: result: no" >&5
   6928 $as_echo "no" >&6; }
   6929 fi
   6930 
   6931   if test "x$ac_ct_STRIP" = x; then
   6932     STRIP=":"
   6933   else
   6934     case $cross_compiling:$ac_tool_warned in
   6935 yes:)
   6936 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6938 ac_tool_warned=yes ;;
   6939 esac
   6940     STRIP=$ac_ct_STRIP
   6941   fi
   6942 else
   6943   STRIP="$ac_cv_prog_STRIP"
   6944 fi
   6945 
   6946 test -z "$STRIP" && STRIP=:
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 if test -n "$ac_tool_prefix"; then
   6954   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6955 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6956 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6957 $as_echo_n "checking for $ac_word... " >&6; }
   6958 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   if test -n "$RANLIB"; then
   6962   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6963 else
   6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6965 for as_dir in $PATH
   6966 do
   6967   IFS=$as_save_IFS
   6968   test -z "$as_dir" && as_dir=.
   6969   for ac_exec_ext in '' $ac_executable_extensions; do
   6970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6971     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6972     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6973     break 2
   6974   fi
   6975 done
   6976 done
   6977 IFS=$as_save_IFS
   6978 
   6979 fi
   6980 fi
   6981 RANLIB=$ac_cv_prog_RANLIB
   6982 if test -n "$RANLIB"; then
   6983   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6984 $as_echo "$RANLIB" >&6; }
   6985 else
   6986   { $as_echo "$as_me:$LINENO: result: no" >&5
   6987 $as_echo "no" >&6; }
   6988 fi
   6989 
   6990 
   6991 fi
   6992 if test -z "$ac_cv_prog_RANLIB"; then
   6993   ac_ct_RANLIB=$RANLIB
   6994   # Extract the first word of "ranlib", so it can be a program name with args.
   6995 set dummy ranlib; ac_word=$2
   6996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6997 $as_echo_n "checking for $ac_word... " >&6; }
   6998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6999   $as_echo_n "(cached) " >&6
   7000 else
   7001   if test -n "$ac_ct_RANLIB"; then
   7002   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7003 else
   7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7005 for as_dir in $PATH
   7006 do
   7007   IFS=$as_save_IFS
   7008   test -z "$as_dir" && as_dir=.
   7009   for ac_exec_ext in '' $ac_executable_extensions; do
   7010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7011     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7012     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7013     break 2
   7014   fi
   7015 done
   7016 done
   7017 IFS=$as_save_IFS
   7018 
   7019 fi
   7020 fi
   7021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7022 if test -n "$ac_ct_RANLIB"; then
   7023   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7024 $as_echo "$ac_ct_RANLIB" >&6; }
   7025 else
   7026   { $as_echo "$as_me:$LINENO: result: no" >&5
   7027 $as_echo "no" >&6; }
   7028 fi
   7029 
   7030   if test "x$ac_ct_RANLIB" = x; then
   7031     RANLIB=":"
   7032   else
   7033     case $cross_compiling:$ac_tool_warned in
   7034 yes:)
   7035 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7037 ac_tool_warned=yes ;;
   7038 esac
   7039     RANLIB=$ac_ct_RANLIB
   7040   fi
   7041 else
   7042   RANLIB="$ac_cv_prog_RANLIB"
   7043 fi
   7044 
   7045 test -z "$RANLIB" && RANLIB=:
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 # Determine commands to create old-style static archives.
   7053 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7054 old_postinstall_cmds='chmod 644 $oldlib'
   7055 old_postuninstall_cmds=
   7056 
   7057 if test -n "$RANLIB"; then
   7058   case $host_os in
   7059   openbsd*)
   7060     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7061     ;;
   7062   *)
   7063     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7064     ;;
   7065   esac
   7066   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7067 fi
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 # If no C compiler was specified, use CC.
   7103 LTCC=${LTCC-"$CC"}
   7104 
   7105 # If no C compiler flags were specified, use CFLAGS.
   7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7107 
   7108 # Allow CC to be a program name with arguments.
   7109 compiler=$CC
   7110 
   7111 
   7112 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7113 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   7114 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7115 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   7116   $as_echo_n "(cached) " >&6
   7117 else
   7118 
   7119 # These are sane defaults that work on at least a few old systems.
   7120 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7121 
   7122 # Character class describing NM global symbol codes.
   7123 symcode='[BCDEGRST]'
   7124 
   7125 # Regexp to match symbols that can be accessed directly from C.
   7126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7127 
   7128 # Define system-specific variables.
   7129 case $host_os in
   7130 aix*)
   7131   symcode='[BCDT]'
   7132   ;;
   7133 cygwin* | mingw* | pw32* | cegcc*)
   7134   symcode='[ABCDGISTW]'
   7135   ;;
   7136 hpux*)
   7137   if test "$host_cpu" = ia64; then
   7138     symcode='[ABCDEGRST]'
   7139   fi
   7140   ;;
   7141 irix* | nonstopux*)
   7142   symcode='[BCDEGRST]'
   7143   ;;
   7144 osf*)
   7145   symcode='[BCDEGQRST]'
   7146   ;;
   7147 solaris*)
   7148   symcode='[BDRT]'
   7149   ;;
   7150 sco3.2v5*)
   7151   symcode='[DT]'
   7152   ;;
   7153 sysv4.2uw2*)
   7154   symcode='[DT]'
   7155   ;;
   7156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7157   symcode='[ABDT]'
   7158   ;;
   7159 sysv4)
   7160   symcode='[DFNSTU]'
   7161   ;;
   7162 esac
   7163 
   7164 # If we're using GNU nm, then use its standard symbol codes.
   7165 case `$NM -V 2>&1` in
   7166 *GNU* | *'with BFD'*)
   7167   symcode='[ABCDGIRSTW]' ;;
   7168 esac
   7169 
   7170 # Transform an extracted symbol line into a proper C declaration.
   7171 # Some systems (esp. on ia64) link data and code symbols differently,
   7172 # so use this general approach.
   7173 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7174 
   7175 # Transform an extracted symbol line into symbol name and symbol address
   7176 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7177 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'"
   7178 
   7179 # Handle CRLF in mingw tool chain
   7180 opt_cr=
   7181 case $build_os in
   7182 mingw*)
   7183   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7184   ;;
   7185 esac
   7186 
   7187 # Try without a prefix underscore, then with it.
   7188 for ac_symprfx in "" "_"; do
   7189 
   7190   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7191   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7192 
   7193   # Write the raw and C identifiers.
   7194   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7195     # Fake it for dumpbin and say T for any non-static function
   7196     # and D for any global variable.
   7197     # Also find C++ and __fastcall symbols from MSVC++,
   7198     # which start with @ or ?.
   7199     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7200 "     {last_section=section; section=\$ 3};"\
   7201 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7202 "     \$ 0!~/External *\|/{next};"\
   7203 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7204 "     {if(hide[section]) next};"\
   7205 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7206 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7207 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7208 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7209 "     ' prfx=^$ac_symprfx"
   7210   else
   7211     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7212   fi
   7213 
   7214   # Check to see that the pipe works correctly.
   7215   pipe_works=no
   7216 
   7217   rm -f conftest*
   7218   cat > conftest.$ac_ext <<_LT_EOF
   7219 #ifdef __cplusplus
   7220 extern "C" {
   7221 #endif
   7222 char nm_test_var;
   7223 void nm_test_func(void);
   7224 void nm_test_func(void){}
   7225 #ifdef __cplusplus
   7226 }
   7227 #endif
   7228 int main(){nm_test_var='a';nm_test_func();return(0);}
   7229 _LT_EOF
   7230 
   7231   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7232   (eval $ac_compile) 2>&5
   7233   ac_status=$?
   7234   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7235   (exit $ac_status); }; then
   7236     # Now try to grab the symbols.
   7237     nlist=conftest.nm
   7238     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   7239   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   7240   ac_status=$?
   7241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7242   (exit $ac_status); } && test -s "$nlist"; then
   7243       # Try sorting and uniquifying the output.
   7244       if sort "$nlist" | uniq > "$nlist"T; then
   7245 	mv -f "$nlist"T "$nlist"
   7246       else
   7247 	rm -f "$nlist"T
   7248       fi
   7249 
   7250       # Make sure that we snagged all the symbols we need.
   7251       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7252 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7253 	  cat <<_LT_EOF > conftest.$ac_ext
   7254 #ifdef __cplusplus
   7255 extern "C" {
   7256 #endif
   7257 
   7258 _LT_EOF
   7259 	  # Now generate the symbol file.
   7260 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7261 
   7262 	  cat <<_LT_EOF >> conftest.$ac_ext
   7263 
   7264 /* The mapping between symbol names and symbols.  */
   7265 const struct {
   7266   const char *name;
   7267   void       *address;
   7268 }
   7269 lt__PROGRAM__LTX_preloaded_symbols[] =
   7270 {
   7271   { "@PROGRAM@", (void *) 0 },
   7272 _LT_EOF
   7273 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7274 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7275   {0, (void *) 0}
   7276 };
   7277 
   7278 /* This works around a problem in FreeBSD linker */
   7279 #ifdef FREEBSD_WORKAROUND
   7280 static const void *lt_preloaded_setup() {
   7281   return lt__PROGRAM__LTX_preloaded_symbols;
   7282 }
   7283 #endif
   7284 
   7285 #ifdef __cplusplus
   7286 }
   7287 #endif
   7288 _LT_EOF
   7289 	  # Now try linking the two files.
   7290 	  mv conftest.$ac_objext conftstm.$ac_objext
   7291 	  lt_save_LIBS="$LIBS"
   7292 	  lt_save_CFLAGS="$CFLAGS"
   7293 	  LIBS="conftstm.$ac_objext"
   7294 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7295 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7296   (eval $ac_link) 2>&5
   7297   ac_status=$?
   7298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7299   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   7300 	    pipe_works=yes
   7301 	  fi
   7302 	  LIBS="$lt_save_LIBS"
   7303 	  CFLAGS="$lt_save_CFLAGS"
   7304 	else
   7305 	  echo "cannot find nm_test_func in $nlist" >&5
   7306 	fi
   7307       else
   7308 	echo "cannot find nm_test_var in $nlist" >&5
   7309       fi
   7310     else
   7311       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7312     fi
   7313   else
   7314     echo "$progname: failed program was:" >&5
   7315     cat conftest.$ac_ext >&5
   7316   fi
   7317   rm -rf conftest* conftst*
   7318 
   7319   # Do not use the global_symbol_pipe unless it works.
   7320   if test "$pipe_works" = yes; then
   7321     break
   7322   else
   7323     lt_cv_sys_global_symbol_pipe=
   7324   fi
   7325 done
   7326 
   7327 fi
   7328 
   7329 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7330   lt_cv_sys_global_symbol_to_cdecl=
   7331 fi
   7332 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7333   { $as_echo "$as_me:$LINENO: result: failed" >&5
   7334 $as_echo "failed" >&6; }
   7335 else
   7336   { $as_echo "$as_me:$LINENO: result: ok" >&5
   7337 $as_echo "ok" >&6; }
   7338 fi
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 # Check whether --enable-libtool-lock was given.
   7362 if test "${enable_libtool_lock+set}" = set; then
   7363   enableval=$enable_libtool_lock;
   7364 fi
   7365 
   7366 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7367 
   7368 # Some flags need to be propagated to the compiler or linker for good
   7369 # libtool support.
   7370 case $host in
   7371 ia64-*-hpux*)
   7372   # Find out which ABI we are using.
   7373   echo 'int i;' > conftest.$ac_ext
   7374   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7375   (eval $ac_compile) 2>&5
   7376   ac_status=$?
   7377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7378   (exit $ac_status); }; then
   7379     case `/usr/bin/file conftest.$ac_objext` in
   7380       *ELF-32*)
   7381 	HPUX_IA64_MODE="32"
   7382 	;;
   7383       *ELF-64*)
   7384 	HPUX_IA64_MODE="64"
   7385 	;;
   7386     esac
   7387   fi
   7388   rm -rf conftest*
   7389   ;;
   7390 *-*-irix6*)
   7391   # Find out which ABI we are using.
   7392   echo '#line 7392 "configure"' > conftest.$ac_ext
   7393   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7394   (eval $ac_compile) 2>&5
   7395   ac_status=$?
   7396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7397   (exit $ac_status); }; then
   7398     if test "$lt_cv_prog_gnu_ld" = yes; then
   7399       case `/usr/bin/file conftest.$ac_objext` in
   7400 	*32-bit*)
   7401 	  LD="${LD-ld} -melf32bsmip"
   7402 	  ;;
   7403 	*N32*)
   7404 	  LD="${LD-ld} -melf32bmipn32"
   7405 	  ;;
   7406 	*64-bit*)
   7407 	  LD="${LD-ld} -melf64bmip"
   7408 	;;
   7409       esac
   7410     else
   7411       case `/usr/bin/file conftest.$ac_objext` in
   7412 	*32-bit*)
   7413 	  LD="${LD-ld} -32"
   7414 	  ;;
   7415 	*N32*)
   7416 	  LD="${LD-ld} -n32"
   7417 	  ;;
   7418 	*64-bit*)
   7419 	  LD="${LD-ld} -64"
   7420 	  ;;
   7421       esac
   7422     fi
   7423   fi
   7424   rm -rf conftest*
   7425   ;;
   7426 
   7427 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7428 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7429   # Find out which ABI we are using.
   7430   echo 'int i;' > conftest.$ac_ext
   7431   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7432   (eval $ac_compile) 2>&5
   7433   ac_status=$?
   7434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7435   (exit $ac_status); }; then
   7436     case `/usr/bin/file conftest.o` in
   7437       *32-bit*)
   7438 	case $host in
   7439 	  x86_64-*kfreebsd*-gnu)
   7440 	    LD="${LD-ld} -m elf_i386_fbsd"
   7441 	    ;;
   7442 	  x86_64-*linux*)
   7443 	    LD="${LD-ld} -m elf_i386"
   7444 	    ;;
   7445 	  ppc64-*linux*|powerpc64-*linux*)
   7446 	    LD="${LD-ld} -m elf32ppclinux"
   7447 	    ;;
   7448 	  s390x-*linux*)
   7449 	    LD="${LD-ld} -m elf_s390"
   7450 	    ;;
   7451 	  sparc64-*linux*)
   7452 	    LD="${LD-ld} -m elf32_sparc"
   7453 	    ;;
   7454 	esac
   7455 	;;
   7456       *64-bit*)
   7457 	case $host in
   7458 	  x86_64-*kfreebsd*-gnu)
   7459 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7460 	    ;;
   7461 	  x86_64-*linux*)
   7462 	    LD="${LD-ld} -m elf_x86_64"
   7463 	    ;;
   7464 	  ppc*-*linux*|powerpc*-*linux*)
   7465 	    LD="${LD-ld} -m elf64ppc"
   7466 	    ;;
   7467 	  s390*-*linux*|s390*-*tpf*)
   7468 	    LD="${LD-ld} -m elf64_s390"
   7469 	    ;;
   7470 	  sparc*-*linux*)
   7471 	    LD="${LD-ld} -m elf64_sparc"
   7472 	    ;;
   7473 	esac
   7474 	;;
   7475     esac
   7476   fi
   7477   rm -rf conftest*
   7478   ;;
   7479 
   7480 *-*-sco3.2v5*)
   7481   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7482   SAVE_CFLAGS="$CFLAGS"
   7483   CFLAGS="$CFLAGS -belf"
   7484   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   7485 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7486 if test "${lt_cv_cc_needs_belf+set}" = set; then
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   ac_ext=c
   7490 ac_cpp='$CPP $CPPFLAGS'
   7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7494 
   7495      cat >conftest.$ac_ext <<_ACEOF
   7496 /* confdefs.h.  */
   7497 _ACEOF
   7498 cat confdefs.h >>conftest.$ac_ext
   7499 cat >>conftest.$ac_ext <<_ACEOF
   7500 /* end confdefs.h.  */
   7501 
   7502 int
   7503 main ()
   7504 {
   7505 
   7506   ;
   7507   return 0;
   7508 }
   7509 _ACEOF
   7510 rm -f conftest.$ac_objext conftest$ac_exeext
   7511 if { (ac_try="$ac_link"
   7512 case "(($ac_try" in
   7513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7514   *) ac_try_echo=$ac_try;;
   7515 esac
   7516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7517 $as_echo "$ac_try_echo") >&5
   7518   (eval "$ac_link") 2>conftest.er1
   7519   ac_status=$?
   7520   grep -v '^ *+' conftest.er1 >conftest.err
   7521   rm -f conftest.er1
   7522   cat conftest.err >&5
   7523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7524   (exit $ac_status); } && {
   7525 	 test -z "$ac_c_werror_flag" ||
   7526 	 test ! -s conftest.err
   7527        } && test -s conftest$ac_exeext && {
   7528 	 test "$cross_compiling" = yes ||
   7529 	 $as_test_x conftest$ac_exeext
   7530        }; then
   7531   lt_cv_cc_needs_belf=yes
   7532 else
   7533   $as_echo "$as_me: failed program was:" >&5
   7534 sed 's/^/| /' conftest.$ac_ext >&5
   7535 
   7536 	lt_cv_cc_needs_belf=no
   7537 fi
   7538 
   7539 rm -rf conftest.dSYM
   7540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7541       conftest$ac_exeext conftest.$ac_ext
   7542      ac_ext=c
   7543 ac_cpp='$CPP $CPPFLAGS'
   7544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7547 
   7548 fi
   7549 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   7550 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7551   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7552     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7553     CFLAGS="$SAVE_CFLAGS"
   7554   fi
   7555   ;;
   7556 sparc*-*solaris*)
   7557   # Find out which ABI we are using.
   7558   echo 'int i;' > conftest.$ac_ext
   7559   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7560   (eval $ac_compile) 2>&5
   7561   ac_status=$?
   7562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7563   (exit $ac_status); }; then
   7564     case `/usr/bin/file conftest.o` in
   7565     *64-bit*)
   7566       case $lt_cv_prog_gnu_ld in
   7567       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7568       *)
   7569 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7570 	  LD="${LD-ld} -64"
   7571 	fi
   7572 	;;
   7573       esac
   7574       ;;
   7575     esac
   7576   fi
   7577   rm -rf conftest*
   7578   ;;
   7579 esac
   7580 
   7581 need_locks="$enable_libtool_lock"
   7582 
   7583 
   7584   case $host_os in
   7585     rhapsody* | darwin*)
   7586     if test -n "$ac_tool_prefix"; then
   7587   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7588 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7590 $as_echo_n "checking for $ac_word... " >&6; }
   7591 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7592   $as_echo_n "(cached) " >&6
   7593 else
   7594   if test -n "$DSYMUTIL"; then
   7595   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7596 else
   7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7598 for as_dir in $PATH
   7599 do
   7600   IFS=$as_save_IFS
   7601   test -z "$as_dir" && as_dir=.
   7602   for ac_exec_ext in '' $ac_executable_extensions; do
   7603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7604     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7605     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7606     break 2
   7607   fi
   7608 done
   7609 done
   7610 IFS=$as_save_IFS
   7611 
   7612 fi
   7613 fi
   7614 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7615 if test -n "$DSYMUTIL"; then
   7616   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7617 $as_echo "$DSYMUTIL" >&6; }
   7618 else
   7619   { $as_echo "$as_me:$LINENO: result: no" >&5
   7620 $as_echo "no" >&6; }
   7621 fi
   7622 
   7623 
   7624 fi
   7625 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7626   ac_ct_DSYMUTIL=$DSYMUTIL
   7627   # Extract the first word of "dsymutil", so it can be a program name with args.
   7628 set dummy dsymutil; ac_word=$2
   7629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7630 $as_echo_n "checking for $ac_word... " >&6; }
   7631 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   if test -n "$ac_ct_DSYMUTIL"; then
   7635   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7636 else
   7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7638 for as_dir in $PATH
   7639 do
   7640   IFS=$as_save_IFS
   7641   test -z "$as_dir" && as_dir=.
   7642   for ac_exec_ext in '' $ac_executable_extensions; do
   7643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7644     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7645     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7646     break 2
   7647   fi
   7648 done
   7649 done
   7650 IFS=$as_save_IFS
   7651 
   7652 fi
   7653 fi
   7654 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7655 if test -n "$ac_ct_DSYMUTIL"; then
   7656   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7657 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7658 else
   7659   { $as_echo "$as_me:$LINENO: result: no" >&5
   7660 $as_echo "no" >&6; }
   7661 fi
   7662 
   7663   if test "x$ac_ct_DSYMUTIL" = x; then
   7664     DSYMUTIL=":"
   7665   else
   7666     case $cross_compiling:$ac_tool_warned in
   7667 yes:)
   7668 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7670 ac_tool_warned=yes ;;
   7671 esac
   7672     DSYMUTIL=$ac_ct_DSYMUTIL
   7673   fi
   7674 else
   7675   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7676 fi
   7677 
   7678     if test -n "$ac_tool_prefix"; then
   7679   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7680 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7682 $as_echo_n "checking for $ac_word... " >&6; }
   7683 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7684   $as_echo_n "(cached) " >&6
   7685 else
   7686   if test -n "$NMEDIT"; then
   7687   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7688 else
   7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7690 for as_dir in $PATH
   7691 do
   7692   IFS=$as_save_IFS
   7693   test -z "$as_dir" && as_dir=.
   7694   for ac_exec_ext in '' $ac_executable_extensions; do
   7695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7696     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7697     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7698     break 2
   7699   fi
   7700 done
   7701 done
   7702 IFS=$as_save_IFS
   7703 
   7704 fi
   7705 fi
   7706 NMEDIT=$ac_cv_prog_NMEDIT
   7707 if test -n "$NMEDIT"; then
   7708   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7709 $as_echo "$NMEDIT" >&6; }
   7710 else
   7711   { $as_echo "$as_me:$LINENO: result: no" >&5
   7712 $as_echo "no" >&6; }
   7713 fi
   7714 
   7715 
   7716 fi
   7717 if test -z "$ac_cv_prog_NMEDIT"; then
   7718   ac_ct_NMEDIT=$NMEDIT
   7719   # Extract the first word of "nmedit", so it can be a program name with args.
   7720 set dummy nmedit; ac_word=$2
   7721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7722 $as_echo_n "checking for $ac_word... " >&6; }
   7723 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   if test -n "$ac_ct_NMEDIT"; then
   7727   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7728 else
   7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7730 for as_dir in $PATH
   7731 do
   7732   IFS=$as_save_IFS
   7733   test -z "$as_dir" && as_dir=.
   7734   for ac_exec_ext in '' $ac_executable_extensions; do
   7735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7736     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7737     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7738     break 2
   7739   fi
   7740 done
   7741 done
   7742 IFS=$as_save_IFS
   7743 
   7744 fi
   7745 fi
   7746 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7747 if test -n "$ac_ct_NMEDIT"; then
   7748   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7749 $as_echo "$ac_ct_NMEDIT" >&6; }
   7750 else
   7751   { $as_echo "$as_me:$LINENO: result: no" >&5
   7752 $as_echo "no" >&6; }
   7753 fi
   7754 
   7755   if test "x$ac_ct_NMEDIT" = x; then
   7756     NMEDIT=":"
   7757   else
   7758     case $cross_compiling:$ac_tool_warned in
   7759 yes:)
   7760 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7762 ac_tool_warned=yes ;;
   7763 esac
   7764     NMEDIT=$ac_ct_NMEDIT
   7765   fi
   7766 else
   7767   NMEDIT="$ac_cv_prog_NMEDIT"
   7768 fi
   7769 
   7770     if test -n "$ac_tool_prefix"; then
   7771   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7772 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7773 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7774 $as_echo_n "checking for $ac_word... " >&6; }
   7775 if test "${ac_cv_prog_LIPO+set}" = set; then
   7776   $as_echo_n "(cached) " >&6
   7777 else
   7778   if test -n "$LIPO"; then
   7779   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7780 else
   7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7782 for as_dir in $PATH
   7783 do
   7784   IFS=$as_save_IFS
   7785   test -z "$as_dir" && as_dir=.
   7786   for ac_exec_ext in '' $ac_executable_extensions; do
   7787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7788     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7789     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7790     break 2
   7791   fi
   7792 done
   7793 done
   7794 IFS=$as_save_IFS
   7795 
   7796 fi
   7797 fi
   7798 LIPO=$ac_cv_prog_LIPO
   7799 if test -n "$LIPO"; then
   7800   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   7801 $as_echo "$LIPO" >&6; }
   7802 else
   7803   { $as_echo "$as_me:$LINENO: result: no" >&5
   7804 $as_echo "no" >&6; }
   7805 fi
   7806 
   7807 
   7808 fi
   7809 if test -z "$ac_cv_prog_LIPO"; then
   7810   ac_ct_LIPO=$LIPO
   7811   # Extract the first word of "lipo", so it can be a program name with args.
   7812 set dummy lipo; ac_word=$2
   7813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7814 $as_echo_n "checking for $ac_word... " >&6; }
   7815 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   7816   $as_echo_n "(cached) " >&6
   7817 else
   7818   if test -n "$ac_ct_LIPO"; then
   7819   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7820 else
   7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7822 for as_dir in $PATH
   7823 do
   7824   IFS=$as_save_IFS
   7825   test -z "$as_dir" && as_dir=.
   7826   for ac_exec_ext in '' $ac_executable_extensions; do
   7827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7828     ac_cv_prog_ac_ct_LIPO="lipo"
   7829     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7830     break 2
   7831   fi
   7832 done
   7833 done
   7834 IFS=$as_save_IFS
   7835 
   7836 fi
   7837 fi
   7838 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7839 if test -n "$ac_ct_LIPO"; then
   7840   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   7841 $as_echo "$ac_ct_LIPO" >&6; }
   7842 else
   7843   { $as_echo "$as_me:$LINENO: result: no" >&5
   7844 $as_echo "no" >&6; }
   7845 fi
   7846 
   7847   if test "x$ac_ct_LIPO" = x; then
   7848     LIPO=":"
   7849   else
   7850     case $cross_compiling:$ac_tool_warned in
   7851 yes:)
   7852 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7854 ac_tool_warned=yes ;;
   7855 esac
   7856     LIPO=$ac_ct_LIPO
   7857   fi
   7858 else
   7859   LIPO="$ac_cv_prog_LIPO"
   7860 fi
   7861 
   7862     if test -n "$ac_tool_prefix"; then
   7863   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7864 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7866 $as_echo_n "checking for $ac_word... " >&6; }
   7867 if test "${ac_cv_prog_OTOOL+set}" = set; then
   7868   $as_echo_n "(cached) " >&6
   7869 else
   7870   if test -n "$OTOOL"; then
   7871   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7872 else
   7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7874 for as_dir in $PATH
   7875 do
   7876   IFS=$as_save_IFS
   7877   test -z "$as_dir" && as_dir=.
   7878   for ac_exec_ext in '' $ac_executable_extensions; do
   7879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7880     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7881     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7882     break 2
   7883   fi
   7884 done
   7885 done
   7886 IFS=$as_save_IFS
   7887 
   7888 fi
   7889 fi
   7890 OTOOL=$ac_cv_prog_OTOOL
   7891 if test -n "$OTOOL"; then
   7892   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   7893 $as_echo "$OTOOL" >&6; }
   7894 else
   7895   { $as_echo "$as_me:$LINENO: result: no" >&5
   7896 $as_echo "no" >&6; }
   7897 fi
   7898 
   7899 
   7900 fi
   7901 if test -z "$ac_cv_prog_OTOOL"; then
   7902   ac_ct_OTOOL=$OTOOL
   7903   # Extract the first word of "otool", so it can be a program name with args.
   7904 set dummy otool; ac_word=$2
   7905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7906 $as_echo_n "checking for $ac_word... " >&6; }
   7907 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   if test -n "$ac_ct_OTOOL"; then
   7911   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7912 else
   7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7914 for as_dir in $PATH
   7915 do
   7916   IFS=$as_save_IFS
   7917   test -z "$as_dir" && as_dir=.
   7918   for ac_exec_ext in '' $ac_executable_extensions; do
   7919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7920     ac_cv_prog_ac_ct_OTOOL="otool"
   7921     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7922     break 2
   7923   fi
   7924 done
   7925 done
   7926 IFS=$as_save_IFS
   7927 
   7928 fi
   7929 fi
   7930 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7931 if test -n "$ac_ct_OTOOL"; then
   7932   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   7933 $as_echo "$ac_ct_OTOOL" >&6; }
   7934 else
   7935   { $as_echo "$as_me:$LINENO: result: no" >&5
   7936 $as_echo "no" >&6; }
   7937 fi
   7938 
   7939   if test "x$ac_ct_OTOOL" = x; then
   7940     OTOOL=":"
   7941   else
   7942     case $cross_compiling:$ac_tool_warned in
   7943 yes:)
   7944 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7946 ac_tool_warned=yes ;;
   7947 esac
   7948     OTOOL=$ac_ct_OTOOL
   7949   fi
   7950 else
   7951   OTOOL="$ac_cv_prog_OTOOL"
   7952 fi
   7953 
   7954     if test -n "$ac_tool_prefix"; then
   7955   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7956 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7958 $as_echo_n "checking for $ac_word... " >&6; }
   7959 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   if test -n "$OTOOL64"; then
   7963   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7964 else
   7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7966 for as_dir in $PATH
   7967 do
   7968   IFS=$as_save_IFS
   7969   test -z "$as_dir" && as_dir=.
   7970   for ac_exec_ext in '' $ac_executable_extensions; do
   7971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7972     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7973     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7974     break 2
   7975   fi
   7976 done
   7977 done
   7978 IFS=$as_save_IFS
   7979 
   7980 fi
   7981 fi
   7982 OTOOL64=$ac_cv_prog_OTOOL64
   7983 if test -n "$OTOOL64"; then
   7984   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   7985 $as_echo "$OTOOL64" >&6; }
   7986 else
   7987   { $as_echo "$as_me:$LINENO: result: no" >&5
   7988 $as_echo "no" >&6; }
   7989 fi
   7990 
   7991 
   7992 fi
   7993 if test -z "$ac_cv_prog_OTOOL64"; then
   7994   ac_ct_OTOOL64=$OTOOL64
   7995   # Extract the first word of "otool64", so it can be a program name with args.
   7996 set dummy otool64; ac_word=$2
   7997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7998 $as_echo_n "checking for $ac_word... " >&6; }
   7999 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   8000   $as_echo_n "(cached) " >&6
   8001 else
   8002   if test -n "$ac_ct_OTOOL64"; then
   8003   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8004 else
   8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8006 for as_dir in $PATH
   8007 do
   8008   IFS=$as_save_IFS
   8009   test -z "$as_dir" && as_dir=.
   8010   for ac_exec_ext in '' $ac_executable_extensions; do
   8011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8012     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8014     break 2
   8015   fi
   8016 done
   8017 done
   8018 IFS=$as_save_IFS
   8019 
   8020 fi
   8021 fi
   8022 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8023 if test -n "$ac_ct_OTOOL64"; then
   8024   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   8025 $as_echo "$ac_ct_OTOOL64" >&6; }
   8026 else
   8027   { $as_echo "$as_me:$LINENO: result: no" >&5
   8028 $as_echo "no" >&6; }
   8029 fi
   8030 
   8031   if test "x$ac_ct_OTOOL64" = x; then
   8032     OTOOL64=":"
   8033   else
   8034     case $cross_compiling:$ac_tool_warned in
   8035 yes:)
   8036 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8038 ac_tool_warned=yes ;;
   8039 esac
   8040     OTOOL64=$ac_ct_OTOOL64
   8041   fi
   8042 else
   8043   OTOOL64="$ac_cv_prog_OTOOL64"
   8044 fi
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   8073 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8074 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   lt_cv_apple_cc_single_mod=no
   8078       if test -z "${LT_MULTI_MODULE}"; then
   8079 	# By default we will add the -single_module flag. You can override
   8080 	# by either setting the environment variable LT_MULTI_MODULE
   8081 	# non-empty at configure time, or by adding -multi_module to the
   8082 	# link flags.
   8083 	rm -rf libconftest.dylib*
   8084 	echo "int foo(void){return 1;}" > conftest.c
   8085 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8086 -dynamiclib -Wl,-single_module conftest.c" >&5
   8087 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8088 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8089         _lt_result=$?
   8090 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8091 	  lt_cv_apple_cc_single_mod=yes
   8092 	else
   8093 	  cat conftest.err >&5
   8094 	fi
   8095 	rm -rf libconftest.dylib*
   8096 	rm -f conftest.*
   8097       fi
   8098 fi
   8099 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   8100 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8101     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   8102 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8103 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   8104   $as_echo_n "(cached) " >&6
   8105 else
   8106   lt_cv_ld_exported_symbols_list=no
   8107       save_LDFLAGS=$LDFLAGS
   8108       echo "_main" > conftest.sym
   8109       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8110       cat >conftest.$ac_ext <<_ACEOF
   8111 /* confdefs.h.  */
   8112 _ACEOF
   8113 cat confdefs.h >>conftest.$ac_ext
   8114 cat >>conftest.$ac_ext <<_ACEOF
   8115 /* end confdefs.h.  */
   8116 
   8117 int
   8118 main ()
   8119 {
   8120 
   8121   ;
   8122   return 0;
   8123 }
   8124 _ACEOF
   8125 rm -f conftest.$ac_objext conftest$ac_exeext
   8126 if { (ac_try="$ac_link"
   8127 case "(($ac_try" in
   8128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8129   *) ac_try_echo=$ac_try;;
   8130 esac
   8131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8132 $as_echo "$ac_try_echo") >&5
   8133   (eval "$ac_link") 2>conftest.er1
   8134   ac_status=$?
   8135   grep -v '^ *+' conftest.er1 >conftest.err
   8136   rm -f conftest.er1
   8137   cat conftest.err >&5
   8138   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8139   (exit $ac_status); } && {
   8140 	 test -z "$ac_c_werror_flag" ||
   8141 	 test ! -s conftest.err
   8142        } && test -s conftest$ac_exeext && {
   8143 	 test "$cross_compiling" = yes ||
   8144 	 $as_test_x conftest$ac_exeext
   8145        }; then
   8146   lt_cv_ld_exported_symbols_list=yes
   8147 else
   8148   $as_echo "$as_me: failed program was:" >&5
   8149 sed 's/^/| /' conftest.$ac_ext >&5
   8150 
   8151 	lt_cv_ld_exported_symbols_list=no
   8152 fi
   8153 
   8154 rm -rf conftest.dSYM
   8155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8156       conftest$ac_exeext conftest.$ac_ext
   8157 	LDFLAGS="$save_LDFLAGS"
   8158 
   8159 fi
   8160 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   8161 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8162     case $host_os in
   8163     rhapsody* | darwin1.[012])
   8164       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8165     darwin1.*)
   8166       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8167     darwin*) # darwin 5.x on
   8168       # if running on 10.5 or later, the deployment target defaults
   8169       # to the OS version, if on x86, and 10.4, the deployment
   8170       # target defaults to 10.4. Don't you love it?
   8171       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8172 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8173 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8174 	10.[012]*)
   8175 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8176 	10.*)
   8177 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8178       esac
   8179     ;;
   8180   esac
   8181     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8182       _lt_dar_single_mod='$single_module'
   8183     fi
   8184     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8185       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8186     else
   8187       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8188     fi
   8189     if test "$DSYMUTIL" != ":"; then
   8190       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8191     else
   8192       _lt_dsymutil=
   8193     fi
   8194     ;;
   8195   esac
   8196 
   8197 
   8198 for ac_header in dlfcn.h
   8199 do
   8200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8201 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   8202 $as_echo_n "checking for $ac_header... " >&6; }
   8203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8204   $as_echo_n "(cached) " >&6
   8205 else
   8206   cat >conftest.$ac_ext <<_ACEOF
   8207 /* confdefs.h.  */
   8208 _ACEOF
   8209 cat confdefs.h >>conftest.$ac_ext
   8210 cat >>conftest.$ac_ext <<_ACEOF
   8211 /* end confdefs.h.  */
   8212 $ac_includes_default
   8213 
   8214 #include <$ac_header>
   8215 _ACEOF
   8216 rm -f conftest.$ac_objext
   8217 if { (ac_try="$ac_compile"
   8218 case "(($ac_try" in
   8219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8220   *) ac_try_echo=$ac_try;;
   8221 esac
   8222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8223 $as_echo "$ac_try_echo") >&5
   8224   (eval "$ac_compile") 2>conftest.er1
   8225   ac_status=$?
   8226   grep -v '^ *+' conftest.er1 >conftest.err
   8227   rm -f conftest.er1
   8228   cat conftest.err >&5
   8229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8230   (exit $ac_status); } && {
   8231 	 test -z "$ac_c_werror_flag" ||
   8232 	 test ! -s conftest.err
   8233        } && test -s conftest.$ac_objext; then
   8234   eval "$as_ac_Header=yes"
   8235 else
   8236   $as_echo "$as_me: failed program was:" >&5
   8237 sed 's/^/| /' conftest.$ac_ext >&5
   8238 
   8239 	eval "$as_ac_Header=no"
   8240 fi
   8241 
   8242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8243 fi
   8244 ac_res=`eval 'as_val=${'$as_ac_Header'}
   8245 		 $as_echo "$as_val"'`
   8246 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   8247 $as_echo "$ac_res" >&6; }
   8248 as_val=`eval 'as_val=${'$as_ac_Header'}
   8249 		 $as_echo "$as_val"'`
   8250    if test "x$as_val" = x""yes; then
   8251   cat >>confdefs.h <<_ACEOF
   8252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8253 _ACEOF
   8254 
   8255 fi
   8256 
   8257 done
   8258 
   8259 
   8260 
   8261 # Set options
   8262 
   8263 
   8264 
   8265         enable_dlopen=no
   8266 
   8267 
   8268   enable_win32_dll=no
   8269 
   8270 
   8271             # Check whether --enable-shared was given.
   8272 if test "${enable_shared+set}" = set; then
   8273   enableval=$enable_shared; p=${PACKAGE-default}
   8274     case $enableval in
   8275     yes) enable_shared=yes ;;
   8276     no) enable_shared=no ;;
   8277     *)
   8278       enable_shared=no
   8279       # Look at the argument we got.  We use all the common list separators.
   8280       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8281       for pkg in $enableval; do
   8282 	IFS="$lt_save_ifs"
   8283 	if test "X$pkg" = "X$p"; then
   8284 	  enable_shared=yes
   8285 	fi
   8286       done
   8287       IFS="$lt_save_ifs"
   8288       ;;
   8289     esac
   8290 else
   8291   enable_shared=yes
   8292 fi
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 # Check whether --with-pic was given.
   8305 if test "${with_pic+set}" = set; then
   8306   withval=$with_pic; pic_mode="$withval"
   8307 else
   8308   pic_mode=default
   8309 fi
   8310 
   8311 
   8312 test -z "$pic_mode" && pic_mode=default
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320   # Check whether --enable-fast-install was given.
   8321 if test "${enable_fast_install+set}" = set; then
   8322   enableval=$enable_fast_install; p=${PACKAGE-default}
   8323     case $enableval in
   8324     yes) enable_fast_install=yes ;;
   8325     no) enable_fast_install=no ;;
   8326     *)
   8327       enable_fast_install=no
   8328       # Look at the argument we got.  We use all the common list separators.
   8329       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8330       for pkg in $enableval; do
   8331 	IFS="$lt_save_ifs"
   8332 	if test "X$pkg" = "X$p"; then
   8333 	  enable_fast_install=yes
   8334 	fi
   8335       done
   8336       IFS="$lt_save_ifs"
   8337       ;;
   8338     esac
   8339 else
   8340   enable_fast_install=yes
   8341 fi
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 # This can be used to rebuild libtool when needed
   8354 LIBTOOL_DEPS="$ltmain"
   8355 
   8356 # Always use our own libtool.
   8357 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 test -z "$LN_S" && LN_S="ln -s"
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 if test -n "${ZSH_VERSION+set}" ; then
   8399    setopt NO_GLOB_SUBST
   8400 fi
   8401 
   8402 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   8403 $as_echo_n "checking for objdir... " >&6; }
   8404 if test "${lt_cv_objdir+set}" = set; then
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   rm -f .libs 2>/dev/null
   8408 mkdir .libs 2>/dev/null
   8409 if test -d .libs; then
   8410   lt_cv_objdir=.libs
   8411 else
   8412   # MS-DOS does not allow filenames that begin with a dot.
   8413   lt_cv_objdir=_libs
   8414 fi
   8415 rmdir .libs 2>/dev/null
   8416 fi
   8417 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   8418 $as_echo "$lt_cv_objdir" >&6; }
   8419 objdir=$lt_cv_objdir
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 cat >>confdefs.h <<_ACEOF
   8426 #define LT_OBJDIR "$lt_cv_objdir/"
   8427 _ACEOF
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 case $host_os in
   8446 aix3*)
   8447   # AIX sometimes has problems with the GCC collect2 program.  For some
   8448   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8449   # vanish in a puff of smoke.
   8450   if test "X${COLLECT_NAMES+set}" != Xset; then
   8451     COLLECT_NAMES=
   8452     export COLLECT_NAMES
   8453   fi
   8454   ;;
   8455 esac
   8456 
   8457 # Sed substitution that helps us do robust quoting.  It backslashifies
   8458 # metacharacters that are still active within double-quoted strings.
   8459 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8460 
   8461 # Same as above, but do not quote variable references.
   8462 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8463 
   8464 # Sed substitution to delay expansion of an escaped shell variable in a
   8465 # double_quote_subst'ed string.
   8466 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8467 
   8468 # Sed substitution to delay expansion of an escaped single quote.
   8469 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8470 
   8471 # Sed substitution to avoid accidental globbing in evaled expressions
   8472 no_glob_subst='s/\*/\\\*/g'
   8473 
   8474 # Global variables:
   8475 ofile=libtool
   8476 can_build_shared=yes
   8477 
   8478 # All known linkers require a `.a' archive for static linking (except MSVC,
   8479 # which needs '.lib').
   8480 libext=a
   8481 
   8482 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8483 
   8484 old_CC="$CC"
   8485 old_CFLAGS="$CFLAGS"
   8486 
   8487 # Set sane defaults for various variables
   8488 test -z "$CC" && CC=cc
   8489 test -z "$LTCC" && LTCC=$CC
   8490 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8491 test -z "$LD" && LD=ld
   8492 test -z "$ac_objext" && ac_objext=o
   8493 
   8494 for cc_temp in $compiler""; do
   8495   case $cc_temp in
   8496     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8497     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8498     \-*) ;;
   8499     *) break;;
   8500   esac
   8501 done
   8502 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8503 
   8504 
   8505 # Only perform the check for file, if the check method requires it
   8506 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8507 case $deplibs_check_method in
   8508 file_magic*)
   8509   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8510     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   8511 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8512 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8513   $as_echo_n "(cached) " >&6
   8514 else
   8515   case $MAGIC_CMD in
   8516 [\\/*] |  ?:[\\/]*)
   8517   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8518   ;;
   8519 *)
   8520   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8521   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8522   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8523   for ac_dir in $ac_dummy; do
   8524     IFS="$lt_save_ifs"
   8525     test -z "$ac_dir" && ac_dir=.
   8526     if test -f $ac_dir/${ac_tool_prefix}file; then
   8527       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8528       if test -n "$file_magic_test_file"; then
   8529 	case $deplibs_check_method in
   8530 	"file_magic "*)
   8531 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8532 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8533 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8534 	    $EGREP "$file_magic_regex" > /dev/null; then
   8535 	    :
   8536 	  else
   8537 	    cat <<_LT_EOF 1>&2
   8538 
   8539 *** Warning: the command libtool uses to detect shared libraries,
   8540 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8541 *** The result is that libtool may fail to recognize shared libraries
   8542 *** as such.  This will affect the creation of libtool libraries that
   8543 *** depend on shared libraries, but programs linked with such libtool
   8544 *** libraries will work regardless of this problem.  Nevertheless, you
   8545 *** may want to report the problem to your system manager and/or to
   8546 *** bug-libtool@gnu.org
   8547 
   8548 _LT_EOF
   8549 	  fi ;;
   8550 	esac
   8551       fi
   8552       break
   8553     fi
   8554   done
   8555   IFS="$lt_save_ifs"
   8556   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8557   ;;
   8558 esac
   8559 fi
   8560 
   8561 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8562 if test -n "$MAGIC_CMD"; then
   8563   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8564 $as_echo "$MAGIC_CMD" >&6; }
   8565 else
   8566   { $as_echo "$as_me:$LINENO: result: no" >&5
   8567 $as_echo "no" >&6; }
   8568 fi
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8575   if test -n "$ac_tool_prefix"; then
   8576     { $as_echo "$as_me:$LINENO: checking for file" >&5
   8577 $as_echo_n "checking for file... " >&6; }
   8578 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8579   $as_echo_n "(cached) " >&6
   8580 else
   8581   case $MAGIC_CMD in
   8582 [\\/*] |  ?:[\\/]*)
   8583   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8584   ;;
   8585 *)
   8586   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8587   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8588   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8589   for ac_dir in $ac_dummy; do
   8590     IFS="$lt_save_ifs"
   8591     test -z "$ac_dir" && ac_dir=.
   8592     if test -f $ac_dir/file; then
   8593       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8594       if test -n "$file_magic_test_file"; then
   8595 	case $deplibs_check_method in
   8596 	"file_magic "*)
   8597 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8598 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8599 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8600 	    $EGREP "$file_magic_regex" > /dev/null; then
   8601 	    :
   8602 	  else
   8603 	    cat <<_LT_EOF 1>&2
   8604 
   8605 *** Warning: the command libtool uses to detect shared libraries,
   8606 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8607 *** The result is that libtool may fail to recognize shared libraries
   8608 *** as such.  This will affect the creation of libtool libraries that
   8609 *** depend on shared libraries, but programs linked with such libtool
   8610 *** libraries will work regardless of this problem.  Nevertheless, you
   8611 *** may want to report the problem to your system manager and/or to
   8612 *** bug-libtool@gnu.org
   8613 
   8614 _LT_EOF
   8615 	  fi ;;
   8616 	esac
   8617       fi
   8618       break
   8619     fi
   8620   done
   8621   IFS="$lt_save_ifs"
   8622   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8623   ;;
   8624 esac
   8625 fi
   8626 
   8627 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8628 if test -n "$MAGIC_CMD"; then
   8629   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8630 $as_echo "$MAGIC_CMD" >&6; }
   8631 else
   8632   { $as_echo "$as_me:$LINENO: result: no" >&5
   8633 $as_echo "no" >&6; }
   8634 fi
   8635 
   8636 
   8637   else
   8638     MAGIC_CMD=:
   8639   fi
   8640 fi
   8641 
   8642   fi
   8643   ;;
   8644 esac
   8645 
   8646 # Use C for the default configuration in the libtool script
   8647 
   8648 lt_save_CC="$CC"
   8649 ac_ext=c
   8650 ac_cpp='$CPP $CPPFLAGS'
   8651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8654 
   8655 
   8656 # Source file extension for C test sources.
   8657 ac_ext=c
   8658 
   8659 # Object file extension for compiled C test sources.
   8660 objext=o
   8661 objext=$objext
   8662 
   8663 # Code to be used in simple compile tests
   8664 lt_simple_compile_test_code="int some_variable = 0;"
   8665 
   8666 # Code to be used in simple link tests
   8667 lt_simple_link_test_code='int main(){return(0);}'
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 # If no C compiler was specified, use CC.
   8676 LTCC=${LTCC-"$CC"}
   8677 
   8678 # If no C compiler flags were specified, use CFLAGS.
   8679 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8680 
   8681 # Allow CC to be a program name with arguments.
   8682 compiler=$CC
   8683 
   8684 # Save the default compiler, since it gets overwritten when the other
   8685 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8686 compiler_DEFAULT=$CC
   8687 
   8688 # save warnings/boilerplate of simple test code
   8689 ac_outfile=conftest.$ac_objext
   8690 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8691 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8692 _lt_compiler_boilerplate=`cat conftest.err`
   8693 $RM conftest*
   8694 
   8695 ac_outfile=conftest.$ac_objext
   8696 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8697 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8698 _lt_linker_boilerplate=`cat conftest.err`
   8699 $RM -r conftest*
   8700 
   8701 
   8702 if test -n "$compiler"; then
   8703 
   8704 lt_prog_compiler_no_builtin_flag=
   8705 
   8706 if test "$GCC" = yes; then
   8707   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8708 
   8709   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8710 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8711 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   lt_cv_prog_compiler_rtti_exceptions=no
   8715    ac_outfile=conftest.$ac_objext
   8716    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8717    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8718    # Insert the option either (1) after the last *FLAGS variable, or
   8719    # (2) before a word containing "conftest.", or (3) at the end.
   8720    # Note that $ac_compile itself does not contain backslashes and begins
   8721    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8722    # The option is referenced via a variable to avoid confusing sed.
   8723    lt_compile=`echo "$ac_compile" | $SED \
   8724    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8725    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8726    -e 's:$: $lt_compiler_flag:'`
   8727    (eval echo "\"\$as_me:8727: $lt_compile\"" >&5)
   8728    (eval "$lt_compile" 2>conftest.err)
   8729    ac_status=$?
   8730    cat conftest.err >&5
   8731    echo "$as_me:8731: \$? = $ac_status" >&5
   8732    if (exit $ac_status) && test -s "$ac_outfile"; then
   8733      # The compiler can only warn and ignore the option if not recognized
   8734      # So say no if there are warnings other than the usual output.
   8735      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8736      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8737      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8738        lt_cv_prog_compiler_rtti_exceptions=yes
   8739      fi
   8740    fi
   8741    $RM conftest*
   8742 
   8743 fi
   8744 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8745 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8746 
   8747 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8748     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8749 else
   8750     :
   8751 fi
   8752 
   8753 fi
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760   lt_prog_compiler_wl=
   8761 lt_prog_compiler_pic=
   8762 lt_prog_compiler_static=
   8763 
   8764 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   8765 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8766 
   8767   if test "$GCC" = yes; then
   8768     lt_prog_compiler_wl='-Wl,'
   8769     lt_prog_compiler_static='-static'
   8770 
   8771     case $host_os in
   8772       aix*)
   8773       # All AIX code is PIC.
   8774       if test "$host_cpu" = ia64; then
   8775 	# AIX 5 now supports IA64 processor
   8776 	lt_prog_compiler_static='-Bstatic'
   8777       fi
   8778       ;;
   8779 
   8780     amigaos*)
   8781       case $host_cpu in
   8782       powerpc)
   8783             # see comment about AmigaOS4 .so support
   8784             lt_prog_compiler_pic='-fPIC'
   8785         ;;
   8786       m68k)
   8787             # FIXME: we need at least 68020 code to build shared libraries, but
   8788             # adding the `-m68020' flag to GCC prevents building anything better,
   8789             # like `-m68040'.
   8790             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8791         ;;
   8792       esac
   8793       ;;
   8794 
   8795     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8796       # PIC is the default for these OSes.
   8797       ;;
   8798 
   8799     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8800       # This hack is so that the source file can tell whether it is being
   8801       # built for inclusion in a dll (and should export symbols for example).
   8802       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8803       # (--disable-auto-import) libraries
   8804       lt_prog_compiler_pic='-DDLL_EXPORT'
   8805       ;;
   8806 
   8807     darwin* | rhapsody*)
   8808       # PIC is the default on this platform
   8809       # Common symbols not allowed in MH_DYLIB files
   8810       lt_prog_compiler_pic='-fno-common'
   8811       ;;
   8812 
   8813     hpux*)
   8814       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8815       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8816       # sets the default TLS model and affects inlining.
   8817       case $host_cpu in
   8818       hppa*64*)
   8819 	# +Z the default
   8820 	;;
   8821       *)
   8822 	lt_prog_compiler_pic='-fPIC'
   8823 	;;
   8824       esac
   8825       ;;
   8826 
   8827     interix[3-9]*)
   8828       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8829       # Instead, we relocate shared libraries at runtime.
   8830       ;;
   8831 
   8832     msdosdjgpp*)
   8833       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8834       # on systems that don't support them.
   8835       lt_prog_compiler_can_build_shared=no
   8836       enable_shared=no
   8837       ;;
   8838 
   8839     *nto* | *qnx*)
   8840       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8841       # it will coredump.
   8842       lt_prog_compiler_pic='-fPIC -shared'
   8843       ;;
   8844 
   8845     sysv4*MP*)
   8846       if test -d /usr/nec; then
   8847 	lt_prog_compiler_pic=-Kconform_pic
   8848       fi
   8849       ;;
   8850 
   8851     *)
   8852       lt_prog_compiler_pic='-fPIC'
   8853       ;;
   8854     esac
   8855   else
   8856     # PORTME Check for flag to pass linker flags through the system compiler.
   8857     case $host_os in
   8858     aix*)
   8859       lt_prog_compiler_wl='-Wl,'
   8860       if test "$host_cpu" = ia64; then
   8861 	# AIX 5 now supports IA64 processor
   8862 	lt_prog_compiler_static='-Bstatic'
   8863       else
   8864 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8865       fi
   8866       ;;
   8867 
   8868     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8869       # This hack is so that the source file can tell whether it is being
   8870       # built for inclusion in a dll (and should export symbols for example).
   8871       lt_prog_compiler_pic='-DDLL_EXPORT'
   8872       ;;
   8873 
   8874     hpux9* | hpux10* | hpux11*)
   8875       lt_prog_compiler_wl='-Wl,'
   8876       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8877       # not for PA HP-UX.
   8878       case $host_cpu in
   8879       hppa*64*|ia64*)
   8880 	# +Z the default
   8881 	;;
   8882       *)
   8883 	lt_prog_compiler_pic='+Z'
   8884 	;;
   8885       esac
   8886       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8887       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8888       ;;
   8889 
   8890     irix5* | irix6* | nonstopux*)
   8891       lt_prog_compiler_wl='-Wl,'
   8892       # PIC (with -KPIC) is the default.
   8893       lt_prog_compiler_static='-non_shared'
   8894       ;;
   8895 
   8896     linux* | k*bsd*-gnu)
   8897       case $cc_basename in
   8898       # old Intel for x86_64 which still supported -KPIC.
   8899       ecc*)
   8900 	lt_prog_compiler_wl='-Wl,'
   8901 	lt_prog_compiler_pic='-KPIC'
   8902 	lt_prog_compiler_static='-static'
   8903         ;;
   8904       # icc used to be incompatible with GCC.
   8905       # ICC 10 doesn't accept -KPIC any more.
   8906       icc* | ifort*)
   8907 	lt_prog_compiler_wl='-Wl,'
   8908 	lt_prog_compiler_pic='-fPIC'
   8909 	lt_prog_compiler_static='-static'
   8910         ;;
   8911       # Lahey Fortran 8.1.
   8912       lf95*)
   8913 	lt_prog_compiler_wl='-Wl,'
   8914 	lt_prog_compiler_pic='--shared'
   8915 	lt_prog_compiler_static='--static'
   8916 	;;
   8917       pgcc* | pgf77* | pgf90* | pgf95*)
   8918         # Portland Group compilers (*not* the Pentium gcc compiler,
   8919 	# which looks to be a dead project)
   8920 	lt_prog_compiler_wl='-Wl,'
   8921 	lt_prog_compiler_pic='-fpic'
   8922 	lt_prog_compiler_static='-Bstatic'
   8923         ;;
   8924       ccc*)
   8925         lt_prog_compiler_wl='-Wl,'
   8926         # All Alpha code is PIC.
   8927         lt_prog_compiler_static='-non_shared'
   8928         ;;
   8929       xl*)
   8930 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8931 	lt_prog_compiler_wl='-Wl,'
   8932 	lt_prog_compiler_pic='-qpic'
   8933 	lt_prog_compiler_static='-qstaticlink'
   8934 	;;
   8935       *)
   8936 	case `$CC -V 2>&1 | sed 5q` in
   8937 	*Sun\ C*)
   8938 	  # Sun C 5.9
   8939 	  lt_prog_compiler_pic='-KPIC'
   8940 	  lt_prog_compiler_static='-Bstatic'
   8941 	  lt_prog_compiler_wl='-Wl,'
   8942 	  ;;
   8943 	*Sun\ F*)
   8944 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8945 	  lt_prog_compiler_pic='-KPIC'
   8946 	  lt_prog_compiler_static='-Bstatic'
   8947 	  lt_prog_compiler_wl=''
   8948 	  ;;
   8949 	esac
   8950 	;;
   8951       esac
   8952       ;;
   8953 
   8954     newsos6)
   8955       lt_prog_compiler_pic='-KPIC'
   8956       lt_prog_compiler_static='-Bstatic'
   8957       ;;
   8958 
   8959     *nto* | *qnx*)
   8960       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8961       # it will coredump.
   8962       lt_prog_compiler_pic='-fPIC -shared'
   8963       ;;
   8964 
   8965     osf3* | osf4* | osf5*)
   8966       lt_prog_compiler_wl='-Wl,'
   8967       # All OSF/1 code is PIC.
   8968       lt_prog_compiler_static='-non_shared'
   8969       ;;
   8970 
   8971     rdos*)
   8972       lt_prog_compiler_static='-non_shared'
   8973       ;;
   8974 
   8975     solaris*)
   8976       lt_prog_compiler_pic='-KPIC'
   8977       lt_prog_compiler_static='-Bstatic'
   8978       case $cc_basename in
   8979       f77* | f90* | f95*)
   8980 	lt_prog_compiler_wl='-Qoption ld ';;
   8981       *)
   8982 	lt_prog_compiler_wl='-Wl,';;
   8983       esac
   8984       ;;
   8985 
   8986     sunos4*)
   8987       lt_prog_compiler_wl='-Qoption ld '
   8988       lt_prog_compiler_pic='-PIC'
   8989       lt_prog_compiler_static='-Bstatic'
   8990       ;;
   8991 
   8992     sysv4 | sysv4.2uw2* | sysv4.3*)
   8993       lt_prog_compiler_wl='-Wl,'
   8994       lt_prog_compiler_pic='-KPIC'
   8995       lt_prog_compiler_static='-Bstatic'
   8996       ;;
   8997 
   8998     sysv4*MP*)
   8999       if test -d /usr/nec ;then
   9000 	lt_prog_compiler_pic='-Kconform_pic'
   9001 	lt_prog_compiler_static='-Bstatic'
   9002       fi
   9003       ;;
   9004 
   9005     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9006       lt_prog_compiler_wl='-Wl,'
   9007       lt_prog_compiler_pic='-KPIC'
   9008       lt_prog_compiler_static='-Bstatic'
   9009       ;;
   9010 
   9011     unicos*)
   9012       lt_prog_compiler_wl='-Wl,'
   9013       lt_prog_compiler_can_build_shared=no
   9014       ;;
   9015 
   9016     uts4*)
   9017       lt_prog_compiler_pic='-pic'
   9018       lt_prog_compiler_static='-Bstatic'
   9019       ;;
   9020 
   9021     *)
   9022       lt_prog_compiler_can_build_shared=no
   9023       ;;
   9024     esac
   9025   fi
   9026 
   9027 case $host_os in
   9028   # For platforms which do not support PIC, -DPIC is meaningless:
   9029   *djgpp*)
   9030     lt_prog_compiler_pic=
   9031     ;;
   9032   *)
   9033     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9034     ;;
   9035 esac
   9036 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   9037 $as_echo "$lt_prog_compiler_pic" >&6; }
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 #
   9045 # Check to make sure the PIC flag actually works.
   9046 #
   9047 if test -n "$lt_prog_compiler_pic"; then
   9048   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9049 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9050 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   9051   $as_echo_n "(cached) " >&6
   9052 else
   9053   lt_cv_prog_compiler_pic_works=no
   9054    ac_outfile=conftest.$ac_objext
   9055    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9056    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9057    # Insert the option either (1) after the last *FLAGS variable, or
   9058    # (2) before a word containing "conftest.", or (3) at the end.
   9059    # Note that $ac_compile itself does not contain backslashes and begins
   9060    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9061    # The option is referenced via a variable to avoid confusing sed.
   9062    lt_compile=`echo "$ac_compile" | $SED \
   9063    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9064    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9065    -e 's:$: $lt_compiler_flag:'`
   9066    (eval echo "\"\$as_me:9066: $lt_compile\"" >&5)
   9067    (eval "$lt_compile" 2>conftest.err)
   9068    ac_status=$?
   9069    cat conftest.err >&5
   9070    echo "$as_me:9070: \$? = $ac_status" >&5
   9071    if (exit $ac_status) && test -s "$ac_outfile"; then
   9072      # The compiler can only warn and ignore the option if not recognized
   9073      # So say no if there are warnings other than the usual output.
   9074      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   9075      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9076      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9077        lt_cv_prog_compiler_pic_works=yes
   9078      fi
   9079    fi
   9080    $RM conftest*
   9081 
   9082 fi
   9083 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   9084 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9085 
   9086 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9087     case $lt_prog_compiler_pic in
   9088      "" | " "*) ;;
   9089      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9090      esac
   9091 else
   9092     lt_prog_compiler_pic=
   9093      lt_prog_compiler_can_build_shared=no
   9094 fi
   9095 
   9096 fi
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 #
   9104 # Check to make sure the static flag actually works.
   9105 #
   9106 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9107 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9108 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9109 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   9110   $as_echo_n "(cached) " >&6
   9111 else
   9112   lt_cv_prog_compiler_static_works=no
   9113    save_LDFLAGS="$LDFLAGS"
   9114    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9115    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9116    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9117      # The linker can only warn and ignore the option if not recognized
   9118      # So say no if there are warnings
   9119      if test -s conftest.err; then
   9120        # Append any errors to the config.log.
   9121        cat conftest.err 1>&5
   9122        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   9123        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9124        if diff conftest.exp conftest.er2 >/dev/null; then
   9125          lt_cv_prog_compiler_static_works=yes
   9126        fi
   9127      else
   9128        lt_cv_prog_compiler_static_works=yes
   9129      fi
   9130    fi
   9131    $RM -r conftest*
   9132    LDFLAGS="$save_LDFLAGS"
   9133 
   9134 fi
   9135 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   9136 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9137 
   9138 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9139     :
   9140 else
   9141     lt_prog_compiler_static=
   9142 fi
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   9151 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9152 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   9153   $as_echo_n "(cached) " >&6
   9154 else
   9155   lt_cv_prog_compiler_c_o=no
   9156    $RM -r conftest 2>/dev/null
   9157    mkdir conftest
   9158    cd conftest
   9159    mkdir out
   9160    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9161 
   9162    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9163    # Insert the option either (1) after the last *FLAGS variable, or
   9164    # (2) before a word containing "conftest.", or (3) at the end.
   9165    # Note that $ac_compile itself does not contain backslashes and begins
   9166    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9167    lt_compile=`echo "$ac_compile" | $SED \
   9168    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9169    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9170    -e 's:$: $lt_compiler_flag:'`
   9171    (eval echo "\"\$as_me:9171: $lt_compile\"" >&5)
   9172    (eval "$lt_compile" 2>out/conftest.err)
   9173    ac_status=$?
   9174    cat out/conftest.err >&5
   9175    echo "$as_me:9175: \$? = $ac_status" >&5
   9176    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9177    then
   9178      # The compiler can only warn and ignore the option if not recognized
   9179      # So say no if there are warnings
   9180      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9181      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9182      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9183        lt_cv_prog_compiler_c_o=yes
   9184      fi
   9185    fi
   9186    chmod u+w . 2>&5
   9187    $RM conftest*
   9188    # SGI C++ compiler will create directory out/ii_files/ for
   9189    # template instantiation
   9190    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9191    $RM out/* && rmdir out
   9192    cd ..
   9193    $RM -r conftest
   9194    $RM conftest*
   9195 
   9196 fi
   9197 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   9198 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   9206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9207 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   9208   $as_echo_n "(cached) " >&6
   9209 else
   9210   lt_cv_prog_compiler_c_o=no
   9211    $RM -r conftest 2>/dev/null
   9212    mkdir conftest
   9213    cd conftest
   9214    mkdir out
   9215    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9216 
   9217    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9218    # Insert the option either (1) after the last *FLAGS variable, or
   9219    # (2) before a word containing "conftest.", or (3) at the end.
   9220    # Note that $ac_compile itself does not contain backslashes and begins
   9221    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9222    lt_compile=`echo "$ac_compile" | $SED \
   9223    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9224    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9225    -e 's:$: $lt_compiler_flag:'`
   9226    (eval echo "\"\$as_me:9226: $lt_compile\"" >&5)
   9227    (eval "$lt_compile" 2>out/conftest.err)
   9228    ac_status=$?
   9229    cat out/conftest.err >&5
   9230    echo "$as_me:9230: \$? = $ac_status" >&5
   9231    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9232    then
   9233      # The compiler can only warn and ignore the option if not recognized
   9234      # So say no if there are warnings
   9235      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9236      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9237      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9238        lt_cv_prog_compiler_c_o=yes
   9239      fi
   9240    fi
   9241    chmod u+w . 2>&5
   9242    $RM conftest*
   9243    # SGI C++ compiler will create directory out/ii_files/ for
   9244    # template instantiation
   9245    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9246    $RM out/* && rmdir out
   9247    cd ..
   9248    $RM -r conftest
   9249    $RM conftest*
   9250 
   9251 fi
   9252 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   9253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9254 
   9255 
   9256 
   9257 
   9258 hard_links="nottested"
   9259 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9260   # do not overwrite the value of need_locks provided by the user
   9261   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   9262 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9263   hard_links=yes
   9264   $RM conftest*
   9265   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9266   touch conftest.a
   9267   ln conftest.a conftest.b 2>&5 || hard_links=no
   9268   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9269   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   9270 $as_echo "$hard_links" >&6; }
   9271   if test "$hard_links" = no; then
   9272     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9273 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9274     need_locks=warn
   9275   fi
   9276 else
   9277   need_locks=no
   9278 fi
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9286 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9287 
   9288   runpath_var=
   9289   allow_undefined_flag=
   9290   always_export_symbols=no
   9291   archive_cmds=
   9292   archive_expsym_cmds=
   9293   compiler_needs_object=no
   9294   enable_shared_with_static_runtimes=no
   9295   export_dynamic_flag_spec=
   9296   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9297   hardcode_automatic=no
   9298   hardcode_direct=no
   9299   hardcode_direct_absolute=no
   9300   hardcode_libdir_flag_spec=
   9301   hardcode_libdir_flag_spec_ld=
   9302   hardcode_libdir_separator=
   9303   hardcode_minus_L=no
   9304   hardcode_shlibpath_var=unsupported
   9305   inherit_rpath=no
   9306   link_all_deplibs=unknown
   9307   module_cmds=
   9308   module_expsym_cmds=
   9309   old_archive_from_new_cmds=
   9310   old_archive_from_expsyms_cmds=
   9311   thread_safe_flag_spec=
   9312   whole_archive_flag_spec=
   9313   # include_expsyms should be a list of space-separated symbols to be *always*
   9314   # included in the symbol list
   9315   include_expsyms=
   9316   # exclude_expsyms can be an extended regexp of symbols to exclude
   9317   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9318   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9319   # as well as any symbol that contains `d'.
   9320   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9321   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9322   # platforms (ab)use it in PIC code, but their linkers get confused if
   9323   # the symbol is explicitly referenced.  Since portable code cannot
   9324   # rely on this symbol name, it's probably fine to never include it in
   9325   # preloaded symbol tables.
   9326   # Exclude shared library initialization/finalization symbols.
   9327   extract_expsyms_cmds=
   9328 
   9329   case $host_os in
   9330   cygwin* | mingw* | pw32* | cegcc*)
   9331     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9332     # When not using gcc, we currently assume that we are using
   9333     # Microsoft Visual C++.
   9334     if test "$GCC" != yes; then
   9335       with_gnu_ld=no
   9336     fi
   9337     ;;
   9338   interix*)
   9339     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9340     with_gnu_ld=yes
   9341     ;;
   9342   openbsd*)
   9343     with_gnu_ld=no
   9344     ;;
   9345   esac
   9346 
   9347   ld_shlibs=yes
   9348   if test "$with_gnu_ld" = yes; then
   9349     # If archive_cmds runs LD, not CC, wlarc should be empty
   9350     wlarc='${wl}'
   9351 
   9352     # Set some defaults for GNU ld with shared library support. These
   9353     # are reset later if shared libraries are not supported. Putting them
   9354     # here allows them to be overridden if necessary.
   9355     runpath_var=LD_RUN_PATH
   9356     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9357     export_dynamic_flag_spec='${wl}--export-dynamic'
   9358     # ancient GNU ld didn't support --whole-archive et. al.
   9359     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9360       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9361     else
   9362       whole_archive_flag_spec=
   9363     fi
   9364     supports_anon_versioning=no
   9365     case `$LD -v 2>&1` in
   9366       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9367       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9368       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9369       *\ 2.11.*) ;; # other 2.11 versions
   9370       *) supports_anon_versioning=yes ;;
   9371     esac
   9372 
   9373     # See if GNU ld supports shared libraries.
   9374     case $host_os in
   9375     aix[3-9]*)
   9376       # On AIX/PPC, the GNU linker is very broken
   9377       if test "$host_cpu" != ia64; then
   9378 	ld_shlibs=no
   9379 	cat <<_LT_EOF 1>&2
   9380 
   9381 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   9382 *** to be unable to reliably create shared libraries on AIX.
   9383 *** Therefore, libtool is disabling shared libraries support.  If you
   9384 *** really care for shared libraries, you may want to modify your PATH
   9385 *** so that a non-GNU linker is found, and then restart.
   9386 
   9387 _LT_EOF
   9388       fi
   9389       ;;
   9390 
   9391     amigaos*)
   9392       case $host_cpu in
   9393       powerpc)
   9394             # see comment about AmigaOS4 .so support
   9395             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9396             archive_expsym_cmds=''
   9397         ;;
   9398       m68k)
   9399             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)'
   9400             hardcode_libdir_flag_spec='-L$libdir'
   9401             hardcode_minus_L=yes
   9402         ;;
   9403       esac
   9404       ;;
   9405 
   9406     beos*)
   9407       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9408 	allow_undefined_flag=unsupported
   9409 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9410 	# support --undefined.  This deserves some investigation.  FIXME
   9411 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9412       else
   9413 	ld_shlibs=no
   9414       fi
   9415       ;;
   9416 
   9417     cygwin* | mingw* | pw32* | cegcc*)
   9418       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9419       # as there is no search path for DLLs.
   9420       hardcode_libdir_flag_spec='-L$libdir'
   9421       allow_undefined_flag=unsupported
   9422       always_export_symbols=no
   9423       enable_shared_with_static_runtimes=yes
   9424       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9425 
   9426       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9427         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9428 	# If the export-symbols file already is a .def file (1st line
   9429 	# is EXPORTS), use it as is; otherwise, prepend...
   9430 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9431 	  cp $export_symbols $output_objdir/$soname.def;
   9432 	else
   9433 	  echo EXPORTS > $output_objdir/$soname.def;
   9434 	  cat $export_symbols >> $output_objdir/$soname.def;
   9435 	fi~
   9436 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9437       else
   9438 	ld_shlibs=no
   9439       fi
   9440       ;;
   9441 
   9442     interix[3-9]*)
   9443       hardcode_direct=no
   9444       hardcode_shlibpath_var=no
   9445       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9446       export_dynamic_flag_spec='${wl}-E'
   9447       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9448       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9449       # default) and relocated if they conflict, which is a slow very memory
   9450       # consuming and fragmenting process.  To avoid this, we pick a random,
   9451       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9452       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9453       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9454       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'
   9455       ;;
   9456 
   9457     gnu* | linux* | tpf* | k*bsd*-gnu)
   9458       tmp_diet=no
   9459       if test "$host_os" = linux-dietlibc; then
   9460 	case $cc_basename in
   9461 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9462 	esac
   9463       fi
   9464       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9465 	 && test "$tmp_diet" = no
   9466       then
   9467 	tmp_addflag=
   9468 	tmp_sharedflag='-shared'
   9469 	case $cc_basename,$host_cpu in
   9470         pgcc*)				# Portland Group C compiler
   9471 	  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'
   9472 	  tmp_addflag=' $pic_flag'
   9473 	  ;;
   9474 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9475 	  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'
   9476 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9477 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9478 	  tmp_addflag=' -i_dynamic' ;;
   9479 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9480 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9481 	ifc* | ifort*)			# Intel Fortran compiler
   9482 	  tmp_addflag=' -nofor_main' ;;
   9483 	lf95*)				# Lahey Fortran 8.1
   9484 	  whole_archive_flag_spec=
   9485 	  tmp_sharedflag='--shared' ;;
   9486 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9487 	  tmp_sharedflag='-qmkshrobj'
   9488 	  tmp_addflag= ;;
   9489 	esac
   9490 	case `$CC -V 2>&1 | sed 5q` in
   9491 	*Sun\ C*)			# Sun C 5.9
   9492 	  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'
   9493 	  compiler_needs_object=yes
   9494 	  tmp_sharedflag='-G' ;;
   9495 	*Sun\ F*)			# Sun Fortran 8.3
   9496 	  tmp_sharedflag='-G' ;;
   9497 	esac
   9498 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9499 
   9500         if test "x$supports_anon_versioning" = xyes; then
   9501           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9502 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9503 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9504 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9505         fi
   9506 
   9507 	case $cc_basename in
   9508 	xlf*)
   9509 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9510 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9511 	  hardcode_libdir_flag_spec=
   9512 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9513 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9514 	  if test "x$supports_anon_versioning" = xyes; then
   9515 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9516 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9517 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9518 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9519 	  fi
   9520 	  ;;
   9521 	esac
   9522       else
   9523         ld_shlibs=no
   9524       fi
   9525       ;;
   9526 
   9527     netbsd*)
   9528       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9529 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9530 	wlarc=
   9531       else
   9532 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9533 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9534       fi
   9535       ;;
   9536 
   9537     solaris*)
   9538       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9539 	ld_shlibs=no
   9540 	cat <<_LT_EOF 1>&2
   9541 
   9542 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9543 *** create shared libraries on Solaris systems.  Therefore, libtool
   9544 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9545 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9546 *** your PATH or compiler configuration so that the native linker is
   9547 *** used, and then restart.
   9548 
   9549 _LT_EOF
   9550       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9551 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9552 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9553       else
   9554 	ld_shlibs=no
   9555       fi
   9556       ;;
   9557 
   9558     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9559       case `$LD -v 2>&1` in
   9560         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9561 	ld_shlibs=no
   9562 	cat <<_LT_EOF 1>&2
   9563 
   9564 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9565 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9566 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9567 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9568 *** your PATH or compiler configuration so that the native linker is
   9569 *** used, and then restart.
   9570 
   9571 _LT_EOF
   9572 	;;
   9573 	*)
   9574 	  # For security reasons, it is highly recommended that you always
   9575 	  # use absolute paths for naming shared libraries, and exclude the
   9576 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9577 	  # requires that you compile everything twice, which is a pain.
   9578 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9579 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9580 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9581 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9582 	  else
   9583 	    ld_shlibs=no
   9584 	  fi
   9585 	;;
   9586       esac
   9587       ;;
   9588 
   9589     sunos4*)
   9590       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9591       wlarc=
   9592       hardcode_direct=yes
   9593       hardcode_shlibpath_var=no
   9594       ;;
   9595 
   9596     *)
   9597       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9598 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9599 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9600       else
   9601 	ld_shlibs=no
   9602       fi
   9603       ;;
   9604     esac
   9605 
   9606     if test "$ld_shlibs" = no; then
   9607       runpath_var=
   9608       hardcode_libdir_flag_spec=
   9609       export_dynamic_flag_spec=
   9610       whole_archive_flag_spec=
   9611     fi
   9612   else
   9613     # PORTME fill in a description of your system's linker (not GNU ld)
   9614     case $host_os in
   9615     aix3*)
   9616       allow_undefined_flag=unsupported
   9617       always_export_symbols=yes
   9618       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'
   9619       # Note: this linker hardcodes the directories in LIBPATH if there
   9620       # are no directories specified by -L.
   9621       hardcode_minus_L=yes
   9622       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9623 	# Neither direct hardcoding nor static linking is supported with a
   9624 	# broken collect2.
   9625 	hardcode_direct=unsupported
   9626       fi
   9627       ;;
   9628 
   9629     aix[4-9]*)
   9630       if test "$host_cpu" = ia64; then
   9631 	# On IA64, the linker does run time linking by default, so we don't
   9632 	# have to do anything special.
   9633 	aix_use_runtimelinking=no
   9634 	exp_sym_flag='-Bexport'
   9635 	no_entry_flag=""
   9636       else
   9637 	# If we're using GNU nm, then we don't want the "-C" option.
   9638 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9639 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9640 	  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'
   9641 	else
   9642 	  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'
   9643 	fi
   9644 	aix_use_runtimelinking=no
   9645 
   9646 	# Test if we are trying to use run time linking or normal
   9647 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9648 	# need to do runtime linking.
   9649 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9650 	  for ld_flag in $LDFLAGS; do
   9651 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9652 	    aix_use_runtimelinking=yes
   9653 	    break
   9654 	  fi
   9655 	  done
   9656 	  ;;
   9657 	esac
   9658 
   9659 	exp_sym_flag='-bexport'
   9660 	no_entry_flag='-bnoentry'
   9661       fi
   9662 
   9663       # When large executables or shared objects are built, AIX ld can
   9664       # have problems creating the table of contents.  If linking a library
   9665       # or program results in "error TOC overflow" add -mminimal-toc to
   9666       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9667       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9668 
   9669       archive_cmds=''
   9670       hardcode_direct=yes
   9671       hardcode_direct_absolute=yes
   9672       hardcode_libdir_separator=':'
   9673       link_all_deplibs=yes
   9674       file_list_spec='${wl}-f,'
   9675 
   9676       if test "$GCC" = yes; then
   9677 	case $host_os in aix4.[012]|aix4.[012].*)
   9678 	# We only want to do this on AIX 4.2 and lower, the check
   9679 	# below for broken collect2 doesn't work under 4.3+
   9680 	  collect2name=`${CC} -print-prog-name=collect2`
   9681 	  if test -f "$collect2name" &&
   9682 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9683 	  then
   9684 	  # We have reworked collect2
   9685 	  :
   9686 	  else
   9687 	  # We have old collect2
   9688 	  hardcode_direct=unsupported
   9689 	  # It fails to find uninstalled libraries when the uninstalled
   9690 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9691 	  # to unsupported forces relinking
   9692 	  hardcode_minus_L=yes
   9693 	  hardcode_libdir_flag_spec='-L$libdir'
   9694 	  hardcode_libdir_separator=
   9695 	  fi
   9696 	  ;;
   9697 	esac
   9698 	shared_flag='-shared'
   9699 	if test "$aix_use_runtimelinking" = yes; then
   9700 	  shared_flag="$shared_flag "'${wl}-G'
   9701 	fi
   9702       else
   9703 	# not using gcc
   9704 	if test "$host_cpu" = ia64; then
   9705 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9706 	# chokes on -Wl,-G. The following line is correct:
   9707 	  shared_flag='-G'
   9708 	else
   9709 	  if test "$aix_use_runtimelinking" = yes; then
   9710 	    shared_flag='${wl}-G'
   9711 	  else
   9712 	    shared_flag='${wl}-bM:SRE'
   9713 	  fi
   9714 	fi
   9715       fi
   9716 
   9717       export_dynamic_flag_spec='${wl}-bexpall'
   9718       # It seems that -bexpall does not export symbols beginning with
   9719       # underscore (_), so it is better to generate a list of symbols to export.
   9720       always_export_symbols=yes
   9721       if test "$aix_use_runtimelinking" = yes; then
   9722 	# Warning - without using the other runtime loading flags (-brtl),
   9723 	# -berok will link without error, but may produce a broken library.
   9724 	allow_undefined_flag='-berok'
   9725         # Determine the default libpath from the value encoded in an
   9726         # empty executable.
   9727         cat >conftest.$ac_ext <<_ACEOF
   9728 /* confdefs.h.  */
   9729 _ACEOF
   9730 cat confdefs.h >>conftest.$ac_ext
   9731 cat >>conftest.$ac_ext <<_ACEOF
   9732 /* end confdefs.h.  */
   9733 
   9734 int
   9735 main ()
   9736 {
   9737 
   9738   ;
   9739   return 0;
   9740 }
   9741 _ACEOF
   9742 rm -f conftest.$ac_objext conftest$ac_exeext
   9743 if { (ac_try="$ac_link"
   9744 case "(($ac_try" in
   9745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9746   *) ac_try_echo=$ac_try;;
   9747 esac
   9748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9749 $as_echo "$ac_try_echo") >&5
   9750   (eval "$ac_link") 2>conftest.er1
   9751   ac_status=$?
   9752   grep -v '^ *+' conftest.er1 >conftest.err
   9753   rm -f conftest.er1
   9754   cat conftest.err >&5
   9755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9756   (exit $ac_status); } && {
   9757 	 test -z "$ac_c_werror_flag" ||
   9758 	 test ! -s conftest.err
   9759        } && test -s conftest$ac_exeext && {
   9760 	 test "$cross_compiling" = yes ||
   9761 	 $as_test_x conftest$ac_exeext
   9762        }; then
   9763 
   9764 lt_aix_libpath_sed='
   9765     /Import File Strings/,/^$/ {
   9766 	/^0/ {
   9767 	    s/^0  *\(.*\)$/\1/
   9768 	    p
   9769 	}
   9770     }'
   9771 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9772 # Check for a 64-bit object if we didn't find anything.
   9773 if test -z "$aix_libpath"; then
   9774   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9775 fi
   9776 else
   9777   $as_echo "$as_me: failed program was:" >&5
   9778 sed 's/^/| /' conftest.$ac_ext >&5
   9779 
   9780 
   9781 fi
   9782 
   9783 rm -rf conftest.dSYM
   9784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9785       conftest$ac_exeext conftest.$ac_ext
   9786 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9787 
   9788         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9789         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"
   9790       else
   9791 	if test "$host_cpu" = ia64; then
   9792 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9793 	  allow_undefined_flag="-z nodefs"
   9794 	  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"
   9795 	else
   9796 	 # Determine the default libpath from the value encoded in an
   9797 	 # empty executable.
   9798 	 cat >conftest.$ac_ext <<_ACEOF
   9799 /* confdefs.h.  */
   9800 _ACEOF
   9801 cat confdefs.h >>conftest.$ac_ext
   9802 cat >>conftest.$ac_ext <<_ACEOF
   9803 /* end confdefs.h.  */
   9804 
   9805 int
   9806 main ()
   9807 {
   9808 
   9809   ;
   9810   return 0;
   9811 }
   9812 _ACEOF
   9813 rm -f conftest.$ac_objext conftest$ac_exeext
   9814 if { (ac_try="$ac_link"
   9815 case "(($ac_try" in
   9816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9817   *) ac_try_echo=$ac_try;;
   9818 esac
   9819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9820 $as_echo "$ac_try_echo") >&5
   9821   (eval "$ac_link") 2>conftest.er1
   9822   ac_status=$?
   9823   grep -v '^ *+' conftest.er1 >conftest.err
   9824   rm -f conftest.er1
   9825   cat conftest.err >&5
   9826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9827   (exit $ac_status); } && {
   9828 	 test -z "$ac_c_werror_flag" ||
   9829 	 test ! -s conftest.err
   9830        } && test -s conftest$ac_exeext && {
   9831 	 test "$cross_compiling" = yes ||
   9832 	 $as_test_x conftest$ac_exeext
   9833        }; then
   9834 
   9835 lt_aix_libpath_sed='
   9836     /Import File Strings/,/^$/ {
   9837 	/^0/ {
   9838 	    s/^0  *\(.*\)$/\1/
   9839 	    p
   9840 	}
   9841     }'
   9842 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9843 # Check for a 64-bit object if we didn't find anything.
   9844 if test -z "$aix_libpath"; then
   9845   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9846 fi
   9847 else
   9848   $as_echo "$as_me: failed program was:" >&5
   9849 sed 's/^/| /' conftest.$ac_ext >&5
   9850 
   9851 
   9852 fi
   9853 
   9854 rm -rf conftest.dSYM
   9855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9856       conftest$ac_exeext conftest.$ac_ext
   9857 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9858 
   9859 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9860 	  # Warning - without using the other run time loading flags,
   9861 	  # -berok will link without error, but may produce a broken library.
   9862 	  no_undefined_flag=' ${wl}-bernotok'
   9863 	  allow_undefined_flag=' ${wl}-berok'
   9864 	  # Exported symbols can be pulled into shared objects from archives
   9865 	  whole_archive_flag_spec='$convenience'
   9866 	  archive_cmds_need_lc=yes
   9867 	  # This is similar to how AIX traditionally builds its shared libraries.
   9868 	  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'
   9869 	fi
   9870       fi
   9871       ;;
   9872 
   9873     amigaos*)
   9874       case $host_cpu in
   9875       powerpc)
   9876             # see comment about AmigaOS4 .so support
   9877             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9878             archive_expsym_cmds=''
   9879         ;;
   9880       m68k)
   9881             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)'
   9882             hardcode_libdir_flag_spec='-L$libdir'
   9883             hardcode_minus_L=yes
   9884         ;;
   9885       esac
   9886       ;;
   9887 
   9888     bsdi[45]*)
   9889       export_dynamic_flag_spec=-rdynamic
   9890       ;;
   9891 
   9892     cygwin* | mingw* | pw32* | cegcc*)
   9893       # When not using gcc, we currently assume that we are using
   9894       # Microsoft Visual C++.
   9895       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9896       # no search path for DLLs.
   9897       hardcode_libdir_flag_spec=' '
   9898       allow_undefined_flag=unsupported
   9899       # Tell ltmain to make .lib files, not .a files.
   9900       libext=lib
   9901       # Tell ltmain to make .dll files, not .so files.
   9902       shrext_cmds=".dll"
   9903       # FIXME: Setting linknames here is a bad hack.
   9904       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9905       # The linker will automatically build a .lib file if we build a DLL.
   9906       old_archive_from_new_cmds='true'
   9907       # FIXME: Should let the user specify the lib program.
   9908       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9909       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9910       enable_shared_with_static_runtimes=yes
   9911       ;;
   9912 
   9913     darwin* | rhapsody*)
   9914 
   9915 
   9916   archive_cmds_need_lc=no
   9917   hardcode_direct=no
   9918   hardcode_automatic=yes
   9919   hardcode_shlibpath_var=unsupported
   9920   whole_archive_flag_spec=''
   9921   link_all_deplibs=yes
   9922   allow_undefined_flag="$_lt_dar_allow_undefined"
   9923   case $cc_basename in
   9924      ifort*) _lt_dar_can_shared=yes ;;
   9925      *) _lt_dar_can_shared=$GCC ;;
   9926   esac
   9927   if test "$_lt_dar_can_shared" = "yes"; then
   9928     output_verbose_link_cmd=echo
   9929     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9930     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9931     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}"
   9932     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}"
   9933 
   9934   else
   9935   ld_shlibs=no
   9936   fi
   9937 
   9938       ;;
   9939 
   9940     dgux*)
   9941       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9942       hardcode_libdir_flag_spec='-L$libdir'
   9943       hardcode_shlibpath_var=no
   9944       ;;
   9945 
   9946     freebsd1*)
   9947       ld_shlibs=no
   9948       ;;
   9949 
   9950     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9951     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9952     # does not break anything, and helps significantly (at the cost of a little
   9953     # extra space).
   9954     freebsd2.2*)
   9955       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9956       hardcode_libdir_flag_spec='-R$libdir'
   9957       hardcode_direct=yes
   9958       hardcode_shlibpath_var=no
   9959       ;;
   9960 
   9961     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9962     freebsd2*)
   9963       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9964       hardcode_direct=yes
   9965       hardcode_minus_L=yes
   9966       hardcode_shlibpath_var=no
   9967       ;;
   9968 
   9969     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9970     freebsd* | dragonfly*)
   9971       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9972       hardcode_libdir_flag_spec='-R$libdir'
   9973       hardcode_direct=yes
   9974       hardcode_shlibpath_var=no
   9975       ;;
   9976 
   9977     hpux9*)
   9978       if test "$GCC" = yes; then
   9979 	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'
   9980       else
   9981 	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'
   9982       fi
   9983       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9984       hardcode_libdir_separator=:
   9985       hardcode_direct=yes
   9986 
   9987       # hardcode_minus_L: Not really in the search PATH,
   9988       # but as the default location of the library.
   9989       hardcode_minus_L=yes
   9990       export_dynamic_flag_spec='${wl}-E'
   9991       ;;
   9992 
   9993     hpux10*)
   9994       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9995 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9996       else
   9997 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9998       fi
   9999       if test "$with_gnu_ld" = no; then
   10000 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10001 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10002 	hardcode_libdir_separator=:
   10003 	hardcode_direct=yes
   10004 	hardcode_direct_absolute=yes
   10005 	export_dynamic_flag_spec='${wl}-E'
   10006 	# hardcode_minus_L: Not really in the search PATH,
   10007 	# but as the default location of the library.
   10008 	hardcode_minus_L=yes
   10009       fi
   10010       ;;
   10011 
   10012     hpux11*)
   10013       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   10014 	case $host_cpu in
   10015 	hppa*64*)
   10016 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10017 	  ;;
   10018 	ia64*)
   10019 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10020 	  ;;
   10021 	*)
   10022 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10023 	  ;;
   10024 	esac
   10025       else
   10026 	case $host_cpu in
   10027 	hppa*64*)
   10028 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10029 	  ;;
   10030 	ia64*)
   10031 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10032 	  ;;
   10033 	*)
   10034 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10035 	  ;;
   10036 	esac
   10037       fi
   10038       if test "$with_gnu_ld" = no; then
   10039 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10040 	hardcode_libdir_separator=:
   10041 
   10042 	case $host_cpu in
   10043 	hppa*64*|ia64*)
   10044 	  hardcode_direct=no
   10045 	  hardcode_shlibpath_var=no
   10046 	  ;;
   10047 	*)
   10048 	  hardcode_direct=yes
   10049 	  hardcode_direct_absolute=yes
   10050 	  export_dynamic_flag_spec='${wl}-E'
   10051 
   10052 	  # hardcode_minus_L: Not really in the search PATH,
   10053 	  # but as the default location of the library.
   10054 	  hardcode_minus_L=yes
   10055 	  ;;
   10056 	esac
   10057       fi
   10058       ;;
   10059 
   10060     irix5* | irix6* | nonstopux*)
   10061       if test "$GCC" = yes; then
   10062 	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'
   10063 	# Try to use the -exported_symbol ld option, if it does not
   10064 	# work, assume that -exports_file does not work either and
   10065 	# implicitly export all symbols.
   10066         save_LDFLAGS="$LDFLAGS"
   10067         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10068         cat >conftest.$ac_ext <<_ACEOF
   10069 int foo(void) {}
   10070 _ACEOF
   10071 rm -f conftest.$ac_objext conftest$ac_exeext
   10072 if { (ac_try="$ac_link"
   10073 case "(($ac_try" in
   10074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10075   *) ac_try_echo=$ac_try;;
   10076 esac
   10077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10078 $as_echo "$ac_try_echo") >&5
   10079   (eval "$ac_link") 2>conftest.er1
   10080   ac_status=$?
   10081   grep -v '^ *+' conftest.er1 >conftest.err
   10082   rm -f conftest.er1
   10083   cat conftest.err >&5
   10084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10085   (exit $ac_status); } && {
   10086 	 test -z "$ac_c_werror_flag" ||
   10087 	 test ! -s conftest.err
   10088        } && test -s conftest$ac_exeext && {
   10089 	 test "$cross_compiling" = yes ||
   10090 	 $as_test_x conftest$ac_exeext
   10091        }; then
   10092   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'
   10093 
   10094 else
   10095   $as_echo "$as_me: failed program was:" >&5
   10096 sed 's/^/| /' conftest.$ac_ext >&5
   10097 
   10098 
   10099 fi
   10100 
   10101 rm -rf conftest.dSYM
   10102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10103       conftest$ac_exeext conftest.$ac_ext
   10104         LDFLAGS="$save_LDFLAGS"
   10105       else
   10106 	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'
   10107 	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'
   10108       fi
   10109       archive_cmds_need_lc='no'
   10110       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10111       hardcode_libdir_separator=:
   10112       inherit_rpath=yes
   10113       link_all_deplibs=yes
   10114       ;;
   10115 
   10116     netbsd*)
   10117       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10118 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10119       else
   10120 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10121       fi
   10122       hardcode_libdir_flag_spec='-R$libdir'
   10123       hardcode_direct=yes
   10124       hardcode_shlibpath_var=no
   10125       ;;
   10126 
   10127     newsos6)
   10128       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10129       hardcode_direct=yes
   10130       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10131       hardcode_libdir_separator=:
   10132       hardcode_shlibpath_var=no
   10133       ;;
   10134 
   10135     *nto* | *qnx*)
   10136       ;;
   10137 
   10138     openbsd*)
   10139       if test -f /usr/libexec/ld.so; then
   10140 	hardcode_direct=yes
   10141 	hardcode_shlibpath_var=no
   10142 	hardcode_direct_absolute=yes
   10143 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10144 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10145 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10146 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10147 	  export_dynamic_flag_spec='${wl}-E'
   10148 	else
   10149 	  case $host_os in
   10150 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10151 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10152 	     hardcode_libdir_flag_spec='-R$libdir'
   10153 	     ;;
   10154 	   *)
   10155 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10156 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10157 	     ;;
   10158 	  esac
   10159 	fi
   10160       else
   10161 	ld_shlibs=no
   10162       fi
   10163       ;;
   10164 
   10165     os2*)
   10166       hardcode_libdir_flag_spec='-L$libdir'
   10167       hardcode_minus_L=yes
   10168       allow_undefined_flag=unsupported
   10169       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'
   10170       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10171       ;;
   10172 
   10173     osf3*)
   10174       if test "$GCC" = yes; then
   10175 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10176 	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'
   10177       else
   10178 	allow_undefined_flag=' -expect_unresolved \*'
   10179 	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'
   10180       fi
   10181       archive_cmds_need_lc='no'
   10182       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10183       hardcode_libdir_separator=:
   10184       ;;
   10185 
   10186     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10187       if test "$GCC" = yes; then
   10188 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10189 	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'
   10190 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10191       else
   10192 	allow_undefined_flag=' -expect_unresolved \*'
   10193 	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'
   10194 	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~
   10195 	$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'
   10196 
   10197 	# Both c and cxx compiler support -rpath directly
   10198 	hardcode_libdir_flag_spec='-rpath $libdir'
   10199       fi
   10200       archive_cmds_need_lc='no'
   10201       hardcode_libdir_separator=:
   10202       ;;
   10203 
   10204     solaris*)
   10205       no_undefined_flag=' -z defs'
   10206       if test "$GCC" = yes; then
   10207 	wlarc='${wl}'
   10208 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10209 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10210 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10211       else
   10212 	case `$CC -V 2>&1` in
   10213 	*"Compilers 5.0"*)
   10214 	  wlarc=''
   10215 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10216 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10217 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10218 	  ;;
   10219 	*)
   10220 	  wlarc='${wl}'
   10221 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10222 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10223 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10224 	  ;;
   10225 	esac
   10226       fi
   10227       hardcode_libdir_flag_spec='-R$libdir'
   10228       hardcode_shlibpath_var=no
   10229       case $host_os in
   10230       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10231       *)
   10232 	# The compiler driver will combine and reorder linker options,
   10233 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10234 	# but is careful enough not to reorder.
   10235 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10236 	if test "$GCC" = yes; then
   10237 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10238 	else
   10239 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10240 	fi
   10241 	;;
   10242       esac
   10243       link_all_deplibs=yes
   10244       ;;
   10245 
   10246     sunos4*)
   10247       if test "x$host_vendor" = xsequent; then
   10248 	# Use $CC to link under sequent, because it throws in some extra .o
   10249 	# files that make .init and .fini sections work.
   10250 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10251       else
   10252 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10253       fi
   10254       hardcode_libdir_flag_spec='-L$libdir'
   10255       hardcode_direct=yes
   10256       hardcode_minus_L=yes
   10257       hardcode_shlibpath_var=no
   10258       ;;
   10259 
   10260     sysv4)
   10261       case $host_vendor in
   10262 	sni)
   10263 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10264 	  hardcode_direct=yes # is this really true???
   10265 	;;
   10266 	siemens)
   10267 	  ## LD is ld it makes a PLAMLIB
   10268 	  ## CC just makes a GrossModule.
   10269 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10270 	  reload_cmds='$CC -r -o $output$reload_objs'
   10271 	  hardcode_direct=no
   10272         ;;
   10273 	motorola)
   10274 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10275 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10276 	;;
   10277       esac
   10278       runpath_var='LD_RUN_PATH'
   10279       hardcode_shlibpath_var=no
   10280       ;;
   10281 
   10282     sysv4.3*)
   10283       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10284       hardcode_shlibpath_var=no
   10285       export_dynamic_flag_spec='-Bexport'
   10286       ;;
   10287 
   10288     sysv4*MP*)
   10289       if test -d /usr/nec; then
   10290 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10291 	hardcode_shlibpath_var=no
   10292 	runpath_var=LD_RUN_PATH
   10293 	hardcode_runpath_var=yes
   10294 	ld_shlibs=yes
   10295       fi
   10296       ;;
   10297 
   10298     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10299       no_undefined_flag='${wl}-z,text'
   10300       archive_cmds_need_lc=no
   10301       hardcode_shlibpath_var=no
   10302       runpath_var='LD_RUN_PATH'
   10303 
   10304       if test "$GCC" = yes; then
   10305 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10306 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10307       else
   10308 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10309 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10310       fi
   10311       ;;
   10312 
   10313     sysv5* | sco3.2v5* | sco5v6*)
   10314       # Note: We can NOT use -z defs as we might desire, because we do not
   10315       # link with -lc, and that would cause any symbols used from libc to
   10316       # always be unresolved, which means just about no library would
   10317       # ever link correctly.  If we're not using GNU ld we use -z text
   10318       # though, which does catch some bad symbols but isn't as heavy-handed
   10319       # as -z defs.
   10320       no_undefined_flag='${wl}-z,text'
   10321       allow_undefined_flag='${wl}-z,nodefs'
   10322       archive_cmds_need_lc=no
   10323       hardcode_shlibpath_var=no
   10324       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10325       hardcode_libdir_separator=':'
   10326       link_all_deplibs=yes
   10327       export_dynamic_flag_spec='${wl}-Bexport'
   10328       runpath_var='LD_RUN_PATH'
   10329 
   10330       if test "$GCC" = yes; then
   10331 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10332 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10333       else
   10334 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10335 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10336       fi
   10337       ;;
   10338 
   10339     uts4*)
   10340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10341       hardcode_libdir_flag_spec='-L$libdir'
   10342       hardcode_shlibpath_var=no
   10343       ;;
   10344 
   10345     *)
   10346       ld_shlibs=no
   10347       ;;
   10348     esac
   10349 
   10350     if test x$host_vendor = xsni; then
   10351       case $host in
   10352       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10353 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10354 	;;
   10355       esac
   10356     fi
   10357   fi
   10358 
   10359 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   10360 $as_echo "$ld_shlibs" >&6; }
   10361 test "$ld_shlibs" = no && can_build_shared=no
   10362 
   10363 with_gnu_ld=$with_gnu_ld
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 #
   10380 # Do we need to explicitly link libc?
   10381 #
   10382 case "x$archive_cmds_need_lc" in
   10383 x|xyes)
   10384   # Assume -lc should be added
   10385   archive_cmds_need_lc=yes
   10386 
   10387   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10388     case $archive_cmds in
   10389     *'~'*)
   10390       # FIXME: we may have to deal with multi-command sequences.
   10391       ;;
   10392     '$CC '*)
   10393       # Test whether the compiler implicitly links with -lc since on some
   10394       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10395       # to ld, don't add -lc before -lgcc.
   10396       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   10397 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10398       $RM conftest*
   10399       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10400 
   10401       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10402   (eval $ac_compile) 2>&5
   10403   ac_status=$?
   10404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10405   (exit $ac_status); } 2>conftest.err; then
   10406         soname=conftest
   10407         lib=conftest
   10408         libobjs=conftest.$ac_objext
   10409         deplibs=
   10410         wl=$lt_prog_compiler_wl
   10411 	pic_flag=$lt_prog_compiler_pic
   10412         compiler_flags=-v
   10413         linker_flags=-v
   10414         verstring=
   10415         output_objdir=.
   10416         libname=conftest
   10417         lt_save_allow_undefined_flag=$allow_undefined_flag
   10418         allow_undefined_flag=
   10419         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   10420   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10421   ac_status=$?
   10422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10423   (exit $ac_status); }
   10424         then
   10425 	  archive_cmds_need_lc=no
   10426         else
   10427 	  archive_cmds_need_lc=yes
   10428         fi
   10429         allow_undefined_flag=$lt_save_allow_undefined_flag
   10430       else
   10431         cat conftest.err 1>&5
   10432       fi
   10433       $RM conftest*
   10434       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   10435 $as_echo "$archive_cmds_need_lc" >&6; }
   10436       ;;
   10437     esac
   10438   fi
   10439   ;;
   10440 esac
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   10599 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10600 
   10601 if test "$GCC" = yes; then
   10602   case $host_os in
   10603     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10604     *) lt_awk_arg="/^libraries:/" ;;
   10605   esac
   10606   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10607   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10608     # if the path contains ";" then we assume it to be the separator
   10609     # otherwise default to the standard path separator (i.e. ":") - it is
   10610     # assumed that no part of a normal pathname contains ";" but that should
   10611     # okay in the real world where ";" in dirpaths is itself problematic.
   10612     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10613   else
   10614     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10615   fi
   10616   # Ok, now we have the path, separated by spaces, we can step through it
   10617   # and add multilib dir if necessary.
   10618   lt_tmp_lt_search_path_spec=
   10619   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10620   for lt_sys_path in $lt_search_path_spec; do
   10621     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10622       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10623     else
   10624       test -d "$lt_sys_path" && \
   10625 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10626     fi
   10627   done
   10628   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10629 BEGIN {RS=" "; FS="/|\n";} {
   10630   lt_foo="";
   10631   lt_count=0;
   10632   for (lt_i = NF; lt_i > 0; lt_i--) {
   10633     if ($lt_i != "" && $lt_i != ".") {
   10634       if ($lt_i == "..") {
   10635         lt_count++;
   10636       } else {
   10637         if (lt_count == 0) {
   10638           lt_foo="/" $lt_i lt_foo;
   10639         } else {
   10640           lt_count--;
   10641         }
   10642       }
   10643     }
   10644   }
   10645   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10646   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10647 }'`
   10648   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10649 else
   10650   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10651 fi
   10652 library_names_spec=
   10653 libname_spec='lib$name'
   10654 soname_spec=
   10655 shrext_cmds=".so"
   10656 postinstall_cmds=
   10657 postuninstall_cmds=
   10658 finish_cmds=
   10659 finish_eval=
   10660 shlibpath_var=
   10661 shlibpath_overrides_runpath=unknown
   10662 version_type=none
   10663 dynamic_linker="$host_os ld.so"
   10664 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10665 need_lib_prefix=unknown
   10666 hardcode_into_libs=no
   10667 
   10668 # when you set need_version to no, make sure it does not cause -set_version
   10669 # flags to be left without arguments
   10670 need_version=unknown
   10671 
   10672 case $host_os in
   10673 aix3*)
   10674   version_type=linux
   10675   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10676   shlibpath_var=LIBPATH
   10677 
   10678   # AIX 3 has no versioning support, so we append a major version to the name.
   10679   soname_spec='${libname}${release}${shared_ext}$major'
   10680   ;;
   10681 
   10682 aix[4-9]*)
   10683   version_type=linux
   10684   need_lib_prefix=no
   10685   need_version=no
   10686   hardcode_into_libs=yes
   10687   if test "$host_cpu" = ia64; then
   10688     # AIX 5 supports IA64
   10689     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10690     shlibpath_var=LD_LIBRARY_PATH
   10691   else
   10692     # With GCC up to 2.95.x, collect2 would create an import file
   10693     # for dependence libraries.  The import file would start with
   10694     # the line `#! .'.  This would cause the generated library to
   10695     # depend on `.', always an invalid library.  This was fixed in
   10696     # development snapshots of GCC prior to 3.0.
   10697     case $host_os in
   10698       aix4 | aix4.[01] | aix4.[01].*)
   10699       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10700 	   echo ' yes '
   10701 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10702 	:
   10703       else
   10704 	can_build_shared=no
   10705       fi
   10706       ;;
   10707     esac
   10708     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10709     # soname into executable. Probably we can add versioning support to
   10710     # collect2, so additional links can be useful in future.
   10711     if test "$aix_use_runtimelinking" = yes; then
   10712       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10713       # instead of lib<name>.a to let people know that these are not
   10714       # typical AIX shared libraries.
   10715       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10716     else
   10717       # We preserve .a as extension for shared libraries through AIX4.2
   10718       # and later when we are not doing run time linking.
   10719       library_names_spec='${libname}${release}.a $libname.a'
   10720       soname_spec='${libname}${release}${shared_ext}$major'
   10721     fi
   10722     shlibpath_var=LIBPATH
   10723   fi
   10724   ;;
   10725 
   10726 amigaos*)
   10727   case $host_cpu in
   10728   powerpc)
   10729     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10730     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10731     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10732     ;;
   10733   m68k)
   10734     library_names_spec='$libname.ixlibrary $libname.a'
   10735     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10736     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'
   10737     ;;
   10738   esac
   10739   ;;
   10740 
   10741 beos*)
   10742   library_names_spec='${libname}${shared_ext}'
   10743   dynamic_linker="$host_os ld.so"
   10744   shlibpath_var=LIBRARY_PATH
   10745   ;;
   10746 
   10747 bsdi[45]*)
   10748   version_type=linux
   10749   need_version=no
   10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10751   soname_spec='${libname}${release}${shared_ext}$major'
   10752   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10753   shlibpath_var=LD_LIBRARY_PATH
   10754   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10755   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10756   # the default ld.so.conf also contains /usr/contrib/lib and
   10757   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10758   # libtool to hard-code these into programs
   10759   ;;
   10760 
   10761 cygwin* | mingw* | pw32* | cegcc*)
   10762   version_type=windows
   10763   shrext_cmds=".dll"
   10764   need_version=no
   10765   need_lib_prefix=no
   10766 
   10767   case $GCC,$host_os in
   10768   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10769     library_names_spec='$libname.dll.a'
   10770     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10771     postinstall_cmds='base_file=`basename \${file}`~
   10772       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10773       dldir=$destdir/`dirname \$dlpath`~
   10774       test -d \$dldir || mkdir -p \$dldir~
   10775       $install_prog $dir/$dlname \$dldir/$dlname~
   10776       chmod a+x \$dldir/$dlname~
   10777       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10778         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10779       fi'
   10780     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10781       dlpath=$dir/\$dldll~
   10782        $RM \$dlpath'
   10783     shlibpath_overrides_runpath=yes
   10784 
   10785     case $host_os in
   10786     cygwin*)
   10787       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10788       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10789       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10790       ;;
   10791     mingw* | cegcc*)
   10792       # MinGW DLLs use traditional 'lib' prefix
   10793       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10794       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10795       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10796         # It is most probably a Windows format PATH printed by
   10797         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10798         # path with ; separators, and with drive letters. We can handle the
   10799         # drive letters (cygwin fileutils understands them), so leave them,
   10800         # especially as we might pass files found there to a mingw objdump,
   10801         # which wouldn't understand a cygwinified path. Ahh.
   10802         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10803       else
   10804         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10805       fi
   10806       ;;
   10807     pw32*)
   10808       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10809       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10810       ;;
   10811     esac
   10812     ;;
   10813 
   10814   *)
   10815     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10816     ;;
   10817   esac
   10818   dynamic_linker='Win32 ld.exe'
   10819   # FIXME: first we should search . and the directory the executable is in
   10820   shlibpath_var=PATH
   10821   ;;
   10822 
   10823 darwin* | rhapsody*)
   10824   dynamic_linker="$host_os dyld"
   10825   version_type=darwin
   10826   need_lib_prefix=no
   10827   need_version=no
   10828   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10829   soname_spec='${libname}${release}${major}$shared_ext'
   10830   shlibpath_overrides_runpath=yes
   10831   shlibpath_var=DYLD_LIBRARY_PATH
   10832   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10833 
   10834   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10835   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10836   ;;
   10837 
   10838 dgux*)
   10839   version_type=linux
   10840   need_lib_prefix=no
   10841   need_version=no
   10842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10843   soname_spec='${libname}${release}${shared_ext}$major'
   10844   shlibpath_var=LD_LIBRARY_PATH
   10845   ;;
   10846 
   10847 freebsd1*)
   10848   dynamic_linker=no
   10849   ;;
   10850 
   10851 freebsd* | dragonfly*)
   10852   # DragonFly does not have aout.  When/if they implement a new
   10853   # versioning mechanism, adjust this.
   10854   if test -x /usr/bin/objformat; then
   10855     objformat=`/usr/bin/objformat`
   10856   else
   10857     case $host_os in
   10858     freebsd[123]*) objformat=aout ;;
   10859     *) objformat=elf ;;
   10860     esac
   10861   fi
   10862   version_type=freebsd-$objformat
   10863   case $version_type in
   10864     freebsd-elf*)
   10865       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10866       need_version=no
   10867       need_lib_prefix=no
   10868       ;;
   10869     freebsd-*)
   10870       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10871       need_version=yes
   10872       ;;
   10873   esac
   10874   shlibpath_var=LD_LIBRARY_PATH
   10875   case $host_os in
   10876   freebsd2*)
   10877     shlibpath_overrides_runpath=yes
   10878     ;;
   10879   freebsd3.[01]* | freebsdelf3.[01]*)
   10880     shlibpath_overrides_runpath=yes
   10881     hardcode_into_libs=yes
   10882     ;;
   10883   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10884   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10885     shlibpath_overrides_runpath=no
   10886     hardcode_into_libs=yes
   10887     ;;
   10888   *) # from 4.6 on, and DragonFly
   10889     shlibpath_overrides_runpath=yes
   10890     hardcode_into_libs=yes
   10891     ;;
   10892   esac
   10893   ;;
   10894 
   10895 gnu*)
   10896   version_type=linux
   10897   need_lib_prefix=no
   10898   need_version=no
   10899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10900   soname_spec='${libname}${release}${shared_ext}$major'
   10901   shlibpath_var=LD_LIBRARY_PATH
   10902   hardcode_into_libs=yes
   10903   ;;
   10904 
   10905 hpux9* | hpux10* | hpux11*)
   10906   # Give a soname corresponding to the major version so that dld.sl refuses to
   10907   # link against other versions.
   10908   version_type=sunos
   10909   need_lib_prefix=no
   10910   need_version=no
   10911   case $host_cpu in
   10912   ia64*)
   10913     shrext_cmds='.so'
   10914     hardcode_into_libs=yes
   10915     dynamic_linker="$host_os dld.so"
   10916     shlibpath_var=LD_LIBRARY_PATH
   10917     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10918     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10919     soname_spec='${libname}${release}${shared_ext}$major'
   10920     if test "X$HPUX_IA64_MODE" = X32; then
   10921       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10922     else
   10923       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10924     fi
   10925     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10926     ;;
   10927   hppa*64*)
   10928     shrext_cmds='.sl'
   10929     hardcode_into_libs=yes
   10930     dynamic_linker="$host_os dld.sl"
   10931     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10932     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10933     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10934     soname_spec='${libname}${release}${shared_ext}$major'
   10935     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10936     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10937     ;;
   10938   *)
   10939     shrext_cmds='.sl'
   10940     dynamic_linker="$host_os dld.sl"
   10941     shlibpath_var=SHLIB_PATH
   10942     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10943     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10944     soname_spec='${libname}${release}${shared_ext}$major'
   10945     ;;
   10946   esac
   10947   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10948   postinstall_cmds='chmod 555 $lib'
   10949   ;;
   10950 
   10951 interix[3-9]*)
   10952   version_type=linux
   10953   need_lib_prefix=no
   10954   need_version=no
   10955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10956   soname_spec='${libname}${release}${shared_ext}$major'
   10957   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10958   shlibpath_var=LD_LIBRARY_PATH
   10959   shlibpath_overrides_runpath=no
   10960   hardcode_into_libs=yes
   10961   ;;
   10962 
   10963 irix5* | irix6* | nonstopux*)
   10964   case $host_os in
   10965     nonstopux*) version_type=nonstopux ;;
   10966     *)
   10967 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10968 		version_type=linux
   10969 	else
   10970 		version_type=irix
   10971 	fi ;;
   10972   esac
   10973   need_lib_prefix=no
   10974   need_version=no
   10975   soname_spec='${libname}${release}${shared_ext}$major'
   10976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10977   case $host_os in
   10978   irix5* | nonstopux*)
   10979     libsuff= shlibsuff=
   10980     ;;
   10981   *)
   10982     case $LD in # libtool.m4 will add one of these switches to LD
   10983     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10984       libsuff= shlibsuff= libmagic=32-bit;;
   10985     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10986       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10987     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10988       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10989     *) libsuff= shlibsuff= libmagic=never-match;;
   10990     esac
   10991     ;;
   10992   esac
   10993   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10994   shlibpath_overrides_runpath=no
   10995   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10996   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10997   hardcode_into_libs=yes
   10998   ;;
   10999 
   11000 # No shared lib support for Linux oldld, aout, or coff.
   11001 linux*oldld* | linux*aout* | linux*coff*)
   11002   dynamic_linker=no
   11003   ;;
   11004 
   11005 # This must be Linux ELF.
   11006 linux* | k*bsd*-gnu)
   11007   version_type=linux
   11008   need_lib_prefix=no
   11009   need_version=no
   11010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11011   soname_spec='${libname}${release}${shared_ext}$major'
   11012   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11013   shlibpath_var=LD_LIBRARY_PATH
   11014   shlibpath_overrides_runpath=no
   11015   # Some binutils ld are patched to set DT_RUNPATH
   11016   save_LDFLAGS=$LDFLAGS
   11017   save_libdir=$libdir
   11018   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11019        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11020   cat >conftest.$ac_ext <<_ACEOF
   11021 /* confdefs.h.  */
   11022 _ACEOF
   11023 cat confdefs.h >>conftest.$ac_ext
   11024 cat >>conftest.$ac_ext <<_ACEOF
   11025 /* end confdefs.h.  */
   11026 
   11027 int
   11028 main ()
   11029 {
   11030 
   11031   ;
   11032   return 0;
   11033 }
   11034 _ACEOF
   11035 rm -f conftest.$ac_objext conftest$ac_exeext
   11036 if { (ac_try="$ac_link"
   11037 case "(($ac_try" in
   11038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11039   *) ac_try_echo=$ac_try;;
   11040 esac
   11041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11042 $as_echo "$ac_try_echo") >&5
   11043   (eval "$ac_link") 2>conftest.er1
   11044   ac_status=$?
   11045   grep -v '^ *+' conftest.er1 >conftest.err
   11046   rm -f conftest.er1
   11047   cat conftest.err >&5
   11048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11049   (exit $ac_status); } && {
   11050 	 test -z "$ac_c_werror_flag" ||
   11051 	 test ! -s conftest.err
   11052        } && test -s conftest$ac_exeext && {
   11053 	 test "$cross_compiling" = yes ||
   11054 	 $as_test_x conftest$ac_exeext
   11055        }; then
   11056   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   11057   shlibpath_overrides_runpath=yes
   11058 fi
   11059 
   11060 else
   11061   $as_echo "$as_me: failed program was:" >&5
   11062 sed 's/^/| /' conftest.$ac_ext >&5
   11063 
   11064 
   11065 fi
   11066 
   11067 rm -rf conftest.dSYM
   11068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11069       conftest$ac_exeext conftest.$ac_ext
   11070   LDFLAGS=$save_LDFLAGS
   11071   libdir=$save_libdir
   11072 
   11073   # This implies no fast_install, which is unacceptable.
   11074   # Some rework will be needed to allow for fast_install
   11075   # before this can be enabled.
   11076   hardcode_into_libs=yes
   11077 
   11078   # Add ABI-specific directories to the system library path.
   11079   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11080 
   11081   # Append ld.so.conf contents to the search path
   11082   if test -f /etc/ld.so.conf; then
   11083     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' ' '`
   11084     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11085   fi
   11086 
   11087   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11088   # powerpc, because MkLinux only supported shared libraries with the
   11089   # GNU dynamic linker.  Since this was broken with cross compilers,
   11090   # most powerpc-linux boxes support dynamic linking these days and
   11091   # people can always --disable-shared, the test was removed, and we
   11092   # assume the GNU/Linux dynamic linker is in use.
   11093   dynamic_linker='GNU/Linux ld.so'
   11094   ;;
   11095 
   11096 netbsd*)
   11097   version_type=sunos
   11098   need_lib_prefix=no
   11099   need_version=no
   11100   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11101     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11102     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11103     dynamic_linker='NetBSD (a.out) ld.so'
   11104   else
   11105     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11106     soname_spec='${libname}${release}${shared_ext}$major'
   11107     dynamic_linker='NetBSD ld.elf_so'
   11108   fi
   11109   shlibpath_var=LD_LIBRARY_PATH
   11110   shlibpath_overrides_runpath=yes
   11111   hardcode_into_libs=yes
   11112   ;;
   11113 
   11114 newsos6)
   11115   version_type=linux
   11116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11117   shlibpath_var=LD_LIBRARY_PATH
   11118   shlibpath_overrides_runpath=yes
   11119   ;;
   11120 
   11121 *nto* | *qnx*)
   11122   version_type=qnx
   11123   need_lib_prefix=no
   11124   need_version=no
   11125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11126   soname_spec='${libname}${release}${shared_ext}$major'
   11127   shlibpath_var=LD_LIBRARY_PATH
   11128   shlibpath_overrides_runpath=no
   11129   hardcode_into_libs=yes
   11130   dynamic_linker='ldqnx.so'
   11131   ;;
   11132 
   11133 openbsd*)
   11134   version_type=sunos
   11135   sys_lib_dlsearch_path_spec="/usr/lib"
   11136   need_lib_prefix=no
   11137   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11138   case $host_os in
   11139     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11140     *)				need_version=no  ;;
   11141   esac
   11142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11143   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11144   shlibpath_var=LD_LIBRARY_PATH
   11145   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11146     case $host_os in
   11147       openbsd2.[89] | openbsd2.[89].*)
   11148 	shlibpath_overrides_runpath=no
   11149 	;;
   11150       *)
   11151 	shlibpath_overrides_runpath=yes
   11152 	;;
   11153       esac
   11154   else
   11155     shlibpath_overrides_runpath=yes
   11156   fi
   11157   ;;
   11158 
   11159 os2*)
   11160   libname_spec='$name'
   11161   shrext_cmds=".dll"
   11162   need_lib_prefix=no
   11163   library_names_spec='$libname${shared_ext} $libname.a'
   11164   dynamic_linker='OS/2 ld.exe'
   11165   shlibpath_var=LIBPATH
   11166   ;;
   11167 
   11168 osf3* | osf4* | osf5*)
   11169   version_type=osf
   11170   need_lib_prefix=no
   11171   need_version=no
   11172   soname_spec='${libname}${release}${shared_ext}$major'
   11173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11174   shlibpath_var=LD_LIBRARY_PATH
   11175   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11176   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11177   ;;
   11178 
   11179 rdos*)
   11180   dynamic_linker=no
   11181   ;;
   11182 
   11183 solaris*)
   11184   version_type=linux
   11185   need_lib_prefix=no
   11186   need_version=no
   11187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11188   soname_spec='${libname}${release}${shared_ext}$major'
   11189   shlibpath_var=LD_LIBRARY_PATH
   11190   shlibpath_overrides_runpath=yes
   11191   hardcode_into_libs=yes
   11192   # ldd complains unless libraries are executable
   11193   postinstall_cmds='chmod +x $lib'
   11194   ;;
   11195 
   11196 sunos4*)
   11197   version_type=sunos
   11198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11199   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11200   shlibpath_var=LD_LIBRARY_PATH
   11201   shlibpath_overrides_runpath=yes
   11202   if test "$with_gnu_ld" = yes; then
   11203     need_lib_prefix=no
   11204   fi
   11205   need_version=yes
   11206   ;;
   11207 
   11208 sysv4 | sysv4.3*)
   11209   version_type=linux
   11210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11211   soname_spec='${libname}${release}${shared_ext}$major'
   11212   shlibpath_var=LD_LIBRARY_PATH
   11213   case $host_vendor in
   11214     sni)
   11215       shlibpath_overrides_runpath=no
   11216       need_lib_prefix=no
   11217       runpath_var=LD_RUN_PATH
   11218       ;;
   11219     siemens)
   11220       need_lib_prefix=no
   11221       ;;
   11222     motorola)
   11223       need_lib_prefix=no
   11224       need_version=no
   11225       shlibpath_overrides_runpath=no
   11226       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11227       ;;
   11228   esac
   11229   ;;
   11230 
   11231 sysv4*MP*)
   11232   if test -d /usr/nec ;then
   11233     version_type=linux
   11234     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11235     soname_spec='$libname${shared_ext}.$major'
   11236     shlibpath_var=LD_LIBRARY_PATH
   11237   fi
   11238   ;;
   11239 
   11240 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11241   version_type=freebsd-elf
   11242   need_lib_prefix=no
   11243   need_version=no
   11244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11245   soname_spec='${libname}${release}${shared_ext}$major'
   11246   shlibpath_var=LD_LIBRARY_PATH
   11247   shlibpath_overrides_runpath=yes
   11248   hardcode_into_libs=yes
   11249   if test "$with_gnu_ld" = yes; then
   11250     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11251   else
   11252     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11253     case $host_os in
   11254       sco3.2v5*)
   11255         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11256 	;;
   11257     esac
   11258   fi
   11259   sys_lib_dlsearch_path_spec='/usr/lib'
   11260   ;;
   11261 
   11262 tpf*)
   11263   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11264   version_type=linux
   11265   need_lib_prefix=no
   11266   need_version=no
   11267   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11268   shlibpath_var=LD_LIBRARY_PATH
   11269   shlibpath_overrides_runpath=no
   11270   hardcode_into_libs=yes
   11271   ;;
   11272 
   11273 uts4*)
   11274   version_type=linux
   11275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11276   soname_spec='${libname}${release}${shared_ext}$major'
   11277   shlibpath_var=LD_LIBRARY_PATH
   11278   ;;
   11279 
   11280 *)
   11281   dynamic_linker=no
   11282   ;;
   11283 esac
   11284 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   11285 $as_echo "$dynamic_linker" >&6; }
   11286 test "$dynamic_linker" = no && can_build_shared=no
   11287 
   11288 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11289 if test "$GCC" = yes; then
   11290   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11291 fi
   11292 
   11293 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11294   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11295 fi
   11296 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11297   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11298 fi
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   11387 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11388 hardcode_action=
   11389 if test -n "$hardcode_libdir_flag_spec" ||
   11390    test -n "$runpath_var" ||
   11391    test "X$hardcode_automatic" = "Xyes" ; then
   11392 
   11393   # We can hardcode non-existent directories.
   11394   if test "$hardcode_direct" != no &&
   11395      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11396      # have to relink, otherwise we might link with an installed library
   11397      # when we should be linking with a yet-to-be-installed one
   11398      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11399      test "$hardcode_minus_L" != no; then
   11400     # Linking always hardcodes the temporary library directory.
   11401     hardcode_action=relink
   11402   else
   11403     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11404     hardcode_action=immediate
   11405   fi
   11406 else
   11407   # We cannot hardcode anything, or else we can only hardcode existing
   11408   # directories.
   11409   hardcode_action=unsupported
   11410 fi
   11411 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   11412 $as_echo "$hardcode_action" >&6; }
   11413 
   11414 if test "$hardcode_action" = relink ||
   11415    test "$inherit_rpath" = yes; then
   11416   # Fast installation is not supported
   11417   enable_fast_install=no
   11418 elif test "$shlibpath_overrides_runpath" = yes ||
   11419      test "$enable_shared" = no; then
   11420   # Fast installation is not necessary
   11421   enable_fast_install=needless
   11422 fi
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429   if test "x$enable_dlopen" != xyes; then
   11430   enable_dlopen=unknown
   11431   enable_dlopen_self=unknown
   11432   enable_dlopen_self_static=unknown
   11433 else
   11434   lt_cv_dlopen=no
   11435   lt_cv_dlopen_libs=
   11436 
   11437   case $host_os in
   11438   beos*)
   11439     lt_cv_dlopen="load_add_on"
   11440     lt_cv_dlopen_libs=
   11441     lt_cv_dlopen_self=yes
   11442     ;;
   11443 
   11444   mingw* | pw32* | cegcc*)
   11445     lt_cv_dlopen="LoadLibrary"
   11446     lt_cv_dlopen_libs=
   11447     ;;
   11448 
   11449   cygwin*)
   11450     lt_cv_dlopen="dlopen"
   11451     lt_cv_dlopen_libs=
   11452     ;;
   11453 
   11454   darwin*)
   11455   # if libdl is installed we need to link against it
   11456     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11458 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11459   $as_echo_n "(cached) " >&6
   11460 else
   11461   ac_check_lib_save_LIBS=$LIBS
   11462 LIBS="-ldl  $LIBS"
   11463 cat >conftest.$ac_ext <<_ACEOF
   11464 /* confdefs.h.  */
   11465 _ACEOF
   11466 cat confdefs.h >>conftest.$ac_ext
   11467 cat >>conftest.$ac_ext <<_ACEOF
   11468 /* end confdefs.h.  */
   11469 
   11470 /* Override any GCC internal prototype to avoid an error.
   11471    Use char because int might match the return type of a GCC
   11472    builtin and then its argument prototype would still apply.  */
   11473 #ifdef __cplusplus
   11474 extern "C"
   11475 #endif
   11476 char dlopen ();
   11477 int
   11478 main ()
   11479 {
   11480 return dlopen ();
   11481   ;
   11482   return 0;
   11483 }
   11484 _ACEOF
   11485 rm -f conftest.$ac_objext conftest$ac_exeext
   11486 if { (ac_try="$ac_link"
   11487 case "(($ac_try" in
   11488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11489   *) ac_try_echo=$ac_try;;
   11490 esac
   11491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11492 $as_echo "$ac_try_echo") >&5
   11493   (eval "$ac_link") 2>conftest.er1
   11494   ac_status=$?
   11495   grep -v '^ *+' conftest.er1 >conftest.err
   11496   rm -f conftest.er1
   11497   cat conftest.err >&5
   11498   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11499   (exit $ac_status); } && {
   11500 	 test -z "$ac_c_werror_flag" ||
   11501 	 test ! -s conftest.err
   11502        } && test -s conftest$ac_exeext && {
   11503 	 test "$cross_compiling" = yes ||
   11504 	 $as_test_x conftest$ac_exeext
   11505        }; then
   11506   ac_cv_lib_dl_dlopen=yes
   11507 else
   11508   $as_echo "$as_me: failed program was:" >&5
   11509 sed 's/^/| /' conftest.$ac_ext >&5
   11510 
   11511 	ac_cv_lib_dl_dlopen=no
   11512 fi
   11513 
   11514 rm -rf conftest.dSYM
   11515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11516       conftest$ac_exeext conftest.$ac_ext
   11517 LIBS=$ac_check_lib_save_LIBS
   11518 fi
   11519 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11520 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11521 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11522   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11523 else
   11524 
   11525     lt_cv_dlopen="dyld"
   11526     lt_cv_dlopen_libs=
   11527     lt_cv_dlopen_self=yes
   11528 
   11529 fi
   11530 
   11531     ;;
   11532 
   11533   *)
   11534     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   11535 $as_echo_n "checking for shl_load... " >&6; }
   11536 if test "${ac_cv_func_shl_load+set}" = set; then
   11537   $as_echo_n "(cached) " >&6
   11538 else
   11539   cat >conftest.$ac_ext <<_ACEOF
   11540 /* confdefs.h.  */
   11541 _ACEOF
   11542 cat confdefs.h >>conftest.$ac_ext
   11543 cat >>conftest.$ac_ext <<_ACEOF
   11544 /* end confdefs.h.  */
   11545 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   11546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11547 #define shl_load innocuous_shl_load
   11548 
   11549 /* System header to define __stub macros and hopefully few prototypes,
   11550     which can conflict with char shl_load (); below.
   11551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11552     <limits.h> exists even on freestanding compilers.  */
   11553 
   11554 #ifdef __STDC__
   11555 # include <limits.h>
   11556 #else
   11557 # include <assert.h>
   11558 #endif
   11559 
   11560 #undef shl_load
   11561 
   11562 /* Override any GCC internal prototype to avoid an error.
   11563    Use char because int might match the return type of a GCC
   11564    builtin and then its argument prototype would still apply.  */
   11565 #ifdef __cplusplus
   11566 extern "C"
   11567 #endif
   11568 char shl_load ();
   11569 /* The GNU C library defines this for functions which it implements
   11570     to always fail with ENOSYS.  Some functions are actually named
   11571     something starting with __ and the normal name is an alias.  */
   11572 #if defined __stub_shl_load || defined __stub___shl_load
   11573 choke me
   11574 #endif
   11575 
   11576 int
   11577 main ()
   11578 {
   11579 return shl_load ();
   11580   ;
   11581   return 0;
   11582 }
   11583 _ACEOF
   11584 rm -f conftest.$ac_objext conftest$ac_exeext
   11585 if { (ac_try="$ac_link"
   11586 case "(($ac_try" in
   11587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11588   *) ac_try_echo=$ac_try;;
   11589 esac
   11590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11591 $as_echo "$ac_try_echo") >&5
   11592   (eval "$ac_link") 2>conftest.er1
   11593   ac_status=$?
   11594   grep -v '^ *+' conftest.er1 >conftest.err
   11595   rm -f conftest.er1
   11596   cat conftest.err >&5
   11597   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11598   (exit $ac_status); } && {
   11599 	 test -z "$ac_c_werror_flag" ||
   11600 	 test ! -s conftest.err
   11601        } && test -s conftest$ac_exeext && {
   11602 	 test "$cross_compiling" = yes ||
   11603 	 $as_test_x conftest$ac_exeext
   11604        }; then
   11605   ac_cv_func_shl_load=yes
   11606 else
   11607   $as_echo "$as_me: failed program was:" >&5
   11608 sed 's/^/| /' conftest.$ac_ext >&5
   11609 
   11610 	ac_cv_func_shl_load=no
   11611 fi
   11612 
   11613 rm -rf conftest.dSYM
   11614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11615       conftest$ac_exeext conftest.$ac_ext
   11616 fi
   11617 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   11618 $as_echo "$ac_cv_func_shl_load" >&6; }
   11619 if test "x$ac_cv_func_shl_load" = x""yes; then
   11620   lt_cv_dlopen="shl_load"
   11621 else
   11622   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   11623 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11624 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   11625   $as_echo_n "(cached) " >&6
   11626 else
   11627   ac_check_lib_save_LIBS=$LIBS
   11628 LIBS="-ldld  $LIBS"
   11629 cat >conftest.$ac_ext <<_ACEOF
   11630 /* confdefs.h.  */
   11631 _ACEOF
   11632 cat confdefs.h >>conftest.$ac_ext
   11633 cat >>conftest.$ac_ext <<_ACEOF
   11634 /* end confdefs.h.  */
   11635 
   11636 /* Override any GCC internal prototype to avoid an error.
   11637    Use char because int might match the return type of a GCC
   11638    builtin and then its argument prototype would still apply.  */
   11639 #ifdef __cplusplus
   11640 extern "C"
   11641 #endif
   11642 char shl_load ();
   11643 int
   11644 main ()
   11645 {
   11646 return shl_load ();
   11647   ;
   11648   return 0;
   11649 }
   11650 _ACEOF
   11651 rm -f conftest.$ac_objext conftest$ac_exeext
   11652 if { (ac_try="$ac_link"
   11653 case "(($ac_try" in
   11654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11655   *) ac_try_echo=$ac_try;;
   11656 esac
   11657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11658 $as_echo "$ac_try_echo") >&5
   11659   (eval "$ac_link") 2>conftest.er1
   11660   ac_status=$?
   11661   grep -v '^ *+' conftest.er1 >conftest.err
   11662   rm -f conftest.er1
   11663   cat conftest.err >&5
   11664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11665   (exit $ac_status); } && {
   11666 	 test -z "$ac_c_werror_flag" ||
   11667 	 test ! -s conftest.err
   11668        } && test -s conftest$ac_exeext && {
   11669 	 test "$cross_compiling" = yes ||
   11670 	 $as_test_x conftest$ac_exeext
   11671        }; then
   11672   ac_cv_lib_dld_shl_load=yes
   11673 else
   11674   $as_echo "$as_me: failed program was:" >&5
   11675 sed 's/^/| /' conftest.$ac_ext >&5
   11676 
   11677 	ac_cv_lib_dld_shl_load=no
   11678 fi
   11679 
   11680 rm -rf conftest.dSYM
   11681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11682       conftest$ac_exeext conftest.$ac_ext
   11683 LIBS=$ac_check_lib_save_LIBS
   11684 fi
   11685 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   11686 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11687 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   11688   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11689 else
   11690   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   11691 $as_echo_n "checking for dlopen... " >&6; }
   11692 if test "${ac_cv_func_dlopen+set}" = set; then
   11693   $as_echo_n "(cached) " >&6
   11694 else
   11695   cat >conftest.$ac_ext <<_ACEOF
   11696 /* confdefs.h.  */
   11697 _ACEOF
   11698 cat confdefs.h >>conftest.$ac_ext
   11699 cat >>conftest.$ac_ext <<_ACEOF
   11700 /* end confdefs.h.  */
   11701 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   11702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11703 #define dlopen innocuous_dlopen
   11704 
   11705 /* System header to define __stub macros and hopefully few prototypes,
   11706     which can conflict with char dlopen (); below.
   11707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11708     <limits.h> exists even on freestanding compilers.  */
   11709 
   11710 #ifdef __STDC__
   11711 # include <limits.h>
   11712 #else
   11713 # include <assert.h>
   11714 #endif
   11715 
   11716 #undef dlopen
   11717 
   11718 /* Override any GCC internal prototype to avoid an error.
   11719    Use char because int might match the return type of a GCC
   11720    builtin and then its argument prototype would still apply.  */
   11721 #ifdef __cplusplus
   11722 extern "C"
   11723 #endif
   11724 char dlopen ();
   11725 /* The GNU C library defines this for functions which it implements
   11726     to always fail with ENOSYS.  Some functions are actually named
   11727     something starting with __ and the normal name is an alias.  */
   11728 #if defined __stub_dlopen || defined __stub___dlopen
   11729 choke me
   11730 #endif
   11731 
   11732 int
   11733 main ()
   11734 {
   11735 return dlopen ();
   11736   ;
   11737   return 0;
   11738 }
   11739 _ACEOF
   11740 rm -f conftest.$ac_objext conftest$ac_exeext
   11741 if { (ac_try="$ac_link"
   11742 case "(($ac_try" in
   11743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11744   *) ac_try_echo=$ac_try;;
   11745 esac
   11746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11747 $as_echo "$ac_try_echo") >&5
   11748   (eval "$ac_link") 2>conftest.er1
   11749   ac_status=$?
   11750   grep -v '^ *+' conftest.er1 >conftest.err
   11751   rm -f conftest.er1
   11752   cat conftest.err >&5
   11753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11754   (exit $ac_status); } && {
   11755 	 test -z "$ac_c_werror_flag" ||
   11756 	 test ! -s conftest.err
   11757        } && test -s conftest$ac_exeext && {
   11758 	 test "$cross_compiling" = yes ||
   11759 	 $as_test_x conftest$ac_exeext
   11760        }; then
   11761   ac_cv_func_dlopen=yes
   11762 else
   11763   $as_echo "$as_me: failed program was:" >&5
   11764 sed 's/^/| /' conftest.$ac_ext >&5
   11765 
   11766 	ac_cv_func_dlopen=no
   11767 fi
   11768 
   11769 rm -rf conftest.dSYM
   11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11771       conftest$ac_exeext conftest.$ac_ext
   11772 fi
   11773 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   11774 $as_echo "$ac_cv_func_dlopen" >&6; }
   11775 if test "x$ac_cv_func_dlopen" = x""yes; then
   11776   lt_cv_dlopen="dlopen"
   11777 else
   11778   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11779 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11780 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11781   $as_echo_n "(cached) " >&6
   11782 else
   11783   ac_check_lib_save_LIBS=$LIBS
   11784 LIBS="-ldl  $LIBS"
   11785 cat >conftest.$ac_ext <<_ACEOF
   11786 /* confdefs.h.  */
   11787 _ACEOF
   11788 cat confdefs.h >>conftest.$ac_ext
   11789 cat >>conftest.$ac_ext <<_ACEOF
   11790 /* end confdefs.h.  */
   11791 
   11792 /* Override any GCC internal prototype to avoid an error.
   11793    Use char because int might match the return type of a GCC
   11794    builtin and then its argument prototype would still apply.  */
   11795 #ifdef __cplusplus
   11796 extern "C"
   11797 #endif
   11798 char dlopen ();
   11799 int
   11800 main ()
   11801 {
   11802 return dlopen ();
   11803   ;
   11804   return 0;
   11805 }
   11806 _ACEOF
   11807 rm -f conftest.$ac_objext conftest$ac_exeext
   11808 if { (ac_try="$ac_link"
   11809 case "(($ac_try" in
   11810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11811   *) ac_try_echo=$ac_try;;
   11812 esac
   11813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11814 $as_echo "$ac_try_echo") >&5
   11815   (eval "$ac_link") 2>conftest.er1
   11816   ac_status=$?
   11817   grep -v '^ *+' conftest.er1 >conftest.err
   11818   rm -f conftest.er1
   11819   cat conftest.err >&5
   11820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11821   (exit $ac_status); } && {
   11822 	 test -z "$ac_c_werror_flag" ||
   11823 	 test ! -s conftest.err
   11824        } && test -s conftest$ac_exeext && {
   11825 	 test "$cross_compiling" = yes ||
   11826 	 $as_test_x conftest$ac_exeext
   11827        }; then
   11828   ac_cv_lib_dl_dlopen=yes
   11829 else
   11830   $as_echo "$as_me: failed program was:" >&5
   11831 sed 's/^/| /' conftest.$ac_ext >&5
   11832 
   11833 	ac_cv_lib_dl_dlopen=no
   11834 fi
   11835 
   11836 rm -rf conftest.dSYM
   11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11838       conftest$ac_exeext conftest.$ac_ext
   11839 LIBS=$ac_check_lib_save_LIBS
   11840 fi
   11841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11842 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11843 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11844   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11845 else
   11846   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11847 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11848 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11849   $as_echo_n "(cached) " >&6
   11850 else
   11851   ac_check_lib_save_LIBS=$LIBS
   11852 LIBS="-lsvld  $LIBS"
   11853 cat >conftest.$ac_ext <<_ACEOF
   11854 /* confdefs.h.  */
   11855 _ACEOF
   11856 cat confdefs.h >>conftest.$ac_ext
   11857 cat >>conftest.$ac_ext <<_ACEOF
   11858 /* end confdefs.h.  */
   11859 
   11860 /* Override any GCC internal prototype to avoid an error.
   11861    Use char because int might match the return type of a GCC
   11862    builtin and then its argument prototype would still apply.  */
   11863 #ifdef __cplusplus
   11864 extern "C"
   11865 #endif
   11866 char dlopen ();
   11867 int
   11868 main ()
   11869 {
   11870 return dlopen ();
   11871   ;
   11872   return 0;
   11873 }
   11874 _ACEOF
   11875 rm -f conftest.$ac_objext conftest$ac_exeext
   11876 if { (ac_try="$ac_link"
   11877 case "(($ac_try" in
   11878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11879   *) ac_try_echo=$ac_try;;
   11880 esac
   11881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11882 $as_echo "$ac_try_echo") >&5
   11883   (eval "$ac_link") 2>conftest.er1
   11884   ac_status=$?
   11885   grep -v '^ *+' conftest.er1 >conftest.err
   11886   rm -f conftest.er1
   11887   cat conftest.err >&5
   11888   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11889   (exit $ac_status); } && {
   11890 	 test -z "$ac_c_werror_flag" ||
   11891 	 test ! -s conftest.err
   11892        } && test -s conftest$ac_exeext && {
   11893 	 test "$cross_compiling" = yes ||
   11894 	 $as_test_x conftest$ac_exeext
   11895        }; then
   11896   ac_cv_lib_svld_dlopen=yes
   11897 else
   11898   $as_echo "$as_me: failed program was:" >&5
   11899 sed 's/^/| /' conftest.$ac_ext >&5
   11900 
   11901 	ac_cv_lib_svld_dlopen=no
   11902 fi
   11903 
   11904 rm -rf conftest.dSYM
   11905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11906       conftest$ac_exeext conftest.$ac_ext
   11907 LIBS=$ac_check_lib_save_LIBS
   11908 fi
   11909 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11910 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11911 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   11912   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11913 else
   11914   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11915 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11916 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11917   $as_echo_n "(cached) " >&6
   11918 else
   11919   ac_check_lib_save_LIBS=$LIBS
   11920 LIBS="-ldld  $LIBS"
   11921 cat >conftest.$ac_ext <<_ACEOF
   11922 /* confdefs.h.  */
   11923 _ACEOF
   11924 cat confdefs.h >>conftest.$ac_ext
   11925 cat >>conftest.$ac_ext <<_ACEOF
   11926 /* end confdefs.h.  */
   11927 
   11928 /* Override any GCC internal prototype to avoid an error.
   11929    Use char because int might match the return type of a GCC
   11930    builtin and then its argument prototype would still apply.  */
   11931 #ifdef __cplusplus
   11932 extern "C"
   11933 #endif
   11934 char dld_link ();
   11935 int
   11936 main ()
   11937 {
   11938 return dld_link ();
   11939   ;
   11940   return 0;
   11941 }
   11942 _ACEOF
   11943 rm -f conftest.$ac_objext conftest$ac_exeext
   11944 if { (ac_try="$ac_link"
   11945 case "(($ac_try" in
   11946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11947   *) ac_try_echo=$ac_try;;
   11948 esac
   11949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11950 $as_echo "$ac_try_echo") >&5
   11951   (eval "$ac_link") 2>conftest.er1
   11952   ac_status=$?
   11953   grep -v '^ *+' conftest.er1 >conftest.err
   11954   rm -f conftest.er1
   11955   cat conftest.err >&5
   11956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11957   (exit $ac_status); } && {
   11958 	 test -z "$ac_c_werror_flag" ||
   11959 	 test ! -s conftest.err
   11960        } && test -s conftest$ac_exeext && {
   11961 	 test "$cross_compiling" = yes ||
   11962 	 $as_test_x conftest$ac_exeext
   11963        }; then
   11964   ac_cv_lib_dld_dld_link=yes
   11965 else
   11966   $as_echo "$as_me: failed program was:" >&5
   11967 sed 's/^/| /' conftest.$ac_ext >&5
   11968 
   11969 	ac_cv_lib_dld_dld_link=no
   11970 fi
   11971 
   11972 rm -rf conftest.dSYM
   11973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11974       conftest$ac_exeext conftest.$ac_ext
   11975 LIBS=$ac_check_lib_save_LIBS
   11976 fi
   11977 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11978 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11979 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   11980   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11981 fi
   11982 
   11983 
   11984 fi
   11985 
   11986 
   11987 fi
   11988 
   11989 
   11990 fi
   11991 
   11992 
   11993 fi
   11994 
   11995 
   11996 fi
   11997 
   11998     ;;
   11999   esac
   12000 
   12001   if test "x$lt_cv_dlopen" != xno; then
   12002     enable_dlopen=yes
   12003   else
   12004     enable_dlopen=no
   12005   fi
   12006 
   12007   case $lt_cv_dlopen in
   12008   dlopen)
   12009     save_CPPFLAGS="$CPPFLAGS"
   12010     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12011 
   12012     save_LDFLAGS="$LDFLAGS"
   12013     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12014 
   12015     save_LIBS="$LIBS"
   12016     LIBS="$lt_cv_dlopen_libs $LIBS"
   12017 
   12018     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   12019 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12020 if test "${lt_cv_dlopen_self+set}" = set; then
   12021   $as_echo_n "(cached) " >&6
   12022 else
   12023   	  if test "$cross_compiling" = yes; then :
   12024   lt_cv_dlopen_self=cross
   12025 else
   12026   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12027   lt_status=$lt_dlunknown
   12028   cat > conftest.$ac_ext <<_LT_EOF
   12029 #line 12029 "configure"
   12030 #include "confdefs.h"
   12031 
   12032 #if HAVE_DLFCN_H
   12033 #include <dlfcn.h>
   12034 #endif
   12035 
   12036 #include <stdio.h>
   12037 
   12038 #ifdef RTLD_GLOBAL
   12039 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12040 #else
   12041 #  ifdef DL_GLOBAL
   12042 #    define LT_DLGLOBAL		DL_GLOBAL
   12043 #  else
   12044 #    define LT_DLGLOBAL		0
   12045 #  endif
   12046 #endif
   12047 
   12048 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12049    find out it does not work in some platform. */
   12050 #ifndef LT_DLLAZY_OR_NOW
   12051 #  ifdef RTLD_LAZY
   12052 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12053 #  else
   12054 #    ifdef DL_LAZY
   12055 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12056 #    else
   12057 #      ifdef RTLD_NOW
   12058 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12059 #      else
   12060 #        ifdef DL_NOW
   12061 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12062 #        else
   12063 #          define LT_DLLAZY_OR_NOW	0
   12064 #        endif
   12065 #      endif
   12066 #    endif
   12067 #  endif
   12068 #endif
   12069 
   12070 void fnord() { int i=42;}
   12071 int main ()
   12072 {
   12073   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12074   int status = $lt_dlunknown;
   12075 
   12076   if (self)
   12077     {
   12078       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12079       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   12080       /* dlclose (self); */
   12081     }
   12082   else
   12083     puts (dlerror ());
   12084 
   12085   return status;
   12086 }
   12087 _LT_EOF
   12088   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12089   (eval $ac_link) 2>&5
   12090   ac_status=$?
   12091   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12092   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   12093     (./conftest; exit; ) >&5 2>/dev/null
   12094     lt_status=$?
   12095     case x$lt_status in
   12096       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12097       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12098       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12099     esac
   12100   else :
   12101     # compilation failed
   12102     lt_cv_dlopen_self=no
   12103   fi
   12104 fi
   12105 rm -fr conftest*
   12106 
   12107 
   12108 fi
   12109 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   12110 $as_echo "$lt_cv_dlopen_self" >&6; }
   12111 
   12112     if test "x$lt_cv_dlopen_self" = xyes; then
   12113       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12114       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   12115 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12116 if test "${lt_cv_dlopen_self_static+set}" = set; then
   12117   $as_echo_n "(cached) " >&6
   12118 else
   12119   	  if test "$cross_compiling" = yes; then :
   12120   lt_cv_dlopen_self_static=cross
   12121 else
   12122   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12123   lt_status=$lt_dlunknown
   12124   cat > conftest.$ac_ext <<_LT_EOF
   12125 #line 12125 "configure"
   12126 #include "confdefs.h"
   12127 
   12128 #if HAVE_DLFCN_H
   12129 #include <dlfcn.h>
   12130 #endif
   12131 
   12132 #include <stdio.h>
   12133 
   12134 #ifdef RTLD_GLOBAL
   12135 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12136 #else
   12137 #  ifdef DL_GLOBAL
   12138 #    define LT_DLGLOBAL		DL_GLOBAL
   12139 #  else
   12140 #    define LT_DLGLOBAL		0
   12141 #  endif
   12142 #endif
   12143 
   12144 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12145    find out it does not work in some platform. */
   12146 #ifndef LT_DLLAZY_OR_NOW
   12147 #  ifdef RTLD_LAZY
   12148 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12149 #  else
   12150 #    ifdef DL_LAZY
   12151 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12152 #    else
   12153 #      ifdef RTLD_NOW
   12154 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12155 #      else
   12156 #        ifdef DL_NOW
   12157 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12158 #        else
   12159 #          define LT_DLLAZY_OR_NOW	0
   12160 #        endif
   12161 #      endif
   12162 #    endif
   12163 #  endif
   12164 #endif
   12165 
   12166 void fnord() { int i=42;}
   12167 int main ()
   12168 {
   12169   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12170   int status = $lt_dlunknown;
   12171 
   12172   if (self)
   12173     {
   12174       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12175       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   12176       /* dlclose (self); */
   12177     }
   12178   else
   12179     puts (dlerror ());
   12180 
   12181   return status;
   12182 }
   12183 _LT_EOF
   12184   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12185   (eval $ac_link) 2>&5
   12186   ac_status=$?
   12187   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12188   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   12189     (./conftest; exit; ) >&5 2>/dev/null
   12190     lt_status=$?
   12191     case x$lt_status in
   12192       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12193       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12194       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12195     esac
   12196   else :
   12197     # compilation failed
   12198     lt_cv_dlopen_self_static=no
   12199   fi
   12200 fi
   12201 rm -fr conftest*
   12202 
   12203 
   12204 fi
   12205 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   12206 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12207     fi
   12208 
   12209     CPPFLAGS="$save_CPPFLAGS"
   12210     LDFLAGS="$save_LDFLAGS"
   12211     LIBS="$save_LIBS"
   12212     ;;
   12213   esac
   12214 
   12215   case $lt_cv_dlopen_self in
   12216   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12217   *) enable_dlopen_self=unknown ;;
   12218   esac
   12219 
   12220   case $lt_cv_dlopen_self_static in
   12221   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12222   *) enable_dlopen_self_static=unknown ;;
   12223   esac
   12224 fi
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 striplib=
   12243 old_striplib=
   12244 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   12245 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12246 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12247   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12248   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12249   { $as_echo "$as_me:$LINENO: result: yes" >&5
   12250 $as_echo "yes" >&6; }
   12251 else
   12252 # FIXME - insert some real tests, host_os isn't really good enough
   12253   case $host_os in
   12254   darwin*)
   12255     if test -n "$STRIP" ; then
   12256       striplib="$STRIP -x"
   12257       old_striplib="$STRIP -S"
   12258       { $as_echo "$as_me:$LINENO: result: yes" >&5
   12259 $as_echo "yes" >&6; }
   12260     else
   12261       { $as_echo "$as_me:$LINENO: result: no" >&5
   12262 $as_echo "no" >&6; }
   12263     fi
   12264     ;;
   12265   *)
   12266     { $as_echo "$as_me:$LINENO: result: no" >&5
   12267 $as_echo "no" >&6; }
   12268     ;;
   12269   esac
   12270 fi
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283   # Report which library types will actually be built
   12284   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   12285 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12286   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   12287 $as_echo "$can_build_shared" >&6; }
   12288 
   12289   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   12290 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12291   test "$can_build_shared" = "no" && enable_shared=no
   12292 
   12293   # On AIX, shared libraries and static libraries use the same namespace, and
   12294   # are all built from PIC.
   12295   case $host_os in
   12296   aix3*)
   12297     test "$enable_shared" = yes && enable_static=no
   12298     if test -n "$RANLIB"; then
   12299       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12300       postinstall_cmds='$RANLIB $lib'
   12301     fi
   12302     ;;
   12303 
   12304   aix[4-9]*)
   12305     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12306       test "$enable_shared" = yes && enable_static=no
   12307     fi
   12308     ;;
   12309   esac
   12310   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   12311 $as_echo "$enable_shared" >&6; }
   12312 
   12313   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   12314 $as_echo_n "checking whether to build static libraries... " >&6; }
   12315   # Make sure either enable_shared or enable_static is yes.
   12316   test "$enable_shared" = yes || enable_static=yes
   12317   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   12318 $as_echo "$enable_static" >&6; }
   12319 
   12320 
   12321 
   12322 
   12323 fi
   12324 ac_ext=c
   12325 ac_cpp='$CPP $CPPFLAGS'
   12326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12329 
   12330 CC="$lt_save_CC"
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344         ac_config_commands="$ac_config_commands libtool"
   12345 
   12346 
   12347 
   12348 
   12349 # Only expand once:
   12350 
   12351 
   12352 ac_ext=c
   12353 ac_cpp='$CPP $CPPFLAGS'
   12354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12357 if test -n "$ac_tool_prefix"; then
   12358   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   12359 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   12360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12361 $as_echo_n "checking for $ac_word... " >&6; }
   12362 if test "${ac_cv_prog_CC+set}" = set; then
   12363   $as_echo_n "(cached) " >&6
   12364 else
   12365   if test -n "$CC"; then
   12366   ac_cv_prog_CC="$CC" # Let the user override the test.
   12367 else
   12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12369 for as_dir in $PATH
   12370 do
   12371   IFS=$as_save_IFS
   12372   test -z "$as_dir" && as_dir=.
   12373   for ac_exec_ext in '' $ac_executable_extensions; do
   12374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12375     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   12376     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12377     break 2
   12378   fi
   12379 done
   12380 done
   12381 IFS=$as_save_IFS
   12382 
   12383 fi
   12384 fi
   12385 CC=$ac_cv_prog_CC
   12386 if test -n "$CC"; then
   12387   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12388 $as_echo "$CC" >&6; }
   12389 else
   12390   { $as_echo "$as_me:$LINENO: result: no" >&5
   12391 $as_echo "no" >&6; }
   12392 fi
   12393 
   12394 
   12395 fi
   12396 if test -z "$ac_cv_prog_CC"; then
   12397   ac_ct_CC=$CC
   12398   # Extract the first word of "gcc", so it can be a program name with args.
   12399 set dummy gcc; ac_word=$2
   12400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12401 $as_echo_n "checking for $ac_word... " >&6; }
   12402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12403   $as_echo_n "(cached) " >&6
   12404 else
   12405   if test -n "$ac_ct_CC"; then
   12406   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12407 else
   12408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12409 for as_dir in $PATH
   12410 do
   12411   IFS=$as_save_IFS
   12412   test -z "$as_dir" && as_dir=.
   12413   for ac_exec_ext in '' $ac_executable_extensions; do
   12414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12415     ac_cv_prog_ac_ct_CC="gcc"
   12416     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12417     break 2
   12418   fi
   12419 done
   12420 done
   12421 IFS=$as_save_IFS
   12422 
   12423 fi
   12424 fi
   12425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12426 if test -n "$ac_ct_CC"; then
   12427   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12428 $as_echo "$ac_ct_CC" >&6; }
   12429 else
   12430   { $as_echo "$as_me:$LINENO: result: no" >&5
   12431 $as_echo "no" >&6; }
   12432 fi
   12433 
   12434   if test "x$ac_ct_CC" = x; then
   12435     CC=""
   12436   else
   12437     case $cross_compiling:$ac_tool_warned in
   12438 yes:)
   12439 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12441 ac_tool_warned=yes ;;
   12442 esac
   12443     CC=$ac_ct_CC
   12444   fi
   12445 else
   12446   CC="$ac_cv_prog_CC"
   12447 fi
   12448 
   12449 if test -z "$CC"; then
   12450           if test -n "$ac_tool_prefix"; then
   12451     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   12452 set dummy ${ac_tool_prefix}cc; ac_word=$2
   12453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12454 $as_echo_n "checking for $ac_word... " >&6; }
   12455 if test "${ac_cv_prog_CC+set}" = set; then
   12456   $as_echo_n "(cached) " >&6
   12457 else
   12458   if test -n "$CC"; then
   12459   ac_cv_prog_CC="$CC" # Let the user override the test.
   12460 else
   12461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12462 for as_dir in $PATH
   12463 do
   12464   IFS=$as_save_IFS
   12465   test -z "$as_dir" && as_dir=.
   12466   for ac_exec_ext in '' $ac_executable_extensions; do
   12467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12468     ac_cv_prog_CC="${ac_tool_prefix}cc"
   12469     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12470     break 2
   12471   fi
   12472 done
   12473 done
   12474 IFS=$as_save_IFS
   12475 
   12476 fi
   12477 fi
   12478 CC=$ac_cv_prog_CC
   12479 if test -n "$CC"; then
   12480   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12481 $as_echo "$CC" >&6; }
   12482 else
   12483   { $as_echo "$as_me:$LINENO: result: no" >&5
   12484 $as_echo "no" >&6; }
   12485 fi
   12486 
   12487 
   12488   fi
   12489 fi
   12490 if test -z "$CC"; then
   12491   # Extract the first word of "cc", so it can be a program name with args.
   12492 set dummy cc; ac_word=$2
   12493 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12494 $as_echo_n "checking for $ac_word... " >&6; }
   12495 if test "${ac_cv_prog_CC+set}" = set; then
   12496   $as_echo_n "(cached) " >&6
   12497 else
   12498   if test -n "$CC"; then
   12499   ac_cv_prog_CC="$CC" # Let the user override the test.
   12500 else
   12501   ac_prog_rejected=no
   12502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12503 for as_dir in $PATH
   12504 do
   12505   IFS=$as_save_IFS
   12506   test -z "$as_dir" && as_dir=.
   12507   for ac_exec_ext in '' $ac_executable_extensions; do
   12508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12509     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12510        ac_prog_rejected=yes
   12511        continue
   12512      fi
   12513     ac_cv_prog_CC="cc"
   12514     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12515     break 2
   12516   fi
   12517 done
   12518 done
   12519 IFS=$as_save_IFS
   12520 
   12521 if test $ac_prog_rejected = yes; then
   12522   # We found a bogon in the path, so make sure we never use it.
   12523   set dummy $ac_cv_prog_CC
   12524   shift
   12525   if test $# != 0; then
   12526     # We chose a different compiler from the bogus one.
   12527     # However, it has the same basename, so the bogon will be chosen
   12528     # first if we set CC to just the basename; use the full file name.
   12529     shift
   12530     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12531   fi
   12532 fi
   12533 fi
   12534 fi
   12535 CC=$ac_cv_prog_CC
   12536 if test -n "$CC"; then
   12537   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12538 $as_echo "$CC" >&6; }
   12539 else
   12540   { $as_echo "$as_me:$LINENO: result: no" >&5
   12541 $as_echo "no" >&6; }
   12542 fi
   12543 
   12544 
   12545 fi
   12546 if test -z "$CC"; then
   12547   if test -n "$ac_tool_prefix"; then
   12548   for ac_prog in cl.exe
   12549   do
   12550     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12553 $as_echo_n "checking for $ac_word... " >&6; }
   12554 if test "${ac_cv_prog_CC+set}" = set; then
   12555   $as_echo_n "(cached) " >&6
   12556 else
   12557   if test -n "$CC"; then
   12558   ac_cv_prog_CC="$CC" # Let the user override the test.
   12559 else
   12560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12561 for as_dir in $PATH
   12562 do
   12563   IFS=$as_save_IFS
   12564   test -z "$as_dir" && as_dir=.
   12565   for ac_exec_ext in '' $ac_executable_extensions; do
   12566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12567     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12568     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12569     break 2
   12570   fi
   12571 done
   12572 done
   12573 IFS=$as_save_IFS
   12574 
   12575 fi
   12576 fi
   12577 CC=$ac_cv_prog_CC
   12578 if test -n "$CC"; then
   12579   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12580 $as_echo "$CC" >&6; }
   12581 else
   12582   { $as_echo "$as_me:$LINENO: result: no" >&5
   12583 $as_echo "no" >&6; }
   12584 fi
   12585 
   12586 
   12587     test -n "$CC" && break
   12588   done
   12589 fi
   12590 if test -z "$CC"; then
   12591   ac_ct_CC=$CC
   12592   for ac_prog in cl.exe
   12593 do
   12594   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12595 set dummy $ac_prog; ac_word=$2
   12596 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12597 $as_echo_n "checking for $ac_word... " >&6; }
   12598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12599   $as_echo_n "(cached) " >&6
   12600 else
   12601   if test -n "$ac_ct_CC"; then
   12602   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12603 else
   12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12605 for as_dir in $PATH
   12606 do
   12607   IFS=$as_save_IFS
   12608   test -z "$as_dir" && as_dir=.
   12609   for ac_exec_ext in '' $ac_executable_extensions; do
   12610   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12611     ac_cv_prog_ac_ct_CC="$ac_prog"
   12612     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12613     break 2
   12614   fi
   12615 done
   12616 done
   12617 IFS=$as_save_IFS
   12618 
   12619 fi
   12620 fi
   12621 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12622 if test -n "$ac_ct_CC"; then
   12623   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12624 $as_echo "$ac_ct_CC" >&6; }
   12625 else
   12626   { $as_echo "$as_me:$LINENO: result: no" >&5
   12627 $as_echo "no" >&6; }
   12628 fi
   12629 
   12630 
   12631   test -n "$ac_ct_CC" && break
   12632 done
   12633 
   12634   if test "x$ac_ct_CC" = x; then
   12635     CC=""
   12636   else
   12637     case $cross_compiling:$ac_tool_warned in
   12638 yes:)
   12639 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12641 ac_tool_warned=yes ;;
   12642 esac
   12643     CC=$ac_ct_CC
   12644   fi
   12645 fi
   12646 
   12647 fi
   12648 
   12649 
   12650 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12652 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   12653 See \`config.log' for more details." >&5
   12654 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   12655 See \`config.log' for more details." >&2;}
   12656    { (exit 1); exit 1; }; }; }
   12657 
   12658 # Provide some information about the compiler.
   12659 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   12660 set X $ac_compile
   12661 ac_compiler=$2
   12662 { (ac_try="$ac_compiler --version >&5"
   12663 case "(($ac_try" in
   12664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12665   *) ac_try_echo=$ac_try;;
   12666 esac
   12667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12668 $as_echo "$ac_try_echo") >&5
   12669   (eval "$ac_compiler --version >&5") 2>&5
   12670   ac_status=$?
   12671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12672   (exit $ac_status); }
   12673 { (ac_try="$ac_compiler -v >&5"
   12674 case "(($ac_try" in
   12675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12676   *) ac_try_echo=$ac_try;;
   12677 esac
   12678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12679 $as_echo "$ac_try_echo") >&5
   12680   (eval "$ac_compiler -v >&5") 2>&5
   12681   ac_status=$?
   12682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12683   (exit $ac_status); }
   12684 { (ac_try="$ac_compiler -V >&5"
   12685 case "(($ac_try" in
   12686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12687   *) ac_try_echo=$ac_try;;
   12688 esac
   12689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12690 $as_echo "$ac_try_echo") >&5
   12691   (eval "$ac_compiler -V >&5") 2>&5
   12692   ac_status=$?
   12693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12694   (exit $ac_status); }
   12695 
   12696 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   12697 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   12698 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   12699   $as_echo_n "(cached) " >&6
   12700 else
   12701   cat >conftest.$ac_ext <<_ACEOF
   12702 /* confdefs.h.  */
   12703 _ACEOF
   12704 cat confdefs.h >>conftest.$ac_ext
   12705 cat >>conftest.$ac_ext <<_ACEOF
   12706 /* end confdefs.h.  */
   12707 
   12708 int
   12709 main ()
   12710 {
   12711 #ifndef __GNUC__
   12712        choke me
   12713 #endif
   12714 
   12715   ;
   12716   return 0;
   12717 }
   12718 _ACEOF
   12719 rm -f conftest.$ac_objext
   12720 if { (ac_try="$ac_compile"
   12721 case "(($ac_try" in
   12722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12723   *) ac_try_echo=$ac_try;;
   12724 esac
   12725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12726 $as_echo "$ac_try_echo") >&5
   12727   (eval "$ac_compile") 2>conftest.er1
   12728   ac_status=$?
   12729   grep -v '^ *+' conftest.er1 >conftest.err
   12730   rm -f conftest.er1
   12731   cat conftest.err >&5
   12732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12733   (exit $ac_status); } && {
   12734 	 test -z "$ac_c_werror_flag" ||
   12735 	 test ! -s conftest.err
   12736        } && test -s conftest.$ac_objext; then
   12737   ac_compiler_gnu=yes
   12738 else
   12739   $as_echo "$as_me: failed program was:" >&5
   12740 sed 's/^/| /' conftest.$ac_ext >&5
   12741 
   12742 	ac_compiler_gnu=no
   12743 fi
   12744 
   12745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12746 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12747 
   12748 fi
   12749 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   12750 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   12751 if test $ac_compiler_gnu = yes; then
   12752   GCC=yes
   12753 else
   12754   GCC=
   12755 fi
   12756 ac_test_CFLAGS=${CFLAGS+set}
   12757 ac_save_CFLAGS=$CFLAGS
   12758 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   12759 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   12760 if test "${ac_cv_prog_cc_g+set}" = set; then
   12761   $as_echo_n "(cached) " >&6
   12762 else
   12763   ac_save_c_werror_flag=$ac_c_werror_flag
   12764    ac_c_werror_flag=yes
   12765    ac_cv_prog_cc_g=no
   12766    CFLAGS="-g"
   12767    cat >conftest.$ac_ext <<_ACEOF
   12768 /* confdefs.h.  */
   12769 _ACEOF
   12770 cat confdefs.h >>conftest.$ac_ext
   12771 cat >>conftest.$ac_ext <<_ACEOF
   12772 /* end confdefs.h.  */
   12773 
   12774 int
   12775 main ()
   12776 {
   12777 
   12778   ;
   12779   return 0;
   12780 }
   12781 _ACEOF
   12782 rm -f conftest.$ac_objext
   12783 if { (ac_try="$ac_compile"
   12784 case "(($ac_try" in
   12785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12786   *) ac_try_echo=$ac_try;;
   12787 esac
   12788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12789 $as_echo "$ac_try_echo") >&5
   12790   (eval "$ac_compile") 2>conftest.er1
   12791   ac_status=$?
   12792   grep -v '^ *+' conftest.er1 >conftest.err
   12793   rm -f conftest.er1
   12794   cat conftest.err >&5
   12795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12796   (exit $ac_status); } && {
   12797 	 test -z "$ac_c_werror_flag" ||
   12798 	 test ! -s conftest.err
   12799        } && test -s conftest.$ac_objext; then
   12800   ac_cv_prog_cc_g=yes
   12801 else
   12802   $as_echo "$as_me: failed program was:" >&5
   12803 sed 's/^/| /' conftest.$ac_ext >&5
   12804 
   12805 	CFLAGS=""
   12806       cat >conftest.$ac_ext <<_ACEOF
   12807 /* confdefs.h.  */
   12808 _ACEOF
   12809 cat confdefs.h >>conftest.$ac_ext
   12810 cat >>conftest.$ac_ext <<_ACEOF
   12811 /* end confdefs.h.  */
   12812 
   12813 int
   12814 main ()
   12815 {
   12816 
   12817   ;
   12818   return 0;
   12819 }
   12820 _ACEOF
   12821 rm -f conftest.$ac_objext
   12822 if { (ac_try="$ac_compile"
   12823 case "(($ac_try" in
   12824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12825   *) ac_try_echo=$ac_try;;
   12826 esac
   12827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12828 $as_echo "$ac_try_echo") >&5
   12829   (eval "$ac_compile") 2>conftest.er1
   12830   ac_status=$?
   12831   grep -v '^ *+' conftest.er1 >conftest.err
   12832   rm -f conftest.er1
   12833   cat conftest.err >&5
   12834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12835   (exit $ac_status); } && {
   12836 	 test -z "$ac_c_werror_flag" ||
   12837 	 test ! -s conftest.err
   12838        } && test -s conftest.$ac_objext; then
   12839   :
   12840 else
   12841   $as_echo "$as_me: failed program was:" >&5
   12842 sed 's/^/| /' conftest.$ac_ext >&5
   12843 
   12844 	ac_c_werror_flag=$ac_save_c_werror_flag
   12845 	 CFLAGS="-g"
   12846 	 cat >conftest.$ac_ext <<_ACEOF
   12847 /* confdefs.h.  */
   12848 _ACEOF
   12849 cat confdefs.h >>conftest.$ac_ext
   12850 cat >>conftest.$ac_ext <<_ACEOF
   12851 /* end confdefs.h.  */
   12852 
   12853 int
   12854 main ()
   12855 {
   12856 
   12857   ;
   12858   return 0;
   12859 }
   12860 _ACEOF
   12861 rm -f conftest.$ac_objext
   12862 if { (ac_try="$ac_compile"
   12863 case "(($ac_try" in
   12864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12865   *) ac_try_echo=$ac_try;;
   12866 esac
   12867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12868 $as_echo "$ac_try_echo") >&5
   12869   (eval "$ac_compile") 2>conftest.er1
   12870   ac_status=$?
   12871   grep -v '^ *+' conftest.er1 >conftest.err
   12872   rm -f conftest.er1
   12873   cat conftest.err >&5
   12874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12875   (exit $ac_status); } && {
   12876 	 test -z "$ac_c_werror_flag" ||
   12877 	 test ! -s conftest.err
   12878        } && test -s conftest.$ac_objext; then
   12879   ac_cv_prog_cc_g=yes
   12880 else
   12881   $as_echo "$as_me: failed program was:" >&5
   12882 sed 's/^/| /' conftest.$ac_ext >&5
   12883 
   12884 
   12885 fi
   12886 
   12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12888 fi
   12889 
   12890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12891 fi
   12892 
   12893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12894    ac_c_werror_flag=$ac_save_c_werror_flag
   12895 fi
   12896 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   12897 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12898 if test "$ac_test_CFLAGS" = set; then
   12899   CFLAGS=$ac_save_CFLAGS
   12900 elif test $ac_cv_prog_cc_g = yes; then
   12901   if test "$GCC" = yes; then
   12902     CFLAGS="-g -O2"
   12903   else
   12904     CFLAGS="-g"
   12905   fi
   12906 else
   12907   if test "$GCC" = yes; then
   12908     CFLAGS="-O2"
   12909   else
   12910     CFLAGS=
   12911   fi
   12912 fi
   12913 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   12914 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12915 if test "${ac_cv_prog_cc_c89+set}" = set; then
   12916   $as_echo_n "(cached) " >&6
   12917 else
   12918   ac_cv_prog_cc_c89=no
   12919 ac_save_CC=$CC
   12920 cat >conftest.$ac_ext <<_ACEOF
   12921 /* confdefs.h.  */
   12922 _ACEOF
   12923 cat confdefs.h >>conftest.$ac_ext
   12924 cat >>conftest.$ac_ext <<_ACEOF
   12925 /* end confdefs.h.  */
   12926 #include <stdarg.h>
   12927 #include <stdio.h>
   12928 #include <sys/types.h>
   12929 #include <sys/stat.h>
   12930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12931 struct buf { int x; };
   12932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12933 static char *e (p, i)
   12934      char **p;
   12935      int i;
   12936 {
   12937   return p[i];
   12938 }
   12939 static char *f (char * (*g) (char **, int), char **p, ...)
   12940 {
   12941   char *s;
   12942   va_list v;
   12943   va_start (v,p);
   12944   s = g (p, va_arg (v,int));
   12945   va_end (v);
   12946   return s;
   12947 }
   12948 
   12949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12950    function prototypes and stuff, but not '\xHH' hex character constants.
   12951    These don't provoke an error unfortunately, instead are silently treated
   12952    as 'x'.  The following induces an error, until -std is added to get
   12953    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12954    array size at least.  It's necessary to write '\x00'==0 to get something
   12955    that's true only with -std.  */
   12956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12957 
   12958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12959    inside strings and character constants.  */
   12960 #define FOO(x) 'x'
   12961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12962 
   12963 int test (int i, double x);
   12964 struct s1 {int (*f) (int a);};
   12965 struct s2 {int (*f) (double a);};
   12966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12967 int argc;
   12968 char **argv;
   12969 int
   12970 main ()
   12971 {
   12972 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12973   ;
   12974   return 0;
   12975 }
   12976 _ACEOF
   12977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12978 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12979 do
   12980   CC="$ac_save_CC $ac_arg"
   12981   rm -f conftest.$ac_objext
   12982 if { (ac_try="$ac_compile"
   12983 case "(($ac_try" in
   12984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12985   *) ac_try_echo=$ac_try;;
   12986 esac
   12987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12988 $as_echo "$ac_try_echo") >&5
   12989   (eval "$ac_compile") 2>conftest.er1
   12990   ac_status=$?
   12991   grep -v '^ *+' conftest.er1 >conftest.err
   12992   rm -f conftest.er1
   12993   cat conftest.err >&5
   12994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12995   (exit $ac_status); } && {
   12996 	 test -z "$ac_c_werror_flag" ||
   12997 	 test ! -s conftest.err
   12998        } && test -s conftest.$ac_objext; then
   12999   ac_cv_prog_cc_c89=$ac_arg
   13000 else
   13001   $as_echo "$as_me: failed program was:" >&5
   13002 sed 's/^/| /' conftest.$ac_ext >&5
   13003 
   13004 
   13005 fi
   13006 
   13007 rm -f core conftest.err conftest.$ac_objext
   13008   test "x$ac_cv_prog_cc_c89" != "xno" && break
   13009 done
   13010 rm -f conftest.$ac_ext
   13011 CC=$ac_save_CC
   13012 
   13013 fi
   13014 # AC_CACHE_VAL
   13015 case "x$ac_cv_prog_cc_c89" in
   13016   x)
   13017     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   13018 $as_echo "none needed" >&6; } ;;
   13019   xno)
   13020     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   13021 $as_echo "unsupported" >&6; } ;;
   13022   *)
   13023     CC="$CC $ac_cv_prog_cc_c89"
   13024     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   13025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   13026 esac
   13027 
   13028 
   13029 ac_ext=c
   13030 ac_cpp='$CPP $CPPFLAGS'
   13031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13034 
   13035 
   13036 if test "x$GCC" = "xyes"; then
   13037 	CPPFLAGS="$CPPFLAGS -Wall"
   13038 fi
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 # Check whether --with-xorg-module-dir was given.
   13045 if test "${with_xorg_module_dir+set}" = set; then
   13046   withval=$with_xorg_module_dir; moduledir="$withval"
   13047 else
   13048   moduledir="$libdir/xorg/modules"
   13049 fi
   13050 
   13051 
   13052 # Check whether --enable-dri was given.
   13053 if test "${enable_dri+set}" = set; then
   13054   enableval=$enable_dri; DRI="$enableval"
   13055 else
   13056   DRI=auto
   13057 fi
   13058 
   13059 
   13060 # Check whether --enable-exa was given.
   13061 if test "${enable_exa+set}" = set; then
   13062   enableval=$enable_exa; EXA="$enableval"
   13063 else
   13064   EXA=yes
   13065 fi
   13066 
   13067 
   13068 # Check whether --enable-kms was given.
   13069 if test "${enable_kms+set}" = set; then
   13070   enableval=$enable_kms; DRM_MODE="$enableval"
   13071 else
   13072   DRM_MODE=yes
   13073 fi
   13074 
   13075 
   13076 
   13077 # Check whether --with-xserver-source was given.
   13078 if test "${with_xserver_source+set}" = set; then
   13079   withval=$with_xserver_source;  XSERVER_SOURCE="$withval"
   13080 else
   13081    XSERVER_SOURCE=""
   13082 fi
   13083 
   13084 
   13085 # Checks for extensions
   13086 
   13087 
   13088 	SAVE_CFLAGS="$CFLAGS"
   13089 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13090 	cat >conftest.$ac_ext <<_ACEOF
   13091 /* confdefs.h.  */
   13092 _ACEOF
   13093 cat confdefs.h >>conftest.$ac_ext
   13094 cat >>conftest.$ac_ext <<_ACEOF
   13095 /* end confdefs.h.  */
   13096 
   13097 #include "xorg-server.h"
   13098 #if !defined RANDR
   13099 #error RANDR not defined
   13100 #endif
   13101 
   13102 int
   13103 main ()
   13104 {
   13105 
   13106   ;
   13107   return 0;
   13108 }
   13109 _ACEOF
   13110 rm -f conftest.$ac_objext
   13111 if { (ac_try="$ac_compile"
   13112 case "(($ac_try" in
   13113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13114   *) ac_try_echo=$ac_try;;
   13115 esac
   13116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13117 $as_echo "$ac_try_echo") >&5
   13118   (eval "$ac_compile") 2>conftest.er1
   13119   ac_status=$?
   13120   grep -v '^ *+' conftest.er1 >conftest.err
   13121   rm -f conftest.er1
   13122   cat conftest.err >&5
   13123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13124   (exit $ac_status); } && {
   13125 	 test -z "$ac_c_werror_flag" ||
   13126 	 test ! -s conftest.err
   13127        } && test -s conftest.$ac_objext; then
   13128   _EXT_CHECK=yes
   13129 else
   13130   $as_echo "$as_me: failed program was:" >&5
   13131 sed 's/^/| /' conftest.$ac_ext >&5
   13132 
   13133 	_EXT_CHECK=no
   13134 fi
   13135 
   13136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13137 	CFLAGS="$SAVE_CFLAGS"
   13138 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   13139 $as_echo_n "checking if RANDR is defined... " >&6; }
   13140 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13141 $as_echo "$_EXT_CHECK" >&6; }
   13142 	if test "$_EXT_CHECK" != no; then
   13143 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   13144 	fi
   13145 
   13146 
   13147 
   13148 	SAVE_CFLAGS="$CFLAGS"
   13149 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13150 	cat >conftest.$ac_ext <<_ACEOF
   13151 /* confdefs.h.  */
   13152 _ACEOF
   13153 cat confdefs.h >>conftest.$ac_ext
   13154 cat >>conftest.$ac_ext <<_ACEOF
   13155 /* end confdefs.h.  */
   13156 
   13157 #include "xorg-server.h"
   13158 #if !defined RENDER
   13159 #error RENDER not defined
   13160 #endif
   13161 
   13162 int
   13163 main ()
   13164 {
   13165 
   13166   ;
   13167   return 0;
   13168 }
   13169 _ACEOF
   13170 rm -f conftest.$ac_objext
   13171 if { (ac_try="$ac_compile"
   13172 case "(($ac_try" in
   13173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13174   *) ac_try_echo=$ac_try;;
   13175 esac
   13176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13177 $as_echo "$ac_try_echo") >&5
   13178   (eval "$ac_compile") 2>conftest.er1
   13179   ac_status=$?
   13180   grep -v '^ *+' conftest.er1 >conftest.err
   13181   rm -f conftest.er1
   13182   cat conftest.err >&5
   13183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13184   (exit $ac_status); } && {
   13185 	 test -z "$ac_c_werror_flag" ||
   13186 	 test ! -s conftest.err
   13187        } && test -s conftest.$ac_objext; then
   13188   _EXT_CHECK=yes
   13189 else
   13190   $as_echo "$as_me: failed program was:" >&5
   13191 sed 's/^/| /' conftest.$ac_ext >&5
   13192 
   13193 	_EXT_CHECK=no
   13194 fi
   13195 
   13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13197 	CFLAGS="$SAVE_CFLAGS"
   13198 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   13199 $as_echo_n "checking if RENDER is defined... " >&6; }
   13200 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13201 $as_echo "$_EXT_CHECK" >&6; }
   13202 	if test "$_EXT_CHECK" != no; then
   13203 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   13204 	fi
   13205 
   13206 
   13207 
   13208 	SAVE_CFLAGS="$CFLAGS"
   13209 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13210 	cat >conftest.$ac_ext <<_ACEOF
   13211 /* confdefs.h.  */
   13212 _ACEOF
   13213 cat confdefs.h >>conftest.$ac_ext
   13214 cat >>conftest.$ac_ext <<_ACEOF
   13215 /* end confdefs.h.  */
   13216 
   13217 #include "xorg-server.h"
   13218 #if !defined XV
   13219 #error XV not defined
   13220 #endif
   13221 
   13222 int
   13223 main ()
   13224 {
   13225 
   13226   ;
   13227   return 0;
   13228 }
   13229 _ACEOF
   13230 rm -f conftest.$ac_objext
   13231 if { (ac_try="$ac_compile"
   13232 case "(($ac_try" in
   13233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13234   *) ac_try_echo=$ac_try;;
   13235 esac
   13236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13237 $as_echo "$ac_try_echo") >&5
   13238   (eval "$ac_compile") 2>conftest.er1
   13239   ac_status=$?
   13240   grep -v '^ *+' conftest.er1 >conftest.err
   13241   rm -f conftest.er1
   13242   cat conftest.err >&5
   13243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13244   (exit $ac_status); } && {
   13245 	 test -z "$ac_c_werror_flag" ||
   13246 	 test ! -s conftest.err
   13247        } && test -s conftest.$ac_objext; then
   13248   _EXT_CHECK=yes
   13249 else
   13250   $as_echo "$as_me: failed program was:" >&5
   13251 sed 's/^/| /' conftest.$ac_ext >&5
   13252 
   13253 	_EXT_CHECK=no
   13254 fi
   13255 
   13256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13257 	CFLAGS="$SAVE_CFLAGS"
   13258 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   13259 $as_echo_n "checking if XV is defined... " >&6; }
   13260 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13261 $as_echo "$_EXT_CHECK" >&6; }
   13262 	if test "$_EXT_CHECK" != no; then
   13263 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   13264 	fi
   13265 
   13266 
   13267 
   13268 	SAVE_CFLAGS="$CFLAGS"
   13269 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13270 	cat >conftest.$ac_ext <<_ACEOF
   13271 /* confdefs.h.  */
   13272 _ACEOF
   13273 cat confdefs.h >>conftest.$ac_ext
   13274 cat >>conftest.$ac_ext <<_ACEOF
   13275 /* end confdefs.h.  */
   13276 
   13277 #include "xorg-server.h"
   13278 #if !defined DPMSExtension
   13279 #error DPMSExtension not defined
   13280 #endif
   13281 
   13282 int
   13283 main ()
   13284 {
   13285 
   13286   ;
   13287   return 0;
   13288 }
   13289 _ACEOF
   13290 rm -f conftest.$ac_objext
   13291 if { (ac_try="$ac_compile"
   13292 case "(($ac_try" in
   13293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13294   *) ac_try_echo=$ac_try;;
   13295 esac
   13296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13297 $as_echo "$ac_try_echo") >&5
   13298   (eval "$ac_compile") 2>conftest.er1
   13299   ac_status=$?
   13300   grep -v '^ *+' conftest.er1 >conftest.err
   13301   rm -f conftest.er1
   13302   cat conftest.err >&5
   13303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13304   (exit $ac_status); } && {
   13305 	 test -z "$ac_c_werror_flag" ||
   13306 	 test ! -s conftest.err
   13307        } && test -s conftest.$ac_objext; then
   13308   _EXT_CHECK=yes
   13309 else
   13310   $as_echo "$as_me: failed program was:" >&5
   13311 sed 's/^/| /' conftest.$ac_ext >&5
   13312 
   13313 	_EXT_CHECK=no
   13314 fi
   13315 
   13316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13317 	CFLAGS="$SAVE_CFLAGS"
   13318 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   13319 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   13320 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13321 $as_echo "$_EXT_CHECK" >&6; }
   13322 	if test "$_EXT_CHECK" != no; then
   13323 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   13324 	fi
   13325 
   13326 
   13327 # Checks for pkg-config packages
   13328 
   13329 pkg_failed=no
   13330 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   13331 $as_echo_n "checking for XORG... " >&6; }
   13332 
   13333 if test -n "$XORG_CFLAGS"; then
   13334     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   13335  elif test -n "$PKG_CONFIG"; then
   13336     if test -n "$PKG_CONFIG" && \
   13337     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   13338   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   13339   ac_status=$?
   13340   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13341   (exit $ac_status); }; then
   13342   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   13343 else
   13344   pkg_failed=yes
   13345 fi
   13346  else
   13347     pkg_failed=untried
   13348 fi
   13349 if test -n "$XORG_LIBS"; then
   13350     pkg_cv_XORG_LIBS="$XORG_LIBS"
   13351  elif test -n "$PKG_CONFIG"; then
   13352     if test -n "$PKG_CONFIG" && \
   13353     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   13354   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   13355   ac_status=$?
   13356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13357   (exit $ac_status); }; then
   13358   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   13359 else
   13360   pkg_failed=yes
   13361 fi
   13362  else
   13363     pkg_failed=untried
   13364 fi
   13365 
   13366 
   13367 
   13368 if test $pkg_failed = yes; then
   13369 
   13370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13371         _pkg_short_errors_supported=yes
   13372 else
   13373         _pkg_short_errors_supported=no
   13374 fi
   13375         if test $_pkg_short_errors_supported = yes; then
   13376 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   13377         else
   13378 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   13379         fi
   13380 	# Put the nasty error message in config.log where it belongs
   13381 	echo "$XORG_PKG_ERRORS" >&5
   13382 
   13383 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   13384 
   13385 $XORG_PKG_ERRORS
   13386 
   13387 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13388 installed software in a non-standard prefix.
   13389 
   13390 Alternatively, you may set the environment variables XORG_CFLAGS
   13391 and XORG_LIBS to avoid the need to call pkg-config.
   13392 See the pkg-config man page for more details.
   13393 " >&5
   13394 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   13395 
   13396 $XORG_PKG_ERRORS
   13397 
   13398 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13399 installed software in a non-standard prefix.
   13400 
   13401 Alternatively, you may set the environment variables XORG_CFLAGS
   13402 and XORG_LIBS to avoid the need to call pkg-config.
   13403 See the pkg-config man page for more details.
   13404 " >&2;}
   13405    { (exit 1); exit 1; }; }
   13406 elif test $pkg_failed = untried; then
   13407 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13409 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13410 is in your PATH or set the PKG_CONFIG environment variable to the full
   13411 path to pkg-config.
   13412 
   13413 Alternatively, you may set the environment variables XORG_CFLAGS
   13414 and XORG_LIBS to avoid the need to call pkg-config.
   13415 See the pkg-config man page for more details.
   13416 
   13417 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13418 See \`config.log' for more details." >&5
   13419 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13420 is in your PATH or set the PKG_CONFIG environment variable to the full
   13421 path to pkg-config.
   13422 
   13423 Alternatively, you may set the environment variables XORG_CFLAGS
   13424 and XORG_LIBS to avoid the need to call pkg-config.
   13425 See the pkg-config man page for more details.
   13426 
   13427 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13428 See \`config.log' for more details." >&2;}
   13429    { (exit 1); exit 1; }; }; }
   13430 else
   13431 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   13432 	XORG_LIBS=$pkg_cv_XORG_LIBS
   13433         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13434 $as_echo "yes" >&6; }
   13435 	:
   13436 fi
   13437 
   13438 pkg_failed=no
   13439 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   13440 $as_echo_n "checking for XEXT... " >&6; }
   13441 
   13442 if test -n "$XEXT_CFLAGS"; then
   13443     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   13444  elif test -n "$PKG_CONFIG"; then
   13445     if test -n "$PKG_CONFIG" && \
   13446     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13447   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13448   ac_status=$?
   13449   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13450   (exit $ac_status); }; then
   13451   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   13452 else
   13453   pkg_failed=yes
   13454 fi
   13455  else
   13456     pkg_failed=untried
   13457 fi
   13458 if test -n "$XEXT_LIBS"; then
   13459     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   13460  elif test -n "$PKG_CONFIG"; then
   13461     if test -n "$PKG_CONFIG" && \
   13462     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13463   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13464   ac_status=$?
   13465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13466   (exit $ac_status); }; then
   13467   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   13468 else
   13469   pkg_failed=yes
   13470 fi
   13471  else
   13472     pkg_failed=untried
   13473 fi
   13474 
   13475 
   13476 
   13477 if test $pkg_failed = yes; then
   13478 
   13479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13480         _pkg_short_errors_supported=yes
   13481 else
   13482         _pkg_short_errors_supported=no
   13483 fi
   13484         if test $_pkg_short_errors_supported = yes; then
   13485 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13486         else
   13487 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13488         fi
   13489 	# Put the nasty error message in config.log where it belongs
   13490 	echo "$XEXT_PKG_ERRORS" >&5
   13491 
   13492 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   13493 $as_echo "no" >&6; }
   13494                 HAVE_XEXTPROTO_71="no"
   13495 elif test $pkg_failed = untried; then
   13496 	HAVE_XEXTPROTO_71="no"
   13497 else
   13498 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   13499 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   13500         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13501 $as_echo "yes" >&6; }
   13502 	HAVE_XEXTPROTO_71="yes";
   13503 cat >>confdefs.h <<\_ACEOF
   13504 #define HAVE_XEXTPROTO_71 1
   13505 _ACEOF
   13506 
   13507 fi
   13508  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   13509   HAVE_XEXTPROTO_71_TRUE=
   13510   HAVE_XEXTPROTO_71_FALSE='#'
   13511 else
   13512   HAVE_XEXTPROTO_71_TRUE='#'
   13513   HAVE_XEXTPROTO_71_FALSE=
   13514 fi
   13515 
   13516 
   13517 # Checks for libraries.
   13518 
   13519 # Checks for header files.
   13520 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   13521 $as_echo_n "checking for ANSI C header files... " >&6; }
   13522 if test "${ac_cv_header_stdc+set}" = set; then
   13523   $as_echo_n "(cached) " >&6
   13524 else
   13525   cat >conftest.$ac_ext <<_ACEOF
   13526 /* confdefs.h.  */
   13527 _ACEOF
   13528 cat confdefs.h >>conftest.$ac_ext
   13529 cat >>conftest.$ac_ext <<_ACEOF
   13530 /* end confdefs.h.  */
   13531 #include <stdlib.h>
   13532 #include <stdarg.h>
   13533 #include <string.h>
   13534 #include <float.h>
   13535 
   13536 int
   13537 main ()
   13538 {
   13539 
   13540   ;
   13541   return 0;
   13542 }
   13543 _ACEOF
   13544 rm -f conftest.$ac_objext
   13545 if { (ac_try="$ac_compile"
   13546 case "(($ac_try" in
   13547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13548   *) ac_try_echo=$ac_try;;
   13549 esac
   13550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13551 $as_echo "$ac_try_echo") >&5
   13552   (eval "$ac_compile") 2>conftest.er1
   13553   ac_status=$?
   13554   grep -v '^ *+' conftest.er1 >conftest.err
   13555   rm -f conftest.er1
   13556   cat conftest.err >&5
   13557   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13558   (exit $ac_status); } && {
   13559 	 test -z "$ac_c_werror_flag" ||
   13560 	 test ! -s conftest.err
   13561        } && test -s conftest.$ac_objext; then
   13562   ac_cv_header_stdc=yes
   13563 else
   13564   $as_echo "$as_me: failed program was:" >&5
   13565 sed 's/^/| /' conftest.$ac_ext >&5
   13566 
   13567 	ac_cv_header_stdc=no
   13568 fi
   13569 
   13570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13571 
   13572 if test $ac_cv_header_stdc = yes; then
   13573   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13574   cat >conftest.$ac_ext <<_ACEOF
   13575 /* confdefs.h.  */
   13576 _ACEOF
   13577 cat confdefs.h >>conftest.$ac_ext
   13578 cat >>conftest.$ac_ext <<_ACEOF
   13579 /* end confdefs.h.  */
   13580 #include <string.h>
   13581 
   13582 _ACEOF
   13583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13584   $EGREP "memchr" >/dev/null 2>&1; then
   13585   :
   13586 else
   13587   ac_cv_header_stdc=no
   13588 fi
   13589 rm -f conftest*
   13590 
   13591 fi
   13592 
   13593 if test $ac_cv_header_stdc = yes; then
   13594   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13595   cat >conftest.$ac_ext <<_ACEOF
   13596 /* confdefs.h.  */
   13597 _ACEOF
   13598 cat confdefs.h >>conftest.$ac_ext
   13599 cat >>conftest.$ac_ext <<_ACEOF
   13600 /* end confdefs.h.  */
   13601 #include <stdlib.h>
   13602 
   13603 _ACEOF
   13604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13605   $EGREP "free" >/dev/null 2>&1; then
   13606   :
   13607 else
   13608   ac_cv_header_stdc=no
   13609 fi
   13610 rm -f conftest*
   13611 
   13612 fi
   13613 
   13614 if test $ac_cv_header_stdc = yes; then
   13615   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13616   if test "$cross_compiling" = yes; then
   13617   :
   13618 else
   13619   cat >conftest.$ac_ext <<_ACEOF
   13620 /* confdefs.h.  */
   13621 _ACEOF
   13622 cat confdefs.h >>conftest.$ac_ext
   13623 cat >>conftest.$ac_ext <<_ACEOF
   13624 /* end confdefs.h.  */
   13625 #include <ctype.h>
   13626 #include <stdlib.h>
   13627 #if ((' ' & 0x0FF) == 0x020)
   13628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13630 #else
   13631 # define ISLOWER(c) \
   13632 		   (('a' <= (c) && (c) <= 'i') \
   13633 		     || ('j' <= (c) && (c) <= 'r') \
   13634 		     || ('s' <= (c) && (c) <= 'z'))
   13635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13636 #endif
   13637 
   13638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13639 int
   13640 main ()
   13641 {
   13642   int i;
   13643   for (i = 0; i < 256; i++)
   13644     if (XOR (islower (i), ISLOWER (i))
   13645 	|| toupper (i) != TOUPPER (i))
   13646       return 2;
   13647   return 0;
   13648 }
   13649 _ACEOF
   13650 rm -f conftest$ac_exeext
   13651 if { (ac_try="$ac_link"
   13652 case "(($ac_try" in
   13653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13654   *) ac_try_echo=$ac_try;;
   13655 esac
   13656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13657 $as_echo "$ac_try_echo") >&5
   13658   (eval "$ac_link") 2>&5
   13659   ac_status=$?
   13660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13661   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13662   { (case "(($ac_try" in
   13663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13664   *) ac_try_echo=$ac_try;;
   13665 esac
   13666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13667 $as_echo "$ac_try_echo") >&5
   13668   (eval "$ac_try") 2>&5
   13669   ac_status=$?
   13670   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13671   (exit $ac_status); }; }; then
   13672   :
   13673 else
   13674   $as_echo "$as_me: program exited with status $ac_status" >&5
   13675 $as_echo "$as_me: failed program was:" >&5
   13676 sed 's/^/| /' conftest.$ac_ext >&5
   13677 
   13678 ( exit $ac_status )
   13679 ac_cv_header_stdc=no
   13680 fi
   13681 rm -rf conftest.dSYM
   13682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13683 fi
   13684 
   13685 
   13686 fi
   13687 fi
   13688 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13689 $as_echo "$ac_cv_header_stdc" >&6; }
   13690 if test $ac_cv_header_stdc = yes; then
   13691 
   13692 cat >>confdefs.h <<\_ACEOF
   13693 #define STDC_HEADERS 1
   13694 _ACEOF
   13695 
   13696 fi
   13697 
   13698 
   13699 if test "$DRI" != no; then
   13700 
   13701 pkg_failed=no
   13702 { $as_echo "$as_me:$LINENO: checking for DRI" >&5
   13703 $as_echo_n "checking for DRI... " >&6; }
   13704 
   13705 if test -n "$DRI_CFLAGS"; then
   13706     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   13707  elif test -n "$PKG_CONFIG"; then
   13708     if test -n "$PKG_CONFIG" && \
   13709     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   13710   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   13711   ac_status=$?
   13712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13713   (exit $ac_status); }; then
   13714   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   13715 else
   13716   pkg_failed=yes
   13717 fi
   13718  else
   13719     pkg_failed=untried
   13720 fi
   13721 if test -n "$DRI_LIBS"; then
   13722     pkg_cv_DRI_LIBS="$DRI_LIBS"
   13723  elif test -n "$PKG_CONFIG"; then
   13724     if test -n "$PKG_CONFIG" && \
   13725     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   13726   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   13727   ac_status=$?
   13728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13729   (exit $ac_status); }; then
   13730   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   13731 else
   13732   pkg_failed=yes
   13733 fi
   13734  else
   13735     pkg_failed=untried
   13736 fi
   13737 
   13738 
   13739 
   13740 if test $pkg_failed = yes; then
   13741 
   13742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13743         _pkg_short_errors_supported=yes
   13744 else
   13745         _pkg_short_errors_supported=no
   13746 fi
   13747         if test $_pkg_short_errors_supported = yes; then
   13748 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   13749         else
   13750 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   13751         fi
   13752 	# Put the nasty error message in config.log where it belongs
   13753 	echo "$DRI_PKG_ERRORS" >&5
   13754 
   13755 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   13756 
   13757 $DRI_PKG_ERRORS
   13758 
   13759 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13760 installed software in a non-standard prefix.
   13761 
   13762 Alternatively, you may set the environment variables DRI_CFLAGS
   13763 and DRI_LIBS to avoid the need to call pkg-config.
   13764 See the pkg-config man page for more details.
   13765 " >&5
   13766 $as_echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   13767 
   13768 $DRI_PKG_ERRORS
   13769 
   13770 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13771 installed software in a non-standard prefix.
   13772 
   13773 Alternatively, you may set the environment variables DRI_CFLAGS
   13774 and DRI_LIBS to avoid the need to call pkg-config.
   13775 See the pkg-config man page for more details.
   13776 " >&2;}
   13777    { (exit 1); exit 1; }; }
   13778 elif test $pkg_failed = untried; then
   13779 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13781 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13782 is in your PATH or set the PKG_CONFIG environment variable to the full
   13783 path to pkg-config.
   13784 
   13785 Alternatively, you may set the environment variables DRI_CFLAGS
   13786 and DRI_LIBS to avoid the need to call pkg-config.
   13787 See the pkg-config man page for more details.
   13788 
   13789 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13790 See \`config.log' for more details." >&5
   13791 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13792 is in your PATH or set the PKG_CONFIG environment variable to the full
   13793 path to pkg-config.
   13794 
   13795 Alternatively, you may set the environment variables DRI_CFLAGS
   13796 and DRI_LIBS to avoid the need to call pkg-config.
   13797 See the pkg-config man page for more details.
   13798 
   13799 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13800 See \`config.log' for more details." >&2;}
   13801    { (exit 1); exit 1; }; }; }
   13802 else
   13803 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   13804 	DRI_LIBS=$pkg_cv_DRI_LIBS
   13805         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13806 $as_echo "yes" >&6; }
   13807 	:
   13808 fi
   13809 	save_CPPFLAGS="$CPPFLAGS"
   13810 	CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS"
   13811 	{ $as_echo "$as_me:$LINENO: checking for dri.h" >&5
   13812 $as_echo_n "checking for dri.h... " >&6; }
   13813 if test "${ac_cv_header_dri_h+set}" = set; then
   13814   $as_echo_n "(cached) " >&6
   13815 else
   13816   cat >conftest.$ac_ext <<_ACEOF
   13817 /* confdefs.h.  */
   13818 _ACEOF
   13819 cat confdefs.h >>conftest.$ac_ext
   13820 cat >>conftest.$ac_ext <<_ACEOF
   13821 /* end confdefs.h.  */
   13822 #include <dri.h>
   13823 _ACEOF
   13824 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13825 case "(($ac_try" in
   13826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13827   *) ac_try_echo=$ac_try;;
   13828 esac
   13829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13830 $as_echo "$ac_try_echo") >&5
   13831   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13832   ac_status=$?
   13833   grep -v '^ *+' conftest.er1 >conftest.err
   13834   rm -f conftest.er1
   13835   cat conftest.err >&5
   13836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13837   (exit $ac_status); } >/dev/null && {
   13838 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13839 	 test ! -s conftest.err
   13840        }; then
   13841   ac_cv_header_dri_h=yes
   13842 else
   13843   $as_echo "$as_me: failed program was:" >&5
   13844 sed 's/^/| /' conftest.$ac_ext >&5
   13845 
   13846   ac_cv_header_dri_h=no
   13847 fi
   13848 
   13849 rm -f conftest.err conftest.$ac_ext
   13850 fi
   13851 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dri_h" >&5
   13852 $as_echo "$ac_cv_header_dri_h" >&6; }
   13853 if test "x$ac_cv_header_dri_h" = x""yes; then
   13854   have_dri_h="yes"
   13855 else
   13856   have_dri_h="no"
   13857 fi
   13858 
   13859 
   13860 	{ $as_echo "$as_me:$LINENO: checking for sarea.h" >&5
   13861 $as_echo_n "checking for sarea.h... " >&6; }
   13862 if test "${ac_cv_header_sarea_h+set}" = set; then
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat >conftest.$ac_ext <<_ACEOF
   13866 /* confdefs.h.  */
   13867 _ACEOF
   13868 cat confdefs.h >>conftest.$ac_ext
   13869 cat >>conftest.$ac_ext <<_ACEOF
   13870 /* end confdefs.h.  */
   13871 #include <sarea.h>
   13872 _ACEOF
   13873 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13874 case "(($ac_try" in
   13875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13876   *) ac_try_echo=$ac_try;;
   13877 esac
   13878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13879 $as_echo "$ac_try_echo") >&5
   13880   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13881   ac_status=$?
   13882   grep -v '^ *+' conftest.er1 >conftest.err
   13883   rm -f conftest.er1
   13884   cat conftest.err >&5
   13885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13886   (exit $ac_status); } >/dev/null && {
   13887 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13888 	 test ! -s conftest.err
   13889        }; then
   13890   ac_cv_header_sarea_h=yes
   13891 else
   13892   $as_echo "$as_me: failed program was:" >&5
   13893 sed 's/^/| /' conftest.$ac_ext >&5
   13894 
   13895   ac_cv_header_sarea_h=no
   13896 fi
   13897 
   13898 rm -f conftest.err conftest.$ac_ext
   13899 fi
   13900 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sarea_h" >&5
   13901 $as_echo "$ac_cv_header_sarea_h" >&6; }
   13902 if test "x$ac_cv_header_sarea_h" = x""yes; then
   13903   have_sarea_h="yes"
   13904 else
   13905   have_sarea_h="no"
   13906 fi
   13907 
   13908 
   13909 	cat >conftest.$ac_ext <<_ACEOF
   13910 /* confdefs.h.  */
   13911 _ACEOF
   13912 cat confdefs.h >>conftest.$ac_ext
   13913 cat >>conftest.$ac_ext <<_ACEOF
   13914 /* end confdefs.h.  */
   13915 
   13916 #include <xorg-server.h>
   13917 #include <dristruct.h>
   13918 
   13919 int
   13920 main ()
   13921 {
   13922 
   13923   ;
   13924   return 0;
   13925 }
   13926 _ACEOF
   13927 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13928 case "(($ac_try" in
   13929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13930   *) ac_try_echo=$ac_try;;
   13931 esac
   13932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13933 $as_echo "$ac_try_echo") >&5
   13934   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13935   ac_status=$?
   13936   grep -v '^ *+' conftest.er1 >conftest.err
   13937   rm -f conftest.er1
   13938   cat conftest.err >&5
   13939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13940   (exit $ac_status); } >/dev/null && {
   13941 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13942 	 test ! -s conftest.err
   13943        }; then
   13944   have_dristruct_h="yes"
   13945 else
   13946   $as_echo "$as_me: failed program was:" >&5
   13947 sed 's/^/| /' conftest.$ac_ext >&5
   13948 
   13949   have_dristruct_h="no"
   13950 fi
   13951 
   13952 rm -f conftest.err conftest.$ac_ext
   13953 	{ $as_echo "$as_me:$LINENO: checking for damage.h" >&5
   13954 $as_echo_n "checking for damage.h... " >&6; }
   13955 if test "${ac_cv_header_damage_h+set}" = set; then
   13956   $as_echo_n "(cached) " >&6
   13957 else
   13958   cat >conftest.$ac_ext <<_ACEOF
   13959 /* confdefs.h.  */
   13960 _ACEOF
   13961 cat confdefs.h >>conftest.$ac_ext
   13962 cat >>conftest.$ac_ext <<_ACEOF
   13963 /* end confdefs.h.  */
   13964 #include <damage.h>
   13965 _ACEOF
   13966 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13967 case "(($ac_try" in
   13968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13969   *) ac_try_echo=$ac_try;;
   13970 esac
   13971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13972 $as_echo "$ac_try_echo") >&5
   13973   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13974   ac_status=$?
   13975   grep -v '^ *+' conftest.er1 >conftest.err
   13976   rm -f conftest.er1
   13977   cat conftest.err >&5
   13978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13979   (exit $ac_status); } >/dev/null && {
   13980 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13981 	 test ! -s conftest.err
   13982        }; then
   13983   ac_cv_header_damage_h=yes
   13984 else
   13985   $as_echo "$as_me: failed program was:" >&5
   13986 sed 's/^/| /' conftest.$ac_ext >&5
   13987 
   13988   ac_cv_header_damage_h=no
   13989 fi
   13990 
   13991 rm -f conftest.err conftest.$ac_ext
   13992 fi
   13993 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_damage_h" >&5
   13994 $as_echo "$ac_cv_header_damage_h" >&6; }
   13995 if test "x$ac_cv_header_damage_h" = x""yes; then
   13996   have_damage_h="yes"
   13997 else
   13998   have_damage_h="no"
   13999 fi
   14000 
   14001 
   14002 	CPPFLAGS="$save_CPPFLAGS"
   14003 fi
   14004 
   14005 { $as_echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   14006 $as_echo_n "checking whether to include DRI support... " >&6; }
   14007 if test x$DRI = xauto; then
   14008 	if test "$have_dri_h" = yes -a \
   14009                 "$have_sarea_h" = yes -a \
   14010                 "$have_dristruct_h" = yes; then
   14011 		DRI="yes"
   14012 	else
   14013 		DRI="no"
   14014 	fi
   14015 fi
   14016 { $as_echo "$as_me:$LINENO: result: $DRI" >&5
   14017 $as_echo "$DRI" >&6; }
   14018 
   14019  if test x$DRI = xyes; then
   14020   DRI_TRUE=
   14021   DRI_FALSE='#'
   14022 else
   14023   DRI_TRUE='#'
   14024   DRI_FALSE=
   14025 fi
   14026 
   14027 if test "$DRI" = yes; then
   14028 
   14029 cat >>confdefs.h <<\_ACEOF
   14030 #define XF86DRI 1
   14031 _ACEOF
   14032 
   14033 
   14034 cat >>confdefs.h <<\_ACEOF
   14035 #define XF86DRI_DEVEL 1
   14036 _ACEOF
   14037 
   14038 	if test "$have_damage_h" = yes; then
   14039 
   14040 cat >>confdefs.h <<\_ACEOF
   14041 #define DAMAGE 1
   14042 _ACEOF
   14043 
   14044 	fi
   14045 
   14046         save_CFLAGS="$CFLAGS"
   14047         CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $CFLAGS"
   14048 	if test "$DRM_MODE" = yes; then
   14049 	   	{ $as_echo "$as_me:$LINENO: checking for xf86drmMode.h" >&5
   14050 $as_echo_n "checking for xf86drmMode.h... " >&6; }
   14051 if test "${ac_cv_header_xf86drmMode_h+set}" = set; then
   14052   $as_echo_n "(cached) " >&6
   14053 else
   14054   cat >conftest.$ac_ext <<_ACEOF
   14055 /* confdefs.h.  */
   14056 _ACEOF
   14057 cat confdefs.h >>conftest.$ac_ext
   14058 cat >>conftest.$ac_ext <<_ACEOF
   14059 /* end confdefs.h.  */
   14060 #include <stdint.h>
   14061 #include <stdlib.h>
   14062 
   14063 #include <xf86drmMode.h>
   14064 _ACEOF
   14065 rm -f conftest.$ac_objext
   14066 if { (ac_try="$ac_compile"
   14067 case "(($ac_try" in
   14068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14069   *) ac_try_echo=$ac_try;;
   14070 esac
   14071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14072 $as_echo "$ac_try_echo") >&5
   14073   (eval "$ac_compile") 2>conftest.er1
   14074   ac_status=$?
   14075   grep -v '^ *+' conftest.er1 >conftest.err
   14076   rm -f conftest.er1
   14077   cat conftest.err >&5
   14078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14079   (exit $ac_status); } && {
   14080 	 test -z "$ac_c_werror_flag" ||
   14081 	 test ! -s conftest.err
   14082        } && test -s conftest.$ac_objext; then
   14083   ac_cv_header_xf86drmMode_h=yes
   14084 else
   14085   $as_echo "$as_me: failed program was:" >&5
   14086 sed 's/^/| /' conftest.$ac_ext >&5
   14087 
   14088 	ac_cv_header_xf86drmMode_h=no
   14089 fi
   14090 
   14091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14092 fi
   14093 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf86drmMode_h" >&5
   14094 $as_echo "$ac_cv_header_xf86drmMode_h" >&6; }
   14095 if test "x$ac_cv_header_xf86drmMode_h" = x""yes; then
   14096   DRM_MODE=yes
   14097 else
   14098   DRM_MODE=no
   14099 fi
   14100 
   14101 
   14102 		if test "x$DRM_MODE" = xyes; then
   14103 
   14104 pkg_failed=no
   14105 { $as_echo "$as_me:$LINENO: checking for LIBDRM_RADEON" >&5
   14106 $as_echo_n "checking for LIBDRM_RADEON... " >&6; }
   14107 
   14108 if test -n "$LIBDRM_RADEON_CFLAGS"; then
   14109     pkg_cv_LIBDRM_RADEON_CFLAGS="$LIBDRM_RADEON_CFLAGS"
   14110  elif test -n "$PKG_CONFIG"; then
   14111     if test -n "$PKG_CONFIG" && \
   14112     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.2 libdrm_radeon\"") >&5
   14113   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.2 libdrm_radeon") 2>&5
   14114   ac_status=$?
   14115   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14116   (exit $ac_status); }; then
   14117   pkg_cv_LIBDRM_RADEON_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.6.2 libdrm_radeon" 2>/dev/null`
   14118 else
   14119   pkg_failed=yes
   14120 fi
   14121  else
   14122     pkg_failed=untried
   14123 fi
   14124 if test -n "$LIBDRM_RADEON_LIBS"; then
   14125     pkg_cv_LIBDRM_RADEON_LIBS="$LIBDRM_RADEON_LIBS"
   14126  elif test -n "$PKG_CONFIG"; then
   14127     if test -n "$PKG_CONFIG" && \
   14128     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.2 libdrm_radeon\"") >&5
   14129   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.2 libdrm_radeon") 2>&5
   14130   ac_status=$?
   14131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14132   (exit $ac_status); }; then
   14133   pkg_cv_LIBDRM_RADEON_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.6.2 libdrm_radeon" 2>/dev/null`
   14134 else
   14135   pkg_failed=yes
   14136 fi
   14137  else
   14138     pkg_failed=untried
   14139 fi
   14140 
   14141 
   14142 
   14143 if test $pkg_failed = yes; then
   14144 
   14145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14146         _pkg_short_errors_supported=yes
   14147 else
   14148         _pkg_short_errors_supported=no
   14149 fi
   14150         if test $_pkg_short_errors_supported = yes; then
   14151 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.6.2 libdrm_radeon" 2>&1`
   14152         else
   14153 	        LIBDRM_RADEON_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.6.2 libdrm_radeon" 2>&1`
   14154         fi
   14155 	# Put the nasty error message in config.log where it belongs
   14156 	echo "$LIBDRM_RADEON_PKG_ERRORS" >&5
   14157 
   14158 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   14159 $as_echo "no" >&6; }
   14160                 LIBDRM_RADEON=no
   14161 elif test $pkg_failed = untried; then
   14162 	LIBDRM_RADEON=no
   14163 else
   14164 	LIBDRM_RADEON_CFLAGS=$pkg_cv_LIBDRM_RADEON_CFLAGS
   14165 	LIBDRM_RADEON_LIBS=$pkg_cv_LIBDRM_RADEON_LIBS
   14166         { $as_echo "$as_me:$LINENO: result: yes" >&5
   14167 $as_echo "yes" >&6; }
   14168 	LIBDRM_RADEON=yes
   14169 fi
   14170 
   14171 			if test "x$LIBDRM_RADEON" = xyes; then
   14172 
   14173 cat >>confdefs.h <<\_ACEOF
   14174 #define XF86DRM_MODE 1
   14175 _ACEOF
   14176 
   14177 
   14178 cat >>confdefs.h <<\_ACEOF
   14179 #define RADEON_DRI2 1
   14180 _ACEOF
   14181 
   14182                         else
   14183                                 DRM_MODE=no
   14184 			fi
   14185 
   14186 pkg_failed=no
   14187 { $as_echo "$as_me:$LINENO: checking for LIBUDEV" >&5
   14188 $as_echo_n "checking for LIBUDEV... " >&6; }
   14189 
   14190 if test -n "$LIBUDEV_CFLAGS"; then
   14191     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   14192  elif test -n "$PKG_CONFIG"; then
   14193     if test -n "$PKG_CONFIG" && \
   14194     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
   14195   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   14196   ac_status=$?
   14197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14198   (exit $ac_status); }; then
   14199   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   14200 else
   14201   pkg_failed=yes
   14202 fi
   14203  else
   14204     pkg_failed=untried
   14205 fi
   14206 if test -n "$LIBUDEV_LIBS"; then
   14207     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   14208  elif test -n "$PKG_CONFIG"; then
   14209     if test -n "$PKG_CONFIG" && \
   14210     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
   14211   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   14212   ac_status=$?
   14213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14214   (exit $ac_status); }; then
   14215   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   14216 else
   14217   pkg_failed=yes
   14218 fi
   14219  else
   14220     pkg_failed=untried
   14221 fi
   14222 
   14223 
   14224 
   14225 if test $pkg_failed = yes; then
   14226 
   14227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14228         _pkg_short_errors_supported=yes
   14229 else
   14230         _pkg_short_errors_supported=no
   14231 fi
   14232         if test $_pkg_short_errors_supported = yes; then
   14233 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
   14234         else
   14235 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
   14236         fi
   14237 	# Put the nasty error message in config.log where it belongs
   14238 	echo "$LIBUDEV_PKG_ERRORS" >&5
   14239 
   14240 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   14241 $as_echo "no" >&6; }
   14242                 LIBUDEV=no
   14243 elif test $pkg_failed = untried; then
   14244 	LIBUDEV=no
   14245 else
   14246 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   14247 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   14248         { $as_echo "$as_me:$LINENO: result: yes" >&5
   14249 $as_echo "yes" >&6; }
   14250 	LIBUDEV=yes
   14251 fi
   14252 			if test "x$LIBUDEV" = xyes; then
   14253 
   14254 cat >>confdefs.h <<\_ACEOF
   14255 #define HAVE_LIBUDEV 1
   14256 _ACEOF
   14257 
   14258 			fi
   14259         	fi
   14260 	fi
   14261 	CFLAGS="$save_CFLAGS"
   14262 else
   14263 	DRM_MODE=no
   14264 fi
   14265  if test x$DRM_MODE = xyes; then
   14266   DRM_MODE_TRUE=
   14267   DRM_MODE_FALSE='#'
   14268 else
   14269   DRM_MODE_TRUE='#'
   14270   DRM_MODE_FALSE=
   14271 fi
   14272 
   14273  if test x$LIBUDEV = xyes; then
   14274   LIBUDEV_TRUE=
   14275   LIBUDEV_FALSE='#'
   14276 else
   14277   LIBUDEV_TRUE='#'
   14278   LIBUDEV_FALSE=
   14279 fi
   14280 
   14281 
   14282 save_CFLAGS="$CFLAGS"
   14283 CFLAGS="$XORG_CFLAGS"
   14284 { $as_echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   14285 $as_echo_n "checking for xf86Modes.h... " >&6; }
   14286 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   14287   $as_echo_n "(cached) " >&6
   14288 else
   14289   cat >conftest.$ac_ext <<_ACEOF
   14290 /* confdefs.h.  */
   14291 _ACEOF
   14292 cat confdefs.h >>conftest.$ac_ext
   14293 cat >>conftest.$ac_ext <<_ACEOF
   14294 /* end confdefs.h.  */
   14295 #include "xorg-server.h"
   14296 
   14297 #include <xf86Modes.h>
   14298 _ACEOF
   14299 rm -f conftest.$ac_objext
   14300 if { (ac_try="$ac_compile"
   14301 case "(($ac_try" in
   14302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14303   *) ac_try_echo=$ac_try;;
   14304 esac
   14305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14306 $as_echo "$ac_try_echo") >&5
   14307   (eval "$ac_compile") 2>conftest.er1
   14308   ac_status=$?
   14309   grep -v '^ *+' conftest.er1 >conftest.err
   14310   rm -f conftest.er1
   14311   cat conftest.err >&5
   14312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14313   (exit $ac_status); } && {
   14314 	 test -z "$ac_c_werror_flag" ||
   14315 	 test ! -s conftest.err
   14316        } && test -s conftest.$ac_objext; then
   14317   ac_cv_header_xf86Modes_h=yes
   14318 else
   14319   $as_echo "$as_me: failed program was:" >&5
   14320 sed 's/^/| /' conftest.$ac_ext >&5
   14321 
   14322 	ac_cv_header_xf86Modes_h=no
   14323 fi
   14324 
   14325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14326 fi
   14327 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   14328 $as_echo "$ac_cv_header_xf86Modes_h" >&6; }
   14329 if test "x$ac_cv_header_xf86Modes_h" = x""yes; then
   14330   XMODES=yes
   14331 else
   14332   XMODES=no
   14333 fi
   14334 
   14335 
   14336 CFLAGS="$save_CFLAGS"
   14337 
   14338 
   14339 cat >>confdefs.h <<\_ACEOF
   14340 #define USE_XAA 1
   14341 _ACEOF
   14342 
   14343 
   14344 # Properly handle EXA.
   14345 { $as_echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   14346 $as_echo_n "checking whether to enable EXA support... " >&6; }
   14347 if test "x$EXA" = xyes; then
   14348         { $as_echo "$as_me:$LINENO: result: yes" >&5
   14349 $as_echo "yes" >&6; }
   14350 
   14351         SAVE_CPPFLAGS="$CPPFLAGS"
   14352         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   14353         if test "${ac_cv_header_exa_h+set}" = set; then
   14354   { $as_echo "$as_me:$LINENO: checking for exa.h" >&5
   14355 $as_echo_n "checking for exa.h... " >&6; }
   14356 if test "${ac_cv_header_exa_h+set}" = set; then
   14357   $as_echo_n "(cached) " >&6
   14358 fi
   14359 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   14360 $as_echo "$ac_cv_header_exa_h" >&6; }
   14361 else
   14362   # Is the header compilable?
   14363 { $as_echo "$as_me:$LINENO: checking exa.h usability" >&5
   14364 $as_echo_n "checking exa.h usability... " >&6; }
   14365 cat >conftest.$ac_ext <<_ACEOF
   14366 /* confdefs.h.  */
   14367 _ACEOF
   14368 cat confdefs.h >>conftest.$ac_ext
   14369 cat >>conftest.$ac_ext <<_ACEOF
   14370 /* end confdefs.h.  */
   14371 $ac_includes_default
   14372 #include <exa.h>
   14373 _ACEOF
   14374 rm -f conftest.$ac_objext
   14375 if { (ac_try="$ac_compile"
   14376 case "(($ac_try" in
   14377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14378   *) ac_try_echo=$ac_try;;
   14379 esac
   14380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14381 $as_echo "$ac_try_echo") >&5
   14382   (eval "$ac_compile") 2>conftest.er1
   14383   ac_status=$?
   14384   grep -v '^ *+' conftest.er1 >conftest.err
   14385   rm -f conftest.er1
   14386   cat conftest.err >&5
   14387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14388   (exit $ac_status); } && {
   14389 	 test -z "$ac_c_werror_flag" ||
   14390 	 test ! -s conftest.err
   14391        } && test -s conftest.$ac_objext; then
   14392   ac_header_compiler=yes
   14393 else
   14394   $as_echo "$as_me: failed program was:" >&5
   14395 sed 's/^/| /' conftest.$ac_ext >&5
   14396 
   14397 	ac_header_compiler=no
   14398 fi
   14399 
   14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14401 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14402 $as_echo "$ac_header_compiler" >&6; }
   14403 
   14404 # Is the header present?
   14405 { $as_echo "$as_me:$LINENO: checking exa.h presence" >&5
   14406 $as_echo_n "checking exa.h presence... " >&6; }
   14407 cat >conftest.$ac_ext <<_ACEOF
   14408 /* confdefs.h.  */
   14409 _ACEOF
   14410 cat confdefs.h >>conftest.$ac_ext
   14411 cat >>conftest.$ac_ext <<_ACEOF
   14412 /* end confdefs.h.  */
   14413 #include <exa.h>
   14414 _ACEOF
   14415 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14416 case "(($ac_try" in
   14417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14418   *) ac_try_echo=$ac_try;;
   14419 esac
   14420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14421 $as_echo "$ac_try_echo") >&5
   14422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14423   ac_status=$?
   14424   grep -v '^ *+' conftest.er1 >conftest.err
   14425   rm -f conftest.er1
   14426   cat conftest.err >&5
   14427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14428   (exit $ac_status); } >/dev/null && {
   14429 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   14430 	 test ! -s conftest.err
   14431        }; then
   14432   ac_header_preproc=yes
   14433 else
   14434   $as_echo "$as_me: failed program was:" >&5
   14435 sed 's/^/| /' conftest.$ac_ext >&5
   14436 
   14437   ac_header_preproc=no
   14438 fi
   14439 
   14440 rm -f conftest.err conftest.$ac_ext
   14441 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14442 $as_echo "$ac_header_preproc" >&6; }
   14443 
   14444 # So?  What about this header?
   14445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14446   yes:no: )
   14447     { $as_echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   14448 $as_echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14449     { $as_echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   14450 $as_echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   14451     ac_header_preproc=yes
   14452     ;;
   14453   no:yes:* )
   14454     { $as_echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   14455 $as_echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   14456     { $as_echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   14457 $as_echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   14458     { $as_echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   14459 $as_echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   14460     { $as_echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   14461 $as_echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   14462     { $as_echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   14463 $as_echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   14464     { $as_echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   14465 $as_echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   14466     ( cat <<\_ASBOX
   14467 ## ---------------------------------------------------------------------- ##
   14468 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   14469 ## ---------------------------------------------------------------------- ##
   14470 _ASBOX
   14471      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14472     ;;
   14473 esac
   14474 { $as_echo "$as_me:$LINENO: checking for exa.h" >&5
   14475 $as_echo_n "checking for exa.h... " >&6; }
   14476 if test "${ac_cv_header_exa_h+set}" = set; then
   14477   $as_echo_n "(cached) " >&6
   14478 else
   14479   ac_cv_header_exa_h=$ac_header_preproc
   14480 fi
   14481 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   14482 $as_echo "$ac_cv_header_exa_h" >&6; }
   14483 
   14484 fi
   14485 if test "x$ac_cv_header_exa_h" = x""yes; then
   14486   have_exa_h="yes"
   14487 else
   14488   have_exa_h="no"
   14489 fi
   14490 
   14491 
   14492         CPPFLAGS="$SAVE_CPPFLAGS"
   14493 else
   14494         { $as_echo "$as_me:$LINENO: result: no" >&5
   14495 $as_echo "no" >&6; }
   14496 fi
   14497 
   14498 SAVE_CPPFLAGS="$CPPFLAGS"
   14499 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   14500 if test "x$have_exa_h" = xyes; then
   14501         { $as_echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   14502 $as_echo_n "checking whether EXA version is at least 2.0.0... " >&6; }
   14503         cat >conftest.$ac_ext <<_ACEOF
   14504 /* confdefs.h.  */
   14505 _ACEOF
   14506 cat confdefs.h >>conftest.$ac_ext
   14507 cat >>conftest.$ac_ext <<_ACEOF
   14508 /* end confdefs.h.  */
   14509 
   14510 #include "exa.h"
   14511 #if EXA_VERSION_MAJOR < 2
   14512 #error OLD EXA!
   14513 #endif
   14514 
   14515 int
   14516 main ()
   14517 {
   14518 
   14519   ;
   14520   return 0;
   14521 }
   14522 _ACEOF
   14523 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14524 case "(($ac_try" in
   14525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14526   *) ac_try_echo=$ac_try;;
   14527 esac
   14528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14529 $as_echo "$ac_try_echo") >&5
   14530   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14531   ac_status=$?
   14532   grep -v '^ *+' conftest.er1 >conftest.err
   14533   rm -f conftest.er1
   14534   cat conftest.err >&5
   14535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14536   (exit $ac_status); } >/dev/null && {
   14537 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   14538 	 test ! -s conftest.err
   14539        }; then
   14540   USE_EXA=yes
   14541 else
   14542   $as_echo "$as_me: failed program was:" >&5
   14543 sed 's/^/| /' conftest.$ac_ext >&5
   14544 
   14545   USE_EXA=no
   14546 fi
   14547 
   14548 rm -f conftest.err conftest.$ac_ext
   14549         { $as_echo "$as_me:$LINENO: result: $USE_EXA" >&5
   14550 $as_echo "$USE_EXA" >&6; }
   14551 
   14552         if test "x$USE_EXA" = xyes; then
   14553 
   14554 cat >>confdefs.h <<\_ACEOF
   14555 #define USE_EXA 1
   14556 _ACEOF
   14557 
   14558         fi
   14559 fi
   14560 
   14561 { $as_echo "$as_me:$LINENO: checking whether xf86XVFillKeyHelperDrawable is declared" >&5
   14562 $as_echo_n "checking whether xf86XVFillKeyHelperDrawable is declared... " >&6; }
   14563 if test "${ac_cv_have_decl_xf86XVFillKeyHelperDrawable+set}" = set; then
   14564   $as_echo_n "(cached) " >&6
   14565 else
   14566   cat >conftest.$ac_ext <<_ACEOF
   14567 /* confdefs.h.  */
   14568 _ACEOF
   14569 cat confdefs.h >>conftest.$ac_ext
   14570 cat >>conftest.$ac_ext <<_ACEOF
   14571 /* end confdefs.h.  */
   14572 #include <xf86xv.h>
   14573 
   14574 int
   14575 main ()
   14576 {
   14577 #ifndef xf86XVFillKeyHelperDrawable
   14578   (void) xf86XVFillKeyHelperDrawable;
   14579 #endif
   14580 
   14581   ;
   14582   return 0;
   14583 }
   14584 _ACEOF
   14585 rm -f conftest.$ac_objext
   14586 if { (ac_try="$ac_compile"
   14587 case "(($ac_try" in
   14588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14589   *) ac_try_echo=$ac_try;;
   14590 esac
   14591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14592 $as_echo "$ac_try_echo") >&5
   14593   (eval "$ac_compile") 2>conftest.er1
   14594   ac_status=$?
   14595   grep -v '^ *+' conftest.er1 >conftest.err
   14596   rm -f conftest.er1
   14597   cat conftest.err >&5
   14598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14599   (exit $ac_status); } && {
   14600 	 test -z "$ac_c_werror_flag" ||
   14601 	 test ! -s conftest.err
   14602        } && test -s conftest.$ac_objext; then
   14603   ac_cv_have_decl_xf86XVFillKeyHelperDrawable=yes
   14604 else
   14605   $as_echo "$as_me: failed program was:" >&5
   14606 sed 's/^/| /' conftest.$ac_ext >&5
   14607 
   14608 	ac_cv_have_decl_xf86XVFillKeyHelperDrawable=no
   14609 fi
   14610 
   14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14612 fi
   14613 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&5
   14614 $as_echo "$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&6; }
   14615 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = x""yes; then
   14616 
   14617 cat >>confdefs.h <<\_ACEOF
   14618 #define HAVE_XV_DRAWABLE_HELPER 1
   14619 _ACEOF
   14620 
   14621 fi
   14622 
   14623 
   14624 { $as_echo "$as_me:$LINENO: checking whether xf86ModeBandwidth is declared" >&5
   14625 $as_echo_n "checking whether xf86ModeBandwidth is declared... " >&6; }
   14626 if test "${ac_cv_have_decl_xf86ModeBandwidth+set}" = set; then
   14627   $as_echo_n "(cached) " >&6
   14628 else
   14629   cat >conftest.$ac_ext <<_ACEOF
   14630 /* confdefs.h.  */
   14631 _ACEOF
   14632 cat confdefs.h >>conftest.$ac_ext
   14633 cat >>conftest.$ac_ext <<_ACEOF
   14634 /* end confdefs.h.  */
   14635 #include "xorg-server.h"
   14636 	       #include "xf86Modes.h"
   14637 
   14638 int
   14639 main ()
   14640 {
   14641 #ifndef xf86ModeBandwidth
   14642   (void) xf86ModeBandwidth;
   14643 #endif
   14644 
   14645   ;
   14646   return 0;
   14647 }
   14648 _ACEOF
   14649 rm -f conftest.$ac_objext
   14650 if { (ac_try="$ac_compile"
   14651 case "(($ac_try" in
   14652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14653   *) ac_try_echo=$ac_try;;
   14654 esac
   14655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14656 $as_echo "$ac_try_echo") >&5
   14657   (eval "$ac_compile") 2>conftest.er1
   14658   ac_status=$?
   14659   grep -v '^ *+' conftest.er1 >conftest.err
   14660   rm -f conftest.er1
   14661   cat conftest.err >&5
   14662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14663   (exit $ac_status); } && {
   14664 	 test -z "$ac_c_werror_flag" ||
   14665 	 test ! -s conftest.err
   14666        } && test -s conftest.$ac_objext; then
   14667   ac_cv_have_decl_xf86ModeBandwidth=yes
   14668 else
   14669   $as_echo "$as_me: failed program was:" >&5
   14670 sed 's/^/| /' conftest.$ac_ext >&5
   14671 
   14672 	ac_cv_have_decl_xf86ModeBandwidth=no
   14673 fi
   14674 
   14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14676 fi
   14677 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ModeBandwidth" >&5
   14678 $as_echo "$ac_cv_have_decl_xf86ModeBandwidth" >&6; }
   14679 if test "x$ac_cv_have_decl_xf86ModeBandwidth" = x""yes; then
   14680 
   14681 cat >>confdefs.h <<\_ACEOF
   14682 #define HAVE_XF86MODEBANDWIDTH 1
   14683 _ACEOF
   14684 
   14685 fi
   14686 
   14687 
   14688 { $as_echo "$as_me:$LINENO: checking whether xf86_crtc_clip_video_helper is declared" >&5
   14689 $as_echo_n "checking whether xf86_crtc_clip_video_helper is declared... " >&6; }
   14690 if test "${ac_cv_have_decl_xf86_crtc_clip_video_helper+set}" = set; then
   14691   $as_echo_n "(cached) " >&6
   14692 else
   14693   cat >conftest.$ac_ext <<_ACEOF
   14694 /* confdefs.h.  */
   14695 _ACEOF
   14696 cat confdefs.h >>conftest.$ac_ext
   14697 cat >>conftest.$ac_ext <<_ACEOF
   14698 /* end confdefs.h.  */
   14699 #include <X11/Xmd.h>
   14700 	       #include "xorg-server.h"
   14701 	       #include "xf86i2c.h"
   14702 	       #include "xf86Crtc.h"
   14703 
   14704 int
   14705 main ()
   14706 {
   14707 #ifndef xf86_crtc_clip_video_helper
   14708   (void) xf86_crtc_clip_video_helper;
   14709 #endif
   14710 
   14711   ;
   14712   return 0;
   14713 }
   14714 _ACEOF
   14715 rm -f conftest.$ac_objext
   14716 if { (ac_try="$ac_compile"
   14717 case "(($ac_try" in
   14718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14719   *) ac_try_echo=$ac_try;;
   14720 esac
   14721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14722 $as_echo "$ac_try_echo") >&5
   14723   (eval "$ac_compile") 2>conftest.er1
   14724   ac_status=$?
   14725   grep -v '^ *+' conftest.er1 >conftest.err
   14726   rm -f conftest.er1
   14727   cat conftest.err >&5
   14728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14729   (exit $ac_status); } && {
   14730 	 test -z "$ac_c_werror_flag" ||
   14731 	 test ! -s conftest.err
   14732        } && test -s conftest.$ac_objext; then
   14733   ac_cv_have_decl_xf86_crtc_clip_video_helper=yes
   14734 else
   14735   $as_echo "$as_me: failed program was:" >&5
   14736 sed 's/^/| /' conftest.$ac_ext >&5
   14737 
   14738 	ac_cv_have_decl_xf86_crtc_clip_video_helper=no
   14739 fi
   14740 
   14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14742 fi
   14743 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86_crtc_clip_video_helper" >&5
   14744 $as_echo "$ac_cv_have_decl_xf86_crtc_clip_video_helper" >&6; }
   14745 if test "x$ac_cv_have_decl_xf86_crtc_clip_video_helper" = x""yes; then
   14746 
   14747 cat >>confdefs.h <<\_ACEOF
   14748 #define HAVE_XF86CRTCCLIPVIDEOHELPER 1
   14749 _ACEOF
   14750 
   14751 fi
   14752 
   14753 
   14754 { $as_echo "$as_me:$LINENO: checking whether xf86RotateFreeShadow is declared" >&5
   14755 $as_echo_n "checking whether xf86RotateFreeShadow is declared... " >&6; }
   14756 if test "${ac_cv_have_decl_xf86RotateFreeShadow+set}" = set; then
   14757   $as_echo_n "(cached) " >&6
   14758 else
   14759   cat >conftest.$ac_ext <<_ACEOF
   14760 /* confdefs.h.  */
   14761 _ACEOF
   14762 cat confdefs.h >>conftest.$ac_ext
   14763 cat >>conftest.$ac_ext <<_ACEOF
   14764 /* end confdefs.h.  */
   14765 #include <xorg-server.h>
   14766                #include <windowstr.h>
   14767 	       #include <xf86Crtc.h>
   14768 
   14769 int
   14770 main ()
   14771 {
   14772 #ifndef xf86RotateFreeShadow
   14773   (void) xf86RotateFreeShadow;
   14774 #endif
   14775 
   14776   ;
   14777   return 0;
   14778 }
   14779 _ACEOF
   14780 rm -f conftest.$ac_objext
   14781 if { (ac_try="$ac_compile"
   14782 case "(($ac_try" in
   14783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14784   *) ac_try_echo=$ac_try;;
   14785 esac
   14786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14787 $as_echo "$ac_try_echo") >&5
   14788   (eval "$ac_compile") 2>conftest.er1
   14789   ac_status=$?
   14790   grep -v '^ *+' conftest.er1 >conftest.err
   14791   rm -f conftest.er1
   14792   cat conftest.err >&5
   14793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14794   (exit $ac_status); } && {
   14795 	 test -z "$ac_c_werror_flag" ||
   14796 	 test ! -s conftest.err
   14797        } && test -s conftest.$ac_objext; then
   14798   ac_cv_have_decl_xf86RotateFreeShadow=yes
   14799 else
   14800   $as_echo "$as_me: failed program was:" >&5
   14801 sed 's/^/| /' conftest.$ac_ext >&5
   14802 
   14803 	ac_cv_have_decl_xf86RotateFreeShadow=no
   14804 fi
   14805 
   14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14807 fi
   14808 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86RotateFreeShadow" >&5
   14809 $as_echo "$ac_cv_have_decl_xf86RotateFreeShadow" >&6; }
   14810 if test "x$ac_cv_have_decl_xf86RotateFreeShadow" = x""yes; then
   14811 
   14812 cat >>confdefs.h <<\_ACEOF
   14813 #define HAVE_FREE_SHADOW 1
   14814 _ACEOF
   14815 
   14816 fi
   14817 
   14818 
   14819 { $as_echo "$as_me:$LINENO: checking whether pci_device_enable is declared" >&5
   14820 $as_echo_n "checking whether pci_device_enable is declared... " >&6; }
   14821 if test "${ac_cv_have_decl_pci_device_enable+set}" = set; then
   14822   $as_echo_n "(cached) " >&6
   14823 else
   14824   cat >conftest.$ac_ext <<_ACEOF
   14825 /* confdefs.h.  */
   14826 _ACEOF
   14827 cat confdefs.h >>conftest.$ac_ext
   14828 cat >>conftest.$ac_ext <<_ACEOF
   14829 /* end confdefs.h.  */
   14830 #include <pciaccess.h>
   14831 
   14832 int
   14833 main ()
   14834 {
   14835 #ifndef pci_device_enable
   14836   (void) pci_device_enable;
   14837 #endif
   14838 
   14839   ;
   14840   return 0;
   14841 }
   14842 _ACEOF
   14843 rm -f conftest.$ac_objext
   14844 if { (ac_try="$ac_compile"
   14845 case "(($ac_try" in
   14846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14847   *) ac_try_echo=$ac_try;;
   14848 esac
   14849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14850 $as_echo "$ac_try_echo") >&5
   14851   (eval "$ac_compile") 2>conftest.er1
   14852   ac_status=$?
   14853   grep -v '^ *+' conftest.er1 >conftest.err
   14854   rm -f conftest.er1
   14855   cat conftest.err >&5
   14856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14857   (exit $ac_status); } && {
   14858 	 test -z "$ac_c_werror_flag" ||
   14859 	 test ! -s conftest.err
   14860        } && test -s conftest.$ac_objext; then
   14861   ac_cv_have_decl_pci_device_enable=yes
   14862 else
   14863   $as_echo "$as_me: failed program was:" >&5
   14864 sed 's/^/| /' conftest.$ac_ext >&5
   14865 
   14866 	ac_cv_have_decl_pci_device_enable=no
   14867 fi
   14868 
   14869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14870 fi
   14871 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_pci_device_enable" >&5
   14872 $as_echo "$ac_cv_have_decl_pci_device_enable" >&6; }
   14873 if test "x$ac_cv_have_decl_pci_device_enable" = x""yes; then
   14874 
   14875 cat >>confdefs.h <<\_ACEOF
   14876 #define HAVE_PCI_DEVICE_ENABLE 1
   14877 _ACEOF
   14878 
   14879 fi
   14880 
   14881 
   14882 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   14883 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   14884 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   14885   $as_echo_n "(cached) " >&6
   14886 else
   14887   cat >conftest.$ac_ext <<_ACEOF
   14888 /* confdefs.h.  */
   14889 _ACEOF
   14890 cat confdefs.h >>conftest.$ac_ext
   14891 cat >>conftest.$ac_ext <<_ACEOF
   14892 /* end confdefs.h.  */
   14893 #include "xorg-server.h"
   14894 
   14895 int
   14896 main ()
   14897 {
   14898 #ifndef XSERVER_LIBPCIACCESS
   14899   (void) XSERVER_LIBPCIACCESS;
   14900 #endif
   14901 
   14902   ;
   14903   return 0;
   14904 }
   14905 _ACEOF
   14906 rm -f conftest.$ac_objext
   14907 if { (ac_try="$ac_compile"
   14908 case "(($ac_try" in
   14909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14910   *) ac_try_echo=$ac_try;;
   14911 esac
   14912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14913 $as_echo "$ac_try_echo") >&5
   14914   (eval "$ac_compile") 2>conftest.er1
   14915   ac_status=$?
   14916   grep -v '^ *+' conftest.er1 >conftest.err
   14917   rm -f conftest.er1
   14918   cat conftest.err >&5
   14919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14920   (exit $ac_status); } && {
   14921 	 test -z "$ac_c_werror_flag" ||
   14922 	 test ! -s conftest.err
   14923        } && test -s conftest.$ac_objext; then
   14924   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   14925 else
   14926   $as_echo "$as_me: failed program was:" >&5
   14927 sed 's/^/| /' conftest.$ac_ext >&5
   14928 
   14929 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   14930 fi
   14931 
   14932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14933 fi
   14934 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   14935 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   14936 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   14937   XSERVER_LIBPCIACCESS=yes
   14938 else
   14939   XSERVER_LIBPCIACCESS=no
   14940 fi
   14941 
   14942 
   14943  if test "x$XMODES" = xno; then
   14944   XMODES_TRUE=
   14945   XMODES_FALSE='#'
   14946 else
   14947   XMODES_TRUE='#'
   14948   XMODES_FALSE=
   14949 fi
   14950 
   14951 
   14952 if test "x$XSERVER_SOURCE" = x; then
   14953         if test -d ../../xserver; then
   14954                 XSERVER_SOURCE="`cd ../../xserver && pwd`"
   14955         fi
   14956 fi
   14957 
   14958 if test -d "$XSERVER_SOURCE"; then
   14959         case "$XSERVER_SOURCE" in
   14960         /*)
   14961                 ;;
   14962         *)
   14963                 XSERVER_SOURCE="`cd $XSERVER_SOURCE && pwd`"
   14964         esac
   14965         if test -f src/modes/xf86Modes.h; then
   14966                 :
   14967         else
   14968                 ln -sf $XSERVER_SOURCE/hw/xfree86/modes src/modes
   14969         fi
   14970 
   14971         if test -f src/parser/xf86Parser.h; then
   14972                 :
   14973         else
   14974                 ln -sf $XSERVER_SOURCE/hw/xfree86/parser src/parser
   14975         fi
   14976 fi
   14977 if test "x$XMODES" = xyes; then
   14978         { $as_echo "$as_me:$LINENO: X server has new mode code" >&5
   14979 $as_echo "$as_me: X server has new mode code" >&6;}
   14980 
   14981 cat >>confdefs.h <<\_ACEOF
   14982 #define XMODES 1
   14983 _ACEOF
   14984 
   14985         XMODES_CFLAGS=
   14986 else
   14987         if test -f src/modes/xf86Modes.h -a -f src/parser/xf86Parser.h; then
   14988                 { $as_echo "$as_me:$LINENO: X server is missing new mode code, using local copy" >&5
   14989 $as_echo "$as_me: X server is missing new mode code, using local copy" >&6;}
   14990         else
   14991                 { { $as_echo "$as_me:$LINENO: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&5
   14992 $as_echo "$as_me: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&2;}
   14993    { (exit 1); exit 1; }; }
   14994         fi
   14995         XMODES_CFLAGS='-DXF86_MODES_RENAME -I$(top_srcdir)/src -I$(top_srcdir)/src/modes -I$(top_srcdir)/src/parser'
   14996 fi
   14997 
   14998 
   14999 
   15000 CPPFLAGS="$SAVE_CPPFLAGS"
   15001 
   15002  if test "x$USE_EXA" = xyes; then
   15003   USE_EXA_TRUE=
   15004   USE_EXA_FALSE='#'
   15005 else
   15006   USE_EXA_TRUE='#'
   15007   USE_EXA_FALSE=
   15008 fi
   15009 
   15010 
   15011  if test "x$LIBDRM_RADEON" = xyes; then
   15012   XF86DRM_MODE_TRUE=
   15013   XF86DRM_MODE_FALSE='#'
   15014 else
   15015   XF86DRM_MODE_TRUE='#'
   15016   XF86DRM_MODE_FALSE=
   15017 fi
   15018 
   15019 
   15020 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   15021 
   15022 pkg_failed=no
   15023 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   15024 $as_echo_n "checking for PCIACCESS... " >&6; }
   15025 
   15026 if test -n "$PCIACCESS_CFLAGS"; then
   15027     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   15028  elif test -n "$PKG_CONFIG"; then
   15029     if test -n "$PKG_CONFIG" && \
   15030     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   15031   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   15032   ac_status=$?
   15033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15034   (exit $ac_status); }; then
   15035   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   15036 else
   15037   pkg_failed=yes
   15038 fi
   15039  else
   15040     pkg_failed=untried
   15041 fi
   15042 if test -n "$PCIACCESS_LIBS"; then
   15043     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   15044  elif test -n "$PKG_CONFIG"; then
   15045     if test -n "$PKG_CONFIG" && \
   15046     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   15047   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   15048   ac_status=$?
   15049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15050   (exit $ac_status); }; then
   15051   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   15052 else
   15053   pkg_failed=yes
   15054 fi
   15055  else
   15056     pkg_failed=untried
   15057 fi
   15058 
   15059 
   15060 
   15061 if test $pkg_failed = yes; then
   15062 
   15063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15064         _pkg_short_errors_supported=yes
   15065 else
   15066         _pkg_short_errors_supported=no
   15067 fi
   15068         if test $_pkg_short_errors_supported = yes; then
   15069 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   15070         else
   15071 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   15072         fi
   15073 	# Put the nasty error message in config.log where it belongs
   15074 	echo "$PCIACCESS_PKG_ERRORS" >&5
   15075 
   15076 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   15077 
   15078 $PCIACCESS_PKG_ERRORS
   15079 
   15080 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   15081 installed software in a non-standard prefix.
   15082 
   15083 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   15084 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   15085 See the pkg-config man page for more details.
   15086 " >&5
   15087 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   15088 
   15089 $PCIACCESS_PKG_ERRORS
   15090 
   15091 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   15092 installed software in a non-standard prefix.
   15093 
   15094 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   15095 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   15096 See the pkg-config man page for more details.
   15097 " >&2;}
   15098    { (exit 1); exit 1; }; }
   15099 elif test $pkg_failed = untried; then
   15100 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   15101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15102 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   15103 is in your PATH or set the PKG_CONFIG environment variable to the full
   15104 path to pkg-config.
   15105 
   15106 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   15107 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   15108 See the pkg-config man page for more details.
   15109 
   15110 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   15111 See \`config.log' for more details." >&5
   15112 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   15113 is in your PATH or set the PKG_CONFIG environment variable to the full
   15114 path to pkg-config.
   15115 
   15116 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   15117 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   15118 See the pkg-config man page for more details.
   15119 
   15120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   15121 See \`config.log' for more details." >&2;}
   15122    { (exit 1); exit 1; }; }; }
   15123 else
   15124 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   15125 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   15126         { $as_echo "$as_me:$LINENO: result: yes" >&5
   15127 $as_echo "yes" >&6; }
   15128 	:
   15129 fi
   15130     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   15131 fi
   15132  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   15133   XSERVER_LIBPCIACCESS_TRUE=
   15134   XSERVER_LIBPCIACCESS_FALSE='#'
   15135 else
   15136   XSERVER_LIBPCIACCESS_TRUE='#'
   15137   XSERVER_LIBPCIACCESS_FALSE=
   15138 fi
   15139 
   15140 
   15141 # Checks for headers/macros for byte swapping
   15142 # Known variants:
   15143 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   15144 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   15145 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   15146 #	and a fallback to local macros if none of the above are found
   15147 
   15148 # if <byteswap.h> is found, assume it's the correct version
   15149 
   15150 for ac_header in byteswap.h
   15151 do
   15152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15154   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   15155 $as_echo_n "checking for $ac_header... " >&6; }
   15156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15157   $as_echo_n "(cached) " >&6
   15158 fi
   15159 ac_res=`eval 'as_val=${'$as_ac_Header'}
   15160 		 $as_echo "$as_val"'`
   15161 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   15162 $as_echo "$ac_res" >&6; }
   15163 else
   15164   # Is the header compilable?
   15165 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15166 $as_echo_n "checking $ac_header usability... " >&6; }
   15167 cat >conftest.$ac_ext <<_ACEOF
   15168 /* confdefs.h.  */
   15169 _ACEOF
   15170 cat confdefs.h >>conftest.$ac_ext
   15171 cat >>conftest.$ac_ext <<_ACEOF
   15172 /* end confdefs.h.  */
   15173 $ac_includes_default
   15174 #include <$ac_header>
   15175 _ACEOF
   15176 rm -f conftest.$ac_objext
   15177 if { (ac_try="$ac_compile"
   15178 case "(($ac_try" in
   15179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15180   *) ac_try_echo=$ac_try;;
   15181 esac
   15182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15183 $as_echo "$ac_try_echo") >&5
   15184   (eval "$ac_compile") 2>conftest.er1
   15185   ac_status=$?
   15186   grep -v '^ *+' conftest.er1 >conftest.err
   15187   rm -f conftest.er1
   15188   cat conftest.err >&5
   15189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15190   (exit $ac_status); } && {
   15191 	 test -z "$ac_c_werror_flag" ||
   15192 	 test ! -s conftest.err
   15193        } && test -s conftest.$ac_objext; then
   15194   ac_header_compiler=yes
   15195 else
   15196   $as_echo "$as_me: failed program was:" >&5
   15197 sed 's/^/| /' conftest.$ac_ext >&5
   15198 
   15199 	ac_header_compiler=no
   15200 fi
   15201 
   15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15203 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15204 $as_echo "$ac_header_compiler" >&6; }
   15205 
   15206 # Is the header present?
   15207 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15208 $as_echo_n "checking $ac_header presence... " >&6; }
   15209 cat >conftest.$ac_ext <<_ACEOF
   15210 /* confdefs.h.  */
   15211 _ACEOF
   15212 cat confdefs.h >>conftest.$ac_ext
   15213 cat >>conftest.$ac_ext <<_ACEOF
   15214 /* end confdefs.h.  */
   15215 #include <$ac_header>
   15216 _ACEOF
   15217 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15218 case "(($ac_try" in
   15219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15220   *) ac_try_echo=$ac_try;;
   15221 esac
   15222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15223 $as_echo "$ac_try_echo") >&5
   15224   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15225   ac_status=$?
   15226   grep -v '^ *+' conftest.er1 >conftest.err
   15227   rm -f conftest.er1
   15228   cat conftest.err >&5
   15229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15230   (exit $ac_status); } >/dev/null && {
   15231 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   15232 	 test ! -s conftest.err
   15233        }; then
   15234   ac_header_preproc=yes
   15235 else
   15236   $as_echo "$as_me: failed program was:" >&5
   15237 sed 's/^/| /' conftest.$ac_ext >&5
   15238 
   15239   ac_header_preproc=no
   15240 fi
   15241 
   15242 rm -f conftest.err conftest.$ac_ext
   15243 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15244 $as_echo "$ac_header_preproc" >&6; }
   15245 
   15246 # So?  What about this header?
   15247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15248   yes:no: )
   15249     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15250 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15251     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15252 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15253     ac_header_preproc=yes
   15254     ;;
   15255   no:yes:* )
   15256     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15257 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15258     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15259 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15260     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15261 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15262     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15263 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15264     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15265 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15266     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15267 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15268     ( cat <<\_ASBOX
   15269 ## ---------------------------------------------------------------------- ##
   15270 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   15271 ## ---------------------------------------------------------------------- ##
   15272 _ASBOX
   15273      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15274     ;;
   15275 esac
   15276 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   15277 $as_echo_n "checking for $ac_header... " >&6; }
   15278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15279   $as_echo_n "(cached) " >&6
   15280 else
   15281   eval "$as_ac_Header=\$ac_header_preproc"
   15282 fi
   15283 ac_res=`eval 'as_val=${'$as_ac_Header'}
   15284 		 $as_echo "$as_val"'`
   15285 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   15286 $as_echo "$ac_res" >&6; }
   15287 
   15288 fi
   15289 as_val=`eval 'as_val=${'$as_ac_Header'}
   15290 		 $as_echo "$as_val"'`
   15291    if test "x$as_val" = x""yes; then
   15292   cat >>confdefs.h <<_ACEOF
   15293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15294 _ACEOF
   15295 
   15296 fi
   15297 
   15298 done
   15299 
   15300 
   15301 # if <sys/endian.h> is found, have to check which version
   15302 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   15303   { $as_echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   15304 $as_echo_n "checking for sys/endian.h... " >&6; }
   15305 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   15306   $as_echo_n "(cached) " >&6
   15307 fi
   15308 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   15309 $as_echo "$ac_cv_header_sys_endian_h" >&6; }
   15310 else
   15311   # Is the header compilable?
   15312 { $as_echo "$as_me:$LINENO: checking sys/endian.h usability" >&5
   15313 $as_echo_n "checking sys/endian.h usability... " >&6; }
   15314 cat >conftest.$ac_ext <<_ACEOF
   15315 /* confdefs.h.  */
   15316 _ACEOF
   15317 cat confdefs.h >>conftest.$ac_ext
   15318 cat >>conftest.$ac_ext <<_ACEOF
   15319 /* end confdefs.h.  */
   15320 $ac_includes_default
   15321 #include <sys/endian.h>
   15322 _ACEOF
   15323 rm -f conftest.$ac_objext
   15324 if { (ac_try="$ac_compile"
   15325 case "(($ac_try" in
   15326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15327   *) ac_try_echo=$ac_try;;
   15328 esac
   15329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15330 $as_echo "$ac_try_echo") >&5
   15331   (eval "$ac_compile") 2>conftest.er1
   15332   ac_status=$?
   15333   grep -v '^ *+' conftest.er1 >conftest.err
   15334   rm -f conftest.er1
   15335   cat conftest.err >&5
   15336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15337   (exit $ac_status); } && {
   15338 	 test -z "$ac_c_werror_flag" ||
   15339 	 test ! -s conftest.err
   15340        } && test -s conftest.$ac_objext; then
   15341   ac_header_compiler=yes
   15342 else
   15343   $as_echo "$as_me: failed program was:" >&5
   15344 sed 's/^/| /' conftest.$ac_ext >&5
   15345 
   15346 	ac_header_compiler=no
   15347 fi
   15348 
   15349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15350 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15351 $as_echo "$ac_header_compiler" >&6; }
   15352 
   15353 # Is the header present?
   15354 { $as_echo "$as_me:$LINENO: checking sys/endian.h presence" >&5
   15355 $as_echo_n "checking sys/endian.h presence... " >&6; }
   15356 cat >conftest.$ac_ext <<_ACEOF
   15357 /* confdefs.h.  */
   15358 _ACEOF
   15359 cat confdefs.h >>conftest.$ac_ext
   15360 cat >>conftest.$ac_ext <<_ACEOF
   15361 /* end confdefs.h.  */
   15362 #include <sys/endian.h>
   15363 _ACEOF
   15364 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15365 case "(($ac_try" in
   15366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15367   *) ac_try_echo=$ac_try;;
   15368 esac
   15369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15370 $as_echo "$ac_try_echo") >&5
   15371   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15372   ac_status=$?
   15373   grep -v '^ *+' conftest.er1 >conftest.err
   15374   rm -f conftest.er1
   15375   cat conftest.err >&5
   15376   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15377   (exit $ac_status); } >/dev/null && {
   15378 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   15379 	 test ! -s conftest.err
   15380        }; then
   15381   ac_header_preproc=yes
   15382 else
   15383   $as_echo "$as_me: failed program was:" >&5
   15384 sed 's/^/| /' conftest.$ac_ext >&5
   15385 
   15386   ac_header_preproc=no
   15387 fi
   15388 
   15389 rm -f conftest.err conftest.$ac_ext
   15390 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15391 $as_echo "$ac_header_preproc" >&6; }
   15392 
   15393 # So?  What about this header?
   15394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15395   yes:no: )
   15396     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
   15397 $as_echo "$as_me: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15398     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the compiler's result" >&5
   15399 $as_echo "$as_me: WARNING: sys/endian.h: proceeding with the compiler's result" >&2;}
   15400     ac_header_preproc=yes
   15401     ;;
   15402   no:yes:* )
   15403     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: present but cannot be compiled" >&5
   15404 $as_echo "$as_me: WARNING: sys/endian.h: present but cannot be compiled" >&2;}
   15405     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&5
   15406 $as_echo "$as_me: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&2;}
   15407     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: see the Autoconf documentation" >&5
   15408 $as_echo "$as_me: WARNING: sys/endian.h: see the Autoconf documentation" >&2;}
   15409     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&5
   15410 $as_echo "$as_me: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   15411     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&5
   15412 $as_echo "$as_me: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&2;}
   15413     { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&5
   15414 $as_echo "$as_me: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&2;}
   15415     ( cat <<\_ASBOX
   15416 ## ---------------------------------------------------------------------- ##
   15417 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   15418 ## ---------------------------------------------------------------------- ##
   15419 _ASBOX
   15420      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15421     ;;
   15422 esac
   15423 { $as_echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   15424 $as_echo_n "checking for sys/endian.h... " >&6; }
   15425 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   15426   $as_echo_n "(cached) " >&6
   15427 else
   15428   ac_cv_header_sys_endian_h=$ac_header_preproc
   15429 fi
   15430 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   15431 $as_echo "$ac_cv_header_sys_endian_h" >&6; }
   15432 
   15433 fi
   15434 if test "x$ac_cv_header_sys_endian_h" = x""yes; then
   15435   HAVE_SYS_ENDIAN_H="yes"
   15436 else
   15437   HAVE_SYS_ENDIAN_H="no"
   15438 fi
   15439 
   15440 
   15441 
   15442 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   15443 	{ $as_echo "$as_me:$LINENO: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   15444 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   15445 	cat >conftest.$ac_ext <<_ACEOF
   15446 /* confdefs.h.  */
   15447 _ACEOF
   15448 cat confdefs.h >>conftest.$ac_ext
   15449 cat >>conftest.$ac_ext <<_ACEOF
   15450 /* end confdefs.h.  */
   15451 
   15452 #include <sys/types.h>
   15453 #include <sys/endian.h>
   15454 
   15455 int
   15456 main ()
   15457 {
   15458 
   15459 int a = 1, b;
   15460 b = __swap16(a);
   15461 
   15462   ;
   15463   return 0;
   15464 }
   15465 
   15466 _ACEOF
   15467 rm -f conftest.$ac_objext conftest$ac_exeext
   15468 if { (ac_try="$ac_link"
   15469 case "(($ac_try" in
   15470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15471   *) ac_try_echo=$ac_try;;
   15472 esac
   15473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15474 $as_echo "$ac_try_echo") >&5
   15475   (eval "$ac_link") 2>conftest.er1
   15476   ac_status=$?
   15477   grep -v '^ *+' conftest.er1 >conftest.err
   15478   rm -f conftest.er1
   15479   cat conftest.err >&5
   15480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15481   (exit $ac_status); } && {
   15482 	 test -z "$ac_c_werror_flag" ||
   15483 	 test ! -s conftest.err
   15484        } && test -s conftest$ac_exeext && {
   15485 	 test "$cross_compiling" = yes ||
   15486 	 $as_test_x conftest$ac_exeext
   15487        }; then
   15488   SYS_ENDIAN__SWAP='yes'
   15489 else
   15490   $as_echo "$as_me: failed program was:" >&5
   15491 sed 's/^/| /' conftest.$ac_ext >&5
   15492 
   15493 	SYS_ENDIAN__SWAP='no'
   15494 fi
   15495 
   15496 rm -rf conftest.dSYM
   15497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15498       conftest$ac_exeext conftest.$ac_ext
   15499 	{ $as_echo "$as_me:$LINENO: result: $SYS_ENDIAN__SWAP" >&5
   15500 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   15501 
   15502 	{ $as_echo "$as_me:$LINENO: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   15503 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   15504 	cat >conftest.$ac_ext <<_ACEOF
   15505 /* confdefs.h.  */
   15506 _ACEOF
   15507 cat confdefs.h >>conftest.$ac_ext
   15508 cat >>conftest.$ac_ext <<_ACEOF
   15509 /* end confdefs.h.  */
   15510 
   15511 #include <sys/types.h>
   15512 #include <sys/endian.h>
   15513 
   15514 int
   15515 main ()
   15516 {
   15517 
   15518 int a = 1, b;
   15519 b = bswap16(a);
   15520 
   15521   ;
   15522   return 0;
   15523 }
   15524 
   15525 _ACEOF
   15526 rm -f conftest.$ac_objext conftest$ac_exeext
   15527 if { (ac_try="$ac_link"
   15528 case "(($ac_try" in
   15529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15530   *) ac_try_echo=$ac_try;;
   15531 esac
   15532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15533 $as_echo "$ac_try_echo") >&5
   15534   (eval "$ac_link") 2>conftest.er1
   15535   ac_status=$?
   15536   grep -v '^ *+' conftest.er1 >conftest.err
   15537   rm -f conftest.er1
   15538   cat conftest.err >&5
   15539   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15540   (exit $ac_status); } && {
   15541 	 test -z "$ac_c_werror_flag" ||
   15542 	 test ! -s conftest.err
   15543        } && test -s conftest$ac_exeext && {
   15544 	 test "$cross_compiling" = yes ||
   15545 	 $as_test_x conftest$ac_exeext
   15546        }; then
   15547   SYS_ENDIAN_BSWAP='yes'
   15548 else
   15549   $as_echo "$as_me: failed program was:" >&5
   15550 sed 's/^/| /' conftest.$ac_ext >&5
   15551 
   15552 	SYS_ENDIAN_BSWAP='no'
   15553 fi
   15554 
   15555 rm -rf conftest.dSYM
   15556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15557       conftest$ac_exeext conftest.$ac_ext
   15558 	{ $as_echo "$as_me:$LINENO: result: $SYS_ENDIAN_BSWAP" >&5
   15559 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   15560 
   15561     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   15562 		USE_SYS_ENDIAN_H=yes
   15563 		BSWAP=bswap
   15564 	else
   15565 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   15566 			USE_SYS_ENDIAN_H=yes
   15567 			BSWAP=__swap
   15568 		else
   15569 			USE_SYS_ENDIAN_H=no
   15570 		fi
   15571 	fi
   15572 
   15573 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   15574 
   15575 cat >>confdefs.h <<\_ACEOF
   15576 #define USE_SYS_ENDIAN_H 1
   15577 _ACEOF
   15578 
   15579 
   15580 cat >>confdefs.h <<_ACEOF
   15581 #define bswap_16 ${BSWAP}16
   15582 _ACEOF
   15583 
   15584 
   15585 cat >>confdefs.h <<_ACEOF
   15586 #define bswap_32 ${BSWAP}32
   15587 _ACEOF
   15588 
   15589 
   15590 cat >>confdefs.h <<_ACEOF
   15591 #define bswap_64 ${BSWAP}64
   15592 _ACEOF
   15593 
   15594 	fi
   15595 fi
   15596 
   15597 case $host_os in
   15598   *linux*)
   15599 
   15600 cat >>confdefs.h <<\_ACEOF
   15601 #define FGL_LINUX 1
   15602 _ACEOF
   15603  ;;
   15604 esac
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 DRIVER_NAME=ati
   15615 
   15616 
   15617 { $as_echo "$as_me:$LINENO: The atimisc sub-driver has been split out to xf86-video-mach64:
   15618     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   15619 Please install that driver as well for mach64-based cards.
   15620 " >&5
   15621 $as_echo "$as_me: The atimisc sub-driver has been split out to xf86-video-mach64:
   15622     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   15623 Please install that driver as well for mach64-based cards.
   15624 " >&6;}
   15625 
   15626 { $as_echo "$as_me:$LINENO: The r128 sub-driver has been split out to xf86-video-r128:
   15627     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   15628 Please install that driver as well for rage128-based cards.
   15629 " >&5
   15630 $as_echo "$as_me: The r128 sub-driver has been split out to xf86-video-r128:
   15631     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   15632 Please install that driver as well for rage128-based cards.
   15633 " >&6;}
   15634 
   15635 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   15636 
   15637 cat >confcache <<\_ACEOF
   15638 # This file is a shell script that caches the results of configure
   15639 # tests run on this system so they can be shared between configure
   15640 # scripts and configure runs, see configure's option --config-cache.
   15641 # It is not useful on other systems.  If it contains results you don't
   15642 # want to keep, you may remove or edit it.
   15643 #
   15644 # config.status only pays attention to the cache file if you give it
   15645 # the --recheck option to rerun configure.
   15646 #
   15647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15649 # following values.
   15650 
   15651 _ACEOF
   15652 
   15653 # The following way of writing the cache mishandles newlines in values,
   15654 # but we know of no workaround that is simple, portable, and efficient.
   15655 # So, we kill variables containing newlines.
   15656 # Ultrix sh set writes to stderr and can't be redirected directly,
   15657 # and sets the high bit in the cache file unless we assign to the vars.
   15658 (
   15659   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15660     eval ac_val=\$$ac_var
   15661     case $ac_val in #(
   15662     *${as_nl}*)
   15663       case $ac_var in #(
   15664       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   15665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15666       esac
   15667       case $ac_var in #(
   15668       _ | IFS | as_nl) ;; #(
   15669       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15670       *) $as_unset $ac_var ;;
   15671       esac ;;
   15672     esac
   15673   done
   15674 
   15675   (set) 2>&1 |
   15676     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15677     *${as_nl}ac_space=\ *)
   15678       # `set' does not quote correctly, so add quotes (double-quote
   15679       # substitution turns \\\\ into \\, and sed turns \\ into \).
   15680       sed -n \
   15681 	"s/'/'\\\\''/g;
   15682 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15683       ;; #(
   15684     *)
   15685       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15686       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15687       ;;
   15688     esac |
   15689     sort
   15690 ) |
   15691   sed '
   15692      /^ac_cv_env_/b end
   15693      t clear
   15694      :clear
   15695      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15696      t end
   15697      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15698      :end' >>confcache
   15699 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15700   if test -w "$cache_file"; then
   15701     test "x$cache_file" != "x/dev/null" &&
   15702       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   15703 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15704     cat confcache >$cache_file
   15705   else
   15706     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   15707 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15708   fi
   15709 fi
   15710 rm -f confcache
   15711 
   15712 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15713 # Let make expand exec_prefix.
   15714 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15715 
   15716 DEFS=-DHAVE_CONFIG_H
   15717 
   15718 ac_libobjs=
   15719 ac_ltlibobjs=
   15720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15721   # 1. Remove the extension, and $U if already installed.
   15722   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15723   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15724   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15725   #    will be set to the directory where LIBOBJS objects are built.
   15726   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15727   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   15728 done
   15729 LIBOBJS=$ac_libobjs
   15730 
   15731 LTLIBOBJS=$ac_ltlibobjs
   15732 
   15733 
   15734 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15735   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   15736 Usually this means the macro was only invoked conditionally." >&5
   15737 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   15738 Usually this means the macro was only invoked conditionally." >&2;}
   15739    { (exit 1); exit 1; }; }
   15740 fi
   15741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15742   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   15743 Usually this means the macro was only invoked conditionally." >&5
   15744 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   15745 Usually this means the macro was only invoked conditionally." >&2;}
   15746    { (exit 1); exit 1; }; }
   15747 fi
   15748  if test -n "$EXEEXT"; then
   15749   am__EXEEXT_TRUE=
   15750   am__EXEEXT_FALSE='#'
   15751 else
   15752   am__EXEEXT_TRUE='#'
   15753   am__EXEEXT_FALSE=
   15754 fi
   15755 
   15756 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   15757   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   15758 Usually this means the macro was only invoked conditionally." >&5
   15759 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   15760 Usually this means the macro was only invoked conditionally." >&2;}
   15761    { (exit 1); exit 1; }; }
   15762 fi
   15763 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   15764   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   15765 Usually this means the macro was only invoked conditionally." >&5
   15766 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   15767 Usually this means the macro was only invoked conditionally." >&2;}
   15768    { (exit 1); exit 1; }; }
   15769 fi
   15770 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   15771   { { $as_echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   15772 Usually this means the macro was only invoked conditionally." >&5
   15773 $as_echo "$as_me: error: conditional \"DRI\" was never defined.
   15774 Usually this means the macro was only invoked conditionally." >&2;}
   15775    { (exit 1); exit 1; }; }
   15776 fi
   15777 if test -z "${DRM_MODE_TRUE}" && test -z "${DRM_MODE_FALSE}"; then
   15778   { { $as_echo "$as_me:$LINENO: error: conditional \"DRM_MODE\" was never defined.
   15779 Usually this means the macro was only invoked conditionally." >&5
   15780 $as_echo "$as_me: error: conditional \"DRM_MODE\" was never defined.
   15781 Usually this means the macro was only invoked conditionally." >&2;}
   15782    { (exit 1); exit 1; }; }
   15783 fi
   15784 if test -z "${LIBUDEV_TRUE}" && test -z "${LIBUDEV_FALSE}"; then
   15785   { { $as_echo "$as_me:$LINENO: error: conditional \"LIBUDEV\" was never defined.
   15786 Usually this means the macro was only invoked conditionally." >&5
   15787 $as_echo "$as_me: error: conditional \"LIBUDEV\" was never defined.
   15788 Usually this means the macro was only invoked conditionally." >&2;}
   15789    { (exit 1); exit 1; }; }
   15790 fi
   15791 if test -z "${XMODES_TRUE}" && test -z "${XMODES_FALSE}"; then
   15792   { { $as_echo "$as_me:$LINENO: error: conditional \"XMODES\" was never defined.
   15793 Usually this means the macro was only invoked conditionally." >&5
   15794 $as_echo "$as_me: error: conditional \"XMODES\" was never defined.
   15795 Usually this means the macro was only invoked conditionally." >&2;}
   15796    { (exit 1); exit 1; }; }
   15797 fi
   15798 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   15799   { { $as_echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   15800 Usually this means the macro was only invoked conditionally." >&5
   15801 $as_echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   15802 Usually this means the macro was only invoked conditionally." >&2;}
   15803    { (exit 1); exit 1; }; }
   15804 fi
   15805 if test -z "${XF86DRM_MODE_TRUE}" && test -z "${XF86DRM_MODE_FALSE}"; then
   15806   { { $as_echo "$as_me:$LINENO: error: conditional \"XF86DRM_MODE\" was never defined.
   15807 Usually this means the macro was only invoked conditionally." >&5
   15808 $as_echo "$as_me: error: conditional \"XF86DRM_MODE\" was never defined.
   15809 Usually this means the macro was only invoked conditionally." >&2;}
   15810    { (exit 1); exit 1; }; }
   15811 fi
   15812 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   15813   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   15814 Usually this means the macro was only invoked conditionally." >&5
   15815 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   15816 Usually this means the macro was only invoked conditionally." >&2;}
   15817    { (exit 1); exit 1; }; }
   15818 fi
   15819 
   15820 : ${CONFIG_STATUS=./config.status}
   15821 ac_write_fail=0
   15822 ac_clean_files_save=$ac_clean_files
   15823 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15824 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   15825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15826 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15827 #! $SHELL
   15828 # Generated by $as_me.
   15829 # Run this file to recreate the current configuration.
   15830 # Compiler output produced by configure, useful for debugging
   15831 # configure, is in config.log if it exists.
   15832 
   15833 debug=false
   15834 ac_cs_recheck=false
   15835 ac_cs_silent=false
   15836 SHELL=\${CONFIG_SHELL-$SHELL}
   15837 _ACEOF
   15838 
   15839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15840 ## --------------------- ##
   15841 ## M4sh Initialization.  ##
   15842 ## --------------------- ##
   15843 
   15844 # Be more Bourne compatible
   15845 DUALCASE=1; export DUALCASE # for MKS sh
   15846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15847   emulate sh
   15848   NULLCMD=:
   15849   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15850   # is contrary to our usage.  Disable this feature.
   15851   alias -g '${1+"$@"}'='"$@"'
   15852   setopt NO_GLOB_SUBST
   15853 else
   15854   case `(set -o) 2>/dev/null` in
   15855   *posix*) set -o posix ;;
   15856 esac
   15857 
   15858 fi
   15859 
   15860 
   15861 
   15862 
   15863 # PATH needs CR
   15864 # Avoid depending upon Character Ranges.
   15865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15868 as_cr_digits='0123456789'
   15869 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15870 
   15871 as_nl='
   15872 '
   15873 export as_nl
   15874 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15875 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15876 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15878 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15879   as_echo='printf %s\n'
   15880   as_echo_n='printf %s'
   15881 else
   15882   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15883     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15884     as_echo_n='/usr/ucb/echo -n'
   15885   else
   15886     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15887     as_echo_n_body='eval
   15888       arg=$1;
   15889       case $arg in
   15890       *"$as_nl"*)
   15891 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15892 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15893       esac;
   15894       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15895     '
   15896     export as_echo_n_body
   15897     as_echo_n='sh -c $as_echo_n_body as_echo'
   15898   fi
   15899   export as_echo_body
   15900   as_echo='sh -c $as_echo_body as_echo'
   15901 fi
   15902 
   15903 # The user is always right.
   15904 if test "${PATH_SEPARATOR+set}" != set; then
   15905   PATH_SEPARATOR=:
   15906   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15907     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15908       PATH_SEPARATOR=';'
   15909   }
   15910 fi
   15911 
   15912 # Support unset when possible.
   15913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   15914   as_unset=unset
   15915 else
   15916   as_unset=false
   15917 fi
   15918 
   15919 
   15920 # IFS
   15921 # We need space, tab and new line, in precisely that order.  Quoting is
   15922 # there to prevent editors from complaining about space-tab.
   15923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15924 # splitting by setting IFS to empty value.)
   15925 IFS=" ""	$as_nl"
   15926 
   15927 # Find who we are.  Look in the path if we contain no directory separator.
   15928 case $0 in
   15929   *[\\/]* ) as_myself=$0 ;;
   15930   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15931 for as_dir in $PATH
   15932 do
   15933   IFS=$as_save_IFS
   15934   test -z "$as_dir" && as_dir=.
   15935   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15936 done
   15937 IFS=$as_save_IFS
   15938 
   15939      ;;
   15940 esac
   15941 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15942 # in which case we are not to be found in the path.
   15943 if test "x$as_myself" = x; then
   15944   as_myself=$0
   15945 fi
   15946 if test ! -f "$as_myself"; then
   15947   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15948   { (exit 1); exit 1; }
   15949 fi
   15950 
   15951 # Work around bugs in pre-3.0 UWIN ksh.
   15952 for as_var in ENV MAIL MAILPATH
   15953 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   15954 done
   15955 PS1='$ '
   15956 PS2='> '
   15957 PS4='+ '
   15958 
   15959 # NLS nuisances.
   15960 LC_ALL=C
   15961 export LC_ALL
   15962 LANGUAGE=C
   15963 export LANGUAGE
   15964 
   15965 # Required to use basename.
   15966 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15967    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15968   as_expr=expr
   15969 else
   15970   as_expr=false
   15971 fi
   15972 
   15973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15974   as_basename=basename
   15975 else
   15976   as_basename=false
   15977 fi
   15978 
   15979 
   15980 # Name of the executable.
   15981 as_me=`$as_basename -- "$0" ||
   15982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15983 	 X"$0" : 'X\(//\)$' \| \
   15984 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15985 $as_echo X/"$0" |
   15986     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15987 	    s//\1/
   15988 	    q
   15989 	  }
   15990 	  /^X\/\(\/\/\)$/{
   15991 	    s//\1/
   15992 	    q
   15993 	  }
   15994 	  /^X\/\(\/\).*/{
   15995 	    s//\1/
   15996 	    q
   15997 	  }
   15998 	  s/.*/./; q'`
   15999 
   16000 # CDPATH.
   16001 $as_unset CDPATH
   16002 
   16003 
   16004 
   16005   as_lineno_1=$LINENO
   16006   as_lineno_2=$LINENO
   16007   test "x$as_lineno_1" != "x$as_lineno_2" &&
   16008   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   16009 
   16010   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   16011   # uniformly replaced by the line number.  The first 'sed' inserts a
   16012   # line-number line after each line using $LINENO; the second 'sed'
   16013   # does the real work.  The second script uses 'N' to pair each
   16014   # line-number line with the line containing $LINENO, and appends
   16015   # trailing '-' during substitution so that $LINENO is not a special
   16016   # case at line end.
   16017   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   16018   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   16019   # E. McMahon (1931-1989) for sed's syntax.  :-)
   16020   sed -n '
   16021     p
   16022     /[$]LINENO/=
   16023   ' <$as_myself |
   16024     sed '
   16025       s/[$]LINENO.*/&-/
   16026       t lineno
   16027       b
   16028       :lineno
   16029       N
   16030       :loop
   16031       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   16032       t loop
   16033       s/-\n.*//
   16034     ' >$as_me.lineno &&
   16035   chmod +x "$as_me.lineno" ||
   16036     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   16037    { (exit 1); exit 1; }; }
   16038 
   16039   # Don't try to exec as it changes $[0], causing all sort of problems
   16040   # (the dirname of $[0] is not the place where we might find the
   16041   # original and so on.  Autoconf is especially sensitive to this).
   16042   . "./$as_me.lineno"
   16043   # Exit status is that of the last command.
   16044   exit
   16045 }
   16046 
   16047 
   16048 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16049   as_dirname=dirname
   16050 else
   16051   as_dirname=false
   16052 fi
   16053 
   16054 ECHO_C= ECHO_N= ECHO_T=
   16055 case `echo -n x` in
   16056 -n*)
   16057   case `echo 'x\c'` in
   16058   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16059   *)   ECHO_C='\c';;
   16060   esac;;
   16061 *)
   16062   ECHO_N='-n';;
   16063 esac
   16064 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16065    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16066   as_expr=expr
   16067 else
   16068   as_expr=false
   16069 fi
   16070 
   16071 rm -f conf$$ conf$$.exe conf$$.file
   16072 if test -d conf$$.dir; then
   16073   rm -f conf$$.dir/conf$$.file
   16074 else
   16075   rm -f conf$$.dir
   16076   mkdir conf$$.dir 2>/dev/null
   16077 fi
   16078 if (echo >conf$$.file) 2>/dev/null; then
   16079   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16080     as_ln_s='ln -s'
   16081     # ... but there are two gotchas:
   16082     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16083     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16084     # In both cases, we have to default to `cp -p'.
   16085     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16086       as_ln_s='cp -p'
   16087   elif ln conf$$.file conf$$ 2>/dev/null; then
   16088     as_ln_s=ln
   16089   else
   16090     as_ln_s='cp -p'
   16091   fi
   16092 else
   16093   as_ln_s='cp -p'
   16094 fi
   16095 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16096 rmdir conf$$.dir 2>/dev/null
   16097 
   16098 if mkdir -p . 2>/dev/null; then
   16099   as_mkdir_p=:
   16100 else
   16101   test -d ./-p && rmdir ./-p
   16102   as_mkdir_p=false
   16103 fi
   16104 
   16105 if test -x / >/dev/null 2>&1; then
   16106   as_test_x='test -x'
   16107 else
   16108   if ls -dL / >/dev/null 2>&1; then
   16109     as_ls_L_option=L
   16110   else
   16111     as_ls_L_option=
   16112   fi
   16113   as_test_x='
   16114     eval sh -c '\''
   16115       if test -d "$1"; then
   16116 	test -d "$1/.";
   16117       else
   16118 	case $1 in
   16119 	-*)set "./$1";;
   16120 	esac;
   16121 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   16122 	???[sx]*):;;*)false;;esac;fi
   16123     '\'' sh
   16124   '
   16125 fi
   16126 as_executable_p=$as_test_x
   16127 
   16128 # Sed expression to map a string onto a valid CPP name.
   16129 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16130 
   16131 # Sed expression to map a string onto a valid variable name.
   16132 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16133 
   16134 
   16135 exec 6>&1
   16136 
   16137 # Save the log message, to keep $[0] and so on meaningful, and to
   16138 # report actual input values of CONFIG_FILES etc. instead of their
   16139 # values after options handling.
   16140 ac_log="
   16141 This file was extended by xf86-video-ati $as_me 6.13.1, which was
   16142 generated by GNU Autoconf 2.63.  Invocation command line was
   16143 
   16144   CONFIG_FILES    = $CONFIG_FILES
   16145   CONFIG_HEADERS  = $CONFIG_HEADERS
   16146   CONFIG_LINKS    = $CONFIG_LINKS
   16147   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16148   $ $0 $@
   16149 
   16150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16151 "
   16152 
   16153 _ACEOF
   16154 
   16155 case $ac_config_files in *"
   16156 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16157 esac
   16158 
   16159 case $ac_config_headers in *"
   16160 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16161 esac
   16162 
   16163 
   16164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16165 # Files that config.status was made for.
   16166 config_files="$ac_config_files"
   16167 config_headers="$ac_config_headers"
   16168 config_commands="$ac_config_commands"
   16169 
   16170 _ACEOF
   16171 
   16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16173 ac_cs_usage="\
   16174 \`$as_me' instantiates files from templates according to the
   16175 current configuration.
   16176 
   16177 Usage: $0 [OPTION]... [FILE]...
   16178 
   16179   -h, --help       print this help, then exit
   16180   -V, --version    print version number and configuration settings, then exit
   16181   -q, --quiet, --silent
   16182                    do not print progress messages
   16183   -d, --debug      don't remove temporary files
   16184       --recheck    update $as_me by reconfiguring in the same conditions
   16185       --file=FILE[:TEMPLATE]
   16186                    instantiate the configuration file FILE
   16187       --header=FILE[:TEMPLATE]
   16188                    instantiate the configuration header FILE
   16189 
   16190 Configuration files:
   16191 $config_files
   16192 
   16193 Configuration headers:
   16194 $config_headers
   16195 
   16196 Configuration commands:
   16197 $config_commands
   16198 
   16199 Report bugs to <bug-autoconf (at] gnu.org>."
   16200 
   16201 _ACEOF
   16202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16203 ac_cs_version="\\
   16204 xf86-video-ati config.status 6.13.1
   16205 configured by $0, generated by GNU Autoconf 2.63,
   16206   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   16207 
   16208 Copyright (C) 2008 Free Software Foundation, Inc.
   16209 This config.status script is free software; the Free Software Foundation
   16210 gives unlimited permission to copy, distribute and modify it."
   16211 
   16212 ac_pwd='$ac_pwd'
   16213 srcdir='$srcdir'
   16214 INSTALL='$INSTALL'
   16215 MKDIR_P='$MKDIR_P'
   16216 AWK='$AWK'
   16217 test -n "\$AWK" || AWK=awk
   16218 _ACEOF
   16219 
   16220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16221 # The default lists apply if the user does not specify any file.
   16222 ac_need_defaults=:
   16223 while test $# != 0
   16224 do
   16225   case $1 in
   16226   --*=*)
   16227     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16228     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16229     ac_shift=:
   16230     ;;
   16231   *)
   16232     ac_option=$1
   16233     ac_optarg=$2
   16234     ac_shift=shift
   16235     ;;
   16236   esac
   16237 
   16238   case $ac_option in
   16239   # Handling of the options.
   16240   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16241     ac_cs_recheck=: ;;
   16242   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16243     $as_echo "$ac_cs_version"; exit ;;
   16244   --debug | --debu | --deb | --de | --d | -d )
   16245     debug=: ;;
   16246   --file | --fil | --fi | --f )
   16247     $ac_shift
   16248     case $ac_optarg in
   16249     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16250     esac
   16251     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   16252     ac_need_defaults=false;;
   16253   --header | --heade | --head | --hea )
   16254     $ac_shift
   16255     case $ac_optarg in
   16256     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16257     esac
   16258     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   16259     ac_need_defaults=false;;
   16260   --he | --h)
   16261     # Conflict between --help and --header
   16262     { $as_echo "$as_me: error: ambiguous option: $1
   16263 Try \`$0 --help' for more information." >&2
   16264    { (exit 1); exit 1; }; };;
   16265   --help | --hel | -h )
   16266     $as_echo "$ac_cs_usage"; exit ;;
   16267   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16268   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16269     ac_cs_silent=: ;;
   16270 
   16271   # This is an error.
   16272   -*) { $as_echo "$as_me: error: unrecognized option: $1
   16273 Try \`$0 --help' for more information." >&2
   16274    { (exit 1); exit 1; }; } ;;
   16275 
   16276   *) ac_config_targets="$ac_config_targets $1"
   16277      ac_need_defaults=false ;;
   16278 
   16279   esac
   16280   shift
   16281 done
   16282 
   16283 ac_configure_extra_args=
   16284 
   16285 if $ac_cs_silent; then
   16286   exec 6>/dev/null
   16287   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16288 fi
   16289 
   16290 _ACEOF
   16291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16292 if \$ac_cs_recheck; then
   16293   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16294   shift
   16295   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16296   CONFIG_SHELL='$SHELL'
   16297   export CONFIG_SHELL
   16298   exec "\$@"
   16299 fi
   16300 
   16301 _ACEOF
   16302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16303 exec 5>>config.log
   16304 {
   16305   echo
   16306   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16307 ## Running $as_me. ##
   16308 _ASBOX
   16309   $as_echo "$ac_log"
   16310 } >&5
   16311 
   16312 _ACEOF
   16313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16314 #
   16315 # INIT-COMMANDS
   16316 #
   16317 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16318 
   16319 
   16320 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16321 # if CDPATH is set.
   16322 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16323 
   16324 sed_quote_subst='$sed_quote_subst'
   16325 double_quote_subst='$double_quote_subst'
   16326 delay_variable_subst='$delay_variable_subst'
   16327 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   16328 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   16329 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   16330 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   16331 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   16332 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   16333 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   16334 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   16335 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   16336 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   16337 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   16338 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   16339 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   16340 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   16341 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   16342 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   16343 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   16344 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   16345 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   16346 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   16347 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   16348 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   16349 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   16350 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   16351 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   16352 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   16353 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   16354 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16355 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   16356 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   16357 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   16358 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   16359 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   16360 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   16361 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   16362 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16363 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16364 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16365 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   16366 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   16367 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   16368 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   16369 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   16370 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   16371 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"`'
   16372 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"`'
   16373 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   16374 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   16375 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   16376 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   16377 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   16378 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   16379 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   16380 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   16381 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   16382 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   16383 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   16384 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   16385 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   16386 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   16387 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   16388 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   16389 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16390 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16391 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   16392 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   16393 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16394 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16395 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   16396 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16397 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16398 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16399 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16400 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16401 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16402 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   16403 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   16404 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   16405 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16406 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   16407 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   16408 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   16409 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   16410 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   16411 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   16412 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   16413 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   16414 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   16415 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   16416 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   16417 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16418 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   16419 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   16420 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16421 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16422 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   16423 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   16424 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   16425 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   16426 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   16427 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   16428 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   16429 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16430 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16431 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16432 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16433 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16434 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   16435 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   16436 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   16437 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16438 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   16439 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   16440 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   16441 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   16442 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   16443 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   16444 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   16445 
   16446 LTCC='$LTCC'
   16447 LTCFLAGS='$LTCFLAGS'
   16448 compiler='$compiler_DEFAULT'
   16449 
   16450 # Quote evaled strings.
   16451 for var in SED \
   16452 GREP \
   16453 EGREP \
   16454 FGREP \
   16455 LD \
   16456 NM \
   16457 LN_S \
   16458 lt_SP2NL \
   16459 lt_NL2SP \
   16460 reload_flag \
   16461 OBJDUMP \
   16462 deplibs_check_method \
   16463 file_magic_cmd \
   16464 AR \
   16465 AR_FLAGS \
   16466 STRIP \
   16467 RANLIB \
   16468 CC \
   16469 CFLAGS \
   16470 compiler \
   16471 lt_cv_sys_global_symbol_pipe \
   16472 lt_cv_sys_global_symbol_to_cdecl \
   16473 lt_cv_sys_global_symbol_to_c_name_address \
   16474 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16475 SHELL \
   16476 ECHO \
   16477 lt_prog_compiler_no_builtin_flag \
   16478 lt_prog_compiler_wl \
   16479 lt_prog_compiler_pic \
   16480 lt_prog_compiler_static \
   16481 lt_cv_prog_compiler_c_o \
   16482 need_locks \
   16483 DSYMUTIL \
   16484 NMEDIT \
   16485 LIPO \
   16486 OTOOL \
   16487 OTOOL64 \
   16488 shrext_cmds \
   16489 export_dynamic_flag_spec \
   16490 whole_archive_flag_spec \
   16491 compiler_needs_object \
   16492 with_gnu_ld \
   16493 allow_undefined_flag \
   16494 no_undefined_flag \
   16495 hardcode_libdir_flag_spec \
   16496 hardcode_libdir_flag_spec_ld \
   16497 hardcode_libdir_separator \
   16498 fix_srcfile_path \
   16499 exclude_expsyms \
   16500 include_expsyms \
   16501 file_list_spec \
   16502 variables_saved_for_relink \
   16503 libname_spec \
   16504 library_names_spec \
   16505 soname_spec \
   16506 finish_eval \
   16507 old_striplib \
   16508 striplib; do
   16509     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   16510     *[\\\\\\\`\\"\\\$]*)
   16511       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16512       ;;
   16513     *)
   16514       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16515       ;;
   16516     esac
   16517 done
   16518 
   16519 # Double-quote double-evaled strings.
   16520 for var in reload_cmds \
   16521 old_postinstall_cmds \
   16522 old_postuninstall_cmds \
   16523 old_archive_cmds \
   16524 extract_expsyms_cmds \
   16525 old_archive_from_new_cmds \
   16526 old_archive_from_expsyms_cmds \
   16527 archive_cmds \
   16528 archive_expsym_cmds \
   16529 module_cmds \
   16530 module_expsym_cmds \
   16531 export_symbols_cmds \
   16532 prelink_cmds \
   16533 postinstall_cmds \
   16534 postuninstall_cmds \
   16535 finish_cmds \
   16536 sys_lib_search_path_spec \
   16537 sys_lib_dlsearch_path_spec; do
   16538     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   16539     *[\\\\\\\`\\"\\\$]*)
   16540       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16541       ;;
   16542     *)
   16543       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16544       ;;
   16545     esac
   16546 done
   16547 
   16548 # Fix-up fallback echo if it was mangled by the above quoting rules.
   16549 case \$lt_ECHO in
   16550 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   16551   ;;
   16552 esac
   16553 
   16554 ac_aux_dir='$ac_aux_dir'
   16555 xsi_shell='$xsi_shell'
   16556 lt_shell_append='$lt_shell_append'
   16557 
   16558 # See if we are running on zsh, and set the options which allow our
   16559 # commands through without removal of \ escapes INIT.
   16560 if test -n "\${ZSH_VERSION+set}" ; then
   16561    setopt NO_GLOB_SUBST
   16562 fi
   16563 
   16564 
   16565     PACKAGE='$PACKAGE'
   16566     VERSION='$VERSION'
   16567     TIMESTAMP='$TIMESTAMP'
   16568     RM='$RM'
   16569     ofile='$ofile'
   16570 
   16571 
   16572 
   16573 
   16574 _ACEOF
   16575 
   16576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16577 
   16578 # Handling of arguments.
   16579 for ac_config_target in $ac_config_targets
   16580 do
   16581   case $ac_config_target in
   16582     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   16583     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16584     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16585     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16586     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   16587     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   16588 
   16589   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   16590 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   16591    { (exit 1); exit 1; }; };;
   16592   esac
   16593 done
   16594 
   16595 
   16596 # If the user did not use the arguments to specify the items to instantiate,
   16597 # then the envvar interface is used.  Set only those that are not.
   16598 # We use the long form for the default assignment because of an extremely
   16599 # bizarre bug on SunOS 4.1.3.
   16600 if $ac_need_defaults; then
   16601   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16602   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16603   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16604 fi
   16605 
   16606 # Have a temporary directory for convenience.  Make it in the build tree
   16607 # simply because there is no reason against having it here, and in addition,
   16608 # creating and moving files from /tmp can sometimes cause problems.
   16609 # Hook for its removal unless debugging.
   16610 # Note that there is a small window in which the directory will not be cleaned:
   16611 # after its creation but before its name has been assigned to `$tmp'.
   16612 $debug ||
   16613 {
   16614   tmp=
   16615   trap 'exit_status=$?
   16616   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   16617 ' 0
   16618   trap '{ (exit 1); exit 1; }' 1 2 13 15
   16619 }
   16620 # Create a (secure) tmp directory for tmp files.
   16621 
   16622 {
   16623   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16624   test -n "$tmp" && test -d "$tmp"
   16625 }  ||
   16626 {
   16627   tmp=./conf$$-$RANDOM
   16628   (umask 077 && mkdir "$tmp")
   16629 } ||
   16630 {
   16631    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   16632    { (exit 1); exit 1; }
   16633 }
   16634 
   16635 # Set up the scripts for CONFIG_FILES section.
   16636 # No need to generate them if there are no CONFIG_FILES.
   16637 # This happens for instance with `./config.status config.h'.
   16638 if test -n "$CONFIG_FILES"; then
   16639 
   16640 
   16641 ac_cr='
'
   16643 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16644 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16645   ac_cs_awk_cr='\\r'
   16646 else
   16647   ac_cs_awk_cr=$ac_cr
   16648 fi
   16649 
   16650 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   16651 _ACEOF
   16652 
   16653 
   16654 {
   16655   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16656   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16657   echo "_ACEOF"
   16658 } >conf$$subs.sh ||
   16659   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   16660 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   16661    { (exit 1); exit 1; }; }
   16662 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   16663 ac_delim='%!_!# '
   16664 for ac_last_try in false false false false false :; do
   16665   . ./conf$$subs.sh ||
   16666     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   16667 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   16668    { (exit 1); exit 1; }; }
   16669 
   16670   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16671   if test $ac_delim_n = $ac_delim_num; then
   16672     break
   16673   elif $ac_last_try; then
   16674     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   16675 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   16676    { (exit 1); exit 1; }; }
   16677   else
   16678     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16679   fi
   16680 done
   16681 rm -f conf$$subs.sh
   16682 
   16683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16684 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   16685 _ACEOF
   16686 sed -n '
   16687 h
   16688 s/^/S["/; s/!.*/"]=/
   16689 p
   16690 g
   16691 s/^[^!]*!//
   16692 :repl
   16693 t repl
   16694 s/'"$ac_delim"'$//
   16695 t delim
   16696 :nl
   16697 h
   16698 s/\(.\{148\}\).*/\1/
   16699 t more1
   16700 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16701 p
   16702 n
   16703 b repl
   16704 :more1
   16705 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16706 p
   16707 g
   16708 s/.\{148\}//
   16709 t nl
   16710 :delim
   16711 h
   16712 s/\(.\{148\}\).*/\1/
   16713 t more2
   16714 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16715 p
   16716 b
   16717 :more2
   16718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16719 p
   16720 g
   16721 s/.\{148\}//
   16722 t delim
   16723 ' <conf$$subs.awk | sed '
   16724 /^[^""]/{
   16725   N
   16726   s/\n//
   16727 }
   16728 ' >>$CONFIG_STATUS || ac_write_fail=1
   16729 rm -f conf$$subs.awk
   16730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16731 _ACAWK
   16732 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   16733   for (key in S) S_is_set[key] = 1
   16734   FS = ""
   16735 
   16736 }
   16737 {
   16738   line = $ 0
   16739   nfields = split(line, field, "@")
   16740   substed = 0
   16741   len = length(field[1])
   16742   for (i = 2; i < nfields; i++) {
   16743     key = field[i]
   16744     keylen = length(key)
   16745     if (S_is_set[key]) {
   16746       value = S[key]
   16747       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16748       len += length(value) + length(field[++i])
   16749       substed = 1
   16750     } else
   16751       len += 1 + keylen
   16752   }
   16753 
   16754   print line
   16755 }
   16756 
   16757 _ACAWK
   16758 _ACEOF
   16759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16760 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16761   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16762 else
   16763   cat
   16764 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   16765   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   16766 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   16767    { (exit 1); exit 1; }; }
   16768 _ACEOF
   16769 
   16770 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   16771 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   16772 # trailing colons and then remove the whole line if VPATH becomes empty
   16773 # (actually we leave an empty line to preserve line numbers).
   16774 if test "x$srcdir" = x.; then
   16775   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   16776 s/:*\$(srcdir):*/:/
   16777 s/:*\${srcdir}:*/:/
   16778 s/:*@srcdir@:*/:/
   16779 s/^\([^=]*=[	 ]*\):*/\1/
   16780 s/:*$//
   16781 s/^[^=]*=[	 ]*$//
   16782 }'
   16783 fi
   16784 
   16785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16786 fi # test -n "$CONFIG_FILES"
   16787 
   16788 # Set up the scripts for CONFIG_HEADERS section.
   16789 # No need to generate them if there are no CONFIG_HEADERS.
   16790 # This happens for instance with `./config.status Makefile'.
   16791 if test -n "$CONFIG_HEADERS"; then
   16792 cat >"$tmp/defines.awk" <<\_ACAWK ||
   16793 BEGIN {
   16794 _ACEOF
   16795 
   16796 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16797 # here-document in config.status, that substitutes the proper values into
   16798 # config.h.in to produce config.h.
   16799 
   16800 # Create a delimiter string that does not exist in confdefs.h, to ease
   16801 # handling of long lines.
   16802 ac_delim='%!_!# '
   16803 for ac_last_try in false false :; do
   16804   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   16805   if test -z "$ac_t"; then
   16806     break
   16807   elif $ac_last_try; then
   16808     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   16809 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   16810    { (exit 1); exit 1; }; }
   16811   else
   16812     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16813   fi
   16814 done
   16815 
   16816 # For the awk script, D is an array of macro values keyed by name,
   16817 # likewise P contains macro parameters if any.  Preserve backslash
   16818 # newline sequences.
   16819 
   16820 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16821 sed -n '
   16822 s/.\{148\}/&'"$ac_delim"'/g
   16823 t rset
   16824 :rset
   16825 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16826 t def
   16827 d
   16828 :def
   16829 s/\\$//
   16830 t bsnl
   16831 s/["\\]/\\&/g
   16832 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16833 D["\1"]=" \3"/p
   16834 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16835 d
   16836 :bsnl
   16837 s/["\\]/\\&/g
   16838 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16839 D["\1"]=" \3\\\\\\n"\\/p
   16840 t cont
   16841 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16842 t cont
   16843 d
   16844 :cont
   16845 n
   16846 s/.\{148\}/&'"$ac_delim"'/g
   16847 t clear
   16848 :clear
   16849 s/\\$//
   16850 t bsnlc
   16851 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16852 d
   16853 :bsnlc
   16854 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16855 b cont
   16856 ' <confdefs.h | sed '
   16857 s/'"$ac_delim"'/"\\\
   16858 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16859 
   16860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16861   for (key in D) D_is_set[key] = 1
   16862   FS = ""
   16863 }
   16864 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16865   line = \$ 0
   16866   split(line, arg, " ")
   16867   if (arg[1] == "#") {
   16868     defundef = arg[2]
   16869     mac1 = arg[3]
   16870   } else {
   16871     defundef = substr(arg[1], 2)
   16872     mac1 = arg[2]
   16873   }
   16874   split(mac1, mac2, "(") #)
   16875   macro = mac2[1]
   16876   prefix = substr(line, 1, index(line, defundef) - 1)
   16877   if (D_is_set[macro]) {
   16878     # Preserve the white space surrounding the "#".
   16879     print prefix "define", macro P[macro] D[macro]
   16880     next
   16881   } else {
   16882     # Replace #undef with comments.  This is necessary, for example,
   16883     # in the case of _POSIX_SOURCE, which is predefined and required
   16884     # on some systems where configure will not decide to define it.
   16885     if (defundef == "undef") {
   16886       print "/*", prefix defundef, macro, "*/"
   16887       next
   16888     }
   16889   }
   16890 }
   16891 { print }
   16892 _ACAWK
   16893 _ACEOF
   16894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16895   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   16896 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   16897    { (exit 1); exit 1; }; }
   16898 fi # test -n "$CONFIG_HEADERS"
   16899 
   16900 
   16901 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16902 shift
   16903 for ac_tag
   16904 do
   16905   case $ac_tag in
   16906   :[FHLC]) ac_mode=$ac_tag; continue;;
   16907   esac
   16908   case $ac_mode$ac_tag in
   16909   :[FHL]*:*);;
   16910   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   16911 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   16912    { (exit 1); exit 1; }; };;
   16913   :[FH]-) ac_tag=-:-;;
   16914   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16915   esac
   16916   ac_save_IFS=$IFS
   16917   IFS=:
   16918   set x $ac_tag
   16919   IFS=$ac_save_IFS
   16920   shift
   16921   ac_file=$1
   16922   shift
   16923 
   16924   case $ac_mode in
   16925   :L) ac_source=$1;;
   16926   :[FH])
   16927     ac_file_inputs=
   16928     for ac_f
   16929     do
   16930       case $ac_f in
   16931       -) ac_f="$tmp/stdin";;
   16932       *) # Look for the file first in the build tree, then in the source tree
   16933 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16934 	 # because $ac_f cannot contain `:'.
   16935 	 test -f "$ac_f" ||
   16936 	   case $ac_f in
   16937 	   [\\/$]*) false;;
   16938 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16939 	   esac ||
   16940 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   16941 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   16942    { (exit 1); exit 1; }; };;
   16943       esac
   16944       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   16945       ac_file_inputs="$ac_file_inputs '$ac_f'"
   16946     done
   16947 
   16948     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16949     # use $as_me), people would be surprised to read:
   16950     #    /* config.h.  Generated by config.status.  */
   16951     configure_input='Generated from '`
   16952 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   16953 	`' by configure.'
   16954     if test x"$ac_file" != x-; then
   16955       configure_input="$ac_file.  $configure_input"
   16956       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   16957 $as_echo "$as_me: creating $ac_file" >&6;}
   16958     fi
   16959     # Neutralize special characters interpreted by sed in replacement strings.
   16960     case $configure_input in #(
   16961     *\&* | *\|* | *\\* )
   16962        ac_sed_conf_input=`$as_echo "$configure_input" |
   16963        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   16964     *) ac_sed_conf_input=$configure_input;;
   16965     esac
   16966 
   16967     case $ac_tag in
   16968     *:-:* | *:-) cat >"$tmp/stdin" \
   16969       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16970 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16971    { (exit 1); exit 1; }; } ;;
   16972     esac
   16973     ;;
   16974   esac
   16975 
   16976   ac_dir=`$as_dirname -- "$ac_file" ||
   16977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16978 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16979 	 X"$ac_file" : 'X\(//\)$' \| \
   16980 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16981 $as_echo X"$ac_file" |
   16982     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16983 	    s//\1/
   16984 	    q
   16985 	  }
   16986 	  /^X\(\/\/\)[^/].*/{
   16987 	    s//\1/
   16988 	    q
   16989 	  }
   16990 	  /^X\(\/\/\)$/{
   16991 	    s//\1/
   16992 	    q
   16993 	  }
   16994 	  /^X\(\/\).*/{
   16995 	    s//\1/
   16996 	    q
   16997 	  }
   16998 	  s/.*/./; q'`
   16999   { as_dir="$ac_dir"
   17000   case $as_dir in #(
   17001   -*) as_dir=./$as_dir;;
   17002   esac
   17003   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   17004     as_dirs=
   17005     while :; do
   17006       case $as_dir in #(
   17007       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17008       *) as_qdir=$as_dir;;
   17009       esac
   17010       as_dirs="'$as_qdir' $as_dirs"
   17011       as_dir=`$as_dirname -- "$as_dir" ||
   17012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17013 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17014 	 X"$as_dir" : 'X\(//\)$' \| \
   17015 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17016 $as_echo X"$as_dir" |
   17017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17018 	    s//\1/
   17019 	    q
   17020 	  }
   17021 	  /^X\(\/\/\)[^/].*/{
   17022 	    s//\1/
   17023 	    q
   17024 	  }
   17025 	  /^X\(\/\/\)$/{
   17026 	    s//\1/
   17027 	    q
   17028 	  }
   17029 	  /^X\(\/\).*/{
   17030 	    s//\1/
   17031 	    q
   17032 	  }
   17033 	  s/.*/./; q'`
   17034       test -d "$as_dir" && break
   17035     done
   17036     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17037   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   17038 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   17039    { (exit 1); exit 1; }; }; }
   17040   ac_builddir=.
   17041 
   17042 case "$ac_dir" in
   17043 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17044 *)
   17045   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17046   # A ".." for each directory in $ac_dir_suffix.
   17047   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17048   case $ac_top_builddir_sub in
   17049   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17050   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17051   esac ;;
   17052 esac
   17053 ac_abs_top_builddir=$ac_pwd
   17054 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17055 # for backward compatibility:
   17056 ac_top_builddir=$ac_top_build_prefix
   17057 
   17058 case $srcdir in
   17059   .)  # We are building in place.
   17060     ac_srcdir=.
   17061     ac_top_srcdir=$ac_top_builddir_sub
   17062     ac_abs_top_srcdir=$ac_pwd ;;
   17063   [\\/]* | ?:[\\/]* )  # Absolute name.
   17064     ac_srcdir=$srcdir$ac_dir_suffix;
   17065     ac_top_srcdir=$srcdir
   17066     ac_abs_top_srcdir=$srcdir ;;
   17067   *) # Relative name.
   17068     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17069     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17070     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17071 esac
   17072 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17073 
   17074 
   17075   case $ac_mode in
   17076   :F)
   17077   #
   17078   # CONFIG_FILE
   17079   #
   17080 
   17081   case $INSTALL in
   17082   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17083   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17084   esac
   17085   ac_MKDIR_P=$MKDIR_P
   17086   case $MKDIR_P in
   17087   [\\/$]* | ?:[\\/]* ) ;;
   17088   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17089   esac
   17090 _ACEOF
   17091 
   17092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17093 # If the template does not know about datarootdir, expand it.
   17094 # FIXME: This hack should be removed a few years after 2.60.
   17095 ac_datarootdir_hack=; ac_datarootdir_seen=
   17096 
   17097 ac_sed_dataroot='
   17098 /datarootdir/ {
   17099   p
   17100   q
   17101 }
   17102 /@datadir@/p
   17103 /@docdir@/p
   17104 /@infodir@/p
   17105 /@localedir@/p
   17106 /@mandir@/p
   17107 '
   17108 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17109 *datarootdir*) ac_datarootdir_seen=yes;;
   17110 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17111   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17112 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17113 _ACEOF
   17114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17115   ac_datarootdir_hack='
   17116   s&@datadir@&$datadir&g
   17117   s&@docdir@&$docdir&g
   17118   s&@infodir@&$infodir&g
   17119   s&@localedir@&$localedir&g
   17120   s&@mandir@&$mandir&g
   17121     s&\\\${datarootdir}&$datarootdir&g' ;;
   17122 esac
   17123 _ACEOF
   17124 
   17125 # Neutralize VPATH when `$srcdir' = `.'.
   17126 # Shell code in configure.ac might set extrasub.
   17127 # FIXME: do we really want to maintain this feature?
   17128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17129 ac_sed_extra="$ac_vpsub
   17130 $extrasub
   17131 _ACEOF
   17132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17133 :t
   17134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17135 s|@configure_input@|$ac_sed_conf_input|;t t
   17136 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17137 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17138 s&@srcdir@&$ac_srcdir&;t t
   17139 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17140 s&@top_srcdir@&$ac_top_srcdir&;t t
   17141 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17142 s&@builddir@&$ac_builddir&;t t
   17143 s&@abs_builddir@&$ac_abs_builddir&;t t
   17144 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17145 s&@INSTALL@&$ac_INSTALL&;t t
   17146 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17147 $ac_datarootdir_hack
   17148 "
   17149 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   17150   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   17151 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   17152    { (exit 1); exit 1; }; }
   17153 
   17154 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17155   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   17156   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   17157   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17158 which seems to be undefined.  Please make sure it is defined." >&5
   17159 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17160 which seems to be undefined.  Please make sure it is defined." >&2;}
   17161 
   17162   rm -f "$tmp/stdin"
   17163   case $ac_file in
   17164   -) cat "$tmp/out" && rm -f "$tmp/out";;
   17165   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   17166   esac \
   17167   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   17168 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   17169    { (exit 1); exit 1; }; }
   17170  ;;
   17171   :H)
   17172   #
   17173   # CONFIG_HEADER
   17174   #
   17175   if test x"$ac_file" != x-; then
   17176     {
   17177       $as_echo "/* $configure_input  */" \
   17178       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   17179     } >"$tmp/config.h" \
   17180       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   17181 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   17182    { (exit 1); exit 1; }; }
   17183     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   17184       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   17185 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17186     else
   17187       rm -f "$ac_file"
   17188       mv "$tmp/config.h" "$ac_file" \
   17189 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   17190 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   17191    { (exit 1); exit 1; }; }
   17192     fi
   17193   else
   17194     $as_echo "/* $configure_input  */" \
   17195       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   17196       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   17197 $as_echo "$as_me: error: could not create -" >&2;}
   17198    { (exit 1); exit 1; }; }
   17199   fi
   17200 # Compute "$ac_file"'s index in $config_headers.
   17201 _am_arg="$ac_file"
   17202 _am_stamp_count=1
   17203 for _am_header in $config_headers :; do
   17204   case $_am_header in
   17205     $_am_arg | $_am_arg:* )
   17206       break ;;
   17207     * )
   17208       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17209   esac
   17210 done
   17211 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17212 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17213 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17214 	 X"$_am_arg" : 'X\(//\)$' \| \
   17215 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17216 $as_echo X"$_am_arg" |
   17217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17218 	    s//\1/
   17219 	    q
   17220 	  }
   17221 	  /^X\(\/\/\)[^/].*/{
   17222 	    s//\1/
   17223 	    q
   17224 	  }
   17225 	  /^X\(\/\/\)$/{
   17226 	    s//\1/
   17227 	    q
   17228 	  }
   17229 	  /^X\(\/\).*/{
   17230 	    s//\1/
   17231 	    q
   17232 	  }
   17233 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17234  ;;
   17235 
   17236   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   17237 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17238  ;;
   17239   esac
   17240 
   17241 
   17242   case $ac_file$ac_mode in
   17243     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17244   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   17245   # are listed without --file.  Let's play safe and only enable the eval
   17246   # if we detect the quoting.
   17247   case $CONFIG_FILES in
   17248   *\'*) eval set x "$CONFIG_FILES" ;;
   17249   *)   set x $CONFIG_FILES ;;
   17250   esac
   17251   shift
   17252   for mf
   17253   do
   17254     # Strip MF so we end up with the name of the file.
   17255     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17256     # Check whether this is an Automake generated Makefile or not.
   17257     # We used to match only the files named `Makefile.in', but
   17258     # some people rename them; so instead we look at the file content.
   17259     # Grep'ing the first line is not enough: some people post-process
   17260     # each Makefile.in and add a new line on top of each file to say so.
   17261     # Grep'ing the whole file is not good either: AIX grep has a line
   17262     # limit of 2048, but all sed's we know have understand at least 4000.
   17263     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17264       dirpart=`$as_dirname -- "$mf" ||
   17265 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17266 	 X"$mf" : 'X\(//\)[^/]' \| \
   17267 	 X"$mf" : 'X\(//\)$' \| \
   17268 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17269 $as_echo X"$mf" |
   17270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17271 	    s//\1/
   17272 	    q
   17273 	  }
   17274 	  /^X\(\/\/\)[^/].*/{
   17275 	    s//\1/
   17276 	    q
   17277 	  }
   17278 	  /^X\(\/\/\)$/{
   17279 	    s//\1/
   17280 	    q
   17281 	  }
   17282 	  /^X\(\/\).*/{
   17283 	    s//\1/
   17284 	    q
   17285 	  }
   17286 	  s/.*/./; q'`
   17287     else
   17288       continue
   17289     fi
   17290     # Extract the definition of DEPDIR, am__include, and am__quote
   17291     # from the Makefile without running `make'.
   17292     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17293     test -z "$DEPDIR" && continue
   17294     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17295     test -z "am__include" && continue
   17296     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17297     # When using ansi2knr, U may be empty or an underscore; expand it
   17298     U=`sed -n 's/^U = //p' < "$mf"`
   17299     # Find all dependency output files, they are included files with
   17300     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17301     # simplest approach to changing $(DEPDIR) to its actual value in the
   17302     # expansion.
   17303     for file in `sed -n "
   17304       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17305 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   17306       # Make sure the directory exists.
   17307       test -f "$dirpart/$file" && continue
   17308       fdir=`$as_dirname -- "$file" ||
   17309 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17310 	 X"$file" : 'X\(//\)[^/]' \| \
   17311 	 X"$file" : 'X\(//\)$' \| \
   17312 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17313 $as_echo X"$file" |
   17314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17315 	    s//\1/
   17316 	    q
   17317 	  }
   17318 	  /^X\(\/\/\)[^/].*/{
   17319 	    s//\1/
   17320 	    q
   17321 	  }
   17322 	  /^X\(\/\/\)$/{
   17323 	    s//\1/
   17324 	    q
   17325 	  }
   17326 	  /^X\(\/\).*/{
   17327 	    s//\1/
   17328 	    q
   17329 	  }
   17330 	  s/.*/./; q'`
   17331       { as_dir=$dirpart/$fdir
   17332   case $as_dir in #(
   17333   -*) as_dir=./$as_dir;;
   17334   esac
   17335   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   17336     as_dirs=
   17337     while :; do
   17338       case $as_dir in #(
   17339       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17340       *) as_qdir=$as_dir;;
   17341       esac
   17342       as_dirs="'$as_qdir' $as_dirs"
   17343       as_dir=`$as_dirname -- "$as_dir" ||
   17344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17346 	 X"$as_dir" : 'X\(//\)$' \| \
   17347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17348 $as_echo X"$as_dir" |
   17349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17350 	    s//\1/
   17351 	    q
   17352 	  }
   17353 	  /^X\(\/\/\)[^/].*/{
   17354 	    s//\1/
   17355 	    q
   17356 	  }
   17357 	  /^X\(\/\/\)$/{
   17358 	    s//\1/
   17359 	    q
   17360 	  }
   17361 	  /^X\(\/\).*/{
   17362 	    s//\1/
   17363 	    q
   17364 	  }
   17365 	  s/.*/./; q'`
   17366       test -d "$as_dir" && break
   17367     done
   17368     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17369   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   17370 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   17371    { (exit 1); exit 1; }; }; }
   17372       # echo "creating $dirpart/$file"
   17373       echo '# dummy' > "$dirpart/$file"
   17374     done
   17375   done
   17376 }
   17377  ;;
   17378     "libtool":C)
   17379 
   17380     # See if we are running on zsh, and set the options which allow our
   17381     # commands through without removal of \ escapes.
   17382     if test -n "${ZSH_VERSION+set}" ; then
   17383       setopt NO_GLOB_SUBST
   17384     fi
   17385 
   17386     cfgfile="${ofile}T"
   17387     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17388     $RM "$cfgfile"
   17389 
   17390     cat <<_LT_EOF >> "$cfgfile"
   17391 #! $SHELL
   17392 
   17393 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   17394 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   17395 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17396 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17397 #
   17398 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   17399 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   17400 #   Written by Gordon Matzigkeit, 1996
   17401 #
   17402 #   This file is part of GNU Libtool.
   17403 #
   17404 # GNU Libtool is free software; you can redistribute it and/or
   17405 # modify it under the terms of the GNU General Public License as
   17406 # published by the Free Software Foundation; either version 2 of
   17407 # the License, or (at your option) any later version.
   17408 #
   17409 # As a special exception to the GNU General Public License,
   17410 # if you distribute this file as part of a program or library that
   17411 # is built using GNU Libtool, you may include this file under the
   17412 # same distribution terms that you use for the rest of that program.
   17413 #
   17414 # GNU Libtool is distributed in the hope that it will be useful,
   17415 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   17416 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17417 # GNU General Public License for more details.
   17418 #
   17419 # You should have received a copy of the GNU General Public License
   17420 # along with GNU Libtool; see the file COPYING.  If not, a copy
   17421 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   17422 # obtained by writing to the Free Software Foundation, Inc.,
   17423 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   17424 
   17425 
   17426 # The names of the tagged configurations supported by this script.
   17427 available_tags=""
   17428 
   17429 # ### BEGIN LIBTOOL CONFIG
   17430 
   17431 # Whether or not to build static libraries.
   17432 build_old_libs=$enable_static
   17433 
   17434 # Which release of libtool.m4 was used?
   17435 macro_version=$macro_version
   17436 macro_revision=$macro_revision
   17437 
   17438 # Whether or not to build shared libraries.
   17439 build_libtool_libs=$enable_shared
   17440 
   17441 # What type of objects to build.
   17442 pic_mode=$pic_mode
   17443 
   17444 # Whether or not to optimize for fast installation.
   17445 fast_install=$enable_fast_install
   17446 
   17447 # The host system.
   17448 host_alias=$host_alias
   17449 host=$host
   17450 host_os=$host_os
   17451 
   17452 # The build system.
   17453 build_alias=$build_alias
   17454 build=$build
   17455 build_os=$build_os
   17456 
   17457 # A sed program that does not truncate output.
   17458 SED=$lt_SED
   17459 
   17460 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17461 Xsed="\$SED -e 1s/^X//"
   17462 
   17463 # A grep program that handles long lines.
   17464 GREP=$lt_GREP
   17465 
   17466 # An ERE matcher.
   17467 EGREP=$lt_EGREP
   17468 
   17469 # A literal string matcher.
   17470 FGREP=$lt_FGREP
   17471 
   17472 # A BSD- or MS-compatible name lister.
   17473 NM=$lt_NM
   17474 
   17475 # Whether we need soft or hard links.
   17476 LN_S=$lt_LN_S
   17477 
   17478 # What is the maximum length of a command?
   17479 max_cmd_len=$max_cmd_len
   17480 
   17481 # Object file suffix (normally "o").
   17482 objext=$ac_objext
   17483 
   17484 # Executable file suffix (normally "").
   17485 exeext=$exeext
   17486 
   17487 # whether the shell understands "unset".
   17488 lt_unset=$lt_unset
   17489 
   17490 # turn spaces into newlines.
   17491 SP2NL=$lt_lt_SP2NL
   17492 
   17493 # turn newlines into spaces.
   17494 NL2SP=$lt_lt_NL2SP
   17495 
   17496 # How to create reloadable object files.
   17497 reload_flag=$lt_reload_flag
   17498 reload_cmds=$lt_reload_cmds
   17499 
   17500 # An object symbol dumper.
   17501 OBJDUMP=$lt_OBJDUMP
   17502 
   17503 # Method to check whether dependent libraries are shared objects.
   17504 deplibs_check_method=$lt_deplibs_check_method
   17505 
   17506 # Command to use when deplibs_check_method == "file_magic".
   17507 file_magic_cmd=$lt_file_magic_cmd
   17508 
   17509 # The archiver.
   17510 AR=$lt_AR
   17511 AR_FLAGS=$lt_AR_FLAGS
   17512 
   17513 # A symbol stripping program.
   17514 STRIP=$lt_STRIP
   17515 
   17516 # Commands used to install an old-style archive.
   17517 RANLIB=$lt_RANLIB
   17518 old_postinstall_cmds=$lt_old_postinstall_cmds
   17519 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17520 
   17521 # A C compiler.
   17522 LTCC=$lt_CC
   17523 
   17524 # LTCC compiler flags.
   17525 LTCFLAGS=$lt_CFLAGS
   17526 
   17527 # Take the output of nm and produce a listing of raw symbols and C names.
   17528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17529 
   17530 # Transform the output of nm in a proper C declaration.
   17531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17532 
   17533 # Transform the output of nm in a C name address pair.
   17534 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17535 
   17536 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17537 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17538 
   17539 # The name of the directory that contains temporary libtool files.
   17540 objdir=$objdir
   17541 
   17542 # Shell to use when invoking shell scripts.
   17543 SHELL=$lt_SHELL
   17544 
   17545 # An echo program that does not interpret backslashes.
   17546 ECHO=$lt_ECHO
   17547 
   17548 # Used to examine libraries when file_magic_cmd begins with "file".
   17549 MAGIC_CMD=$MAGIC_CMD
   17550 
   17551 # Must we lock files when doing compilation?
   17552 need_locks=$lt_need_locks
   17553 
   17554 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17555 DSYMUTIL=$lt_DSYMUTIL
   17556 
   17557 # Tool to change global to local symbols on Mac OS X.
   17558 NMEDIT=$lt_NMEDIT
   17559 
   17560 # Tool to manipulate fat objects and archives on Mac OS X.
   17561 LIPO=$lt_LIPO
   17562 
   17563 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17564 OTOOL=$lt_OTOOL
   17565 
   17566 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17567 OTOOL64=$lt_OTOOL64
   17568 
   17569 # Old archive suffix (normally "a").
   17570 libext=$libext
   17571 
   17572 # Shared library suffix (normally ".so").
   17573 shrext_cmds=$lt_shrext_cmds
   17574 
   17575 # The commands to extract the exported symbol list from a shared archive.
   17576 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17577 
   17578 # Variables whose values should be saved in libtool wrapper scripts and
   17579 # restored at link time.
   17580 variables_saved_for_relink=$lt_variables_saved_for_relink
   17581 
   17582 # Do we need the "lib" prefix for modules?
   17583 need_lib_prefix=$need_lib_prefix
   17584 
   17585 # Do we need a version for libraries?
   17586 need_version=$need_version
   17587 
   17588 # Library versioning type.
   17589 version_type=$version_type
   17590 
   17591 # Shared library runtime path variable.
   17592 runpath_var=$runpath_var
   17593 
   17594 # Shared library path variable.
   17595 shlibpath_var=$shlibpath_var
   17596 
   17597 # Is shlibpath searched before the hard-coded library search path?
   17598 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17599 
   17600 # Format of library name prefix.
   17601 libname_spec=$lt_libname_spec
   17602 
   17603 # List of archive names.  First name is the real one, the rest are links.
   17604 # The last name is the one that the linker finds with -lNAME
   17605 library_names_spec=$lt_library_names_spec
   17606 
   17607 # The coded name of the library, if different from the real name.
   17608 soname_spec=$lt_soname_spec
   17609 
   17610 # Command to use after installation of a shared archive.
   17611 postinstall_cmds=$lt_postinstall_cmds
   17612 
   17613 # Command to use after uninstallation of a shared archive.
   17614 postuninstall_cmds=$lt_postuninstall_cmds
   17615 
   17616 # Commands used to finish a libtool library installation in a directory.
   17617 finish_cmds=$lt_finish_cmds
   17618 
   17619 # As "finish_cmds", except a single script fragment to be evaled but
   17620 # not shown.
   17621 finish_eval=$lt_finish_eval
   17622 
   17623 # Whether we should hardcode library paths into libraries.
   17624 hardcode_into_libs=$hardcode_into_libs
   17625 
   17626 # Compile-time system search path for libraries.
   17627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17628 
   17629 # Run-time system search path for libraries.
   17630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17631 
   17632 # Whether dlopen is supported.
   17633 dlopen_support=$enable_dlopen
   17634 
   17635 # Whether dlopen of programs is supported.
   17636 dlopen_self=$enable_dlopen_self
   17637 
   17638 # Whether dlopen of statically linked programs is supported.
   17639 dlopen_self_static=$enable_dlopen_self_static
   17640 
   17641 # Commands to strip libraries.
   17642 old_striplib=$lt_old_striplib
   17643 striplib=$lt_striplib
   17644 
   17645 
   17646 # The linker used to build libraries.
   17647 LD=$lt_LD
   17648 
   17649 # Commands used to build an old-style archive.
   17650 old_archive_cmds=$lt_old_archive_cmds
   17651 
   17652 # A language specific compiler.
   17653 CC=$lt_compiler
   17654 
   17655 # Is the compiler the GNU compiler?
   17656 with_gcc=$GCC
   17657 
   17658 # Compiler flag to turn off builtin functions.
   17659 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17660 
   17661 # How to pass a linker flag through the compiler.
   17662 wl=$lt_lt_prog_compiler_wl
   17663 
   17664 # Additional compiler flags for building library objects.
   17665 pic_flag=$lt_lt_prog_compiler_pic
   17666 
   17667 # Compiler flag to prevent dynamic linking.
   17668 link_static_flag=$lt_lt_prog_compiler_static
   17669 
   17670 # Does compiler simultaneously support -c and -o options?
   17671 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17672 
   17673 # Whether or not to add -lc for building shared libraries.
   17674 build_libtool_need_lc=$archive_cmds_need_lc
   17675 
   17676 # Whether or not to disallow shared libs when runtime libs are static.
   17677 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17678 
   17679 # Compiler flag to allow reflexive dlopens.
   17680 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17681 
   17682 # Compiler flag to generate shared objects directly from archives.
   17683 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17684 
   17685 # Whether the compiler copes with passing no objects directly.
   17686 compiler_needs_object=$lt_compiler_needs_object
   17687 
   17688 # Create an old-style archive from a shared archive.
   17689 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17690 
   17691 # Create a temporary old-style archive to link instead of a shared archive.
   17692 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17693 
   17694 # Commands used to build a shared archive.
   17695 archive_cmds=$lt_archive_cmds
   17696 archive_expsym_cmds=$lt_archive_expsym_cmds
   17697 
   17698 # Commands used to build a loadable module if different from building
   17699 # a shared archive.
   17700 module_cmds=$lt_module_cmds
   17701 module_expsym_cmds=$lt_module_expsym_cmds
   17702 
   17703 # Whether we are building with GNU ld or not.
   17704 with_gnu_ld=$lt_with_gnu_ld
   17705 
   17706 # Flag that allows shared libraries with undefined symbols to be built.
   17707 allow_undefined_flag=$lt_allow_undefined_flag
   17708 
   17709 # Flag that enforces no undefined symbols.
   17710 no_undefined_flag=$lt_no_undefined_flag
   17711 
   17712 # Flag to hardcode \$libdir into a binary during linking.
   17713 # This must work even if \$libdir does not exist
   17714 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17715 
   17716 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17717 # during linking.  This must work even if \$libdir does not exist.
   17718 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   17719 
   17720 # Whether we need a single "-rpath" flag with a separated argument.
   17721 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17722 
   17723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17724 # DIR into the resulting binary.
   17725 hardcode_direct=$hardcode_direct
   17726 
   17727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17728 # DIR into the resulting binary and the resulting library dependency is
   17729 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17730 # library is relocated.
   17731 hardcode_direct_absolute=$hardcode_direct_absolute
   17732 
   17733 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17734 # into the resulting binary.
   17735 hardcode_minus_L=$hardcode_minus_L
   17736 
   17737 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17738 # into the resulting binary.
   17739 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17740 
   17741 # Set to "yes" if building a shared library automatically hardcodes DIR
   17742 # into the library and all subsequent libraries and executables linked
   17743 # against it.
   17744 hardcode_automatic=$hardcode_automatic
   17745 
   17746 # Set to yes if linker adds runtime paths of dependent libraries
   17747 # to runtime path list.
   17748 inherit_rpath=$inherit_rpath
   17749 
   17750 # Whether libtool must link a program against all its dependency libraries.
   17751 link_all_deplibs=$link_all_deplibs
   17752 
   17753 # Fix the shell variable \$srcfile for the compiler.
   17754 fix_srcfile_path=$lt_fix_srcfile_path
   17755 
   17756 # Set to "yes" if exported symbols are required.
   17757 always_export_symbols=$always_export_symbols
   17758 
   17759 # The commands to list exported symbols.
   17760 export_symbols_cmds=$lt_export_symbols_cmds
   17761 
   17762 # Symbols that should not be listed in the preloaded symbols.
   17763 exclude_expsyms=$lt_exclude_expsyms
   17764 
   17765 # Symbols that must always be exported.
   17766 include_expsyms=$lt_include_expsyms
   17767 
   17768 # Commands necessary for linking programs (against libraries) with templates.
   17769 prelink_cmds=$lt_prelink_cmds
   17770 
   17771 # Specify filename containing input files.
   17772 file_list_spec=$lt_file_list_spec
   17773 
   17774 # How to hardcode a shared library path into an executable.
   17775 hardcode_action=$hardcode_action
   17776 
   17777 # ### END LIBTOOL CONFIG
   17778 
   17779 _LT_EOF
   17780 
   17781   case $host_os in
   17782   aix3*)
   17783     cat <<\_LT_EOF >> "$cfgfile"
   17784 # AIX sometimes has problems with the GCC collect2 program.  For some
   17785 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17786 # vanish in a puff of smoke.
   17787 if test "X${COLLECT_NAMES+set}" != Xset; then
   17788   COLLECT_NAMES=
   17789   export COLLECT_NAMES
   17790 fi
   17791 _LT_EOF
   17792     ;;
   17793   esac
   17794 
   17795 
   17796 ltmain="$ac_aux_dir/ltmain.sh"
   17797 
   17798 
   17799   # We use sed instead of cat because bash on DJGPP gets confused if
   17800   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17801   # text mode, it properly converts lines to CR/LF.  This bash problem
   17802   # is reportedly fixed, but why not run on old versions too?
   17803   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   17804     || (rm -f "$cfgfile"; exit 1)
   17805 
   17806   case $xsi_shell in
   17807   yes)
   17808     cat << \_LT_EOF >> "$cfgfile"
   17809 
   17810 # func_dirname file append nondir_replacement
   17811 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17812 # otherwise set result to NONDIR_REPLACEMENT.
   17813 func_dirname ()
   17814 {
   17815   case ${1} in
   17816     */*) func_dirname_result="${1%/*}${2}" ;;
   17817     *  ) func_dirname_result="${3}" ;;
   17818   esac
   17819 }
   17820 
   17821 # func_basename file
   17822 func_basename ()
   17823 {
   17824   func_basename_result="${1##*/}"
   17825 }
   17826 
   17827 # func_dirname_and_basename file append nondir_replacement
   17828 # perform func_basename and func_dirname in a single function
   17829 # call:
   17830 #   dirname:  Compute the dirname of FILE.  If nonempty,
   17831 #             add APPEND to the result, otherwise set result
   17832 #             to NONDIR_REPLACEMENT.
   17833 #             value returned in "$func_dirname_result"
   17834 #   basename: Compute filename of FILE.
   17835 #             value retuned in "$func_basename_result"
   17836 # Implementation must be kept synchronized with func_dirname
   17837 # and func_basename. For efficiency, we do not delegate to
   17838 # those functions but instead duplicate the functionality here.
   17839 func_dirname_and_basename ()
   17840 {
   17841   case ${1} in
   17842     */*) func_dirname_result="${1%/*}${2}" ;;
   17843     *  ) func_dirname_result="${3}" ;;
   17844   esac
   17845   func_basename_result="${1##*/}"
   17846 }
   17847 
   17848 # func_stripname prefix suffix name
   17849 # strip PREFIX and SUFFIX off of NAME.
   17850 # PREFIX and SUFFIX must not contain globbing or regex special
   17851 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17852 # dot (in which case that matches only a dot).
   17853 func_stripname ()
   17854 {
   17855   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   17856   # positional parameters, so assign one to ordinary parameter first.
   17857   func_stripname_result=${3}
   17858   func_stripname_result=${func_stripname_result#"${1}"}
   17859   func_stripname_result=${func_stripname_result%"${2}"}
   17860 }
   17861 
   17862 # func_opt_split
   17863 func_opt_split ()
   17864 {
   17865   func_opt_split_opt=${1%%=*}
   17866   func_opt_split_arg=${1#*=}
   17867 }
   17868 
   17869 # func_lo2o object
   17870 func_lo2o ()
   17871 {
   17872   case ${1} in
   17873     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   17874     *)    func_lo2o_result=${1} ;;
   17875   esac
   17876 }
   17877 
   17878 # func_xform libobj-or-source
   17879 func_xform ()
   17880 {
   17881   func_xform_result=${1%.*}.lo
   17882 }
   17883 
   17884 # func_arith arithmetic-term...
   17885 func_arith ()
   17886 {
   17887   func_arith_result=$(( $* ))
   17888 }
   17889 
   17890 # func_len string
   17891 # STRING may not start with a hyphen.
   17892 func_len ()
   17893 {
   17894   func_len_result=${#1}
   17895 }
   17896 
   17897 _LT_EOF
   17898     ;;
   17899   *) # Bourne compatible functions.
   17900     cat << \_LT_EOF >> "$cfgfile"
   17901 
   17902 # func_dirname file append nondir_replacement
   17903 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17904 # otherwise set result to NONDIR_REPLACEMENT.
   17905 func_dirname ()
   17906 {
   17907   # Extract subdirectory from the argument.
   17908   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   17909   if test "X$func_dirname_result" = "X${1}"; then
   17910     func_dirname_result="${3}"
   17911   else
   17912     func_dirname_result="$func_dirname_result${2}"
   17913   fi
   17914 }
   17915 
   17916 # func_basename file
   17917 func_basename ()
   17918 {
   17919   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   17920 }
   17921 
   17922 
   17923 # func_stripname prefix suffix name
   17924 # strip PREFIX and SUFFIX off of NAME.
   17925 # PREFIX and SUFFIX must not contain globbing or regex special
   17926 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17927 # dot (in which case that matches only a dot).
   17928 # func_strip_suffix prefix name
   17929 func_stripname ()
   17930 {
   17931   case ${2} in
   17932     .*) func_stripname_result=`$ECHO "X${3}" \
   17933            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   17934     *)  func_stripname_result=`$ECHO "X${3}" \
   17935            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   17936   esac
   17937 }
   17938 
   17939 # sed scripts:
   17940 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   17941 my_sed_long_arg='1s/^-[^=]*=//'
   17942 
   17943 # func_opt_split
   17944 func_opt_split ()
   17945 {
   17946   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   17947   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   17948 }
   17949 
   17950 # func_lo2o object
   17951 func_lo2o ()
   17952 {
   17953   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   17954 }
   17955 
   17956 # func_xform libobj-or-source
   17957 func_xform ()
   17958 {
   17959   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   17960 }
   17961 
   17962 # func_arith arithmetic-term...
   17963 func_arith ()
   17964 {
   17965   func_arith_result=`expr "$@"`
   17966 }
   17967 
   17968 # func_len string
   17969 # STRING may not start with a hyphen.
   17970 func_len ()
   17971 {
   17972   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   17973 }
   17974 
   17975 _LT_EOF
   17976 esac
   17977 
   17978 case $lt_shell_append in
   17979   yes)
   17980     cat << \_LT_EOF >> "$cfgfile"
   17981 
   17982 # func_append var value
   17983 # Append VALUE to the end of shell variable VAR.
   17984 func_append ()
   17985 {
   17986   eval "$1+=\$2"
   17987 }
   17988 _LT_EOF
   17989     ;;
   17990   *)
   17991     cat << \_LT_EOF >> "$cfgfile"
   17992 
   17993 # func_append var value
   17994 # Append VALUE to the end of shell variable VAR.
   17995 func_append ()
   17996 {
   17997   eval "$1=\$$1\$2"
   17998 }
   17999 
   18000 _LT_EOF
   18001     ;;
   18002   esac
   18003 
   18004 
   18005   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   18006     || (rm -f "$cfgfile"; exit 1)
   18007 
   18008   mv -f "$cfgfile" "$ofile" ||
   18009     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18010   chmod +x "$ofile"
   18011 
   18012  ;;
   18013 
   18014   esac
   18015 done # for ac_tag
   18016 
   18017 
   18018 { (exit 0); exit 0; }
   18019 _ACEOF
   18020 chmod +x $CONFIG_STATUS
   18021 ac_clean_files=$ac_clean_files_save
   18022 
   18023 test $ac_write_fail = 0 ||
   18024   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   18025 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   18026    { (exit 1); exit 1; }; }
   18027 
   18028 
   18029 # configure is writing to config.log, and then calls config.status.
   18030 # config.status does its own redirection, appending to config.log.
   18031 # Unfortunately, on DOS this fails, as config.log is still kept open
   18032 # by configure, so config.status won't be able to write to it; its
   18033 # output is simply discarded.  So we exec the FD to /dev/null,
   18034 # effectively closing config.log, so it can be properly (re)opened and
   18035 # appended to by config.status.  When coming back to configure, we
   18036 # need to make the FD available again.
   18037 if test "$no_create" != yes; then
   18038   ac_cs_success=:
   18039   ac_config_status_args=
   18040   test "$silent" = yes &&
   18041     ac_config_status_args="$ac_config_status_args --quiet"
   18042   exec 5>/dev/null
   18043   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18044   exec 5>>config.log
   18045   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18046   # would make configure fail if this is the last instruction.
   18047   $ac_cs_success || { (exit 1); exit 1; }
   18048 fi
   18049 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18050   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18051 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18052 fi
   18053 
   18054 
   18055 echo ""
   18056 echo "        prefix:              $prefix"
   18057 echo "        exec_prefix:         $exec_prefix"
   18058 echo "        libdir:              $libdir"
   18059 echo "        includedir:          $includedir"
   18060 
   18061 
   18062 echo ""
   18063 echo "        Kernel modesetting:  $DRM_MODE"
   18064 
   18065 echo ""
   18066 echo "        CFLAGS:              $CFLAGS"
   18067 echo "        CXXFLAGS:            $CXXFLAGS"
   18068 echo "        Macros:              $DEFINES"
   18069 
   18070 echo ""
   18071 echo "        Run '${MAKE-make}' to build xf86-video-ati"
   18072 echo ""
   18073