Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-sis 0.10.3.
      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-sis'
    747 PACKAGE_TARNAME='xf86-video-sis'
    748 PACKAGE_VERSION='0.10.3'
    749 PACKAGE_STRING='xf86-video-sis 0.10.3'
    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 DRI_LIBS
    800 DRI_CFLAGS
    801 DRI_FALSE
    802 DRI_TRUE
    803 HAVE_XEXTPROTO_71_FALSE
    804 HAVE_XEXTPROTO_71_TRUE
    805 XEXT_LIBS
    806 XEXT_CFLAGS
    807 XORG_LIBS
    808 XORG_CFLAGS
    809 RAWCPPFLAGS
    810 RAWCPP
    811 OTOOL64
    812 OTOOL
    813 LIPO
    814 NMEDIT
    815 DSYMUTIL
    816 lt_ECHO
    817 RANLIB
    818 AR
    819 OBJDUMP
    820 LN_S
    821 NM
    822 ac_ct_DUMPBIN
    823 DUMPBIN
    824 LD
    825 FGREP
    826 LIBTOOL
    827 AM_BACKSLASH
    828 AM_DEFAULT_VERBOSITY
    829 MAN_SUBSTS
    830 XORG_MAN_PAGE
    831 ADMIN_MAN_DIR
    832 DRIVER_MAN_DIR
    833 MISC_MAN_DIR
    834 FILE_MAN_DIR
    835 LIB_MAN_DIR
    836 APP_MAN_DIR
    837 ADMIN_MAN_SUFFIX
    838 DRIVER_MAN_SUFFIX
    839 MISC_MAN_SUFFIX
    840 FILE_MAN_SUFFIX
    841 LIB_MAN_SUFFIX
    842 APP_MAN_SUFFIX
    843 SED
    844 host_os
    845 host_vendor
    846 host_cpu
    847 host
    848 build_os
    849 build_vendor
    850 build_cpu
    851 build
    852 INSTALL_CMD
    853 PKG_CONFIG
    854 CHANGELOG_CMD
    855 CWARNFLAGS
    856 EGREP
    857 GREP
    858 CPP
    859 am__fastdepCC_FALSE
    860 am__fastdepCC_TRUE
    861 CCDEPMODE
    862 AMDEPBACKSLASH
    863 AMDEP_FALSE
    864 AMDEP_TRUE
    865 am__quote
    866 am__include
    867 DEPDIR
    868 OBJEXT
    869 EXEEXT
    870 ac_ct_CC
    871 CPPFLAGS
    872 LDFLAGS
    873 CFLAGS
    874 CC
    875 MAINT
    876 MAINTAINER_MODE_FALSE
    877 MAINTAINER_MODE_TRUE
    878 am__untar
    879 am__tar
    880 AMTAR
    881 am__leading_dot
    882 SET_MAKE
    883 AWK
    884 mkdir_p
    885 MKDIR_P
    886 INSTALL_STRIP_PROGRAM
    887 STRIP
    888 install_sh
    889 MAKEINFO
    890 AUTOHEADER
    891 AUTOMAKE
    892 AUTOCONF
    893 ACLOCAL
    894 VERSION
    895 PACKAGE
    896 CYGPATH_W
    897 am__isrc
    898 INSTALL_DATA
    899 INSTALL_SCRIPT
    900 INSTALL_PROGRAM
    901 target_alias
    902 host_alias
    903 build_alias
    904 LIBS
    905 ECHO_T
    906 ECHO_N
    907 ECHO_C
    908 DEFS
    909 mandir
    910 localedir
    911 libdir
    912 psdir
    913 pdfdir
    914 dvidir
    915 htmldir
    916 infodir
    917 docdir
    918 oldincludedir
    919 includedir
    920 localstatedir
    921 sharedstatedir
    922 sysconfdir
    923 datadir
    924 datarootdir
    925 libexecdir
    926 sbindir
    927 bindir
    928 program_transform_name
    929 prefix
    930 exec_prefix
    931 PACKAGE_BUGREPORT
    932 PACKAGE_STRING
    933 PACKAGE_VERSION
    934 PACKAGE_TARNAME
    935 PACKAGE_NAME
    936 PATH_SEPARATOR
    937 SHELL'
    938 ac_subst_files=''
    939 ac_user_opts='
    940 enable_option_checking
    941 enable_maintainer_mode
    942 enable_dependency_tracking
    943 enable_strict_compilation
    944 enable_silent_rules
    945 enable_static
    946 enable_shared
    947 with_pic
    948 enable_fast_install
    949 with_gnu_ld
    950 enable_libtool_lock
    951 with_xorg_module_dir
    952 enable_dri
    953 '
    954       ac_precious_vars='build_alias
    955 host_alias
    956 target_alias
    957 CC
    958 CFLAGS
    959 LDFLAGS
    960 LIBS
    961 CPPFLAGS
    962 CPP
    963 PKG_CONFIG
    964 XORG_CFLAGS
    965 XORG_LIBS
    966 XEXT_CFLAGS
    967 XEXT_LIBS
    968 DRI_CFLAGS
    969 DRI_LIBS
    970 PCIACCESS_CFLAGS
    971 PCIACCESS_LIBS'
    972 
    973 
    974 # Initialize some variables set by options.
    975 ac_init_help=
    976 ac_init_version=false
    977 ac_unrecognized_opts=
    978 ac_unrecognized_sep=
    979 # The variables have the same names as the options, with
    980 # dashes changed to underlines.
    981 cache_file=/dev/null
    982 exec_prefix=NONE
    983 no_create=
    984 no_recursion=
    985 prefix=NONE
    986 program_prefix=NONE
    987 program_suffix=NONE
    988 program_transform_name=s,x,x,
    989 silent=
    990 site=
    991 srcdir=
    992 verbose=
    993 x_includes=NONE
    994 x_libraries=NONE
    995 
    996 # Installation directory options.
    997 # These are left unexpanded so users can "make install exec_prefix=/foo"
    998 # and all the variables that are supposed to be based on exec_prefix
    999 # by default will actually change.
   1000 # Use braces instead of parens because sh, perl, etc. also accept them.
   1001 # (The list follows the same order as the GNU Coding Standards.)
   1002 bindir='${exec_prefix}/bin'
   1003 sbindir='${exec_prefix}/sbin'
   1004 libexecdir='${exec_prefix}/libexec'
   1005 datarootdir='${prefix}/share'
   1006 datadir='${datarootdir}'
   1007 sysconfdir='${prefix}/etc'
   1008 sharedstatedir='${prefix}/com'
   1009 localstatedir='${prefix}/var'
   1010 includedir='${prefix}/include'
   1011 oldincludedir='/usr/include'
   1012 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1013 infodir='${datarootdir}/info'
   1014 htmldir='${docdir}'
   1015 dvidir='${docdir}'
   1016 pdfdir='${docdir}'
   1017 psdir='${docdir}'
   1018 libdir='${exec_prefix}/lib'
   1019 localedir='${datarootdir}/locale'
   1020 mandir='${datarootdir}/man'
   1021 
   1022 ac_prev=
   1023 ac_dashdash=
   1024 for ac_option
   1025 do
   1026   # If the previous option needs an argument, assign it.
   1027   if test -n "$ac_prev"; then
   1028     eval $ac_prev=\$ac_option
   1029     ac_prev=
   1030     continue
   1031   fi
   1032 
   1033   case $ac_option in
   1034   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1035   *)	ac_optarg=yes ;;
   1036   esac
   1037 
   1038   # Accept the important Cygnus configure options, so we can diagnose typos.
   1039 
   1040   case $ac_dashdash$ac_option in
   1041   --)
   1042     ac_dashdash=yes ;;
   1043 
   1044   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1045     ac_prev=bindir ;;
   1046   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1047     bindir=$ac_optarg ;;
   1048 
   1049   -build | --build | --buil | --bui | --bu)
   1050     ac_prev=build_alias ;;
   1051   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1052     build_alias=$ac_optarg ;;
   1053 
   1054   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1055   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1056     ac_prev=cache_file ;;
   1057   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1058   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1059     cache_file=$ac_optarg ;;
   1060 
   1061   --config-cache | -C)
   1062     cache_file=config.cache ;;
   1063 
   1064   -datadir | --datadir | --datadi | --datad)
   1065     ac_prev=datadir ;;
   1066   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1067     datadir=$ac_optarg ;;
   1068 
   1069   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1070   | --dataroo | --dataro | --datar)
   1071     ac_prev=datarootdir ;;
   1072   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1073   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1074     datarootdir=$ac_optarg ;;
   1075 
   1076   -disable-* | --disable-*)
   1077     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1078     # Reject names that are not valid shell variable names.
   1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1080       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1081    { (exit 1); exit 1; }; }
   1082     ac_useropt_orig=$ac_useropt
   1083     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1084     case $ac_user_opts in
   1085       *"
   1086 "enable_$ac_useropt"
   1087 "*) ;;
   1088       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1089 	 ac_unrecognized_sep=', ';;
   1090     esac
   1091     eval enable_$ac_useropt=no ;;
   1092 
   1093   -docdir | --docdir | --docdi | --doc | --do)
   1094     ac_prev=docdir ;;
   1095   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1096     docdir=$ac_optarg ;;
   1097 
   1098   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1099     ac_prev=dvidir ;;
   1100   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1101     dvidir=$ac_optarg ;;
   1102 
   1103   -enable-* | --enable-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1108    { (exit 1); exit 1; }; }
   1109     ac_useropt_orig=$ac_useropt
   1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1111     case $ac_user_opts in
   1112       *"
   1113 "enable_$ac_useropt"
   1114 "*) ;;
   1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1116 	 ac_unrecognized_sep=', ';;
   1117     esac
   1118     eval enable_$ac_useropt=\$ac_optarg ;;
   1119 
   1120   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1121   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1122   | --exec | --exe | --ex)
   1123     ac_prev=exec_prefix ;;
   1124   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1125   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1126   | --exec=* | --exe=* | --ex=*)
   1127     exec_prefix=$ac_optarg ;;
   1128 
   1129   -gas | --gas | --ga | --g)
   1130     # Obsolete; use --with-gas.
   1131     with_gas=yes ;;
   1132 
   1133   -help | --help | --hel | --he | -h)
   1134     ac_init_help=long ;;
   1135   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1136     ac_init_help=recursive ;;
   1137   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1138     ac_init_help=short ;;
   1139 
   1140   -host | --host | --hos | --ho)
   1141     ac_prev=host_alias ;;
   1142   -host=* | --host=* | --hos=* | --ho=*)
   1143     host_alias=$ac_optarg ;;
   1144 
   1145   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1146     ac_prev=htmldir ;;
   1147   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1148   | --ht=*)
   1149     htmldir=$ac_optarg ;;
   1150 
   1151   -includedir | --includedir | --includedi | --included | --include \
   1152   | --includ | --inclu | --incl | --inc)
   1153     ac_prev=includedir ;;
   1154   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1155   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1156     includedir=$ac_optarg ;;
   1157 
   1158   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1159     ac_prev=infodir ;;
   1160   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1161     infodir=$ac_optarg ;;
   1162 
   1163   -libdir | --libdir | --libdi | --libd)
   1164     ac_prev=libdir ;;
   1165   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1166     libdir=$ac_optarg ;;
   1167 
   1168   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1169   | --libexe | --libex | --libe)
   1170     ac_prev=libexecdir ;;
   1171   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1172   | --libexe=* | --libex=* | --libe=*)
   1173     libexecdir=$ac_optarg ;;
   1174 
   1175   -localedir | --localedir | --localedi | --localed | --locale)
   1176     ac_prev=localedir ;;
   1177   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1178     localedir=$ac_optarg ;;
   1179 
   1180   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1181   | --localstate | --localstat | --localsta | --localst | --locals)
   1182     ac_prev=localstatedir ;;
   1183   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1184   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1185     localstatedir=$ac_optarg ;;
   1186 
   1187   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1188     ac_prev=mandir ;;
   1189   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1190     mandir=$ac_optarg ;;
   1191 
   1192   -nfp | --nfp | --nf)
   1193     # Obsolete; use --without-fp.
   1194     with_fp=no ;;
   1195 
   1196   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1197   | --no-cr | --no-c | -n)
   1198     no_create=yes ;;
   1199 
   1200   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1201   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1202     no_recursion=yes ;;
   1203 
   1204   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1205   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1206   | --oldin | --oldi | --old | --ol | --o)
   1207     ac_prev=oldincludedir ;;
   1208   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1209   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1210   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1211     oldincludedir=$ac_optarg ;;
   1212 
   1213   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1214     ac_prev=prefix ;;
   1215   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1216     prefix=$ac_optarg ;;
   1217 
   1218   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1219   | --program-pre | --program-pr | --program-p)
   1220     ac_prev=program_prefix ;;
   1221   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1222   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1223     program_prefix=$ac_optarg ;;
   1224 
   1225   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1226   | --program-suf | --program-su | --program-s)
   1227     ac_prev=program_suffix ;;
   1228   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1229   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1230     program_suffix=$ac_optarg ;;
   1231 
   1232   -program-transform-name | --program-transform-name \
   1233   | --program-transform-nam | --program-transform-na \
   1234   | --program-transform-n | --program-transform- \
   1235   | --program-transform | --program-transfor \
   1236   | --program-transfo | --program-transf \
   1237   | --program-trans | --program-tran \
   1238   | --progr-tra | --program-tr | --program-t)
   1239     ac_prev=program_transform_name ;;
   1240   -program-transform-name=* | --program-transform-name=* \
   1241   | --program-transform-nam=* | --program-transform-na=* \
   1242   | --program-transform-n=* | --program-transform-=* \
   1243   | --program-transform=* | --program-transfor=* \
   1244   | --program-transfo=* | --program-transf=* \
   1245   | --program-trans=* | --program-tran=* \
   1246   | --progr-tra=* | --program-tr=* | --program-t=*)
   1247     program_transform_name=$ac_optarg ;;
   1248 
   1249   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1250     ac_prev=pdfdir ;;
   1251   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1252     pdfdir=$ac_optarg ;;
   1253 
   1254   -psdir | --psdir | --psdi | --psd | --ps)
   1255     ac_prev=psdir ;;
   1256   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1257     psdir=$ac_optarg ;;
   1258 
   1259   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1260   | -silent | --silent | --silen | --sile | --sil)
   1261     silent=yes ;;
   1262 
   1263   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1264     ac_prev=sbindir ;;
   1265   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1266   | --sbi=* | --sb=*)
   1267     sbindir=$ac_optarg ;;
   1268 
   1269   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1270   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1271   | --sharedst | --shareds | --shared | --share | --shar \
   1272   | --sha | --sh)
   1273     ac_prev=sharedstatedir ;;
   1274   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1275   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1276   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1277   | --sha=* | --sh=*)
   1278     sharedstatedir=$ac_optarg ;;
   1279 
   1280   -site | --site | --sit)
   1281     ac_prev=site ;;
   1282   -site=* | --site=* | --sit=*)
   1283     site=$ac_optarg ;;
   1284 
   1285   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1286     ac_prev=srcdir ;;
   1287   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1288     srcdir=$ac_optarg ;;
   1289 
   1290   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1291   | --syscon | --sysco | --sysc | --sys | --sy)
   1292     ac_prev=sysconfdir ;;
   1293   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1294   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1295     sysconfdir=$ac_optarg ;;
   1296 
   1297   -target | --target | --targe | --targ | --tar | --ta | --t)
   1298     ac_prev=target_alias ;;
   1299   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1300     target_alias=$ac_optarg ;;
   1301 
   1302   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1303     verbose=yes ;;
   1304 
   1305   -version | --version | --versio | --versi | --vers | -V)
   1306     ac_init_version=: ;;
   1307 
   1308   -with-* | --with-*)
   1309     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1310     # Reject names that are not valid shell variable names.
   1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1312       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1313    { (exit 1); exit 1; }; }
   1314     ac_useropt_orig=$ac_useropt
   1315     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1316     case $ac_user_opts in
   1317       *"
   1318 "with_$ac_useropt"
   1319 "*) ;;
   1320       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1321 	 ac_unrecognized_sep=', ';;
   1322     esac
   1323     eval with_$ac_useropt=\$ac_optarg ;;
   1324 
   1325   -without-* | --without-*)
   1326     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1327     # Reject names that are not valid shell variable names.
   1328     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1329       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1330    { (exit 1); exit 1; }; }
   1331     ac_useropt_orig=$ac_useropt
   1332     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1333     case $ac_user_opts in
   1334       *"
   1335 "with_$ac_useropt"
   1336 "*) ;;
   1337       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1338 	 ac_unrecognized_sep=', ';;
   1339     esac
   1340     eval with_$ac_useropt=no ;;
   1341 
   1342   --x)
   1343     # Obsolete; use --with-x.
   1344     with_x=yes ;;
   1345 
   1346   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1347   | --x-incl | --x-inc | --x-in | --x-i)
   1348     ac_prev=x_includes ;;
   1349   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1350   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1351     x_includes=$ac_optarg ;;
   1352 
   1353   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1354   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1355     ac_prev=x_libraries ;;
   1356   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1357   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1358     x_libraries=$ac_optarg ;;
   1359 
   1360   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1361 Try \`$0 --help' for more information." >&2
   1362    { (exit 1); exit 1; }; }
   1363     ;;
   1364 
   1365   *=*)
   1366     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1367     # Reject names that are not valid shell variable names.
   1368     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1369       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1370    { (exit 1); exit 1; }; }
   1371     eval $ac_envvar=\$ac_optarg
   1372     export $ac_envvar ;;
   1373 
   1374   *)
   1375     # FIXME: should be removed in autoconf 3.0.
   1376     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1377     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1378       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1379     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1380     ;;
   1381 
   1382   esac
   1383 done
   1384 
   1385 if test -n "$ac_prev"; then
   1386   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1387   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1388    { (exit 1); exit 1; }; }
   1389 fi
   1390 
   1391 if test -n "$ac_unrecognized_opts"; then
   1392   case $enable_option_checking in
   1393     no) ;;
   1394     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1395    { (exit 1); exit 1; }; } ;;
   1396     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1397   esac
   1398 fi
   1399 
   1400 # Check all directory arguments for consistency.
   1401 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1402 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1403 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1404 		libdir localedir mandir
   1405 do
   1406   eval ac_val=\$$ac_var
   1407   # Remove trailing slashes.
   1408   case $ac_val in
   1409     */ )
   1410       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1411       eval $ac_var=\$ac_val;;
   1412   esac
   1413   # Be sure to have absolute directory names.
   1414   case $ac_val in
   1415     [\\/$]* | ?:[\\/]* )  continue;;
   1416     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1417   esac
   1418   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1419    { (exit 1); exit 1; }; }
   1420 done
   1421 
   1422 # There might be people who depend on the old broken behavior: `$host'
   1423 # used to hold the argument of --host etc.
   1424 # FIXME: To remove some day.
   1425 build=$build_alias
   1426 host=$host_alias
   1427 target=$target_alias
   1428 
   1429 # FIXME: To remove some day.
   1430 if test "x$host_alias" != x; then
   1431   if test "x$build_alias" = x; then
   1432     cross_compiling=maybe
   1433     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1434     If a cross compiler is detected then cross compile mode will be used." >&2
   1435   elif test "x$build_alias" != "x$host_alias"; then
   1436     cross_compiling=yes
   1437   fi
   1438 fi
   1439 
   1440 ac_tool_prefix=
   1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1442 
   1443 test "$silent" = yes && exec 6>/dev/null
   1444 
   1445 
   1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1447 ac_ls_di=`ls -di .` &&
   1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1449   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1450    { (exit 1); exit 1; }; }
   1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1452   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1453    { (exit 1); exit 1; }; }
   1454 
   1455 
   1456 # Find the source files, if location was not specified.
   1457 if test -z "$srcdir"; then
   1458   ac_srcdir_defaulted=yes
   1459   # Try the directory containing this script, then the parent directory.
   1460   ac_confdir=`$as_dirname -- "$as_myself" ||
   1461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1462 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1463 	 X"$as_myself" : 'X\(//\)$' \| \
   1464 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1465 $as_echo X"$as_myself" |
   1466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  /^X\(\/\/\)[^/].*/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\/\)$/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  /^X\(\/\).*/{
   1479 	    s//\1/
   1480 	    q
   1481 	  }
   1482 	  s/.*/./; q'`
   1483   srcdir=$ac_confdir
   1484   if test ! -r "$srcdir/$ac_unique_file"; then
   1485     srcdir=..
   1486   fi
   1487 else
   1488   ac_srcdir_defaulted=no
   1489 fi
   1490 if test ! -r "$srcdir/$ac_unique_file"; then
   1491   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1492   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1493    { (exit 1); exit 1; }; }
   1494 fi
   1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1496 ac_abs_confdir=`(
   1497 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1498    { (exit 1); exit 1; }; }
   1499 	pwd)`
   1500 # When building in place, set srcdir=.
   1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1502   srcdir=.
   1503 fi
   1504 # Remove unnecessary trailing slashes from srcdir.
   1505 # Double slashes in file names in object file debugging info
   1506 # mess up M-x gdb in Emacs.
   1507 case $srcdir in
   1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1509 esac
   1510 for ac_var in $ac_precious_vars; do
   1511   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1512   eval ac_env_${ac_var}_value=\$${ac_var}
   1513   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1514   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1515 done
   1516 
   1517 #
   1518 # Report the --help message.
   1519 #
   1520 if test "$ac_init_help" = "long"; then
   1521   # Omit some internal or obsolete options to make the list less imposing.
   1522   # This message is too long to be a string in the A/UX 3.1 sh.
   1523   cat <<_ACEOF
   1524 \`configure' configures xf86-video-sis 0.10.3 to adapt to many kinds of systems.
   1525 
   1526 Usage: $0 [OPTION]... [VAR=VALUE]...
   1527 
   1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1529 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1530 
   1531 Defaults for the options are specified in brackets.
   1532 
   1533 Configuration:
   1534   -h, --help              display this help and exit
   1535       --help=short        display options specific to this package
   1536       --help=recursive    display the short help of all the included packages
   1537   -V, --version           display version information and exit
   1538   -q, --quiet, --silent   do not print \`checking...' messages
   1539       --cache-file=FILE   cache test results in FILE [disabled]
   1540   -C, --config-cache      alias for \`--cache-file=config.cache'
   1541   -n, --no-create         do not create output files
   1542       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1543 
   1544 Installation directories:
   1545   --prefix=PREFIX         install architecture-independent files in PREFIX
   1546                           [$ac_default_prefix]
   1547   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1548                           [PREFIX]
   1549 
   1550 By default, \`make install' will install all the files in
   1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1553 for instance \`--prefix=\$HOME'.
   1554 
   1555 For better control, use the options below.
   1556 
   1557 Fine tuning of the installation directories:
   1558   --bindir=DIR            user executables [EPREFIX/bin]
   1559   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1560   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1561   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1562   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1563   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1564   --libdir=DIR            object code libraries [EPREFIX/lib]
   1565   --includedir=DIR        C header files [PREFIX/include]
   1566   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1567   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1568   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1569   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1570   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1571   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1572   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-sis]
   1573   --htmldir=DIR           html documentation [DOCDIR]
   1574   --dvidir=DIR            dvi documentation [DOCDIR]
   1575   --pdfdir=DIR            pdf documentation [DOCDIR]
   1576   --psdir=DIR             ps documentation [DOCDIR]
   1577 _ACEOF
   1578 
   1579   cat <<\_ACEOF
   1580 
   1581 Program names:
   1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1585 
   1586 System types:
   1587   --build=BUILD     configure for building on BUILD [guessed]
   1588   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1589 _ACEOF
   1590 fi
   1591 
   1592 if test -n "$ac_init_help"; then
   1593   case $ac_init_help in
   1594      short | recursive ) echo "Configuration of xf86-video-sis 0.10.3:";;
   1595    esac
   1596   cat <<\_ACEOF
   1597 
   1598 Optional Features:
   1599   --disable-option-checking  ignore unrecognized --enable/--with options
   1600   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1601   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1602   --enable-maintainer-mode  enable make rules and dependencies not useful
   1603 			  (and sometimes confusing) to the casual installer
   1604   --disable-dependency-tracking  speeds up one-time build
   1605   --enable-dependency-tracking   do not reject slow dependency extractors
   1606   --enable-strict-compilation
   1607                           Enable all warnings from compiler and make them
   1608                           errors (default: disabled)
   1609   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1610   --disable-silent-rules         verbose build output (undo: `make V=0')
   1611   --enable-static[=PKGS]  build static libraries [default=no]
   1612   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1613   --enable-fast-install[=PKGS]
   1614                           optimize for fast installation [default=yes]
   1615   --disable-libtool-lock  avoid locking (might break parallel builds)
   1616   --disable-dri           Disable DRI support [default=auto]
   1617 
   1618 Optional Packages:
   1619   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1620   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1621   --with-pic              try to use only PIC/non-PIC objects [default=use
   1622                           both]
   1623   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1624   --with-xorg-module-dir=DIR
   1625                           Default xorg module directory
   1626                           [default=$libdir/xorg/modules]
   1627 
   1628 Some influential environment variables:
   1629   CC          C compiler command
   1630   CFLAGS      C compiler flags
   1631   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1632               nonstandard directory <lib dir>
   1633   LIBS        libraries to pass to the linker, e.g. -l<library>
   1634   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1635               you have headers in a nonstandard directory <include dir>
   1636   CPP         C preprocessor
   1637   PKG_CONFIG  path to pkg-config utility
   1638   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1639   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1640   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1641   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1642   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1643   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1644   PCIACCESS_CFLAGS
   1645               C compiler flags for PCIACCESS, overriding pkg-config
   1646   PCIACCESS_LIBS
   1647               linker flags for PCIACCESS, overriding pkg-config
   1648 
   1649 Use these variables to override the choices made by `configure' or to help
   1650 it to find libraries and programs with nonstandard names/locations.
   1651 
   1652 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1653 _ACEOF
   1654 ac_status=$?
   1655 fi
   1656 
   1657 if test "$ac_init_help" = "recursive"; then
   1658   # If there are subdirs, report their specific --help.
   1659   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1660     test -d "$ac_dir" ||
   1661       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1662       continue
   1663     ac_builddir=.
   1664 
   1665 case "$ac_dir" in
   1666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1667 *)
   1668   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1669   # A ".." for each directory in $ac_dir_suffix.
   1670   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1671   case $ac_top_builddir_sub in
   1672   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1673   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1674   esac ;;
   1675 esac
   1676 ac_abs_top_builddir=$ac_pwd
   1677 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1678 # for backward compatibility:
   1679 ac_top_builddir=$ac_top_build_prefix
   1680 
   1681 case $srcdir in
   1682   .)  # We are building in place.
   1683     ac_srcdir=.
   1684     ac_top_srcdir=$ac_top_builddir_sub
   1685     ac_abs_top_srcdir=$ac_pwd ;;
   1686   [\\/]* | ?:[\\/]* )  # Absolute name.
   1687     ac_srcdir=$srcdir$ac_dir_suffix;
   1688     ac_top_srcdir=$srcdir
   1689     ac_abs_top_srcdir=$srcdir ;;
   1690   *) # Relative name.
   1691     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1692     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1693     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1694 esac
   1695 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1696 
   1697     cd "$ac_dir" || { ac_status=$?; continue; }
   1698     # Check for guested configure.
   1699     if test -f "$ac_srcdir/configure.gnu"; then
   1700       echo &&
   1701       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1702     elif test -f "$ac_srcdir/configure"; then
   1703       echo &&
   1704       $SHELL "$ac_srcdir/configure" --help=recursive
   1705     else
   1706       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1707     fi || ac_status=$?
   1708     cd "$ac_pwd" || { ac_status=$?; break; }
   1709   done
   1710 fi
   1711 
   1712 test -n "$ac_init_help" && exit $ac_status
   1713 if $ac_init_version; then
   1714   cat <<\_ACEOF
   1715 xf86-video-sis configure 0.10.3
   1716 generated by GNU Autoconf 2.63
   1717 
   1718 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1719 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1720 This configure script is free software; the Free Software Foundation
   1721 gives unlimited permission to copy, distribute and modify it.
   1722 _ACEOF
   1723   exit
   1724 fi
   1725 cat >config.log <<_ACEOF
   1726 This file contains any messages produced by compilers while
   1727 running configure, to aid debugging if configure makes a mistake.
   1728 
   1729 It was created by xf86-video-sis $as_me 0.10.3, which was
   1730 generated by GNU Autoconf 2.63.  Invocation command line was
   1731 
   1732   $ $0 $@
   1733 
   1734 _ACEOF
   1735 exec 5>>config.log
   1736 {
   1737 cat <<_ASUNAME
   1738 ## --------- ##
   1739 ## Platform. ##
   1740 ## --------- ##
   1741 
   1742 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1743 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1744 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1745 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1746 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1747 
   1748 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1749 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1750 
   1751 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1752 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1753 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1754 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1755 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1756 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1757 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1758 
   1759 _ASUNAME
   1760 
   1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1762 for as_dir in $PATH
   1763 do
   1764   IFS=$as_save_IFS
   1765   test -z "$as_dir" && as_dir=.
   1766   $as_echo "PATH: $as_dir"
   1767 done
   1768 IFS=$as_save_IFS
   1769 
   1770 } >&5
   1771 
   1772 cat >&5 <<_ACEOF
   1773 
   1774 
   1775 ## ----------- ##
   1776 ## Core tests. ##
   1777 ## ----------- ##
   1778 
   1779 _ACEOF
   1780 
   1781 
   1782 # Keep a trace of the command line.
   1783 # Strip out --no-create and --no-recursion so they do not pile up.
   1784 # Strip out --silent because we don't want to record it for future runs.
   1785 # Also quote any args containing shell meta-characters.
   1786 # Make two passes to allow for proper duplicate-argument suppression.
   1787 ac_configure_args=
   1788 ac_configure_args0=
   1789 ac_configure_args1=
   1790 ac_must_keep_next=false
   1791 for ac_pass in 1 2
   1792 do
   1793   for ac_arg
   1794   do
   1795     case $ac_arg in
   1796     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1797     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1798     | -silent | --silent | --silen | --sile | --sil)
   1799       continue ;;
   1800     *\'*)
   1801       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1802     esac
   1803     case $ac_pass in
   1804     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1805     2)
   1806       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1807       if test $ac_must_keep_next = true; then
   1808 	ac_must_keep_next=false # Got value, back to normal.
   1809       else
   1810 	case $ac_arg in
   1811 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1812 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1813 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1814 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1815 	    case "$ac_configure_args0 " in
   1816 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1817 	    esac
   1818 	    ;;
   1819 	  -* ) ac_must_keep_next=true ;;
   1820 	esac
   1821       fi
   1822       ac_configure_args="$ac_configure_args '$ac_arg'"
   1823       ;;
   1824     esac
   1825   done
   1826 done
   1827 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1828 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1829 
   1830 # When interrupted or exit'd, cleanup temporary files, and complete
   1831 # config.log.  We remove comments because anyway the quotes in there
   1832 # would cause problems or look ugly.
   1833 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1834 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1835 trap 'exit_status=$?
   1836   # Save into config.log some information that might help in debugging.
   1837   {
   1838     echo
   1839 
   1840     cat <<\_ASBOX
   1841 ## ---------------- ##
   1842 ## Cache variables. ##
   1843 ## ---------------- ##
   1844 _ASBOX
   1845     echo
   1846     # The following way of writing the cache mishandles newlines in values,
   1847 (
   1848   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1849     eval ac_val=\$$ac_var
   1850     case $ac_val in #(
   1851     *${as_nl}*)
   1852       case $ac_var in #(
   1853       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1855       esac
   1856       case $ac_var in #(
   1857       _ | IFS | as_nl) ;; #(
   1858       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1859       *) $as_unset $ac_var ;;
   1860       esac ;;
   1861     esac
   1862   done
   1863   (set) 2>&1 |
   1864     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1865     *${as_nl}ac_space=\ *)
   1866       sed -n \
   1867 	"s/'\''/'\''\\\\'\'''\''/g;
   1868 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1869       ;; #(
   1870     *)
   1871       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1872       ;;
   1873     esac |
   1874     sort
   1875 )
   1876     echo
   1877 
   1878     cat <<\_ASBOX
   1879 ## ----------------- ##
   1880 ## Output variables. ##
   1881 ## ----------------- ##
   1882 _ASBOX
   1883     echo
   1884     for ac_var in $ac_subst_vars
   1885     do
   1886       eval ac_val=\$$ac_var
   1887       case $ac_val in
   1888       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1889       esac
   1890       $as_echo "$ac_var='\''$ac_val'\''"
   1891     done | sort
   1892     echo
   1893 
   1894     if test -n "$ac_subst_files"; then
   1895       cat <<\_ASBOX
   1896 ## ------------------- ##
   1897 ## File substitutions. ##
   1898 ## ------------------- ##
   1899 _ASBOX
   1900       echo
   1901       for ac_var in $ac_subst_files
   1902       do
   1903 	eval ac_val=\$$ac_var
   1904 	case $ac_val in
   1905 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906 	esac
   1907 	$as_echo "$ac_var='\''$ac_val'\''"
   1908       done | sort
   1909       echo
   1910     fi
   1911 
   1912     if test -s confdefs.h; then
   1913       cat <<\_ASBOX
   1914 ## ----------- ##
   1915 ## confdefs.h. ##
   1916 ## ----------- ##
   1917 _ASBOX
   1918       echo
   1919       cat confdefs.h
   1920       echo
   1921     fi
   1922     test "$ac_signal" != 0 &&
   1923       $as_echo "$as_me: caught signal $ac_signal"
   1924     $as_echo "$as_me: exit $exit_status"
   1925   } >&5
   1926   rm -f core *.core core.conftest.* &&
   1927     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1928     exit $exit_status
   1929 ' 0
   1930 for ac_signal in 1 2 13 15; do
   1931   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1932 done
   1933 ac_signal=0
   1934 
   1935 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1936 rm -f -r conftest* confdefs.h
   1937 
   1938 # Predefined preprocessor variables.
   1939 
   1940 cat >>confdefs.h <<_ACEOF
   1941 #define PACKAGE_NAME "$PACKAGE_NAME"
   1942 _ACEOF
   1943 
   1944 
   1945 cat >>confdefs.h <<_ACEOF
   1946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1947 _ACEOF
   1948 
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1952 _ACEOF
   1953 
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_STRING "$PACKAGE_STRING"
   1957 _ACEOF
   1958 
   1959 
   1960 cat >>confdefs.h <<_ACEOF
   1961 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1962 _ACEOF
   1963 
   1964 
   1965 # Let the site file select an alternate cache file if it wants to.
   1966 # Prefer an explicitly selected file to automatically selected ones.
   1967 ac_site_file1=NONE
   1968 ac_site_file2=NONE
   1969 if test -n "$CONFIG_SITE"; then
   1970   ac_site_file1=$CONFIG_SITE
   1971 elif test "x$prefix" != xNONE; then
   1972   ac_site_file1=$prefix/share/config.site
   1973   ac_site_file2=$prefix/etc/config.site
   1974 else
   1975   ac_site_file1=$ac_default_prefix/share/config.site
   1976   ac_site_file2=$ac_default_prefix/etc/config.site
   1977 fi
   1978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1979 do
   1980   test "x$ac_site_file" = xNONE && continue
   1981   if test -r "$ac_site_file"; then
   1982     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1984     sed 's/^/| /' "$ac_site_file" >&5
   1985     . "$ac_site_file"
   1986   fi
   1987 done
   1988 
   1989 if test -r "$cache_file"; then
   1990   # Some versions of bash will fail to source /dev/null (special
   1991   # files actually), so we avoid doing that.
   1992   if test -f "$cache_file"; then
   1993     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1994 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1995     case $cache_file in
   1996       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1997       *)                      . "./$cache_file";;
   1998     esac
   1999   fi
   2000 else
   2001   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2002 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2003   >$cache_file
   2004 fi
   2005 
   2006 # Check that the precious variables saved in the cache have kept the same
   2007 # value.
   2008 ac_cache_corrupted=false
   2009 for ac_var in $ac_precious_vars; do
   2010   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2011   eval ac_new_set=\$ac_env_${ac_var}_set
   2012   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2013   eval ac_new_val=\$ac_env_${ac_var}_value
   2014   case $ac_old_set,$ac_new_set in
   2015     set,)
   2016       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2017 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2018       ac_cache_corrupted=: ;;
   2019     ,set)
   2020       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2021 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2022       ac_cache_corrupted=: ;;
   2023     ,);;
   2024     *)
   2025       if test "x$ac_old_val" != "x$ac_new_val"; then
   2026 	# differences in whitespace do not lead to failure.
   2027 	ac_old_val_w=`echo x $ac_old_val`
   2028 	ac_new_val_w=`echo x $ac_new_val`
   2029 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2030 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2031 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2032 	  ac_cache_corrupted=:
   2033 	else
   2034 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2035 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2036 	  eval $ac_var=\$ac_old_val
   2037 	fi
   2038 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2039 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2040 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2041 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2042       fi;;
   2043   esac
   2044   # Pass precious variables to config.status.
   2045   if test "$ac_new_set" = set; then
   2046     case $ac_new_val in
   2047     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2048     *) ac_arg=$ac_var=$ac_new_val ;;
   2049     esac
   2050     case " $ac_configure_args " in
   2051       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2052       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2053     esac
   2054   fi
   2055 done
   2056 if $ac_cache_corrupted; then
   2057   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2059   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2060 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2061   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2062 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2063    { (exit 1); exit 1; }; }
   2064 fi
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 ac_ext=c
   2091 ac_cpp='$CPP $CPPFLAGS'
   2092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2095 
   2096 
   2097 
   2098 
   2099 ac_config_headers="$ac_config_headers config.h"
   2100 
   2101 ac_aux_dir=
   2102 for ac_dir in . "$srcdir"/.; do
   2103   if test -f "$ac_dir/install-sh"; then
   2104     ac_aux_dir=$ac_dir
   2105     ac_install_sh="$ac_aux_dir/install-sh -c"
   2106     break
   2107   elif test -f "$ac_dir/install.sh"; then
   2108     ac_aux_dir=$ac_dir
   2109     ac_install_sh="$ac_aux_dir/install.sh -c"
   2110     break
   2111   elif test -f "$ac_dir/shtool"; then
   2112     ac_aux_dir=$ac_dir
   2113     ac_install_sh="$ac_aux_dir/shtool install -c"
   2114     break
   2115   fi
   2116 done
   2117 if test -z "$ac_aux_dir"; then
   2118   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2119 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2120    { (exit 1); exit 1; }; }
   2121 fi
   2122 
   2123 # These three variables are undocumented and unsupported,
   2124 # and are intended to be withdrawn in a future Autoconf release.
   2125 # They can cause serious problems if a builder's source tree is in a directory
   2126 # whose full name contains unusual characters.
   2127 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2128 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2129 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2130 
   2131 
   2132 
   2133 am__api_version='1.11'
   2134 
   2135 # Find a good install program.  We prefer a C program (faster),
   2136 # so one script is as good as another.  But avoid the broken or
   2137 # incompatible versions:
   2138 # SysV /etc/install, /usr/sbin/install
   2139 # SunOS /usr/etc/install
   2140 # IRIX /sbin/install
   2141 # AIX /bin/install
   2142 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2146 # OS/2's system install, which has a completely different semantic
   2147 # ./install, which can be erroneously created by make from ./install.sh.
   2148 # Reject install programs that cannot install multiple files.
   2149 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2150 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2151 if test -z "$INSTALL"; then
   2152 if test "${ac_cv_path_install+set}" = set; then
   2153   $as_echo_n "(cached) " >&6
   2154 else
   2155   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2156 for as_dir in $PATH
   2157 do
   2158   IFS=$as_save_IFS
   2159   test -z "$as_dir" && as_dir=.
   2160   # Account for people who put trailing slashes in PATH elements.
   2161 case $as_dir/ in
   2162   ./ | .// | /cC/* | \
   2163   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2164   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2165   /usr/ucb/* ) ;;
   2166   *)
   2167     # OSF1 and SCO ODT 3.0 have their own names for install.
   2168     # Don't use installbsd from OSF since it installs stuff as root
   2169     # by default.
   2170     for ac_prog in ginstall scoinst install; do
   2171       for ac_exec_ext in '' $ac_executable_extensions; do
   2172 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2173 	  if test $ac_prog = install &&
   2174 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2175 	    # AIX install.  It has an incompatible calling convention.
   2176 	    :
   2177 	  elif test $ac_prog = install &&
   2178 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2179 	    # program-specific install script used by HP pwplus--don't use.
   2180 	    :
   2181 	  else
   2182 	    rm -rf conftest.one conftest.two conftest.dir
   2183 	    echo one > conftest.one
   2184 	    echo two > conftest.two
   2185 	    mkdir conftest.dir
   2186 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2187 	      test -s conftest.one && test -s conftest.two &&
   2188 	      test -s conftest.dir/conftest.one &&
   2189 	      test -s conftest.dir/conftest.two
   2190 	    then
   2191 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2192 	      break 3
   2193 	    fi
   2194 	  fi
   2195 	fi
   2196       done
   2197     done
   2198     ;;
   2199 esac
   2200 
   2201 done
   2202 IFS=$as_save_IFS
   2203 
   2204 rm -rf conftest.one conftest.two conftest.dir
   2205 
   2206 fi
   2207   if test "${ac_cv_path_install+set}" = set; then
   2208     INSTALL=$ac_cv_path_install
   2209   else
   2210     # As a last resort, use the slow shell script.  Don't cache a
   2211     # value for INSTALL within a source directory, because that will
   2212     # break other packages using the cache if that directory is
   2213     # removed, or if the value is a relative name.
   2214     INSTALL=$ac_install_sh
   2215   fi
   2216 fi
   2217 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2218 $as_echo "$INSTALL" >&6; }
   2219 
   2220 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2221 # It thinks the first close brace ends the variable substitution.
   2222 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2223 
   2224 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2225 
   2226 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2227 
   2228 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2229 $as_echo_n "checking whether build environment is sane... " >&6; }
   2230 # Just in case
   2231 sleep 1
   2232 echo timestamp > conftest.file
   2233 # Reject unsafe characters in $srcdir or the absolute working directory
   2234 # name.  Accept space and tab only in the latter.
   2235 am_lf='
   2236 '
   2237 case `pwd` in
   2238   *[\\\"\#\$\&\'\`$am_lf]*)
   2239     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2240 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2241    { (exit 1); exit 1; }; };;
   2242 esac
   2243 case $srcdir in
   2244   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2245     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2246 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2247    { (exit 1); exit 1; }; };;
   2248 esac
   2249 
   2250 # Do `set' in a subshell so we don't clobber the current shell's
   2251 # arguments.  Must try -L first in case configure is actually a
   2252 # symlink; some systems play weird games with the mod time of symlinks
   2253 # (eg FreeBSD returns the mod time of the symlink's containing
   2254 # directory).
   2255 if (
   2256    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2257    if test "$*" = "X"; then
   2258       # -L didn't work.
   2259       set X `ls -t "$srcdir/configure" conftest.file`
   2260    fi
   2261    rm -f conftest.file
   2262    if test "$*" != "X $srcdir/configure conftest.file" \
   2263       && test "$*" != "X conftest.file $srcdir/configure"; then
   2264 
   2265       # If neither matched, then we have a broken ls.  This can happen
   2266       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2267       # broken ls alias from the environment.  This has actually
   2268       # happened.  Such a system could not be considered "sane".
   2269       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2270 alias in your environment" >&5
   2271 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2272 alias in your environment" >&2;}
   2273    { (exit 1); exit 1; }; }
   2274    fi
   2275 
   2276    test "$2" = conftest.file
   2277    )
   2278 then
   2279    # Ok.
   2280    :
   2281 else
   2282    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2283 Check your system clock" >&5
   2284 $as_echo "$as_me: error: newly created file is older than distributed files!
   2285 Check your system clock" >&2;}
   2286    { (exit 1); exit 1; }; }
   2287 fi
   2288 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2289 $as_echo "yes" >&6; }
   2290 test "$program_prefix" != NONE &&
   2291   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2292 # Use a double $ so make ignores it.
   2293 test "$program_suffix" != NONE &&
   2294   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2295 # Double any \ or $.
   2296 # By default was `s,x,x', remove it if useless.
   2297 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2298 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2299 
   2300 # expand $ac_aux_dir to an absolute path
   2301 am_aux_dir=`cd $ac_aux_dir && pwd`
   2302 
   2303 if test x"${MISSING+set}" != xset; then
   2304   case $am_aux_dir in
   2305   *\ * | *\	*)
   2306     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2307   *)
   2308     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2309   esac
   2310 fi
   2311 # Use eval to expand $SHELL
   2312 if eval "$MISSING --run true"; then
   2313   am_missing_run="$MISSING --run "
   2314 else
   2315   am_missing_run=
   2316   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2317 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2318 fi
   2319 
   2320 if test x"${install_sh}" != xset; then
   2321   case $am_aux_dir in
   2322   *\ * | *\	*)
   2323     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2324   *)
   2325     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2326   esac
   2327 fi
   2328 
   2329 # Installed binaries are usually stripped using `strip' when the user
   2330 # run `make install-strip'.  However `strip' might not be the right
   2331 # tool to use in cross-compilation environments, therefore Automake
   2332 # will honor the `STRIP' environment variable to overrule this program.
   2333 if test "$cross_compiling" != no; then
   2334   if test -n "$ac_tool_prefix"; then
   2335   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2336 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2337 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2338 $as_echo_n "checking for $ac_word... " >&6; }
   2339 if test "${ac_cv_prog_STRIP+set}" = set; then
   2340   $as_echo_n "(cached) " >&6
   2341 else
   2342   if test -n "$STRIP"; then
   2343   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2344 else
   2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2346 for as_dir in $PATH
   2347 do
   2348   IFS=$as_save_IFS
   2349   test -z "$as_dir" && as_dir=.
   2350   for ac_exec_ext in '' $ac_executable_extensions; do
   2351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2352     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2353     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2354     break 2
   2355   fi
   2356 done
   2357 done
   2358 IFS=$as_save_IFS
   2359 
   2360 fi
   2361 fi
   2362 STRIP=$ac_cv_prog_STRIP
   2363 if test -n "$STRIP"; then
   2364   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2365 $as_echo "$STRIP" >&6; }
   2366 else
   2367   { $as_echo "$as_me:$LINENO: result: no" >&5
   2368 $as_echo "no" >&6; }
   2369 fi
   2370 
   2371 
   2372 fi
   2373 if test -z "$ac_cv_prog_STRIP"; then
   2374   ac_ct_STRIP=$STRIP
   2375   # Extract the first word of "strip", so it can be a program name with args.
   2376 set dummy strip; ac_word=$2
   2377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2378 $as_echo_n "checking for $ac_word... " >&6; }
   2379 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2380   $as_echo_n "(cached) " >&6
   2381 else
   2382   if test -n "$ac_ct_STRIP"; then
   2383   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2384 else
   2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2386 for as_dir in $PATH
   2387 do
   2388   IFS=$as_save_IFS
   2389   test -z "$as_dir" && as_dir=.
   2390   for ac_exec_ext in '' $ac_executable_extensions; do
   2391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2392     ac_cv_prog_ac_ct_STRIP="strip"
   2393     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2394     break 2
   2395   fi
   2396 done
   2397 done
   2398 IFS=$as_save_IFS
   2399 
   2400 fi
   2401 fi
   2402 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2403 if test -n "$ac_ct_STRIP"; then
   2404   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2405 $as_echo "$ac_ct_STRIP" >&6; }
   2406 else
   2407   { $as_echo "$as_me:$LINENO: result: no" >&5
   2408 $as_echo "no" >&6; }
   2409 fi
   2410 
   2411   if test "x$ac_ct_STRIP" = x; then
   2412     STRIP=":"
   2413   else
   2414     case $cross_compiling:$ac_tool_warned in
   2415 yes:)
   2416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2418 ac_tool_warned=yes ;;
   2419 esac
   2420     STRIP=$ac_ct_STRIP
   2421   fi
   2422 else
   2423   STRIP="$ac_cv_prog_STRIP"
   2424 fi
   2425 
   2426 fi
   2427 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2428 
   2429 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2430 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2431 if test -z "$MKDIR_P"; then
   2432   if test "${ac_cv_path_mkdir+set}" = set; then
   2433   $as_echo_n "(cached) " >&6
   2434 else
   2435   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2436 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2437 do
   2438   IFS=$as_save_IFS
   2439   test -z "$as_dir" && as_dir=.
   2440   for ac_prog in mkdir gmkdir; do
   2441 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2442 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2443 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2444 	     'mkdir (GNU coreutils) '* | \
   2445 	     'mkdir (coreutils) '* | \
   2446 	     'mkdir (fileutils) '4.1*)
   2447 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2448 	       break 3;;
   2449 	   esac
   2450 	 done
   2451        done
   2452 done
   2453 IFS=$as_save_IFS
   2454 
   2455 fi
   2456 
   2457   if test "${ac_cv_path_mkdir+set}" = set; then
   2458     MKDIR_P="$ac_cv_path_mkdir -p"
   2459   else
   2460     # As a last resort, use the slow shell script.  Don't cache a
   2461     # value for MKDIR_P within a source directory, because that will
   2462     # break other packages using the cache if that directory is
   2463     # removed, or if the value is a relative name.
   2464     test -d ./--version && rmdir ./--version
   2465     MKDIR_P="$ac_install_sh -d"
   2466   fi
   2467 fi
   2468 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2469 $as_echo "$MKDIR_P" >&6; }
   2470 
   2471 mkdir_p="$MKDIR_P"
   2472 case $mkdir_p in
   2473   [\\/$]* | ?:[\\/]*) ;;
   2474   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2475 esac
   2476 
   2477 for ac_prog in gawk mawk nawk awk
   2478 do
   2479   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2480 set dummy $ac_prog; ac_word=$2
   2481 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2482 $as_echo_n "checking for $ac_word... " >&6; }
   2483 if test "${ac_cv_prog_AWK+set}" = set; then
   2484   $as_echo_n "(cached) " >&6
   2485 else
   2486   if test -n "$AWK"; then
   2487   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2488 else
   2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2490 for as_dir in $PATH
   2491 do
   2492   IFS=$as_save_IFS
   2493   test -z "$as_dir" && as_dir=.
   2494   for ac_exec_ext in '' $ac_executable_extensions; do
   2495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2496     ac_cv_prog_AWK="$ac_prog"
   2497     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2498     break 2
   2499   fi
   2500 done
   2501 done
   2502 IFS=$as_save_IFS
   2503 
   2504 fi
   2505 fi
   2506 AWK=$ac_cv_prog_AWK
   2507 if test -n "$AWK"; then
   2508   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2509 $as_echo "$AWK" >&6; }
   2510 else
   2511   { $as_echo "$as_me:$LINENO: result: no" >&5
   2512 $as_echo "no" >&6; }
   2513 fi
   2514 
   2515 
   2516   test -n "$AWK" && break
   2517 done
   2518 
   2519 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2520 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2521 set x ${MAKE-make}
   2522 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2523 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2524   $as_echo_n "(cached) " >&6
   2525 else
   2526   cat >conftest.make <<\_ACEOF
   2527 SHELL = /bin/sh
   2528 all:
   2529 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2530 _ACEOF
   2531 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2532 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2533   *@@@%%%=?*=@@@%%%*)
   2534     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2535   *)
   2536     eval ac_cv_prog_make_${ac_make}_set=no;;
   2537 esac
   2538 rm -f conftest.make
   2539 fi
   2540 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2541   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2542 $as_echo "yes" >&6; }
   2543   SET_MAKE=
   2544 else
   2545   { $as_echo "$as_me:$LINENO: result: no" >&5
   2546 $as_echo "no" >&6; }
   2547   SET_MAKE="MAKE=${MAKE-make}"
   2548 fi
   2549 
   2550 rm -rf .tst 2>/dev/null
   2551 mkdir .tst 2>/dev/null
   2552 if test -d .tst; then
   2553   am__leading_dot=.
   2554 else
   2555   am__leading_dot=_
   2556 fi
   2557 rmdir .tst 2>/dev/null
   2558 
   2559 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2560   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2561   # is not polluted with repeated "-I."
   2562   am__isrc=' -I$(srcdir)'
   2563   # test to see if srcdir already configured
   2564   if test -f $srcdir/config.status; then
   2565     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2566 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2567    { (exit 1); exit 1; }; }
   2568   fi
   2569 fi
   2570 
   2571 # test whether we have cygpath
   2572 if test -z "$CYGPATH_W"; then
   2573   if (cygpath --version) >/dev/null 2>/dev/null; then
   2574     CYGPATH_W='cygpath -w'
   2575   else
   2576     CYGPATH_W=echo
   2577   fi
   2578 fi
   2579 
   2580 
   2581 # Define the identity of the package.
   2582  PACKAGE='xf86-video-sis'
   2583  VERSION='0.10.3'
   2584 
   2585 
   2586 cat >>confdefs.h <<_ACEOF
   2587 #define PACKAGE "$PACKAGE"
   2588 _ACEOF
   2589 
   2590 
   2591 cat >>confdefs.h <<_ACEOF
   2592 #define VERSION "$VERSION"
   2593 _ACEOF
   2594 
   2595 # Some tools Automake needs.
   2596 
   2597 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2598 
   2599 
   2600 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2601 
   2602 
   2603 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2604 
   2605 
   2606 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2607 
   2608 
   2609 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2610 
   2611 # We need awk for the "check" target.  The system "awk" is bad on
   2612 # some platforms.
   2613 # Always define AMTAR for backward compatibility.
   2614 
   2615 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2616 
   2617 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2618 
   2619 
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2626 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2627     # Check whether --enable-maintainer-mode was given.
   2628 if test "${enable_maintainer_mode+set}" = set; then
   2629   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2630 else
   2631   USE_MAINTAINER_MODE=no
   2632 fi
   2633 
   2634   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2635 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2636    if test $USE_MAINTAINER_MODE = yes; then
   2637   MAINTAINER_MODE_TRUE=
   2638   MAINTAINER_MODE_FALSE='#'
   2639 else
   2640   MAINTAINER_MODE_TRUE='#'
   2641   MAINTAINER_MODE_FALSE=
   2642 fi
   2643 
   2644   MAINT=$MAINTAINER_MODE_TRUE
   2645 
   2646 
   2647 
   2648 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2649 
   2650 
   2651 
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 DEPDIR="${am__leading_dot}deps"
   2661 
   2662 ac_config_commands="$ac_config_commands depfiles"
   2663 
   2664 
   2665 am_make=${MAKE-make}
   2666 cat > confinc << 'END'
   2667 am__doit:
   2668 	@echo this is the am__doit target
   2669 .PHONY: am__doit
   2670 END
   2671 # If we don't find an include directive, just comment out the code.
   2672 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2673 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2674 am__include="#"
   2675 am__quote=
   2676 _am_result=none
   2677 # First try GNU make style include.
   2678 echo "include confinc" > confmf
   2679 # Ignore all kinds of additional output from `make'.
   2680 case `$am_make -s -f confmf 2> /dev/null` in #(
   2681 *the\ am__doit\ target*)
   2682   am__include=include
   2683   am__quote=
   2684   _am_result=GNU
   2685   ;;
   2686 esac
   2687 # Now try BSD make style include.
   2688 if test "$am__include" = "#"; then
   2689    echo '.include "confinc"' > confmf
   2690    case `$am_make -s -f confmf 2> /dev/null` in #(
   2691    *the\ am__doit\ target*)
   2692      am__include=.include
   2693      am__quote="\""
   2694      _am_result=BSD
   2695      ;;
   2696    esac
   2697 fi
   2698 
   2699 
   2700 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2701 $as_echo "$_am_result" >&6; }
   2702 rm -f confinc confmf
   2703 
   2704 # Check whether --enable-dependency-tracking was given.
   2705 if test "${enable_dependency_tracking+set}" = set; then
   2706   enableval=$enable_dependency_tracking;
   2707 fi
   2708 
   2709 if test "x$enable_dependency_tracking" != xno; then
   2710   am_depcomp="$ac_aux_dir/depcomp"
   2711   AMDEPBACKSLASH='\'
   2712 fi
   2713  if test "x$enable_dependency_tracking" != xno; then
   2714   AMDEP_TRUE=
   2715   AMDEP_FALSE='#'
   2716 else
   2717   AMDEP_TRUE='#'
   2718   AMDEP_FALSE=
   2719 fi
   2720 
   2721 
   2722 ac_ext=c
   2723 ac_cpp='$CPP $CPPFLAGS'
   2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2727 if test -n "$ac_tool_prefix"; then
   2728   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2731 $as_echo_n "checking for $ac_word... " >&6; }
   2732 if test "${ac_cv_prog_CC+set}" = set; then
   2733   $as_echo_n "(cached) " >&6
   2734 else
   2735   if test -n "$CC"; then
   2736   ac_cv_prog_CC="$CC" # Let the user override the test.
   2737 else
   2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2739 for as_dir in $PATH
   2740 do
   2741   IFS=$as_save_IFS
   2742   test -z "$as_dir" && as_dir=.
   2743   for ac_exec_ext in '' $ac_executable_extensions; do
   2744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2745     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2746     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2747     break 2
   2748   fi
   2749 done
   2750 done
   2751 IFS=$as_save_IFS
   2752 
   2753 fi
   2754 fi
   2755 CC=$ac_cv_prog_CC
   2756 if test -n "$CC"; then
   2757   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2758 $as_echo "$CC" >&6; }
   2759 else
   2760   { $as_echo "$as_me:$LINENO: result: no" >&5
   2761 $as_echo "no" >&6; }
   2762 fi
   2763 
   2764 
   2765 fi
   2766 if test -z "$ac_cv_prog_CC"; then
   2767   ac_ct_CC=$CC
   2768   # Extract the first word of "gcc", so it can be a program name with args.
   2769 set dummy gcc; ac_word=$2
   2770 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2771 $as_echo_n "checking for $ac_word... " >&6; }
   2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2773   $as_echo_n "(cached) " >&6
   2774 else
   2775   if test -n "$ac_ct_CC"; then
   2776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2777 else
   2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2779 for as_dir in $PATH
   2780 do
   2781   IFS=$as_save_IFS
   2782   test -z "$as_dir" && as_dir=.
   2783   for ac_exec_ext in '' $ac_executable_extensions; do
   2784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2785     ac_cv_prog_ac_ct_CC="gcc"
   2786     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2787     break 2
   2788   fi
   2789 done
   2790 done
   2791 IFS=$as_save_IFS
   2792 
   2793 fi
   2794 fi
   2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2796 if test -n "$ac_ct_CC"; then
   2797   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2798 $as_echo "$ac_ct_CC" >&6; }
   2799 else
   2800   { $as_echo "$as_me:$LINENO: result: no" >&5
   2801 $as_echo "no" >&6; }
   2802 fi
   2803 
   2804   if test "x$ac_ct_CC" = x; then
   2805     CC=""
   2806   else
   2807     case $cross_compiling:$ac_tool_warned in
   2808 yes:)
   2809 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2811 ac_tool_warned=yes ;;
   2812 esac
   2813     CC=$ac_ct_CC
   2814   fi
   2815 else
   2816   CC="$ac_cv_prog_CC"
   2817 fi
   2818 
   2819 if test -z "$CC"; then
   2820           if test -n "$ac_tool_prefix"; then
   2821     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2822 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2823 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2824 $as_echo_n "checking for $ac_word... " >&6; }
   2825 if test "${ac_cv_prog_CC+set}" = set; then
   2826   $as_echo_n "(cached) " >&6
   2827 else
   2828   if test -n "$CC"; then
   2829   ac_cv_prog_CC="$CC" # Let the user override the test.
   2830 else
   2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2832 for as_dir in $PATH
   2833 do
   2834   IFS=$as_save_IFS
   2835   test -z "$as_dir" && as_dir=.
   2836   for ac_exec_ext in '' $ac_executable_extensions; do
   2837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2838     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2839     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2840     break 2
   2841   fi
   2842 done
   2843 done
   2844 IFS=$as_save_IFS
   2845 
   2846 fi
   2847 fi
   2848 CC=$ac_cv_prog_CC
   2849 if test -n "$CC"; then
   2850   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2851 $as_echo "$CC" >&6; }
   2852 else
   2853   { $as_echo "$as_me:$LINENO: result: no" >&5
   2854 $as_echo "no" >&6; }
   2855 fi
   2856 
   2857 
   2858   fi
   2859 fi
   2860 if test -z "$CC"; then
   2861   # Extract the first word of "cc", so it can be a program name with args.
   2862 set dummy cc; ac_word=$2
   2863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2864 $as_echo_n "checking for $ac_word... " >&6; }
   2865 if test "${ac_cv_prog_CC+set}" = set; then
   2866   $as_echo_n "(cached) " >&6
   2867 else
   2868   if test -n "$CC"; then
   2869   ac_cv_prog_CC="$CC" # Let the user override the test.
   2870 else
   2871   ac_prog_rejected=no
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877   for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2879     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2880        ac_prog_rejected=yes
   2881        continue
   2882      fi
   2883     ac_cv_prog_CC="cc"
   2884     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888 done
   2889 IFS=$as_save_IFS
   2890 
   2891 if test $ac_prog_rejected = yes; then
   2892   # We found a bogon in the path, so make sure we never use it.
   2893   set dummy $ac_cv_prog_CC
   2894   shift
   2895   if test $# != 0; then
   2896     # We chose a different compiler from the bogus one.
   2897     # However, it has the same basename, so the bogon will be chosen
   2898     # first if we set CC to just the basename; use the full file name.
   2899     shift
   2900     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2901   fi
   2902 fi
   2903 fi
   2904 fi
   2905 CC=$ac_cv_prog_CC
   2906 if test -n "$CC"; then
   2907   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2908 $as_echo "$CC" >&6; }
   2909 else
   2910   { $as_echo "$as_me:$LINENO: result: no" >&5
   2911 $as_echo "no" >&6; }
   2912 fi
   2913 
   2914 
   2915 fi
   2916 if test -z "$CC"; then
   2917   if test -n "$ac_tool_prefix"; then
   2918   for ac_prog in cl.exe
   2919   do
   2920     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2923 $as_echo_n "checking for $ac_word... " >&6; }
   2924 if test "${ac_cv_prog_CC+set}" = set; then
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   if test -n "$CC"; then
   2928   ac_cv_prog_CC="$CC" # Let the user override the test.
   2929 else
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   test -z "$as_dir" && as_dir=.
   2935   for ac_exec_ext in '' $ac_executable_extensions; do
   2936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2937     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2938     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942 done
   2943 IFS=$as_save_IFS
   2944 
   2945 fi
   2946 fi
   2947 CC=$ac_cv_prog_CC
   2948 if test -n "$CC"; then
   2949   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2950 $as_echo "$CC" >&6; }
   2951 else
   2952   { $as_echo "$as_me:$LINENO: result: no" >&5
   2953 $as_echo "no" >&6; }
   2954 fi
   2955 
   2956 
   2957     test -n "$CC" && break
   2958   done
   2959 fi
   2960 if test -z "$CC"; then
   2961   ac_ct_CC=$CC
   2962   for ac_prog in cl.exe
   2963 do
   2964   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2965 set dummy $ac_prog; ac_word=$2
   2966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2967 $as_echo_n "checking for $ac_word... " >&6; }
   2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2969   $as_echo_n "(cached) " >&6
   2970 else
   2971   if test -n "$ac_ct_CC"; then
   2972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2973 else
   2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2975 for as_dir in $PATH
   2976 do
   2977   IFS=$as_save_IFS
   2978   test -z "$as_dir" && as_dir=.
   2979   for ac_exec_ext in '' $ac_executable_extensions; do
   2980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2981     ac_cv_prog_ac_ct_CC="$ac_prog"
   2982     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2983     break 2
   2984   fi
   2985 done
   2986 done
   2987 IFS=$as_save_IFS
   2988 
   2989 fi
   2990 fi
   2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2992 if test -n "$ac_ct_CC"; then
   2993   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2994 $as_echo "$ac_ct_CC" >&6; }
   2995 else
   2996   { $as_echo "$as_me:$LINENO: result: no" >&5
   2997 $as_echo "no" >&6; }
   2998 fi
   2999 
   3000 
   3001   test -n "$ac_ct_CC" && break
   3002 done
   3003 
   3004   if test "x$ac_ct_CC" = x; then
   3005     CC=""
   3006   else
   3007     case $cross_compiling:$ac_tool_warned in
   3008 yes:)
   3009 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3011 ac_tool_warned=yes ;;
   3012 esac
   3013     CC=$ac_ct_CC
   3014   fi
   3015 fi
   3016 
   3017 fi
   3018 
   3019 
   3020 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3022 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3023 See \`config.log' for more details." >&5
   3024 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3025 See \`config.log' for more details." >&2;}
   3026    { (exit 1); exit 1; }; }; }
   3027 
   3028 # Provide some information about the compiler.
   3029 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3030 set X $ac_compile
   3031 ac_compiler=$2
   3032 { (ac_try="$ac_compiler --version >&5"
   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_compiler --version >&5") 2>&5
   3040   ac_status=$?
   3041   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3042   (exit $ac_status); }
   3043 { (ac_try="$ac_compiler -v >&5"
   3044 case "(($ac_try" in
   3045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3046   *) ac_try_echo=$ac_try;;
   3047 esac
   3048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3049 $as_echo "$ac_try_echo") >&5
   3050   (eval "$ac_compiler -v >&5") 2>&5
   3051   ac_status=$?
   3052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3053   (exit $ac_status); }
   3054 { (ac_try="$ac_compiler -V >&5"
   3055 case "(($ac_try" in
   3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3057   *) ac_try_echo=$ac_try;;
   3058 esac
   3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3060 $as_echo "$ac_try_echo") >&5
   3061   (eval "$ac_compiler -V >&5") 2>&5
   3062   ac_status=$?
   3063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3064   (exit $ac_status); }
   3065 
   3066 cat >conftest.$ac_ext <<_ACEOF
   3067 /* confdefs.h.  */
   3068 _ACEOF
   3069 cat confdefs.h >>conftest.$ac_ext
   3070 cat >>conftest.$ac_ext <<_ACEOF
   3071 /* end confdefs.h.  */
   3072 
   3073 int
   3074 main ()
   3075 {
   3076 
   3077   ;
   3078   return 0;
   3079 }
   3080 _ACEOF
   3081 ac_clean_files_save=$ac_clean_files
   3082 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3083 # Try to create an executable without -o first, disregard a.out.
   3084 # It will help us diagnose broken compilers, and finding out an intuition
   3085 # of exeext.
   3086 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3087 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3088 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3089 
   3090 # The possible output files:
   3091 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3092 
   3093 ac_rmfiles=
   3094 for ac_file in $ac_files
   3095 do
   3096   case $ac_file in
   3097     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3098     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3099   esac
   3100 done
   3101 rm -f $ac_rmfiles
   3102 
   3103 if { (ac_try="$ac_link_default"
   3104 case "(($ac_try" in
   3105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3106   *) ac_try_echo=$ac_try;;
   3107 esac
   3108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3109 $as_echo "$ac_try_echo") >&5
   3110   (eval "$ac_link_default") 2>&5
   3111   ac_status=$?
   3112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3113   (exit $ac_status); }; then
   3114   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3116 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3117 # so that the user can short-circuit this test for compilers unknown to
   3118 # Autoconf.
   3119 for ac_file in $ac_files ''
   3120 do
   3121   test -f "$ac_file" || continue
   3122   case $ac_file in
   3123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3124 	;;
   3125     [ab].out )
   3126 	# We found the default executable, but exeext='' is most
   3127 	# certainly right.
   3128 	break;;
   3129     *.* )
   3130         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3131 	then :; else
   3132 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3133 	fi
   3134 	# We set ac_cv_exeext here because the later test for it is not
   3135 	# safe: cross compilers may not add the suffix if given an `-o'
   3136 	# argument, so we may need to know it at that point already.
   3137 	# Even if this section looks crufty: it has the advantage of
   3138 	# actually working.
   3139 	break;;
   3140     * )
   3141 	break;;
   3142   esac
   3143 done
   3144 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3145 
   3146 else
   3147   ac_file=''
   3148 fi
   3149 
   3150 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3151 $as_echo "$ac_file" >&6; }
   3152 if test -z "$ac_file"; then
   3153   $as_echo "$as_me: failed program was:" >&5
   3154 sed 's/^/| /' conftest.$ac_ext >&5
   3155 
   3156 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3158 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3159 See \`config.log' for more details." >&5
   3160 $as_echo "$as_me: error: C compiler cannot create executables
   3161 See \`config.log' for more details." >&2;}
   3162    { (exit 77); exit 77; }; }; }
   3163 fi
   3164 
   3165 ac_exeext=$ac_cv_exeext
   3166 
   3167 # Check that the compiler produces executables we can run.  If not, either
   3168 # the compiler is broken, or we cross compile.
   3169 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3170 $as_echo_n "checking whether the C compiler works... " >&6; }
   3171 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3172 # If not cross compiling, check that we can run a simple program.
   3173 if test "$cross_compiling" != yes; then
   3174   if { ac_try='./$ac_file'
   3175   { (case "(($ac_try" in
   3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3177   *) ac_try_echo=$ac_try;;
   3178 esac
   3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3180 $as_echo "$ac_try_echo") >&5
   3181   (eval "$ac_try") 2>&5
   3182   ac_status=$?
   3183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3184   (exit $ac_status); }; }; then
   3185     cross_compiling=no
   3186   else
   3187     if test "$cross_compiling" = maybe; then
   3188 	cross_compiling=yes
   3189     else
   3190 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3192 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3193 If you meant to cross compile, use \`--host'.
   3194 See \`config.log' for more details." >&5
   3195 $as_echo "$as_me: error: cannot run C compiled programs.
   3196 If you meant to cross compile, use \`--host'.
   3197 See \`config.log' for more details." >&2;}
   3198    { (exit 1); exit 1; }; }; }
   3199     fi
   3200   fi
   3201 fi
   3202 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3203 $as_echo "yes" >&6; }
   3204 
   3205 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3206 ac_clean_files=$ac_clean_files_save
   3207 # Check that the compiler produces executables we can run.  If not, either
   3208 # the compiler is broken, or we cross compile.
   3209 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3210 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3211 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3212 $as_echo "$cross_compiling" >&6; }
   3213 
   3214 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3215 $as_echo_n "checking for suffix of executables... " >&6; }
   3216 if { (ac_try="$ac_link"
   3217 case "(($ac_try" in
   3218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3219   *) ac_try_echo=$ac_try;;
   3220 esac
   3221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3222 $as_echo "$ac_try_echo") >&5
   3223   (eval "$ac_link") 2>&5
   3224   ac_status=$?
   3225   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226   (exit $ac_status); }; then
   3227   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3228 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3229 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3230 # `rm'.
   3231 for ac_file in conftest.exe conftest conftest.*; do
   3232   test -f "$ac_file" || continue
   3233   case $ac_file in
   3234     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3235     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3236 	  break;;
   3237     * ) break;;
   3238   esac
   3239 done
   3240 else
   3241   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3243 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3244 See \`config.log' for more details." >&5
   3245 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3246 See \`config.log' for more details." >&2;}
   3247    { (exit 1); exit 1; }; }; }
   3248 fi
   3249 
   3250 rm -f conftest$ac_cv_exeext
   3251 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3252 $as_echo "$ac_cv_exeext" >&6; }
   3253 
   3254 rm -f conftest.$ac_ext
   3255 EXEEXT=$ac_cv_exeext
   3256 ac_exeext=$EXEEXT
   3257 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3258 $as_echo_n "checking for suffix of object files... " >&6; }
   3259 if test "${ac_cv_objext+set}" = set; then
   3260   $as_echo_n "(cached) " >&6
   3261 else
   3262   cat >conftest.$ac_ext <<_ACEOF
   3263 /* confdefs.h.  */
   3264 _ACEOF
   3265 cat confdefs.h >>conftest.$ac_ext
   3266 cat >>conftest.$ac_ext <<_ACEOF
   3267 /* end confdefs.h.  */
   3268 
   3269 int
   3270 main ()
   3271 {
   3272 
   3273   ;
   3274   return 0;
   3275 }
   3276 _ACEOF
   3277 rm -f conftest.o conftest.obj
   3278 if { (ac_try="$ac_compile"
   3279 case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3284 $as_echo "$ac_try_echo") >&5
   3285   (eval "$ac_compile") 2>&5
   3286   ac_status=$?
   3287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3288   (exit $ac_status); }; then
   3289   for ac_file in conftest.o conftest.obj conftest.*; do
   3290   test -f "$ac_file" || continue;
   3291   case $ac_file in
   3292     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3293     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3294        break;;
   3295   esac
   3296 done
   3297 else
   3298   $as_echo "$as_me: failed program was:" >&5
   3299 sed 's/^/| /' conftest.$ac_ext >&5
   3300 
   3301 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3303 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3304 See \`config.log' for more details." >&5
   3305 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3306 See \`config.log' for more details." >&2;}
   3307    { (exit 1); exit 1; }; }; }
   3308 fi
   3309 
   3310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3311 fi
   3312 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3313 $as_echo "$ac_cv_objext" >&6; }
   3314 OBJEXT=$ac_cv_objext
   3315 ac_objext=$OBJEXT
   3316 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3317 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3319   $as_echo_n "(cached) " >&6
   3320 else
   3321   cat >conftest.$ac_ext <<_ACEOF
   3322 /* confdefs.h.  */
   3323 _ACEOF
   3324 cat confdefs.h >>conftest.$ac_ext
   3325 cat >>conftest.$ac_ext <<_ACEOF
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 #ifndef __GNUC__
   3332        choke me
   3333 #endif
   3334 
   3335   ;
   3336   return 0;
   3337 }
   3338 _ACEOF
   3339 rm -f conftest.$ac_objext
   3340 if { (ac_try="$ac_compile"
   3341 case "(($ac_try" in
   3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3343   *) ac_try_echo=$ac_try;;
   3344 esac
   3345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3346 $as_echo "$ac_try_echo") >&5
   3347   (eval "$ac_compile") 2>conftest.er1
   3348   ac_status=$?
   3349   grep -v '^ *+' conftest.er1 >conftest.err
   3350   rm -f conftest.er1
   3351   cat conftest.err >&5
   3352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3353   (exit $ac_status); } && {
   3354 	 test -z "$ac_c_werror_flag" ||
   3355 	 test ! -s conftest.err
   3356        } && test -s conftest.$ac_objext; then
   3357   ac_compiler_gnu=yes
   3358 else
   3359   $as_echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362 	ac_compiler_gnu=no
   3363 fi
   3364 
   3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3366 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3367 
   3368 fi
   3369 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3370 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3371 if test $ac_compiler_gnu = yes; then
   3372   GCC=yes
   3373 else
   3374   GCC=
   3375 fi
   3376 ac_test_CFLAGS=${CFLAGS+set}
   3377 ac_save_CFLAGS=$CFLAGS
   3378 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3379 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3380 if test "${ac_cv_prog_cc_g+set}" = set; then
   3381   $as_echo_n "(cached) " >&6
   3382 else
   3383   ac_save_c_werror_flag=$ac_c_werror_flag
   3384    ac_c_werror_flag=yes
   3385    ac_cv_prog_cc_g=no
   3386    CFLAGS="-g"
   3387    cat >conftest.$ac_ext <<_ACEOF
   3388 /* confdefs.h.  */
   3389 _ACEOF
   3390 cat confdefs.h >>conftest.$ac_ext
   3391 cat >>conftest.$ac_ext <<_ACEOF
   3392 /* end confdefs.h.  */
   3393 
   3394 int
   3395 main ()
   3396 {
   3397 
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 rm -f conftest.$ac_objext
   3403 if { (ac_try="$ac_compile"
   3404 case "(($ac_try" in
   3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3406   *) ac_try_echo=$ac_try;;
   3407 esac
   3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3409 $as_echo "$ac_try_echo") >&5
   3410   (eval "$ac_compile") 2>conftest.er1
   3411   ac_status=$?
   3412   grep -v '^ *+' conftest.er1 >conftest.err
   3413   rm -f conftest.er1
   3414   cat conftest.err >&5
   3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3416   (exit $ac_status); } && {
   3417 	 test -z "$ac_c_werror_flag" ||
   3418 	 test ! -s conftest.err
   3419        } && test -s conftest.$ac_objext; then
   3420   ac_cv_prog_cc_g=yes
   3421 else
   3422   $as_echo "$as_me: failed program was:" >&5
   3423 sed 's/^/| /' conftest.$ac_ext >&5
   3424 
   3425 	CFLAGS=""
   3426       cat >conftest.$ac_ext <<_ACEOF
   3427 /* confdefs.h.  */
   3428 _ACEOF
   3429 cat confdefs.h >>conftest.$ac_ext
   3430 cat >>conftest.$ac_ext <<_ACEOF
   3431 /* end confdefs.h.  */
   3432 
   3433 int
   3434 main ()
   3435 {
   3436 
   3437   ;
   3438   return 0;
   3439 }
   3440 _ACEOF
   3441 rm -f conftest.$ac_objext
   3442 if { (ac_try="$ac_compile"
   3443 case "(($ac_try" in
   3444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3445   *) ac_try_echo=$ac_try;;
   3446 esac
   3447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3448 $as_echo "$ac_try_echo") >&5
   3449   (eval "$ac_compile") 2>conftest.er1
   3450   ac_status=$?
   3451   grep -v '^ *+' conftest.er1 >conftest.err
   3452   rm -f conftest.er1
   3453   cat conftest.err >&5
   3454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3455   (exit $ac_status); } && {
   3456 	 test -z "$ac_c_werror_flag" ||
   3457 	 test ! -s conftest.err
   3458        } && test -s conftest.$ac_objext; then
   3459   :
   3460 else
   3461   $as_echo "$as_me: failed program was:" >&5
   3462 sed 's/^/| /' conftest.$ac_ext >&5
   3463 
   3464 	ac_c_werror_flag=$ac_save_c_werror_flag
   3465 	 CFLAGS="-g"
   3466 	 cat >conftest.$ac_ext <<_ACEOF
   3467 /* confdefs.h.  */
   3468 _ACEOF
   3469 cat confdefs.h >>conftest.$ac_ext
   3470 cat >>conftest.$ac_ext <<_ACEOF
   3471 /* end confdefs.h.  */
   3472 
   3473 int
   3474 main ()
   3475 {
   3476 
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 rm -f conftest.$ac_objext
   3482 if { (ac_try="$ac_compile"
   3483 case "(($ac_try" in
   3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3485   *) ac_try_echo=$ac_try;;
   3486 esac
   3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3488 $as_echo "$ac_try_echo") >&5
   3489   (eval "$ac_compile") 2>conftest.er1
   3490   ac_status=$?
   3491   grep -v '^ *+' conftest.er1 >conftest.err
   3492   rm -f conftest.er1
   3493   cat conftest.err >&5
   3494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3495   (exit $ac_status); } && {
   3496 	 test -z "$ac_c_werror_flag" ||
   3497 	 test ! -s conftest.err
   3498        } && test -s conftest.$ac_objext; then
   3499   ac_cv_prog_cc_g=yes
   3500 else
   3501   $as_echo "$as_me: failed program was:" >&5
   3502 sed 's/^/| /' conftest.$ac_ext >&5
   3503 
   3504 
   3505 fi
   3506 
   3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3508 fi
   3509 
   3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3511 fi
   3512 
   3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3514    ac_c_werror_flag=$ac_save_c_werror_flag
   3515 fi
   3516 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3518 if test "$ac_test_CFLAGS" = set; then
   3519   CFLAGS=$ac_save_CFLAGS
   3520 elif test $ac_cv_prog_cc_g = yes; then
   3521   if test "$GCC" = yes; then
   3522     CFLAGS="-g -O2"
   3523   else
   3524     CFLAGS="-g"
   3525   fi
   3526 else
   3527   if test "$GCC" = yes; then
   3528     CFLAGS="-O2"
   3529   else
   3530     CFLAGS=
   3531   fi
   3532 fi
   3533 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3535 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   ac_cv_prog_cc_c89=no
   3539 ac_save_CC=$CC
   3540 cat >conftest.$ac_ext <<_ACEOF
   3541 /* confdefs.h.  */
   3542 _ACEOF
   3543 cat confdefs.h >>conftest.$ac_ext
   3544 cat >>conftest.$ac_ext <<_ACEOF
   3545 /* end confdefs.h.  */
   3546 #include <stdarg.h>
   3547 #include <stdio.h>
   3548 #include <sys/types.h>
   3549 #include <sys/stat.h>
   3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3551 struct buf { int x; };
   3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3553 static char *e (p, i)
   3554      char **p;
   3555      int i;
   3556 {
   3557   return p[i];
   3558 }
   3559 static char *f (char * (*g) (char **, int), char **p, ...)
   3560 {
   3561   char *s;
   3562   va_list v;
   3563   va_start (v,p);
   3564   s = g (p, va_arg (v,int));
   3565   va_end (v);
   3566   return s;
   3567 }
   3568 
   3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3570    function prototypes and stuff, but not '\xHH' hex character constants.
   3571    These don't provoke an error unfortunately, instead are silently treated
   3572    as 'x'.  The following induces an error, until -std is added to get
   3573    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3574    array size at least.  It's necessary to write '\x00'==0 to get something
   3575    that's true only with -std.  */
   3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3577 
   3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3579    inside strings and character constants.  */
   3580 #define FOO(x) 'x'
   3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3582 
   3583 int test (int i, double x);
   3584 struct s1 {int (*f) (int a);};
   3585 struct s2 {int (*f) (double a);};
   3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3587 int argc;
   3588 char **argv;
   3589 int
   3590 main ()
   3591 {
   3592 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3593   ;
   3594   return 0;
   3595 }
   3596 _ACEOF
   3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3598 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3599 do
   3600   CC="$ac_save_CC $ac_arg"
   3601   rm -f conftest.$ac_objext
   3602 if { (ac_try="$ac_compile"
   3603 case "(($ac_try" in
   3604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3605   *) ac_try_echo=$ac_try;;
   3606 esac
   3607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3608 $as_echo "$ac_try_echo") >&5
   3609   (eval "$ac_compile") 2>conftest.er1
   3610   ac_status=$?
   3611   grep -v '^ *+' conftest.er1 >conftest.err
   3612   rm -f conftest.er1
   3613   cat conftest.err >&5
   3614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3615   (exit $ac_status); } && {
   3616 	 test -z "$ac_c_werror_flag" ||
   3617 	 test ! -s conftest.err
   3618        } && test -s conftest.$ac_objext; then
   3619   ac_cv_prog_cc_c89=$ac_arg
   3620 else
   3621   $as_echo "$as_me: failed program was:" >&5
   3622 sed 's/^/| /' conftest.$ac_ext >&5
   3623 
   3624 
   3625 fi
   3626 
   3627 rm -f core conftest.err conftest.$ac_objext
   3628   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3629 done
   3630 rm -f conftest.$ac_ext
   3631 CC=$ac_save_CC
   3632 
   3633 fi
   3634 # AC_CACHE_VAL
   3635 case "x$ac_cv_prog_cc_c89" in
   3636   x)
   3637     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3638 $as_echo "none needed" >&6; } ;;
   3639   xno)
   3640     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3641 $as_echo "unsupported" >&6; } ;;
   3642   *)
   3643     CC="$CC $ac_cv_prog_cc_c89"
   3644     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3645 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3646 esac
   3647 
   3648 
   3649 ac_ext=c
   3650 ac_cpp='$CPP $CPPFLAGS'
   3651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3654 
   3655 depcc="$CC"   am_compiler_list=
   3656 
   3657 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3658 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3659 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3660   $as_echo_n "(cached) " >&6
   3661 else
   3662   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3663   # We make a subdir and do the tests there.  Otherwise we can end up
   3664   # making bogus files that we don't know about and never remove.  For
   3665   # instance it was reported that on HP-UX the gcc test will end up
   3666   # making a dummy file named `D' -- because `-MD' means `put the output
   3667   # in D'.
   3668   mkdir conftest.dir
   3669   # Copy depcomp to subdir because otherwise we won't find it if we're
   3670   # using a relative directory.
   3671   cp "$am_depcomp" conftest.dir
   3672   cd conftest.dir
   3673   # We will build objects and dependencies in a subdirectory because
   3674   # it helps to detect inapplicable dependency modes.  For instance
   3675   # both Tru64's cc and ICC support -MD to output dependencies as a
   3676   # side effect of compilation, but ICC will put the dependencies in
   3677   # the current directory while Tru64 will put them in the object
   3678   # directory.
   3679   mkdir sub
   3680 
   3681   am_cv_CC_dependencies_compiler_type=none
   3682   if test "$am_compiler_list" = ""; then
   3683      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3684   fi
   3685   am__universal=false
   3686   case " $depcc " in #(
   3687      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3688      esac
   3689 
   3690   for depmode in $am_compiler_list; do
   3691     # Setup a source with many dependencies, because some compilers
   3692     # like to wrap large dependency lists on column 80 (with \), and
   3693     # we should not choose a depcomp mode which is confused by this.
   3694     #
   3695     # We need to recreate these files for each test, as the compiler may
   3696     # overwrite some of them when testing with obscure command lines.
   3697     # This happens at least with the AIX C compiler.
   3698     : > sub/conftest.c
   3699     for i in 1 2 3 4 5 6; do
   3700       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3701       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3702       # Solaris 8's {/usr,}/bin/sh.
   3703       touch sub/conftst$i.h
   3704     done
   3705     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3706 
   3707     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3708     # mode.  It turns out that the SunPro C++ compiler does not properly
   3709     # handle `-M -o', and we need to detect this.  Also, some Intel
   3710     # versions had trouble with output in subdirs
   3711     am__obj=sub/conftest.${OBJEXT-o}
   3712     am__minus_obj="-o $am__obj"
   3713     case $depmode in
   3714     gcc)
   3715       # This depmode causes a compiler race in universal mode.
   3716       test "$am__universal" = false || continue
   3717       ;;
   3718     nosideeffect)
   3719       # after this tag, mechanisms are not by side-effect, so they'll
   3720       # only be used when explicitly requested
   3721       if test "x$enable_dependency_tracking" = xyes; then
   3722 	continue
   3723       else
   3724 	break
   3725       fi
   3726       ;;
   3727     msvisualcpp | msvcmsys)
   3728       # This compiler won't grok `-c -o', but also, the minuso test has
   3729       # not run yet.  These depmodes are late enough in the game, and
   3730       # so weak that their functioning should not be impacted.
   3731       am__obj=conftest.${OBJEXT-o}
   3732       am__minus_obj=
   3733       ;;
   3734     none) break ;;
   3735     esac
   3736     if depmode=$depmode \
   3737        source=sub/conftest.c object=$am__obj \
   3738        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3739        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3740          >/dev/null 2>conftest.err &&
   3741        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3742        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3743        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3744        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3745       # icc doesn't choke on unknown options, it will just issue warnings
   3746       # or remarks (even with -Werror).  So we grep stderr for any message
   3747       # that says an option was ignored or not supported.
   3748       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3749       #   icc: Command line warning: ignoring option '-M'; no argument required
   3750       # The diagnosis changed in icc 8.0:
   3751       #   icc: Command line remark: option '-MP' not supported
   3752       if (grep 'ignoring option' conftest.err ||
   3753           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3754         am_cv_CC_dependencies_compiler_type=$depmode
   3755         break
   3756       fi
   3757     fi
   3758   done
   3759 
   3760   cd ..
   3761   rm -rf conftest.dir
   3762 else
   3763   am_cv_CC_dependencies_compiler_type=none
   3764 fi
   3765 
   3766 fi
   3767 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3768 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3769 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3770 
   3771  if
   3772   test "x$enable_dependency_tracking" != xno \
   3773   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3774   am__fastdepCC_TRUE=
   3775   am__fastdepCC_FALSE='#'
   3776 else
   3777   am__fastdepCC_TRUE='#'
   3778   am__fastdepCC_FALSE=
   3779 fi
   3780 
   3781 
   3782    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   3783 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3784 if test "${ac_cv_prog_cc_c99+set}" = set; then
   3785   $as_echo_n "(cached) " >&6
   3786 else
   3787   ac_cv_prog_cc_c99=no
   3788 ac_save_CC=$CC
   3789 cat >conftest.$ac_ext <<_ACEOF
   3790 /* confdefs.h.  */
   3791 _ACEOF
   3792 cat confdefs.h >>conftest.$ac_ext
   3793 cat >>conftest.$ac_ext <<_ACEOF
   3794 /* end confdefs.h.  */
   3795 #include <stdarg.h>
   3796 #include <stdbool.h>
   3797 #include <stdlib.h>
   3798 #include <wchar.h>
   3799 #include <stdio.h>
   3800 
   3801 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3802 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3803 #define showlist(...) puts (#__VA_ARGS__)
   3804 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3805 static void
   3806 test_varargs_macros (void)
   3807 {
   3808   int x = 1234;
   3809   int y = 5678;
   3810   debug ("Flag");
   3811   debug ("X = %d\n", x);
   3812   showlist (The first, second, and third items.);
   3813   report (x>y, "x is %d but y is %d", x, y);
   3814 }
   3815 
   3816 // Check long long types.
   3817 #define BIG64 18446744073709551615ull
   3818 #define BIG32 4294967295ul
   3819 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3820 #if !BIG_OK
   3821   your preprocessor is broken;
   3822 #endif
   3823 #if BIG_OK
   3824 #else
   3825   your preprocessor is broken;
   3826 #endif
   3827 static long long int bignum = -9223372036854775807LL;
   3828 static unsigned long long int ubignum = BIG64;
   3829 
   3830 struct incomplete_array
   3831 {
   3832   int datasize;
   3833   double data[];
   3834 };
   3835 
   3836 struct named_init {
   3837   int number;
   3838   const wchar_t *name;
   3839   double average;
   3840 };
   3841 
   3842 typedef const char *ccp;
   3843 
   3844 static inline int
   3845 test_restrict (ccp restrict text)
   3846 {
   3847   // See if C++-style comments work.
   3848   // Iterate through items via the restricted pointer.
   3849   // Also check for declarations in for loops.
   3850   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3851     continue;
   3852   return 0;
   3853 }
   3854 
   3855 // Check varargs and va_copy.
   3856 static void
   3857 test_varargs (const char *format, ...)
   3858 {
   3859   va_list args;
   3860   va_start (args, format);
   3861   va_list args_copy;
   3862   va_copy (args_copy, args);
   3863 
   3864   const char *str;
   3865   int number;
   3866   float fnumber;
   3867 
   3868   while (*format)
   3869     {
   3870       switch (*format++)
   3871 	{
   3872 	case 's': // string
   3873 	  str = va_arg (args_copy, const char *);
   3874 	  break;
   3875 	case 'd': // int
   3876 	  number = va_arg (args_copy, int);
   3877 	  break;
   3878 	case 'f': // float
   3879 	  fnumber = va_arg (args_copy, double);
   3880 	  break;
   3881 	default:
   3882 	  break;
   3883 	}
   3884     }
   3885   va_end (args_copy);
   3886   va_end (args);
   3887 }
   3888 
   3889 int
   3890 main ()
   3891 {
   3892 
   3893   // Check bool.
   3894   _Bool success = false;
   3895 
   3896   // Check restrict.
   3897   if (test_restrict ("String literal") == 0)
   3898     success = true;
   3899   char *restrict newvar = "Another string";
   3900 
   3901   // Check varargs.
   3902   test_varargs ("s, d' f .", "string", 65, 34.234);
   3903   test_varargs_macros ();
   3904 
   3905   // Check flexible array members.
   3906   struct incomplete_array *ia =
   3907     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3908   ia->datasize = 10;
   3909   for (int i = 0; i < ia->datasize; ++i)
   3910     ia->data[i] = i * 1.234;
   3911 
   3912   // Check named initializers.
   3913   struct named_init ni = {
   3914     .number = 34,
   3915     .name = L"Test wide string",
   3916     .average = 543.34343,
   3917   };
   3918 
   3919   ni.number = 58;
   3920 
   3921   int dynamic_array[ni.number];
   3922   dynamic_array[ni.number - 1] = 543;
   3923 
   3924   // work around unused variable warnings
   3925   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3926 	  || dynamic_array[ni.number - 1] != 543);
   3927 
   3928   ;
   3929   return 0;
   3930 }
   3931 _ACEOF
   3932 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3933 do
   3934   CC="$ac_save_CC $ac_arg"
   3935   rm -f conftest.$ac_objext
   3936 if { (ac_try="$ac_compile"
   3937 case "(($ac_try" in
   3938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3939   *) ac_try_echo=$ac_try;;
   3940 esac
   3941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3942 $as_echo "$ac_try_echo") >&5
   3943   (eval "$ac_compile") 2>conftest.er1
   3944   ac_status=$?
   3945   grep -v '^ *+' conftest.er1 >conftest.err
   3946   rm -f conftest.er1
   3947   cat conftest.err >&5
   3948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3949   (exit $ac_status); } && {
   3950 	 test -z "$ac_c_werror_flag" ||
   3951 	 test ! -s conftest.err
   3952        } && test -s conftest.$ac_objext; then
   3953   ac_cv_prog_cc_c99=$ac_arg
   3954 else
   3955   $as_echo "$as_me: failed program was:" >&5
   3956 sed 's/^/| /' conftest.$ac_ext >&5
   3957 
   3958 
   3959 fi
   3960 
   3961 rm -f core conftest.err conftest.$ac_objext
   3962   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3963 done
   3964 rm -f conftest.$ac_ext
   3965 CC=$ac_save_CC
   3966 
   3967 fi
   3968 # AC_CACHE_VAL
   3969 case "x$ac_cv_prog_cc_c99" in
   3970   x)
   3971     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3972 $as_echo "none needed" >&6; } ;;
   3973   xno)
   3974     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3975 $as_echo "unsupported" >&6; } ;;
   3976   *)
   3977     CC="$CC $ac_cv_prog_cc_c99"
   3978     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   3979 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3980 esac
   3981 
   3982 
   3983 
   3984 
   3985 ac_ext=c
   3986 ac_cpp='$CPP $CPPFLAGS'
   3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3990 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3992 # On Suns, sometimes $CPP names a directory.
   3993 if test -n "$CPP" && test -d "$CPP"; then
   3994   CPP=
   3995 fi
   3996 if test -z "$CPP"; then
   3997   if test "${ac_cv_prog_CPP+set}" = set; then
   3998   $as_echo_n "(cached) " >&6
   3999 else
   4000       # Double quotes because CPP needs to be expanded
   4001     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4002     do
   4003       ac_preproc_ok=false
   4004 for ac_c_preproc_warn_flag in '' yes
   4005 do
   4006   # Use a header file that comes with gcc, so configuring glibc
   4007   # with a fresh cross-compiler works.
   4008   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4009   # <limits.h> exists even on freestanding compilers.
   4010   # On the NeXT, cc -E runs the code through the compiler's parser,
   4011   # not just through cpp. "Syntax error" is here to catch this case.
   4012   cat >conftest.$ac_ext <<_ACEOF
   4013 /* confdefs.h.  */
   4014 _ACEOF
   4015 cat confdefs.h >>conftest.$ac_ext
   4016 cat >>conftest.$ac_ext <<_ACEOF
   4017 /* end confdefs.h.  */
   4018 #ifdef __STDC__
   4019 # include <limits.h>
   4020 #else
   4021 # include <assert.h>
   4022 #endif
   4023 		     Syntax error
   4024 _ACEOF
   4025 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4026 case "(($ac_try" in
   4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4028   *) ac_try_echo=$ac_try;;
   4029 esac
   4030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4031 $as_echo "$ac_try_echo") >&5
   4032   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4033   ac_status=$?
   4034   grep -v '^ *+' conftest.er1 >conftest.err
   4035   rm -f conftest.er1
   4036   cat conftest.err >&5
   4037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4038   (exit $ac_status); } >/dev/null && {
   4039 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4040 	 test ! -s conftest.err
   4041        }; then
   4042   :
   4043 else
   4044   $as_echo "$as_me: failed program was:" >&5
   4045 sed 's/^/| /' conftest.$ac_ext >&5
   4046 
   4047   # Broken: fails on valid input.
   4048 continue
   4049 fi
   4050 
   4051 rm -f conftest.err conftest.$ac_ext
   4052 
   4053   # OK, works on sane cases.  Now check whether nonexistent headers
   4054   # can be detected and how.
   4055   cat >conftest.$ac_ext <<_ACEOF
   4056 /* confdefs.h.  */
   4057 _ACEOF
   4058 cat confdefs.h >>conftest.$ac_ext
   4059 cat >>conftest.$ac_ext <<_ACEOF
   4060 /* end confdefs.h.  */
   4061 #include <ac_nonexistent.h>
   4062 _ACEOF
   4063 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4064 case "(($ac_try" in
   4065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4066   *) ac_try_echo=$ac_try;;
   4067 esac
   4068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4069 $as_echo "$ac_try_echo") >&5
   4070   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4071   ac_status=$?
   4072   grep -v '^ *+' conftest.er1 >conftest.err
   4073   rm -f conftest.er1
   4074   cat conftest.err >&5
   4075   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4076   (exit $ac_status); } >/dev/null && {
   4077 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4078 	 test ! -s conftest.err
   4079        }; then
   4080   # Broken: success on invalid input.
   4081 continue
   4082 else
   4083   $as_echo "$as_me: failed program was:" >&5
   4084 sed 's/^/| /' conftest.$ac_ext >&5
   4085 
   4086   # Passes both tests.
   4087 ac_preproc_ok=:
   4088 break
   4089 fi
   4090 
   4091 rm -f conftest.err conftest.$ac_ext
   4092 
   4093 done
   4094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4095 rm -f conftest.err conftest.$ac_ext
   4096 if $ac_preproc_ok; then
   4097   break
   4098 fi
   4099 
   4100     done
   4101     ac_cv_prog_CPP=$CPP
   4102 
   4103 fi
   4104   CPP=$ac_cv_prog_CPP
   4105 else
   4106   ac_cv_prog_CPP=$CPP
   4107 fi
   4108 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4109 $as_echo "$CPP" >&6; }
   4110 ac_preproc_ok=false
   4111 for ac_c_preproc_warn_flag in '' yes
   4112 do
   4113   # Use a header file that comes with gcc, so configuring glibc
   4114   # with a fresh cross-compiler works.
   4115   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4116   # <limits.h> exists even on freestanding compilers.
   4117   # On the NeXT, cc -E runs the code through the compiler's parser,
   4118   # not just through cpp. "Syntax error" is here to catch this case.
   4119   cat >conftest.$ac_ext <<_ACEOF
   4120 /* confdefs.h.  */
   4121 _ACEOF
   4122 cat confdefs.h >>conftest.$ac_ext
   4123 cat >>conftest.$ac_ext <<_ACEOF
   4124 /* end confdefs.h.  */
   4125 #ifdef __STDC__
   4126 # include <limits.h>
   4127 #else
   4128 # include <assert.h>
   4129 #endif
   4130 		     Syntax error
   4131 _ACEOF
   4132 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4133 case "(($ac_try" in
   4134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4135   *) ac_try_echo=$ac_try;;
   4136 esac
   4137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4138 $as_echo "$ac_try_echo") >&5
   4139   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4140   ac_status=$?
   4141   grep -v '^ *+' conftest.er1 >conftest.err
   4142   rm -f conftest.er1
   4143   cat conftest.err >&5
   4144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4145   (exit $ac_status); } >/dev/null && {
   4146 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4147 	 test ! -s conftest.err
   4148        }; then
   4149   :
   4150 else
   4151   $as_echo "$as_me: failed program was:" >&5
   4152 sed 's/^/| /' conftest.$ac_ext >&5
   4153 
   4154   # Broken: fails on valid input.
   4155 continue
   4156 fi
   4157 
   4158 rm -f conftest.err conftest.$ac_ext
   4159 
   4160   # OK, works on sane cases.  Now check whether nonexistent headers
   4161   # can be detected and how.
   4162   cat >conftest.$ac_ext <<_ACEOF
   4163 /* confdefs.h.  */
   4164 _ACEOF
   4165 cat confdefs.h >>conftest.$ac_ext
   4166 cat >>conftest.$ac_ext <<_ACEOF
   4167 /* end confdefs.h.  */
   4168 #include <ac_nonexistent.h>
   4169 _ACEOF
   4170 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4171 case "(($ac_try" in
   4172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4173   *) ac_try_echo=$ac_try;;
   4174 esac
   4175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4176 $as_echo "$ac_try_echo") >&5
   4177   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4178   ac_status=$?
   4179   grep -v '^ *+' conftest.er1 >conftest.err
   4180   rm -f conftest.er1
   4181   cat conftest.err >&5
   4182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4183   (exit $ac_status); } >/dev/null && {
   4184 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4185 	 test ! -s conftest.err
   4186        }; then
   4187   # Broken: success on invalid input.
   4188 continue
   4189 else
   4190   $as_echo "$as_me: failed program was:" >&5
   4191 sed 's/^/| /' conftest.$ac_ext >&5
   4192 
   4193   # Passes both tests.
   4194 ac_preproc_ok=:
   4195 break
   4196 fi
   4197 
   4198 rm -f conftest.err conftest.$ac_ext
   4199 
   4200 done
   4201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4202 rm -f conftest.err conftest.$ac_ext
   4203 if $ac_preproc_ok; then
   4204   :
   4205 else
   4206   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4208 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4209 See \`config.log' for more details." >&5
   4210 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4211 See \`config.log' for more details." >&2;}
   4212    { (exit 1); exit 1; }; }; }
   4213 fi
   4214 
   4215 ac_ext=c
   4216 ac_cpp='$CPP $CPPFLAGS'
   4217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4220 
   4221 
   4222 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4224 if test "${ac_cv_path_GREP+set}" = set; then
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227   if test -z "$GREP"; then
   4228   ac_path_GREP_found=false
   4229   # Loop through the user's path and test for each of PROGNAME-LIST
   4230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4232 do
   4233   IFS=$as_save_IFS
   4234   test -z "$as_dir" && as_dir=.
   4235   for ac_prog in grep ggrep; do
   4236     for ac_exec_ext in '' $ac_executable_extensions; do
   4237       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4238       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4239 # Check for GNU ac_path_GREP and select it if it is found.
   4240   # Check for GNU $ac_path_GREP
   4241 case `"$ac_path_GREP" --version 2>&1` in
   4242 *GNU*)
   4243   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4244 *)
   4245   ac_count=0
   4246   $as_echo_n 0123456789 >"conftest.in"
   4247   while :
   4248   do
   4249     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4250     mv "conftest.tmp" "conftest.in"
   4251     cp "conftest.in" "conftest.nl"
   4252     $as_echo 'GREP' >> "conftest.nl"
   4253     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4254     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4255     ac_count=`expr $ac_count + 1`
   4256     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4257       # Best one so far, save it but keep looking for a better one
   4258       ac_cv_path_GREP="$ac_path_GREP"
   4259       ac_path_GREP_max=$ac_count
   4260     fi
   4261     # 10*(2^10) chars as input seems more than enough
   4262     test $ac_count -gt 10 && break
   4263   done
   4264   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4265 esac
   4266 
   4267       $ac_path_GREP_found && break 3
   4268     done
   4269   done
   4270 done
   4271 IFS=$as_save_IFS
   4272   if test -z "$ac_cv_path_GREP"; then
   4273     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4274 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4275    { (exit 1); exit 1; }; }
   4276   fi
   4277 else
   4278   ac_cv_path_GREP=$GREP
   4279 fi
   4280 
   4281 fi
   4282 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4283 $as_echo "$ac_cv_path_GREP" >&6; }
   4284  GREP="$ac_cv_path_GREP"
   4285 
   4286 
   4287 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4288 $as_echo_n "checking for egrep... " >&6; }
   4289 if test "${ac_cv_path_EGREP+set}" = set; then
   4290   $as_echo_n "(cached) " >&6
   4291 else
   4292   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4293    then ac_cv_path_EGREP="$GREP -E"
   4294    else
   4295      if test -z "$EGREP"; then
   4296   ac_path_EGREP_found=false
   4297   # Loop through the user's path and test for each of PROGNAME-LIST
   4298   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4300 do
   4301   IFS=$as_save_IFS
   4302   test -z "$as_dir" && as_dir=.
   4303   for ac_prog in egrep; do
   4304     for ac_exec_ext in '' $ac_executable_extensions; do
   4305       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4306       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4307 # Check for GNU ac_path_EGREP and select it if it is found.
   4308   # Check for GNU $ac_path_EGREP
   4309 case `"$ac_path_EGREP" --version 2>&1` in
   4310 *GNU*)
   4311   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4312 *)
   4313   ac_count=0
   4314   $as_echo_n 0123456789 >"conftest.in"
   4315   while :
   4316   do
   4317     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4318     mv "conftest.tmp" "conftest.in"
   4319     cp "conftest.in" "conftest.nl"
   4320     $as_echo 'EGREP' >> "conftest.nl"
   4321     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4322     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4323     ac_count=`expr $ac_count + 1`
   4324     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4325       # Best one so far, save it but keep looking for a better one
   4326       ac_cv_path_EGREP="$ac_path_EGREP"
   4327       ac_path_EGREP_max=$ac_count
   4328     fi
   4329     # 10*(2^10) chars as input seems more than enough
   4330     test $ac_count -gt 10 && break
   4331   done
   4332   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4333 esac
   4334 
   4335       $ac_path_EGREP_found && break 3
   4336     done
   4337   done
   4338 done
   4339 IFS=$as_save_IFS
   4340   if test -z "$ac_cv_path_EGREP"; then
   4341     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4342 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4343    { (exit 1); exit 1; }; }
   4344   fi
   4345 else
   4346   ac_cv_path_EGREP=$EGREP
   4347 fi
   4348 
   4349    fi
   4350 fi
   4351 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4352 $as_echo "$ac_cv_path_EGREP" >&6; }
   4353  EGREP="$ac_cv_path_EGREP"
   4354 
   4355 
   4356 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4357 $as_echo_n "checking for ANSI C header files... " >&6; }
   4358 if test "${ac_cv_header_stdc+set}" = set; then
   4359   $as_echo_n "(cached) " >&6
   4360 else
   4361   cat >conftest.$ac_ext <<_ACEOF
   4362 /* confdefs.h.  */
   4363 _ACEOF
   4364 cat confdefs.h >>conftest.$ac_ext
   4365 cat >>conftest.$ac_ext <<_ACEOF
   4366 /* end confdefs.h.  */
   4367 #include <stdlib.h>
   4368 #include <stdarg.h>
   4369 #include <string.h>
   4370 #include <float.h>
   4371 
   4372 int
   4373 main ()
   4374 {
   4375 
   4376   ;
   4377   return 0;
   4378 }
   4379 _ACEOF
   4380 rm -f conftest.$ac_objext
   4381 if { (ac_try="$ac_compile"
   4382 case "(($ac_try" in
   4383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4384   *) ac_try_echo=$ac_try;;
   4385 esac
   4386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4387 $as_echo "$ac_try_echo") >&5
   4388   (eval "$ac_compile") 2>conftest.er1
   4389   ac_status=$?
   4390   grep -v '^ *+' conftest.er1 >conftest.err
   4391   rm -f conftest.er1
   4392   cat conftest.err >&5
   4393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4394   (exit $ac_status); } && {
   4395 	 test -z "$ac_c_werror_flag" ||
   4396 	 test ! -s conftest.err
   4397        } && test -s conftest.$ac_objext; then
   4398   ac_cv_header_stdc=yes
   4399 else
   4400   $as_echo "$as_me: failed program was:" >&5
   4401 sed 's/^/| /' conftest.$ac_ext >&5
   4402 
   4403 	ac_cv_header_stdc=no
   4404 fi
   4405 
   4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4407 
   4408 if test $ac_cv_header_stdc = yes; then
   4409   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4410   cat >conftest.$ac_ext <<_ACEOF
   4411 /* confdefs.h.  */
   4412 _ACEOF
   4413 cat confdefs.h >>conftest.$ac_ext
   4414 cat >>conftest.$ac_ext <<_ACEOF
   4415 /* end confdefs.h.  */
   4416 #include <string.h>
   4417 
   4418 _ACEOF
   4419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4420   $EGREP "memchr" >/dev/null 2>&1; then
   4421   :
   4422 else
   4423   ac_cv_header_stdc=no
   4424 fi
   4425 rm -f conftest*
   4426 
   4427 fi
   4428 
   4429 if test $ac_cv_header_stdc = yes; then
   4430   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4431   cat >conftest.$ac_ext <<_ACEOF
   4432 /* confdefs.h.  */
   4433 _ACEOF
   4434 cat confdefs.h >>conftest.$ac_ext
   4435 cat >>conftest.$ac_ext <<_ACEOF
   4436 /* end confdefs.h.  */
   4437 #include <stdlib.h>
   4438 
   4439 _ACEOF
   4440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4441   $EGREP "free" >/dev/null 2>&1; then
   4442   :
   4443 else
   4444   ac_cv_header_stdc=no
   4445 fi
   4446 rm -f conftest*
   4447 
   4448 fi
   4449 
   4450 if test $ac_cv_header_stdc = yes; then
   4451   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4452   if test "$cross_compiling" = yes; then
   4453   :
   4454 else
   4455   cat >conftest.$ac_ext <<_ACEOF
   4456 /* confdefs.h.  */
   4457 _ACEOF
   4458 cat confdefs.h >>conftest.$ac_ext
   4459 cat >>conftest.$ac_ext <<_ACEOF
   4460 /* end confdefs.h.  */
   4461 #include <ctype.h>
   4462 #include <stdlib.h>
   4463 #if ((' ' & 0x0FF) == 0x020)
   4464 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4465 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4466 #else
   4467 # define ISLOWER(c) \
   4468 		   (('a' <= (c) && (c) <= 'i') \
   4469 		     || ('j' <= (c) && (c) <= 'r') \
   4470 		     || ('s' <= (c) && (c) <= 'z'))
   4471 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4472 #endif
   4473 
   4474 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4475 int
   4476 main ()
   4477 {
   4478   int i;
   4479   for (i = 0; i < 256; i++)
   4480     if (XOR (islower (i), ISLOWER (i))
   4481 	|| toupper (i) != TOUPPER (i))
   4482       return 2;
   4483   return 0;
   4484 }
   4485 _ACEOF
   4486 rm -f conftest$ac_exeext
   4487 if { (ac_try="$ac_link"
   4488 case "(($ac_try" in
   4489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4490   *) ac_try_echo=$ac_try;;
   4491 esac
   4492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4493 $as_echo "$ac_try_echo") >&5
   4494   (eval "$ac_link") 2>&5
   4495   ac_status=$?
   4496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4497   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4498   { (case "(($ac_try" in
   4499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4500   *) ac_try_echo=$ac_try;;
   4501 esac
   4502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4503 $as_echo "$ac_try_echo") >&5
   4504   (eval "$ac_try") 2>&5
   4505   ac_status=$?
   4506   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4507   (exit $ac_status); }; }; then
   4508   :
   4509 else
   4510   $as_echo "$as_me: program exited with status $ac_status" >&5
   4511 $as_echo "$as_me: failed program was:" >&5
   4512 sed 's/^/| /' conftest.$ac_ext >&5
   4513 
   4514 ( exit $ac_status )
   4515 ac_cv_header_stdc=no
   4516 fi
   4517 rm -rf conftest.dSYM
   4518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4519 fi
   4520 
   4521 
   4522 fi
   4523 fi
   4524 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4525 $as_echo "$ac_cv_header_stdc" >&6; }
   4526 if test $ac_cv_header_stdc = yes; then
   4527 
   4528 cat >>confdefs.h <<\_ACEOF
   4529 #define STDC_HEADERS 1
   4530 _ACEOF
   4531 
   4532 fi
   4533 
   4534 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4535 
   4536 
   4537 
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4545 		  inttypes.h stdint.h unistd.h
   4546 do
   4547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4548 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4549 $as_echo_n "checking for $ac_header... " >&6; }
   4550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4551   $as_echo_n "(cached) " >&6
   4552 else
   4553   cat >conftest.$ac_ext <<_ACEOF
   4554 /* confdefs.h.  */
   4555 _ACEOF
   4556 cat confdefs.h >>conftest.$ac_ext
   4557 cat >>conftest.$ac_ext <<_ACEOF
   4558 /* end confdefs.h.  */
   4559 $ac_includes_default
   4560 
   4561 #include <$ac_header>
   4562 _ACEOF
   4563 rm -f conftest.$ac_objext
   4564 if { (ac_try="$ac_compile"
   4565 case "(($ac_try" in
   4566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4567   *) ac_try_echo=$ac_try;;
   4568 esac
   4569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4570 $as_echo "$ac_try_echo") >&5
   4571   (eval "$ac_compile") 2>conftest.er1
   4572   ac_status=$?
   4573   grep -v '^ *+' conftest.er1 >conftest.err
   4574   rm -f conftest.er1
   4575   cat conftest.err >&5
   4576   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4577   (exit $ac_status); } && {
   4578 	 test -z "$ac_c_werror_flag" ||
   4579 	 test ! -s conftest.err
   4580        } && test -s conftest.$ac_objext; then
   4581   eval "$as_ac_Header=yes"
   4582 else
   4583   $as_echo "$as_me: failed program was:" >&5
   4584 sed 's/^/| /' conftest.$ac_ext >&5
   4585 
   4586 	eval "$as_ac_Header=no"
   4587 fi
   4588 
   4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4590 fi
   4591 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4592 		 $as_echo "$as_val"'`
   4593 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4594 $as_echo "$ac_res" >&6; }
   4595 as_val=`eval 'as_val=${'$as_ac_Header'}
   4596 		 $as_echo "$as_val"'`
   4597    if test "x$as_val" = x""yes; then
   4598   cat >>confdefs.h <<_ACEOF
   4599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4600 _ACEOF
   4601 
   4602 fi
   4603 
   4604 done
   4605 
   4606 
   4607 
   4608 
   4609 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4610 	if test -n "$ac_tool_prefix"; then
   4611   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4612 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4614 $as_echo_n "checking for $ac_word... " >&6; }
   4615 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4616   $as_echo_n "(cached) " >&6
   4617 else
   4618   case $PKG_CONFIG in
   4619   [\\/]* | ?:[\\/]*)
   4620   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4621   ;;
   4622   *)
   4623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4624 for as_dir in $PATH
   4625 do
   4626   IFS=$as_save_IFS
   4627   test -z "$as_dir" && as_dir=.
   4628   for ac_exec_ext in '' $ac_executable_extensions; do
   4629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4630     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4631     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4632     break 2
   4633   fi
   4634 done
   4635 done
   4636 IFS=$as_save_IFS
   4637 
   4638   ;;
   4639 esac
   4640 fi
   4641 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4642 if test -n "$PKG_CONFIG"; then
   4643   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   4644 $as_echo "$PKG_CONFIG" >&6; }
   4645 else
   4646   { $as_echo "$as_me:$LINENO: result: no" >&5
   4647 $as_echo "no" >&6; }
   4648 fi
   4649 
   4650 
   4651 fi
   4652 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4653   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4654   # Extract the first word of "pkg-config", so it can be a program name with args.
   4655 set dummy pkg-config; ac_word=$2
   4656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4657 $as_echo_n "checking for $ac_word... " >&6; }
   4658 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   case $ac_pt_PKG_CONFIG in
   4662   [\\/]* | ?:[\\/]*)
   4663   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4664   ;;
   4665   *)
   4666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4667 for as_dir in $PATH
   4668 do
   4669   IFS=$as_save_IFS
   4670   test -z "$as_dir" && as_dir=.
   4671   for ac_exec_ext in '' $ac_executable_extensions; do
   4672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4673     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4674     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4675     break 2
   4676   fi
   4677 done
   4678 done
   4679 IFS=$as_save_IFS
   4680 
   4681   ;;
   4682 esac
   4683 fi
   4684 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4685 if test -n "$ac_pt_PKG_CONFIG"; then
   4686   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   4687 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4688 else
   4689   { $as_echo "$as_me:$LINENO: result: no" >&5
   4690 $as_echo "no" >&6; }
   4691 fi
   4692 
   4693   if test "x$ac_pt_PKG_CONFIG" = x; then
   4694     PKG_CONFIG=""
   4695   else
   4696     case $cross_compiling:$ac_tool_warned in
   4697 yes:)
   4698 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4700 ac_tool_warned=yes ;;
   4701 esac
   4702     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4703   fi
   4704 else
   4705   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4706 fi
   4707 
   4708 fi
   4709 if test -n "$PKG_CONFIG"; then
   4710 	_pkg_min_version=0.9.0
   4711 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   4712 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4713 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4714 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   4715 $as_echo "yes" >&6; }
   4716 	else
   4717 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   4718 $as_echo "no" >&6; }
   4719 		PKG_CONFIG=""
   4720 	fi
   4721 
   4722 fi
   4723 # Make sure we can run config.sub.
   4724 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4725   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4726 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4727    { (exit 1); exit 1; }; }
   4728 
   4729 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4730 $as_echo_n "checking build system type... " >&6; }
   4731 if test "${ac_cv_build+set}" = set; then
   4732   $as_echo_n "(cached) " >&6
   4733 else
   4734   ac_build_alias=$build_alias
   4735 test "x$ac_build_alias" = x &&
   4736   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4737 test "x$ac_build_alias" = x &&
   4738   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4739 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4740    { (exit 1); exit 1; }; }
   4741 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4742   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4743 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4744    { (exit 1); exit 1; }; }
   4745 
   4746 fi
   4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4748 $as_echo "$ac_cv_build" >&6; }
   4749 case $ac_cv_build in
   4750 *-*-*) ;;
   4751 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4752 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4753    { (exit 1); exit 1; }; };;
   4754 esac
   4755 build=$ac_cv_build
   4756 ac_save_IFS=$IFS; IFS='-'
   4757 set x $ac_cv_build
   4758 shift
   4759 build_cpu=$1
   4760 build_vendor=$2
   4761 shift; shift
   4762 # Remember, the first character of IFS is used to create $*,
   4763 # except with old shells:
   4764 build_os=$*
   4765 IFS=$ac_save_IFS
   4766 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4767 
   4768 
   4769 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4770 $as_echo_n "checking host system type... " >&6; }
   4771 if test "${ac_cv_host+set}" = set; then
   4772   $as_echo_n "(cached) " >&6
   4773 else
   4774   if test "x$host_alias" = x; then
   4775   ac_cv_host=$ac_cv_build
   4776 else
   4777   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4778     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4779 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4780    { (exit 1); exit 1; }; }
   4781 fi
   4782 
   4783 fi
   4784 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4785 $as_echo "$ac_cv_host" >&6; }
   4786 case $ac_cv_host in
   4787 *-*-*) ;;
   4788 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4789 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4790    { (exit 1); exit 1; }; };;
   4791 esac
   4792 host=$ac_cv_host
   4793 ac_save_IFS=$IFS; IFS='-'
   4794 set x $ac_cv_host
   4795 shift
   4796 host_cpu=$1
   4797 host_vendor=$2
   4798 shift; shift
   4799 # Remember, the first character of IFS is used to create $*,
   4800 # except with old shells:
   4801 host_os=$*
   4802 IFS=$ac_save_IFS
   4803 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4804 
   4805 
   4806 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4807 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4808 if test "${ac_cv_path_SED+set}" = set; then
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4812      for ac_i in 1 2 3 4 5 6 7; do
   4813        ac_script="$ac_script$as_nl$ac_script"
   4814      done
   4815      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4816      $as_unset ac_script || ac_script=
   4817      if test -z "$SED"; then
   4818   ac_path_SED_found=false
   4819   # Loop through the user's path and test for each of PROGNAME-LIST
   4820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4821 for as_dir in $PATH
   4822 do
   4823   IFS=$as_save_IFS
   4824   test -z "$as_dir" && as_dir=.
   4825   for ac_prog in sed gsed; do
   4826     for ac_exec_ext in '' $ac_executable_extensions; do
   4827       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4828       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4829 # Check for GNU ac_path_SED and select it if it is found.
   4830   # Check for GNU $ac_path_SED
   4831 case `"$ac_path_SED" --version 2>&1` in
   4832 *GNU*)
   4833   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4834 *)
   4835   ac_count=0
   4836   $as_echo_n 0123456789 >"conftest.in"
   4837   while :
   4838   do
   4839     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4840     mv "conftest.tmp" "conftest.in"
   4841     cp "conftest.in" "conftest.nl"
   4842     $as_echo '' >> "conftest.nl"
   4843     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4844     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4845     ac_count=`expr $ac_count + 1`
   4846     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4847       # Best one so far, save it but keep looking for a better one
   4848       ac_cv_path_SED="$ac_path_SED"
   4849       ac_path_SED_max=$ac_count
   4850     fi
   4851     # 10*(2^10) chars as input seems more than enough
   4852     test $ac_count -gt 10 && break
   4853   done
   4854   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4855 esac
   4856 
   4857       $ac_path_SED_found && break 3
   4858     done
   4859   done
   4860 done
   4861 IFS=$as_save_IFS
   4862   if test -z "$ac_cv_path_SED"; then
   4863     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   4864 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   4865    { (exit 1); exit 1; }; }
   4866   fi
   4867 else
   4868   ac_cv_path_SED=$SED
   4869 fi
   4870 
   4871 fi
   4872 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   4873 $as_echo "$ac_cv_path_SED" >&6; }
   4874  SED="$ac_cv_path_SED"
   4875   rm -f conftest.sed
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 if  test "x$GCC" = xyes ; then
   4882     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4883 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4884 -Wbad-function-cast -Wformat=2"
   4885     case `$CC -dumpversion` in
   4886     3.4.* | 4.*)
   4887 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4888 	;;
   4889     esac
   4890 else
   4891     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4892 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4893 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4894   $as_echo_n "(cached) " >&6
   4895 else
   4896   cat >conftest.$ac_ext <<_ACEOF
   4897 /* confdefs.h.  */
   4898 _ACEOF
   4899 cat confdefs.h >>conftest.$ac_ext
   4900 cat >>conftest.$ac_ext <<_ACEOF
   4901 /* end confdefs.h.  */
   4902 $ac_includes_default
   4903 int
   4904 main ()
   4905 {
   4906 #ifndef __SUNPRO_C
   4907   (void) __SUNPRO_C;
   4908 #endif
   4909 
   4910   ;
   4911   return 0;
   4912 }
   4913 _ACEOF
   4914 rm -f conftest.$ac_objext
   4915 if { (ac_try="$ac_compile"
   4916 case "(($ac_try" in
   4917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4918   *) ac_try_echo=$ac_try;;
   4919 esac
   4920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4921 $as_echo "$ac_try_echo") >&5
   4922   (eval "$ac_compile") 2>conftest.er1
   4923   ac_status=$?
   4924   grep -v '^ *+' conftest.er1 >conftest.err
   4925   rm -f conftest.er1
   4926   cat conftest.err >&5
   4927   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4928   (exit $ac_status); } && {
   4929 	 test -z "$ac_c_werror_flag" ||
   4930 	 test ! -s conftest.err
   4931        } && test -s conftest.$ac_objext; then
   4932   ac_cv_have_decl___SUNPRO_C=yes
   4933 else
   4934   $as_echo "$as_me: failed program was:" >&5
   4935 sed 's/^/| /' conftest.$ac_ext >&5
   4936 
   4937 	ac_cv_have_decl___SUNPRO_C=no
   4938 fi
   4939 
   4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4941 fi
   4942 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4943 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4944 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4945   SUNCC="yes"
   4946 else
   4947   SUNCC="no"
   4948 fi
   4949 
   4950     if test "x$SUNCC" = "xyes"; then
   4951 	CWARNFLAGS="-v"
   4952     fi
   4953 fi
   4954 
   4955 
   4956 
   4957 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4958 
   4959 
   4960 
   4961 # Check whether --enable-strict-compilation was given.
   4962 if test "${enable_strict_compilation+set}" = set; then
   4963   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4964 else
   4965   STRICT_COMPILE=no
   4966 fi
   4967 
   4968 if test "x$STRICT_COMPILE" = "xyes"; then
   4969 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4970 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4971 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4972   $as_echo_n "(cached) " >&6
   4973 else
   4974   cat >conftest.$ac_ext <<_ACEOF
   4975 /* confdefs.h.  */
   4976 _ACEOF
   4977 cat confdefs.h >>conftest.$ac_ext
   4978 cat >>conftest.$ac_ext <<_ACEOF
   4979 /* end confdefs.h.  */
   4980 $ac_includes_default
   4981 int
   4982 main ()
   4983 {
   4984 #ifndef __SUNPRO_C
   4985   (void) __SUNPRO_C;
   4986 #endif
   4987 
   4988   ;
   4989   return 0;
   4990 }
   4991 _ACEOF
   4992 rm -f conftest.$ac_objext
   4993 if { (ac_try="$ac_compile"
   4994 case "(($ac_try" in
   4995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4996   *) ac_try_echo=$ac_try;;
   4997 esac
   4998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4999 $as_echo "$ac_try_echo") >&5
   5000   (eval "$ac_compile") 2>conftest.er1
   5001   ac_status=$?
   5002   grep -v '^ *+' conftest.er1 >conftest.err
   5003   rm -f conftest.er1
   5004   cat conftest.err >&5
   5005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5006   (exit $ac_status); } && {
   5007 	 test -z "$ac_c_werror_flag" ||
   5008 	 test ! -s conftest.err
   5009        } && test -s conftest.$ac_objext; then
   5010   ac_cv_have_decl___SUNPRO_C=yes
   5011 else
   5012   $as_echo "$as_me: failed program was:" >&5
   5013 sed 's/^/| /' conftest.$ac_ext >&5
   5014 
   5015 	ac_cv_have_decl___SUNPRO_C=no
   5016 fi
   5017 
   5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5019 fi
   5020 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   5021 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   5022 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   5023   SUNCC="yes"
   5024 else
   5025   SUNCC="no"
   5026 fi
   5027 
   5028 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   5029 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   5030 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   5031   $as_echo_n "(cached) " >&6
   5032 else
   5033   cat >conftest.$ac_ext <<_ACEOF
   5034 /* confdefs.h.  */
   5035 _ACEOF
   5036 cat confdefs.h >>conftest.$ac_ext
   5037 cat >>conftest.$ac_ext <<_ACEOF
   5038 /* end confdefs.h.  */
   5039 $ac_includes_default
   5040 int
   5041 main ()
   5042 {
   5043 #ifndef __INTEL_COMPILER
   5044   (void) __INTEL_COMPILER;
   5045 #endif
   5046 
   5047   ;
   5048   return 0;
   5049 }
   5050 _ACEOF
   5051 rm -f conftest.$ac_objext
   5052 if { (ac_try="$ac_compile"
   5053 case "(($ac_try" in
   5054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5055   *) ac_try_echo=$ac_try;;
   5056 esac
   5057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5058 $as_echo "$ac_try_echo") >&5
   5059   (eval "$ac_compile") 2>conftest.er1
   5060   ac_status=$?
   5061   grep -v '^ *+' conftest.er1 >conftest.err
   5062   rm -f conftest.er1
   5063   cat conftest.err >&5
   5064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5065   (exit $ac_status); } && {
   5066 	 test -z "$ac_c_werror_flag" ||
   5067 	 test ! -s conftest.err
   5068        } && test -s conftest.$ac_objext; then
   5069   ac_cv_have_decl___INTEL_COMPILER=yes
   5070 else
   5071   $as_echo "$as_me: failed program was:" >&5
   5072 sed 's/^/| /' conftest.$ac_ext >&5
   5073 
   5074 	ac_cv_have_decl___INTEL_COMPILER=no
   5075 fi
   5076 
   5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5078 fi
   5079 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   5080 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   5081 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   5082   INTELCC="yes"
   5083 else
   5084   INTELCC="no"
   5085 fi
   5086 
   5087 	if test "x$GCC" = xyes ; then
   5088 		STRICT_CFLAGS="-pedantic -Werror"
   5089 	elif test "x$SUNCC" = "xyes"; then
   5090 		STRICT_CFLAGS="-errwarn"
   5091     elif test "x$INTELCC" = "xyes"; then
   5092 		STRICT_CFLAGS="-Werror"
   5093 	fi
   5094 fi
   5095 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   5096 
   5097 
   5098 
   5099 
   5100 cat >>confdefs.h <<_ACEOF
   5101 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   5102 _ACEOF
   5103 
   5104 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   5105 	if test "x$PVM" = "x"; then
   5106 		PVM="0"
   5107 	fi
   5108 
   5109 cat >>confdefs.h <<_ACEOF
   5110 #define PACKAGE_VERSION_MINOR $PVM
   5111 _ACEOF
   5112 
   5113 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   5114 	if test "x$PVP" = "x"; then
   5115 		PVP="0"
   5116 	fi
   5117 
   5118 cat >>confdefs.h <<_ACEOF
   5119 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   5120 _ACEOF
   5121 
   5122 
   5123 
   5124 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   5125 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   5126 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   5127 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   5128 
   5129 
   5130 
   5131 
   5132 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   5133 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   5134 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   5135 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   5136 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 if test x$APP_MAN_SUFFIX = x    ; then
   5144     APP_MAN_SUFFIX=1
   5145 fi
   5146 if test x$APP_MAN_DIR = x    ; then
   5147     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   5148 fi
   5149 
   5150 if test x$LIB_MAN_SUFFIX = x    ; then
   5151     LIB_MAN_SUFFIX=3
   5152 fi
   5153 if test x$LIB_MAN_DIR = x    ; then
   5154     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   5155 fi
   5156 
   5157 if test x$FILE_MAN_SUFFIX = x    ; then
   5158     case $host_os in
   5159 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   5160 	*)		FILE_MAN_SUFFIX=5  ;;
   5161     esac
   5162 fi
   5163 if test x$FILE_MAN_DIR = x    ; then
   5164     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   5165 fi
   5166 
   5167 if test x$MISC_MAN_SUFFIX = x    ; then
   5168     case $host_os in
   5169 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   5170 	*)		MISC_MAN_SUFFIX=7  ;;
   5171     esac
   5172 fi
   5173 if test x$MISC_MAN_DIR = x    ; then
   5174     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   5175 fi
   5176 
   5177 if test x$DRIVER_MAN_SUFFIX = x    ; then
   5178     case $host_os in
   5179 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   5180 	*)		DRIVER_MAN_SUFFIX=4  ;;
   5181     esac
   5182 fi
   5183 if test x$DRIVER_MAN_DIR = x    ; then
   5184     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   5185 fi
   5186 
   5187 if test x$ADMIN_MAN_SUFFIX = x    ; then
   5188     case $host_os in
   5189 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   5190 	*)		ADMIN_MAN_SUFFIX=8  ;;
   5191     esac
   5192 fi
   5193 if test x$ADMIN_MAN_DIR = x    ; then
   5194     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   5195 fi
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 XORG_MAN_PAGE="X Version 11"
   5212 
   5213 MAN_SUBSTS="\
   5214 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5215 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5216 	-e 's|__xservername__|Xorg|g' \
   5217 	-e 's|__xconfigfile__|xorg.conf|g' \
   5218 	-e 's|__projectroot__|\$(prefix)|g' \
   5219 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   5220 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   5221 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   5222 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   5223 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   5224 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   5225 
   5226 
   5227 
   5228 # Check whether --enable-silent-rules was given.
   5229 if test "${enable_silent_rules+set}" = set; then
   5230   enableval=$enable_silent_rules;
   5231 fi
   5232 
   5233 case $enable_silent_rules in
   5234 yes) AM_DEFAULT_VERBOSITY=0;;
   5235 no)  AM_DEFAULT_VERBOSITY=1;;
   5236 *)   AM_DEFAULT_VERBOSITY=0;;
   5237 esac
   5238 AM_BACKSLASH='\'
   5239 
   5240 
   5241 
   5242 # Checks for programs.
   5243 # Check whether --enable-static was given.
   5244 if test "${enable_static+set}" = set; then
   5245   enableval=$enable_static; p=${PACKAGE-default}
   5246     case $enableval in
   5247     yes) enable_static=yes ;;
   5248     no) enable_static=no ;;
   5249     *)
   5250      enable_static=no
   5251       # Look at the argument we got.  We use all the common list separators.
   5252       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5253       for pkg in $enableval; do
   5254 	IFS="$lt_save_ifs"
   5255 	if test "X$pkg" = "X$p"; then
   5256 	  enable_static=yes
   5257 	fi
   5258       done
   5259       IFS="$lt_save_ifs"
   5260       ;;
   5261     esac
   5262 else
   5263   enable_static=no
   5264 fi
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 case `pwd` in
   5275   *\ * | *\	*)
   5276     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5277 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5278 esac
   5279 
   5280 
   5281 
   5282 macro_version='2.2.6b'
   5283 macro_revision='1.3017'
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 ltmain="$ac_aux_dir/ltmain.sh"
   5298 
   5299 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5300 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5301 if test "${ac_cv_path_SED+set}" = set; then
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5305      for ac_i in 1 2 3 4 5 6 7; do
   5306        ac_script="$ac_script$as_nl$ac_script"
   5307      done
   5308      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5309      $as_unset ac_script || ac_script=
   5310      if test -z "$SED"; then
   5311   ac_path_SED_found=false
   5312   # Loop through the user's path and test for each of PROGNAME-LIST
   5313   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5314 for as_dir in $PATH
   5315 do
   5316   IFS=$as_save_IFS
   5317   test -z "$as_dir" && as_dir=.
   5318   for ac_prog in sed gsed; do
   5319     for ac_exec_ext in '' $ac_executable_extensions; do
   5320       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5321       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5322 # Check for GNU ac_path_SED and select it if it is found.
   5323   # Check for GNU $ac_path_SED
   5324 case `"$ac_path_SED" --version 2>&1` in
   5325 *GNU*)
   5326   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5327 *)
   5328   ac_count=0
   5329   $as_echo_n 0123456789 >"conftest.in"
   5330   while :
   5331   do
   5332     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5333     mv "conftest.tmp" "conftest.in"
   5334     cp "conftest.in" "conftest.nl"
   5335     $as_echo '' >> "conftest.nl"
   5336     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5337     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5338     ac_count=`expr $ac_count + 1`
   5339     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5340       # Best one so far, save it but keep looking for a better one
   5341       ac_cv_path_SED="$ac_path_SED"
   5342       ac_path_SED_max=$ac_count
   5343     fi
   5344     # 10*(2^10) chars as input seems more than enough
   5345     test $ac_count -gt 10 && break
   5346   done
   5347   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5348 esac
   5349 
   5350       $ac_path_SED_found && break 3
   5351     done
   5352   done
   5353 done
   5354 IFS=$as_save_IFS
   5355   if test -z "$ac_cv_path_SED"; then
   5356     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   5357 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   5358    { (exit 1); exit 1; }; }
   5359   fi
   5360 else
   5361   ac_cv_path_SED=$SED
   5362 fi
   5363 
   5364 fi
   5365 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   5366 $as_echo "$ac_cv_path_SED" >&6; }
   5367  SED="$ac_cv_path_SED"
   5368   rm -f conftest.sed
   5369 
   5370 test -z "$SED" && SED=sed
   5371 Xsed="$SED -e 1s/^X//"
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   5384 $as_echo_n "checking for fgrep... " >&6; }
   5385 if test "${ac_cv_path_FGREP+set}" = set; then
   5386   $as_echo_n "(cached) " >&6
   5387 else
   5388   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5389    then ac_cv_path_FGREP="$GREP -F"
   5390    else
   5391      if test -z "$FGREP"; then
   5392   ac_path_FGREP_found=false
   5393   # Loop through the user's path and test for each of PROGNAME-LIST
   5394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5396 do
   5397   IFS=$as_save_IFS
   5398   test -z "$as_dir" && as_dir=.
   5399   for ac_prog in fgrep; do
   5400     for ac_exec_ext in '' $ac_executable_extensions; do
   5401       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5402       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5403 # Check for GNU ac_path_FGREP and select it if it is found.
   5404   # Check for GNU $ac_path_FGREP
   5405 case `"$ac_path_FGREP" --version 2>&1` in
   5406 *GNU*)
   5407   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5408 *)
   5409   ac_count=0
   5410   $as_echo_n 0123456789 >"conftest.in"
   5411   while :
   5412   do
   5413     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5414     mv "conftest.tmp" "conftest.in"
   5415     cp "conftest.in" "conftest.nl"
   5416     $as_echo 'FGREP' >> "conftest.nl"
   5417     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5418     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5419     ac_count=`expr $ac_count + 1`
   5420     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5421       # Best one so far, save it but keep looking for a better one
   5422       ac_cv_path_FGREP="$ac_path_FGREP"
   5423       ac_path_FGREP_max=$ac_count
   5424     fi
   5425     # 10*(2^10) chars as input seems more than enough
   5426     test $ac_count -gt 10 && break
   5427   done
   5428   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5429 esac
   5430 
   5431       $ac_path_FGREP_found && break 3
   5432     done
   5433   done
   5434 done
   5435 IFS=$as_save_IFS
   5436   if test -z "$ac_cv_path_FGREP"; then
   5437     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   5438 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   5439    { (exit 1); exit 1; }; }
   5440   fi
   5441 else
   5442   ac_cv_path_FGREP=$FGREP
   5443 fi
   5444 
   5445    fi
   5446 fi
   5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   5448 $as_echo "$ac_cv_path_FGREP" >&6; }
   5449  FGREP="$ac_cv_path_FGREP"
   5450 
   5451 
   5452 test -z "$GREP" && GREP=grep
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 # Check whether --with-gnu-ld was given.
   5473 if test "${with_gnu_ld+set}" = set; then
   5474   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5475 else
   5476   with_gnu_ld=no
   5477 fi
   5478 
   5479 ac_prog=ld
   5480 if test "$GCC" = yes; then
   5481   # Check if gcc -print-prog-name=ld gives a path.
   5482   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5483 $as_echo_n "checking for ld used by $CC... " >&6; }
   5484   case $host in
   5485   *-*-mingw*)
   5486     # gcc leaves a trailing carriage return which upsets mingw
   5487     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5488   *)
   5489     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5490   esac
   5491   case $ac_prog in
   5492     # Accept absolute paths.
   5493     [\\/]* | ?:[\\/]*)
   5494       re_direlt='/[^/][^/]*/\.\./'
   5495       # Canonicalize the pathname of ld
   5496       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5497       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5498 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5499       done
   5500       test -z "$LD" && LD="$ac_prog"
   5501       ;;
   5502   "")
   5503     # If it fails, then pretend we aren't using GCC.
   5504     ac_prog=ld
   5505     ;;
   5506   *)
   5507     # If it is relative, then search for the first ld in PATH.
   5508     with_gnu_ld=unknown
   5509     ;;
   5510   esac
   5511 elif test "$with_gnu_ld" = yes; then
   5512   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   5513 $as_echo_n "checking for GNU ld... " >&6; }
   5514 else
   5515   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5516 $as_echo_n "checking for non-GNU ld... " >&6; }
   5517 fi
   5518 if test "${lt_cv_path_LD+set}" = set; then
   5519   $as_echo_n "(cached) " >&6
   5520 else
   5521   if test -z "$LD"; then
   5522   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5523   for ac_dir in $PATH; do
   5524     IFS="$lt_save_ifs"
   5525     test -z "$ac_dir" && ac_dir=.
   5526     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5527       lt_cv_path_LD="$ac_dir/$ac_prog"
   5528       # Check to see if the program is GNU ld.  I'd rather use --version,
   5529       # but apparently some variants of GNU ld only accept -v.
   5530       # Break only if it was the GNU/non-GNU ld that we prefer.
   5531       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5532       *GNU* | *'with BFD'*)
   5533 	test "$with_gnu_ld" != no && break
   5534 	;;
   5535       *)
   5536 	test "$with_gnu_ld" != yes && break
   5537 	;;
   5538       esac
   5539     fi
   5540   done
   5541   IFS="$lt_save_ifs"
   5542 else
   5543   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5544 fi
   5545 fi
   5546 
   5547 LD="$lt_cv_path_LD"
   5548 if test -n "$LD"; then
   5549   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   5550 $as_echo "$LD" >&6; }
   5551 else
   5552   { $as_echo "$as_me:$LINENO: result: no" >&5
   5553 $as_echo "no" >&6; }
   5554 fi
   5555 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5556 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5557    { (exit 1); exit 1; }; }
   5558 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5559 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5560 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5561   $as_echo_n "(cached) " >&6
   5562 else
   5563   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5564 case `$LD -v 2>&1 </dev/null` in
   5565 *GNU* | *'with BFD'*)
   5566   lt_cv_prog_gnu_ld=yes
   5567   ;;
   5568 *)
   5569   lt_cv_prog_gnu_ld=no
   5570   ;;
   5571 esac
   5572 fi
   5573 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5574 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5575 with_gnu_ld=$lt_cv_prog_gnu_ld
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5586 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5587 if test "${lt_cv_path_NM+set}" = set; then
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   if test -n "$NM"; then
   5591   # Let the user override the test.
   5592   lt_cv_path_NM="$NM"
   5593 else
   5594   lt_nm_to_check="${ac_tool_prefix}nm"
   5595   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5596     lt_nm_to_check="$lt_nm_to_check nm"
   5597   fi
   5598   for lt_tmp_nm in $lt_nm_to_check; do
   5599     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5600     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5601       IFS="$lt_save_ifs"
   5602       test -z "$ac_dir" && ac_dir=.
   5603       tmp_nm="$ac_dir/$lt_tmp_nm"
   5604       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5605 	# Check to see if the nm accepts a BSD-compat flag.
   5606 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5607 	#   nm: unknown option "B" ignored
   5608 	# Tru64's nm complains that /dev/null is an invalid object file
   5609 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5610 	*/dev/null* | *'Invalid file or object type'*)
   5611 	  lt_cv_path_NM="$tmp_nm -B"
   5612 	  break
   5613 	  ;;
   5614 	*)
   5615 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5616 	  */dev/null*)
   5617 	    lt_cv_path_NM="$tmp_nm -p"
   5618 	    break
   5619 	    ;;
   5620 	  *)
   5621 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5622 	    continue # so that we can try to find one that supports BSD flags
   5623 	    ;;
   5624 	  esac
   5625 	  ;;
   5626 	esac
   5627       fi
   5628     done
   5629     IFS="$lt_save_ifs"
   5630   done
   5631   : ${lt_cv_path_NM=no}
   5632 fi
   5633 fi
   5634 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5635 $as_echo "$lt_cv_path_NM" >&6; }
   5636 if test "$lt_cv_path_NM" != "no"; then
   5637   NM="$lt_cv_path_NM"
   5638 else
   5639   # Didn't find any BSD compatible name lister, look for dumpbin.
   5640   if test -n "$ac_tool_prefix"; then
   5641   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5642   do
   5643     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5646 $as_echo_n "checking for $ac_word... " >&6; }
   5647 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   if test -n "$DUMPBIN"; then
   5651   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5652 else
   5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5654 for as_dir in $PATH
   5655 do
   5656   IFS=$as_save_IFS
   5657   test -z "$as_dir" && as_dir=.
   5658   for ac_exec_ext in '' $ac_executable_extensions; do
   5659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5660     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5661     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5662     break 2
   5663   fi
   5664 done
   5665 done
   5666 IFS=$as_save_IFS
   5667 
   5668 fi
   5669 fi
   5670 DUMPBIN=$ac_cv_prog_DUMPBIN
   5671 if test -n "$DUMPBIN"; then
   5672   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5673 $as_echo "$DUMPBIN" >&6; }
   5674 else
   5675   { $as_echo "$as_me:$LINENO: result: no" >&5
   5676 $as_echo "no" >&6; }
   5677 fi
   5678 
   5679 
   5680     test -n "$DUMPBIN" && break
   5681   done
   5682 fi
   5683 if test -z "$DUMPBIN"; then
   5684   ac_ct_DUMPBIN=$DUMPBIN
   5685   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5686 do
   5687   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5688 set dummy $ac_prog; ac_word=$2
   5689 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5690 $as_echo_n "checking for $ac_word... " >&6; }
   5691 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5692   $as_echo_n "(cached) " >&6
   5693 else
   5694   if test -n "$ac_ct_DUMPBIN"; then
   5695   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5696 else
   5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5698 for as_dir in $PATH
   5699 do
   5700   IFS=$as_save_IFS
   5701   test -z "$as_dir" && as_dir=.
   5702   for ac_exec_ext in '' $ac_executable_extensions; do
   5703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5704     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5705     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5706     break 2
   5707   fi
   5708 done
   5709 done
   5710 IFS=$as_save_IFS
   5711 
   5712 fi
   5713 fi
   5714 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5715 if test -n "$ac_ct_DUMPBIN"; then
   5716   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5717 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5718 else
   5719   { $as_echo "$as_me:$LINENO: result: no" >&5
   5720 $as_echo "no" >&6; }
   5721 fi
   5722 
   5723 
   5724   test -n "$ac_ct_DUMPBIN" && break
   5725 done
   5726 
   5727   if test "x$ac_ct_DUMPBIN" = x; then
   5728     DUMPBIN=":"
   5729   else
   5730     case $cross_compiling:$ac_tool_warned in
   5731 yes:)
   5732 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5734 ac_tool_warned=yes ;;
   5735 esac
   5736     DUMPBIN=$ac_ct_DUMPBIN
   5737   fi
   5738 fi
   5739 
   5740 
   5741   if test "$DUMPBIN" != ":"; then
   5742     NM="$DUMPBIN"
   5743   fi
   5744 fi
   5745 test -z "$NM" && NM=nm
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5753 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5754 if test "${lt_cv_nm_interface+set}" = set; then
   5755   $as_echo_n "(cached) " >&6
   5756 else
   5757   lt_cv_nm_interface="BSD nm"
   5758   echo "int some_variable = 0;" > conftest.$ac_ext
   5759   (eval echo "\"\$as_me:5759: $ac_compile\"" >&5)
   5760   (eval "$ac_compile" 2>conftest.err)
   5761   cat conftest.err >&5
   5762   (eval echo "\"\$as_me:5762: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5763   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5764   cat conftest.err >&5
   5765   (eval echo "\"\$as_me:5765: output\"" >&5)
   5766   cat conftest.out >&5
   5767   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5768     lt_cv_nm_interface="MS dumpbin"
   5769   fi
   5770   rm -f conftest*
   5771 fi
   5772 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5773 $as_echo "$lt_cv_nm_interface" >&6; }
   5774 
   5775 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5776 $as_echo_n "checking whether ln -s works... " >&6; }
   5777 LN_S=$as_ln_s
   5778 if test "$LN_S" = "ln -s"; then
   5779   { $as_echo "$as_me:$LINENO: result: yes" >&5
   5780 $as_echo "yes" >&6; }
   5781 else
   5782   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5783 $as_echo "no, using $LN_S" >&6; }
   5784 fi
   5785 
   5786 # find the maximum length of command line arguments
   5787 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5788 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5789 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5790   $as_echo_n "(cached) " >&6
   5791 else
   5792     i=0
   5793   teststring="ABCD"
   5794 
   5795   case $build_os in
   5796   msdosdjgpp*)
   5797     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5798     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5799     # during glob expansion).  Even if it were fixed, the result of this
   5800     # check would be larger than it should be.
   5801     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5802     ;;
   5803 
   5804   gnu*)
   5805     # Under GNU Hurd, this test is not required because there is
   5806     # no limit to the length of command line arguments.
   5807     # Libtool will interpret -1 as no limit whatsoever
   5808     lt_cv_sys_max_cmd_len=-1;
   5809     ;;
   5810 
   5811   cygwin* | mingw* | cegcc*)
   5812     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5813     # about 5 minutes as the teststring grows exponentially.
   5814     # Worse, since 9x/ME are not pre-emptively multitasking,
   5815     # you end up with a "frozen" computer, even though with patience
   5816     # the test eventually succeeds (with a max line length of 256k).
   5817     # Instead, let's just punt: use the minimum linelength reported by
   5818     # all of the supported platforms: 8192 (on NT/2K/XP).
   5819     lt_cv_sys_max_cmd_len=8192;
   5820     ;;
   5821 
   5822   amigaos*)
   5823     # On AmigaOS with pdksh, this test takes hours, literally.
   5824     # So we just punt and use a minimum line length of 8192.
   5825     lt_cv_sys_max_cmd_len=8192;
   5826     ;;
   5827 
   5828   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5829     # This has been around since 386BSD, at least.  Likely further.
   5830     if test -x /sbin/sysctl; then
   5831       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5832     elif test -x /usr/sbin/sysctl; then
   5833       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5834     else
   5835       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5836     fi
   5837     # And add a safety zone
   5838     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5839     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5840     ;;
   5841 
   5842   interix*)
   5843     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5844     lt_cv_sys_max_cmd_len=196608
   5845     ;;
   5846 
   5847   osf*)
   5848     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5849     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5850     # nice to cause kernel panics so lets avoid the loop below.
   5851     # First set a reasonable default.
   5852     lt_cv_sys_max_cmd_len=16384
   5853     #
   5854     if test -x /sbin/sysconfig; then
   5855       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5856         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5857       esac
   5858     fi
   5859     ;;
   5860   sco3.2v5*)
   5861     lt_cv_sys_max_cmd_len=102400
   5862     ;;
   5863   sysv5* | sco5v6* | sysv4.2uw2*)
   5864     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5865     if test -n "$kargmax"; then
   5866       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5867     else
   5868       lt_cv_sys_max_cmd_len=32768
   5869     fi
   5870     ;;
   5871   *)
   5872     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5873     if test -n "$lt_cv_sys_max_cmd_len"; then
   5874       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5875       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5876     else
   5877       # Make teststring a little bigger before we do anything with it.
   5878       # a 1K string should be a reasonable start.
   5879       for i in 1 2 3 4 5 6 7 8 ; do
   5880         teststring=$teststring$teststring
   5881       done
   5882       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5883       # If test is not a shell built-in, we'll probably end up computing a
   5884       # maximum length that is only half of the actual maximum length, but
   5885       # we can't tell.
   5886       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5887 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5888 	      test $i != 17 # 1/2 MB should be enough
   5889       do
   5890         i=`expr $i + 1`
   5891         teststring=$teststring$teststring
   5892       done
   5893       # Only check the string length outside the loop.
   5894       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5895       teststring=
   5896       # Add a significant safety factor because C++ compilers can tack on
   5897       # massive amounts of additional arguments before passing them to the
   5898       # linker.  It appears as though 1/2 is a usable value.
   5899       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5900     fi
   5901     ;;
   5902   esac
   5903 
   5904 fi
   5905 
   5906 if test -n $lt_cv_sys_max_cmd_len ; then
   5907   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5908 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5909 else
   5910   { $as_echo "$as_me:$LINENO: result: none" >&5
   5911 $as_echo "none" >&6; }
   5912 fi
   5913 max_cmd_len=$lt_cv_sys_max_cmd_len
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 : ${CP="cp -f"}
   5921 : ${MV="mv -f"}
   5922 : ${RM="rm -f"}
   5923 
   5924 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5925 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5926 # Try some XSI features
   5927 xsi_shell=no
   5928 ( _lt_dummy="a/b/c"
   5929   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5930       = c,a/b,, \
   5931     && eval 'test $(( 1 + 1 )) -eq 2 \
   5932     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5933   && xsi_shell=yes
   5934 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5935 $as_echo "$xsi_shell" >&6; }
   5936 
   5937 
   5938 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5939 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5940 lt_shell_append=no
   5941 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5942     >/dev/null 2>&1 \
   5943   && lt_shell_append=yes
   5944 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5945 $as_echo "$lt_shell_append" >&6; }
   5946 
   5947 
   5948 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5949   lt_unset=unset
   5950 else
   5951   lt_unset=false
   5952 fi
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 # test EBCDIC or ASCII
   5959 case `echo X|tr X '\101'` in
   5960  A) # ASCII based system
   5961     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5962   lt_SP2NL='tr \040 \012'
   5963   lt_NL2SP='tr \015\012 \040\040'
   5964   ;;
   5965  *) # EBCDIC based system
   5966   lt_SP2NL='tr \100 \n'
   5967   lt_NL2SP='tr \r\n \100\100'
   5968   ;;
   5969 esac
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5980 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5981 if test "${lt_cv_ld_reload_flag+set}" = set; then
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   lt_cv_ld_reload_flag='-r'
   5985 fi
   5986 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5987 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5988 reload_flag=$lt_cv_ld_reload_flag
   5989 case $reload_flag in
   5990 "" | " "*) ;;
   5991 *) reload_flag=" $reload_flag" ;;
   5992 esac
   5993 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5994 case $host_os in
   5995   darwin*)
   5996     if test "$GCC" = yes; then
   5997       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5998     else
   5999       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6000     fi
   6001     ;;
   6002 esac
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 if test -n "$ac_tool_prefix"; then
   6013   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6014 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6016 $as_echo_n "checking for $ac_word... " >&6; }
   6017 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   6018   $as_echo_n "(cached) " >&6
   6019 else
   6020   if test -n "$OBJDUMP"; then
   6021   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6022 else
   6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6024 for as_dir in $PATH
   6025 do
   6026   IFS=$as_save_IFS
   6027   test -z "$as_dir" && as_dir=.
   6028   for ac_exec_ext in '' $ac_executable_extensions; do
   6029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6030     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6031     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6032     break 2
   6033   fi
   6034 done
   6035 done
   6036 IFS=$as_save_IFS
   6037 
   6038 fi
   6039 fi
   6040 OBJDUMP=$ac_cv_prog_OBJDUMP
   6041 if test -n "$OBJDUMP"; then
   6042   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   6043 $as_echo "$OBJDUMP" >&6; }
   6044 else
   6045   { $as_echo "$as_me:$LINENO: result: no" >&5
   6046 $as_echo "no" >&6; }
   6047 fi
   6048 
   6049 
   6050 fi
   6051 if test -z "$ac_cv_prog_OBJDUMP"; then
   6052   ac_ct_OBJDUMP=$OBJDUMP
   6053   # Extract the first word of "objdump", so it can be a program name with args.
   6054 set dummy objdump; ac_word=$2
   6055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6056 $as_echo_n "checking for $ac_word... " >&6; }
   6057 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   if test -n "$ac_ct_OBJDUMP"; then
   6061   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6062 else
   6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6064 for as_dir in $PATH
   6065 do
   6066   IFS=$as_save_IFS
   6067   test -z "$as_dir" && as_dir=.
   6068   for ac_exec_ext in '' $ac_executable_extensions; do
   6069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6070     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6071     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6072     break 2
   6073   fi
   6074 done
   6075 done
   6076 IFS=$as_save_IFS
   6077 
   6078 fi
   6079 fi
   6080 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6081 if test -n "$ac_ct_OBJDUMP"; then
   6082   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   6083 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6084 else
   6085   { $as_echo "$as_me:$LINENO: result: no" >&5
   6086 $as_echo "no" >&6; }
   6087 fi
   6088 
   6089   if test "x$ac_ct_OBJDUMP" = x; then
   6090     OBJDUMP="false"
   6091   else
   6092     case $cross_compiling:$ac_tool_warned in
   6093 yes:)
   6094 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6096 ac_tool_warned=yes ;;
   6097 esac
   6098     OBJDUMP=$ac_ct_OBJDUMP
   6099   fi
   6100 else
   6101   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6102 fi
   6103 
   6104 test -z "$OBJDUMP" && OBJDUMP=objdump
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   6115 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6116 if test "${lt_cv_deplibs_check_method+set}" = set; then
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6120 lt_cv_file_magic_test_file=
   6121 lt_cv_deplibs_check_method='unknown'
   6122 # Need to set the preceding variable on all platforms that support
   6123 # interlibrary dependencies.
   6124 # 'none' -- dependencies not supported.
   6125 # `unknown' -- same as none, but documents that we really don't know.
   6126 # 'pass_all' -- all dependencies passed with no checks.
   6127 # 'test_compile' -- check by making test program.
   6128 # 'file_magic [[regex]]' -- check by looking for files in library path
   6129 # which responds to the $file_magic_cmd with a given extended regex.
   6130 # If you have `file' or equivalent on your system and you're not sure
   6131 # whether `pass_all' will *always* work, you probably want this one.
   6132 
   6133 case $host_os in
   6134 aix[4-9]*)
   6135   lt_cv_deplibs_check_method=pass_all
   6136   ;;
   6137 
   6138 beos*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 bsdi[45]*)
   6143   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6144   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6145   lt_cv_file_magic_test_file=/shlib/libc.so
   6146   ;;
   6147 
   6148 cygwin*)
   6149   # func_win32_libid is a shell function defined in ltmain.sh
   6150   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6151   lt_cv_file_magic_cmd='func_win32_libid'
   6152   ;;
   6153 
   6154 mingw* | pw32*)
   6155   # Base MSYS/MinGW do not provide the 'file' command needed by
   6156   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6157   # unless we find 'file', for example because we are cross-compiling.
   6158   if ( file / ) >/dev/null 2>&1; then
   6159     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6160     lt_cv_file_magic_cmd='func_win32_libid'
   6161   else
   6162     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6163     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6164   fi
   6165   ;;
   6166 
   6167 cegcc)
   6168   # use the weaker test based on 'objdump'. See mingw*.
   6169   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6170   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6171   ;;
   6172 
   6173 darwin* | rhapsody*)
   6174   lt_cv_deplibs_check_method=pass_all
   6175   ;;
   6176 
   6177 freebsd* | dragonfly*)
   6178   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6179     case $host_cpu in
   6180     i*86 )
   6181       # Not sure whether the presence of OpenBSD here was a mistake.
   6182       # Let's accept both of them until this is cleared up.
   6183       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6184       lt_cv_file_magic_cmd=/usr/bin/file
   6185       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6186       ;;
   6187     esac
   6188   else
   6189     lt_cv_deplibs_check_method=pass_all
   6190   fi
   6191   ;;
   6192 
   6193 gnu*)
   6194   lt_cv_deplibs_check_method=pass_all
   6195   ;;
   6196 
   6197 hpux10.20* | hpux11*)
   6198   lt_cv_file_magic_cmd=/usr/bin/file
   6199   case $host_cpu in
   6200   ia64*)
   6201     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6202     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6203     ;;
   6204   hppa*64*)
   6205     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]'
   6206     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6207     ;;
   6208   *)
   6209     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6210     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6211     ;;
   6212   esac
   6213   ;;
   6214 
   6215 interix[3-9]*)
   6216   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6217   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6218   ;;
   6219 
   6220 irix5* | irix6* | nonstopux*)
   6221   case $LD in
   6222   *-32|*"-32 ") libmagic=32-bit;;
   6223   *-n32|*"-n32 ") libmagic=N32;;
   6224   *-64|*"-64 ") libmagic=64-bit;;
   6225   *) libmagic=never-match;;
   6226   esac
   6227   lt_cv_deplibs_check_method=pass_all
   6228   ;;
   6229 
   6230 # This must be Linux ELF.
   6231 linux* | k*bsd*-gnu)
   6232   lt_cv_deplibs_check_method=pass_all
   6233   ;;
   6234 
   6235 netbsd*)
   6236   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6237     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6238   else
   6239     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6240   fi
   6241   ;;
   6242 
   6243 newos6*)
   6244   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6245   lt_cv_file_magic_cmd=/usr/bin/file
   6246   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6247   ;;
   6248 
   6249 *nto* | *qnx*)
   6250   lt_cv_deplibs_check_method=pass_all
   6251   ;;
   6252 
   6253 openbsd*)
   6254   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6255     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6256   else
   6257     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6258   fi
   6259   ;;
   6260 
   6261 osf3* | osf4* | osf5*)
   6262   lt_cv_deplibs_check_method=pass_all
   6263   ;;
   6264 
   6265 rdos*)
   6266   lt_cv_deplibs_check_method=pass_all
   6267   ;;
   6268 
   6269 solaris*)
   6270   lt_cv_deplibs_check_method=pass_all
   6271   ;;
   6272 
   6273 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6274   lt_cv_deplibs_check_method=pass_all
   6275   ;;
   6276 
   6277 sysv4 | sysv4.3*)
   6278   case $host_vendor in
   6279   motorola)
   6280     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]'
   6281     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6282     ;;
   6283   ncr)
   6284     lt_cv_deplibs_check_method=pass_all
   6285     ;;
   6286   sequent)
   6287     lt_cv_file_magic_cmd='/bin/file'
   6288     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6289     ;;
   6290   sni)
   6291     lt_cv_file_magic_cmd='/bin/file'
   6292     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6293     lt_cv_file_magic_test_file=/lib/libc.so
   6294     ;;
   6295   siemens)
   6296     lt_cv_deplibs_check_method=pass_all
   6297     ;;
   6298   pc)
   6299     lt_cv_deplibs_check_method=pass_all
   6300     ;;
   6301   esac
   6302   ;;
   6303 
   6304 tpf*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 esac
   6308 
   6309 fi
   6310 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   6311 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6312 file_magic_cmd=$lt_cv_file_magic_cmd
   6313 deplibs_check_method=$lt_cv_deplibs_check_method
   6314 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 if test -n "$ac_tool_prefix"; then
   6328   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6329 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6331 $as_echo_n "checking for $ac_word... " >&6; }
   6332 if test "${ac_cv_prog_AR+set}" = set; then
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   if test -n "$AR"; then
   6336   ac_cv_prog_AR="$AR" # Let the user override the test.
   6337 else
   6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6339 for as_dir in $PATH
   6340 do
   6341   IFS=$as_save_IFS
   6342   test -z "$as_dir" && as_dir=.
   6343   for ac_exec_ext in '' $ac_executable_extensions; do
   6344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6345     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6346     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6347     break 2
   6348   fi
   6349 done
   6350 done
   6351 IFS=$as_save_IFS
   6352 
   6353 fi
   6354 fi
   6355 AR=$ac_cv_prog_AR
   6356 if test -n "$AR"; then
   6357   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6358 $as_echo "$AR" >&6; }
   6359 else
   6360   { $as_echo "$as_me:$LINENO: result: no" >&5
   6361 $as_echo "no" >&6; }
   6362 fi
   6363 
   6364 
   6365 fi
   6366 if test -z "$ac_cv_prog_AR"; then
   6367   ac_ct_AR=$AR
   6368   # Extract the first word of "ar", so it can be a program name with args.
   6369 set dummy ar; ac_word=$2
   6370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6371 $as_echo_n "checking for $ac_word... " >&6; }
   6372 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6373   $as_echo_n "(cached) " >&6
   6374 else
   6375   if test -n "$ac_ct_AR"; then
   6376   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6377 else
   6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6379 for as_dir in $PATH
   6380 do
   6381   IFS=$as_save_IFS
   6382   test -z "$as_dir" && as_dir=.
   6383   for ac_exec_ext in '' $ac_executable_extensions; do
   6384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6385     ac_cv_prog_ac_ct_AR="ar"
   6386     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6387     break 2
   6388   fi
   6389 done
   6390 done
   6391 IFS=$as_save_IFS
   6392 
   6393 fi
   6394 fi
   6395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6396 if test -n "$ac_ct_AR"; then
   6397   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6398 $as_echo "$ac_ct_AR" >&6; }
   6399 else
   6400   { $as_echo "$as_me:$LINENO: result: no" >&5
   6401 $as_echo "no" >&6; }
   6402 fi
   6403 
   6404   if test "x$ac_ct_AR" = x; then
   6405     AR="false"
   6406   else
   6407     case $cross_compiling:$ac_tool_warned in
   6408 yes:)
   6409 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6411 ac_tool_warned=yes ;;
   6412 esac
   6413     AR=$ac_ct_AR
   6414   fi
   6415 else
   6416   AR="$ac_cv_prog_AR"
   6417 fi
   6418 
   6419 test -z "$AR" && AR=ar
   6420 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 if test -n "$ac_tool_prefix"; then
   6433   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6434 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6436 $as_echo_n "checking for $ac_word... " >&6; }
   6437 if test "${ac_cv_prog_STRIP+set}" = set; then
   6438   $as_echo_n "(cached) " >&6
   6439 else
   6440   if test -n "$STRIP"; then
   6441   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6442 else
   6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6444 for as_dir in $PATH
   6445 do
   6446   IFS=$as_save_IFS
   6447   test -z "$as_dir" && as_dir=.
   6448   for ac_exec_ext in '' $ac_executable_extensions; do
   6449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6450     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6451     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6452     break 2
   6453   fi
   6454 done
   6455 done
   6456 IFS=$as_save_IFS
   6457 
   6458 fi
   6459 fi
   6460 STRIP=$ac_cv_prog_STRIP
   6461 if test -n "$STRIP"; then
   6462   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6463 $as_echo "$STRIP" >&6; }
   6464 else
   6465   { $as_echo "$as_me:$LINENO: result: no" >&5
   6466 $as_echo "no" >&6; }
   6467 fi
   6468 
   6469 
   6470 fi
   6471 if test -z "$ac_cv_prog_STRIP"; then
   6472   ac_ct_STRIP=$STRIP
   6473   # Extract the first word of "strip", so it can be a program name with args.
   6474 set dummy strip; ac_word=$2
   6475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6476 $as_echo_n "checking for $ac_word... " >&6; }
   6477 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   if test -n "$ac_ct_STRIP"; then
   6481   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6482 else
   6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6484 for as_dir in $PATH
   6485 do
   6486   IFS=$as_save_IFS
   6487   test -z "$as_dir" && as_dir=.
   6488   for ac_exec_ext in '' $ac_executable_extensions; do
   6489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6490     ac_cv_prog_ac_ct_STRIP="strip"
   6491     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6492     break 2
   6493   fi
   6494 done
   6495 done
   6496 IFS=$as_save_IFS
   6497 
   6498 fi
   6499 fi
   6500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6501 if test -n "$ac_ct_STRIP"; then
   6502   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6503 $as_echo "$ac_ct_STRIP" >&6; }
   6504 else
   6505   { $as_echo "$as_me:$LINENO: result: no" >&5
   6506 $as_echo "no" >&6; }
   6507 fi
   6508 
   6509   if test "x$ac_ct_STRIP" = x; then
   6510     STRIP=":"
   6511   else
   6512     case $cross_compiling:$ac_tool_warned in
   6513 yes:)
   6514 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6516 ac_tool_warned=yes ;;
   6517 esac
   6518     STRIP=$ac_ct_STRIP
   6519   fi
   6520 else
   6521   STRIP="$ac_cv_prog_STRIP"
   6522 fi
   6523 
   6524 test -z "$STRIP" && STRIP=:
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 if test -n "$ac_tool_prefix"; then
   6532   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6533 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6534 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6535 $as_echo_n "checking for $ac_word... " >&6; }
   6536 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6537   $as_echo_n "(cached) " >&6
   6538 else
   6539   if test -n "$RANLIB"; then
   6540   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6541 else
   6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6543 for as_dir in $PATH
   6544 do
   6545   IFS=$as_save_IFS
   6546   test -z "$as_dir" && as_dir=.
   6547   for ac_exec_ext in '' $ac_executable_extensions; do
   6548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6549     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6550     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6551     break 2
   6552   fi
   6553 done
   6554 done
   6555 IFS=$as_save_IFS
   6556 
   6557 fi
   6558 fi
   6559 RANLIB=$ac_cv_prog_RANLIB
   6560 if test -n "$RANLIB"; then
   6561   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6562 $as_echo "$RANLIB" >&6; }
   6563 else
   6564   { $as_echo "$as_me:$LINENO: result: no" >&5
   6565 $as_echo "no" >&6; }
   6566 fi
   6567 
   6568 
   6569 fi
   6570 if test -z "$ac_cv_prog_RANLIB"; then
   6571   ac_ct_RANLIB=$RANLIB
   6572   # Extract the first word of "ranlib", so it can be a program name with args.
   6573 set dummy ranlib; ac_word=$2
   6574 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6575 $as_echo_n "checking for $ac_word... " >&6; }
   6576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   if test -n "$ac_ct_RANLIB"; then
   6580   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6581 else
   6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6583 for as_dir in $PATH
   6584 do
   6585   IFS=$as_save_IFS
   6586   test -z "$as_dir" && as_dir=.
   6587   for ac_exec_ext in '' $ac_executable_extensions; do
   6588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6589     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6590     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6591     break 2
   6592   fi
   6593 done
   6594 done
   6595 IFS=$as_save_IFS
   6596 
   6597 fi
   6598 fi
   6599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6600 if test -n "$ac_ct_RANLIB"; then
   6601   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6602 $as_echo "$ac_ct_RANLIB" >&6; }
   6603 else
   6604   { $as_echo "$as_me:$LINENO: result: no" >&5
   6605 $as_echo "no" >&6; }
   6606 fi
   6607 
   6608   if test "x$ac_ct_RANLIB" = x; then
   6609     RANLIB=":"
   6610   else
   6611     case $cross_compiling:$ac_tool_warned in
   6612 yes:)
   6613 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6615 ac_tool_warned=yes ;;
   6616 esac
   6617     RANLIB=$ac_ct_RANLIB
   6618   fi
   6619 else
   6620   RANLIB="$ac_cv_prog_RANLIB"
   6621 fi
   6622 
   6623 test -z "$RANLIB" && RANLIB=:
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 # Determine commands to create old-style static archives.
   6631 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6632 old_postinstall_cmds='chmod 644 $oldlib'
   6633 old_postuninstall_cmds=
   6634 
   6635 if test -n "$RANLIB"; then
   6636   case $host_os in
   6637   openbsd*)
   6638     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6639     ;;
   6640   *)
   6641     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6642     ;;
   6643   esac
   6644   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6645 fi
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 # If no C compiler was specified, use CC.
   6681 LTCC=${LTCC-"$CC"}
   6682 
   6683 # If no C compiler flags were specified, use CFLAGS.
   6684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6685 
   6686 # Allow CC to be a program name with arguments.
   6687 compiler=$CC
   6688 
   6689 
   6690 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6691 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6692 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6693 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696 
   6697 # These are sane defaults that work on at least a few old systems.
   6698 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6699 
   6700 # Character class describing NM global symbol codes.
   6701 symcode='[BCDEGRST]'
   6702 
   6703 # Regexp to match symbols that can be accessed directly from C.
   6704 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6705 
   6706 # Define system-specific variables.
   6707 case $host_os in
   6708 aix*)
   6709   symcode='[BCDT]'
   6710   ;;
   6711 cygwin* | mingw* | pw32* | cegcc*)
   6712   symcode='[ABCDGISTW]'
   6713   ;;
   6714 hpux*)
   6715   if test "$host_cpu" = ia64; then
   6716     symcode='[ABCDEGRST]'
   6717   fi
   6718   ;;
   6719 irix* | nonstopux*)
   6720   symcode='[BCDEGRST]'
   6721   ;;
   6722 osf*)
   6723   symcode='[BCDEGQRST]'
   6724   ;;
   6725 solaris*)
   6726   symcode='[BDRT]'
   6727   ;;
   6728 sco3.2v5*)
   6729   symcode='[DT]'
   6730   ;;
   6731 sysv4.2uw2*)
   6732   symcode='[DT]'
   6733   ;;
   6734 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6735   symcode='[ABDT]'
   6736   ;;
   6737 sysv4)
   6738   symcode='[DFNSTU]'
   6739   ;;
   6740 esac
   6741 
   6742 # If we're using GNU nm, then use its standard symbol codes.
   6743 case `$NM -V 2>&1` in
   6744 *GNU* | *'with BFD'*)
   6745   symcode='[ABCDGIRSTW]' ;;
   6746 esac
   6747 
   6748 # Transform an extracted symbol line into a proper C declaration.
   6749 # Some systems (esp. on ia64) link data and code symbols differently,
   6750 # so use this general approach.
   6751 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6752 
   6753 # Transform an extracted symbol line into symbol name and symbol address
   6754 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6755 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'"
   6756 
   6757 # Handle CRLF in mingw tool chain
   6758 opt_cr=
   6759 case $build_os in
   6760 mingw*)
   6761   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6762   ;;
   6763 esac
   6764 
   6765 # Try without a prefix underscore, then with it.
   6766 for ac_symprfx in "" "_"; do
   6767 
   6768   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6769   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6770 
   6771   # Write the raw and C identifiers.
   6772   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6773     # Fake it for dumpbin and say T for any non-static function
   6774     # and D for any global variable.
   6775     # Also find C++ and __fastcall symbols from MSVC++,
   6776     # which start with @ or ?.
   6777     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6778 "     {last_section=section; section=\$ 3};"\
   6779 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6780 "     \$ 0!~/External *\|/{next};"\
   6781 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6782 "     {if(hide[section]) next};"\
   6783 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6784 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6785 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6786 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6787 "     ' prfx=^$ac_symprfx"
   6788   else
   6789     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6790   fi
   6791 
   6792   # Check to see that the pipe works correctly.
   6793   pipe_works=no
   6794 
   6795   rm -f conftest*
   6796   cat > conftest.$ac_ext <<_LT_EOF
   6797 #ifdef __cplusplus
   6798 extern "C" {
   6799 #endif
   6800 char nm_test_var;
   6801 void nm_test_func(void);
   6802 void nm_test_func(void){}
   6803 #ifdef __cplusplus
   6804 }
   6805 #endif
   6806 int main(){nm_test_var='a';nm_test_func();return(0);}
   6807 _LT_EOF
   6808 
   6809   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6810   (eval $ac_compile) 2>&5
   6811   ac_status=$?
   6812   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6813   (exit $ac_status); }; then
   6814     # Now try to grab the symbols.
   6815     nlist=conftest.nm
   6816     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6817   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6818   ac_status=$?
   6819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6820   (exit $ac_status); } && test -s "$nlist"; then
   6821       # Try sorting and uniquifying the output.
   6822       if sort "$nlist" | uniq > "$nlist"T; then
   6823 	mv -f "$nlist"T "$nlist"
   6824       else
   6825 	rm -f "$nlist"T
   6826       fi
   6827 
   6828       # Make sure that we snagged all the symbols we need.
   6829       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6830 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6831 	  cat <<_LT_EOF > conftest.$ac_ext
   6832 #ifdef __cplusplus
   6833 extern "C" {
   6834 #endif
   6835 
   6836 _LT_EOF
   6837 	  # Now generate the symbol file.
   6838 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6839 
   6840 	  cat <<_LT_EOF >> conftest.$ac_ext
   6841 
   6842 /* The mapping between symbol names and symbols.  */
   6843 const struct {
   6844   const char *name;
   6845   void       *address;
   6846 }
   6847 lt__PROGRAM__LTX_preloaded_symbols[] =
   6848 {
   6849   { "@PROGRAM@", (void *) 0 },
   6850 _LT_EOF
   6851 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6852 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6853   {0, (void *) 0}
   6854 };
   6855 
   6856 /* This works around a problem in FreeBSD linker */
   6857 #ifdef FREEBSD_WORKAROUND
   6858 static const void *lt_preloaded_setup() {
   6859   return lt__PROGRAM__LTX_preloaded_symbols;
   6860 }
   6861 #endif
   6862 
   6863 #ifdef __cplusplus
   6864 }
   6865 #endif
   6866 _LT_EOF
   6867 	  # Now try linking the two files.
   6868 	  mv conftest.$ac_objext conftstm.$ac_objext
   6869 	  lt_save_LIBS="$LIBS"
   6870 	  lt_save_CFLAGS="$CFLAGS"
   6871 	  LIBS="conftstm.$ac_objext"
   6872 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6873 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6874   (eval $ac_link) 2>&5
   6875   ac_status=$?
   6876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6877   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6878 	    pipe_works=yes
   6879 	  fi
   6880 	  LIBS="$lt_save_LIBS"
   6881 	  CFLAGS="$lt_save_CFLAGS"
   6882 	else
   6883 	  echo "cannot find nm_test_func in $nlist" >&5
   6884 	fi
   6885       else
   6886 	echo "cannot find nm_test_var in $nlist" >&5
   6887       fi
   6888     else
   6889       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6890     fi
   6891   else
   6892     echo "$progname: failed program was:" >&5
   6893     cat conftest.$ac_ext >&5
   6894   fi
   6895   rm -rf conftest* conftst*
   6896 
   6897   # Do not use the global_symbol_pipe unless it works.
   6898   if test "$pipe_works" = yes; then
   6899     break
   6900   else
   6901     lt_cv_sys_global_symbol_pipe=
   6902   fi
   6903 done
   6904 
   6905 fi
   6906 
   6907 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6908   lt_cv_sys_global_symbol_to_cdecl=
   6909 fi
   6910 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6911   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6912 $as_echo "failed" >&6; }
   6913 else
   6914   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6915 $as_echo "ok" >&6; }
   6916 fi
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 # Check whether --enable-libtool-lock was given.
   6940 if test "${enable_libtool_lock+set}" = set; then
   6941   enableval=$enable_libtool_lock;
   6942 fi
   6943 
   6944 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6945 
   6946 # Some flags need to be propagated to the compiler or linker for good
   6947 # libtool support.
   6948 case $host in
   6949 ia64-*-hpux*)
   6950   # Find out which ABI we are using.
   6951   echo 'int i;' > conftest.$ac_ext
   6952   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6953   (eval $ac_compile) 2>&5
   6954   ac_status=$?
   6955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6956   (exit $ac_status); }; then
   6957     case `/usr/bin/file conftest.$ac_objext` in
   6958       *ELF-32*)
   6959 	HPUX_IA64_MODE="32"
   6960 	;;
   6961       *ELF-64*)
   6962 	HPUX_IA64_MODE="64"
   6963 	;;
   6964     esac
   6965   fi
   6966   rm -rf conftest*
   6967   ;;
   6968 *-*-irix6*)
   6969   # Find out which ABI we are using.
   6970   echo '#line 6970 "configure"' > conftest.$ac_ext
   6971   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6972   (eval $ac_compile) 2>&5
   6973   ac_status=$?
   6974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6975   (exit $ac_status); }; then
   6976     if test "$lt_cv_prog_gnu_ld" = yes; then
   6977       case `/usr/bin/file conftest.$ac_objext` in
   6978 	*32-bit*)
   6979 	  LD="${LD-ld} -melf32bsmip"
   6980 	  ;;
   6981 	*N32*)
   6982 	  LD="${LD-ld} -melf32bmipn32"
   6983 	  ;;
   6984 	*64-bit*)
   6985 	  LD="${LD-ld} -melf64bmip"
   6986 	;;
   6987       esac
   6988     else
   6989       case `/usr/bin/file conftest.$ac_objext` in
   6990 	*32-bit*)
   6991 	  LD="${LD-ld} -32"
   6992 	  ;;
   6993 	*N32*)
   6994 	  LD="${LD-ld} -n32"
   6995 	  ;;
   6996 	*64-bit*)
   6997 	  LD="${LD-ld} -64"
   6998 	  ;;
   6999       esac
   7000     fi
   7001   fi
   7002   rm -rf conftest*
   7003   ;;
   7004 
   7005 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7006 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7007   # Find out which ABI we are using.
   7008   echo 'int i;' > conftest.$ac_ext
   7009   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7010   (eval $ac_compile) 2>&5
   7011   ac_status=$?
   7012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7013   (exit $ac_status); }; then
   7014     case `/usr/bin/file conftest.o` in
   7015       *32-bit*)
   7016 	case $host in
   7017 	  x86_64-*kfreebsd*-gnu)
   7018 	    LD="${LD-ld} -m elf_i386_fbsd"
   7019 	    ;;
   7020 	  x86_64-*linux*)
   7021 	    LD="${LD-ld} -m elf_i386"
   7022 	    ;;
   7023 	  ppc64-*linux*|powerpc64-*linux*)
   7024 	    LD="${LD-ld} -m elf32ppclinux"
   7025 	    ;;
   7026 	  s390x-*linux*)
   7027 	    LD="${LD-ld} -m elf_s390"
   7028 	    ;;
   7029 	  sparc64-*linux*)
   7030 	    LD="${LD-ld} -m elf32_sparc"
   7031 	    ;;
   7032 	esac
   7033 	;;
   7034       *64-bit*)
   7035 	case $host in
   7036 	  x86_64-*kfreebsd*-gnu)
   7037 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7038 	    ;;
   7039 	  x86_64-*linux*)
   7040 	    LD="${LD-ld} -m elf_x86_64"
   7041 	    ;;
   7042 	  ppc*-*linux*|powerpc*-*linux*)
   7043 	    LD="${LD-ld} -m elf64ppc"
   7044 	    ;;
   7045 	  s390*-*linux*|s390*-*tpf*)
   7046 	    LD="${LD-ld} -m elf64_s390"
   7047 	    ;;
   7048 	  sparc*-*linux*)
   7049 	    LD="${LD-ld} -m elf64_sparc"
   7050 	    ;;
   7051 	esac
   7052 	;;
   7053     esac
   7054   fi
   7055   rm -rf conftest*
   7056   ;;
   7057 
   7058 *-*-sco3.2v5*)
   7059   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7060   SAVE_CFLAGS="$CFLAGS"
   7061   CFLAGS="$CFLAGS -belf"
   7062   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   7063 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7064 if test "${lt_cv_cc_needs_belf+set}" = set; then
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   ac_ext=c
   7068 ac_cpp='$CPP $CPPFLAGS'
   7069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7072 
   7073      cat >conftest.$ac_ext <<_ACEOF
   7074 /* confdefs.h.  */
   7075 _ACEOF
   7076 cat confdefs.h >>conftest.$ac_ext
   7077 cat >>conftest.$ac_ext <<_ACEOF
   7078 /* end confdefs.h.  */
   7079 
   7080 int
   7081 main ()
   7082 {
   7083 
   7084   ;
   7085   return 0;
   7086 }
   7087 _ACEOF
   7088 rm -f conftest.$ac_objext conftest$ac_exeext
   7089 if { (ac_try="$ac_link"
   7090 case "(($ac_try" in
   7091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7092   *) ac_try_echo=$ac_try;;
   7093 esac
   7094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7095 $as_echo "$ac_try_echo") >&5
   7096   (eval "$ac_link") 2>conftest.er1
   7097   ac_status=$?
   7098   grep -v '^ *+' conftest.er1 >conftest.err
   7099   rm -f conftest.er1
   7100   cat conftest.err >&5
   7101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7102   (exit $ac_status); } && {
   7103 	 test -z "$ac_c_werror_flag" ||
   7104 	 test ! -s conftest.err
   7105        } && test -s conftest$ac_exeext && {
   7106 	 test "$cross_compiling" = yes ||
   7107 	 $as_test_x conftest$ac_exeext
   7108        }; then
   7109   lt_cv_cc_needs_belf=yes
   7110 else
   7111   $as_echo "$as_me: failed program was:" >&5
   7112 sed 's/^/| /' conftest.$ac_ext >&5
   7113 
   7114 	lt_cv_cc_needs_belf=no
   7115 fi
   7116 
   7117 rm -rf conftest.dSYM
   7118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7119       conftest$ac_exeext conftest.$ac_ext
   7120      ac_ext=c
   7121 ac_cpp='$CPP $CPPFLAGS'
   7122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7125 
   7126 fi
   7127 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   7128 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7129   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7130     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7131     CFLAGS="$SAVE_CFLAGS"
   7132   fi
   7133   ;;
   7134 sparc*-*solaris*)
   7135   # Find out which ABI we are using.
   7136   echo 'int i;' > conftest.$ac_ext
   7137   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7138   (eval $ac_compile) 2>&5
   7139   ac_status=$?
   7140   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7141   (exit $ac_status); }; then
   7142     case `/usr/bin/file conftest.o` in
   7143     *64-bit*)
   7144       case $lt_cv_prog_gnu_ld in
   7145       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7146       *)
   7147 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7148 	  LD="${LD-ld} -64"
   7149 	fi
   7150 	;;
   7151       esac
   7152       ;;
   7153     esac
   7154   fi
   7155   rm -rf conftest*
   7156   ;;
   7157 esac
   7158 
   7159 need_locks="$enable_libtool_lock"
   7160 
   7161 
   7162   case $host_os in
   7163     rhapsody* | darwin*)
   7164     if test -n "$ac_tool_prefix"; then
   7165   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7166 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7168 $as_echo_n "checking for $ac_word... " >&6; }
   7169 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7170   $as_echo_n "(cached) " >&6
   7171 else
   7172   if test -n "$DSYMUTIL"; then
   7173   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7174 else
   7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7176 for as_dir in $PATH
   7177 do
   7178   IFS=$as_save_IFS
   7179   test -z "$as_dir" && as_dir=.
   7180   for ac_exec_ext in '' $ac_executable_extensions; do
   7181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7182     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7183     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7184     break 2
   7185   fi
   7186 done
   7187 done
   7188 IFS=$as_save_IFS
   7189 
   7190 fi
   7191 fi
   7192 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7193 if test -n "$DSYMUTIL"; then
   7194   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7195 $as_echo "$DSYMUTIL" >&6; }
   7196 else
   7197   { $as_echo "$as_me:$LINENO: result: no" >&5
   7198 $as_echo "no" >&6; }
   7199 fi
   7200 
   7201 
   7202 fi
   7203 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7204   ac_ct_DSYMUTIL=$DSYMUTIL
   7205   # Extract the first word of "dsymutil", so it can be a program name with args.
   7206 set dummy dsymutil; ac_word=$2
   7207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7208 $as_echo_n "checking for $ac_word... " >&6; }
   7209 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7210   $as_echo_n "(cached) " >&6
   7211 else
   7212   if test -n "$ac_ct_DSYMUTIL"; then
   7213   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7214 else
   7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7216 for as_dir in $PATH
   7217 do
   7218   IFS=$as_save_IFS
   7219   test -z "$as_dir" && as_dir=.
   7220   for ac_exec_ext in '' $ac_executable_extensions; do
   7221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7222     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7223     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7224     break 2
   7225   fi
   7226 done
   7227 done
   7228 IFS=$as_save_IFS
   7229 
   7230 fi
   7231 fi
   7232 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7233 if test -n "$ac_ct_DSYMUTIL"; then
   7234   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7235 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7236 else
   7237   { $as_echo "$as_me:$LINENO: result: no" >&5
   7238 $as_echo "no" >&6; }
   7239 fi
   7240 
   7241   if test "x$ac_ct_DSYMUTIL" = x; then
   7242     DSYMUTIL=":"
   7243   else
   7244     case $cross_compiling:$ac_tool_warned in
   7245 yes:)
   7246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7248 ac_tool_warned=yes ;;
   7249 esac
   7250     DSYMUTIL=$ac_ct_DSYMUTIL
   7251   fi
   7252 else
   7253   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7254 fi
   7255 
   7256     if test -n "$ac_tool_prefix"; then
   7257   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7258 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7260 $as_echo_n "checking for $ac_word... " >&6; }
   7261 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7262   $as_echo_n "(cached) " >&6
   7263 else
   7264   if test -n "$NMEDIT"; then
   7265   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7266 else
   7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7268 for as_dir in $PATH
   7269 do
   7270   IFS=$as_save_IFS
   7271   test -z "$as_dir" && as_dir=.
   7272   for ac_exec_ext in '' $ac_executable_extensions; do
   7273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7274     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7275     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7276     break 2
   7277   fi
   7278 done
   7279 done
   7280 IFS=$as_save_IFS
   7281 
   7282 fi
   7283 fi
   7284 NMEDIT=$ac_cv_prog_NMEDIT
   7285 if test -n "$NMEDIT"; then
   7286   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7287 $as_echo "$NMEDIT" >&6; }
   7288 else
   7289   { $as_echo "$as_me:$LINENO: result: no" >&5
   7290 $as_echo "no" >&6; }
   7291 fi
   7292 
   7293 
   7294 fi
   7295 if test -z "$ac_cv_prog_NMEDIT"; then
   7296   ac_ct_NMEDIT=$NMEDIT
   7297   # Extract the first word of "nmedit", so it can be a program name with args.
   7298 set dummy nmedit; ac_word=$2
   7299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7300 $as_echo_n "checking for $ac_word... " >&6; }
   7301 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   if test -n "$ac_ct_NMEDIT"; then
   7305   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7306 else
   7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7308 for as_dir in $PATH
   7309 do
   7310   IFS=$as_save_IFS
   7311   test -z "$as_dir" && as_dir=.
   7312   for ac_exec_ext in '' $ac_executable_extensions; do
   7313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7314     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7315     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7316     break 2
   7317   fi
   7318 done
   7319 done
   7320 IFS=$as_save_IFS
   7321 
   7322 fi
   7323 fi
   7324 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7325 if test -n "$ac_ct_NMEDIT"; then
   7326   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7327 $as_echo "$ac_ct_NMEDIT" >&6; }
   7328 else
   7329   { $as_echo "$as_me:$LINENO: result: no" >&5
   7330 $as_echo "no" >&6; }
   7331 fi
   7332 
   7333   if test "x$ac_ct_NMEDIT" = x; then
   7334     NMEDIT=":"
   7335   else
   7336     case $cross_compiling:$ac_tool_warned in
   7337 yes:)
   7338 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7340 ac_tool_warned=yes ;;
   7341 esac
   7342     NMEDIT=$ac_ct_NMEDIT
   7343   fi
   7344 else
   7345   NMEDIT="$ac_cv_prog_NMEDIT"
   7346 fi
   7347 
   7348     if test -n "$ac_tool_prefix"; then
   7349   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7350 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7352 $as_echo_n "checking for $ac_word... " >&6; }
   7353 if test "${ac_cv_prog_LIPO+set}" = set; then
   7354   $as_echo_n "(cached) " >&6
   7355 else
   7356   if test -n "$LIPO"; then
   7357   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7358 else
   7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7360 for as_dir in $PATH
   7361 do
   7362   IFS=$as_save_IFS
   7363   test -z "$as_dir" && as_dir=.
   7364   for ac_exec_ext in '' $ac_executable_extensions; do
   7365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7366     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7367     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7368     break 2
   7369   fi
   7370 done
   7371 done
   7372 IFS=$as_save_IFS
   7373 
   7374 fi
   7375 fi
   7376 LIPO=$ac_cv_prog_LIPO
   7377 if test -n "$LIPO"; then
   7378   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   7379 $as_echo "$LIPO" >&6; }
   7380 else
   7381   { $as_echo "$as_me:$LINENO: result: no" >&5
   7382 $as_echo "no" >&6; }
   7383 fi
   7384 
   7385 
   7386 fi
   7387 if test -z "$ac_cv_prog_LIPO"; then
   7388   ac_ct_LIPO=$LIPO
   7389   # Extract the first word of "lipo", so it can be a program name with args.
   7390 set dummy lipo; ac_word=$2
   7391 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7392 $as_echo_n "checking for $ac_word... " >&6; }
   7393 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   if test -n "$ac_ct_LIPO"; then
   7397   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7398 else
   7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7400 for as_dir in $PATH
   7401 do
   7402   IFS=$as_save_IFS
   7403   test -z "$as_dir" && as_dir=.
   7404   for ac_exec_ext in '' $ac_executable_extensions; do
   7405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7406     ac_cv_prog_ac_ct_LIPO="lipo"
   7407     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7408     break 2
   7409   fi
   7410 done
   7411 done
   7412 IFS=$as_save_IFS
   7413 
   7414 fi
   7415 fi
   7416 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7417 if test -n "$ac_ct_LIPO"; then
   7418   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   7419 $as_echo "$ac_ct_LIPO" >&6; }
   7420 else
   7421   { $as_echo "$as_me:$LINENO: result: no" >&5
   7422 $as_echo "no" >&6; }
   7423 fi
   7424 
   7425   if test "x$ac_ct_LIPO" = x; then
   7426     LIPO=":"
   7427   else
   7428     case $cross_compiling:$ac_tool_warned in
   7429 yes:)
   7430 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7432 ac_tool_warned=yes ;;
   7433 esac
   7434     LIPO=$ac_ct_LIPO
   7435   fi
   7436 else
   7437   LIPO="$ac_cv_prog_LIPO"
   7438 fi
   7439 
   7440     if test -n "$ac_tool_prefix"; then
   7441   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7442 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7444 $as_echo_n "checking for $ac_word... " >&6; }
   7445 if test "${ac_cv_prog_OTOOL+set}" = set; then
   7446   $as_echo_n "(cached) " >&6
   7447 else
   7448   if test -n "$OTOOL"; then
   7449   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7450 else
   7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7452 for as_dir in $PATH
   7453 do
   7454   IFS=$as_save_IFS
   7455   test -z "$as_dir" && as_dir=.
   7456   for ac_exec_ext in '' $ac_executable_extensions; do
   7457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7458     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7459     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7460     break 2
   7461   fi
   7462 done
   7463 done
   7464 IFS=$as_save_IFS
   7465 
   7466 fi
   7467 fi
   7468 OTOOL=$ac_cv_prog_OTOOL
   7469 if test -n "$OTOOL"; then
   7470   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   7471 $as_echo "$OTOOL" >&6; }
   7472 else
   7473   { $as_echo "$as_me:$LINENO: result: no" >&5
   7474 $as_echo "no" >&6; }
   7475 fi
   7476 
   7477 
   7478 fi
   7479 if test -z "$ac_cv_prog_OTOOL"; then
   7480   ac_ct_OTOOL=$OTOOL
   7481   # Extract the first word of "otool", so it can be a program name with args.
   7482 set dummy otool; ac_word=$2
   7483 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7484 $as_echo_n "checking for $ac_word... " >&6; }
   7485 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   7486   $as_echo_n "(cached) " >&6
   7487 else
   7488   if test -n "$ac_ct_OTOOL"; then
   7489   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7490 else
   7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7492 for as_dir in $PATH
   7493 do
   7494   IFS=$as_save_IFS
   7495   test -z "$as_dir" && as_dir=.
   7496   for ac_exec_ext in '' $ac_executable_extensions; do
   7497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7498     ac_cv_prog_ac_ct_OTOOL="otool"
   7499     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7500     break 2
   7501   fi
   7502 done
   7503 done
   7504 IFS=$as_save_IFS
   7505 
   7506 fi
   7507 fi
   7508 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7509 if test -n "$ac_ct_OTOOL"; then
   7510   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   7511 $as_echo "$ac_ct_OTOOL" >&6; }
   7512 else
   7513   { $as_echo "$as_me:$LINENO: result: no" >&5
   7514 $as_echo "no" >&6; }
   7515 fi
   7516 
   7517   if test "x$ac_ct_OTOOL" = x; then
   7518     OTOOL=":"
   7519   else
   7520     case $cross_compiling:$ac_tool_warned in
   7521 yes:)
   7522 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7524 ac_tool_warned=yes ;;
   7525 esac
   7526     OTOOL=$ac_ct_OTOOL
   7527   fi
   7528 else
   7529   OTOOL="$ac_cv_prog_OTOOL"
   7530 fi
   7531 
   7532     if test -n "$ac_tool_prefix"; then
   7533   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7534 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7536 $as_echo_n "checking for $ac_word... " >&6; }
   7537 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   if test -n "$OTOOL64"; then
   7541   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7542 else
   7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7544 for as_dir in $PATH
   7545 do
   7546   IFS=$as_save_IFS
   7547   test -z "$as_dir" && as_dir=.
   7548   for ac_exec_ext in '' $ac_executable_extensions; do
   7549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7550     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7551     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7552     break 2
   7553   fi
   7554 done
   7555 done
   7556 IFS=$as_save_IFS
   7557 
   7558 fi
   7559 fi
   7560 OTOOL64=$ac_cv_prog_OTOOL64
   7561 if test -n "$OTOOL64"; then
   7562   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   7563 $as_echo "$OTOOL64" >&6; }
   7564 else
   7565   { $as_echo "$as_me:$LINENO: result: no" >&5
   7566 $as_echo "no" >&6; }
   7567 fi
   7568 
   7569 
   7570 fi
   7571 if test -z "$ac_cv_prog_OTOOL64"; then
   7572   ac_ct_OTOOL64=$OTOOL64
   7573   # Extract the first word of "otool64", so it can be a program name with args.
   7574 set dummy otool64; ac_word=$2
   7575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7576 $as_echo_n "checking for $ac_word... " >&6; }
   7577 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   7578   $as_echo_n "(cached) " >&6
   7579 else
   7580   if test -n "$ac_ct_OTOOL64"; then
   7581   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7582 else
   7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7584 for as_dir in $PATH
   7585 do
   7586   IFS=$as_save_IFS
   7587   test -z "$as_dir" && as_dir=.
   7588   for ac_exec_ext in '' $ac_executable_extensions; do
   7589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7590     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7591     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7592     break 2
   7593   fi
   7594 done
   7595 done
   7596 IFS=$as_save_IFS
   7597 
   7598 fi
   7599 fi
   7600 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7601 if test -n "$ac_ct_OTOOL64"; then
   7602   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   7603 $as_echo "$ac_ct_OTOOL64" >&6; }
   7604 else
   7605   { $as_echo "$as_me:$LINENO: result: no" >&5
   7606 $as_echo "no" >&6; }
   7607 fi
   7608 
   7609   if test "x$ac_ct_OTOOL64" = x; then
   7610     OTOOL64=":"
   7611   else
   7612     case $cross_compiling:$ac_tool_warned in
   7613 yes:)
   7614 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7616 ac_tool_warned=yes ;;
   7617 esac
   7618     OTOOL64=$ac_ct_OTOOL64
   7619   fi
   7620 else
   7621   OTOOL64="$ac_cv_prog_OTOOL64"
   7622 fi
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7651 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7652 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7653   $as_echo_n "(cached) " >&6
   7654 else
   7655   lt_cv_apple_cc_single_mod=no
   7656       if test -z "${LT_MULTI_MODULE}"; then
   7657 	# By default we will add the -single_module flag. You can override
   7658 	# by either setting the environment variable LT_MULTI_MODULE
   7659 	# non-empty at configure time, or by adding -multi_module to the
   7660 	# link flags.
   7661 	rm -rf libconftest.dylib*
   7662 	echo "int foo(void){return 1;}" > conftest.c
   7663 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7664 -dynamiclib -Wl,-single_module conftest.c" >&5
   7665 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7666 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7667         _lt_result=$?
   7668 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7669 	  lt_cv_apple_cc_single_mod=yes
   7670 	else
   7671 	  cat conftest.err >&5
   7672 	fi
   7673 	rm -rf libconftest.dylib*
   7674 	rm -f conftest.*
   7675       fi
   7676 fi
   7677 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7678 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7679     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7680 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7681 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7682   $as_echo_n "(cached) " >&6
   7683 else
   7684   lt_cv_ld_exported_symbols_list=no
   7685       save_LDFLAGS=$LDFLAGS
   7686       echo "_main" > conftest.sym
   7687       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7688       cat >conftest.$ac_ext <<_ACEOF
   7689 /* confdefs.h.  */
   7690 _ACEOF
   7691 cat confdefs.h >>conftest.$ac_ext
   7692 cat >>conftest.$ac_ext <<_ACEOF
   7693 /* end confdefs.h.  */
   7694 
   7695 int
   7696 main ()
   7697 {
   7698 
   7699   ;
   7700   return 0;
   7701 }
   7702 _ACEOF
   7703 rm -f conftest.$ac_objext conftest$ac_exeext
   7704 if { (ac_try="$ac_link"
   7705 case "(($ac_try" in
   7706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7707   *) ac_try_echo=$ac_try;;
   7708 esac
   7709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7710 $as_echo "$ac_try_echo") >&5
   7711   (eval "$ac_link") 2>conftest.er1
   7712   ac_status=$?
   7713   grep -v '^ *+' conftest.er1 >conftest.err
   7714   rm -f conftest.er1
   7715   cat conftest.err >&5
   7716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7717   (exit $ac_status); } && {
   7718 	 test -z "$ac_c_werror_flag" ||
   7719 	 test ! -s conftest.err
   7720        } && test -s conftest$ac_exeext && {
   7721 	 test "$cross_compiling" = yes ||
   7722 	 $as_test_x conftest$ac_exeext
   7723        }; then
   7724   lt_cv_ld_exported_symbols_list=yes
   7725 else
   7726   $as_echo "$as_me: failed program was:" >&5
   7727 sed 's/^/| /' conftest.$ac_ext >&5
   7728 
   7729 	lt_cv_ld_exported_symbols_list=no
   7730 fi
   7731 
   7732 rm -rf conftest.dSYM
   7733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7734       conftest$ac_exeext conftest.$ac_ext
   7735 	LDFLAGS="$save_LDFLAGS"
   7736 
   7737 fi
   7738 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7739 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7740     case $host_os in
   7741     rhapsody* | darwin1.[012])
   7742       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7743     darwin1.*)
   7744       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7745     darwin*) # darwin 5.x on
   7746       # if running on 10.5 or later, the deployment target defaults
   7747       # to the OS version, if on x86, and 10.4, the deployment
   7748       # target defaults to 10.4. Don't you love it?
   7749       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7750 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7751 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7752 	10.[012]*)
   7753 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7754 	10.*)
   7755 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7756       esac
   7757     ;;
   7758   esac
   7759     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7760       _lt_dar_single_mod='$single_module'
   7761     fi
   7762     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7763       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7764     else
   7765       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7766     fi
   7767     if test "$DSYMUTIL" != ":"; then
   7768       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7769     else
   7770       _lt_dsymutil=
   7771     fi
   7772     ;;
   7773   esac
   7774 
   7775 
   7776 for ac_header in dlfcn.h
   7777 do
   7778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7779 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   7780 $as_echo_n "checking for $ac_header... " >&6; }
   7781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7782   $as_echo_n "(cached) " >&6
   7783 else
   7784   cat >conftest.$ac_ext <<_ACEOF
   7785 /* confdefs.h.  */
   7786 _ACEOF
   7787 cat confdefs.h >>conftest.$ac_ext
   7788 cat >>conftest.$ac_ext <<_ACEOF
   7789 /* end confdefs.h.  */
   7790 $ac_includes_default
   7791 
   7792 #include <$ac_header>
   7793 _ACEOF
   7794 rm -f conftest.$ac_objext
   7795 if { (ac_try="$ac_compile"
   7796 case "(($ac_try" in
   7797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7798   *) ac_try_echo=$ac_try;;
   7799 esac
   7800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7801 $as_echo "$ac_try_echo") >&5
   7802   (eval "$ac_compile") 2>conftest.er1
   7803   ac_status=$?
   7804   grep -v '^ *+' conftest.er1 >conftest.err
   7805   rm -f conftest.er1
   7806   cat conftest.err >&5
   7807   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7808   (exit $ac_status); } && {
   7809 	 test -z "$ac_c_werror_flag" ||
   7810 	 test ! -s conftest.err
   7811        } && test -s conftest.$ac_objext; then
   7812   eval "$as_ac_Header=yes"
   7813 else
   7814   $as_echo "$as_me: failed program was:" >&5
   7815 sed 's/^/| /' conftest.$ac_ext >&5
   7816 
   7817 	eval "$as_ac_Header=no"
   7818 fi
   7819 
   7820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7821 fi
   7822 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7823 		 $as_echo "$as_val"'`
   7824 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7825 $as_echo "$ac_res" >&6; }
   7826 as_val=`eval 'as_val=${'$as_ac_Header'}
   7827 		 $as_echo "$as_val"'`
   7828    if test "x$as_val" = x""yes; then
   7829   cat >>confdefs.h <<_ACEOF
   7830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7831 _ACEOF
   7832 
   7833 fi
   7834 
   7835 done
   7836 
   7837 
   7838 
   7839 # Set options
   7840 
   7841 
   7842 
   7843         enable_dlopen=no
   7844 
   7845 
   7846   enable_win32_dll=no
   7847 
   7848 
   7849             # Check whether --enable-shared was given.
   7850 if test "${enable_shared+set}" = set; then
   7851   enableval=$enable_shared; p=${PACKAGE-default}
   7852     case $enableval in
   7853     yes) enable_shared=yes ;;
   7854     no) enable_shared=no ;;
   7855     *)
   7856       enable_shared=no
   7857       # Look at the argument we got.  We use all the common list separators.
   7858       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7859       for pkg in $enableval; do
   7860 	IFS="$lt_save_ifs"
   7861 	if test "X$pkg" = "X$p"; then
   7862 	  enable_shared=yes
   7863 	fi
   7864       done
   7865       IFS="$lt_save_ifs"
   7866       ;;
   7867     esac
   7868 else
   7869   enable_shared=yes
   7870 fi
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 # Check whether --with-pic was given.
   7883 if test "${with_pic+set}" = set; then
   7884   withval=$with_pic; pic_mode="$withval"
   7885 else
   7886   pic_mode=default
   7887 fi
   7888 
   7889 
   7890 test -z "$pic_mode" && pic_mode=default
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898   # Check whether --enable-fast-install was given.
   7899 if test "${enable_fast_install+set}" = set; then
   7900   enableval=$enable_fast_install; p=${PACKAGE-default}
   7901     case $enableval in
   7902     yes) enable_fast_install=yes ;;
   7903     no) enable_fast_install=no ;;
   7904     *)
   7905       enable_fast_install=no
   7906       # Look at the argument we got.  We use all the common list separators.
   7907       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7908       for pkg in $enableval; do
   7909 	IFS="$lt_save_ifs"
   7910 	if test "X$pkg" = "X$p"; then
   7911 	  enable_fast_install=yes
   7912 	fi
   7913       done
   7914       IFS="$lt_save_ifs"
   7915       ;;
   7916     esac
   7917 else
   7918   enable_fast_install=yes
   7919 fi
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 # This can be used to rebuild libtool when needed
   7932 LIBTOOL_DEPS="$ltmain"
   7933 
   7934 # Always use our own libtool.
   7935 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 test -z "$LN_S" && LN_S="ln -s"
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 if test -n "${ZSH_VERSION+set}" ; then
   7977    setopt NO_GLOB_SUBST
   7978 fi
   7979 
   7980 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7981 $as_echo_n "checking for objdir... " >&6; }
   7982 if test "${lt_cv_objdir+set}" = set; then
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   rm -f .libs 2>/dev/null
   7986 mkdir .libs 2>/dev/null
   7987 if test -d .libs; then
   7988   lt_cv_objdir=.libs
   7989 else
   7990   # MS-DOS does not allow filenames that begin with a dot.
   7991   lt_cv_objdir=_libs
   7992 fi
   7993 rmdir .libs 2>/dev/null
   7994 fi
   7995 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7996 $as_echo "$lt_cv_objdir" >&6; }
   7997 objdir=$lt_cv_objdir
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 cat >>confdefs.h <<_ACEOF
   8004 #define LT_OBJDIR "$lt_cv_objdir/"
   8005 _ACEOF
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 case $host_os in
   8024 aix3*)
   8025   # AIX sometimes has problems with the GCC collect2 program.  For some
   8026   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8027   # vanish in a puff of smoke.
   8028   if test "X${COLLECT_NAMES+set}" != Xset; then
   8029     COLLECT_NAMES=
   8030     export COLLECT_NAMES
   8031   fi
   8032   ;;
   8033 esac
   8034 
   8035 # Sed substitution that helps us do robust quoting.  It backslashifies
   8036 # metacharacters that are still active within double-quoted strings.
   8037 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8038 
   8039 # Same as above, but do not quote variable references.
   8040 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8041 
   8042 # Sed substitution to delay expansion of an escaped shell variable in a
   8043 # double_quote_subst'ed string.
   8044 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8045 
   8046 # Sed substitution to delay expansion of an escaped single quote.
   8047 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8048 
   8049 # Sed substitution to avoid accidental globbing in evaled expressions
   8050 no_glob_subst='s/\*/\\\*/g'
   8051 
   8052 # Global variables:
   8053 ofile=libtool
   8054 can_build_shared=yes
   8055 
   8056 # All known linkers require a `.a' archive for static linking (except MSVC,
   8057 # which needs '.lib').
   8058 libext=a
   8059 
   8060 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8061 
   8062 old_CC="$CC"
   8063 old_CFLAGS="$CFLAGS"
   8064 
   8065 # Set sane defaults for various variables
   8066 test -z "$CC" && CC=cc
   8067 test -z "$LTCC" && LTCC=$CC
   8068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8069 test -z "$LD" && LD=ld
   8070 test -z "$ac_objext" && ac_objext=o
   8071 
   8072 for cc_temp in $compiler""; do
   8073   case $cc_temp in
   8074     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8075     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8076     \-*) ;;
   8077     *) break;;
   8078   esac
   8079 done
   8080 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8081 
   8082 
   8083 # Only perform the check for file, if the check method requires it
   8084 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8085 case $deplibs_check_method in
   8086 file_magic*)
   8087   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8088     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   8089 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8090 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8091   $as_echo_n "(cached) " >&6
   8092 else
   8093   case $MAGIC_CMD in
   8094 [\\/*] |  ?:[\\/]*)
   8095   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8096   ;;
   8097 *)
   8098   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8099   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8100   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8101   for ac_dir in $ac_dummy; do
   8102     IFS="$lt_save_ifs"
   8103     test -z "$ac_dir" && ac_dir=.
   8104     if test -f $ac_dir/${ac_tool_prefix}file; then
   8105       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8106       if test -n "$file_magic_test_file"; then
   8107 	case $deplibs_check_method in
   8108 	"file_magic "*)
   8109 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8110 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8111 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8112 	    $EGREP "$file_magic_regex" > /dev/null; then
   8113 	    :
   8114 	  else
   8115 	    cat <<_LT_EOF 1>&2
   8116 
   8117 *** Warning: the command libtool uses to detect shared libraries,
   8118 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8119 *** The result is that libtool may fail to recognize shared libraries
   8120 *** as such.  This will affect the creation of libtool libraries that
   8121 *** depend on shared libraries, but programs linked with such libtool
   8122 *** libraries will work regardless of this problem.  Nevertheless, you
   8123 *** may want to report the problem to your system manager and/or to
   8124 *** bug-libtool@gnu.org
   8125 
   8126 _LT_EOF
   8127 	  fi ;;
   8128 	esac
   8129       fi
   8130       break
   8131     fi
   8132   done
   8133   IFS="$lt_save_ifs"
   8134   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8135   ;;
   8136 esac
   8137 fi
   8138 
   8139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8140 if test -n "$MAGIC_CMD"; then
   8141   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8142 $as_echo "$MAGIC_CMD" >&6; }
   8143 else
   8144   { $as_echo "$as_me:$LINENO: result: no" >&5
   8145 $as_echo "no" >&6; }
   8146 fi
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8153   if test -n "$ac_tool_prefix"; then
   8154     { $as_echo "$as_me:$LINENO: checking for file" >&5
   8155 $as_echo_n "checking for file... " >&6; }
   8156 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   case $MAGIC_CMD in
   8160 [\\/*] |  ?:[\\/]*)
   8161   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8162   ;;
   8163 *)
   8164   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8165   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8166   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8167   for ac_dir in $ac_dummy; do
   8168     IFS="$lt_save_ifs"
   8169     test -z "$ac_dir" && ac_dir=.
   8170     if test -f $ac_dir/file; then
   8171       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8172       if test -n "$file_magic_test_file"; then
   8173 	case $deplibs_check_method in
   8174 	"file_magic "*)
   8175 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8176 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8177 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8178 	    $EGREP "$file_magic_regex" > /dev/null; then
   8179 	    :
   8180 	  else
   8181 	    cat <<_LT_EOF 1>&2
   8182 
   8183 *** Warning: the command libtool uses to detect shared libraries,
   8184 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8185 *** The result is that libtool may fail to recognize shared libraries
   8186 *** as such.  This will affect the creation of libtool libraries that
   8187 *** depend on shared libraries, but programs linked with such libtool
   8188 *** libraries will work regardless of this problem.  Nevertheless, you
   8189 *** may want to report the problem to your system manager and/or to
   8190 *** bug-libtool@gnu.org
   8191 
   8192 _LT_EOF
   8193 	  fi ;;
   8194 	esac
   8195       fi
   8196       break
   8197     fi
   8198   done
   8199   IFS="$lt_save_ifs"
   8200   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8201   ;;
   8202 esac
   8203 fi
   8204 
   8205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8206 if test -n "$MAGIC_CMD"; then
   8207   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8208 $as_echo "$MAGIC_CMD" >&6; }
   8209 else
   8210   { $as_echo "$as_me:$LINENO: result: no" >&5
   8211 $as_echo "no" >&6; }
   8212 fi
   8213 
   8214 
   8215   else
   8216     MAGIC_CMD=:
   8217   fi
   8218 fi
   8219 
   8220   fi
   8221   ;;
   8222 esac
   8223 
   8224 # Use C for the default configuration in the libtool script
   8225 
   8226 lt_save_CC="$CC"
   8227 ac_ext=c
   8228 ac_cpp='$CPP $CPPFLAGS'
   8229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8232 
   8233 
   8234 # Source file extension for C test sources.
   8235 ac_ext=c
   8236 
   8237 # Object file extension for compiled C test sources.
   8238 objext=o
   8239 objext=$objext
   8240 
   8241 # Code to be used in simple compile tests
   8242 lt_simple_compile_test_code="int some_variable = 0;"
   8243 
   8244 # Code to be used in simple link tests
   8245 lt_simple_link_test_code='int main(){return(0);}'
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 # If no C compiler was specified, use CC.
   8254 LTCC=${LTCC-"$CC"}
   8255 
   8256 # If no C compiler flags were specified, use CFLAGS.
   8257 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8258 
   8259 # Allow CC to be a program name with arguments.
   8260 compiler=$CC
   8261 
   8262 # Save the default compiler, since it gets overwritten when the other
   8263 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8264 compiler_DEFAULT=$CC
   8265 
   8266 # save warnings/boilerplate of simple test code
   8267 ac_outfile=conftest.$ac_objext
   8268 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8269 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8270 _lt_compiler_boilerplate=`cat conftest.err`
   8271 $RM conftest*
   8272 
   8273 ac_outfile=conftest.$ac_objext
   8274 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8275 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8276 _lt_linker_boilerplate=`cat conftest.err`
   8277 $RM -r conftest*
   8278 
   8279 
   8280 if test -n "$compiler"; then
   8281 
   8282 lt_prog_compiler_no_builtin_flag=
   8283 
   8284 if test "$GCC" = yes; then
   8285   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8286 
   8287   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8288 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8289 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   8290   $as_echo_n "(cached) " >&6
   8291 else
   8292   lt_cv_prog_compiler_rtti_exceptions=no
   8293    ac_outfile=conftest.$ac_objext
   8294    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8295    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8296    # Insert the option either (1) after the last *FLAGS variable, or
   8297    # (2) before a word containing "conftest.", or (3) at the end.
   8298    # Note that $ac_compile itself does not contain backslashes and begins
   8299    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8300    # The option is referenced via a variable to avoid confusing sed.
   8301    lt_compile=`echo "$ac_compile" | $SED \
   8302    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8303    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8304    -e 's:$: $lt_compiler_flag:'`
   8305    (eval echo "\"\$as_me:8305: $lt_compile\"" >&5)
   8306    (eval "$lt_compile" 2>conftest.err)
   8307    ac_status=$?
   8308    cat conftest.err >&5
   8309    echo "$as_me:8309: \$? = $ac_status" >&5
   8310    if (exit $ac_status) && test -s "$ac_outfile"; then
   8311      # The compiler can only warn and ignore the option if not recognized
   8312      # So say no if there are warnings other than the usual output.
   8313      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8314      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8315      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8316        lt_cv_prog_compiler_rtti_exceptions=yes
   8317      fi
   8318    fi
   8319    $RM conftest*
   8320 
   8321 fi
   8322 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8323 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8324 
   8325 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8326     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8327 else
   8328     :
   8329 fi
   8330 
   8331 fi
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338   lt_prog_compiler_wl=
   8339 lt_prog_compiler_pic=
   8340 lt_prog_compiler_static=
   8341 
   8342 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   8343 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8344 
   8345   if test "$GCC" = yes; then
   8346     lt_prog_compiler_wl='-Wl,'
   8347     lt_prog_compiler_static='-static'
   8348 
   8349     case $host_os in
   8350       aix*)
   8351       # All AIX code is PIC.
   8352       if test "$host_cpu" = ia64; then
   8353 	# AIX 5 now supports IA64 processor
   8354 	lt_prog_compiler_static='-Bstatic'
   8355       fi
   8356       ;;
   8357 
   8358     amigaos*)
   8359       case $host_cpu in
   8360       powerpc)
   8361             # see comment about AmigaOS4 .so support
   8362             lt_prog_compiler_pic='-fPIC'
   8363         ;;
   8364       m68k)
   8365             # FIXME: we need at least 68020 code to build shared libraries, but
   8366             # adding the `-m68020' flag to GCC prevents building anything better,
   8367             # like `-m68040'.
   8368             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8369         ;;
   8370       esac
   8371       ;;
   8372 
   8373     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8374       # PIC is the default for these OSes.
   8375       ;;
   8376 
   8377     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8378       # This hack is so that the source file can tell whether it is being
   8379       # built for inclusion in a dll (and should export symbols for example).
   8380       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8381       # (--disable-auto-import) libraries
   8382       lt_prog_compiler_pic='-DDLL_EXPORT'
   8383       ;;
   8384 
   8385     darwin* | rhapsody*)
   8386       # PIC is the default on this platform
   8387       # Common symbols not allowed in MH_DYLIB files
   8388       lt_prog_compiler_pic='-fno-common'
   8389       ;;
   8390 
   8391     hpux*)
   8392       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8393       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8394       # sets the default TLS model and affects inlining.
   8395       case $host_cpu in
   8396       hppa*64*)
   8397 	# +Z the default
   8398 	;;
   8399       *)
   8400 	lt_prog_compiler_pic='-fPIC'
   8401 	;;
   8402       esac
   8403       ;;
   8404 
   8405     interix[3-9]*)
   8406       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8407       # Instead, we relocate shared libraries at runtime.
   8408       ;;
   8409 
   8410     msdosdjgpp*)
   8411       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8412       # on systems that don't support them.
   8413       lt_prog_compiler_can_build_shared=no
   8414       enable_shared=no
   8415       ;;
   8416 
   8417     *nto* | *qnx*)
   8418       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8419       # it will coredump.
   8420       lt_prog_compiler_pic='-fPIC -shared'
   8421       ;;
   8422 
   8423     sysv4*MP*)
   8424       if test -d /usr/nec; then
   8425 	lt_prog_compiler_pic=-Kconform_pic
   8426       fi
   8427       ;;
   8428 
   8429     *)
   8430       lt_prog_compiler_pic='-fPIC'
   8431       ;;
   8432     esac
   8433   else
   8434     # PORTME Check for flag to pass linker flags through the system compiler.
   8435     case $host_os in
   8436     aix*)
   8437       lt_prog_compiler_wl='-Wl,'
   8438       if test "$host_cpu" = ia64; then
   8439 	# AIX 5 now supports IA64 processor
   8440 	lt_prog_compiler_static='-Bstatic'
   8441       else
   8442 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8443       fi
   8444       ;;
   8445 
   8446     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8447       # This hack is so that the source file can tell whether it is being
   8448       # built for inclusion in a dll (and should export symbols for example).
   8449       lt_prog_compiler_pic='-DDLL_EXPORT'
   8450       ;;
   8451 
   8452     hpux9* | hpux10* | hpux11*)
   8453       lt_prog_compiler_wl='-Wl,'
   8454       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8455       # not for PA HP-UX.
   8456       case $host_cpu in
   8457       hppa*64*|ia64*)
   8458 	# +Z the default
   8459 	;;
   8460       *)
   8461 	lt_prog_compiler_pic='+Z'
   8462 	;;
   8463       esac
   8464       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8465       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8466       ;;
   8467 
   8468     irix5* | irix6* | nonstopux*)
   8469       lt_prog_compiler_wl='-Wl,'
   8470       # PIC (with -KPIC) is the default.
   8471       lt_prog_compiler_static='-non_shared'
   8472       ;;
   8473 
   8474     linux* | k*bsd*-gnu)
   8475       case $cc_basename in
   8476       # old Intel for x86_64 which still supported -KPIC.
   8477       ecc*)
   8478 	lt_prog_compiler_wl='-Wl,'
   8479 	lt_prog_compiler_pic='-KPIC'
   8480 	lt_prog_compiler_static='-static'
   8481         ;;
   8482       # icc used to be incompatible with GCC.
   8483       # ICC 10 doesn't accept -KPIC any more.
   8484       icc* | ifort*)
   8485 	lt_prog_compiler_wl='-Wl,'
   8486 	lt_prog_compiler_pic='-fPIC'
   8487 	lt_prog_compiler_static='-static'
   8488         ;;
   8489       # Lahey Fortran 8.1.
   8490       lf95*)
   8491 	lt_prog_compiler_wl='-Wl,'
   8492 	lt_prog_compiler_pic='--shared'
   8493 	lt_prog_compiler_static='--static'
   8494 	;;
   8495       pgcc* | pgf77* | pgf90* | pgf95*)
   8496         # Portland Group compilers (*not* the Pentium gcc compiler,
   8497 	# which looks to be a dead project)
   8498 	lt_prog_compiler_wl='-Wl,'
   8499 	lt_prog_compiler_pic='-fpic'
   8500 	lt_prog_compiler_static='-Bstatic'
   8501         ;;
   8502       ccc*)
   8503         lt_prog_compiler_wl='-Wl,'
   8504         # All Alpha code is PIC.
   8505         lt_prog_compiler_static='-non_shared'
   8506         ;;
   8507       xl*)
   8508 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8509 	lt_prog_compiler_wl='-Wl,'
   8510 	lt_prog_compiler_pic='-qpic'
   8511 	lt_prog_compiler_static='-qstaticlink'
   8512 	;;
   8513       *)
   8514 	case `$CC -V 2>&1 | sed 5q` in
   8515 	*Sun\ C*)
   8516 	  # Sun C 5.9
   8517 	  lt_prog_compiler_pic='-KPIC'
   8518 	  lt_prog_compiler_static='-Bstatic'
   8519 	  lt_prog_compiler_wl='-Wl,'
   8520 	  ;;
   8521 	*Sun\ F*)
   8522 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8523 	  lt_prog_compiler_pic='-KPIC'
   8524 	  lt_prog_compiler_static='-Bstatic'
   8525 	  lt_prog_compiler_wl=''
   8526 	  ;;
   8527 	esac
   8528 	;;
   8529       esac
   8530       ;;
   8531 
   8532     newsos6)
   8533       lt_prog_compiler_pic='-KPIC'
   8534       lt_prog_compiler_static='-Bstatic'
   8535       ;;
   8536 
   8537     *nto* | *qnx*)
   8538       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8539       # it will coredump.
   8540       lt_prog_compiler_pic='-fPIC -shared'
   8541       ;;
   8542 
   8543     osf3* | osf4* | osf5*)
   8544       lt_prog_compiler_wl='-Wl,'
   8545       # All OSF/1 code is PIC.
   8546       lt_prog_compiler_static='-non_shared'
   8547       ;;
   8548 
   8549     rdos*)
   8550       lt_prog_compiler_static='-non_shared'
   8551       ;;
   8552 
   8553     solaris*)
   8554       lt_prog_compiler_pic='-KPIC'
   8555       lt_prog_compiler_static='-Bstatic'
   8556       case $cc_basename in
   8557       f77* | f90* | f95*)
   8558 	lt_prog_compiler_wl='-Qoption ld ';;
   8559       *)
   8560 	lt_prog_compiler_wl='-Wl,';;
   8561       esac
   8562       ;;
   8563 
   8564     sunos4*)
   8565       lt_prog_compiler_wl='-Qoption ld '
   8566       lt_prog_compiler_pic='-PIC'
   8567       lt_prog_compiler_static='-Bstatic'
   8568       ;;
   8569 
   8570     sysv4 | sysv4.2uw2* | sysv4.3*)
   8571       lt_prog_compiler_wl='-Wl,'
   8572       lt_prog_compiler_pic='-KPIC'
   8573       lt_prog_compiler_static='-Bstatic'
   8574       ;;
   8575 
   8576     sysv4*MP*)
   8577       if test -d /usr/nec ;then
   8578 	lt_prog_compiler_pic='-Kconform_pic'
   8579 	lt_prog_compiler_static='-Bstatic'
   8580       fi
   8581       ;;
   8582 
   8583     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8584       lt_prog_compiler_wl='-Wl,'
   8585       lt_prog_compiler_pic='-KPIC'
   8586       lt_prog_compiler_static='-Bstatic'
   8587       ;;
   8588 
   8589     unicos*)
   8590       lt_prog_compiler_wl='-Wl,'
   8591       lt_prog_compiler_can_build_shared=no
   8592       ;;
   8593 
   8594     uts4*)
   8595       lt_prog_compiler_pic='-pic'
   8596       lt_prog_compiler_static='-Bstatic'
   8597       ;;
   8598 
   8599     *)
   8600       lt_prog_compiler_can_build_shared=no
   8601       ;;
   8602     esac
   8603   fi
   8604 
   8605 case $host_os in
   8606   # For platforms which do not support PIC, -DPIC is meaningless:
   8607   *djgpp*)
   8608     lt_prog_compiler_pic=
   8609     ;;
   8610   *)
   8611     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8612     ;;
   8613 esac
   8614 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8615 $as_echo "$lt_prog_compiler_pic" >&6; }
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 #
   8623 # Check to make sure the PIC flag actually works.
   8624 #
   8625 if test -n "$lt_prog_compiler_pic"; then
   8626   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8627 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8628 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8629   $as_echo_n "(cached) " >&6
   8630 else
   8631   lt_cv_prog_compiler_pic_works=no
   8632    ac_outfile=conftest.$ac_objext
   8633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8634    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8635    # Insert the option either (1) after the last *FLAGS variable, or
   8636    # (2) before a word containing "conftest.", or (3) at the end.
   8637    # Note that $ac_compile itself does not contain backslashes and begins
   8638    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8639    # The option is referenced via a variable to avoid confusing sed.
   8640    lt_compile=`echo "$ac_compile" | $SED \
   8641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8643    -e 's:$: $lt_compiler_flag:'`
   8644    (eval echo "\"\$as_me:8644: $lt_compile\"" >&5)
   8645    (eval "$lt_compile" 2>conftest.err)
   8646    ac_status=$?
   8647    cat conftest.err >&5
   8648    echo "$as_me:8648: \$? = $ac_status" >&5
   8649    if (exit $ac_status) && test -s "$ac_outfile"; then
   8650      # The compiler can only warn and ignore the option if not recognized
   8651      # So say no if there are warnings other than the usual output.
   8652      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8655        lt_cv_prog_compiler_pic_works=yes
   8656      fi
   8657    fi
   8658    $RM conftest*
   8659 
   8660 fi
   8661 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8662 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8663 
   8664 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8665     case $lt_prog_compiler_pic in
   8666      "" | " "*) ;;
   8667      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8668      esac
   8669 else
   8670     lt_prog_compiler_pic=
   8671      lt_prog_compiler_can_build_shared=no
   8672 fi
   8673 
   8674 fi
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 #
   8682 # Check to make sure the static flag actually works.
   8683 #
   8684 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8685 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8686 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8687 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8688   $as_echo_n "(cached) " >&6
   8689 else
   8690   lt_cv_prog_compiler_static_works=no
   8691    save_LDFLAGS="$LDFLAGS"
   8692    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8693    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8694    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8695      # The linker can only warn and ignore the option if not recognized
   8696      # So say no if there are warnings
   8697      if test -s conftest.err; then
   8698        # Append any errors to the config.log.
   8699        cat conftest.err 1>&5
   8700        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8701        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8702        if diff conftest.exp conftest.er2 >/dev/null; then
   8703          lt_cv_prog_compiler_static_works=yes
   8704        fi
   8705      else
   8706        lt_cv_prog_compiler_static_works=yes
   8707      fi
   8708    fi
   8709    $RM -r conftest*
   8710    LDFLAGS="$save_LDFLAGS"
   8711 
   8712 fi
   8713 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8714 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8715 
   8716 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8717     :
   8718 else
   8719     lt_prog_compiler_static=
   8720 fi
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8729 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8730 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8731   $as_echo_n "(cached) " >&6
   8732 else
   8733   lt_cv_prog_compiler_c_o=no
   8734    $RM -r conftest 2>/dev/null
   8735    mkdir conftest
   8736    cd conftest
   8737    mkdir out
   8738    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8739 
   8740    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8741    # Insert the option either (1) after the last *FLAGS variable, or
   8742    # (2) before a word containing "conftest.", or (3) at the end.
   8743    # Note that $ac_compile itself does not contain backslashes and begins
   8744    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8745    lt_compile=`echo "$ac_compile" | $SED \
   8746    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8747    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8748    -e 's:$: $lt_compiler_flag:'`
   8749    (eval echo "\"\$as_me:8749: $lt_compile\"" >&5)
   8750    (eval "$lt_compile" 2>out/conftest.err)
   8751    ac_status=$?
   8752    cat out/conftest.err >&5
   8753    echo "$as_me:8753: \$? = $ac_status" >&5
   8754    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8755    then
   8756      # The compiler can only warn and ignore the option if not recognized
   8757      # So say no if there are warnings
   8758      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8759      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8760      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8761        lt_cv_prog_compiler_c_o=yes
   8762      fi
   8763    fi
   8764    chmod u+w . 2>&5
   8765    $RM conftest*
   8766    # SGI C++ compiler will create directory out/ii_files/ for
   8767    # template instantiation
   8768    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8769    $RM out/* && rmdir out
   8770    cd ..
   8771    $RM -r conftest
   8772    $RM conftest*
   8773 
   8774 fi
   8775 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8776 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8784 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8785 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8786   $as_echo_n "(cached) " >&6
   8787 else
   8788   lt_cv_prog_compiler_c_o=no
   8789    $RM -r conftest 2>/dev/null
   8790    mkdir conftest
   8791    cd conftest
   8792    mkdir out
   8793    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8794 
   8795    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8796    # Insert the option either (1) after the last *FLAGS variable, or
   8797    # (2) before a word containing "conftest.", or (3) at the end.
   8798    # Note that $ac_compile itself does not contain backslashes and begins
   8799    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8800    lt_compile=`echo "$ac_compile" | $SED \
   8801    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8802    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8803    -e 's:$: $lt_compiler_flag:'`
   8804    (eval echo "\"\$as_me:8804: $lt_compile\"" >&5)
   8805    (eval "$lt_compile" 2>out/conftest.err)
   8806    ac_status=$?
   8807    cat out/conftest.err >&5
   8808    echo "$as_me:8808: \$? = $ac_status" >&5
   8809    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8810    then
   8811      # The compiler can only warn and ignore the option if not recognized
   8812      # So say no if there are warnings
   8813      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8814      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8815      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8816        lt_cv_prog_compiler_c_o=yes
   8817      fi
   8818    fi
   8819    chmod u+w . 2>&5
   8820    $RM conftest*
   8821    # SGI C++ compiler will create directory out/ii_files/ for
   8822    # template instantiation
   8823    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8824    $RM out/* && rmdir out
   8825    cd ..
   8826    $RM -r conftest
   8827    $RM conftest*
   8828 
   8829 fi
   8830 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8831 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8832 
   8833 
   8834 
   8835 
   8836 hard_links="nottested"
   8837 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8838   # do not overwrite the value of need_locks provided by the user
   8839   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8840 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8841   hard_links=yes
   8842   $RM conftest*
   8843   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8844   touch conftest.a
   8845   ln conftest.a conftest.b 2>&5 || hard_links=no
   8846   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8847   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8848 $as_echo "$hard_links" >&6; }
   8849   if test "$hard_links" = no; then
   8850     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8851 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8852     need_locks=warn
   8853   fi
   8854 else
   8855   need_locks=no
   8856 fi
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8864 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8865 
   8866   runpath_var=
   8867   allow_undefined_flag=
   8868   always_export_symbols=no
   8869   archive_cmds=
   8870   archive_expsym_cmds=
   8871   compiler_needs_object=no
   8872   enable_shared_with_static_runtimes=no
   8873   export_dynamic_flag_spec=
   8874   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8875   hardcode_automatic=no
   8876   hardcode_direct=no
   8877   hardcode_direct_absolute=no
   8878   hardcode_libdir_flag_spec=
   8879   hardcode_libdir_flag_spec_ld=
   8880   hardcode_libdir_separator=
   8881   hardcode_minus_L=no
   8882   hardcode_shlibpath_var=unsupported
   8883   inherit_rpath=no
   8884   link_all_deplibs=unknown
   8885   module_cmds=
   8886   module_expsym_cmds=
   8887   old_archive_from_new_cmds=
   8888   old_archive_from_expsyms_cmds=
   8889   thread_safe_flag_spec=
   8890   whole_archive_flag_spec=
   8891   # include_expsyms should be a list of space-separated symbols to be *always*
   8892   # included in the symbol list
   8893   include_expsyms=
   8894   # exclude_expsyms can be an extended regexp of symbols to exclude
   8895   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8896   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8897   # as well as any symbol that contains `d'.
   8898   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8899   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8900   # platforms (ab)use it in PIC code, but their linkers get confused if
   8901   # the symbol is explicitly referenced.  Since portable code cannot
   8902   # rely on this symbol name, it's probably fine to never include it in
   8903   # preloaded symbol tables.
   8904   # Exclude shared library initialization/finalization symbols.
   8905   extract_expsyms_cmds=
   8906 
   8907   case $host_os in
   8908   cygwin* | mingw* | pw32* | cegcc*)
   8909     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8910     # When not using gcc, we currently assume that we are using
   8911     # Microsoft Visual C++.
   8912     if test "$GCC" != yes; then
   8913       with_gnu_ld=no
   8914     fi
   8915     ;;
   8916   interix*)
   8917     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8918     with_gnu_ld=yes
   8919     ;;
   8920   openbsd*)
   8921     with_gnu_ld=no
   8922     ;;
   8923   esac
   8924 
   8925   ld_shlibs=yes
   8926   if test "$with_gnu_ld" = yes; then
   8927     # If archive_cmds runs LD, not CC, wlarc should be empty
   8928     wlarc='${wl}'
   8929 
   8930     # Set some defaults for GNU ld with shared library support. These
   8931     # are reset later if shared libraries are not supported. Putting them
   8932     # here allows them to be overridden if necessary.
   8933     runpath_var=LD_RUN_PATH
   8934     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8935     export_dynamic_flag_spec='${wl}--export-dynamic'
   8936     # ancient GNU ld didn't support --whole-archive et. al.
   8937     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8938       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8939     else
   8940       whole_archive_flag_spec=
   8941     fi
   8942     supports_anon_versioning=no
   8943     case `$LD -v 2>&1` in
   8944       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8945       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8946       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8947       *\ 2.11.*) ;; # other 2.11 versions
   8948       *) supports_anon_versioning=yes ;;
   8949     esac
   8950 
   8951     # See if GNU ld supports shared libraries.
   8952     case $host_os in
   8953     aix[3-9]*)
   8954       # On AIX/PPC, the GNU linker is very broken
   8955       if test "$host_cpu" != ia64; then
   8956 	ld_shlibs=no
   8957 	cat <<_LT_EOF 1>&2
   8958 
   8959 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8960 *** to be unable to reliably create shared libraries on AIX.
   8961 *** Therefore, libtool is disabling shared libraries support.  If you
   8962 *** really care for shared libraries, you may want to modify your PATH
   8963 *** so that a non-GNU linker is found, and then restart.
   8964 
   8965 _LT_EOF
   8966       fi
   8967       ;;
   8968 
   8969     amigaos*)
   8970       case $host_cpu in
   8971       powerpc)
   8972             # see comment about AmigaOS4 .so support
   8973             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8974             archive_expsym_cmds=''
   8975         ;;
   8976       m68k)
   8977             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)'
   8978             hardcode_libdir_flag_spec='-L$libdir'
   8979             hardcode_minus_L=yes
   8980         ;;
   8981       esac
   8982       ;;
   8983 
   8984     beos*)
   8985       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8986 	allow_undefined_flag=unsupported
   8987 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8988 	# support --undefined.  This deserves some investigation.  FIXME
   8989 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8990       else
   8991 	ld_shlibs=no
   8992       fi
   8993       ;;
   8994 
   8995     cygwin* | mingw* | pw32* | cegcc*)
   8996       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8997       # as there is no search path for DLLs.
   8998       hardcode_libdir_flag_spec='-L$libdir'
   8999       allow_undefined_flag=unsupported
   9000       always_export_symbols=no
   9001       enable_shared_with_static_runtimes=yes
   9002       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9003 
   9004       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9005         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9006 	# If the export-symbols file already is a .def file (1st line
   9007 	# is EXPORTS), use it as is; otherwise, prepend...
   9008 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9009 	  cp $export_symbols $output_objdir/$soname.def;
   9010 	else
   9011 	  echo EXPORTS > $output_objdir/$soname.def;
   9012 	  cat $export_symbols >> $output_objdir/$soname.def;
   9013 	fi~
   9014 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9015       else
   9016 	ld_shlibs=no
   9017       fi
   9018       ;;
   9019 
   9020     interix[3-9]*)
   9021       hardcode_direct=no
   9022       hardcode_shlibpath_var=no
   9023       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9024       export_dynamic_flag_spec='${wl}-E'
   9025       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9026       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9027       # default) and relocated if they conflict, which is a slow very memory
   9028       # consuming and fragmenting process.  To avoid this, we pick a random,
   9029       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9030       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9031       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9032       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'
   9033       ;;
   9034 
   9035     gnu* | linux* | tpf* | k*bsd*-gnu)
   9036       tmp_diet=no
   9037       if test "$host_os" = linux-dietlibc; then
   9038 	case $cc_basename in
   9039 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9040 	esac
   9041       fi
   9042       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9043 	 && test "$tmp_diet" = no
   9044       then
   9045 	tmp_addflag=
   9046 	tmp_sharedflag='-shared'
   9047 	case $cc_basename,$host_cpu in
   9048         pgcc*)				# Portland Group C compiler
   9049 	  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'
   9050 	  tmp_addflag=' $pic_flag'
   9051 	  ;;
   9052 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9053 	  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'
   9054 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9055 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9056 	  tmp_addflag=' -i_dynamic' ;;
   9057 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9058 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9059 	ifc* | ifort*)			# Intel Fortran compiler
   9060 	  tmp_addflag=' -nofor_main' ;;
   9061 	lf95*)				# Lahey Fortran 8.1
   9062 	  whole_archive_flag_spec=
   9063 	  tmp_sharedflag='--shared' ;;
   9064 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9065 	  tmp_sharedflag='-qmkshrobj'
   9066 	  tmp_addflag= ;;
   9067 	esac
   9068 	case `$CC -V 2>&1 | sed 5q` in
   9069 	*Sun\ C*)			# Sun C 5.9
   9070 	  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'
   9071 	  compiler_needs_object=yes
   9072 	  tmp_sharedflag='-G' ;;
   9073 	*Sun\ F*)			# Sun Fortran 8.3
   9074 	  tmp_sharedflag='-G' ;;
   9075 	esac
   9076 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9077 
   9078         if test "x$supports_anon_versioning" = xyes; then
   9079           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9080 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9081 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9082 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9083         fi
   9084 
   9085 	case $cc_basename in
   9086 	xlf*)
   9087 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9088 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9089 	  hardcode_libdir_flag_spec=
   9090 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9091 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9092 	  if test "x$supports_anon_versioning" = xyes; then
   9093 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9094 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9095 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9096 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9097 	  fi
   9098 	  ;;
   9099 	esac
   9100       else
   9101         ld_shlibs=no
   9102       fi
   9103       ;;
   9104 
   9105     netbsd*)
   9106       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9107 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9108 	wlarc=
   9109       else
   9110 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9111 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9112       fi
   9113       ;;
   9114 
   9115     solaris*)
   9116       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9117 	ld_shlibs=no
   9118 	cat <<_LT_EOF 1>&2
   9119 
   9120 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9121 *** create shared libraries on Solaris systems.  Therefore, libtool
   9122 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9123 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9124 *** your PATH or compiler configuration so that the native linker is
   9125 *** used, and then restart.
   9126 
   9127 _LT_EOF
   9128       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9129 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9130 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9131       else
   9132 	ld_shlibs=no
   9133       fi
   9134       ;;
   9135 
   9136     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9137       case `$LD -v 2>&1` in
   9138         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9139 	ld_shlibs=no
   9140 	cat <<_LT_EOF 1>&2
   9141 
   9142 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9143 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9144 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9145 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9146 *** your PATH or compiler configuration so that the native linker is
   9147 *** used, and then restart.
   9148 
   9149 _LT_EOF
   9150 	;;
   9151 	*)
   9152 	  # For security reasons, it is highly recommended that you always
   9153 	  # use absolute paths for naming shared libraries, and exclude the
   9154 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9155 	  # requires that you compile everything twice, which is a pain.
   9156 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9157 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9158 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9159 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9160 	  else
   9161 	    ld_shlibs=no
   9162 	  fi
   9163 	;;
   9164       esac
   9165       ;;
   9166 
   9167     sunos4*)
   9168       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9169       wlarc=
   9170       hardcode_direct=yes
   9171       hardcode_shlibpath_var=no
   9172       ;;
   9173 
   9174     *)
   9175       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9176 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9177 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9178       else
   9179 	ld_shlibs=no
   9180       fi
   9181       ;;
   9182     esac
   9183 
   9184     if test "$ld_shlibs" = no; then
   9185       runpath_var=
   9186       hardcode_libdir_flag_spec=
   9187       export_dynamic_flag_spec=
   9188       whole_archive_flag_spec=
   9189     fi
   9190   else
   9191     # PORTME fill in a description of your system's linker (not GNU ld)
   9192     case $host_os in
   9193     aix3*)
   9194       allow_undefined_flag=unsupported
   9195       always_export_symbols=yes
   9196       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'
   9197       # Note: this linker hardcodes the directories in LIBPATH if there
   9198       # are no directories specified by -L.
   9199       hardcode_minus_L=yes
   9200       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9201 	# Neither direct hardcoding nor static linking is supported with a
   9202 	# broken collect2.
   9203 	hardcode_direct=unsupported
   9204       fi
   9205       ;;
   9206 
   9207     aix[4-9]*)
   9208       if test "$host_cpu" = ia64; then
   9209 	# On IA64, the linker does run time linking by default, so we don't
   9210 	# have to do anything special.
   9211 	aix_use_runtimelinking=no
   9212 	exp_sym_flag='-Bexport'
   9213 	no_entry_flag=""
   9214       else
   9215 	# If we're using GNU nm, then we don't want the "-C" option.
   9216 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9217 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9218 	  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'
   9219 	else
   9220 	  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'
   9221 	fi
   9222 	aix_use_runtimelinking=no
   9223 
   9224 	# Test if we are trying to use run time linking or normal
   9225 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9226 	# need to do runtime linking.
   9227 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9228 	  for ld_flag in $LDFLAGS; do
   9229 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9230 	    aix_use_runtimelinking=yes
   9231 	    break
   9232 	  fi
   9233 	  done
   9234 	  ;;
   9235 	esac
   9236 
   9237 	exp_sym_flag='-bexport'
   9238 	no_entry_flag='-bnoentry'
   9239       fi
   9240 
   9241       # When large executables or shared objects are built, AIX ld can
   9242       # have problems creating the table of contents.  If linking a library
   9243       # or program results in "error TOC overflow" add -mminimal-toc to
   9244       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9245       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9246 
   9247       archive_cmds=''
   9248       hardcode_direct=yes
   9249       hardcode_direct_absolute=yes
   9250       hardcode_libdir_separator=':'
   9251       link_all_deplibs=yes
   9252       file_list_spec='${wl}-f,'
   9253 
   9254       if test "$GCC" = yes; then
   9255 	case $host_os in aix4.[012]|aix4.[012].*)
   9256 	# We only want to do this on AIX 4.2 and lower, the check
   9257 	# below for broken collect2 doesn't work under 4.3+
   9258 	  collect2name=`${CC} -print-prog-name=collect2`
   9259 	  if test -f "$collect2name" &&
   9260 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9261 	  then
   9262 	  # We have reworked collect2
   9263 	  :
   9264 	  else
   9265 	  # We have old collect2
   9266 	  hardcode_direct=unsupported
   9267 	  # It fails to find uninstalled libraries when the uninstalled
   9268 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9269 	  # to unsupported forces relinking
   9270 	  hardcode_minus_L=yes
   9271 	  hardcode_libdir_flag_spec='-L$libdir'
   9272 	  hardcode_libdir_separator=
   9273 	  fi
   9274 	  ;;
   9275 	esac
   9276 	shared_flag='-shared'
   9277 	if test "$aix_use_runtimelinking" = yes; then
   9278 	  shared_flag="$shared_flag "'${wl}-G'
   9279 	fi
   9280       else
   9281 	# not using gcc
   9282 	if test "$host_cpu" = ia64; then
   9283 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9284 	# chokes on -Wl,-G. The following line is correct:
   9285 	  shared_flag='-G'
   9286 	else
   9287 	  if test "$aix_use_runtimelinking" = yes; then
   9288 	    shared_flag='${wl}-G'
   9289 	  else
   9290 	    shared_flag='${wl}-bM:SRE'
   9291 	  fi
   9292 	fi
   9293       fi
   9294 
   9295       export_dynamic_flag_spec='${wl}-bexpall'
   9296       # It seems that -bexpall does not export symbols beginning with
   9297       # underscore (_), so it is better to generate a list of symbols to export.
   9298       always_export_symbols=yes
   9299       if test "$aix_use_runtimelinking" = yes; then
   9300 	# Warning - without using the other runtime loading flags (-brtl),
   9301 	# -berok will link without error, but may produce a broken library.
   9302 	allow_undefined_flag='-berok'
   9303         # Determine the default libpath from the value encoded in an
   9304         # empty executable.
   9305         cat >conftest.$ac_ext <<_ACEOF
   9306 /* confdefs.h.  */
   9307 _ACEOF
   9308 cat confdefs.h >>conftest.$ac_ext
   9309 cat >>conftest.$ac_ext <<_ACEOF
   9310 /* end confdefs.h.  */
   9311 
   9312 int
   9313 main ()
   9314 {
   9315 
   9316   ;
   9317   return 0;
   9318 }
   9319 _ACEOF
   9320 rm -f conftest.$ac_objext conftest$ac_exeext
   9321 if { (ac_try="$ac_link"
   9322 case "(($ac_try" in
   9323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9324   *) ac_try_echo=$ac_try;;
   9325 esac
   9326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9327 $as_echo "$ac_try_echo") >&5
   9328   (eval "$ac_link") 2>conftest.er1
   9329   ac_status=$?
   9330   grep -v '^ *+' conftest.er1 >conftest.err
   9331   rm -f conftest.er1
   9332   cat conftest.err >&5
   9333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9334   (exit $ac_status); } && {
   9335 	 test -z "$ac_c_werror_flag" ||
   9336 	 test ! -s conftest.err
   9337        } && test -s conftest$ac_exeext && {
   9338 	 test "$cross_compiling" = yes ||
   9339 	 $as_test_x conftest$ac_exeext
   9340        }; then
   9341 
   9342 lt_aix_libpath_sed='
   9343     /Import File Strings/,/^$/ {
   9344 	/^0/ {
   9345 	    s/^0  *\(.*\)$/\1/
   9346 	    p
   9347 	}
   9348     }'
   9349 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9350 # Check for a 64-bit object if we didn't find anything.
   9351 if test -z "$aix_libpath"; then
   9352   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9353 fi
   9354 else
   9355   $as_echo "$as_me: failed program was:" >&5
   9356 sed 's/^/| /' conftest.$ac_ext >&5
   9357 
   9358 
   9359 fi
   9360 
   9361 rm -rf conftest.dSYM
   9362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9363       conftest$ac_exeext conftest.$ac_ext
   9364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9365 
   9366         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9367         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"
   9368       else
   9369 	if test "$host_cpu" = ia64; then
   9370 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9371 	  allow_undefined_flag="-z nodefs"
   9372 	  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"
   9373 	else
   9374 	 # Determine the default libpath from the value encoded in an
   9375 	 # empty executable.
   9376 	 cat >conftest.$ac_ext <<_ACEOF
   9377 /* confdefs.h.  */
   9378 _ACEOF
   9379 cat confdefs.h >>conftest.$ac_ext
   9380 cat >>conftest.$ac_ext <<_ACEOF
   9381 /* end confdefs.h.  */
   9382 
   9383 int
   9384 main ()
   9385 {
   9386 
   9387   ;
   9388   return 0;
   9389 }
   9390 _ACEOF
   9391 rm -f conftest.$ac_objext conftest$ac_exeext
   9392 if { (ac_try="$ac_link"
   9393 case "(($ac_try" in
   9394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9395   *) ac_try_echo=$ac_try;;
   9396 esac
   9397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9398 $as_echo "$ac_try_echo") >&5
   9399   (eval "$ac_link") 2>conftest.er1
   9400   ac_status=$?
   9401   grep -v '^ *+' conftest.er1 >conftest.err
   9402   rm -f conftest.er1
   9403   cat conftest.err >&5
   9404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9405   (exit $ac_status); } && {
   9406 	 test -z "$ac_c_werror_flag" ||
   9407 	 test ! -s conftest.err
   9408        } && test -s conftest$ac_exeext && {
   9409 	 test "$cross_compiling" = yes ||
   9410 	 $as_test_x conftest$ac_exeext
   9411        }; then
   9412 
   9413 lt_aix_libpath_sed='
   9414     /Import File Strings/,/^$/ {
   9415 	/^0/ {
   9416 	    s/^0  *\(.*\)$/\1/
   9417 	    p
   9418 	}
   9419     }'
   9420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9421 # Check for a 64-bit object if we didn't find anything.
   9422 if test -z "$aix_libpath"; then
   9423   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9424 fi
   9425 else
   9426   $as_echo "$as_me: failed program was:" >&5
   9427 sed 's/^/| /' conftest.$ac_ext >&5
   9428 
   9429 
   9430 fi
   9431 
   9432 rm -rf conftest.dSYM
   9433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9434       conftest$ac_exeext conftest.$ac_ext
   9435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9436 
   9437 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9438 	  # Warning - without using the other run time loading flags,
   9439 	  # -berok will link without error, but may produce a broken library.
   9440 	  no_undefined_flag=' ${wl}-bernotok'
   9441 	  allow_undefined_flag=' ${wl}-berok'
   9442 	  # Exported symbols can be pulled into shared objects from archives
   9443 	  whole_archive_flag_spec='$convenience'
   9444 	  archive_cmds_need_lc=yes
   9445 	  # This is similar to how AIX traditionally builds its shared libraries.
   9446 	  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'
   9447 	fi
   9448       fi
   9449       ;;
   9450 
   9451     amigaos*)
   9452       case $host_cpu in
   9453       powerpc)
   9454             # see comment about AmigaOS4 .so support
   9455             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9456             archive_expsym_cmds=''
   9457         ;;
   9458       m68k)
   9459             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)'
   9460             hardcode_libdir_flag_spec='-L$libdir'
   9461             hardcode_minus_L=yes
   9462         ;;
   9463       esac
   9464       ;;
   9465 
   9466     bsdi[45]*)
   9467       export_dynamic_flag_spec=-rdynamic
   9468       ;;
   9469 
   9470     cygwin* | mingw* | pw32* | cegcc*)
   9471       # When not using gcc, we currently assume that we are using
   9472       # Microsoft Visual C++.
   9473       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9474       # no search path for DLLs.
   9475       hardcode_libdir_flag_spec=' '
   9476       allow_undefined_flag=unsupported
   9477       # Tell ltmain to make .lib files, not .a files.
   9478       libext=lib
   9479       # Tell ltmain to make .dll files, not .so files.
   9480       shrext_cmds=".dll"
   9481       # FIXME: Setting linknames here is a bad hack.
   9482       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9483       # The linker will automatically build a .lib file if we build a DLL.
   9484       old_archive_from_new_cmds='true'
   9485       # FIXME: Should let the user specify the lib program.
   9486       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9487       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9488       enable_shared_with_static_runtimes=yes
   9489       ;;
   9490 
   9491     darwin* | rhapsody*)
   9492 
   9493 
   9494   archive_cmds_need_lc=no
   9495   hardcode_direct=no
   9496   hardcode_automatic=yes
   9497   hardcode_shlibpath_var=unsupported
   9498   whole_archive_flag_spec=''
   9499   link_all_deplibs=yes
   9500   allow_undefined_flag="$_lt_dar_allow_undefined"
   9501   case $cc_basename in
   9502      ifort*) _lt_dar_can_shared=yes ;;
   9503      *) _lt_dar_can_shared=$GCC ;;
   9504   esac
   9505   if test "$_lt_dar_can_shared" = "yes"; then
   9506     output_verbose_link_cmd=echo
   9507     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9508     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9509     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}"
   9510     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}"
   9511 
   9512   else
   9513   ld_shlibs=no
   9514   fi
   9515 
   9516       ;;
   9517 
   9518     dgux*)
   9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9520       hardcode_libdir_flag_spec='-L$libdir'
   9521       hardcode_shlibpath_var=no
   9522       ;;
   9523 
   9524     freebsd1*)
   9525       ld_shlibs=no
   9526       ;;
   9527 
   9528     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9529     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9530     # does not break anything, and helps significantly (at the cost of a little
   9531     # extra space).
   9532     freebsd2.2*)
   9533       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9534       hardcode_libdir_flag_spec='-R$libdir'
   9535       hardcode_direct=yes
   9536       hardcode_shlibpath_var=no
   9537       ;;
   9538 
   9539     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9540     freebsd2*)
   9541       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9542       hardcode_direct=yes
   9543       hardcode_minus_L=yes
   9544       hardcode_shlibpath_var=no
   9545       ;;
   9546 
   9547     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9548     freebsd* | dragonfly*)
   9549       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9550       hardcode_libdir_flag_spec='-R$libdir'
   9551       hardcode_direct=yes
   9552       hardcode_shlibpath_var=no
   9553       ;;
   9554 
   9555     hpux9*)
   9556       if test "$GCC" = yes; then
   9557 	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'
   9558       else
   9559 	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'
   9560       fi
   9561       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9562       hardcode_libdir_separator=:
   9563       hardcode_direct=yes
   9564 
   9565       # hardcode_minus_L: Not really in the search PATH,
   9566       # but as the default location of the library.
   9567       hardcode_minus_L=yes
   9568       export_dynamic_flag_spec='${wl}-E'
   9569       ;;
   9570 
   9571     hpux10*)
   9572       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9573 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9574       else
   9575 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9576       fi
   9577       if test "$with_gnu_ld" = no; then
   9578 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9579 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9580 	hardcode_libdir_separator=:
   9581 	hardcode_direct=yes
   9582 	hardcode_direct_absolute=yes
   9583 	export_dynamic_flag_spec='${wl}-E'
   9584 	# hardcode_minus_L: Not really in the search PATH,
   9585 	# but as the default location of the library.
   9586 	hardcode_minus_L=yes
   9587       fi
   9588       ;;
   9589 
   9590     hpux11*)
   9591       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9592 	case $host_cpu in
   9593 	hppa*64*)
   9594 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9595 	  ;;
   9596 	ia64*)
   9597 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9598 	  ;;
   9599 	*)
   9600 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9601 	  ;;
   9602 	esac
   9603       else
   9604 	case $host_cpu in
   9605 	hppa*64*)
   9606 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9607 	  ;;
   9608 	ia64*)
   9609 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9610 	  ;;
   9611 	*)
   9612 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9613 	  ;;
   9614 	esac
   9615       fi
   9616       if test "$with_gnu_ld" = no; then
   9617 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9618 	hardcode_libdir_separator=:
   9619 
   9620 	case $host_cpu in
   9621 	hppa*64*|ia64*)
   9622 	  hardcode_direct=no
   9623 	  hardcode_shlibpath_var=no
   9624 	  ;;
   9625 	*)
   9626 	  hardcode_direct=yes
   9627 	  hardcode_direct_absolute=yes
   9628 	  export_dynamic_flag_spec='${wl}-E'
   9629 
   9630 	  # hardcode_minus_L: Not really in the search PATH,
   9631 	  # but as the default location of the library.
   9632 	  hardcode_minus_L=yes
   9633 	  ;;
   9634 	esac
   9635       fi
   9636       ;;
   9637 
   9638     irix5* | irix6* | nonstopux*)
   9639       if test "$GCC" = yes; then
   9640 	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'
   9641 	# Try to use the -exported_symbol ld option, if it does not
   9642 	# work, assume that -exports_file does not work either and
   9643 	# implicitly export all symbols.
   9644         save_LDFLAGS="$LDFLAGS"
   9645         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9646         cat >conftest.$ac_ext <<_ACEOF
   9647 int foo(void) {}
   9648 _ACEOF
   9649 rm -f conftest.$ac_objext conftest$ac_exeext
   9650 if { (ac_try="$ac_link"
   9651 case "(($ac_try" in
   9652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9653   *) ac_try_echo=$ac_try;;
   9654 esac
   9655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9656 $as_echo "$ac_try_echo") >&5
   9657   (eval "$ac_link") 2>conftest.er1
   9658   ac_status=$?
   9659   grep -v '^ *+' conftest.er1 >conftest.err
   9660   rm -f conftest.er1
   9661   cat conftest.err >&5
   9662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9663   (exit $ac_status); } && {
   9664 	 test -z "$ac_c_werror_flag" ||
   9665 	 test ! -s conftest.err
   9666        } && test -s conftest$ac_exeext && {
   9667 	 test "$cross_compiling" = yes ||
   9668 	 $as_test_x conftest$ac_exeext
   9669        }; then
   9670   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'
   9671 
   9672 else
   9673   $as_echo "$as_me: failed program was:" >&5
   9674 sed 's/^/| /' conftest.$ac_ext >&5
   9675 
   9676 
   9677 fi
   9678 
   9679 rm -rf conftest.dSYM
   9680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9681       conftest$ac_exeext conftest.$ac_ext
   9682         LDFLAGS="$save_LDFLAGS"
   9683       else
   9684 	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'
   9685 	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'
   9686       fi
   9687       archive_cmds_need_lc='no'
   9688       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9689       hardcode_libdir_separator=:
   9690       inherit_rpath=yes
   9691       link_all_deplibs=yes
   9692       ;;
   9693 
   9694     netbsd*)
   9695       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9696 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9697       else
   9698 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9699       fi
   9700       hardcode_libdir_flag_spec='-R$libdir'
   9701       hardcode_direct=yes
   9702       hardcode_shlibpath_var=no
   9703       ;;
   9704 
   9705     newsos6)
   9706       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9707       hardcode_direct=yes
   9708       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9709       hardcode_libdir_separator=:
   9710       hardcode_shlibpath_var=no
   9711       ;;
   9712 
   9713     *nto* | *qnx*)
   9714       ;;
   9715 
   9716     openbsd*)
   9717       if test -f /usr/libexec/ld.so; then
   9718 	hardcode_direct=yes
   9719 	hardcode_shlibpath_var=no
   9720 	hardcode_direct_absolute=yes
   9721 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9722 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9723 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9724 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9725 	  export_dynamic_flag_spec='${wl}-E'
   9726 	else
   9727 	  case $host_os in
   9728 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9729 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9730 	     hardcode_libdir_flag_spec='-R$libdir'
   9731 	     ;;
   9732 	   *)
   9733 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9734 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9735 	     ;;
   9736 	  esac
   9737 	fi
   9738       else
   9739 	ld_shlibs=no
   9740       fi
   9741       ;;
   9742 
   9743     os2*)
   9744       hardcode_libdir_flag_spec='-L$libdir'
   9745       hardcode_minus_L=yes
   9746       allow_undefined_flag=unsupported
   9747       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'
   9748       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9749       ;;
   9750 
   9751     osf3*)
   9752       if test "$GCC" = yes; then
   9753 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9754 	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'
   9755       else
   9756 	allow_undefined_flag=' -expect_unresolved \*'
   9757 	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'
   9758       fi
   9759       archive_cmds_need_lc='no'
   9760       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9761       hardcode_libdir_separator=:
   9762       ;;
   9763 
   9764     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9765       if test "$GCC" = yes; then
   9766 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9767 	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'
   9768 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9769       else
   9770 	allow_undefined_flag=' -expect_unresolved \*'
   9771 	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'
   9772 	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~
   9773 	$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'
   9774 
   9775 	# Both c and cxx compiler support -rpath directly
   9776 	hardcode_libdir_flag_spec='-rpath $libdir'
   9777       fi
   9778       archive_cmds_need_lc='no'
   9779       hardcode_libdir_separator=:
   9780       ;;
   9781 
   9782     solaris*)
   9783       no_undefined_flag=' -z defs'
   9784       if test "$GCC" = yes; then
   9785 	wlarc='${wl}'
   9786 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9787 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9788 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9789       else
   9790 	case `$CC -V 2>&1` in
   9791 	*"Compilers 5.0"*)
   9792 	  wlarc=''
   9793 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9794 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9795 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9796 	  ;;
   9797 	*)
   9798 	  wlarc='${wl}'
   9799 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9800 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9801 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9802 	  ;;
   9803 	esac
   9804       fi
   9805       hardcode_libdir_flag_spec='-R$libdir'
   9806       hardcode_shlibpath_var=no
   9807       case $host_os in
   9808       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9809       *)
   9810 	# The compiler driver will combine and reorder linker options,
   9811 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9812 	# but is careful enough not to reorder.
   9813 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9814 	if test "$GCC" = yes; then
   9815 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9816 	else
   9817 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9818 	fi
   9819 	;;
   9820       esac
   9821       link_all_deplibs=yes
   9822       ;;
   9823 
   9824     sunos4*)
   9825       if test "x$host_vendor" = xsequent; then
   9826 	# Use $CC to link under sequent, because it throws in some extra .o
   9827 	# files that make .init and .fini sections work.
   9828 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9829       else
   9830 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9831       fi
   9832       hardcode_libdir_flag_spec='-L$libdir'
   9833       hardcode_direct=yes
   9834       hardcode_minus_L=yes
   9835       hardcode_shlibpath_var=no
   9836       ;;
   9837 
   9838     sysv4)
   9839       case $host_vendor in
   9840 	sni)
   9841 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9842 	  hardcode_direct=yes # is this really true???
   9843 	;;
   9844 	siemens)
   9845 	  ## LD is ld it makes a PLAMLIB
   9846 	  ## CC just makes a GrossModule.
   9847 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9848 	  reload_cmds='$CC -r -o $output$reload_objs'
   9849 	  hardcode_direct=no
   9850         ;;
   9851 	motorola)
   9852 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9853 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9854 	;;
   9855       esac
   9856       runpath_var='LD_RUN_PATH'
   9857       hardcode_shlibpath_var=no
   9858       ;;
   9859 
   9860     sysv4.3*)
   9861       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9862       hardcode_shlibpath_var=no
   9863       export_dynamic_flag_spec='-Bexport'
   9864       ;;
   9865 
   9866     sysv4*MP*)
   9867       if test -d /usr/nec; then
   9868 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9869 	hardcode_shlibpath_var=no
   9870 	runpath_var=LD_RUN_PATH
   9871 	hardcode_runpath_var=yes
   9872 	ld_shlibs=yes
   9873       fi
   9874       ;;
   9875 
   9876     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9877       no_undefined_flag='${wl}-z,text'
   9878       archive_cmds_need_lc=no
   9879       hardcode_shlibpath_var=no
   9880       runpath_var='LD_RUN_PATH'
   9881 
   9882       if test "$GCC" = yes; then
   9883 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9884 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9885       else
   9886 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9887 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9888       fi
   9889       ;;
   9890 
   9891     sysv5* | sco3.2v5* | sco5v6*)
   9892       # Note: We can NOT use -z defs as we might desire, because we do not
   9893       # link with -lc, and that would cause any symbols used from libc to
   9894       # always be unresolved, which means just about no library would
   9895       # ever link correctly.  If we're not using GNU ld we use -z text
   9896       # though, which does catch some bad symbols but isn't as heavy-handed
   9897       # as -z defs.
   9898       no_undefined_flag='${wl}-z,text'
   9899       allow_undefined_flag='${wl}-z,nodefs'
   9900       archive_cmds_need_lc=no
   9901       hardcode_shlibpath_var=no
   9902       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9903       hardcode_libdir_separator=':'
   9904       link_all_deplibs=yes
   9905       export_dynamic_flag_spec='${wl}-Bexport'
   9906       runpath_var='LD_RUN_PATH'
   9907 
   9908       if test "$GCC" = yes; then
   9909 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9910 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9911       else
   9912 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9913 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9914       fi
   9915       ;;
   9916 
   9917     uts4*)
   9918       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9919       hardcode_libdir_flag_spec='-L$libdir'
   9920       hardcode_shlibpath_var=no
   9921       ;;
   9922 
   9923     *)
   9924       ld_shlibs=no
   9925       ;;
   9926     esac
   9927 
   9928     if test x$host_vendor = xsni; then
   9929       case $host in
   9930       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9931 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9932 	;;
   9933       esac
   9934     fi
   9935   fi
   9936 
   9937 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9938 $as_echo "$ld_shlibs" >&6; }
   9939 test "$ld_shlibs" = no && can_build_shared=no
   9940 
   9941 with_gnu_ld=$with_gnu_ld
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 #
   9958 # Do we need to explicitly link libc?
   9959 #
   9960 case "x$archive_cmds_need_lc" in
   9961 x|xyes)
   9962   # Assume -lc should be added
   9963   archive_cmds_need_lc=yes
   9964 
   9965   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9966     case $archive_cmds in
   9967     *'~'*)
   9968       # FIXME: we may have to deal with multi-command sequences.
   9969       ;;
   9970     '$CC '*)
   9971       # Test whether the compiler implicitly links with -lc since on some
   9972       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9973       # to ld, don't add -lc before -lgcc.
   9974       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9975 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9976       $RM conftest*
   9977       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9978 
   9979       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9980   (eval $ac_compile) 2>&5
   9981   ac_status=$?
   9982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9983   (exit $ac_status); } 2>conftest.err; then
   9984         soname=conftest
   9985         lib=conftest
   9986         libobjs=conftest.$ac_objext
   9987         deplibs=
   9988         wl=$lt_prog_compiler_wl
   9989 	pic_flag=$lt_prog_compiler_pic
   9990         compiler_flags=-v
   9991         linker_flags=-v
   9992         verstring=
   9993         output_objdir=.
   9994         libname=conftest
   9995         lt_save_allow_undefined_flag=$allow_undefined_flag
   9996         allow_undefined_flag=
   9997         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9998   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9999   ac_status=$?
   10000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10001   (exit $ac_status); }
   10002         then
   10003 	  archive_cmds_need_lc=no
   10004         else
   10005 	  archive_cmds_need_lc=yes
   10006         fi
   10007         allow_undefined_flag=$lt_save_allow_undefined_flag
   10008       else
   10009         cat conftest.err 1>&5
   10010       fi
   10011       $RM conftest*
   10012       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   10013 $as_echo "$archive_cmds_need_lc" >&6; }
   10014       ;;
   10015     esac
   10016   fi
   10017   ;;
   10018 esac
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   10177 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10178 
   10179 if test "$GCC" = yes; then
   10180   case $host_os in
   10181     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10182     *) lt_awk_arg="/^libraries:/" ;;
   10183   esac
   10184   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10185   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10186     # if the path contains ";" then we assume it to be the separator
   10187     # otherwise default to the standard path separator (i.e. ":") - it is
   10188     # assumed that no part of a normal pathname contains ";" but that should
   10189     # okay in the real world where ";" in dirpaths is itself problematic.
   10190     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10191   else
   10192     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10193   fi
   10194   # Ok, now we have the path, separated by spaces, we can step through it
   10195   # and add multilib dir if necessary.
   10196   lt_tmp_lt_search_path_spec=
   10197   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10198   for lt_sys_path in $lt_search_path_spec; do
   10199     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10200       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10201     else
   10202       test -d "$lt_sys_path" && \
   10203 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10204     fi
   10205   done
   10206   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10207 BEGIN {RS=" "; FS="/|\n";} {
   10208   lt_foo="";
   10209   lt_count=0;
   10210   for (lt_i = NF; lt_i > 0; lt_i--) {
   10211     if ($lt_i != "" && $lt_i != ".") {
   10212       if ($lt_i == "..") {
   10213         lt_count++;
   10214       } else {
   10215         if (lt_count == 0) {
   10216           lt_foo="/" $lt_i lt_foo;
   10217         } else {
   10218           lt_count--;
   10219         }
   10220       }
   10221     }
   10222   }
   10223   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10224   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10225 }'`
   10226   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10227 else
   10228   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10229 fi
   10230 library_names_spec=
   10231 libname_spec='lib$name'
   10232 soname_spec=
   10233 shrext_cmds=".so"
   10234 postinstall_cmds=
   10235 postuninstall_cmds=
   10236 finish_cmds=
   10237 finish_eval=
   10238 shlibpath_var=
   10239 shlibpath_overrides_runpath=unknown
   10240 version_type=none
   10241 dynamic_linker="$host_os ld.so"
   10242 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10243 need_lib_prefix=unknown
   10244 hardcode_into_libs=no
   10245 
   10246 # when you set need_version to no, make sure it does not cause -set_version
   10247 # flags to be left without arguments
   10248 need_version=unknown
   10249 
   10250 case $host_os in
   10251 aix3*)
   10252   version_type=linux
   10253   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10254   shlibpath_var=LIBPATH
   10255 
   10256   # AIX 3 has no versioning support, so we append a major version to the name.
   10257   soname_spec='${libname}${release}${shared_ext}$major'
   10258   ;;
   10259 
   10260 aix[4-9]*)
   10261   version_type=linux
   10262   need_lib_prefix=no
   10263   need_version=no
   10264   hardcode_into_libs=yes
   10265   if test "$host_cpu" = ia64; then
   10266     # AIX 5 supports IA64
   10267     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10268     shlibpath_var=LD_LIBRARY_PATH
   10269   else
   10270     # With GCC up to 2.95.x, collect2 would create an import file
   10271     # for dependence libraries.  The import file would start with
   10272     # the line `#! .'.  This would cause the generated library to
   10273     # depend on `.', always an invalid library.  This was fixed in
   10274     # development snapshots of GCC prior to 3.0.
   10275     case $host_os in
   10276       aix4 | aix4.[01] | aix4.[01].*)
   10277       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10278 	   echo ' yes '
   10279 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10280 	:
   10281       else
   10282 	can_build_shared=no
   10283       fi
   10284       ;;
   10285     esac
   10286     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10287     # soname into executable. Probably we can add versioning support to
   10288     # collect2, so additional links can be useful in future.
   10289     if test "$aix_use_runtimelinking" = yes; then
   10290       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10291       # instead of lib<name>.a to let people know that these are not
   10292       # typical AIX shared libraries.
   10293       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10294     else
   10295       # We preserve .a as extension for shared libraries through AIX4.2
   10296       # and later when we are not doing run time linking.
   10297       library_names_spec='${libname}${release}.a $libname.a'
   10298       soname_spec='${libname}${release}${shared_ext}$major'
   10299     fi
   10300     shlibpath_var=LIBPATH
   10301   fi
   10302   ;;
   10303 
   10304 amigaos*)
   10305   case $host_cpu in
   10306   powerpc)
   10307     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10308     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10309     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10310     ;;
   10311   m68k)
   10312     library_names_spec='$libname.ixlibrary $libname.a'
   10313     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10314     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'
   10315     ;;
   10316   esac
   10317   ;;
   10318 
   10319 beos*)
   10320   library_names_spec='${libname}${shared_ext}'
   10321   dynamic_linker="$host_os ld.so"
   10322   shlibpath_var=LIBRARY_PATH
   10323   ;;
   10324 
   10325 bsdi[45]*)
   10326   version_type=linux
   10327   need_version=no
   10328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10329   soname_spec='${libname}${release}${shared_ext}$major'
   10330   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10331   shlibpath_var=LD_LIBRARY_PATH
   10332   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10333   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10334   # the default ld.so.conf also contains /usr/contrib/lib and
   10335   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10336   # libtool to hard-code these into programs
   10337   ;;
   10338 
   10339 cygwin* | mingw* | pw32* | cegcc*)
   10340   version_type=windows
   10341   shrext_cmds=".dll"
   10342   need_version=no
   10343   need_lib_prefix=no
   10344 
   10345   case $GCC,$host_os in
   10346   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10347     library_names_spec='$libname.dll.a'
   10348     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10349     postinstall_cmds='base_file=`basename \${file}`~
   10350       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10351       dldir=$destdir/`dirname \$dlpath`~
   10352       test -d \$dldir || mkdir -p \$dldir~
   10353       $install_prog $dir/$dlname \$dldir/$dlname~
   10354       chmod a+x \$dldir/$dlname~
   10355       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10356         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10357       fi'
   10358     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10359       dlpath=$dir/\$dldll~
   10360        $RM \$dlpath'
   10361     shlibpath_overrides_runpath=yes
   10362 
   10363     case $host_os in
   10364     cygwin*)
   10365       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10366       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10367       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10368       ;;
   10369     mingw* | cegcc*)
   10370       # MinGW DLLs use traditional 'lib' prefix
   10371       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10372       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10373       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10374         # It is most probably a Windows format PATH printed by
   10375         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10376         # path with ; separators, and with drive letters. We can handle the
   10377         # drive letters (cygwin fileutils understands them), so leave them,
   10378         # especially as we might pass files found there to a mingw objdump,
   10379         # which wouldn't understand a cygwinified path. Ahh.
   10380         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10381       else
   10382         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10383       fi
   10384       ;;
   10385     pw32*)
   10386       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10387       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10388       ;;
   10389     esac
   10390     ;;
   10391 
   10392   *)
   10393     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10394     ;;
   10395   esac
   10396   dynamic_linker='Win32 ld.exe'
   10397   # FIXME: first we should search . and the directory the executable is in
   10398   shlibpath_var=PATH
   10399   ;;
   10400 
   10401 darwin* | rhapsody*)
   10402   dynamic_linker="$host_os dyld"
   10403   version_type=darwin
   10404   need_lib_prefix=no
   10405   need_version=no
   10406   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10407   soname_spec='${libname}${release}${major}$shared_ext'
   10408   shlibpath_overrides_runpath=yes
   10409   shlibpath_var=DYLD_LIBRARY_PATH
   10410   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10411 
   10412   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10413   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10414   ;;
   10415 
   10416 dgux*)
   10417   version_type=linux
   10418   need_lib_prefix=no
   10419   need_version=no
   10420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10421   soname_spec='${libname}${release}${shared_ext}$major'
   10422   shlibpath_var=LD_LIBRARY_PATH
   10423   ;;
   10424 
   10425 freebsd1*)
   10426   dynamic_linker=no
   10427   ;;
   10428 
   10429 freebsd* | dragonfly*)
   10430   # DragonFly does not have aout.  When/if they implement a new
   10431   # versioning mechanism, adjust this.
   10432   if test -x /usr/bin/objformat; then
   10433     objformat=`/usr/bin/objformat`
   10434   else
   10435     case $host_os in
   10436     freebsd[123]*) objformat=aout ;;
   10437     *) objformat=elf ;;
   10438     esac
   10439   fi
   10440   version_type=freebsd-$objformat
   10441   case $version_type in
   10442     freebsd-elf*)
   10443       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10444       need_version=no
   10445       need_lib_prefix=no
   10446       ;;
   10447     freebsd-*)
   10448       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10449       need_version=yes
   10450       ;;
   10451   esac
   10452   shlibpath_var=LD_LIBRARY_PATH
   10453   case $host_os in
   10454   freebsd2*)
   10455     shlibpath_overrides_runpath=yes
   10456     ;;
   10457   freebsd3.[01]* | freebsdelf3.[01]*)
   10458     shlibpath_overrides_runpath=yes
   10459     hardcode_into_libs=yes
   10460     ;;
   10461   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10462   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10463     shlibpath_overrides_runpath=no
   10464     hardcode_into_libs=yes
   10465     ;;
   10466   *) # from 4.6 on, and DragonFly
   10467     shlibpath_overrides_runpath=yes
   10468     hardcode_into_libs=yes
   10469     ;;
   10470   esac
   10471   ;;
   10472 
   10473 gnu*)
   10474   version_type=linux
   10475   need_lib_prefix=no
   10476   need_version=no
   10477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10478   soname_spec='${libname}${release}${shared_ext}$major'
   10479   shlibpath_var=LD_LIBRARY_PATH
   10480   hardcode_into_libs=yes
   10481   ;;
   10482 
   10483 hpux9* | hpux10* | hpux11*)
   10484   # Give a soname corresponding to the major version so that dld.sl refuses to
   10485   # link against other versions.
   10486   version_type=sunos
   10487   need_lib_prefix=no
   10488   need_version=no
   10489   case $host_cpu in
   10490   ia64*)
   10491     shrext_cmds='.so'
   10492     hardcode_into_libs=yes
   10493     dynamic_linker="$host_os dld.so"
   10494     shlibpath_var=LD_LIBRARY_PATH
   10495     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10497     soname_spec='${libname}${release}${shared_ext}$major'
   10498     if test "X$HPUX_IA64_MODE" = X32; then
   10499       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10500     else
   10501       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10502     fi
   10503     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10504     ;;
   10505   hppa*64*)
   10506     shrext_cmds='.sl'
   10507     hardcode_into_libs=yes
   10508     dynamic_linker="$host_os dld.sl"
   10509     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10510     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10512     soname_spec='${libname}${release}${shared_ext}$major'
   10513     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10514     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10515     ;;
   10516   *)
   10517     shrext_cmds='.sl'
   10518     dynamic_linker="$host_os dld.sl"
   10519     shlibpath_var=SHLIB_PATH
   10520     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10522     soname_spec='${libname}${release}${shared_ext}$major'
   10523     ;;
   10524   esac
   10525   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10526   postinstall_cmds='chmod 555 $lib'
   10527   ;;
   10528 
   10529 interix[3-9]*)
   10530   version_type=linux
   10531   need_lib_prefix=no
   10532   need_version=no
   10533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10534   soname_spec='${libname}${release}${shared_ext}$major'
   10535   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10536   shlibpath_var=LD_LIBRARY_PATH
   10537   shlibpath_overrides_runpath=no
   10538   hardcode_into_libs=yes
   10539   ;;
   10540 
   10541 irix5* | irix6* | nonstopux*)
   10542   case $host_os in
   10543     nonstopux*) version_type=nonstopux ;;
   10544     *)
   10545 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10546 		version_type=linux
   10547 	else
   10548 		version_type=irix
   10549 	fi ;;
   10550   esac
   10551   need_lib_prefix=no
   10552   need_version=no
   10553   soname_spec='${libname}${release}${shared_ext}$major'
   10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10555   case $host_os in
   10556   irix5* | nonstopux*)
   10557     libsuff= shlibsuff=
   10558     ;;
   10559   *)
   10560     case $LD in # libtool.m4 will add one of these switches to LD
   10561     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10562       libsuff= shlibsuff= libmagic=32-bit;;
   10563     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10564       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10565     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10566       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10567     *) libsuff= shlibsuff= libmagic=never-match;;
   10568     esac
   10569     ;;
   10570   esac
   10571   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10572   shlibpath_overrides_runpath=no
   10573   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10574   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10575   hardcode_into_libs=yes
   10576   ;;
   10577 
   10578 # No shared lib support for Linux oldld, aout, or coff.
   10579 linux*oldld* | linux*aout* | linux*coff*)
   10580   dynamic_linker=no
   10581   ;;
   10582 
   10583 # This must be Linux ELF.
   10584 linux* | k*bsd*-gnu)
   10585   version_type=linux
   10586   need_lib_prefix=no
   10587   need_version=no
   10588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10589   soname_spec='${libname}${release}${shared_ext}$major'
   10590   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10591   shlibpath_var=LD_LIBRARY_PATH
   10592   shlibpath_overrides_runpath=no
   10593   # Some binutils ld are patched to set DT_RUNPATH
   10594   save_LDFLAGS=$LDFLAGS
   10595   save_libdir=$libdir
   10596   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10597        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10598   cat >conftest.$ac_ext <<_ACEOF
   10599 /* confdefs.h.  */
   10600 _ACEOF
   10601 cat confdefs.h >>conftest.$ac_ext
   10602 cat >>conftest.$ac_ext <<_ACEOF
   10603 /* end confdefs.h.  */
   10604 
   10605 int
   10606 main ()
   10607 {
   10608 
   10609   ;
   10610   return 0;
   10611 }
   10612 _ACEOF
   10613 rm -f conftest.$ac_objext conftest$ac_exeext
   10614 if { (ac_try="$ac_link"
   10615 case "(($ac_try" in
   10616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10617   *) ac_try_echo=$ac_try;;
   10618 esac
   10619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10620 $as_echo "$ac_try_echo") >&5
   10621   (eval "$ac_link") 2>conftest.er1
   10622   ac_status=$?
   10623   grep -v '^ *+' conftest.er1 >conftest.err
   10624   rm -f conftest.er1
   10625   cat conftest.err >&5
   10626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10627   (exit $ac_status); } && {
   10628 	 test -z "$ac_c_werror_flag" ||
   10629 	 test ! -s conftest.err
   10630        } && test -s conftest$ac_exeext && {
   10631 	 test "$cross_compiling" = yes ||
   10632 	 $as_test_x conftest$ac_exeext
   10633        }; then
   10634   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   10635   shlibpath_overrides_runpath=yes
   10636 fi
   10637 
   10638 else
   10639   $as_echo "$as_me: failed program was:" >&5
   10640 sed 's/^/| /' conftest.$ac_ext >&5
   10641 
   10642 
   10643 fi
   10644 
   10645 rm -rf conftest.dSYM
   10646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10647       conftest$ac_exeext conftest.$ac_ext
   10648   LDFLAGS=$save_LDFLAGS
   10649   libdir=$save_libdir
   10650 
   10651   # This implies no fast_install, which is unacceptable.
   10652   # Some rework will be needed to allow for fast_install
   10653   # before this can be enabled.
   10654   hardcode_into_libs=yes
   10655 
   10656   # Add ABI-specific directories to the system library path.
   10657   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10658 
   10659   # Append ld.so.conf contents to the search path
   10660   if test -f /etc/ld.so.conf; then
   10661     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' ' '`
   10662     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10663   fi
   10664 
   10665   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10666   # powerpc, because MkLinux only supported shared libraries with the
   10667   # GNU dynamic linker.  Since this was broken with cross compilers,
   10668   # most powerpc-linux boxes support dynamic linking these days and
   10669   # people can always --disable-shared, the test was removed, and we
   10670   # assume the GNU/Linux dynamic linker is in use.
   10671   dynamic_linker='GNU/Linux ld.so'
   10672   ;;
   10673 
   10674 netbsd*)
   10675   version_type=sunos
   10676   need_lib_prefix=no
   10677   need_version=no
   10678   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10680     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10681     dynamic_linker='NetBSD (a.out) ld.so'
   10682   else
   10683     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10684     soname_spec='${libname}${release}${shared_ext}$major'
   10685     dynamic_linker='NetBSD ld.elf_so'
   10686   fi
   10687   shlibpath_var=LD_LIBRARY_PATH
   10688   shlibpath_overrides_runpath=yes
   10689   hardcode_into_libs=yes
   10690   ;;
   10691 
   10692 newsos6)
   10693   version_type=linux
   10694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10695   shlibpath_var=LD_LIBRARY_PATH
   10696   shlibpath_overrides_runpath=yes
   10697   ;;
   10698 
   10699 *nto* | *qnx*)
   10700   version_type=qnx
   10701   need_lib_prefix=no
   10702   need_version=no
   10703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10704   soname_spec='${libname}${release}${shared_ext}$major'
   10705   shlibpath_var=LD_LIBRARY_PATH
   10706   shlibpath_overrides_runpath=no
   10707   hardcode_into_libs=yes
   10708   dynamic_linker='ldqnx.so'
   10709   ;;
   10710 
   10711 openbsd*)
   10712   version_type=sunos
   10713   sys_lib_dlsearch_path_spec="/usr/lib"
   10714   need_lib_prefix=no
   10715   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10716   case $host_os in
   10717     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10718     *)				need_version=no  ;;
   10719   esac
   10720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10721   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10722   shlibpath_var=LD_LIBRARY_PATH
   10723   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10724     case $host_os in
   10725       openbsd2.[89] | openbsd2.[89].*)
   10726 	shlibpath_overrides_runpath=no
   10727 	;;
   10728       *)
   10729 	shlibpath_overrides_runpath=yes
   10730 	;;
   10731       esac
   10732   else
   10733     shlibpath_overrides_runpath=yes
   10734   fi
   10735   ;;
   10736 
   10737 os2*)
   10738   libname_spec='$name'
   10739   shrext_cmds=".dll"
   10740   need_lib_prefix=no
   10741   library_names_spec='$libname${shared_ext} $libname.a'
   10742   dynamic_linker='OS/2 ld.exe'
   10743   shlibpath_var=LIBPATH
   10744   ;;
   10745 
   10746 osf3* | osf4* | osf5*)
   10747   version_type=osf
   10748   need_lib_prefix=no
   10749   need_version=no
   10750   soname_spec='${libname}${release}${shared_ext}$major'
   10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10752   shlibpath_var=LD_LIBRARY_PATH
   10753   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10754   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10755   ;;
   10756 
   10757 rdos*)
   10758   dynamic_linker=no
   10759   ;;
   10760 
   10761 solaris*)
   10762   version_type=linux
   10763   need_lib_prefix=no
   10764   need_version=no
   10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10766   soname_spec='${libname}${release}${shared_ext}$major'
   10767   shlibpath_var=LD_LIBRARY_PATH
   10768   shlibpath_overrides_runpath=yes
   10769   hardcode_into_libs=yes
   10770   # ldd complains unless libraries are executable
   10771   postinstall_cmds='chmod +x $lib'
   10772   ;;
   10773 
   10774 sunos4*)
   10775   version_type=sunos
   10776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10777   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10778   shlibpath_var=LD_LIBRARY_PATH
   10779   shlibpath_overrides_runpath=yes
   10780   if test "$with_gnu_ld" = yes; then
   10781     need_lib_prefix=no
   10782   fi
   10783   need_version=yes
   10784   ;;
   10785 
   10786 sysv4 | sysv4.3*)
   10787   version_type=linux
   10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10789   soname_spec='${libname}${release}${shared_ext}$major'
   10790   shlibpath_var=LD_LIBRARY_PATH
   10791   case $host_vendor in
   10792     sni)
   10793       shlibpath_overrides_runpath=no
   10794       need_lib_prefix=no
   10795       runpath_var=LD_RUN_PATH
   10796       ;;
   10797     siemens)
   10798       need_lib_prefix=no
   10799       ;;
   10800     motorola)
   10801       need_lib_prefix=no
   10802       need_version=no
   10803       shlibpath_overrides_runpath=no
   10804       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10805       ;;
   10806   esac
   10807   ;;
   10808 
   10809 sysv4*MP*)
   10810   if test -d /usr/nec ;then
   10811     version_type=linux
   10812     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10813     soname_spec='$libname${shared_ext}.$major'
   10814     shlibpath_var=LD_LIBRARY_PATH
   10815   fi
   10816   ;;
   10817 
   10818 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10819   version_type=freebsd-elf
   10820   need_lib_prefix=no
   10821   need_version=no
   10822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10823   soname_spec='${libname}${release}${shared_ext}$major'
   10824   shlibpath_var=LD_LIBRARY_PATH
   10825   shlibpath_overrides_runpath=yes
   10826   hardcode_into_libs=yes
   10827   if test "$with_gnu_ld" = yes; then
   10828     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10829   else
   10830     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10831     case $host_os in
   10832       sco3.2v5*)
   10833         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10834 	;;
   10835     esac
   10836   fi
   10837   sys_lib_dlsearch_path_spec='/usr/lib'
   10838   ;;
   10839 
   10840 tpf*)
   10841   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10842   version_type=linux
   10843   need_lib_prefix=no
   10844   need_version=no
   10845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10846   shlibpath_var=LD_LIBRARY_PATH
   10847   shlibpath_overrides_runpath=no
   10848   hardcode_into_libs=yes
   10849   ;;
   10850 
   10851 uts4*)
   10852   version_type=linux
   10853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10854   soname_spec='${libname}${release}${shared_ext}$major'
   10855   shlibpath_var=LD_LIBRARY_PATH
   10856   ;;
   10857 
   10858 *)
   10859   dynamic_linker=no
   10860   ;;
   10861 esac
   10862 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10863 $as_echo "$dynamic_linker" >&6; }
   10864 test "$dynamic_linker" = no && can_build_shared=no
   10865 
   10866 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10867 if test "$GCC" = yes; then
   10868   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10869 fi
   10870 
   10871 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10872   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10873 fi
   10874 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10875   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10876 fi
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10965 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10966 hardcode_action=
   10967 if test -n "$hardcode_libdir_flag_spec" ||
   10968    test -n "$runpath_var" ||
   10969    test "X$hardcode_automatic" = "Xyes" ; then
   10970 
   10971   # We can hardcode non-existent directories.
   10972   if test "$hardcode_direct" != no &&
   10973      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10974      # have to relink, otherwise we might link with an installed library
   10975      # when we should be linking with a yet-to-be-installed one
   10976      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10977      test "$hardcode_minus_L" != no; then
   10978     # Linking always hardcodes the temporary library directory.
   10979     hardcode_action=relink
   10980   else
   10981     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10982     hardcode_action=immediate
   10983   fi
   10984 else
   10985   # We cannot hardcode anything, or else we can only hardcode existing
   10986   # directories.
   10987   hardcode_action=unsupported
   10988 fi
   10989 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10990 $as_echo "$hardcode_action" >&6; }
   10991 
   10992 if test "$hardcode_action" = relink ||
   10993    test "$inherit_rpath" = yes; then
   10994   # Fast installation is not supported
   10995   enable_fast_install=no
   10996 elif test "$shlibpath_overrides_runpath" = yes ||
   10997      test "$enable_shared" = no; then
   10998   # Fast installation is not necessary
   10999   enable_fast_install=needless
   11000 fi
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007   if test "x$enable_dlopen" != xyes; then
   11008   enable_dlopen=unknown
   11009   enable_dlopen_self=unknown
   11010   enable_dlopen_self_static=unknown
   11011 else
   11012   lt_cv_dlopen=no
   11013   lt_cv_dlopen_libs=
   11014 
   11015   case $host_os in
   11016   beos*)
   11017     lt_cv_dlopen="load_add_on"
   11018     lt_cv_dlopen_libs=
   11019     lt_cv_dlopen_self=yes
   11020     ;;
   11021 
   11022   mingw* | pw32* | cegcc*)
   11023     lt_cv_dlopen="LoadLibrary"
   11024     lt_cv_dlopen_libs=
   11025     ;;
   11026 
   11027   cygwin*)
   11028     lt_cv_dlopen="dlopen"
   11029     lt_cv_dlopen_libs=
   11030     ;;
   11031 
   11032   darwin*)
   11033   # if libdl is installed we need to link against it
   11034     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11037   $as_echo_n "(cached) " >&6
   11038 else
   11039   ac_check_lib_save_LIBS=$LIBS
   11040 LIBS="-ldl  $LIBS"
   11041 cat >conftest.$ac_ext <<_ACEOF
   11042 /* confdefs.h.  */
   11043 _ACEOF
   11044 cat confdefs.h >>conftest.$ac_ext
   11045 cat >>conftest.$ac_ext <<_ACEOF
   11046 /* end confdefs.h.  */
   11047 
   11048 /* Override any GCC internal prototype to avoid an error.
   11049    Use char because int might match the return type of a GCC
   11050    builtin and then its argument prototype would still apply.  */
   11051 #ifdef __cplusplus
   11052 extern "C"
   11053 #endif
   11054 char dlopen ();
   11055 int
   11056 main ()
   11057 {
   11058 return dlopen ();
   11059   ;
   11060   return 0;
   11061 }
   11062 _ACEOF
   11063 rm -f conftest.$ac_objext conftest$ac_exeext
   11064 if { (ac_try="$ac_link"
   11065 case "(($ac_try" in
   11066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11067   *) ac_try_echo=$ac_try;;
   11068 esac
   11069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11070 $as_echo "$ac_try_echo") >&5
   11071   (eval "$ac_link") 2>conftest.er1
   11072   ac_status=$?
   11073   grep -v '^ *+' conftest.er1 >conftest.err
   11074   rm -f conftest.er1
   11075   cat conftest.err >&5
   11076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11077   (exit $ac_status); } && {
   11078 	 test -z "$ac_c_werror_flag" ||
   11079 	 test ! -s conftest.err
   11080        } && test -s conftest$ac_exeext && {
   11081 	 test "$cross_compiling" = yes ||
   11082 	 $as_test_x conftest$ac_exeext
   11083        }; then
   11084   ac_cv_lib_dl_dlopen=yes
   11085 else
   11086   $as_echo "$as_me: failed program was:" >&5
   11087 sed 's/^/| /' conftest.$ac_ext >&5
   11088 
   11089 	ac_cv_lib_dl_dlopen=no
   11090 fi
   11091 
   11092 rm -rf conftest.dSYM
   11093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11094       conftest$ac_exeext conftest.$ac_ext
   11095 LIBS=$ac_check_lib_save_LIBS
   11096 fi
   11097 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11098 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11099 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11100   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11101 else
   11102 
   11103     lt_cv_dlopen="dyld"
   11104     lt_cv_dlopen_libs=
   11105     lt_cv_dlopen_self=yes
   11106 
   11107 fi
   11108 
   11109     ;;
   11110 
   11111   *)
   11112     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   11113 $as_echo_n "checking for shl_load... " >&6; }
   11114 if test "${ac_cv_func_shl_load+set}" = set; then
   11115   $as_echo_n "(cached) " >&6
   11116 else
   11117   cat >conftest.$ac_ext <<_ACEOF
   11118 /* confdefs.h.  */
   11119 _ACEOF
   11120 cat confdefs.h >>conftest.$ac_ext
   11121 cat >>conftest.$ac_ext <<_ACEOF
   11122 /* end confdefs.h.  */
   11123 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   11124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11125 #define shl_load innocuous_shl_load
   11126 
   11127 /* System header to define __stub macros and hopefully few prototypes,
   11128     which can conflict with char shl_load (); below.
   11129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11130     <limits.h> exists even on freestanding compilers.  */
   11131 
   11132 #ifdef __STDC__
   11133 # include <limits.h>
   11134 #else
   11135 # include <assert.h>
   11136 #endif
   11137 
   11138 #undef shl_load
   11139 
   11140 /* Override any GCC internal prototype to avoid an error.
   11141    Use char because int might match the return type of a GCC
   11142    builtin and then its argument prototype would still apply.  */
   11143 #ifdef __cplusplus
   11144 extern "C"
   11145 #endif
   11146 char shl_load ();
   11147 /* The GNU C library defines this for functions which it implements
   11148     to always fail with ENOSYS.  Some functions are actually named
   11149     something starting with __ and the normal name is an alias.  */
   11150 #if defined __stub_shl_load || defined __stub___shl_load
   11151 choke me
   11152 #endif
   11153 
   11154 int
   11155 main ()
   11156 {
   11157 return shl_load ();
   11158   ;
   11159   return 0;
   11160 }
   11161 _ACEOF
   11162 rm -f conftest.$ac_objext conftest$ac_exeext
   11163 if { (ac_try="$ac_link"
   11164 case "(($ac_try" in
   11165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11166   *) ac_try_echo=$ac_try;;
   11167 esac
   11168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11169 $as_echo "$ac_try_echo") >&5
   11170   (eval "$ac_link") 2>conftest.er1
   11171   ac_status=$?
   11172   grep -v '^ *+' conftest.er1 >conftest.err
   11173   rm -f conftest.er1
   11174   cat conftest.err >&5
   11175   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11176   (exit $ac_status); } && {
   11177 	 test -z "$ac_c_werror_flag" ||
   11178 	 test ! -s conftest.err
   11179        } && test -s conftest$ac_exeext && {
   11180 	 test "$cross_compiling" = yes ||
   11181 	 $as_test_x conftest$ac_exeext
   11182        }; then
   11183   ac_cv_func_shl_load=yes
   11184 else
   11185   $as_echo "$as_me: failed program was:" >&5
   11186 sed 's/^/| /' conftest.$ac_ext >&5
   11187 
   11188 	ac_cv_func_shl_load=no
   11189 fi
   11190 
   11191 rm -rf conftest.dSYM
   11192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11193       conftest$ac_exeext conftest.$ac_ext
   11194 fi
   11195 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   11196 $as_echo "$ac_cv_func_shl_load" >&6; }
   11197 if test "x$ac_cv_func_shl_load" = x""yes; then
   11198   lt_cv_dlopen="shl_load"
   11199 else
   11200   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   11201 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11202 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   11203   $as_echo_n "(cached) " >&6
   11204 else
   11205   ac_check_lib_save_LIBS=$LIBS
   11206 LIBS="-ldld  $LIBS"
   11207 cat >conftest.$ac_ext <<_ACEOF
   11208 /* confdefs.h.  */
   11209 _ACEOF
   11210 cat confdefs.h >>conftest.$ac_ext
   11211 cat >>conftest.$ac_ext <<_ACEOF
   11212 /* end confdefs.h.  */
   11213 
   11214 /* Override any GCC internal prototype to avoid an error.
   11215    Use char because int might match the return type of a GCC
   11216    builtin and then its argument prototype would still apply.  */
   11217 #ifdef __cplusplus
   11218 extern "C"
   11219 #endif
   11220 char shl_load ();
   11221 int
   11222 main ()
   11223 {
   11224 return shl_load ();
   11225   ;
   11226   return 0;
   11227 }
   11228 _ACEOF
   11229 rm -f conftest.$ac_objext conftest$ac_exeext
   11230 if { (ac_try="$ac_link"
   11231 case "(($ac_try" in
   11232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11233   *) ac_try_echo=$ac_try;;
   11234 esac
   11235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11236 $as_echo "$ac_try_echo") >&5
   11237   (eval "$ac_link") 2>conftest.er1
   11238   ac_status=$?
   11239   grep -v '^ *+' conftest.er1 >conftest.err
   11240   rm -f conftest.er1
   11241   cat conftest.err >&5
   11242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11243   (exit $ac_status); } && {
   11244 	 test -z "$ac_c_werror_flag" ||
   11245 	 test ! -s conftest.err
   11246        } && test -s conftest$ac_exeext && {
   11247 	 test "$cross_compiling" = yes ||
   11248 	 $as_test_x conftest$ac_exeext
   11249        }; then
   11250   ac_cv_lib_dld_shl_load=yes
   11251 else
   11252   $as_echo "$as_me: failed program was:" >&5
   11253 sed 's/^/| /' conftest.$ac_ext >&5
   11254 
   11255 	ac_cv_lib_dld_shl_load=no
   11256 fi
   11257 
   11258 rm -rf conftest.dSYM
   11259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11260       conftest$ac_exeext conftest.$ac_ext
   11261 LIBS=$ac_check_lib_save_LIBS
   11262 fi
   11263 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11265 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   11266   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11267 else
   11268   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   11269 $as_echo_n "checking for dlopen... " >&6; }
   11270 if test "${ac_cv_func_dlopen+set}" = set; then
   11271   $as_echo_n "(cached) " >&6
   11272 else
   11273   cat >conftest.$ac_ext <<_ACEOF
   11274 /* confdefs.h.  */
   11275 _ACEOF
   11276 cat confdefs.h >>conftest.$ac_ext
   11277 cat >>conftest.$ac_ext <<_ACEOF
   11278 /* end confdefs.h.  */
   11279 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   11280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11281 #define dlopen innocuous_dlopen
   11282 
   11283 /* System header to define __stub macros and hopefully few prototypes,
   11284     which can conflict with char dlopen (); below.
   11285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11286     <limits.h> exists even on freestanding compilers.  */
   11287 
   11288 #ifdef __STDC__
   11289 # include <limits.h>
   11290 #else
   11291 # include <assert.h>
   11292 #endif
   11293 
   11294 #undef dlopen
   11295 
   11296 /* Override any GCC internal prototype to avoid an error.
   11297    Use char because int might match the return type of a GCC
   11298    builtin and then its argument prototype would still apply.  */
   11299 #ifdef __cplusplus
   11300 extern "C"
   11301 #endif
   11302 char dlopen ();
   11303 /* The GNU C library defines this for functions which it implements
   11304     to always fail with ENOSYS.  Some functions are actually named
   11305     something starting with __ and the normal name is an alias.  */
   11306 #if defined __stub_dlopen || defined __stub___dlopen
   11307 choke me
   11308 #endif
   11309 
   11310 int
   11311 main ()
   11312 {
   11313 return dlopen ();
   11314   ;
   11315   return 0;
   11316 }
   11317 _ACEOF
   11318 rm -f conftest.$ac_objext conftest$ac_exeext
   11319 if { (ac_try="$ac_link"
   11320 case "(($ac_try" in
   11321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11322   *) ac_try_echo=$ac_try;;
   11323 esac
   11324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11325 $as_echo "$ac_try_echo") >&5
   11326   (eval "$ac_link") 2>conftest.er1
   11327   ac_status=$?
   11328   grep -v '^ *+' conftest.er1 >conftest.err
   11329   rm -f conftest.er1
   11330   cat conftest.err >&5
   11331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11332   (exit $ac_status); } && {
   11333 	 test -z "$ac_c_werror_flag" ||
   11334 	 test ! -s conftest.err
   11335        } && test -s conftest$ac_exeext && {
   11336 	 test "$cross_compiling" = yes ||
   11337 	 $as_test_x conftest$ac_exeext
   11338        }; then
   11339   ac_cv_func_dlopen=yes
   11340 else
   11341   $as_echo "$as_me: failed program was:" >&5
   11342 sed 's/^/| /' conftest.$ac_ext >&5
   11343 
   11344 	ac_cv_func_dlopen=no
   11345 fi
   11346 
   11347 rm -rf conftest.dSYM
   11348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11349       conftest$ac_exeext conftest.$ac_ext
   11350 fi
   11351 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   11352 $as_echo "$ac_cv_func_dlopen" >&6; }
   11353 if test "x$ac_cv_func_dlopen" = x""yes; then
   11354   lt_cv_dlopen="dlopen"
   11355 else
   11356   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11359   $as_echo_n "(cached) " >&6
   11360 else
   11361   ac_check_lib_save_LIBS=$LIBS
   11362 LIBS="-ldl  $LIBS"
   11363 cat >conftest.$ac_ext <<_ACEOF
   11364 /* confdefs.h.  */
   11365 _ACEOF
   11366 cat confdefs.h >>conftest.$ac_ext
   11367 cat >>conftest.$ac_ext <<_ACEOF
   11368 /* end confdefs.h.  */
   11369 
   11370 /* Override any GCC internal prototype to avoid an error.
   11371    Use char because int might match the return type of a GCC
   11372    builtin and then its argument prototype would still apply.  */
   11373 #ifdef __cplusplus
   11374 extern "C"
   11375 #endif
   11376 char dlopen ();
   11377 int
   11378 main ()
   11379 {
   11380 return dlopen ();
   11381   ;
   11382   return 0;
   11383 }
   11384 _ACEOF
   11385 rm -f conftest.$ac_objext conftest$ac_exeext
   11386 if { (ac_try="$ac_link"
   11387 case "(($ac_try" in
   11388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11389   *) ac_try_echo=$ac_try;;
   11390 esac
   11391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11392 $as_echo "$ac_try_echo") >&5
   11393   (eval "$ac_link") 2>conftest.er1
   11394   ac_status=$?
   11395   grep -v '^ *+' conftest.er1 >conftest.err
   11396   rm -f conftest.er1
   11397   cat conftest.err >&5
   11398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11399   (exit $ac_status); } && {
   11400 	 test -z "$ac_c_werror_flag" ||
   11401 	 test ! -s conftest.err
   11402        } && test -s conftest$ac_exeext && {
   11403 	 test "$cross_compiling" = yes ||
   11404 	 $as_test_x conftest$ac_exeext
   11405        }; then
   11406   ac_cv_lib_dl_dlopen=yes
   11407 else
   11408   $as_echo "$as_me: failed program was:" >&5
   11409 sed 's/^/| /' conftest.$ac_ext >&5
   11410 
   11411 	ac_cv_lib_dl_dlopen=no
   11412 fi
   11413 
   11414 rm -rf conftest.dSYM
   11415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11416       conftest$ac_exeext conftest.$ac_ext
   11417 LIBS=$ac_check_lib_save_LIBS
   11418 fi
   11419 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11420 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11421 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11422   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11423 else
   11424   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11425 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11426 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11427   $as_echo_n "(cached) " >&6
   11428 else
   11429   ac_check_lib_save_LIBS=$LIBS
   11430 LIBS="-lsvld  $LIBS"
   11431 cat >conftest.$ac_ext <<_ACEOF
   11432 /* confdefs.h.  */
   11433 _ACEOF
   11434 cat confdefs.h >>conftest.$ac_ext
   11435 cat >>conftest.$ac_ext <<_ACEOF
   11436 /* end confdefs.h.  */
   11437 
   11438 /* Override any GCC internal prototype to avoid an error.
   11439    Use char because int might match the return type of a GCC
   11440    builtin and then its argument prototype would still apply.  */
   11441 #ifdef __cplusplus
   11442 extern "C"
   11443 #endif
   11444 char dlopen ();
   11445 int
   11446 main ()
   11447 {
   11448 return dlopen ();
   11449   ;
   11450   return 0;
   11451 }
   11452 _ACEOF
   11453 rm -f conftest.$ac_objext conftest$ac_exeext
   11454 if { (ac_try="$ac_link"
   11455 case "(($ac_try" in
   11456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11457   *) ac_try_echo=$ac_try;;
   11458 esac
   11459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11460 $as_echo "$ac_try_echo") >&5
   11461   (eval "$ac_link") 2>conftest.er1
   11462   ac_status=$?
   11463   grep -v '^ *+' conftest.er1 >conftest.err
   11464   rm -f conftest.er1
   11465   cat conftest.err >&5
   11466   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11467   (exit $ac_status); } && {
   11468 	 test -z "$ac_c_werror_flag" ||
   11469 	 test ! -s conftest.err
   11470        } && test -s conftest$ac_exeext && {
   11471 	 test "$cross_compiling" = yes ||
   11472 	 $as_test_x conftest$ac_exeext
   11473        }; then
   11474   ac_cv_lib_svld_dlopen=yes
   11475 else
   11476   $as_echo "$as_me: failed program was:" >&5
   11477 sed 's/^/| /' conftest.$ac_ext >&5
   11478 
   11479 	ac_cv_lib_svld_dlopen=no
   11480 fi
   11481 
   11482 rm -rf conftest.dSYM
   11483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11484       conftest$ac_exeext conftest.$ac_ext
   11485 LIBS=$ac_check_lib_save_LIBS
   11486 fi
   11487 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11488 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11489 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   11490   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11491 else
   11492   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11493 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11494 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11495   $as_echo_n "(cached) " >&6
   11496 else
   11497   ac_check_lib_save_LIBS=$LIBS
   11498 LIBS="-ldld  $LIBS"
   11499 cat >conftest.$ac_ext <<_ACEOF
   11500 /* confdefs.h.  */
   11501 _ACEOF
   11502 cat confdefs.h >>conftest.$ac_ext
   11503 cat >>conftest.$ac_ext <<_ACEOF
   11504 /* end confdefs.h.  */
   11505 
   11506 /* Override any GCC internal prototype to avoid an error.
   11507    Use char because int might match the return type of a GCC
   11508    builtin and then its argument prototype would still apply.  */
   11509 #ifdef __cplusplus
   11510 extern "C"
   11511 #endif
   11512 char dld_link ();
   11513 int
   11514 main ()
   11515 {
   11516 return dld_link ();
   11517   ;
   11518   return 0;
   11519 }
   11520 _ACEOF
   11521 rm -f conftest.$ac_objext conftest$ac_exeext
   11522 if { (ac_try="$ac_link"
   11523 case "(($ac_try" in
   11524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11525   *) ac_try_echo=$ac_try;;
   11526 esac
   11527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11528 $as_echo "$ac_try_echo") >&5
   11529   (eval "$ac_link") 2>conftest.er1
   11530   ac_status=$?
   11531   grep -v '^ *+' conftest.er1 >conftest.err
   11532   rm -f conftest.er1
   11533   cat conftest.err >&5
   11534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11535   (exit $ac_status); } && {
   11536 	 test -z "$ac_c_werror_flag" ||
   11537 	 test ! -s conftest.err
   11538        } && test -s conftest$ac_exeext && {
   11539 	 test "$cross_compiling" = yes ||
   11540 	 $as_test_x conftest$ac_exeext
   11541        }; then
   11542   ac_cv_lib_dld_dld_link=yes
   11543 else
   11544   $as_echo "$as_me: failed program was:" >&5
   11545 sed 's/^/| /' conftest.$ac_ext >&5
   11546 
   11547 	ac_cv_lib_dld_dld_link=no
   11548 fi
   11549 
   11550 rm -rf conftest.dSYM
   11551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11552       conftest$ac_exeext conftest.$ac_ext
   11553 LIBS=$ac_check_lib_save_LIBS
   11554 fi
   11555 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11556 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11557 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   11558   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11559 fi
   11560 
   11561 
   11562 fi
   11563 
   11564 
   11565 fi
   11566 
   11567 
   11568 fi
   11569 
   11570 
   11571 fi
   11572 
   11573 
   11574 fi
   11575 
   11576     ;;
   11577   esac
   11578 
   11579   if test "x$lt_cv_dlopen" != xno; then
   11580     enable_dlopen=yes
   11581   else
   11582     enable_dlopen=no
   11583   fi
   11584 
   11585   case $lt_cv_dlopen in
   11586   dlopen)
   11587     save_CPPFLAGS="$CPPFLAGS"
   11588     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11589 
   11590     save_LDFLAGS="$LDFLAGS"
   11591     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11592 
   11593     save_LIBS="$LIBS"
   11594     LIBS="$lt_cv_dlopen_libs $LIBS"
   11595 
   11596     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   11597 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11598 if test "${lt_cv_dlopen_self+set}" = set; then
   11599   $as_echo_n "(cached) " >&6
   11600 else
   11601   	  if test "$cross_compiling" = yes; then :
   11602   lt_cv_dlopen_self=cross
   11603 else
   11604   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11605   lt_status=$lt_dlunknown
   11606   cat > conftest.$ac_ext <<_LT_EOF
   11607 #line 11607 "configure"
   11608 #include "confdefs.h"
   11609 
   11610 #if HAVE_DLFCN_H
   11611 #include <dlfcn.h>
   11612 #endif
   11613 
   11614 #include <stdio.h>
   11615 
   11616 #ifdef RTLD_GLOBAL
   11617 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11618 #else
   11619 #  ifdef DL_GLOBAL
   11620 #    define LT_DLGLOBAL		DL_GLOBAL
   11621 #  else
   11622 #    define LT_DLGLOBAL		0
   11623 #  endif
   11624 #endif
   11625 
   11626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11627    find out it does not work in some platform. */
   11628 #ifndef LT_DLLAZY_OR_NOW
   11629 #  ifdef RTLD_LAZY
   11630 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11631 #  else
   11632 #    ifdef DL_LAZY
   11633 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11634 #    else
   11635 #      ifdef RTLD_NOW
   11636 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11637 #      else
   11638 #        ifdef DL_NOW
   11639 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11640 #        else
   11641 #          define LT_DLLAZY_OR_NOW	0
   11642 #        endif
   11643 #      endif
   11644 #    endif
   11645 #  endif
   11646 #endif
   11647 
   11648 void fnord() { int i=42;}
   11649 int main ()
   11650 {
   11651   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11652   int status = $lt_dlunknown;
   11653 
   11654   if (self)
   11655     {
   11656       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11657       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11658       /* dlclose (self); */
   11659     }
   11660   else
   11661     puts (dlerror ());
   11662 
   11663   return status;
   11664 }
   11665 _LT_EOF
   11666   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11667   (eval $ac_link) 2>&5
   11668   ac_status=$?
   11669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11670   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11671     (./conftest; exit; ) >&5 2>/dev/null
   11672     lt_status=$?
   11673     case x$lt_status in
   11674       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11675       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11676       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11677     esac
   11678   else :
   11679     # compilation failed
   11680     lt_cv_dlopen_self=no
   11681   fi
   11682 fi
   11683 rm -fr conftest*
   11684 
   11685 
   11686 fi
   11687 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   11688 $as_echo "$lt_cv_dlopen_self" >&6; }
   11689 
   11690     if test "x$lt_cv_dlopen_self" = xyes; then
   11691       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11692       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11694 if test "${lt_cv_dlopen_self_static+set}" = set; then
   11695   $as_echo_n "(cached) " >&6
   11696 else
   11697   	  if test "$cross_compiling" = yes; then :
   11698   lt_cv_dlopen_self_static=cross
   11699 else
   11700   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11701   lt_status=$lt_dlunknown
   11702   cat > conftest.$ac_ext <<_LT_EOF
   11703 #line 11703 "configure"
   11704 #include "confdefs.h"
   11705 
   11706 #if HAVE_DLFCN_H
   11707 #include <dlfcn.h>
   11708 #endif
   11709 
   11710 #include <stdio.h>
   11711 
   11712 #ifdef RTLD_GLOBAL
   11713 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11714 #else
   11715 #  ifdef DL_GLOBAL
   11716 #    define LT_DLGLOBAL		DL_GLOBAL
   11717 #  else
   11718 #    define LT_DLGLOBAL		0
   11719 #  endif
   11720 #endif
   11721 
   11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11723    find out it does not work in some platform. */
   11724 #ifndef LT_DLLAZY_OR_NOW
   11725 #  ifdef RTLD_LAZY
   11726 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11727 #  else
   11728 #    ifdef DL_LAZY
   11729 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11730 #    else
   11731 #      ifdef RTLD_NOW
   11732 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11733 #      else
   11734 #        ifdef DL_NOW
   11735 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11736 #        else
   11737 #          define LT_DLLAZY_OR_NOW	0
   11738 #        endif
   11739 #      endif
   11740 #    endif
   11741 #  endif
   11742 #endif
   11743 
   11744 void fnord() { int i=42;}
   11745 int main ()
   11746 {
   11747   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11748   int status = $lt_dlunknown;
   11749 
   11750   if (self)
   11751     {
   11752       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11753       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11754       /* dlclose (self); */
   11755     }
   11756   else
   11757     puts (dlerror ());
   11758 
   11759   return status;
   11760 }
   11761 _LT_EOF
   11762   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11763   (eval $ac_link) 2>&5
   11764   ac_status=$?
   11765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11766   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11767     (./conftest; exit; ) >&5 2>/dev/null
   11768     lt_status=$?
   11769     case x$lt_status in
   11770       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11771       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11772       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11773     esac
   11774   else :
   11775     # compilation failed
   11776     lt_cv_dlopen_self_static=no
   11777   fi
   11778 fi
   11779 rm -fr conftest*
   11780 
   11781 
   11782 fi
   11783 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11784 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11785     fi
   11786 
   11787     CPPFLAGS="$save_CPPFLAGS"
   11788     LDFLAGS="$save_LDFLAGS"
   11789     LIBS="$save_LIBS"
   11790     ;;
   11791   esac
   11792 
   11793   case $lt_cv_dlopen_self in
   11794   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11795   *) enable_dlopen_self=unknown ;;
   11796   esac
   11797 
   11798   case $lt_cv_dlopen_self_static in
   11799   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11800   *) enable_dlopen_self_static=unknown ;;
   11801   esac
   11802 fi
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 striplib=
   11821 old_striplib=
   11822 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11823 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11824 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11825   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11826   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11827   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11828 $as_echo "yes" >&6; }
   11829 else
   11830 # FIXME - insert some real tests, host_os isn't really good enough
   11831   case $host_os in
   11832   darwin*)
   11833     if test -n "$STRIP" ; then
   11834       striplib="$STRIP -x"
   11835       old_striplib="$STRIP -S"
   11836       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11837 $as_echo "yes" >&6; }
   11838     else
   11839       { $as_echo "$as_me:$LINENO: result: no" >&5
   11840 $as_echo "no" >&6; }
   11841     fi
   11842     ;;
   11843   *)
   11844     { $as_echo "$as_me:$LINENO: result: no" >&5
   11845 $as_echo "no" >&6; }
   11846     ;;
   11847   esac
   11848 fi
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861   # Report which library types will actually be built
   11862   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11863 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11864   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11865 $as_echo "$can_build_shared" >&6; }
   11866 
   11867   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11868 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11869   test "$can_build_shared" = "no" && enable_shared=no
   11870 
   11871   # On AIX, shared libraries and static libraries use the same namespace, and
   11872   # are all built from PIC.
   11873   case $host_os in
   11874   aix3*)
   11875     test "$enable_shared" = yes && enable_static=no
   11876     if test -n "$RANLIB"; then
   11877       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11878       postinstall_cmds='$RANLIB $lib'
   11879     fi
   11880     ;;
   11881 
   11882   aix[4-9]*)
   11883     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11884       test "$enable_shared" = yes && enable_static=no
   11885     fi
   11886     ;;
   11887   esac
   11888   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11889 $as_echo "$enable_shared" >&6; }
   11890 
   11891   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11892 $as_echo_n "checking whether to build static libraries... " >&6; }
   11893   # Make sure either enable_shared or enable_static is yes.
   11894   test "$enable_shared" = yes || enable_static=yes
   11895   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11896 $as_echo "$enable_static" >&6; }
   11897 
   11898 
   11899 
   11900 
   11901 fi
   11902 ac_ext=c
   11903 ac_cpp='$CPP $CPPFLAGS'
   11904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11907 
   11908 CC="$lt_save_CC"
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922         ac_config_commands="$ac_config_commands libtool"
   11923 
   11924 
   11925 
   11926 
   11927 # Only expand once:
   11928 
   11929 
   11930 ac_ext=c
   11931 ac_cpp='$CPP $CPPFLAGS'
   11932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11935 if test -n "$ac_tool_prefix"; then
   11936   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11939 $as_echo_n "checking for $ac_word... " >&6; }
   11940 if test "${ac_cv_prog_CC+set}" = set; then
   11941   $as_echo_n "(cached) " >&6
   11942 else
   11943   if test -n "$CC"; then
   11944   ac_cv_prog_CC="$CC" # Let the user override the test.
   11945 else
   11946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11947 for as_dir in $PATH
   11948 do
   11949   IFS=$as_save_IFS
   11950   test -z "$as_dir" && as_dir=.
   11951   for ac_exec_ext in '' $ac_executable_extensions; do
   11952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11953     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11954     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11955     break 2
   11956   fi
   11957 done
   11958 done
   11959 IFS=$as_save_IFS
   11960 
   11961 fi
   11962 fi
   11963 CC=$ac_cv_prog_CC
   11964 if test -n "$CC"; then
   11965   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11966 $as_echo "$CC" >&6; }
   11967 else
   11968   { $as_echo "$as_me:$LINENO: result: no" >&5
   11969 $as_echo "no" >&6; }
   11970 fi
   11971 
   11972 
   11973 fi
   11974 if test -z "$ac_cv_prog_CC"; then
   11975   ac_ct_CC=$CC
   11976   # Extract the first word of "gcc", so it can be a program name with args.
   11977 set dummy gcc; ac_word=$2
   11978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11979 $as_echo_n "checking for $ac_word... " >&6; }
   11980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11981   $as_echo_n "(cached) " >&6
   11982 else
   11983   if test -n "$ac_ct_CC"; then
   11984   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11985 else
   11986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11987 for as_dir in $PATH
   11988 do
   11989   IFS=$as_save_IFS
   11990   test -z "$as_dir" && as_dir=.
   11991   for ac_exec_ext in '' $ac_executable_extensions; do
   11992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11993     ac_cv_prog_ac_ct_CC="gcc"
   11994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11995     break 2
   11996   fi
   11997 done
   11998 done
   11999 IFS=$as_save_IFS
   12000 
   12001 fi
   12002 fi
   12003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12004 if test -n "$ac_ct_CC"; then
   12005   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12006 $as_echo "$ac_ct_CC" >&6; }
   12007 else
   12008   { $as_echo "$as_me:$LINENO: result: no" >&5
   12009 $as_echo "no" >&6; }
   12010 fi
   12011 
   12012   if test "x$ac_ct_CC" = x; then
   12013     CC=""
   12014   else
   12015     case $cross_compiling:$ac_tool_warned in
   12016 yes:)
   12017 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12019 ac_tool_warned=yes ;;
   12020 esac
   12021     CC=$ac_ct_CC
   12022   fi
   12023 else
   12024   CC="$ac_cv_prog_CC"
   12025 fi
   12026 
   12027 if test -z "$CC"; then
   12028           if test -n "$ac_tool_prefix"; then
   12029     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   12030 set dummy ${ac_tool_prefix}cc; ac_word=$2
   12031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12032 $as_echo_n "checking for $ac_word... " >&6; }
   12033 if test "${ac_cv_prog_CC+set}" = set; then
   12034   $as_echo_n "(cached) " >&6
   12035 else
   12036   if test -n "$CC"; then
   12037   ac_cv_prog_CC="$CC" # Let the user override the test.
   12038 else
   12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12040 for as_dir in $PATH
   12041 do
   12042   IFS=$as_save_IFS
   12043   test -z "$as_dir" && as_dir=.
   12044   for ac_exec_ext in '' $ac_executable_extensions; do
   12045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12046     ac_cv_prog_CC="${ac_tool_prefix}cc"
   12047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12048     break 2
   12049   fi
   12050 done
   12051 done
   12052 IFS=$as_save_IFS
   12053 
   12054 fi
   12055 fi
   12056 CC=$ac_cv_prog_CC
   12057 if test -n "$CC"; then
   12058   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12059 $as_echo "$CC" >&6; }
   12060 else
   12061   { $as_echo "$as_me:$LINENO: result: no" >&5
   12062 $as_echo "no" >&6; }
   12063 fi
   12064 
   12065 
   12066   fi
   12067 fi
   12068 if test -z "$CC"; then
   12069   # Extract the first word of "cc", so it can be a program name with args.
   12070 set dummy cc; ac_word=$2
   12071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12072 $as_echo_n "checking for $ac_word... " >&6; }
   12073 if test "${ac_cv_prog_CC+set}" = set; then
   12074   $as_echo_n "(cached) " >&6
   12075 else
   12076   if test -n "$CC"; then
   12077   ac_cv_prog_CC="$CC" # Let the user override the test.
   12078 else
   12079   ac_prog_rejected=no
   12080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12081 for as_dir in $PATH
   12082 do
   12083   IFS=$as_save_IFS
   12084   test -z "$as_dir" && as_dir=.
   12085   for ac_exec_ext in '' $ac_executable_extensions; do
   12086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12087     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12088        ac_prog_rejected=yes
   12089        continue
   12090      fi
   12091     ac_cv_prog_CC="cc"
   12092     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12093     break 2
   12094   fi
   12095 done
   12096 done
   12097 IFS=$as_save_IFS
   12098 
   12099 if test $ac_prog_rejected = yes; then
   12100   # We found a bogon in the path, so make sure we never use it.
   12101   set dummy $ac_cv_prog_CC
   12102   shift
   12103   if test $# != 0; then
   12104     # We chose a different compiler from the bogus one.
   12105     # However, it has the same basename, so the bogon will be chosen
   12106     # first if we set CC to just the basename; use the full file name.
   12107     shift
   12108     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12109   fi
   12110 fi
   12111 fi
   12112 fi
   12113 CC=$ac_cv_prog_CC
   12114 if test -n "$CC"; then
   12115   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12116 $as_echo "$CC" >&6; }
   12117 else
   12118   { $as_echo "$as_me:$LINENO: result: no" >&5
   12119 $as_echo "no" >&6; }
   12120 fi
   12121 
   12122 
   12123 fi
   12124 if test -z "$CC"; then
   12125   if test -n "$ac_tool_prefix"; then
   12126   for ac_prog in cl.exe
   12127   do
   12128     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12131 $as_echo_n "checking for $ac_word... " >&6; }
   12132 if test "${ac_cv_prog_CC+set}" = set; then
   12133   $as_echo_n "(cached) " >&6
   12134 else
   12135   if test -n "$CC"; then
   12136   ac_cv_prog_CC="$CC" # Let the user override the test.
   12137 else
   12138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12139 for as_dir in $PATH
   12140 do
   12141   IFS=$as_save_IFS
   12142   test -z "$as_dir" && as_dir=.
   12143   for ac_exec_ext in '' $ac_executable_extensions; do
   12144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12145     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12146     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12147     break 2
   12148   fi
   12149 done
   12150 done
   12151 IFS=$as_save_IFS
   12152 
   12153 fi
   12154 fi
   12155 CC=$ac_cv_prog_CC
   12156 if test -n "$CC"; then
   12157   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12158 $as_echo "$CC" >&6; }
   12159 else
   12160   { $as_echo "$as_me:$LINENO: result: no" >&5
   12161 $as_echo "no" >&6; }
   12162 fi
   12163 
   12164 
   12165     test -n "$CC" && break
   12166   done
   12167 fi
   12168 if test -z "$CC"; then
   12169   ac_ct_CC=$CC
   12170   for ac_prog in cl.exe
   12171 do
   12172   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12173 set dummy $ac_prog; ac_word=$2
   12174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12175 $as_echo_n "checking for $ac_word... " >&6; }
   12176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12177   $as_echo_n "(cached) " >&6
   12178 else
   12179   if test -n "$ac_ct_CC"; then
   12180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12181 else
   12182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12183 for as_dir in $PATH
   12184 do
   12185   IFS=$as_save_IFS
   12186   test -z "$as_dir" && as_dir=.
   12187   for ac_exec_ext in '' $ac_executable_extensions; do
   12188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12189     ac_cv_prog_ac_ct_CC="$ac_prog"
   12190     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12191     break 2
   12192   fi
   12193 done
   12194 done
   12195 IFS=$as_save_IFS
   12196 
   12197 fi
   12198 fi
   12199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12200 if test -n "$ac_ct_CC"; then
   12201   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12202 $as_echo "$ac_ct_CC" >&6; }
   12203 else
   12204   { $as_echo "$as_me:$LINENO: result: no" >&5
   12205 $as_echo "no" >&6; }
   12206 fi
   12207 
   12208 
   12209   test -n "$ac_ct_CC" && break
   12210 done
   12211 
   12212   if test "x$ac_ct_CC" = x; then
   12213     CC=""
   12214   else
   12215     case $cross_compiling:$ac_tool_warned in
   12216 yes:)
   12217 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12219 ac_tool_warned=yes ;;
   12220 esac
   12221     CC=$ac_ct_CC
   12222   fi
   12223 fi
   12224 
   12225 fi
   12226 
   12227 
   12228 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12230 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   12231 See \`config.log' for more details." >&5
   12232 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   12233 See \`config.log' for more details." >&2;}
   12234    { (exit 1); exit 1; }; }; }
   12235 
   12236 # Provide some information about the compiler.
   12237 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   12238 set X $ac_compile
   12239 ac_compiler=$2
   12240 { (ac_try="$ac_compiler --version >&5"
   12241 case "(($ac_try" in
   12242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12243   *) ac_try_echo=$ac_try;;
   12244 esac
   12245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12246 $as_echo "$ac_try_echo") >&5
   12247   (eval "$ac_compiler --version >&5") 2>&5
   12248   ac_status=$?
   12249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12250   (exit $ac_status); }
   12251 { (ac_try="$ac_compiler -v >&5"
   12252 case "(($ac_try" in
   12253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12254   *) ac_try_echo=$ac_try;;
   12255 esac
   12256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12257 $as_echo "$ac_try_echo") >&5
   12258   (eval "$ac_compiler -v >&5") 2>&5
   12259   ac_status=$?
   12260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12261   (exit $ac_status); }
   12262 { (ac_try="$ac_compiler -V >&5"
   12263 case "(($ac_try" in
   12264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12265   *) ac_try_echo=$ac_try;;
   12266 esac
   12267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12268 $as_echo "$ac_try_echo") >&5
   12269   (eval "$ac_compiler -V >&5") 2>&5
   12270   ac_status=$?
   12271   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12272   (exit $ac_status); }
   12273 
   12274 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   12275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   12276 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   cat >conftest.$ac_ext <<_ACEOF
   12280 /* confdefs.h.  */
   12281 _ACEOF
   12282 cat confdefs.h >>conftest.$ac_ext
   12283 cat >>conftest.$ac_ext <<_ACEOF
   12284 /* end confdefs.h.  */
   12285 
   12286 int
   12287 main ()
   12288 {
   12289 #ifndef __GNUC__
   12290        choke me
   12291 #endif
   12292 
   12293   ;
   12294   return 0;
   12295 }
   12296 _ACEOF
   12297 rm -f conftest.$ac_objext
   12298 if { (ac_try="$ac_compile"
   12299 case "(($ac_try" in
   12300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12301   *) ac_try_echo=$ac_try;;
   12302 esac
   12303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12304 $as_echo "$ac_try_echo") >&5
   12305   (eval "$ac_compile") 2>conftest.er1
   12306   ac_status=$?
   12307   grep -v '^ *+' conftest.er1 >conftest.err
   12308   rm -f conftest.er1
   12309   cat conftest.err >&5
   12310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12311   (exit $ac_status); } && {
   12312 	 test -z "$ac_c_werror_flag" ||
   12313 	 test ! -s conftest.err
   12314        } && test -s conftest.$ac_objext; then
   12315   ac_compiler_gnu=yes
   12316 else
   12317   $as_echo "$as_me: failed program was:" >&5
   12318 sed 's/^/| /' conftest.$ac_ext >&5
   12319 
   12320 	ac_compiler_gnu=no
   12321 fi
   12322 
   12323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12325 
   12326 fi
   12327 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   12328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   12329 if test $ac_compiler_gnu = yes; then
   12330   GCC=yes
   12331 else
   12332   GCC=
   12333 fi
   12334 ac_test_CFLAGS=${CFLAGS+set}
   12335 ac_save_CFLAGS=$CFLAGS
   12336 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   12337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   12338 if test "${ac_cv_prog_cc_g+set}" = set; then
   12339   $as_echo_n "(cached) " >&6
   12340 else
   12341   ac_save_c_werror_flag=$ac_c_werror_flag
   12342    ac_c_werror_flag=yes
   12343    ac_cv_prog_cc_g=no
   12344    CFLAGS="-g"
   12345    cat >conftest.$ac_ext <<_ACEOF
   12346 /* confdefs.h.  */
   12347 _ACEOF
   12348 cat confdefs.h >>conftest.$ac_ext
   12349 cat >>conftest.$ac_ext <<_ACEOF
   12350 /* end confdefs.h.  */
   12351 
   12352 int
   12353 main ()
   12354 {
   12355 
   12356   ;
   12357   return 0;
   12358 }
   12359 _ACEOF
   12360 rm -f conftest.$ac_objext
   12361 if { (ac_try="$ac_compile"
   12362 case "(($ac_try" in
   12363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12364   *) ac_try_echo=$ac_try;;
   12365 esac
   12366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12367 $as_echo "$ac_try_echo") >&5
   12368   (eval "$ac_compile") 2>conftest.er1
   12369   ac_status=$?
   12370   grep -v '^ *+' conftest.er1 >conftest.err
   12371   rm -f conftest.er1
   12372   cat conftest.err >&5
   12373   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12374   (exit $ac_status); } && {
   12375 	 test -z "$ac_c_werror_flag" ||
   12376 	 test ! -s conftest.err
   12377        } && test -s conftest.$ac_objext; then
   12378   ac_cv_prog_cc_g=yes
   12379 else
   12380   $as_echo "$as_me: failed program was:" >&5
   12381 sed 's/^/| /' conftest.$ac_ext >&5
   12382 
   12383 	CFLAGS=""
   12384       cat >conftest.$ac_ext <<_ACEOF
   12385 /* confdefs.h.  */
   12386 _ACEOF
   12387 cat confdefs.h >>conftest.$ac_ext
   12388 cat >>conftest.$ac_ext <<_ACEOF
   12389 /* end confdefs.h.  */
   12390 
   12391 int
   12392 main ()
   12393 {
   12394 
   12395   ;
   12396   return 0;
   12397 }
   12398 _ACEOF
   12399 rm -f conftest.$ac_objext
   12400 if { (ac_try="$ac_compile"
   12401 case "(($ac_try" in
   12402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12403   *) ac_try_echo=$ac_try;;
   12404 esac
   12405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12406 $as_echo "$ac_try_echo") >&5
   12407   (eval "$ac_compile") 2>conftest.er1
   12408   ac_status=$?
   12409   grep -v '^ *+' conftest.er1 >conftest.err
   12410   rm -f conftest.er1
   12411   cat conftest.err >&5
   12412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12413   (exit $ac_status); } && {
   12414 	 test -z "$ac_c_werror_flag" ||
   12415 	 test ! -s conftest.err
   12416        } && test -s conftest.$ac_objext; then
   12417   :
   12418 else
   12419   $as_echo "$as_me: failed program was:" >&5
   12420 sed 's/^/| /' conftest.$ac_ext >&5
   12421 
   12422 	ac_c_werror_flag=$ac_save_c_werror_flag
   12423 	 CFLAGS="-g"
   12424 	 cat >conftest.$ac_ext <<_ACEOF
   12425 /* confdefs.h.  */
   12426 _ACEOF
   12427 cat confdefs.h >>conftest.$ac_ext
   12428 cat >>conftest.$ac_ext <<_ACEOF
   12429 /* end confdefs.h.  */
   12430 
   12431 int
   12432 main ()
   12433 {
   12434 
   12435   ;
   12436   return 0;
   12437 }
   12438 _ACEOF
   12439 rm -f conftest.$ac_objext
   12440 if { (ac_try="$ac_compile"
   12441 case "(($ac_try" in
   12442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12443   *) ac_try_echo=$ac_try;;
   12444 esac
   12445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12446 $as_echo "$ac_try_echo") >&5
   12447   (eval "$ac_compile") 2>conftest.er1
   12448   ac_status=$?
   12449   grep -v '^ *+' conftest.er1 >conftest.err
   12450   rm -f conftest.er1
   12451   cat conftest.err >&5
   12452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12453   (exit $ac_status); } && {
   12454 	 test -z "$ac_c_werror_flag" ||
   12455 	 test ! -s conftest.err
   12456        } && test -s conftest.$ac_objext; then
   12457   ac_cv_prog_cc_g=yes
   12458 else
   12459   $as_echo "$as_me: failed program was:" >&5
   12460 sed 's/^/| /' conftest.$ac_ext >&5
   12461 
   12462 
   12463 fi
   12464 
   12465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12466 fi
   12467 
   12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12469 fi
   12470 
   12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12472    ac_c_werror_flag=$ac_save_c_werror_flag
   12473 fi
   12474 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   12475 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12476 if test "$ac_test_CFLAGS" = set; then
   12477   CFLAGS=$ac_save_CFLAGS
   12478 elif test $ac_cv_prog_cc_g = yes; then
   12479   if test "$GCC" = yes; then
   12480     CFLAGS="-g -O2"
   12481   else
   12482     CFLAGS="-g"
   12483   fi
   12484 else
   12485   if test "$GCC" = yes; then
   12486     CFLAGS="-O2"
   12487   else
   12488     CFLAGS=
   12489   fi
   12490 fi
   12491 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   12492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12493 if test "${ac_cv_prog_cc_c89+set}" = set; then
   12494   $as_echo_n "(cached) " >&6
   12495 else
   12496   ac_cv_prog_cc_c89=no
   12497 ac_save_CC=$CC
   12498 cat >conftest.$ac_ext <<_ACEOF
   12499 /* confdefs.h.  */
   12500 _ACEOF
   12501 cat confdefs.h >>conftest.$ac_ext
   12502 cat >>conftest.$ac_ext <<_ACEOF
   12503 /* end confdefs.h.  */
   12504 #include <stdarg.h>
   12505 #include <stdio.h>
   12506 #include <sys/types.h>
   12507 #include <sys/stat.h>
   12508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12509 struct buf { int x; };
   12510 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12511 static char *e (p, i)
   12512      char **p;
   12513      int i;
   12514 {
   12515   return p[i];
   12516 }
   12517 static char *f (char * (*g) (char **, int), char **p, ...)
   12518 {
   12519   char *s;
   12520   va_list v;
   12521   va_start (v,p);
   12522   s = g (p, va_arg (v,int));
   12523   va_end (v);
   12524   return s;
   12525 }
   12526 
   12527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12528    function prototypes and stuff, but not '\xHH' hex character constants.
   12529    These don't provoke an error unfortunately, instead are silently treated
   12530    as 'x'.  The following induces an error, until -std is added to get
   12531    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12532    array size at least.  It's necessary to write '\x00'==0 to get something
   12533    that's true only with -std.  */
   12534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12535 
   12536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12537    inside strings and character constants.  */
   12538 #define FOO(x) 'x'
   12539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12540 
   12541 int test (int i, double x);
   12542 struct s1 {int (*f) (int a);};
   12543 struct s2 {int (*f) (double a);};
   12544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12545 int argc;
   12546 char **argv;
   12547 int
   12548 main ()
   12549 {
   12550 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12551   ;
   12552   return 0;
   12553 }
   12554 _ACEOF
   12555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12556 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12557 do
   12558   CC="$ac_save_CC $ac_arg"
   12559   rm -f conftest.$ac_objext
   12560 if { (ac_try="$ac_compile"
   12561 case "(($ac_try" in
   12562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12563   *) ac_try_echo=$ac_try;;
   12564 esac
   12565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12566 $as_echo "$ac_try_echo") >&5
   12567   (eval "$ac_compile") 2>conftest.er1
   12568   ac_status=$?
   12569   grep -v '^ *+' conftest.er1 >conftest.err
   12570   rm -f conftest.er1
   12571   cat conftest.err >&5
   12572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12573   (exit $ac_status); } && {
   12574 	 test -z "$ac_c_werror_flag" ||
   12575 	 test ! -s conftest.err
   12576        } && test -s conftest.$ac_objext; then
   12577   ac_cv_prog_cc_c89=$ac_arg
   12578 else
   12579   $as_echo "$as_me: failed program was:" >&5
   12580 sed 's/^/| /' conftest.$ac_ext >&5
   12581 
   12582 
   12583 fi
   12584 
   12585 rm -f core conftest.err conftest.$ac_objext
   12586   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12587 done
   12588 rm -f conftest.$ac_ext
   12589 CC=$ac_save_CC
   12590 
   12591 fi
   12592 # AC_CACHE_VAL
   12593 case "x$ac_cv_prog_cc_c89" in
   12594   x)
   12595     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   12596 $as_echo "none needed" >&6; } ;;
   12597   xno)
   12598     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   12599 $as_echo "unsupported" >&6; } ;;
   12600   *)
   12601     CC="$CC $ac_cv_prog_cc_c89"
   12602     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   12603 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   12604 esac
   12605 
   12606 
   12607 ac_ext=c
   12608 ac_cpp='$CPP $CPPFLAGS'
   12609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12612 
   12613 depcc="$CC"   am_compiler_list=
   12614 
   12615 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   12616 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12617 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   12618   $as_echo_n "(cached) " >&6
   12619 else
   12620   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12621   # We make a subdir and do the tests there.  Otherwise we can end up
   12622   # making bogus files that we don't know about and never remove.  For
   12623   # instance it was reported that on HP-UX the gcc test will end up
   12624   # making a dummy file named `D' -- because `-MD' means `put the output
   12625   # in D'.
   12626   mkdir conftest.dir
   12627   # Copy depcomp to subdir because otherwise we won't find it if we're
   12628   # using a relative directory.
   12629   cp "$am_depcomp" conftest.dir
   12630   cd conftest.dir
   12631   # We will build objects and dependencies in a subdirectory because
   12632   # it helps to detect inapplicable dependency modes.  For instance
   12633   # both Tru64's cc and ICC support -MD to output dependencies as a
   12634   # side effect of compilation, but ICC will put the dependencies in
   12635   # the current directory while Tru64 will put them in the object
   12636   # directory.
   12637   mkdir sub
   12638 
   12639   am_cv_CC_dependencies_compiler_type=none
   12640   if test "$am_compiler_list" = ""; then
   12641      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12642   fi
   12643   am__universal=false
   12644   case " $depcc " in #(
   12645      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   12646      esac
   12647 
   12648   for depmode in $am_compiler_list; do
   12649     # Setup a source with many dependencies, because some compilers
   12650     # like to wrap large dependency lists on column 80 (with \), and
   12651     # we should not choose a depcomp mode which is confused by this.
   12652     #
   12653     # We need to recreate these files for each test, as the compiler may
   12654     # overwrite some of them when testing with obscure command lines.
   12655     # This happens at least with the AIX C compiler.
   12656     : > sub/conftest.c
   12657     for i in 1 2 3 4 5 6; do
   12658       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12659       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   12660       # Solaris 8's {/usr,}/bin/sh.
   12661       touch sub/conftst$i.h
   12662     done
   12663     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12664 
   12665     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   12666     # mode.  It turns out that the SunPro C++ compiler does not properly
   12667     # handle `-M -o', and we need to detect this.  Also, some Intel
   12668     # versions had trouble with output in subdirs
   12669     am__obj=sub/conftest.${OBJEXT-o}
   12670     am__minus_obj="-o $am__obj"
   12671     case $depmode in
   12672     gcc)
   12673       # This depmode causes a compiler race in universal mode.
   12674       test "$am__universal" = false || continue
   12675       ;;
   12676     nosideeffect)
   12677       # after this tag, mechanisms are not by side-effect, so they'll
   12678       # only be used when explicitly requested
   12679       if test "x$enable_dependency_tracking" = xyes; then
   12680 	continue
   12681       else
   12682 	break
   12683       fi
   12684       ;;
   12685     msvisualcpp | msvcmsys)
   12686       # This compiler won't grok `-c -o', but also, the minuso test has
   12687       # not run yet.  These depmodes are late enough in the game, and
   12688       # so weak that their functioning should not be impacted.
   12689       am__obj=conftest.${OBJEXT-o}
   12690       am__minus_obj=
   12691       ;;
   12692     none) break ;;
   12693     esac
   12694     if depmode=$depmode \
   12695        source=sub/conftest.c object=$am__obj \
   12696        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12697        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   12698          >/dev/null 2>conftest.err &&
   12699        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12700        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12701        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   12702        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12703       # icc doesn't choke on unknown options, it will just issue warnings
   12704       # or remarks (even with -Werror).  So we grep stderr for any message
   12705       # that says an option was ignored or not supported.
   12706       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12707       #   icc: Command line warning: ignoring option '-M'; no argument required
   12708       # The diagnosis changed in icc 8.0:
   12709       #   icc: Command line remark: option '-MP' not supported
   12710       if (grep 'ignoring option' conftest.err ||
   12711           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12712         am_cv_CC_dependencies_compiler_type=$depmode
   12713         break
   12714       fi
   12715     fi
   12716   done
   12717 
   12718   cd ..
   12719   rm -rf conftest.dir
   12720 else
   12721   am_cv_CC_dependencies_compiler_type=none
   12722 fi
   12723 
   12724 fi
   12725 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   12726 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   12727 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   12728 
   12729  if
   12730   test "x$enable_dependency_tracking" != xno \
   12731   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   12732   am__fastdepCC_TRUE=
   12733   am__fastdepCC_FALSE='#'
   12734 else
   12735   am__fastdepCC_TRUE='#'
   12736   am__fastdepCC_FALSE=
   12737 fi
   12738 
   12739 
   12740 
   12741 
   12742 for ac_prog in cpp
   12743 do
   12744   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12745 set dummy $ac_prog; ac_word=$2
   12746 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12747 $as_echo_n "checking for $ac_word... " >&6; }
   12748 if test "${ac_cv_path_RAWCPP+set}" = set; then
   12749   $as_echo_n "(cached) " >&6
   12750 else
   12751   case $RAWCPP in
   12752   [\\/]* | ?:[\\/]*)
   12753   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   12754   ;;
   12755   *)
   12756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12757 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   12758 for as_dir in $as_dummy
   12759 do
   12760   IFS=$as_save_IFS
   12761   test -z "$as_dir" && as_dir=.
   12762   for ac_exec_ext in '' $ac_executable_extensions; do
   12763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12764     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   12765     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12766     break 2
   12767   fi
   12768 done
   12769 done
   12770 IFS=$as_save_IFS
   12771 
   12772   ;;
   12773 esac
   12774 fi
   12775 RAWCPP=$ac_cv_path_RAWCPP
   12776 if test -n "$RAWCPP"; then
   12777   { $as_echo "$as_me:$LINENO: result: $RAWCPP" >&5
   12778 $as_echo "$RAWCPP" >&6; }
   12779 else
   12780   { $as_echo "$as_me:$LINENO: result: no" >&5
   12781 $as_echo "no" >&6; }
   12782 fi
   12783 
   12784 
   12785   test -n "$RAWCPP" && break
   12786 done
   12787 test -n "$RAWCPP" || RAWCPP="${CPP}"
   12788 
   12789 
   12790 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   12791 # which is not the best choice for supporting other OS'es, but covers most
   12792 # of the ones we need for now.
   12793 { $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
   12794 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   12795 cat >conftest.$ac_ext <<_ACEOF
   12796 Does cpp redefine unix ?
   12797 _ACEOF
   12798 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   12799 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   12800 $as_echo "no" >&6; }
   12801 else
   12802 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   12803 		RAWCPPFLAGS=-undef
   12804 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12805 $as_echo "yes" >&6; }
   12806 	# under Cygwin unix is still defined even with -undef
   12807 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   12808 		RAWCPPFLAGS="-undef -ansi"
   12809 		{ $as_echo "$as_me:$LINENO: result: yes, with -ansi" >&5
   12810 $as_echo "yes, with -ansi" >&6; }
   12811 	else
   12812 		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
   12813 $as_echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
   12814    { (exit 1); exit 1; }; }
   12815 	fi
   12816 fi
   12817 rm -f conftest.$ac_ext
   12818 
   12819 { $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
   12820 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   12821 cat >conftest.$ac_ext <<_ACEOF
   12822 Does cpp preserve   "whitespace"?
   12823 _ACEOF
   12824 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   12825 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   12826 $as_echo "no" >&6; }
   12827 else
   12828 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   12829 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   12830 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12831 $as_echo "yes" >&6; }
   12832 	else
   12833 		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
   12834 $as_echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
   12835    { (exit 1); exit 1; }; }
   12836 	fi
   12837 fi
   12838 rm -f conftest.$ac_ext
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 # Check whether --with-xorg-module-dir was given.
   12847 if test "${with_xorg_module_dir+set}" = set; then
   12848   withval=$with_xorg_module_dir; moduledir="$withval"
   12849 else
   12850   moduledir="$libdir/xorg/modules"
   12851 fi
   12852 
   12853 
   12854 # Check whether --enable-dri was given.
   12855 if test "${enable_dri+set}" = set; then
   12856   enableval=$enable_dri; DRI="$enableval"
   12857 else
   12858   DRI=auto
   12859 fi
   12860 
   12861 
   12862 # Checks for extensions
   12863 
   12864 
   12865 	SAVE_CFLAGS="$CFLAGS"
   12866 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   12867 	cat >conftest.$ac_ext <<_ACEOF
   12868 /* confdefs.h.  */
   12869 _ACEOF
   12870 cat confdefs.h >>conftest.$ac_ext
   12871 cat >>conftest.$ac_ext <<_ACEOF
   12872 /* end confdefs.h.  */
   12873 
   12874 #include "xorg-server.h"
   12875 #if !defined XINERAMA
   12876 #error XINERAMA not defined
   12877 #endif
   12878 
   12879 int
   12880 main ()
   12881 {
   12882 
   12883   ;
   12884   return 0;
   12885 }
   12886 _ACEOF
   12887 rm -f conftest.$ac_objext
   12888 if { (ac_try="$ac_compile"
   12889 case "(($ac_try" in
   12890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12891   *) ac_try_echo=$ac_try;;
   12892 esac
   12893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12894 $as_echo "$ac_try_echo") >&5
   12895   (eval "$ac_compile") 2>conftest.er1
   12896   ac_status=$?
   12897   grep -v '^ *+' conftest.er1 >conftest.err
   12898   rm -f conftest.er1
   12899   cat conftest.err >&5
   12900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12901   (exit $ac_status); } && {
   12902 	 test -z "$ac_c_werror_flag" ||
   12903 	 test ! -s conftest.err
   12904        } && test -s conftest.$ac_objext; then
   12905   _EXT_CHECK=yes
   12906 else
   12907   $as_echo "$as_me: failed program was:" >&5
   12908 sed 's/^/| /' conftest.$ac_ext >&5
   12909 
   12910 	_EXT_CHECK=no
   12911 fi
   12912 
   12913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12914 	CFLAGS="$SAVE_CFLAGS"
   12915 	{ $as_echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   12916 $as_echo_n "checking if XINERAMA is defined... " >&6; }
   12917 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12918 $as_echo "$_EXT_CHECK" >&6; }
   12919 	if test "$_EXT_CHECK" != no; then
   12920 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   12921 	fi
   12922 
   12923 
   12924 
   12925 	SAVE_CFLAGS="$CFLAGS"
   12926 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   12927 	cat >conftest.$ac_ext <<_ACEOF
   12928 /* confdefs.h.  */
   12929 _ACEOF
   12930 cat confdefs.h >>conftest.$ac_ext
   12931 cat >>conftest.$ac_ext <<_ACEOF
   12932 /* end confdefs.h.  */
   12933 
   12934 #include "xorg-server.h"
   12935 #if !defined RANDR
   12936 #error RANDR not defined
   12937 #endif
   12938 
   12939 int
   12940 main ()
   12941 {
   12942 
   12943   ;
   12944   return 0;
   12945 }
   12946 _ACEOF
   12947 rm -f conftest.$ac_objext
   12948 if { (ac_try="$ac_compile"
   12949 case "(($ac_try" in
   12950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12951   *) ac_try_echo=$ac_try;;
   12952 esac
   12953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12954 $as_echo "$ac_try_echo") >&5
   12955   (eval "$ac_compile") 2>conftest.er1
   12956   ac_status=$?
   12957   grep -v '^ *+' conftest.er1 >conftest.err
   12958   rm -f conftest.er1
   12959   cat conftest.err >&5
   12960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12961   (exit $ac_status); } && {
   12962 	 test -z "$ac_c_werror_flag" ||
   12963 	 test ! -s conftest.err
   12964        } && test -s conftest.$ac_objext; then
   12965   _EXT_CHECK=yes
   12966 else
   12967   $as_echo "$as_me: failed program was:" >&5
   12968 sed 's/^/| /' conftest.$ac_ext >&5
   12969 
   12970 	_EXT_CHECK=no
   12971 fi
   12972 
   12973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12974 	CFLAGS="$SAVE_CFLAGS"
   12975 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   12976 $as_echo_n "checking if RANDR is defined... " >&6; }
   12977 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12978 $as_echo "$_EXT_CHECK" >&6; }
   12979 	if test "$_EXT_CHECK" != no; then
   12980 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   12981 	fi
   12982 
   12983 
   12984 
   12985 	SAVE_CFLAGS="$CFLAGS"
   12986 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   12987 	cat >conftest.$ac_ext <<_ACEOF
   12988 /* confdefs.h.  */
   12989 _ACEOF
   12990 cat confdefs.h >>conftest.$ac_ext
   12991 cat >>conftest.$ac_ext <<_ACEOF
   12992 /* end confdefs.h.  */
   12993 
   12994 #include "xorg-server.h"
   12995 #if !defined RENDER
   12996 #error RENDER not defined
   12997 #endif
   12998 
   12999 int
   13000 main ()
   13001 {
   13002 
   13003   ;
   13004   return 0;
   13005 }
   13006 _ACEOF
   13007 rm -f conftest.$ac_objext
   13008 if { (ac_try="$ac_compile"
   13009 case "(($ac_try" in
   13010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13011   *) ac_try_echo=$ac_try;;
   13012 esac
   13013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13014 $as_echo "$ac_try_echo") >&5
   13015   (eval "$ac_compile") 2>conftest.er1
   13016   ac_status=$?
   13017   grep -v '^ *+' conftest.er1 >conftest.err
   13018   rm -f conftest.er1
   13019   cat conftest.err >&5
   13020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13021   (exit $ac_status); } && {
   13022 	 test -z "$ac_c_werror_flag" ||
   13023 	 test ! -s conftest.err
   13024        } && test -s conftest.$ac_objext; then
   13025   _EXT_CHECK=yes
   13026 else
   13027   $as_echo "$as_me: failed program was:" >&5
   13028 sed 's/^/| /' conftest.$ac_ext >&5
   13029 
   13030 	_EXT_CHECK=no
   13031 fi
   13032 
   13033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13034 	CFLAGS="$SAVE_CFLAGS"
   13035 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   13036 $as_echo_n "checking if RENDER is defined... " >&6; }
   13037 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13038 $as_echo "$_EXT_CHECK" >&6; }
   13039 	if test "$_EXT_CHECK" != no; then
   13040 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   13041 	fi
   13042 
   13043 
   13044 
   13045 	SAVE_CFLAGS="$CFLAGS"
   13046 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13047 	cat >conftest.$ac_ext <<_ACEOF
   13048 /* confdefs.h.  */
   13049 _ACEOF
   13050 cat confdefs.h >>conftest.$ac_ext
   13051 cat >>conftest.$ac_ext <<_ACEOF
   13052 /* end confdefs.h.  */
   13053 
   13054 #include "xorg-server.h"
   13055 #if !defined XV
   13056 #error XV not defined
   13057 #endif
   13058 
   13059 int
   13060 main ()
   13061 {
   13062 
   13063   ;
   13064   return 0;
   13065 }
   13066 _ACEOF
   13067 rm -f conftest.$ac_objext
   13068 if { (ac_try="$ac_compile"
   13069 case "(($ac_try" in
   13070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13071   *) ac_try_echo=$ac_try;;
   13072 esac
   13073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13074 $as_echo "$ac_try_echo") >&5
   13075   (eval "$ac_compile") 2>conftest.er1
   13076   ac_status=$?
   13077   grep -v '^ *+' conftest.er1 >conftest.err
   13078   rm -f conftest.er1
   13079   cat conftest.err >&5
   13080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13081   (exit $ac_status); } && {
   13082 	 test -z "$ac_c_werror_flag" ||
   13083 	 test ! -s conftest.err
   13084        } && test -s conftest.$ac_objext; then
   13085   _EXT_CHECK=yes
   13086 else
   13087   $as_echo "$as_me: failed program was:" >&5
   13088 sed 's/^/| /' conftest.$ac_ext >&5
   13089 
   13090 	_EXT_CHECK=no
   13091 fi
   13092 
   13093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13094 	CFLAGS="$SAVE_CFLAGS"
   13095 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   13096 $as_echo_n "checking if XV is defined... " >&6; }
   13097 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13098 $as_echo "$_EXT_CHECK" >&6; }
   13099 	if test "$_EXT_CHECK" != no; then
   13100 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   13101 	fi
   13102 
   13103 
   13104 
   13105 	SAVE_CFLAGS="$CFLAGS"
   13106 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   13107 	cat >conftest.$ac_ext <<_ACEOF
   13108 /* confdefs.h.  */
   13109 _ACEOF
   13110 cat confdefs.h >>conftest.$ac_ext
   13111 cat >>conftest.$ac_ext <<_ACEOF
   13112 /* end confdefs.h.  */
   13113 
   13114 #include "xorg-server.h"
   13115 #if !defined DPMSExtension
   13116 #error DPMSExtension not defined
   13117 #endif
   13118 
   13119 int
   13120 main ()
   13121 {
   13122 
   13123   ;
   13124   return 0;
   13125 }
   13126 _ACEOF
   13127 rm -f conftest.$ac_objext
   13128 if { (ac_try="$ac_compile"
   13129 case "(($ac_try" in
   13130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13131   *) ac_try_echo=$ac_try;;
   13132 esac
   13133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13134 $as_echo "$ac_try_echo") >&5
   13135   (eval "$ac_compile") 2>conftest.er1
   13136   ac_status=$?
   13137   grep -v '^ *+' conftest.er1 >conftest.err
   13138   rm -f conftest.er1
   13139   cat conftest.err >&5
   13140   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13141   (exit $ac_status); } && {
   13142 	 test -z "$ac_c_werror_flag" ||
   13143 	 test ! -s conftest.err
   13144        } && test -s conftest.$ac_objext; then
   13145   _EXT_CHECK=yes
   13146 else
   13147   $as_echo "$as_me: failed program was:" >&5
   13148 sed 's/^/| /' conftest.$ac_ext >&5
   13149 
   13150 	_EXT_CHECK=no
   13151 fi
   13152 
   13153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13154 	CFLAGS="$SAVE_CFLAGS"
   13155 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   13156 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   13157 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   13158 $as_echo "$_EXT_CHECK" >&6; }
   13159 	if test "$_EXT_CHECK" != no; then
   13160 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   13161 	fi
   13162 
   13163 
   13164 # Checks for pkg-config packages
   13165 
   13166 pkg_failed=no
   13167 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   13168 $as_echo_n "checking for XORG... " >&6; }
   13169 
   13170 if test -n "$XORG_CFLAGS"; then
   13171     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   13172  elif test -n "$PKG_CONFIG"; then
   13173     if test -n "$PKG_CONFIG" && \
   13174     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto \$REQUIRED_MODULES\"") >&5
   13175   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES") 2>&5
   13176   ac_status=$?
   13177   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13178   (exit $ac_status); }; then
   13179   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES" 2>/dev/null`
   13180 else
   13181   pkg_failed=yes
   13182 fi
   13183  else
   13184     pkg_failed=untried
   13185 fi
   13186 if test -n "$XORG_LIBS"; then
   13187     pkg_cv_XORG_LIBS="$XORG_LIBS"
   13188  elif test -n "$PKG_CONFIG"; then
   13189     if test -n "$PKG_CONFIG" && \
   13190     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto \$REQUIRED_MODULES\"") >&5
   13191   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES") 2>&5
   13192   ac_status=$?
   13193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13194   (exit $ac_status); }; then
   13195   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES" 2>/dev/null`
   13196 else
   13197   pkg_failed=yes
   13198 fi
   13199  else
   13200     pkg_failed=untried
   13201 fi
   13202 
   13203 
   13204 
   13205 if test $pkg_failed = yes; then
   13206 
   13207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13208         _pkg_short_errors_supported=yes
   13209 else
   13210         _pkg_short_errors_supported=no
   13211 fi
   13212         if test $_pkg_short_errors_supported = yes; then
   13213 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES" 2>&1`
   13214         else
   13215 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES" 2>&1`
   13216         fi
   13217 	# Put the nasty error message in config.log where it belongs
   13218 	echo "$XORG_PKG_ERRORS" >&5
   13219 
   13220 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES) were not met:
   13221 
   13222 $XORG_PKG_ERRORS
   13223 
   13224 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13225 installed software in a non-standard prefix.
   13226 
   13227 Alternatively, you may set the environment variables XORG_CFLAGS
   13228 and XORG_LIBS to avoid the need to call pkg-config.
   13229 See the pkg-config man page for more details.
   13230 " >&5
   13231 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES) were not met:
   13232 
   13233 $XORG_PKG_ERRORS
   13234 
   13235 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13236 installed software in a non-standard prefix.
   13237 
   13238 Alternatively, you may set the environment variables XORG_CFLAGS
   13239 and XORG_LIBS to avoid the need to call pkg-config.
   13240 See the pkg-config man page for more details.
   13241 " >&2;}
   13242    { (exit 1); exit 1; }; }
   13243 elif test $pkg_failed = untried; then
   13244 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13246 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13247 is in your PATH or set the PKG_CONFIG environment variable to the full
   13248 path to pkg-config.
   13249 
   13250 Alternatively, you may set the environment variables XORG_CFLAGS
   13251 and XORG_LIBS to avoid the need to call pkg-config.
   13252 See the pkg-config man page for more details.
   13253 
   13254 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13255 See \`config.log' for more details." >&5
   13256 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13257 is in your PATH or set the PKG_CONFIG environment variable to the full
   13258 path to pkg-config.
   13259 
   13260 Alternatively, you may set the environment variables XORG_CFLAGS
   13261 and XORG_LIBS to avoid the need to call pkg-config.
   13262 See the pkg-config man page for more details.
   13263 
   13264 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13265 See \`config.log' for more details." >&2;}
   13266    { (exit 1); exit 1; }; }; }
   13267 else
   13268 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   13269 	XORG_LIBS=$pkg_cv_XORG_LIBS
   13270         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13271 $as_echo "yes" >&6; }
   13272 	:
   13273 fi
   13274 
   13275 pkg_failed=no
   13276 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   13277 $as_echo_n "checking for XEXT... " >&6; }
   13278 
   13279 if test -n "$XEXT_CFLAGS"; then
   13280     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   13281  elif test -n "$PKG_CONFIG"; then
   13282     if test -n "$PKG_CONFIG" && \
   13283     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13284   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13285   ac_status=$?
   13286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13287   (exit $ac_status); }; then
   13288   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   13289 else
   13290   pkg_failed=yes
   13291 fi
   13292  else
   13293     pkg_failed=untried
   13294 fi
   13295 if test -n "$XEXT_LIBS"; then
   13296     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   13297  elif test -n "$PKG_CONFIG"; then
   13298     if test -n "$PKG_CONFIG" && \
   13299     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   13300   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   13301   ac_status=$?
   13302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13303   (exit $ac_status); }; then
   13304   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   13305 else
   13306   pkg_failed=yes
   13307 fi
   13308  else
   13309     pkg_failed=untried
   13310 fi
   13311 
   13312 
   13313 
   13314 if test $pkg_failed = yes; then
   13315 
   13316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13317         _pkg_short_errors_supported=yes
   13318 else
   13319         _pkg_short_errors_supported=no
   13320 fi
   13321         if test $_pkg_short_errors_supported = yes; then
   13322 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13323         else
   13324 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13325         fi
   13326 	# Put the nasty error message in config.log where it belongs
   13327 	echo "$XEXT_PKG_ERRORS" >&5
   13328 
   13329 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   13330 $as_echo "no" >&6; }
   13331                 HAVE_XEXTPROTO_71="no"
   13332 elif test $pkg_failed = untried; then
   13333 	HAVE_XEXTPROTO_71="no"
   13334 else
   13335 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   13336 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   13337         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13338 $as_echo "yes" >&6; }
   13339 	HAVE_XEXTPROTO_71="yes";
   13340 cat >>confdefs.h <<\_ACEOF
   13341 #define HAVE_XEXTPROTO_71 1
   13342 _ACEOF
   13343 
   13344 fi
   13345  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   13346   HAVE_XEXTPROTO_71_TRUE=
   13347   HAVE_XEXTPROTO_71_FALSE='#'
   13348 else
   13349   HAVE_XEXTPROTO_71_TRUE='#'
   13350   HAVE_XEXTPROTO_71_FALSE=
   13351 fi
   13352 
   13353 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   13354 
   13355 # Checks for libraries.
   13356 
   13357 # Checks for header files.
   13358 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   13359 $as_echo_n "checking for ANSI C header files... " >&6; }
   13360 if test "${ac_cv_header_stdc+set}" = set; then
   13361   $as_echo_n "(cached) " >&6
   13362 else
   13363   cat >conftest.$ac_ext <<_ACEOF
   13364 /* confdefs.h.  */
   13365 _ACEOF
   13366 cat confdefs.h >>conftest.$ac_ext
   13367 cat >>conftest.$ac_ext <<_ACEOF
   13368 /* end confdefs.h.  */
   13369 #include <stdlib.h>
   13370 #include <stdarg.h>
   13371 #include <string.h>
   13372 #include <float.h>
   13373 
   13374 int
   13375 main ()
   13376 {
   13377 
   13378   ;
   13379   return 0;
   13380 }
   13381 _ACEOF
   13382 rm -f conftest.$ac_objext
   13383 if { (ac_try="$ac_compile"
   13384 case "(($ac_try" in
   13385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13386   *) ac_try_echo=$ac_try;;
   13387 esac
   13388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13389 $as_echo "$ac_try_echo") >&5
   13390   (eval "$ac_compile") 2>conftest.er1
   13391   ac_status=$?
   13392   grep -v '^ *+' conftest.er1 >conftest.err
   13393   rm -f conftest.er1
   13394   cat conftest.err >&5
   13395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13396   (exit $ac_status); } && {
   13397 	 test -z "$ac_c_werror_flag" ||
   13398 	 test ! -s conftest.err
   13399        } && test -s conftest.$ac_objext; then
   13400   ac_cv_header_stdc=yes
   13401 else
   13402   $as_echo "$as_me: failed program was:" >&5
   13403 sed 's/^/| /' conftest.$ac_ext >&5
   13404 
   13405 	ac_cv_header_stdc=no
   13406 fi
   13407 
   13408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13409 
   13410 if test $ac_cv_header_stdc = yes; then
   13411   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13412   cat >conftest.$ac_ext <<_ACEOF
   13413 /* confdefs.h.  */
   13414 _ACEOF
   13415 cat confdefs.h >>conftest.$ac_ext
   13416 cat >>conftest.$ac_ext <<_ACEOF
   13417 /* end confdefs.h.  */
   13418 #include <string.h>
   13419 
   13420 _ACEOF
   13421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13422   $EGREP "memchr" >/dev/null 2>&1; then
   13423   :
   13424 else
   13425   ac_cv_header_stdc=no
   13426 fi
   13427 rm -f conftest*
   13428 
   13429 fi
   13430 
   13431 if test $ac_cv_header_stdc = yes; then
   13432   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13433   cat >conftest.$ac_ext <<_ACEOF
   13434 /* confdefs.h.  */
   13435 _ACEOF
   13436 cat confdefs.h >>conftest.$ac_ext
   13437 cat >>conftest.$ac_ext <<_ACEOF
   13438 /* end confdefs.h.  */
   13439 #include <stdlib.h>
   13440 
   13441 _ACEOF
   13442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13443   $EGREP "free" >/dev/null 2>&1; then
   13444   :
   13445 else
   13446   ac_cv_header_stdc=no
   13447 fi
   13448 rm -f conftest*
   13449 
   13450 fi
   13451 
   13452 if test $ac_cv_header_stdc = yes; then
   13453   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13454   if test "$cross_compiling" = yes; then
   13455   :
   13456 else
   13457   cat >conftest.$ac_ext <<_ACEOF
   13458 /* confdefs.h.  */
   13459 _ACEOF
   13460 cat confdefs.h >>conftest.$ac_ext
   13461 cat >>conftest.$ac_ext <<_ACEOF
   13462 /* end confdefs.h.  */
   13463 #include <ctype.h>
   13464 #include <stdlib.h>
   13465 #if ((' ' & 0x0FF) == 0x020)
   13466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13468 #else
   13469 # define ISLOWER(c) \
   13470 		   (('a' <= (c) && (c) <= 'i') \
   13471 		     || ('j' <= (c) && (c) <= 'r') \
   13472 		     || ('s' <= (c) && (c) <= 'z'))
   13473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13474 #endif
   13475 
   13476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13477 int
   13478 main ()
   13479 {
   13480   int i;
   13481   for (i = 0; i < 256; i++)
   13482     if (XOR (islower (i), ISLOWER (i))
   13483 	|| toupper (i) != TOUPPER (i))
   13484       return 2;
   13485   return 0;
   13486 }
   13487 _ACEOF
   13488 rm -f conftest$ac_exeext
   13489 if { (ac_try="$ac_link"
   13490 case "(($ac_try" in
   13491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13492   *) ac_try_echo=$ac_try;;
   13493 esac
   13494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13495 $as_echo "$ac_try_echo") >&5
   13496   (eval "$ac_link") 2>&5
   13497   ac_status=$?
   13498   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13499   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13500   { (case "(($ac_try" in
   13501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13502   *) ac_try_echo=$ac_try;;
   13503 esac
   13504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13505 $as_echo "$ac_try_echo") >&5
   13506   (eval "$ac_try") 2>&5
   13507   ac_status=$?
   13508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13509   (exit $ac_status); }; }; then
   13510   :
   13511 else
   13512   $as_echo "$as_me: program exited with status $ac_status" >&5
   13513 $as_echo "$as_me: failed program was:" >&5
   13514 sed 's/^/| /' conftest.$ac_ext >&5
   13515 
   13516 ( exit $ac_status )
   13517 ac_cv_header_stdc=no
   13518 fi
   13519 rm -rf conftest.dSYM
   13520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13521 fi
   13522 
   13523 
   13524 fi
   13525 fi
   13526 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13527 $as_echo "$ac_cv_header_stdc" >&6; }
   13528 if test $ac_cv_header_stdc = yes; then
   13529 
   13530 cat >>confdefs.h <<\_ACEOF
   13531 #define STDC_HEADERS 1
   13532 _ACEOF
   13533 
   13534 fi
   13535 
   13536 
   13537 if test "$DRI" != no; then
   13538         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   13539 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   13540 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   13541 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   13542   $as_echo_n "(cached) " >&6
   13543 else
   13544   test "$cross_compiling" = yes &&
   13545   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   13546 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   13547    { (exit 1); exit 1; }; }
   13548 if test -r "${sdkdir}/dri.h"; then
   13549   eval "$as_ac_File=yes"
   13550 else
   13551   eval "$as_ac_File=no"
   13552 fi
   13553 fi
   13554 ac_res=`eval 'as_val=${'$as_ac_File'}
   13555 		 $as_echo "$as_val"'`
   13556 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13557 $as_echo "$ac_res" >&6; }
   13558 as_val=`eval 'as_val=${'$as_ac_File'}
   13559 		 $as_echo "$as_val"'`
   13560    if test "x$as_val" = x""yes; then
   13561   have_dri_h="yes"
   13562 else
   13563   have_dri_h="no"
   13564 fi
   13565 
   13566         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   13567 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   13568 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   13569 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   13570   $as_echo_n "(cached) " >&6
   13571 else
   13572   test "$cross_compiling" = yes &&
   13573   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   13574 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   13575    { (exit 1); exit 1; }; }
   13576 if test -r "${sdkdir}/sarea.h"; then
   13577   eval "$as_ac_File=yes"
   13578 else
   13579   eval "$as_ac_File=no"
   13580 fi
   13581 fi
   13582 ac_res=`eval 'as_val=${'$as_ac_File'}
   13583 		 $as_echo "$as_val"'`
   13584 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13585 $as_echo "$ac_res" >&6; }
   13586 as_val=`eval 'as_val=${'$as_ac_File'}
   13587 		 $as_echo "$as_val"'`
   13588    if test "x$as_val" = x""yes; then
   13589   have_sarea_h="yes"
   13590 else
   13591   have_sarea_h="no"
   13592 fi
   13593 
   13594         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   13595 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   13596 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   13597 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   13598   $as_echo_n "(cached) " >&6
   13599 else
   13600   test "$cross_compiling" = yes &&
   13601   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   13602 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   13603    { (exit 1); exit 1; }; }
   13604 if test -r "${sdkdir}/dristruct.h"; then
   13605   eval "$as_ac_File=yes"
   13606 else
   13607   eval "$as_ac_File=no"
   13608 fi
   13609 fi
   13610 ac_res=`eval 'as_val=${'$as_ac_File'}
   13611 		 $as_echo "$as_val"'`
   13612 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13613 $as_echo "$ac_res" >&6; }
   13614 as_val=`eval 'as_val=${'$as_ac_File'}
   13615 		 $as_echo "$as_val"'`
   13616    if test "x$as_val" = x""yes; then
   13617   have_dristruct_h="yes"
   13618 else
   13619   have_dristruct_h="no"
   13620 fi
   13621 
   13622 fi
   13623 
   13624 { $as_echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   13625 $as_echo_n "checking whether to include DRI support... " >&6; }
   13626 if test x$DRI = xauto; then
   13627         if test "$have_dri_h" = yes -a \
   13628                 "$have_sarea_h" = yes -a \
   13629                 "$have_dristruct_h" = yes; then
   13630                 DRI="yes"
   13631         else
   13632                 DRI="no"
   13633         fi
   13634 fi
   13635 { $as_echo "$as_me:$LINENO: result: $DRI" >&5
   13636 $as_echo "$DRI" >&6; }
   13637 
   13638  if test x$DRI = xyes; then
   13639   DRI_TRUE=
   13640   DRI_FALSE='#'
   13641 else
   13642   DRI_TRUE='#'
   13643   DRI_FALSE=
   13644 fi
   13645 
   13646 if test "$DRI" = yes; then
   13647 
   13648 pkg_failed=no
   13649 { $as_echo "$as_me:$LINENO: checking for DRI" >&5
   13650 $as_echo_n "checking for DRI... " >&6; }
   13651 
   13652 if test -n "$DRI_CFLAGS"; then
   13653     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   13654  elif test -n "$PKG_CONFIG"; then
   13655     if test -n "$PKG_CONFIG" && \
   13656     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   13657   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   13658   ac_status=$?
   13659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13660   (exit $ac_status); }; then
   13661   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   13662 else
   13663   pkg_failed=yes
   13664 fi
   13665  else
   13666     pkg_failed=untried
   13667 fi
   13668 if test -n "$DRI_LIBS"; then
   13669     pkg_cv_DRI_LIBS="$DRI_LIBS"
   13670  elif test -n "$PKG_CONFIG"; then
   13671     if test -n "$PKG_CONFIG" && \
   13672     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   13673   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   13674   ac_status=$?
   13675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13676   (exit $ac_status); }; then
   13677   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   13678 else
   13679   pkg_failed=yes
   13680 fi
   13681  else
   13682     pkg_failed=untried
   13683 fi
   13684 
   13685 
   13686 
   13687 if test $pkg_failed = yes; then
   13688 
   13689 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13690         _pkg_short_errors_supported=yes
   13691 else
   13692         _pkg_short_errors_supported=no
   13693 fi
   13694         if test $_pkg_short_errors_supported = yes; then
   13695 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   13696         else
   13697 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   13698         fi
   13699 	# Put the nasty error message in config.log where it belongs
   13700 	echo "$DRI_PKG_ERRORS" >&5
   13701 
   13702 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   13703 
   13704 $DRI_PKG_ERRORS
   13705 
   13706 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13707 installed software in a non-standard prefix.
   13708 
   13709 Alternatively, you may set the environment variables DRI_CFLAGS
   13710 and DRI_LIBS to avoid the need to call pkg-config.
   13711 See the pkg-config man page for more details.
   13712 " >&5
   13713 $as_echo "$as_me: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   13714 
   13715 $DRI_PKG_ERRORS
   13716 
   13717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13718 installed software in a non-standard prefix.
   13719 
   13720 Alternatively, you may set the environment variables DRI_CFLAGS
   13721 and DRI_LIBS to avoid the need to call pkg-config.
   13722 See the pkg-config man page for more details.
   13723 " >&2;}
   13724    { (exit 1); exit 1; }; }
   13725 elif test $pkg_failed = untried; then
   13726 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13728 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13729 is in your PATH or set the PKG_CONFIG environment variable to the full
   13730 path to pkg-config.
   13731 
   13732 Alternatively, you may set the environment variables DRI_CFLAGS
   13733 and DRI_LIBS to avoid the need to call pkg-config.
   13734 See the pkg-config man page for more details.
   13735 
   13736 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13737 See \`config.log' for more details." >&5
   13738 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13739 is in your PATH or set the PKG_CONFIG environment variable to the full
   13740 path to pkg-config.
   13741 
   13742 Alternatively, you may set the environment variables DRI_CFLAGS
   13743 and DRI_LIBS to avoid the need to call pkg-config.
   13744 See the pkg-config man page for more details.
   13745 
   13746 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13747 See \`config.log' for more details." >&2;}
   13748    { (exit 1); exit 1; }; }; }
   13749 else
   13750 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   13751 	DRI_LIBS=$pkg_cv_DRI_LIBS
   13752         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13753 $as_echo "yes" >&6; }
   13754 	:
   13755 fi
   13756 
   13757 cat >>confdefs.h <<\_ACEOF
   13758 #define XF86DRI 1
   13759 _ACEOF
   13760 
   13761 
   13762 cat >>confdefs.h <<\_ACEOF
   13763 #define XF86DRI_DEVEL 1
   13764 _ACEOF
   13765 
   13766 fi
   13767 
   13768 # technically this should be a configure flag.  meh.
   13769 
   13770 cat >>confdefs.h <<\_ACEOF
   13771 #define XF86EXA 1
   13772 _ACEOF
   13773 
   13774 
   13775 SAVE_CPPFLAGS="$CPPFLAGS"
   13776 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   13777 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   13778 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   13779 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   cat >conftest.$ac_ext <<_ACEOF
   13783 /* confdefs.h.  */
   13784 _ACEOF
   13785 cat confdefs.h >>conftest.$ac_ext
   13786 cat >>conftest.$ac_ext <<_ACEOF
   13787 /* end confdefs.h.  */
   13788 #include "xorg-server.h"
   13789 
   13790 int
   13791 main ()
   13792 {
   13793 #ifndef XSERVER_LIBPCIACCESS
   13794   (void) XSERVER_LIBPCIACCESS;
   13795 #endif
   13796 
   13797   ;
   13798   return 0;
   13799 }
   13800 _ACEOF
   13801 rm -f conftest.$ac_objext
   13802 if { (ac_try="$ac_compile"
   13803 case "(($ac_try" in
   13804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13805   *) ac_try_echo=$ac_try;;
   13806 esac
   13807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13808 $as_echo "$ac_try_echo") >&5
   13809   (eval "$ac_compile") 2>conftest.er1
   13810   ac_status=$?
   13811   grep -v '^ *+' conftest.er1 >conftest.err
   13812   rm -f conftest.er1
   13813   cat conftest.err >&5
   13814   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13815   (exit $ac_status); } && {
   13816 	 test -z "$ac_c_werror_flag" ||
   13817 	 test ! -s conftest.err
   13818        } && test -s conftest.$ac_objext; then
   13819   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   13820 else
   13821   $as_echo "$as_me: failed program was:" >&5
   13822 sed 's/^/| /' conftest.$ac_ext >&5
   13823 
   13824 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   13825 fi
   13826 
   13827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13828 fi
   13829 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   13830 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   13831 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   13832   XSERVER_LIBPCIACCESS=yes
   13833 else
   13834   XSERVER_LIBPCIACCESS=no
   13835 fi
   13836 
   13837 CPPFLAGS="$SAVE_CPPFLAGS"
   13838 
   13839 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   13840 
   13841 pkg_failed=no
   13842 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   13843 $as_echo_n "checking for PCIACCESS... " >&6; }
   13844 
   13845 if test -n "$PCIACCESS_CFLAGS"; then
   13846     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   13847  elif test -n "$PKG_CONFIG"; then
   13848     if test -n "$PKG_CONFIG" && \
   13849     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   13850   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   13851   ac_status=$?
   13852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13853   (exit $ac_status); }; then
   13854   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   13855 else
   13856   pkg_failed=yes
   13857 fi
   13858  else
   13859     pkg_failed=untried
   13860 fi
   13861 if test -n "$PCIACCESS_LIBS"; then
   13862     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   13863  elif test -n "$PKG_CONFIG"; then
   13864     if test -n "$PKG_CONFIG" && \
   13865     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   13866   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   13867   ac_status=$?
   13868   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13869   (exit $ac_status); }; then
   13870   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   13871 else
   13872   pkg_failed=yes
   13873 fi
   13874  else
   13875     pkg_failed=untried
   13876 fi
   13877 
   13878 
   13879 
   13880 if test $pkg_failed = yes; then
   13881 
   13882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13883         _pkg_short_errors_supported=yes
   13884 else
   13885         _pkg_short_errors_supported=no
   13886 fi
   13887         if test $_pkg_short_errors_supported = yes; then
   13888 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   13889         else
   13890 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   13891         fi
   13892 	# Put the nasty error message in config.log where it belongs
   13893 	echo "$PCIACCESS_PKG_ERRORS" >&5
   13894 
   13895 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   13896 
   13897 $PCIACCESS_PKG_ERRORS
   13898 
   13899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13900 installed software in a non-standard prefix.
   13901 
   13902 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13903 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13904 See the pkg-config man page for more details.
   13905 " >&5
   13906 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   13907 
   13908 $PCIACCESS_PKG_ERRORS
   13909 
   13910 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13911 installed software in a non-standard prefix.
   13912 
   13913 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13914 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13915 See the pkg-config man page for more details.
   13916 " >&2;}
   13917    { (exit 1); exit 1; }; }
   13918 elif test $pkg_failed = untried; then
   13919 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13921 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13922 is in your PATH or set the PKG_CONFIG environment variable to the full
   13923 path to pkg-config.
   13924 
   13925 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13926 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13927 See the pkg-config man page for more details.
   13928 
   13929 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13930 See \`config.log' for more details." >&5
   13931 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13932 is in your PATH or set the PKG_CONFIG environment variable to the full
   13933 path to pkg-config.
   13934 
   13935 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13936 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13937 See the pkg-config man page for more details.
   13938 
   13939 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13940 See \`config.log' for more details." >&2;}
   13941    { (exit 1); exit 1; }; }; }
   13942 else
   13943 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   13944 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   13945         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13946 $as_echo "yes" >&6; }
   13947 	:
   13948 fi
   13949     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   13950 fi
   13951  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   13952   XSERVER_LIBPCIACCESS_TRUE=
   13953   XSERVER_LIBPCIACCESS_FALSE='#'
   13954 else
   13955   XSERVER_LIBPCIACCESS_TRUE='#'
   13956   XSERVER_LIBPCIACCESS_FALSE=
   13957 fi
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 DRIVER_NAME=sis
   13965 
   13966 
   13967 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   13968 
   13969 cat >confcache <<\_ACEOF
   13970 # This file is a shell script that caches the results of configure
   13971 # tests run on this system so they can be shared between configure
   13972 # scripts and configure runs, see configure's option --config-cache.
   13973 # It is not useful on other systems.  If it contains results you don't
   13974 # want to keep, you may remove or edit it.
   13975 #
   13976 # config.status only pays attention to the cache file if you give it
   13977 # the --recheck option to rerun configure.
   13978 #
   13979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13981 # following values.
   13982 
   13983 _ACEOF
   13984 
   13985 # The following way of writing the cache mishandles newlines in values,
   13986 # but we know of no workaround that is simple, portable, and efficient.
   13987 # So, we kill variables containing newlines.
   13988 # Ultrix sh set writes to stderr and can't be redirected directly,
   13989 # and sets the high bit in the cache file unless we assign to the vars.
   13990 (
   13991   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13992     eval ac_val=\$$ac_var
   13993     case $ac_val in #(
   13994     *${as_nl}*)
   13995       case $ac_var in #(
   13996       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13998       esac
   13999       case $ac_var in #(
   14000       _ | IFS | as_nl) ;; #(
   14001       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14002       *) $as_unset $ac_var ;;
   14003       esac ;;
   14004     esac
   14005   done
   14006 
   14007   (set) 2>&1 |
   14008     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14009     *${as_nl}ac_space=\ *)
   14010       # `set' does not quote correctly, so add quotes (double-quote
   14011       # substitution turns \\\\ into \\, and sed turns \\ into \).
   14012       sed -n \
   14013 	"s/'/'\\\\''/g;
   14014 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14015       ;; #(
   14016     *)
   14017       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14018       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14019       ;;
   14020     esac |
   14021     sort
   14022 ) |
   14023   sed '
   14024      /^ac_cv_env_/b end
   14025      t clear
   14026      :clear
   14027      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14028      t end
   14029      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14030      :end' >>confcache
   14031 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14032   if test -w "$cache_file"; then
   14033     test "x$cache_file" != "x/dev/null" &&
   14034       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   14035 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14036     cat confcache >$cache_file
   14037   else
   14038     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   14039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14040   fi
   14041 fi
   14042 rm -f confcache
   14043 
   14044 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14045 # Let make expand exec_prefix.
   14046 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14047 
   14048 DEFS=-DHAVE_CONFIG_H
   14049 
   14050 ac_libobjs=
   14051 ac_ltlibobjs=
   14052 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14053   # 1. Remove the extension, and $U if already installed.
   14054   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14055   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14056   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14057   #    will be set to the directory where LIBOBJS objects are built.
   14058   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14059   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   14060 done
   14061 LIBOBJS=$ac_libobjs
   14062 
   14063 LTLIBOBJS=$ac_ltlibobjs
   14064 
   14065 
   14066  if test -n "$EXEEXT"; then
   14067   am__EXEEXT_TRUE=
   14068   am__EXEEXT_FALSE='#'
   14069 else
   14070   am__EXEEXT_TRUE='#'
   14071   am__EXEEXT_FALSE=
   14072 fi
   14073 
   14074 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14075   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   14076 Usually this means the macro was only invoked conditionally." >&5
   14077 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   14078 Usually this means the macro was only invoked conditionally." >&2;}
   14079    { (exit 1); exit 1; }; }
   14080 fi
   14081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14082   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   14083 Usually this means the macro was only invoked conditionally." >&5
   14084 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   14085 Usually this means the macro was only invoked conditionally." >&2;}
   14086    { (exit 1); exit 1; }; }
   14087 fi
   14088 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14089   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   14090 Usually this means the macro was only invoked conditionally." >&5
   14091 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   14092 Usually this means the macro was only invoked conditionally." >&2;}
   14093    { (exit 1); exit 1; }; }
   14094 fi
   14095 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14096   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   14097 Usually this means the macro was only invoked conditionally." >&5
   14098 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   14099 Usually this means the macro was only invoked conditionally." >&2;}
   14100    { (exit 1); exit 1; }; }
   14101 fi
   14102 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   14103   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   14104 Usually this means the macro was only invoked conditionally." >&5
   14105 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   14106 Usually this means the macro was only invoked conditionally." >&2;}
   14107    { (exit 1); exit 1; }; }
   14108 fi
   14109 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   14110   { { $as_echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   14111 Usually this means the macro was only invoked conditionally." >&5
   14112 $as_echo "$as_me: error: conditional \"DRI\" was never defined.
   14113 Usually this means the macro was only invoked conditionally." >&2;}
   14114    { (exit 1); exit 1; }; }
   14115 fi
   14116 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   14117   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   14118 Usually this means the macro was only invoked conditionally." >&5
   14119 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   14120 Usually this means the macro was only invoked conditionally." >&2;}
   14121    { (exit 1); exit 1; }; }
   14122 fi
   14123 
   14124 : ${CONFIG_STATUS=./config.status}
   14125 ac_write_fail=0
   14126 ac_clean_files_save=$ac_clean_files
   14127 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14128 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   14129 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14130 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14131 #! $SHELL
   14132 # Generated by $as_me.
   14133 # Run this file to recreate the current configuration.
   14134 # Compiler output produced by configure, useful for debugging
   14135 # configure, is in config.log if it exists.
   14136 
   14137 debug=false
   14138 ac_cs_recheck=false
   14139 ac_cs_silent=false
   14140 SHELL=\${CONFIG_SHELL-$SHELL}
   14141 _ACEOF
   14142 
   14143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14144 ## --------------------- ##
   14145 ## M4sh Initialization.  ##
   14146 ## --------------------- ##
   14147 
   14148 # Be more Bourne compatible
   14149 DUALCASE=1; export DUALCASE # for MKS sh
   14150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14151   emulate sh
   14152   NULLCMD=:
   14153   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14154   # is contrary to our usage.  Disable this feature.
   14155   alias -g '${1+"$@"}'='"$@"'
   14156   setopt NO_GLOB_SUBST
   14157 else
   14158   case `(set -o) 2>/dev/null` in
   14159   *posix*) set -o posix ;;
   14160 esac
   14161 
   14162 fi
   14163 
   14164 
   14165 
   14166 
   14167 # PATH needs CR
   14168 # Avoid depending upon Character Ranges.
   14169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14172 as_cr_digits='0123456789'
   14173 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14174 
   14175 as_nl='
   14176 '
   14177 export as_nl
   14178 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14179 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14181 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14182 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14183   as_echo='printf %s\n'
   14184   as_echo_n='printf %s'
   14185 else
   14186   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14187     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14188     as_echo_n='/usr/ucb/echo -n'
   14189   else
   14190     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14191     as_echo_n_body='eval
   14192       arg=$1;
   14193       case $arg in
   14194       *"$as_nl"*)
   14195 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14196 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14197       esac;
   14198       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14199     '
   14200     export as_echo_n_body
   14201     as_echo_n='sh -c $as_echo_n_body as_echo'
   14202   fi
   14203   export as_echo_body
   14204   as_echo='sh -c $as_echo_body as_echo'
   14205 fi
   14206 
   14207 # The user is always right.
   14208 if test "${PATH_SEPARATOR+set}" != set; then
   14209   PATH_SEPARATOR=:
   14210   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14211     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14212       PATH_SEPARATOR=';'
   14213   }
   14214 fi
   14215 
   14216 # Support unset when possible.
   14217 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   14218   as_unset=unset
   14219 else
   14220   as_unset=false
   14221 fi
   14222 
   14223 
   14224 # IFS
   14225 # We need space, tab and new line, in precisely that order.  Quoting is
   14226 # there to prevent editors from complaining about space-tab.
   14227 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14228 # splitting by setting IFS to empty value.)
   14229 IFS=" ""	$as_nl"
   14230 
   14231 # Find who we are.  Look in the path if we contain no directory separator.
   14232 case $0 in
   14233   *[\\/]* ) as_myself=$0 ;;
   14234   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14235 for as_dir in $PATH
   14236 do
   14237   IFS=$as_save_IFS
   14238   test -z "$as_dir" && as_dir=.
   14239   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14240 done
   14241 IFS=$as_save_IFS
   14242 
   14243      ;;
   14244 esac
   14245 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14246 # in which case we are not to be found in the path.
   14247 if test "x$as_myself" = x; then
   14248   as_myself=$0
   14249 fi
   14250 if test ! -f "$as_myself"; then
   14251   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14252   { (exit 1); exit 1; }
   14253 fi
   14254 
   14255 # Work around bugs in pre-3.0 UWIN ksh.
   14256 for as_var in ENV MAIL MAILPATH
   14257 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   14258 done
   14259 PS1='$ '
   14260 PS2='> '
   14261 PS4='+ '
   14262 
   14263 # NLS nuisances.
   14264 LC_ALL=C
   14265 export LC_ALL
   14266 LANGUAGE=C
   14267 export LANGUAGE
   14268 
   14269 # Required to use basename.
   14270 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14271    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14272   as_expr=expr
   14273 else
   14274   as_expr=false
   14275 fi
   14276 
   14277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14278   as_basename=basename
   14279 else
   14280   as_basename=false
   14281 fi
   14282 
   14283 
   14284 # Name of the executable.
   14285 as_me=`$as_basename -- "$0" ||
   14286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14287 	 X"$0" : 'X\(//\)$' \| \
   14288 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14289 $as_echo X/"$0" |
   14290     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14291 	    s//\1/
   14292 	    q
   14293 	  }
   14294 	  /^X\/\(\/\/\)$/{
   14295 	    s//\1/
   14296 	    q
   14297 	  }
   14298 	  /^X\/\(\/\).*/{
   14299 	    s//\1/
   14300 	    q
   14301 	  }
   14302 	  s/.*/./; q'`
   14303 
   14304 # CDPATH.
   14305 $as_unset CDPATH
   14306 
   14307 
   14308 
   14309   as_lineno_1=$LINENO
   14310   as_lineno_2=$LINENO
   14311   test "x$as_lineno_1" != "x$as_lineno_2" &&
   14312   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   14313 
   14314   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   14315   # uniformly replaced by the line number.  The first 'sed' inserts a
   14316   # line-number line after each line using $LINENO; the second 'sed'
   14317   # does the real work.  The second script uses 'N' to pair each
   14318   # line-number line with the line containing $LINENO, and appends
   14319   # trailing '-' during substitution so that $LINENO is not a special
   14320   # case at line end.
   14321   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   14322   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   14323   # E. McMahon (1931-1989) for sed's syntax.  :-)
   14324   sed -n '
   14325     p
   14326     /[$]LINENO/=
   14327   ' <$as_myself |
   14328     sed '
   14329       s/[$]LINENO.*/&-/
   14330       t lineno
   14331       b
   14332       :lineno
   14333       N
   14334       :loop
   14335       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   14336       t loop
   14337       s/-\n.*//
   14338     ' >$as_me.lineno &&
   14339   chmod +x "$as_me.lineno" ||
   14340     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   14341    { (exit 1); exit 1; }; }
   14342 
   14343   # Don't try to exec as it changes $[0], causing all sort of problems
   14344   # (the dirname of $[0] is not the place where we might find the
   14345   # original and so on.  Autoconf is especially sensitive to this).
   14346   . "./$as_me.lineno"
   14347   # Exit status is that of the last command.
   14348   exit
   14349 }
   14350 
   14351 
   14352 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14353   as_dirname=dirname
   14354 else
   14355   as_dirname=false
   14356 fi
   14357 
   14358 ECHO_C= ECHO_N= ECHO_T=
   14359 case `echo -n x` in
   14360 -n*)
   14361   case `echo 'x\c'` in
   14362   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14363   *)   ECHO_C='\c';;
   14364   esac;;
   14365 *)
   14366   ECHO_N='-n';;
   14367 esac
   14368 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14369    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14370   as_expr=expr
   14371 else
   14372   as_expr=false
   14373 fi
   14374 
   14375 rm -f conf$$ conf$$.exe conf$$.file
   14376 if test -d conf$$.dir; then
   14377   rm -f conf$$.dir/conf$$.file
   14378 else
   14379   rm -f conf$$.dir
   14380   mkdir conf$$.dir 2>/dev/null
   14381 fi
   14382 if (echo >conf$$.file) 2>/dev/null; then
   14383   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14384     as_ln_s='ln -s'
   14385     # ... but there are two gotchas:
   14386     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14387     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14388     # In both cases, we have to default to `cp -p'.
   14389     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14390       as_ln_s='cp -p'
   14391   elif ln conf$$.file conf$$ 2>/dev/null; then
   14392     as_ln_s=ln
   14393   else
   14394     as_ln_s='cp -p'
   14395   fi
   14396 else
   14397   as_ln_s='cp -p'
   14398 fi
   14399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14400 rmdir conf$$.dir 2>/dev/null
   14401 
   14402 if mkdir -p . 2>/dev/null; then
   14403   as_mkdir_p=:
   14404 else
   14405   test -d ./-p && rmdir ./-p
   14406   as_mkdir_p=false
   14407 fi
   14408 
   14409 if test -x / >/dev/null 2>&1; then
   14410   as_test_x='test -x'
   14411 else
   14412   if ls -dL / >/dev/null 2>&1; then
   14413     as_ls_L_option=L
   14414   else
   14415     as_ls_L_option=
   14416   fi
   14417   as_test_x='
   14418     eval sh -c '\''
   14419       if test -d "$1"; then
   14420 	test -d "$1/.";
   14421       else
   14422 	case $1 in
   14423 	-*)set "./$1";;
   14424 	esac;
   14425 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   14426 	???[sx]*):;;*)false;;esac;fi
   14427     '\'' sh
   14428   '
   14429 fi
   14430 as_executable_p=$as_test_x
   14431 
   14432 # Sed expression to map a string onto a valid CPP name.
   14433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14434 
   14435 # Sed expression to map a string onto a valid variable name.
   14436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14437 
   14438 
   14439 exec 6>&1
   14440 
   14441 # Save the log message, to keep $[0] and so on meaningful, and to
   14442 # report actual input values of CONFIG_FILES etc. instead of their
   14443 # values after options handling.
   14444 ac_log="
   14445 This file was extended by xf86-video-sis $as_me 0.10.3, which was
   14446 generated by GNU Autoconf 2.63.  Invocation command line was
   14447 
   14448   CONFIG_FILES    = $CONFIG_FILES
   14449   CONFIG_HEADERS  = $CONFIG_HEADERS
   14450   CONFIG_LINKS    = $CONFIG_LINKS
   14451   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14452   $ $0 $@
   14453 
   14454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14455 "
   14456 
   14457 _ACEOF
   14458 
   14459 case $ac_config_files in *"
   14460 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14461 esac
   14462 
   14463 case $ac_config_headers in *"
   14464 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14465 esac
   14466 
   14467 
   14468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14469 # Files that config.status was made for.
   14470 config_files="$ac_config_files"
   14471 config_headers="$ac_config_headers"
   14472 config_commands="$ac_config_commands"
   14473 
   14474 _ACEOF
   14475 
   14476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14477 ac_cs_usage="\
   14478 \`$as_me' instantiates files from templates according to the
   14479 current configuration.
   14480 
   14481 Usage: $0 [OPTION]... [FILE]...
   14482 
   14483   -h, --help       print this help, then exit
   14484   -V, --version    print version number and configuration settings, then exit
   14485   -q, --quiet, --silent
   14486                    do not print progress messages
   14487   -d, --debug      don't remove temporary files
   14488       --recheck    update $as_me by reconfiguring in the same conditions
   14489       --file=FILE[:TEMPLATE]
   14490                    instantiate the configuration file FILE
   14491       --header=FILE[:TEMPLATE]
   14492                    instantiate the configuration header FILE
   14493 
   14494 Configuration files:
   14495 $config_files
   14496 
   14497 Configuration headers:
   14498 $config_headers
   14499 
   14500 Configuration commands:
   14501 $config_commands
   14502 
   14503 Report bugs to <bug-autoconf (at] gnu.org>."
   14504 
   14505 _ACEOF
   14506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14507 ac_cs_version="\\
   14508 xf86-video-sis config.status 0.10.3
   14509 configured by $0, generated by GNU Autoconf 2.63,
   14510   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   14511 
   14512 Copyright (C) 2008 Free Software Foundation, Inc.
   14513 This config.status script is free software; the Free Software Foundation
   14514 gives unlimited permission to copy, distribute and modify it."
   14515 
   14516 ac_pwd='$ac_pwd'
   14517 srcdir='$srcdir'
   14518 INSTALL='$INSTALL'
   14519 MKDIR_P='$MKDIR_P'
   14520 AWK='$AWK'
   14521 test -n "\$AWK" || AWK=awk
   14522 _ACEOF
   14523 
   14524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14525 # The default lists apply if the user does not specify any file.
   14526 ac_need_defaults=:
   14527 while test $# != 0
   14528 do
   14529   case $1 in
   14530   --*=*)
   14531     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14532     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14533     ac_shift=:
   14534     ;;
   14535   *)
   14536     ac_option=$1
   14537     ac_optarg=$2
   14538     ac_shift=shift
   14539     ;;
   14540   esac
   14541 
   14542   case $ac_option in
   14543   # Handling of the options.
   14544   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14545     ac_cs_recheck=: ;;
   14546   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14547     $as_echo "$ac_cs_version"; exit ;;
   14548   --debug | --debu | --deb | --de | --d | -d )
   14549     debug=: ;;
   14550   --file | --fil | --fi | --f )
   14551     $ac_shift
   14552     case $ac_optarg in
   14553     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14554     esac
   14555     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   14556     ac_need_defaults=false;;
   14557   --header | --heade | --head | --hea )
   14558     $ac_shift
   14559     case $ac_optarg in
   14560     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14561     esac
   14562     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   14563     ac_need_defaults=false;;
   14564   --he | --h)
   14565     # Conflict between --help and --header
   14566     { $as_echo "$as_me: error: ambiguous option: $1
   14567 Try \`$0 --help' for more information." >&2
   14568    { (exit 1); exit 1; }; };;
   14569   --help | --hel | -h )
   14570     $as_echo "$ac_cs_usage"; exit ;;
   14571   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14572   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14573     ac_cs_silent=: ;;
   14574 
   14575   # This is an error.
   14576   -*) { $as_echo "$as_me: error: unrecognized option: $1
   14577 Try \`$0 --help' for more information." >&2
   14578    { (exit 1); exit 1; }; } ;;
   14579 
   14580   *) ac_config_targets="$ac_config_targets $1"
   14581      ac_need_defaults=false ;;
   14582 
   14583   esac
   14584   shift
   14585 done
   14586 
   14587 ac_configure_extra_args=
   14588 
   14589 if $ac_cs_silent; then
   14590   exec 6>/dev/null
   14591   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14592 fi
   14593 
   14594 _ACEOF
   14595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14596 if \$ac_cs_recheck; then
   14597   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14598   shift
   14599   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14600   CONFIG_SHELL='$SHELL'
   14601   export CONFIG_SHELL
   14602   exec "\$@"
   14603 fi
   14604 
   14605 _ACEOF
   14606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14607 exec 5>>config.log
   14608 {
   14609   echo
   14610   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14611 ## Running $as_me. ##
   14612 _ASBOX
   14613   $as_echo "$ac_log"
   14614 } >&5
   14615 
   14616 _ACEOF
   14617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14618 #
   14619 # INIT-COMMANDS
   14620 #
   14621 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14622 
   14623 
   14624 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14625 # if CDPATH is set.
   14626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14627 
   14628 sed_quote_subst='$sed_quote_subst'
   14629 double_quote_subst='$double_quote_subst'
   14630 delay_variable_subst='$delay_variable_subst'
   14631 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14632 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14633 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14634 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14635 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14636 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14637 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14638 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14639 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14640 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14641 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14642 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14643 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14644 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14645 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14646 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14647 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14648 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14649 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14650 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14651 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14652 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14653 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14654 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14655 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14656 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14657 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14658 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14659 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   14660 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14661 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14662 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14663 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14664 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14665 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14666 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14667 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14668 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14669 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14670 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14671 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14672 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14673 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14674 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14675 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"`'
   14676 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"`'
   14677 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14678 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14679 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14680 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14681 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14682 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14683 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14684 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14685 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14686 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14687 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14688 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14689 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14690 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14691 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14692 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14693 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14694 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14695 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14696 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14697 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14698 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14699 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14700 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14701 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14702 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14703 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14704 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14705 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14706 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14707 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14708 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14709 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14710 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14711 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14712 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14713 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14714 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14715 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14716 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14717 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14718 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14719 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14720 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14721 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14722 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14723 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14724 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14725 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14726 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14727 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14728 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14729 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14730 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14731 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14732 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14733 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14734 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14735 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14736 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14737 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14738 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14739 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14740 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14741 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14742 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14743 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14744 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14745 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14746 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14747 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14748 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14749 
   14750 LTCC='$LTCC'
   14751 LTCFLAGS='$LTCFLAGS'
   14752 compiler='$compiler_DEFAULT'
   14753 
   14754 # Quote evaled strings.
   14755 for var in SED \
   14756 GREP \
   14757 EGREP \
   14758 FGREP \
   14759 LD \
   14760 NM \
   14761 LN_S \
   14762 lt_SP2NL \
   14763 lt_NL2SP \
   14764 reload_flag \
   14765 OBJDUMP \
   14766 deplibs_check_method \
   14767 file_magic_cmd \
   14768 AR \
   14769 AR_FLAGS \
   14770 STRIP \
   14771 RANLIB \
   14772 CC \
   14773 CFLAGS \
   14774 compiler \
   14775 lt_cv_sys_global_symbol_pipe \
   14776 lt_cv_sys_global_symbol_to_cdecl \
   14777 lt_cv_sys_global_symbol_to_c_name_address \
   14778 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14779 SHELL \
   14780 ECHO \
   14781 lt_prog_compiler_no_builtin_flag \
   14782 lt_prog_compiler_wl \
   14783 lt_prog_compiler_pic \
   14784 lt_prog_compiler_static \
   14785 lt_cv_prog_compiler_c_o \
   14786 need_locks \
   14787 DSYMUTIL \
   14788 NMEDIT \
   14789 LIPO \
   14790 OTOOL \
   14791 OTOOL64 \
   14792 shrext_cmds \
   14793 export_dynamic_flag_spec \
   14794 whole_archive_flag_spec \
   14795 compiler_needs_object \
   14796 with_gnu_ld \
   14797 allow_undefined_flag \
   14798 no_undefined_flag \
   14799 hardcode_libdir_flag_spec \
   14800 hardcode_libdir_flag_spec_ld \
   14801 hardcode_libdir_separator \
   14802 fix_srcfile_path \
   14803 exclude_expsyms \
   14804 include_expsyms \
   14805 file_list_spec \
   14806 variables_saved_for_relink \
   14807 libname_spec \
   14808 library_names_spec \
   14809 soname_spec \
   14810 finish_eval \
   14811 old_striplib \
   14812 striplib; do
   14813     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14814     *[\\\\\\\`\\"\\\$]*)
   14815       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14816       ;;
   14817     *)
   14818       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14819       ;;
   14820     esac
   14821 done
   14822 
   14823 # Double-quote double-evaled strings.
   14824 for var in reload_cmds \
   14825 old_postinstall_cmds \
   14826 old_postuninstall_cmds \
   14827 old_archive_cmds \
   14828 extract_expsyms_cmds \
   14829 old_archive_from_new_cmds \
   14830 old_archive_from_expsyms_cmds \
   14831 archive_cmds \
   14832 archive_expsym_cmds \
   14833 module_cmds \
   14834 module_expsym_cmds \
   14835 export_symbols_cmds \
   14836 prelink_cmds \
   14837 postinstall_cmds \
   14838 postuninstall_cmds \
   14839 finish_cmds \
   14840 sys_lib_search_path_spec \
   14841 sys_lib_dlsearch_path_spec; do
   14842     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14843     *[\\\\\\\`\\"\\\$]*)
   14844       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14845       ;;
   14846     *)
   14847       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14848       ;;
   14849     esac
   14850 done
   14851 
   14852 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14853 case \$lt_ECHO in
   14854 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14855   ;;
   14856 esac
   14857 
   14858 ac_aux_dir='$ac_aux_dir'
   14859 xsi_shell='$xsi_shell'
   14860 lt_shell_append='$lt_shell_append'
   14861 
   14862 # See if we are running on zsh, and set the options which allow our
   14863 # commands through without removal of \ escapes INIT.
   14864 if test -n "\${ZSH_VERSION+set}" ; then
   14865    setopt NO_GLOB_SUBST
   14866 fi
   14867 
   14868 
   14869     PACKAGE='$PACKAGE'
   14870     VERSION='$VERSION'
   14871     TIMESTAMP='$TIMESTAMP'
   14872     RM='$RM'
   14873     ofile='$ofile'
   14874 
   14875 
   14876 
   14877 
   14878 _ACEOF
   14879 
   14880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14881 
   14882 # Handling of arguments.
   14883 for ac_config_target in $ac_config_targets
   14884 do
   14885   case $ac_config_target in
   14886     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14887     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14888     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14889     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14890     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14891     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14892 
   14893   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14894 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14895    { (exit 1); exit 1; }; };;
   14896   esac
   14897 done
   14898 
   14899 
   14900 # If the user did not use the arguments to specify the items to instantiate,
   14901 # then the envvar interface is used.  Set only those that are not.
   14902 # We use the long form for the default assignment because of an extremely
   14903 # bizarre bug on SunOS 4.1.3.
   14904 if $ac_need_defaults; then
   14905   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14906   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14907   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14908 fi
   14909 
   14910 # Have a temporary directory for convenience.  Make it in the build tree
   14911 # simply because there is no reason against having it here, and in addition,
   14912 # creating and moving files from /tmp can sometimes cause problems.
   14913 # Hook for its removal unless debugging.
   14914 # Note that there is a small window in which the directory will not be cleaned:
   14915 # after its creation but before its name has been assigned to `$tmp'.
   14916 $debug ||
   14917 {
   14918   tmp=
   14919   trap 'exit_status=$?
   14920   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14921 ' 0
   14922   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14923 }
   14924 # Create a (secure) tmp directory for tmp files.
   14925 
   14926 {
   14927   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14928   test -n "$tmp" && test -d "$tmp"
   14929 }  ||
   14930 {
   14931   tmp=./conf$$-$RANDOM
   14932   (umask 077 && mkdir "$tmp")
   14933 } ||
   14934 {
   14935    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   14936    { (exit 1); exit 1; }
   14937 }
   14938 
   14939 # Set up the scripts for CONFIG_FILES section.
   14940 # No need to generate them if there are no CONFIG_FILES.
   14941 # This happens for instance with `./config.status config.h'.
   14942 if test -n "$CONFIG_FILES"; then
   14943 
   14944 
   14945 ac_cr='
'
   14947 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14948 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14949   ac_cs_awk_cr='\\r'
   14950 else
   14951   ac_cs_awk_cr=$ac_cr
   14952 fi
   14953 
   14954 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14955 _ACEOF
   14956 
   14957 
   14958 {
   14959   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14960   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14961   echo "_ACEOF"
   14962 } >conf$$subs.sh ||
   14963   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14964 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14965    { (exit 1); exit 1; }; }
   14966 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14967 ac_delim='%!_!# '
   14968 for ac_last_try in false false false false false :; do
   14969   . ./conf$$subs.sh ||
   14970     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14971 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14972    { (exit 1); exit 1; }; }
   14973 
   14974   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14975   if test $ac_delim_n = $ac_delim_num; then
   14976     break
   14977   elif $ac_last_try; then
   14978     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14979 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14980    { (exit 1); exit 1; }; }
   14981   else
   14982     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14983   fi
   14984 done
   14985 rm -f conf$$subs.sh
   14986 
   14987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14988 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14989 _ACEOF
   14990 sed -n '
   14991 h
   14992 s/^/S["/; s/!.*/"]=/
   14993 p
   14994 g
   14995 s/^[^!]*!//
   14996 :repl
   14997 t repl
   14998 s/'"$ac_delim"'$//
   14999 t delim
   15000 :nl
   15001 h
   15002 s/\(.\{148\}\).*/\1/
   15003 t more1
   15004 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15005 p
   15006 n
   15007 b repl
   15008 :more1
   15009 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15010 p
   15011 g
   15012 s/.\{148\}//
   15013 t nl
   15014 :delim
   15015 h
   15016 s/\(.\{148\}\).*/\1/
   15017 t more2
   15018 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15019 p
   15020 b
   15021 :more2
   15022 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15023 p
   15024 g
   15025 s/.\{148\}//
   15026 t delim
   15027 ' <conf$$subs.awk | sed '
   15028 /^[^""]/{
   15029   N
   15030   s/\n//
   15031 }
   15032 ' >>$CONFIG_STATUS || ac_write_fail=1
   15033 rm -f conf$$subs.awk
   15034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15035 _ACAWK
   15036 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15037   for (key in S) S_is_set[key] = 1
   15038   FS = ""
   15039 
   15040 }
   15041 {
   15042   line = $ 0
   15043   nfields = split(line, field, "@")
   15044   substed = 0
   15045   len = length(field[1])
   15046   for (i = 2; i < nfields; i++) {
   15047     key = field[i]
   15048     keylen = length(key)
   15049     if (S_is_set[key]) {
   15050       value = S[key]
   15051       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15052       len += length(value) + length(field[++i])
   15053       substed = 1
   15054     } else
   15055       len += 1 + keylen
   15056   }
   15057 
   15058   print line
   15059 }
   15060 
   15061 _ACAWK
   15062 _ACEOF
   15063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15064 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15065   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15066 else
   15067   cat
   15068 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15069   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   15070 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   15071    { (exit 1); exit 1; }; }
   15072 _ACEOF
   15073 
   15074 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   15075 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   15076 # trailing colons and then remove the whole line if VPATH becomes empty
   15077 # (actually we leave an empty line to preserve line numbers).
   15078 if test "x$srcdir" = x.; then
   15079   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   15080 s/:*\$(srcdir):*/:/
   15081 s/:*\${srcdir}:*/:/
   15082 s/:*@srcdir@:*/:/
   15083 s/^\([^=]*=[	 ]*\):*/\1/
   15084 s/:*$//
   15085 s/^[^=]*=[	 ]*$//
   15086 }'
   15087 fi
   15088 
   15089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15090 fi # test -n "$CONFIG_FILES"
   15091 
   15092 # Set up the scripts for CONFIG_HEADERS section.
   15093 # No need to generate them if there are no CONFIG_HEADERS.
   15094 # This happens for instance with `./config.status Makefile'.
   15095 if test -n "$CONFIG_HEADERS"; then
   15096 cat >"$tmp/defines.awk" <<\_ACAWK ||
   15097 BEGIN {
   15098 _ACEOF
   15099 
   15100 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15101 # here-document in config.status, that substitutes the proper values into
   15102 # config.h.in to produce config.h.
   15103 
   15104 # Create a delimiter string that does not exist in confdefs.h, to ease
   15105 # handling of long lines.
   15106 ac_delim='%!_!# '
   15107 for ac_last_try in false false :; do
   15108   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   15109   if test -z "$ac_t"; then
   15110     break
   15111   elif $ac_last_try; then
   15112     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   15113 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   15114    { (exit 1); exit 1; }; }
   15115   else
   15116     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15117   fi
   15118 done
   15119 
   15120 # For the awk script, D is an array of macro values keyed by name,
   15121 # likewise P contains macro parameters if any.  Preserve backslash
   15122 # newline sequences.
   15123 
   15124 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15125 sed -n '
   15126 s/.\{148\}/&'"$ac_delim"'/g
   15127 t rset
   15128 :rset
   15129 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15130 t def
   15131 d
   15132 :def
   15133 s/\\$//
   15134 t bsnl
   15135 s/["\\]/\\&/g
   15136 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15137 D["\1"]=" \3"/p
   15138 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15139 d
   15140 :bsnl
   15141 s/["\\]/\\&/g
   15142 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15143 D["\1"]=" \3\\\\\\n"\\/p
   15144 t cont
   15145 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15146 t cont
   15147 d
   15148 :cont
   15149 n
   15150 s/.\{148\}/&'"$ac_delim"'/g
   15151 t clear
   15152 :clear
   15153 s/\\$//
   15154 t bsnlc
   15155 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15156 d
   15157 :bsnlc
   15158 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15159 b cont
   15160 ' <confdefs.h | sed '
   15161 s/'"$ac_delim"'/"\\\
   15162 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15163 
   15164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15165   for (key in D) D_is_set[key] = 1
   15166   FS = ""
   15167 }
   15168 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15169   line = \$ 0
   15170   split(line, arg, " ")
   15171   if (arg[1] == "#") {
   15172     defundef = arg[2]
   15173     mac1 = arg[3]
   15174   } else {
   15175     defundef = substr(arg[1], 2)
   15176     mac1 = arg[2]
   15177   }
   15178   split(mac1, mac2, "(") #)
   15179   macro = mac2[1]
   15180   prefix = substr(line, 1, index(line, defundef) - 1)
   15181   if (D_is_set[macro]) {
   15182     # Preserve the white space surrounding the "#".
   15183     print prefix "define", macro P[macro] D[macro]
   15184     next
   15185   } else {
   15186     # Replace #undef with comments.  This is necessary, for example,
   15187     # in the case of _POSIX_SOURCE, which is predefined and required
   15188     # on some systems where configure will not decide to define it.
   15189     if (defundef == "undef") {
   15190       print "/*", prefix defundef, macro, "*/"
   15191       next
   15192     }
   15193   }
   15194 }
   15195 { print }
   15196 _ACAWK
   15197 _ACEOF
   15198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15199   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   15200 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   15201    { (exit 1); exit 1; }; }
   15202 fi # test -n "$CONFIG_HEADERS"
   15203 
   15204 
   15205 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15206 shift
   15207 for ac_tag
   15208 do
   15209   case $ac_tag in
   15210   :[FHLC]) ac_mode=$ac_tag; continue;;
   15211   esac
   15212   case $ac_mode$ac_tag in
   15213   :[FHL]*:*);;
   15214   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   15215 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   15216    { (exit 1); exit 1; }; };;
   15217   :[FH]-) ac_tag=-:-;;
   15218   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15219   esac
   15220   ac_save_IFS=$IFS
   15221   IFS=:
   15222   set x $ac_tag
   15223   IFS=$ac_save_IFS
   15224   shift
   15225   ac_file=$1
   15226   shift
   15227 
   15228   case $ac_mode in
   15229   :L) ac_source=$1;;
   15230   :[FH])
   15231     ac_file_inputs=
   15232     for ac_f
   15233     do
   15234       case $ac_f in
   15235       -) ac_f="$tmp/stdin";;
   15236       *) # Look for the file first in the build tree, then in the source tree
   15237 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15238 	 # because $ac_f cannot contain `:'.
   15239 	 test -f "$ac_f" ||
   15240 	   case $ac_f in
   15241 	   [\\/$]*) false;;
   15242 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15243 	   esac ||
   15244 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   15245 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   15246    { (exit 1); exit 1; }; };;
   15247       esac
   15248       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15249       ac_file_inputs="$ac_file_inputs '$ac_f'"
   15250     done
   15251 
   15252     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15253     # use $as_me), people would be surprised to read:
   15254     #    /* config.h.  Generated by config.status.  */
   15255     configure_input='Generated from '`
   15256 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15257 	`' by configure.'
   15258     if test x"$ac_file" != x-; then
   15259       configure_input="$ac_file.  $configure_input"
   15260       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   15261 $as_echo "$as_me: creating $ac_file" >&6;}
   15262     fi
   15263     # Neutralize special characters interpreted by sed in replacement strings.
   15264     case $configure_input in #(
   15265     *\&* | *\|* | *\\* )
   15266        ac_sed_conf_input=`$as_echo "$configure_input" |
   15267        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15268     *) ac_sed_conf_input=$configure_input;;
   15269     esac
   15270 
   15271     case $ac_tag in
   15272     *:-:* | *:-) cat >"$tmp/stdin" \
   15273       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15274 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15275    { (exit 1); exit 1; }; } ;;
   15276     esac
   15277     ;;
   15278   esac
   15279 
   15280   ac_dir=`$as_dirname -- "$ac_file" ||
   15281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15282 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15283 	 X"$ac_file" : 'X\(//\)$' \| \
   15284 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15285 $as_echo X"$ac_file" |
   15286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15287 	    s//\1/
   15288 	    q
   15289 	  }
   15290 	  /^X\(\/\/\)[^/].*/{
   15291 	    s//\1/
   15292 	    q
   15293 	  }
   15294 	  /^X\(\/\/\)$/{
   15295 	    s//\1/
   15296 	    q
   15297 	  }
   15298 	  /^X\(\/\).*/{
   15299 	    s//\1/
   15300 	    q
   15301 	  }
   15302 	  s/.*/./; q'`
   15303   { as_dir="$ac_dir"
   15304   case $as_dir in #(
   15305   -*) as_dir=./$as_dir;;
   15306   esac
   15307   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   15308     as_dirs=
   15309     while :; do
   15310       case $as_dir in #(
   15311       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15312       *) as_qdir=$as_dir;;
   15313       esac
   15314       as_dirs="'$as_qdir' $as_dirs"
   15315       as_dir=`$as_dirname -- "$as_dir" ||
   15316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15317 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15318 	 X"$as_dir" : 'X\(//\)$' \| \
   15319 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15320 $as_echo X"$as_dir" |
   15321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15322 	    s//\1/
   15323 	    q
   15324 	  }
   15325 	  /^X\(\/\/\)[^/].*/{
   15326 	    s//\1/
   15327 	    q
   15328 	  }
   15329 	  /^X\(\/\/\)$/{
   15330 	    s//\1/
   15331 	    q
   15332 	  }
   15333 	  /^X\(\/\).*/{
   15334 	    s//\1/
   15335 	    q
   15336 	  }
   15337 	  s/.*/./; q'`
   15338       test -d "$as_dir" && break
   15339     done
   15340     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15341   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   15342 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   15343    { (exit 1); exit 1; }; }; }
   15344   ac_builddir=.
   15345 
   15346 case "$ac_dir" in
   15347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15348 *)
   15349   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15350   # A ".." for each directory in $ac_dir_suffix.
   15351   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15352   case $ac_top_builddir_sub in
   15353   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15354   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15355   esac ;;
   15356 esac
   15357 ac_abs_top_builddir=$ac_pwd
   15358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15359 # for backward compatibility:
   15360 ac_top_builddir=$ac_top_build_prefix
   15361 
   15362 case $srcdir in
   15363   .)  # We are building in place.
   15364     ac_srcdir=.
   15365     ac_top_srcdir=$ac_top_builddir_sub
   15366     ac_abs_top_srcdir=$ac_pwd ;;
   15367   [\\/]* | ?:[\\/]* )  # Absolute name.
   15368     ac_srcdir=$srcdir$ac_dir_suffix;
   15369     ac_top_srcdir=$srcdir
   15370     ac_abs_top_srcdir=$srcdir ;;
   15371   *) # Relative name.
   15372     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15373     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15374     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15375 esac
   15376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15377 
   15378 
   15379   case $ac_mode in
   15380   :F)
   15381   #
   15382   # CONFIG_FILE
   15383   #
   15384 
   15385   case $INSTALL in
   15386   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15387   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15388   esac
   15389   ac_MKDIR_P=$MKDIR_P
   15390   case $MKDIR_P in
   15391   [\\/$]* | ?:[\\/]* ) ;;
   15392   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15393   esac
   15394 _ACEOF
   15395 
   15396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15397 # If the template does not know about datarootdir, expand it.
   15398 # FIXME: This hack should be removed a few years after 2.60.
   15399 ac_datarootdir_hack=; ac_datarootdir_seen=
   15400 
   15401 ac_sed_dataroot='
   15402 /datarootdir/ {
   15403   p
   15404   q
   15405 }
   15406 /@datadir@/p
   15407 /@docdir@/p
   15408 /@infodir@/p
   15409 /@localedir@/p
   15410 /@mandir@/p
   15411 '
   15412 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15413 *datarootdir*) ac_datarootdir_seen=yes;;
   15414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15415   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15416 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15417 _ACEOF
   15418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15419   ac_datarootdir_hack='
   15420   s&@datadir@&$datadir&g
   15421   s&@docdir@&$docdir&g
   15422   s&@infodir@&$infodir&g
   15423   s&@localedir@&$localedir&g
   15424   s&@mandir@&$mandir&g
   15425     s&\\\${datarootdir}&$datarootdir&g' ;;
   15426 esac
   15427 _ACEOF
   15428 
   15429 # Neutralize VPATH when `$srcdir' = `.'.
   15430 # Shell code in configure.ac might set extrasub.
   15431 # FIXME: do we really want to maintain this feature?
   15432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15433 ac_sed_extra="$ac_vpsub
   15434 $extrasub
   15435 _ACEOF
   15436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15437 :t
   15438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15439 s|@configure_input@|$ac_sed_conf_input|;t t
   15440 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15441 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15442 s&@srcdir@&$ac_srcdir&;t t
   15443 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15444 s&@top_srcdir@&$ac_top_srcdir&;t t
   15445 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15446 s&@builddir@&$ac_builddir&;t t
   15447 s&@abs_builddir@&$ac_abs_builddir&;t t
   15448 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15449 s&@INSTALL@&$ac_INSTALL&;t t
   15450 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15451 $ac_datarootdir_hack
   15452 "
   15453 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   15454   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15455 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15456    { (exit 1); exit 1; }; }
   15457 
   15458 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15459   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   15460   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   15461   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15462 which seems to be undefined.  Please make sure it is defined." >&5
   15463 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15464 which seems to be undefined.  Please make sure it is defined." >&2;}
   15465 
   15466   rm -f "$tmp/stdin"
   15467   case $ac_file in
   15468   -) cat "$tmp/out" && rm -f "$tmp/out";;
   15469   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   15470   esac \
   15471   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15472 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15473    { (exit 1); exit 1; }; }
   15474  ;;
   15475   :H)
   15476   #
   15477   # CONFIG_HEADER
   15478   #
   15479   if test x"$ac_file" != x-; then
   15480     {
   15481       $as_echo "/* $configure_input  */" \
   15482       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   15483     } >"$tmp/config.h" \
   15484       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15485 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15486    { (exit 1); exit 1; }; }
   15487     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   15488       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   15489 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15490     else
   15491       rm -f "$ac_file"
   15492       mv "$tmp/config.h" "$ac_file" \
   15493 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15494 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15495    { (exit 1); exit 1; }; }
   15496     fi
   15497   else
   15498     $as_echo "/* $configure_input  */" \
   15499       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   15500       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   15501 $as_echo "$as_me: error: could not create -" >&2;}
   15502    { (exit 1); exit 1; }; }
   15503   fi
   15504 # Compute "$ac_file"'s index in $config_headers.
   15505 _am_arg="$ac_file"
   15506 _am_stamp_count=1
   15507 for _am_header in $config_headers :; do
   15508   case $_am_header in
   15509     $_am_arg | $_am_arg:* )
   15510       break ;;
   15511     * )
   15512       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15513   esac
   15514 done
   15515 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15516 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15517 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15518 	 X"$_am_arg" : 'X\(//\)$' \| \
   15519 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15520 $as_echo X"$_am_arg" |
   15521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15522 	    s//\1/
   15523 	    q
   15524 	  }
   15525 	  /^X\(\/\/\)[^/].*/{
   15526 	    s//\1/
   15527 	    q
   15528 	  }
   15529 	  /^X\(\/\/\)$/{
   15530 	    s//\1/
   15531 	    q
   15532 	  }
   15533 	  /^X\(\/\).*/{
   15534 	    s//\1/
   15535 	    q
   15536 	  }
   15537 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15538  ;;
   15539 
   15540   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   15541 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15542  ;;
   15543   esac
   15544 
   15545 
   15546   case $ac_file$ac_mode in
   15547     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15548   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15549   # are listed without --file.  Let's play safe and only enable the eval
   15550   # if we detect the quoting.
   15551   case $CONFIG_FILES in
   15552   *\'*) eval set x "$CONFIG_FILES" ;;
   15553   *)   set x $CONFIG_FILES ;;
   15554   esac
   15555   shift
   15556   for mf
   15557   do
   15558     # Strip MF so we end up with the name of the file.
   15559     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15560     # Check whether this is an Automake generated Makefile or not.
   15561     # We used to match only the files named `Makefile.in', but
   15562     # some people rename them; so instead we look at the file content.
   15563     # Grep'ing the first line is not enough: some people post-process
   15564     # each Makefile.in and add a new line on top of each file to say so.
   15565     # Grep'ing the whole file is not good either: AIX grep has a line
   15566     # limit of 2048, but all sed's we know have understand at least 4000.
   15567     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15568       dirpart=`$as_dirname -- "$mf" ||
   15569 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15570 	 X"$mf" : 'X\(//\)[^/]' \| \
   15571 	 X"$mf" : 'X\(//\)$' \| \
   15572 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15573 $as_echo X"$mf" |
   15574     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15575 	    s//\1/
   15576 	    q
   15577 	  }
   15578 	  /^X\(\/\/\)[^/].*/{
   15579 	    s//\1/
   15580 	    q
   15581 	  }
   15582 	  /^X\(\/\/\)$/{
   15583 	    s//\1/
   15584 	    q
   15585 	  }
   15586 	  /^X\(\/\).*/{
   15587 	    s//\1/
   15588 	    q
   15589 	  }
   15590 	  s/.*/./; q'`
   15591     else
   15592       continue
   15593     fi
   15594     # Extract the definition of DEPDIR, am__include, and am__quote
   15595     # from the Makefile without running `make'.
   15596     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15597     test -z "$DEPDIR" && continue
   15598     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15599     test -z "am__include" && continue
   15600     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15601     # When using ansi2knr, U may be empty or an underscore; expand it
   15602     U=`sed -n 's/^U = //p' < "$mf"`
   15603     # Find all dependency output files, they are included files with
   15604     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15605     # simplest approach to changing $(DEPDIR) to its actual value in the
   15606     # expansion.
   15607     for file in `sed -n "
   15608       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15609 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15610       # Make sure the directory exists.
   15611       test -f "$dirpart/$file" && continue
   15612       fdir=`$as_dirname -- "$file" ||
   15613 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15614 	 X"$file" : 'X\(//\)[^/]' \| \
   15615 	 X"$file" : 'X\(//\)$' \| \
   15616 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15617 $as_echo X"$file" |
   15618     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15619 	    s//\1/
   15620 	    q
   15621 	  }
   15622 	  /^X\(\/\/\)[^/].*/{
   15623 	    s//\1/
   15624 	    q
   15625 	  }
   15626 	  /^X\(\/\/\)$/{
   15627 	    s//\1/
   15628 	    q
   15629 	  }
   15630 	  /^X\(\/\).*/{
   15631 	    s//\1/
   15632 	    q
   15633 	  }
   15634 	  s/.*/./; q'`
   15635       { as_dir=$dirpart/$fdir
   15636   case $as_dir in #(
   15637   -*) as_dir=./$as_dir;;
   15638   esac
   15639   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   15640     as_dirs=
   15641     while :; do
   15642       case $as_dir in #(
   15643       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15644       *) as_qdir=$as_dir;;
   15645       esac
   15646       as_dirs="'$as_qdir' $as_dirs"
   15647       as_dir=`$as_dirname -- "$as_dir" ||
   15648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15649 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15650 	 X"$as_dir" : 'X\(//\)$' \| \
   15651 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15652 $as_echo X"$as_dir" |
   15653     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15654 	    s//\1/
   15655 	    q
   15656 	  }
   15657 	  /^X\(\/\/\)[^/].*/{
   15658 	    s//\1/
   15659 	    q
   15660 	  }
   15661 	  /^X\(\/\/\)$/{
   15662 	    s//\1/
   15663 	    q
   15664 	  }
   15665 	  /^X\(\/\).*/{
   15666 	    s//\1/
   15667 	    q
   15668 	  }
   15669 	  s/.*/./; q'`
   15670       test -d "$as_dir" && break
   15671     done
   15672     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15673   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   15674 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   15675    { (exit 1); exit 1; }; }; }
   15676       # echo "creating $dirpart/$file"
   15677       echo '# dummy' > "$dirpart/$file"
   15678     done
   15679   done
   15680 }
   15681  ;;
   15682     "libtool":C)
   15683 
   15684     # See if we are running on zsh, and set the options which allow our
   15685     # commands through without removal of \ escapes.
   15686     if test -n "${ZSH_VERSION+set}" ; then
   15687       setopt NO_GLOB_SUBST
   15688     fi
   15689 
   15690     cfgfile="${ofile}T"
   15691     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15692     $RM "$cfgfile"
   15693 
   15694     cat <<_LT_EOF >> "$cfgfile"
   15695 #! $SHELL
   15696 
   15697 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15698 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15699 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15700 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15701 #
   15702 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15703 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15704 #   Written by Gordon Matzigkeit, 1996
   15705 #
   15706 #   This file is part of GNU Libtool.
   15707 #
   15708 # GNU Libtool is free software; you can redistribute it and/or
   15709 # modify it under the terms of the GNU General Public License as
   15710 # published by the Free Software Foundation; either version 2 of
   15711 # the License, or (at your option) any later version.
   15712 #
   15713 # As a special exception to the GNU General Public License,
   15714 # if you distribute this file as part of a program or library that
   15715 # is built using GNU Libtool, you may include this file under the
   15716 # same distribution terms that you use for the rest of that program.
   15717 #
   15718 # GNU Libtool is distributed in the hope that it will be useful,
   15719 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15720 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15721 # GNU General Public License for more details.
   15722 #
   15723 # You should have received a copy of the GNU General Public License
   15724 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15725 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15726 # obtained by writing to the Free Software Foundation, Inc.,
   15727 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15728 
   15729 
   15730 # The names of the tagged configurations supported by this script.
   15731 available_tags=""
   15732 
   15733 # ### BEGIN LIBTOOL CONFIG
   15734 
   15735 # Whether or not to build static libraries.
   15736 build_old_libs=$enable_static
   15737 
   15738 # Which release of libtool.m4 was used?
   15739 macro_version=$macro_version
   15740 macro_revision=$macro_revision
   15741 
   15742 # Whether or not to build shared libraries.
   15743 build_libtool_libs=$enable_shared
   15744 
   15745 # What type of objects to build.
   15746 pic_mode=$pic_mode
   15747 
   15748 # Whether or not to optimize for fast installation.
   15749 fast_install=$enable_fast_install
   15750 
   15751 # The host system.
   15752 host_alias=$host_alias
   15753 host=$host
   15754 host_os=$host_os
   15755 
   15756 # The build system.
   15757 build_alias=$build_alias
   15758 build=$build
   15759 build_os=$build_os
   15760 
   15761 # A sed program that does not truncate output.
   15762 SED=$lt_SED
   15763 
   15764 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15765 Xsed="\$SED -e 1s/^X//"
   15766 
   15767 # A grep program that handles long lines.
   15768 GREP=$lt_GREP
   15769 
   15770 # An ERE matcher.
   15771 EGREP=$lt_EGREP
   15772 
   15773 # A literal string matcher.
   15774 FGREP=$lt_FGREP
   15775 
   15776 # A BSD- or MS-compatible name lister.
   15777 NM=$lt_NM
   15778 
   15779 # Whether we need soft or hard links.
   15780 LN_S=$lt_LN_S
   15781 
   15782 # What is the maximum length of a command?
   15783 max_cmd_len=$max_cmd_len
   15784 
   15785 # Object file suffix (normally "o").
   15786 objext=$ac_objext
   15787 
   15788 # Executable file suffix (normally "").
   15789 exeext=$exeext
   15790 
   15791 # whether the shell understands "unset".
   15792 lt_unset=$lt_unset
   15793 
   15794 # turn spaces into newlines.
   15795 SP2NL=$lt_lt_SP2NL
   15796 
   15797 # turn newlines into spaces.
   15798 NL2SP=$lt_lt_NL2SP
   15799 
   15800 # How to create reloadable object files.
   15801 reload_flag=$lt_reload_flag
   15802 reload_cmds=$lt_reload_cmds
   15803 
   15804 # An object symbol dumper.
   15805 OBJDUMP=$lt_OBJDUMP
   15806 
   15807 # Method to check whether dependent libraries are shared objects.
   15808 deplibs_check_method=$lt_deplibs_check_method
   15809 
   15810 # Command to use when deplibs_check_method == "file_magic".
   15811 file_magic_cmd=$lt_file_magic_cmd
   15812 
   15813 # The archiver.
   15814 AR=$lt_AR
   15815 AR_FLAGS=$lt_AR_FLAGS
   15816 
   15817 # A symbol stripping program.
   15818 STRIP=$lt_STRIP
   15819 
   15820 # Commands used to install an old-style archive.
   15821 RANLIB=$lt_RANLIB
   15822 old_postinstall_cmds=$lt_old_postinstall_cmds
   15823 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15824 
   15825 # A C compiler.
   15826 LTCC=$lt_CC
   15827 
   15828 # LTCC compiler flags.
   15829 LTCFLAGS=$lt_CFLAGS
   15830 
   15831 # Take the output of nm and produce a listing of raw symbols and C names.
   15832 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15833 
   15834 # Transform the output of nm in a proper C declaration.
   15835 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15836 
   15837 # Transform the output of nm in a C name address pair.
   15838 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15839 
   15840 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15841 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15842 
   15843 # The name of the directory that contains temporary libtool files.
   15844 objdir=$objdir
   15845 
   15846 # Shell to use when invoking shell scripts.
   15847 SHELL=$lt_SHELL
   15848 
   15849 # An echo program that does not interpret backslashes.
   15850 ECHO=$lt_ECHO
   15851 
   15852 # Used to examine libraries when file_magic_cmd begins with "file".
   15853 MAGIC_CMD=$MAGIC_CMD
   15854 
   15855 # Must we lock files when doing compilation?
   15856 need_locks=$lt_need_locks
   15857 
   15858 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15859 DSYMUTIL=$lt_DSYMUTIL
   15860 
   15861 # Tool to change global to local symbols on Mac OS X.
   15862 NMEDIT=$lt_NMEDIT
   15863 
   15864 # Tool to manipulate fat objects and archives on Mac OS X.
   15865 LIPO=$lt_LIPO
   15866 
   15867 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15868 OTOOL=$lt_OTOOL
   15869 
   15870 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15871 OTOOL64=$lt_OTOOL64
   15872 
   15873 # Old archive suffix (normally "a").
   15874 libext=$libext
   15875 
   15876 # Shared library suffix (normally ".so").
   15877 shrext_cmds=$lt_shrext_cmds
   15878 
   15879 # The commands to extract the exported symbol list from a shared archive.
   15880 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15881 
   15882 # Variables whose values should be saved in libtool wrapper scripts and
   15883 # restored at link time.
   15884 variables_saved_for_relink=$lt_variables_saved_for_relink
   15885 
   15886 # Do we need the "lib" prefix for modules?
   15887 need_lib_prefix=$need_lib_prefix
   15888 
   15889 # Do we need a version for libraries?
   15890 need_version=$need_version
   15891 
   15892 # Library versioning type.
   15893 version_type=$version_type
   15894 
   15895 # Shared library runtime path variable.
   15896 runpath_var=$runpath_var
   15897 
   15898 # Shared library path variable.
   15899 shlibpath_var=$shlibpath_var
   15900 
   15901 # Is shlibpath searched before the hard-coded library search path?
   15902 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15903 
   15904 # Format of library name prefix.
   15905 libname_spec=$lt_libname_spec
   15906 
   15907 # List of archive names.  First name is the real one, the rest are links.
   15908 # The last name is the one that the linker finds with -lNAME
   15909 library_names_spec=$lt_library_names_spec
   15910 
   15911 # The coded name of the library, if different from the real name.
   15912 soname_spec=$lt_soname_spec
   15913 
   15914 # Command to use after installation of a shared archive.
   15915 postinstall_cmds=$lt_postinstall_cmds
   15916 
   15917 # Command to use after uninstallation of a shared archive.
   15918 postuninstall_cmds=$lt_postuninstall_cmds
   15919 
   15920 # Commands used to finish a libtool library installation in a directory.
   15921 finish_cmds=$lt_finish_cmds
   15922 
   15923 # As "finish_cmds", except a single script fragment to be evaled but
   15924 # not shown.
   15925 finish_eval=$lt_finish_eval
   15926 
   15927 # Whether we should hardcode library paths into libraries.
   15928 hardcode_into_libs=$hardcode_into_libs
   15929 
   15930 # Compile-time system search path for libraries.
   15931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15932 
   15933 # Run-time system search path for libraries.
   15934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15935 
   15936 # Whether dlopen is supported.
   15937 dlopen_support=$enable_dlopen
   15938 
   15939 # Whether dlopen of programs is supported.
   15940 dlopen_self=$enable_dlopen_self
   15941 
   15942 # Whether dlopen of statically linked programs is supported.
   15943 dlopen_self_static=$enable_dlopen_self_static
   15944 
   15945 # Commands to strip libraries.
   15946 old_striplib=$lt_old_striplib
   15947 striplib=$lt_striplib
   15948 
   15949 
   15950 # The linker used to build libraries.
   15951 LD=$lt_LD
   15952 
   15953 # Commands used to build an old-style archive.
   15954 old_archive_cmds=$lt_old_archive_cmds
   15955 
   15956 # A language specific compiler.
   15957 CC=$lt_compiler
   15958 
   15959 # Is the compiler the GNU compiler?
   15960 with_gcc=$GCC
   15961 
   15962 # Compiler flag to turn off builtin functions.
   15963 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15964 
   15965 # How to pass a linker flag through the compiler.
   15966 wl=$lt_lt_prog_compiler_wl
   15967 
   15968 # Additional compiler flags for building library objects.
   15969 pic_flag=$lt_lt_prog_compiler_pic
   15970 
   15971 # Compiler flag to prevent dynamic linking.
   15972 link_static_flag=$lt_lt_prog_compiler_static
   15973 
   15974 # Does compiler simultaneously support -c and -o options?
   15975 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15976 
   15977 # Whether or not to add -lc for building shared libraries.
   15978 build_libtool_need_lc=$archive_cmds_need_lc
   15979 
   15980 # Whether or not to disallow shared libs when runtime libs are static.
   15981 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15982 
   15983 # Compiler flag to allow reflexive dlopens.
   15984 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15985 
   15986 # Compiler flag to generate shared objects directly from archives.
   15987 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15988 
   15989 # Whether the compiler copes with passing no objects directly.
   15990 compiler_needs_object=$lt_compiler_needs_object
   15991 
   15992 # Create an old-style archive from a shared archive.
   15993 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15994 
   15995 # Create a temporary old-style archive to link instead of a shared archive.
   15996 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15997 
   15998 # Commands used to build a shared archive.
   15999 archive_cmds=$lt_archive_cmds
   16000 archive_expsym_cmds=$lt_archive_expsym_cmds
   16001 
   16002 # Commands used to build a loadable module if different from building
   16003 # a shared archive.
   16004 module_cmds=$lt_module_cmds
   16005 module_expsym_cmds=$lt_module_expsym_cmds
   16006 
   16007 # Whether we are building with GNU ld or not.
   16008 with_gnu_ld=$lt_with_gnu_ld
   16009 
   16010 # Flag that allows shared libraries with undefined symbols to be built.
   16011 allow_undefined_flag=$lt_allow_undefined_flag
   16012 
   16013 # Flag that enforces no undefined symbols.
   16014 no_undefined_flag=$lt_no_undefined_flag
   16015 
   16016 # Flag to hardcode \$libdir into a binary during linking.
   16017 # This must work even if \$libdir does not exist
   16018 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16019 
   16020 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16021 # during linking.  This must work even if \$libdir does not exist.
   16022 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16023 
   16024 # Whether we need a single "-rpath" flag with a separated argument.
   16025 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16026 
   16027 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16028 # DIR into the resulting binary.
   16029 hardcode_direct=$hardcode_direct
   16030 
   16031 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16032 # DIR into the resulting binary and the resulting library dependency is
   16033 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16034 # library is relocated.
   16035 hardcode_direct_absolute=$hardcode_direct_absolute
   16036 
   16037 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16038 # into the resulting binary.
   16039 hardcode_minus_L=$hardcode_minus_L
   16040 
   16041 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16042 # into the resulting binary.
   16043 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16044 
   16045 # Set to "yes" if building a shared library automatically hardcodes DIR
   16046 # into the library and all subsequent libraries and executables linked
   16047 # against it.
   16048 hardcode_automatic=$hardcode_automatic
   16049 
   16050 # Set to yes if linker adds runtime paths of dependent libraries
   16051 # to runtime path list.
   16052 inherit_rpath=$inherit_rpath
   16053 
   16054 # Whether libtool must link a program against all its dependency libraries.
   16055 link_all_deplibs=$link_all_deplibs
   16056 
   16057 # Fix the shell variable \$srcfile for the compiler.
   16058 fix_srcfile_path=$lt_fix_srcfile_path
   16059 
   16060 # Set to "yes" if exported symbols are required.
   16061 always_export_symbols=$always_export_symbols
   16062 
   16063 # The commands to list exported symbols.
   16064 export_symbols_cmds=$lt_export_symbols_cmds
   16065 
   16066 # Symbols that should not be listed in the preloaded symbols.
   16067 exclude_expsyms=$lt_exclude_expsyms
   16068 
   16069 # Symbols that must always be exported.
   16070 include_expsyms=$lt_include_expsyms
   16071 
   16072 # Commands necessary for linking programs (against libraries) with templates.
   16073 prelink_cmds=$lt_prelink_cmds
   16074 
   16075 # Specify filename containing input files.
   16076 file_list_spec=$lt_file_list_spec
   16077 
   16078 # How to hardcode a shared library path into an executable.
   16079 hardcode_action=$hardcode_action
   16080 
   16081 # ### END LIBTOOL CONFIG
   16082 
   16083 _LT_EOF
   16084 
   16085   case $host_os in
   16086   aix3*)
   16087     cat <<\_LT_EOF >> "$cfgfile"
   16088 # AIX sometimes has problems with the GCC collect2 program.  For some
   16089 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16090 # vanish in a puff of smoke.
   16091 if test "X${COLLECT_NAMES+set}" != Xset; then
   16092   COLLECT_NAMES=
   16093   export COLLECT_NAMES
   16094 fi
   16095 _LT_EOF
   16096     ;;
   16097   esac
   16098 
   16099 
   16100 ltmain="$ac_aux_dir/ltmain.sh"
   16101 
   16102 
   16103   # We use sed instead of cat because bash on DJGPP gets confused if
   16104   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16105   # text mode, it properly converts lines to CR/LF.  This bash problem
   16106   # is reportedly fixed, but why not run on old versions too?
   16107   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16108     || (rm -f "$cfgfile"; exit 1)
   16109 
   16110   case $xsi_shell in
   16111   yes)
   16112     cat << \_LT_EOF >> "$cfgfile"
   16113 
   16114 # func_dirname file append nondir_replacement
   16115 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16116 # otherwise set result to NONDIR_REPLACEMENT.
   16117 func_dirname ()
   16118 {
   16119   case ${1} in
   16120     */*) func_dirname_result="${1%/*}${2}" ;;
   16121     *  ) func_dirname_result="${3}" ;;
   16122   esac
   16123 }
   16124 
   16125 # func_basename file
   16126 func_basename ()
   16127 {
   16128   func_basename_result="${1##*/}"
   16129 }
   16130 
   16131 # func_dirname_and_basename file append nondir_replacement
   16132 # perform func_basename and func_dirname in a single function
   16133 # call:
   16134 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16135 #             add APPEND to the result, otherwise set result
   16136 #             to NONDIR_REPLACEMENT.
   16137 #             value returned in "$func_dirname_result"
   16138 #   basename: Compute filename of FILE.
   16139 #             value retuned in "$func_basename_result"
   16140 # Implementation must be kept synchronized with func_dirname
   16141 # and func_basename. For efficiency, we do not delegate to
   16142 # those functions but instead duplicate the functionality here.
   16143 func_dirname_and_basename ()
   16144 {
   16145   case ${1} in
   16146     */*) func_dirname_result="${1%/*}${2}" ;;
   16147     *  ) func_dirname_result="${3}" ;;
   16148   esac
   16149   func_basename_result="${1##*/}"
   16150 }
   16151 
   16152 # func_stripname prefix suffix name
   16153 # strip PREFIX and SUFFIX off of NAME.
   16154 # PREFIX and SUFFIX must not contain globbing or regex special
   16155 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16156 # dot (in which case that matches only a dot).
   16157 func_stripname ()
   16158 {
   16159   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16160   # positional parameters, so assign one to ordinary parameter first.
   16161   func_stripname_result=${3}
   16162   func_stripname_result=${func_stripname_result#"${1}"}
   16163   func_stripname_result=${func_stripname_result%"${2}"}
   16164 }
   16165 
   16166 # func_opt_split
   16167 func_opt_split ()
   16168 {
   16169   func_opt_split_opt=${1%%=*}
   16170   func_opt_split_arg=${1#*=}
   16171 }
   16172 
   16173 # func_lo2o object
   16174 func_lo2o ()
   16175 {
   16176   case ${1} in
   16177     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16178     *)    func_lo2o_result=${1} ;;
   16179   esac
   16180 }
   16181 
   16182 # func_xform libobj-or-source
   16183 func_xform ()
   16184 {
   16185   func_xform_result=${1%.*}.lo
   16186 }
   16187 
   16188 # func_arith arithmetic-term...
   16189 func_arith ()
   16190 {
   16191   func_arith_result=$(( $* ))
   16192 }
   16193 
   16194 # func_len string
   16195 # STRING may not start with a hyphen.
   16196 func_len ()
   16197 {
   16198   func_len_result=${#1}
   16199 }
   16200 
   16201 _LT_EOF
   16202     ;;
   16203   *) # Bourne compatible functions.
   16204     cat << \_LT_EOF >> "$cfgfile"
   16205 
   16206 # func_dirname file append nondir_replacement
   16207 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16208 # otherwise set result to NONDIR_REPLACEMENT.
   16209 func_dirname ()
   16210 {
   16211   # Extract subdirectory from the argument.
   16212   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   16213   if test "X$func_dirname_result" = "X${1}"; then
   16214     func_dirname_result="${3}"
   16215   else
   16216     func_dirname_result="$func_dirname_result${2}"
   16217   fi
   16218 }
   16219 
   16220 # func_basename file
   16221 func_basename ()
   16222 {
   16223   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   16224 }
   16225 
   16226 
   16227 # func_stripname prefix suffix name
   16228 # strip PREFIX and SUFFIX off of NAME.
   16229 # PREFIX and SUFFIX must not contain globbing or regex special
   16230 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16231 # dot (in which case that matches only a dot).
   16232 # func_strip_suffix prefix name
   16233 func_stripname ()
   16234 {
   16235   case ${2} in
   16236     .*) func_stripname_result=`$ECHO "X${3}" \
   16237            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   16238     *)  func_stripname_result=`$ECHO "X${3}" \
   16239            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   16240   esac
   16241 }
   16242 
   16243 # sed scripts:
   16244 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16245 my_sed_long_arg='1s/^-[^=]*=//'
   16246 
   16247 # func_opt_split
   16248 func_opt_split ()
   16249 {
   16250   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   16251   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   16252 }
   16253 
   16254 # func_lo2o object
   16255 func_lo2o ()
   16256 {
   16257   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   16258 }
   16259 
   16260 # func_xform libobj-or-source
   16261 func_xform ()
   16262 {
   16263   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   16264 }
   16265 
   16266 # func_arith arithmetic-term...
   16267 func_arith ()
   16268 {
   16269   func_arith_result=`expr "$@"`
   16270 }
   16271 
   16272 # func_len string
   16273 # STRING may not start with a hyphen.
   16274 func_len ()
   16275 {
   16276   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16277 }
   16278 
   16279 _LT_EOF
   16280 esac
   16281 
   16282 case $lt_shell_append in
   16283   yes)
   16284     cat << \_LT_EOF >> "$cfgfile"
   16285 
   16286 # func_append var value
   16287 # Append VALUE to the end of shell variable VAR.
   16288 func_append ()
   16289 {
   16290   eval "$1+=\$2"
   16291 }
   16292 _LT_EOF
   16293     ;;
   16294   *)
   16295     cat << \_LT_EOF >> "$cfgfile"
   16296 
   16297 # func_append var value
   16298 # Append VALUE to the end of shell variable VAR.
   16299 func_append ()
   16300 {
   16301   eval "$1=\$$1\$2"
   16302 }
   16303 
   16304 _LT_EOF
   16305     ;;
   16306   esac
   16307 
   16308 
   16309   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16310     || (rm -f "$cfgfile"; exit 1)
   16311 
   16312   mv -f "$cfgfile" "$ofile" ||
   16313     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16314   chmod +x "$ofile"
   16315 
   16316  ;;
   16317 
   16318   esac
   16319 done # for ac_tag
   16320 
   16321 
   16322 { (exit 0); exit 0; }
   16323 _ACEOF
   16324 chmod +x $CONFIG_STATUS
   16325 ac_clean_files=$ac_clean_files_save
   16326 
   16327 test $ac_write_fail = 0 ||
   16328   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   16329 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   16330    { (exit 1); exit 1; }; }
   16331 
   16332 
   16333 # configure is writing to config.log, and then calls config.status.
   16334 # config.status does its own redirection, appending to config.log.
   16335 # Unfortunately, on DOS this fails, as config.log is still kept open
   16336 # by configure, so config.status won't be able to write to it; its
   16337 # output is simply discarded.  So we exec the FD to /dev/null,
   16338 # effectively closing config.log, so it can be properly (re)opened and
   16339 # appended to by config.status.  When coming back to configure, we
   16340 # need to make the FD available again.
   16341 if test "$no_create" != yes; then
   16342   ac_cs_success=:
   16343   ac_config_status_args=
   16344   test "$silent" = yes &&
   16345     ac_config_status_args="$ac_config_status_args --quiet"
   16346   exec 5>/dev/null
   16347   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16348   exec 5>>config.log
   16349   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16350   # would make configure fail if this is the last instruction.
   16351   $ac_cs_success || { (exit 1); exit 1; }
   16352 fi
   16353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16354   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16355 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16356 fi
   16357 
   16358