Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-r128 6.12.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (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 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-r128'
    593 PACKAGE_TARNAME='xf86-video-r128'
    594 PACKAGE_VERSION='6.12.0'
    595 PACKAGE_STRING='xf86-video-r128 6.12.0'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 XSERVER_LIBPCIACCESS_FALSE
    643 XSERVER_LIBPCIACCESS_TRUE
    644 PCIACCESS_LIBS
    645 PCIACCESS_CFLAGS
    646 USE_EXA_FALSE
    647 USE_EXA_TRUE
    648 XAA_FALSE
    649 XAA_TRUE
    650 DRI_LIBS
    651 DRI_CFLAGS
    652 DRI_FALSE
    653 DRI_TRUE
    654 HAVE_XEXTPROTO_71_FALSE
    655 HAVE_XEXTPROTO_71_TRUE
    656 XEXT_LIBS
    657 XEXT_CFLAGS
    658 XORG_LIBS
    659 XORG_CFLAGS
    660 LT_SYS_LIBRARY_PATH
    661 OTOOL64
    662 OTOOL
    663 LIPO
    664 NMEDIT
    665 DSYMUTIL
    666 MANIFEST_TOOL
    667 RANLIB
    668 ac_ct_AR
    669 AR
    670 DLLTOOL
    671 OBJDUMP
    672 LN_S
    673 NM
    674 ac_ct_DUMPBIN
    675 DUMPBIN
    676 LD
    677 FGREP
    678 LIBTOOL
    679 MAN_SUBSTS
    680 XORG_MAN_PAGE
    681 ADMIN_MAN_DIR
    682 DRIVER_MAN_DIR
    683 MISC_MAN_DIR
    684 FILE_MAN_DIR
    685 LIB_MAN_DIR
    686 APP_MAN_DIR
    687 ADMIN_MAN_SUFFIX
    688 DRIVER_MAN_SUFFIX
    689 MISC_MAN_SUFFIX
    690 FILE_MAN_SUFFIX
    691 LIB_MAN_SUFFIX
    692 APP_MAN_SUFFIX
    693 SED
    694 host_os
    695 host_vendor
    696 host_cpu
    697 host
    698 build_os
    699 build_vendor
    700 build_cpu
    701 build
    702 INSTALL_CMD
    703 PKG_CONFIG_LIBDIR
    704 PKG_CONFIG_PATH
    705 PKG_CONFIG
    706 CHANGELOG_CMD
    707 STRICT_CFLAGS
    708 CWARNFLAGS
    709 BASE_CFLAGS
    710 EGREP
    711 GREP
    712 CPP
    713 am__fastdepCC_FALSE
    714 am__fastdepCC_TRUE
    715 CCDEPMODE
    716 am__nodep
    717 AMDEPBACKSLASH
    718 AMDEP_FALSE
    719 AMDEP_TRUE
    720 am__quote
    721 am__include
    722 DEPDIR
    723 OBJEXT
    724 EXEEXT
    725 ac_ct_CC
    726 CPPFLAGS
    727 LDFLAGS
    728 CFLAGS
    729 CC
    730 AM_BACKSLASH
    731 AM_DEFAULT_VERBOSITY
    732 AM_DEFAULT_V
    733 AM_V
    734 am__untar
    735 am__tar
    736 AMTAR
    737 am__leading_dot
    738 SET_MAKE
    739 AWK
    740 mkdir_p
    741 MKDIR_P
    742 INSTALL_STRIP_PROGRAM
    743 STRIP
    744 install_sh
    745 MAKEINFO
    746 AUTOHEADER
    747 AUTOMAKE
    748 AUTOCONF
    749 ACLOCAL
    750 VERSION
    751 PACKAGE
    752 CYGPATH_W
    753 am__isrc
    754 INSTALL_DATA
    755 INSTALL_SCRIPT
    756 INSTALL_PROGRAM
    757 target_alias
    758 host_alias
    759 build_alias
    760 LIBS
    761 ECHO_T
    762 ECHO_N
    763 ECHO_C
    764 DEFS
    765 mandir
    766 localedir
    767 libdir
    768 psdir
    769 pdfdir
    770 dvidir
    771 htmldir
    772 infodir
    773 docdir
    774 oldincludedir
    775 includedir
    776 runstatedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL'
    796 ac_subst_files=''
    797 ac_user_opts='
    798 enable_option_checking
    799 enable_silent_rules
    800 enable_dependency_tracking
    801 enable_selective_werror
    802 enable_strict_compilation
    803 enable_static
    804 enable_shared
    805 with_pic
    806 enable_fast_install
    807 with_aix_soname
    808 with_gnu_ld
    809 with_sysroot
    810 enable_libtool_lock
    811 with_xorg_module_dir
    812 enable_dri
    813 enable_exa
    814 enable_xaa
    815 '
    816       ac_precious_vars='build_alias
    817 host_alias
    818 target_alias
    819 CC
    820 CFLAGS
    821 LDFLAGS
    822 LIBS
    823 CPPFLAGS
    824 CPP
    825 PKG_CONFIG
    826 PKG_CONFIG_PATH
    827 PKG_CONFIG_LIBDIR
    828 LT_SYS_LIBRARY_PATH
    829 XORG_CFLAGS
    830 XORG_LIBS
    831 XEXT_CFLAGS
    832 XEXT_LIBS
    833 DRI_CFLAGS
    834 DRI_LIBS
    835 PCIACCESS_CFLAGS
    836 PCIACCESS_LIBS'
    837 
    838 
    839 # Initialize some variables set by options.
    840 ac_init_help=
    841 ac_init_version=false
    842 ac_unrecognized_opts=
    843 ac_unrecognized_sep=
    844 # The variables have the same names as the options, with
    845 # dashes changed to underlines.
    846 cache_file=/dev/null
    847 exec_prefix=NONE
    848 no_create=
    849 no_recursion=
    850 prefix=NONE
    851 program_prefix=NONE
    852 program_suffix=NONE
    853 program_transform_name=s,x,x,
    854 silent=
    855 site=
    856 srcdir=
    857 verbose=
    858 x_includes=NONE
    859 x_libraries=NONE
    860 
    861 # Installation directory options.
    862 # These are left unexpanded so users can "make install exec_prefix=/foo"
    863 # and all the variables that are supposed to be based on exec_prefix
    864 # by default will actually change.
    865 # Use braces instead of parens because sh, perl, etc. also accept them.
    866 # (The list follows the same order as the GNU Coding Standards.)
    867 bindir='${exec_prefix}/bin'
    868 sbindir='${exec_prefix}/sbin'
    869 libexecdir='${exec_prefix}/libexec'
    870 datarootdir='${prefix}/share'
    871 datadir='${datarootdir}'
    872 sysconfdir='${prefix}/etc'
    873 sharedstatedir='${prefix}/com'
    874 localstatedir='${prefix}/var'
    875 runstatedir='${localstatedir}/run'
    876 includedir='${prefix}/include'
    877 oldincludedir='/usr/include'
    878 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    879 infodir='${datarootdir}/info'
    880 htmldir='${docdir}'
    881 dvidir='${docdir}'
    882 pdfdir='${docdir}'
    883 psdir='${docdir}'
    884 libdir='${exec_prefix}/lib'
    885 localedir='${datarootdir}/locale'
    886 mandir='${datarootdir}/man'
    887 
    888 ac_prev=
    889 ac_dashdash=
    890 for ac_option
    891 do
    892   # If the previous option needs an argument, assign it.
    893   if test -n "$ac_prev"; then
    894     eval $ac_prev=\$ac_option
    895     ac_prev=
    896     continue
    897   fi
    898 
    899   case $ac_option in
    900   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    901   *=)   ac_optarg= ;;
    902   *)    ac_optarg=yes ;;
    903   esac
    904 
    905   # Accept the important Cygnus configure options, so we can diagnose typos.
    906 
    907   case $ac_dashdash$ac_option in
    908   --)
    909     ac_dashdash=yes ;;
    910 
    911   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    912     ac_prev=bindir ;;
    913   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    914     bindir=$ac_optarg ;;
    915 
    916   -build | --build | --buil | --bui | --bu)
    917     ac_prev=build_alias ;;
    918   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    919     build_alias=$ac_optarg ;;
    920 
    921   -cache-file | --cache-file | --cache-fil | --cache-fi \
    922   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    923     ac_prev=cache_file ;;
    924   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    925   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    926     cache_file=$ac_optarg ;;
    927 
    928   --config-cache | -C)
    929     cache_file=config.cache ;;
    930 
    931   -datadir | --datadir | --datadi | --datad)
    932     ac_prev=datadir ;;
    933   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    934     datadir=$ac_optarg ;;
    935 
    936   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    937   | --dataroo | --dataro | --datar)
    938     ac_prev=datarootdir ;;
    939   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    940   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    941     datarootdir=$ac_optarg ;;
    942 
    943   -disable-* | --disable-*)
    944     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    945     # Reject names that are not valid shell variable names.
    946     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    947       as_fn_error $? "invalid feature name: $ac_useropt"
    948     ac_useropt_orig=$ac_useropt
    949     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    950     case $ac_user_opts in
    951       *"
    952 "enable_$ac_useropt"
    953 "*) ;;
    954       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    955 	 ac_unrecognized_sep=', ';;
    956     esac
    957     eval enable_$ac_useropt=no ;;
    958 
    959   -docdir | --docdir | --docdi | --doc | --do)
    960     ac_prev=docdir ;;
    961   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    962     docdir=$ac_optarg ;;
    963 
    964   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    965     ac_prev=dvidir ;;
    966   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    967     dvidir=$ac_optarg ;;
    968 
    969   -enable-* | --enable-*)
    970     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    971     # Reject names that are not valid shell variable names.
    972     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    973       as_fn_error $? "invalid feature name: $ac_useropt"
    974     ac_useropt_orig=$ac_useropt
    975     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    976     case $ac_user_opts in
    977       *"
    978 "enable_$ac_useropt"
    979 "*) ;;
    980       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    981 	 ac_unrecognized_sep=', ';;
    982     esac
    983     eval enable_$ac_useropt=\$ac_optarg ;;
    984 
    985   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    986   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    987   | --exec | --exe | --ex)
    988     ac_prev=exec_prefix ;;
    989   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    990   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    991   | --exec=* | --exe=* | --ex=*)
    992     exec_prefix=$ac_optarg ;;
    993 
    994   -gas | --gas | --ga | --g)
    995     # Obsolete; use --with-gas.
    996     with_gas=yes ;;
    997 
    998   -help | --help | --hel | --he | -h)
    999     ac_init_help=long ;;
   1000   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1001     ac_init_help=recursive ;;
   1002   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1003     ac_init_help=short ;;
   1004 
   1005   -host | --host | --hos | --ho)
   1006     ac_prev=host_alias ;;
   1007   -host=* | --host=* | --hos=* | --ho=*)
   1008     host_alias=$ac_optarg ;;
   1009 
   1010   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1011     ac_prev=htmldir ;;
   1012   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1013   | --ht=*)
   1014     htmldir=$ac_optarg ;;
   1015 
   1016   -includedir | --includedir | --includedi | --included | --include \
   1017   | --includ | --inclu | --incl | --inc)
   1018     ac_prev=includedir ;;
   1019   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1020   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1021     includedir=$ac_optarg ;;
   1022 
   1023   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1024     ac_prev=infodir ;;
   1025   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1026     infodir=$ac_optarg ;;
   1027 
   1028   -libdir | --libdir | --libdi | --libd)
   1029     ac_prev=libdir ;;
   1030   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1031     libdir=$ac_optarg ;;
   1032 
   1033   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1034   | --libexe | --libex | --libe)
   1035     ac_prev=libexecdir ;;
   1036   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1037   | --libexe=* | --libex=* | --libe=*)
   1038     libexecdir=$ac_optarg ;;
   1039 
   1040   -localedir | --localedir | --localedi | --localed | --locale)
   1041     ac_prev=localedir ;;
   1042   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1043     localedir=$ac_optarg ;;
   1044 
   1045   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1046   | --localstate | --localstat | --localsta | --localst | --locals)
   1047     ac_prev=localstatedir ;;
   1048   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1049   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1050     localstatedir=$ac_optarg ;;
   1051 
   1052   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1053     ac_prev=mandir ;;
   1054   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1055     mandir=$ac_optarg ;;
   1056 
   1057   -nfp | --nfp | --nf)
   1058     # Obsolete; use --without-fp.
   1059     with_fp=no ;;
   1060 
   1061   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1062   | --no-cr | --no-c | -n)
   1063     no_create=yes ;;
   1064 
   1065   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1066   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1067     no_recursion=yes ;;
   1068 
   1069   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1070   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1071   | --oldin | --oldi | --old | --ol | --o)
   1072     ac_prev=oldincludedir ;;
   1073   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1074   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1075   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1076     oldincludedir=$ac_optarg ;;
   1077 
   1078   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1079     ac_prev=prefix ;;
   1080   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1081     prefix=$ac_optarg ;;
   1082 
   1083   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1084   | --program-pre | --program-pr | --program-p)
   1085     ac_prev=program_prefix ;;
   1086   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1087   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1088     program_prefix=$ac_optarg ;;
   1089 
   1090   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1091   | --program-suf | --program-su | --program-s)
   1092     ac_prev=program_suffix ;;
   1093   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1094   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1095     program_suffix=$ac_optarg ;;
   1096 
   1097   -program-transform-name | --program-transform-name \
   1098   | --program-transform-nam | --program-transform-na \
   1099   | --program-transform-n | --program-transform- \
   1100   | --program-transform | --program-transfor \
   1101   | --program-transfo | --program-transf \
   1102   | --program-trans | --program-tran \
   1103   | --progr-tra | --program-tr | --program-t)
   1104     ac_prev=program_transform_name ;;
   1105   -program-transform-name=* | --program-transform-name=* \
   1106   | --program-transform-nam=* | --program-transform-na=* \
   1107   | --program-transform-n=* | --program-transform-=* \
   1108   | --program-transform=* | --program-transfor=* \
   1109   | --program-transfo=* | --program-transf=* \
   1110   | --program-trans=* | --program-tran=* \
   1111   | --progr-tra=* | --program-tr=* | --program-t=*)
   1112     program_transform_name=$ac_optarg ;;
   1113 
   1114   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1115     ac_prev=pdfdir ;;
   1116   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1117     pdfdir=$ac_optarg ;;
   1118 
   1119   -psdir | --psdir | --psdi | --psd | --ps)
   1120     ac_prev=psdir ;;
   1121   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1122     psdir=$ac_optarg ;;
   1123 
   1124   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1125   | -silent | --silent | --silen | --sile | --sil)
   1126     silent=yes ;;
   1127 
   1128   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1129   | --runstate | --runstat | --runsta | --runst | --runs \
   1130   | --run | --ru | --r)
   1131     ac_prev=runstatedir ;;
   1132   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1133   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1134   | --run=* | --ru=* | --r=*)
   1135     runstatedir=$ac_optarg ;;
   1136 
   1137   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1138     ac_prev=sbindir ;;
   1139   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1140   | --sbi=* | --sb=*)
   1141     sbindir=$ac_optarg ;;
   1142 
   1143   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1144   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1145   | --sharedst | --shareds | --shared | --share | --shar \
   1146   | --sha | --sh)
   1147     ac_prev=sharedstatedir ;;
   1148   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1149   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1150   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1151   | --sha=* | --sh=*)
   1152     sharedstatedir=$ac_optarg ;;
   1153 
   1154   -site | --site | --sit)
   1155     ac_prev=site ;;
   1156   -site=* | --site=* | --sit=*)
   1157     site=$ac_optarg ;;
   1158 
   1159   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1160     ac_prev=srcdir ;;
   1161   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1162     srcdir=$ac_optarg ;;
   1163 
   1164   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1165   | --syscon | --sysco | --sysc | --sys | --sy)
   1166     ac_prev=sysconfdir ;;
   1167   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1168   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1169     sysconfdir=$ac_optarg ;;
   1170 
   1171   -target | --target | --targe | --targ | --tar | --ta | --t)
   1172     ac_prev=target_alias ;;
   1173   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1174     target_alias=$ac_optarg ;;
   1175 
   1176   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1177     verbose=yes ;;
   1178 
   1179   -version | --version | --versio | --versi | --vers | -V)
   1180     ac_init_version=: ;;
   1181 
   1182   -with-* | --with-*)
   1183     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1184     # Reject names that are not valid shell variable names.
   1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1186       as_fn_error $? "invalid package name: $ac_useropt"
   1187     ac_useropt_orig=$ac_useropt
   1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1189     case $ac_user_opts in
   1190       *"
   1191 "with_$ac_useropt"
   1192 "*) ;;
   1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1194 	 ac_unrecognized_sep=', ';;
   1195     esac
   1196     eval with_$ac_useropt=\$ac_optarg ;;
   1197 
   1198   -without-* | --without-*)
   1199     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1200     # Reject names that are not valid shell variable names.
   1201     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1202       as_fn_error $? "invalid package name: $ac_useropt"
   1203     ac_useropt_orig=$ac_useropt
   1204     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1205     case $ac_user_opts in
   1206       *"
   1207 "with_$ac_useropt"
   1208 "*) ;;
   1209       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1210 	 ac_unrecognized_sep=', ';;
   1211     esac
   1212     eval with_$ac_useropt=no ;;
   1213 
   1214   --x)
   1215     # Obsolete; use --with-x.
   1216     with_x=yes ;;
   1217 
   1218   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1219   | --x-incl | --x-inc | --x-in | --x-i)
   1220     ac_prev=x_includes ;;
   1221   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1222   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1223     x_includes=$ac_optarg ;;
   1224 
   1225   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1226   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1227     ac_prev=x_libraries ;;
   1228   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1229   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1230     x_libraries=$ac_optarg ;;
   1231 
   1232   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1233 Try \`$0 --help' for more information"
   1234     ;;
   1235 
   1236   *=*)
   1237     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1238     # Reject names that are not valid shell variable names.
   1239     case $ac_envvar in #(
   1240       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1241       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1242     esac
   1243     eval $ac_envvar=\$ac_optarg
   1244     export $ac_envvar ;;
   1245 
   1246   *)
   1247     # FIXME: should be removed in autoconf 3.0.
   1248     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1249     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1250       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1251     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1252     ;;
   1253 
   1254   esac
   1255 done
   1256 
   1257 if test -n "$ac_prev"; then
   1258   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1259   as_fn_error $? "missing argument to $ac_option"
   1260 fi
   1261 
   1262 if test -n "$ac_unrecognized_opts"; then
   1263   case $enable_option_checking in
   1264     no) ;;
   1265     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1266     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1267   esac
   1268 fi
   1269 
   1270 # Check all directory arguments for consistency.
   1271 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1272 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1273 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1274 		libdir localedir mandir runstatedir
   1275 do
   1276   eval ac_val=\$$ac_var
   1277   # Remove trailing slashes.
   1278   case $ac_val in
   1279     */ )
   1280       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1281       eval $ac_var=\$ac_val;;
   1282   esac
   1283   # Be sure to have absolute directory names.
   1284   case $ac_val in
   1285     [\\/$]* | ?:[\\/]* )  continue;;
   1286     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1287   esac
   1288   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1289 done
   1290 
   1291 # There might be people who depend on the old broken behavior: `$host'
   1292 # used to hold the argument of --host etc.
   1293 # FIXME: To remove some day.
   1294 build=$build_alias
   1295 host=$host_alias
   1296 target=$target_alias
   1297 
   1298 # FIXME: To remove some day.
   1299 if test "x$host_alias" != x; then
   1300   if test "x$build_alias" = x; then
   1301     cross_compiling=maybe
   1302   elif test "x$build_alias" != "x$host_alias"; then
   1303     cross_compiling=yes
   1304   fi
   1305 fi
   1306 
   1307 ac_tool_prefix=
   1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1309 
   1310 test "$silent" = yes && exec 6>/dev/null
   1311 
   1312 
   1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1314 ac_ls_di=`ls -di .` &&
   1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1316   as_fn_error $? "working directory cannot be determined"
   1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1318   as_fn_error $? "pwd does not report name of working directory"
   1319 
   1320 
   1321 # Find the source files, if location was not specified.
   1322 if test -z "$srcdir"; then
   1323   ac_srcdir_defaulted=yes
   1324   # Try the directory containing this script, then the parent directory.
   1325   ac_confdir=`$as_dirname -- "$as_myself" ||
   1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1327 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1328 	 X"$as_myself" : 'X\(//\)$' \| \
   1329 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1330 $as_echo X"$as_myself" |
   1331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  /^X\(\/\/\)[^/].*/{
   1336 	    s//\1/
   1337 	    q
   1338 	  }
   1339 	  /^X\(\/\/\)$/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  /^X\(\/\).*/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  s/.*/./; q'`
   1348   srcdir=$ac_confdir
   1349   if test ! -r "$srcdir/$ac_unique_file"; then
   1350     srcdir=..
   1351   fi
   1352 else
   1353   ac_srcdir_defaulted=no
   1354 fi
   1355 if test ! -r "$srcdir/$ac_unique_file"; then
   1356   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1357   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1358 fi
   1359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1360 ac_abs_confdir=`(
   1361 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1362 	pwd)`
   1363 # When building in place, set srcdir=.
   1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1365   srcdir=.
   1366 fi
   1367 # Remove unnecessary trailing slashes from srcdir.
   1368 # Double slashes in file names in object file debugging info
   1369 # mess up M-x gdb in Emacs.
   1370 case $srcdir in
   1371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1372 esac
   1373 for ac_var in $ac_precious_vars; do
   1374   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1375   eval ac_env_${ac_var}_value=\$${ac_var}
   1376   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1377   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1378 done
   1379 
   1380 #
   1381 # Report the --help message.
   1382 #
   1383 if test "$ac_init_help" = "long"; then
   1384   # Omit some internal or obsolete options to make the list less imposing.
   1385   # This message is too long to be a string in the A/UX 3.1 sh.
   1386   cat <<_ACEOF
   1387 \`configure' configures xf86-video-r128 6.12.0 to adapt to many kinds of systems.
   1388 
   1389 Usage: $0 [OPTION]... [VAR=VALUE]...
   1390 
   1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1392 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1393 
   1394 Defaults for the options are specified in brackets.
   1395 
   1396 Configuration:
   1397   -h, --help              display this help and exit
   1398       --help=short        display options specific to this package
   1399       --help=recursive    display the short help of all the included packages
   1400   -V, --version           display version information and exit
   1401   -q, --quiet, --silent   do not print \`checking ...' messages
   1402       --cache-file=FILE   cache test results in FILE [disabled]
   1403   -C, --config-cache      alias for \`--cache-file=config.cache'
   1404   -n, --no-create         do not create output files
   1405       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1406 
   1407 Installation directories:
   1408   --prefix=PREFIX         install architecture-independent files in PREFIX
   1409                           [$ac_default_prefix]
   1410   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1411                           [PREFIX]
   1412 
   1413 By default, \`make install' will install all the files in
   1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1416 for instance \`--prefix=\$HOME'.
   1417 
   1418 For better control, use the options below.
   1419 
   1420 Fine tuning of the installation directories:
   1421   --bindir=DIR            user executables [EPREFIX/bin]
   1422   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1423   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1424   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1425   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1426   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1427   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1428   --libdir=DIR            object code libraries [EPREFIX/lib]
   1429   --includedir=DIR        C header files [PREFIX/include]
   1430   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1431   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1432   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1433   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1434   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1435   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1436   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-r128]
   1437   --htmldir=DIR           html documentation [DOCDIR]
   1438   --dvidir=DIR            dvi documentation [DOCDIR]
   1439   --pdfdir=DIR            pdf documentation [DOCDIR]
   1440   --psdir=DIR             ps documentation [DOCDIR]
   1441 _ACEOF
   1442 
   1443   cat <<\_ACEOF
   1444 
   1445 Program names:
   1446   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1447   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1448   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1449 
   1450 System types:
   1451   --build=BUILD     configure for building on BUILD [guessed]
   1452   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1453 _ACEOF
   1454 fi
   1455 
   1456 if test -n "$ac_init_help"; then
   1457   case $ac_init_help in
   1458      short | recursive ) echo "Configuration of xf86-video-r128 6.12.0:";;
   1459    esac
   1460   cat <<\_ACEOF
   1461 
   1462 Optional Features:
   1463   --disable-option-checking  ignore unrecognized --enable/--with options
   1464   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1465   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1466   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1467   --disable-silent-rules  verbose build output (undo: "make V=0")
   1468   --enable-dependency-tracking
   1469                           do not reject slow dependency extractors
   1470   --disable-dependency-tracking
   1471                           speeds up one-time build
   1472   --disable-selective-werror
   1473                           Turn off selective compiler errors. (default:
   1474                           enabled)
   1475   --enable-strict-compilation
   1476                           Enable all warnings from compiler and make them
   1477                           errors (default: disabled)
   1478   --enable-static[=PKGS]  build static libraries [default=no]
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --disable-libtool-lock  avoid locking (might break parallel builds)
   1483   --disable-dri           Disable DRI support [[default=auto]]
   1484   --disable-exa           Disable EXA support [[default=enabled]]
   1485   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1486                           [default=auto]
   1487 
   1488 Optional Packages:
   1489   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1490   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1491   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1492                           both]
   1493   --with-aix-soname=aix|svr4|both
   1494                           shared library versioning (aka "SONAME") variant to
   1495                           provide on AIX, [default=aix].
   1496   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1497   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1498                           compiler's sysroot if not specified).
   1499   --with-xorg-module-dir=DIR
   1500                           Default xorg module directory
   1501                           [[default=$libdir/xorg/modules]]
   1502 
   1503 Some influential environment variables:
   1504   CC          C compiler command
   1505   CFLAGS      C compiler flags
   1506   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1507               nonstandard directory <lib dir>
   1508   LIBS        libraries to pass to the linker, e.g. -l<library>
   1509   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1510               you have headers in a nonstandard directory <include dir>
   1511   CPP         C preprocessor
   1512   PKG_CONFIG  path to pkg-config utility
   1513   PKG_CONFIG_PATH
   1514               directories to add to pkg-config's search path
   1515   PKG_CONFIG_LIBDIR
   1516               path overriding pkg-config's built-in search path
   1517   LT_SYS_LIBRARY_PATH
   1518               User-defined run-time library search path.
   1519   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1520   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1521   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1522   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1523   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1524   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1525   PCIACCESS_CFLAGS
   1526               C compiler flags for PCIACCESS, overriding pkg-config
   1527   PCIACCESS_LIBS
   1528               linker flags for PCIACCESS, overriding pkg-config
   1529 
   1530 Use these variables to override the choices made by `configure' or to help
   1531 it to find libraries and programs with nonstandard names/locations.
   1532 
   1533 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1534 _ACEOF
   1535 ac_status=$?
   1536 fi
   1537 
   1538 if test "$ac_init_help" = "recursive"; then
   1539   # If there are subdirs, report their specific --help.
   1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1541     test -d "$ac_dir" ||
   1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1543       continue
   1544     ac_builddir=.
   1545 
   1546 case "$ac_dir" in
   1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1548 *)
   1549   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1550   # A ".." for each directory in $ac_dir_suffix.
   1551   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1552   case $ac_top_builddir_sub in
   1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1555   esac ;;
   1556 esac
   1557 ac_abs_top_builddir=$ac_pwd
   1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1559 # for backward compatibility:
   1560 ac_top_builddir=$ac_top_build_prefix
   1561 
   1562 case $srcdir in
   1563   .)  # We are building in place.
   1564     ac_srcdir=.
   1565     ac_top_srcdir=$ac_top_builddir_sub
   1566     ac_abs_top_srcdir=$ac_pwd ;;
   1567   [\\/]* | ?:[\\/]* )  # Absolute name.
   1568     ac_srcdir=$srcdir$ac_dir_suffix;
   1569     ac_top_srcdir=$srcdir
   1570     ac_abs_top_srcdir=$srcdir ;;
   1571   *) # Relative name.
   1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1575 esac
   1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1577 
   1578     cd "$ac_dir" || { ac_status=$?; continue; }
   1579     # Check for guested configure.
   1580     if test -f "$ac_srcdir/configure.gnu"; then
   1581       echo &&
   1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1583     elif test -f "$ac_srcdir/configure"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure" --help=recursive
   1586     else
   1587       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1588     fi || ac_status=$?
   1589     cd "$ac_pwd" || { ac_status=$?; break; }
   1590   done
   1591 fi
   1592 
   1593 test -n "$ac_init_help" && exit $ac_status
   1594 if $ac_init_version; then
   1595   cat <<\_ACEOF
   1596 xf86-video-r128 configure 6.12.0
   1597 generated by GNU Autoconf 2.69
   1598 
   1599 Copyright (C) 2012 Free Software Foundation, Inc.
   1600 This configure script is free software; the Free Software Foundation
   1601 gives unlimited permission to copy, distribute and modify it.
   1602 _ACEOF
   1603   exit
   1604 fi
   1605 
   1606 ## ------------------------ ##
   1607 ## Autoconf initialization. ##
   1608 ## ------------------------ ##
   1609 
   1610 # ac_fn_c_try_compile LINENO
   1611 # --------------------------
   1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1613 ac_fn_c_try_compile ()
   1614 {
   1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1616   rm -f conftest.$ac_objext
   1617   if { { ac_try="$ac_compile"
   1618 case "(($ac_try" in
   1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1620   *) ac_try_echo=$ac_try;;
   1621 esac
   1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1623 $as_echo "$ac_try_echo"; } >&5
   1624   (eval "$ac_compile") 2>conftest.err
   1625   ac_status=$?
   1626   if test -s conftest.err; then
   1627     grep -v '^ *+' conftest.err >conftest.er1
   1628     cat conftest.er1 >&5
   1629     mv -f conftest.er1 conftest.err
   1630   fi
   1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1632   test $ac_status = 0; } && {
   1633 	 test -z "$ac_c_werror_flag" ||
   1634 	 test ! -s conftest.err
   1635        } && test -s conftest.$ac_objext; then :
   1636   ac_retval=0
   1637 else
   1638   $as_echo "$as_me: failed program was:" >&5
   1639 sed 's/^/| /' conftest.$ac_ext >&5
   1640 
   1641 	ac_retval=1
   1642 fi
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644   as_fn_set_status $ac_retval
   1645 
   1646 } # ac_fn_c_try_compile
   1647 
   1648 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1649 # ---------------------------------------------
   1650 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1651 # accordingly.
   1652 ac_fn_c_check_decl ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1656   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1658 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1659 if eval \${$3+:} false; then :
   1660   $as_echo_n "(cached) " >&6
   1661 else
   1662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1663 /* end confdefs.h.  */
   1664 $4
   1665 int
   1666 main ()
   1667 {
   1668 #ifndef $as_decl_name
   1669 #ifdef __cplusplus
   1670   (void) $as_decl_use;
   1671 #else
   1672   (void) $as_decl_name;
   1673 #endif
   1674 #endif
   1675 
   1676   ;
   1677   return 0;
   1678 }
   1679 _ACEOF
   1680 if ac_fn_c_try_compile "$LINENO"; then :
   1681   eval "$3=yes"
   1682 else
   1683   eval "$3=no"
   1684 fi
   1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1686 fi
   1687 eval ac_res=\$$3
   1688 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1689 $as_echo "$ac_res" >&6; }
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691 
   1692 } # ac_fn_c_check_decl
   1693 
   1694 # ac_fn_c_try_cpp LINENO
   1695 # ----------------------
   1696 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1697 ac_fn_c_try_cpp ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1701 case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1708   ac_status=$?
   1709   if test -s conftest.err; then
   1710     grep -v '^ *+' conftest.err >conftest.er1
   1711     cat conftest.er1 >&5
   1712     mv -f conftest.er1 conftest.err
   1713   fi
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; } > conftest.i && {
   1716 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1717 	 test ! -s conftest.err
   1718        }; then :
   1719   ac_retval=0
   1720 else
   1721   $as_echo "$as_me: failed program was:" >&5
   1722 sed 's/^/| /' conftest.$ac_ext >&5
   1723 
   1724     ac_retval=1
   1725 fi
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_cpp
   1730 
   1731 # ac_fn_c_try_run LINENO
   1732 # ----------------------
   1733 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1734 # that executables *can* be run.
   1735 ac_fn_c_try_run ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   if { { ac_try="$ac_link"
   1739 case "(($ac_try" in
   1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1741   *) ac_try_echo=$ac_try;;
   1742 esac
   1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1744 $as_echo "$ac_try_echo"; } >&5
   1745   (eval "$ac_link") 2>&5
   1746   ac_status=$?
   1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1749   { { case "(($ac_try" in
   1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1751   *) ac_try_echo=$ac_try;;
   1752 esac
   1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1754 $as_echo "$ac_try_echo"; } >&5
   1755   (eval "$ac_try") 2>&5
   1756   ac_status=$?
   1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1758   test $ac_status = 0; }; }; then :
   1759   ac_retval=0
   1760 else
   1761   $as_echo "$as_me: program exited with status $ac_status" >&5
   1762        $as_echo "$as_me: failed program was:" >&5
   1763 sed 's/^/| /' conftest.$ac_ext >&5
   1764 
   1765        ac_retval=$ac_status
   1766 fi
   1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1769   as_fn_set_status $ac_retval
   1770 
   1771 } # ac_fn_c_try_run
   1772 
   1773 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1774 # -------------------------------------------------------
   1775 # Tests whether HEADER exists and can be compiled using the include files in
   1776 # INCLUDES, setting the cache variable VAR accordingly.
   1777 ac_fn_c_check_header_compile ()
   1778 {
   1779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1781 $as_echo_n "checking for $2... " >&6; }
   1782 if eval \${$3+:} false; then :
   1783   $as_echo_n "(cached) " >&6
   1784 else
   1785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1786 /* end confdefs.h.  */
   1787 $4
   1788 #include <$2>
   1789 _ACEOF
   1790 if ac_fn_c_try_compile "$LINENO"; then :
   1791   eval "$3=yes"
   1792 else
   1793   eval "$3=no"
   1794 fi
   1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1796 fi
   1797 eval ac_res=\$$3
   1798 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1799 $as_echo "$ac_res" >&6; }
   1800   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1801 
   1802 } # ac_fn_c_check_header_compile
   1803 
   1804 # ac_fn_c_try_link LINENO
   1805 # -----------------------
   1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1807 ac_fn_c_try_link ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   rm -f conftest.$ac_objext conftest$ac_exeext
   1811   if { { ac_try="$ac_link"
   1812 case "(($ac_try" in
   1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1814   *) ac_try_echo=$ac_try;;
   1815 esac
   1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1817 $as_echo "$ac_try_echo"; } >&5
   1818   (eval "$ac_link") 2>conftest.err
   1819   ac_status=$?
   1820   if test -s conftest.err; then
   1821     grep -v '^ *+' conftest.err >conftest.er1
   1822     cat conftest.er1 >&5
   1823     mv -f conftest.er1 conftest.err
   1824   fi
   1825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1826   test $ac_status = 0; } && {
   1827 	 test -z "$ac_c_werror_flag" ||
   1828 	 test ! -s conftest.err
   1829        } && test -s conftest$ac_exeext && {
   1830 	 test "$cross_compiling" = yes ||
   1831 	 test -x conftest$ac_exeext
   1832        }; then :
   1833   ac_retval=0
   1834 else
   1835   $as_echo "$as_me: failed program was:" >&5
   1836 sed 's/^/| /' conftest.$ac_ext >&5
   1837 
   1838 	ac_retval=1
   1839 fi
   1840   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1841   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1842   # interfere with the next link command; also delete a directory that is
   1843   # left behind by Apple's compiler.  We do this before executing the actions.
   1844   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1845   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1846   as_fn_set_status $ac_retval
   1847 
   1848 } # ac_fn_c_try_link
   1849 
   1850 # ac_fn_c_check_func LINENO FUNC VAR
   1851 # ----------------------------------
   1852 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1853 ac_fn_c_check_func ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 $as_echo_n "checking for $2... " >&6; }
   1858 if eval \${$3+:} false; then :
   1859   $as_echo_n "(cached) " >&6
   1860 else
   1861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1862 /* end confdefs.h.  */
   1863 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1865 #define $2 innocuous_$2
   1866 
   1867 /* System header to define __stub macros and hopefully few prototypes,
   1868     which can conflict with char $2 (); below.
   1869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1870     <limits.h> exists even on freestanding compilers.  */
   1871 
   1872 #ifdef __STDC__
   1873 # include <limits.h>
   1874 #else
   1875 # include <assert.h>
   1876 #endif
   1877 
   1878 #undef $2
   1879 
   1880 /* Override any GCC internal prototype to avoid an error.
   1881    Use char because int might match the return type of a GCC
   1882    builtin and then its argument prototype would still apply.  */
   1883 #ifdef __cplusplus
   1884 extern "C"
   1885 #endif
   1886 char $2 ();
   1887 /* The GNU C library defines this for functions which it implements
   1888     to always fail with ENOSYS.  Some functions are actually named
   1889     something starting with __ and the normal name is an alias.  */
   1890 #if defined __stub_$2 || defined __stub___$2
   1891 choke me
   1892 #endif
   1893 
   1894 int
   1895 main ()
   1896 {
   1897 return $2 ();
   1898   ;
   1899   return 0;
   1900 }
   1901 _ACEOF
   1902 if ac_fn_c_try_link "$LINENO"; then :
   1903   eval "$3=yes"
   1904 else
   1905   eval "$3=no"
   1906 fi
   1907 rm -f core conftest.err conftest.$ac_objext \
   1908     conftest$ac_exeext conftest.$ac_ext
   1909 fi
   1910 eval ac_res=\$$3
   1911 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1912 $as_echo "$ac_res" >&6; }
   1913   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1914 
   1915 } # ac_fn_c_check_func
   1916 
   1917 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1918 # -------------------------------------------------------
   1919 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1920 # the include files in INCLUDES and setting the cache variable VAR
   1921 # accordingly.
   1922 ac_fn_c_check_header_mongrel ()
   1923 {
   1924   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1925   if eval \${$3+:} false; then :
   1926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1927 $as_echo_n "checking for $2... " >&6; }
   1928 if eval \${$3+:} false; then :
   1929   $as_echo_n "(cached) " >&6
   1930 fi
   1931 eval ac_res=\$$3
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934 else
   1935   # Is the header compilable?
   1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1937 $as_echo_n "checking $2 usability... " >&6; }
   1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1939 /* end confdefs.h.  */
   1940 $4
   1941 #include <$2>
   1942 _ACEOF
   1943 if ac_fn_c_try_compile "$LINENO"; then :
   1944   ac_header_compiler=yes
   1945 else
   1946   ac_header_compiler=no
   1947 fi
   1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1950 $as_echo "$ac_header_compiler" >&6; }
   1951 
   1952 # Is the header present?
   1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1954 $as_echo_n "checking $2 presence... " >&6; }
   1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1956 /* end confdefs.h.  */
   1957 #include <$2>
   1958 _ACEOF
   1959 if ac_fn_c_try_cpp "$LINENO"; then :
   1960   ac_header_preproc=yes
   1961 else
   1962   ac_header_preproc=no
   1963 fi
   1964 rm -f conftest.err conftest.i conftest.$ac_ext
   1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1966 $as_echo "$ac_header_preproc" >&6; }
   1967 
   1968 # So?  What about this header?
   1969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1970   yes:no: )
   1971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1972 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1974 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1975     ;;
   1976   no:yes:* )
   1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1978 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1980 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1982 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1983     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1984 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1985     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1986 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1987 ( $as_echo "## ---------------------------------------------------------------------- ##
   1988 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1989 ## ---------------------------------------------------------------------- ##"
   1990      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1991     ;;
   1992 esac
   1993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1994 $as_echo_n "checking for $2... " >&6; }
   1995 if eval \${$3+:} false; then :
   1996   $as_echo_n "(cached) " >&6
   1997 else
   1998   eval "$3=\$ac_header_compiler"
   1999 fi
   2000 eval ac_res=\$$3
   2001 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2002 $as_echo "$ac_res" >&6; }
   2003 fi
   2004   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2005 
   2006 } # ac_fn_c_check_header_mongrel
   2007 cat >config.log <<_ACEOF
   2008 This file contains any messages produced by compilers while
   2009 running configure, to aid debugging if configure makes a mistake.
   2010 
   2011 It was created by xf86-video-r128 $as_me 6.12.0, which was
   2012 generated by GNU Autoconf 2.69.  Invocation command line was
   2013 
   2014   $ $0 $@
   2015 
   2016 _ACEOF
   2017 exec 5>>config.log
   2018 {
   2019 cat <<_ASUNAME
   2020 ## --------- ##
   2021 ## Platform. ##
   2022 ## --------- ##
   2023 
   2024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2029 
   2030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2031 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2032 
   2033 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2034 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2036 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2037 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2038 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2039 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2040 
   2041 _ASUNAME
   2042 
   2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2044 for as_dir in $PATH
   2045 do
   2046   IFS=$as_save_IFS
   2047   test -z "$as_dir" && as_dir=.
   2048     $as_echo "PATH: $as_dir"
   2049   done
   2050 IFS=$as_save_IFS
   2051 
   2052 } >&5
   2053 
   2054 cat >&5 <<_ACEOF
   2055 
   2056 
   2057 ## ----------- ##
   2058 ## Core tests. ##
   2059 ## ----------- ##
   2060 
   2061 _ACEOF
   2062 
   2063 
   2064 # Keep a trace of the command line.
   2065 # Strip out --no-create and --no-recursion so they do not pile up.
   2066 # Strip out --silent because we don't want to record it for future runs.
   2067 # Also quote any args containing shell meta-characters.
   2068 # Make two passes to allow for proper duplicate-argument suppression.
   2069 ac_configure_args=
   2070 ac_configure_args0=
   2071 ac_configure_args1=
   2072 ac_must_keep_next=false
   2073 for ac_pass in 1 2
   2074 do
   2075   for ac_arg
   2076   do
   2077     case $ac_arg in
   2078     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2079     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2080     | -silent | --silent | --silen | --sile | --sil)
   2081       continue ;;
   2082     *\'*)
   2083       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2084     esac
   2085     case $ac_pass in
   2086     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2087     2)
   2088       as_fn_append ac_configure_args1 " '$ac_arg'"
   2089       if test $ac_must_keep_next = true; then
   2090 	ac_must_keep_next=false # Got value, back to normal.
   2091       else
   2092 	case $ac_arg in
   2093 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2094 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2095 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2096 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2097 	    case "$ac_configure_args0 " in
   2098 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2099 	    esac
   2100 	    ;;
   2101 	  -* ) ac_must_keep_next=true ;;
   2102 	esac
   2103       fi
   2104       as_fn_append ac_configure_args " '$ac_arg'"
   2105       ;;
   2106     esac
   2107   done
   2108 done
   2109 { ac_configure_args0=; unset ac_configure_args0;}
   2110 { ac_configure_args1=; unset ac_configure_args1;}
   2111 
   2112 # When interrupted or exit'd, cleanup temporary files, and complete
   2113 # config.log.  We remove comments because anyway the quotes in there
   2114 # would cause problems or look ugly.
   2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2117 trap 'exit_status=$?
   2118   # Save into config.log some information that might help in debugging.
   2119   {
   2120     echo
   2121 
   2122     $as_echo "## ---------------- ##
   2123 ## Cache variables. ##
   2124 ## ---------------- ##"
   2125     echo
   2126     # The following way of writing the cache mishandles newlines in values,
   2127 (
   2128   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2129     eval ac_val=\$$ac_var
   2130     case $ac_val in #(
   2131     *${as_nl}*)
   2132       case $ac_var in #(
   2133       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2135       esac
   2136       case $ac_var in #(
   2137       _ | IFS | as_nl) ;; #(
   2138       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2139       *) { eval $ac_var=; unset $ac_var;} ;;
   2140       esac ;;
   2141     esac
   2142   done
   2143   (set) 2>&1 |
   2144     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2145     *${as_nl}ac_space=\ *)
   2146       sed -n \
   2147 	"s/'\''/'\''\\\\'\'''\''/g;
   2148 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2149       ;; #(
   2150     *)
   2151       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2152       ;;
   2153     esac |
   2154     sort
   2155 )
   2156     echo
   2157 
   2158     $as_echo "## ----------------- ##
   2159 ## Output variables. ##
   2160 ## ----------------- ##"
   2161     echo
   2162     for ac_var in $ac_subst_vars
   2163     do
   2164       eval ac_val=\$$ac_var
   2165       case $ac_val in
   2166       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2167       esac
   2168       $as_echo "$ac_var='\''$ac_val'\''"
   2169     done | sort
   2170     echo
   2171 
   2172     if test -n "$ac_subst_files"; then
   2173       $as_echo "## ------------------- ##
   2174 ## File substitutions. ##
   2175 ## ------------------- ##"
   2176       echo
   2177       for ac_var in $ac_subst_files
   2178       do
   2179 	eval ac_val=\$$ac_var
   2180 	case $ac_val in
   2181 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2182 	esac
   2183 	$as_echo "$ac_var='\''$ac_val'\''"
   2184       done | sort
   2185       echo
   2186     fi
   2187 
   2188     if test -s confdefs.h; then
   2189       $as_echo "## ----------- ##
   2190 ## confdefs.h. ##
   2191 ## ----------- ##"
   2192       echo
   2193       cat confdefs.h
   2194       echo
   2195     fi
   2196     test "$ac_signal" != 0 &&
   2197       $as_echo "$as_me: caught signal $ac_signal"
   2198     $as_echo "$as_me: exit $exit_status"
   2199   } >&5
   2200   rm -f core *.core core.conftest.* &&
   2201     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2202     exit $exit_status
   2203 ' 0
   2204 for ac_signal in 1 2 13 15; do
   2205   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2206 done
   2207 ac_signal=0
   2208 
   2209 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2210 rm -f -r conftest* confdefs.h
   2211 
   2212 $as_echo "/* confdefs.h */" > confdefs.h
   2213 
   2214 # Predefined preprocessor variables.
   2215 
   2216 cat >>confdefs.h <<_ACEOF
   2217 #define PACKAGE_NAME "$PACKAGE_NAME"
   2218 _ACEOF
   2219 
   2220 cat >>confdefs.h <<_ACEOF
   2221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2222 _ACEOF
   2223 
   2224 cat >>confdefs.h <<_ACEOF
   2225 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2226 _ACEOF
   2227 
   2228 cat >>confdefs.h <<_ACEOF
   2229 #define PACKAGE_STRING "$PACKAGE_STRING"
   2230 _ACEOF
   2231 
   2232 cat >>confdefs.h <<_ACEOF
   2233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2234 _ACEOF
   2235 
   2236 cat >>confdefs.h <<_ACEOF
   2237 #define PACKAGE_URL "$PACKAGE_URL"
   2238 _ACEOF
   2239 
   2240 
   2241 # Let the site file select an alternate cache file if it wants to.
   2242 # Prefer an explicitly selected file to automatically selected ones.
   2243 ac_site_file1=NONE
   2244 ac_site_file2=NONE
   2245 if test -n "$CONFIG_SITE"; then
   2246   # We do not want a PATH search for config.site.
   2247   case $CONFIG_SITE in #((
   2248     -*)  ac_site_file1=./$CONFIG_SITE;;
   2249     */*) ac_site_file1=$CONFIG_SITE;;
   2250     *)   ac_site_file1=./$CONFIG_SITE;;
   2251   esac
   2252 elif test "x$prefix" != xNONE; then
   2253   ac_site_file1=$prefix/share/config.site
   2254   ac_site_file2=$prefix/etc/config.site
   2255 else
   2256   ac_site_file1=$ac_default_prefix/share/config.site
   2257   ac_site_file2=$ac_default_prefix/etc/config.site
   2258 fi
   2259 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2260 do
   2261   test "x$ac_site_file" = xNONE && continue
   2262   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2263     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2264 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2265     sed 's/^/| /' "$ac_site_file" >&5
   2266     . "$ac_site_file" \
   2267       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2269 as_fn_error $? "failed to load site script $ac_site_file
   2270 See \`config.log' for more details" "$LINENO" 5; }
   2271   fi
   2272 done
   2273 
   2274 if test -r "$cache_file"; then
   2275   # Some versions of bash will fail to source /dev/null (special files
   2276   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2277   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2278     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2279 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2280     case $cache_file in
   2281       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2282       *)                      . "./$cache_file";;
   2283     esac
   2284   fi
   2285 else
   2286   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2287 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2288   >$cache_file
   2289 fi
   2290 
   2291 # Check that the precious variables saved in the cache have kept the same
   2292 # value.
   2293 ac_cache_corrupted=false
   2294 for ac_var in $ac_precious_vars; do
   2295   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2296   eval ac_new_set=\$ac_env_${ac_var}_set
   2297   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2298   eval ac_new_val=\$ac_env_${ac_var}_value
   2299   case $ac_old_set,$ac_new_set in
   2300     set,)
   2301       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2302 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2303       ac_cache_corrupted=: ;;
   2304     ,set)
   2305       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2306 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2307       ac_cache_corrupted=: ;;
   2308     ,);;
   2309     *)
   2310       if test "x$ac_old_val" != "x$ac_new_val"; then
   2311 	# differences in whitespace do not lead to failure.
   2312 	ac_old_val_w=`echo x $ac_old_val`
   2313 	ac_new_val_w=`echo x $ac_new_val`
   2314 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2315 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2316 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2317 	  ac_cache_corrupted=:
   2318 	else
   2319 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2320 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2321 	  eval $ac_var=\$ac_old_val
   2322 	fi
   2323 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2324 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2325 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2326 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2327       fi;;
   2328   esac
   2329   # Pass precious variables to config.status.
   2330   if test "$ac_new_set" = set; then
   2331     case $ac_new_val in
   2332     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2333     *) ac_arg=$ac_var=$ac_new_val ;;
   2334     esac
   2335     case " $ac_configure_args " in
   2336       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2337       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2338     esac
   2339   fi
   2340 done
   2341 if $ac_cache_corrupted; then
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2344   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2345 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2346   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2347 fi
   2348 ## -------------------- ##
   2349 ## Main body of script. ##
   2350 ## -------------------- ##
   2351 
   2352 ac_ext=c
   2353 ac_cpp='$CPP $CPPFLAGS'
   2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2357 
   2358 
   2359 
   2360 ac_config_headers="$ac_config_headers config.h"
   2361 
   2362 ac_aux_dir=
   2363 for ac_dir in . "$srcdir"/.; do
   2364   if test -f "$ac_dir/install-sh"; then
   2365     ac_aux_dir=$ac_dir
   2366     ac_install_sh="$ac_aux_dir/install-sh -c"
   2367     break
   2368   elif test -f "$ac_dir/install.sh"; then
   2369     ac_aux_dir=$ac_dir
   2370     ac_install_sh="$ac_aux_dir/install.sh -c"
   2371     break
   2372   elif test -f "$ac_dir/shtool"; then
   2373     ac_aux_dir=$ac_dir
   2374     ac_install_sh="$ac_aux_dir/shtool install -c"
   2375     break
   2376   fi
   2377 done
   2378 if test -z "$ac_aux_dir"; then
   2379   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2380 fi
   2381 
   2382 # These three variables are undocumented and unsupported,
   2383 # and are intended to be withdrawn in a future Autoconf release.
   2384 # They can cause serious problems if a builder's source tree is in a directory
   2385 # whose full name contains unusual characters.
   2386 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2387 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2388 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2389 
   2390 
   2391 
   2392 # Initialize Automake
   2393 am__api_version='1.15'
   2394 
   2395 # Find a good install program.  We prefer a C program (faster),
   2396 # so one script is as good as another.  But avoid the broken or
   2397 # incompatible versions:
   2398 # SysV /etc/install, /usr/sbin/install
   2399 # SunOS /usr/etc/install
   2400 # IRIX /sbin/install
   2401 # AIX /bin/install
   2402 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2403 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2404 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2405 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2406 # OS/2's system install, which has a completely different semantic
   2407 # ./install, which can be erroneously created by make from ./install.sh.
   2408 # Reject install programs that cannot install multiple files.
   2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2410 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2411 if test -z "$INSTALL"; then
   2412 if ${ac_cv_path_install+:} false; then :
   2413   $as_echo_n "(cached) " >&6
   2414 else
   2415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2416 for as_dir in $PATH
   2417 do
   2418   IFS=$as_save_IFS
   2419   test -z "$as_dir" && as_dir=.
   2420     # Account for people who put trailing slashes in PATH elements.
   2421 case $as_dir/ in #((
   2422   ./ | .// | /[cC]/* | \
   2423   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2424   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2425   /usr/ucb/* ) ;;
   2426   *)
   2427     # OSF1 and SCO ODT 3.0 have their own names for install.
   2428     # Don't use installbsd from OSF since it installs stuff as root
   2429     # by default.
   2430     for ac_prog in ginstall scoinst install; do
   2431       for ac_exec_ext in '' $ac_executable_extensions; do
   2432 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2433 	  if test $ac_prog = install &&
   2434 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2435 	    # AIX install.  It has an incompatible calling convention.
   2436 	    :
   2437 	  elif test $ac_prog = install &&
   2438 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2439 	    # program-specific install script used by HP pwplus--don't use.
   2440 	    :
   2441 	  else
   2442 	    rm -rf conftest.one conftest.two conftest.dir
   2443 	    echo one > conftest.one
   2444 	    echo two > conftest.two
   2445 	    mkdir conftest.dir
   2446 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2447 	      test -s conftest.one && test -s conftest.two &&
   2448 	      test -s conftest.dir/conftest.one &&
   2449 	      test -s conftest.dir/conftest.two
   2450 	    then
   2451 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2452 	      break 3
   2453 	    fi
   2454 	  fi
   2455 	fi
   2456       done
   2457     done
   2458     ;;
   2459 esac
   2460 
   2461   done
   2462 IFS=$as_save_IFS
   2463 
   2464 rm -rf conftest.one conftest.two conftest.dir
   2465 
   2466 fi
   2467   if test "${ac_cv_path_install+set}" = set; then
   2468     INSTALL=$ac_cv_path_install
   2469   else
   2470     # As a last resort, use the slow shell script.  Don't cache a
   2471     # value for INSTALL within a source directory, because that will
   2472     # break other packages using the cache if that directory is
   2473     # removed, or if the value is a relative name.
   2474     INSTALL=$ac_install_sh
   2475   fi
   2476 fi
   2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2478 $as_echo "$INSTALL" >&6; }
   2479 
   2480 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2481 # It thinks the first close brace ends the variable substitution.
   2482 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2483 
   2484 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2485 
   2486 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2487 
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2489 $as_echo_n "checking whether build environment is sane... " >&6; }
   2490 # Reject unsafe characters in $srcdir or the absolute working directory
   2491 # name.  Accept space and tab only in the latter.
   2492 am_lf='
   2493 '
   2494 case `pwd` in
   2495   *[\\\"\#\$\&\'\`$am_lf]*)
   2496     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2497 esac
   2498 case $srcdir in
   2499   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2500     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2501 esac
   2502 
   2503 # Do 'set' in a subshell so we don't clobber the current shell's
   2504 # arguments.  Must try -L first in case configure is actually a
   2505 # symlink; some systems play weird games with the mod time of symlinks
   2506 # (eg FreeBSD returns the mod time of the symlink's containing
   2507 # directory).
   2508 if (
   2509    am_has_slept=no
   2510    for am_try in 1 2; do
   2511      echo "timestamp, slept: $am_has_slept" > conftest.file
   2512      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2513      if test "$*" = "X"; then
   2514 	# -L didn't work.
   2515 	set X `ls -t "$srcdir/configure" conftest.file`
   2516      fi
   2517      if test "$*" != "X $srcdir/configure conftest.file" \
   2518 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2519 
   2520 	# If neither matched, then we have a broken ls.  This can happen
   2521 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2522 	# broken ls alias from the environment.  This has actually
   2523 	# happened.  Such a system could not be considered "sane".
   2524 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2525   alias in your environment" "$LINENO" 5
   2526      fi
   2527      if test "$2" = conftest.file || test $am_try -eq 2; then
   2528        break
   2529      fi
   2530      # Just in case.
   2531      sleep 1
   2532      am_has_slept=yes
   2533    done
   2534    test "$2" = conftest.file
   2535    )
   2536 then
   2537    # Ok.
   2538    :
   2539 else
   2540    as_fn_error $? "newly created file is older than distributed files!
   2541 Check your system clock" "$LINENO" 5
   2542 fi
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2544 $as_echo "yes" >&6; }
   2545 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2546 # generated files are strictly newer.
   2547 am_sleep_pid=
   2548 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2549   ( sleep 1 ) &
   2550   am_sleep_pid=$!
   2551 fi
   2552 
   2553 rm -f conftest.file
   2554 
   2555 test "$program_prefix" != NONE &&
   2556   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2557 # Use a double $ so make ignores it.
   2558 test "$program_suffix" != NONE &&
   2559   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2560 # Double any \ or $.
   2561 # By default was `s,x,x', remove it if useless.
   2562 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2563 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2564 
   2565 # Expand $ac_aux_dir to an absolute path.
   2566 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2567 
   2568 if test x"${MISSING+set}" != xset; then
   2569   case $am_aux_dir in
   2570   *\ * | *\	*)
   2571     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2572   *)
   2573     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2574   esac
   2575 fi
   2576 # Use eval to expand $SHELL
   2577 if eval "$MISSING --is-lightweight"; then
   2578   am_missing_run="$MISSING "
   2579 else
   2580   am_missing_run=
   2581   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2582 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2583 fi
   2584 
   2585 if test x"${install_sh+set}" != xset; then
   2586   case $am_aux_dir in
   2587   *\ * | *\	*)
   2588     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2589   *)
   2590     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2591   esac
   2592 fi
   2593 
   2594 # Installed binaries are usually stripped using 'strip' when the user
   2595 # run "make install-strip".  However 'strip' might not be the right
   2596 # tool to use in cross-compilation environments, therefore Automake
   2597 # will honor the 'STRIP' environment variable to overrule this program.
   2598 if test "$cross_compiling" != no; then
   2599   if test -n "$ac_tool_prefix"; then
   2600   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2601 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2603 $as_echo_n "checking for $ac_word... " >&6; }
   2604 if ${ac_cv_prog_STRIP+:} false; then :
   2605   $as_echo_n "(cached) " >&6
   2606 else
   2607   if test -n "$STRIP"; then
   2608   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2609 else
   2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2611 for as_dir in $PATH
   2612 do
   2613   IFS=$as_save_IFS
   2614   test -z "$as_dir" && as_dir=.
   2615     for ac_exec_ext in '' $ac_executable_extensions; do
   2616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2617     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2619     break 2
   2620   fi
   2621 done
   2622   done
   2623 IFS=$as_save_IFS
   2624 
   2625 fi
   2626 fi
   2627 STRIP=$ac_cv_prog_STRIP
   2628 if test -n "$STRIP"; then
   2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2630 $as_echo "$STRIP" >&6; }
   2631 else
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2633 $as_echo "no" >&6; }
   2634 fi
   2635 
   2636 
   2637 fi
   2638 if test -z "$ac_cv_prog_STRIP"; then
   2639   ac_ct_STRIP=$STRIP
   2640   # Extract the first word of "strip", so it can be a program name with args.
   2641 set dummy strip; ac_word=$2
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2643 $as_echo_n "checking for $ac_word... " >&6; }
   2644 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2645   $as_echo_n "(cached) " >&6
   2646 else
   2647   if test -n "$ac_ct_STRIP"; then
   2648   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2649 else
   2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2651 for as_dir in $PATH
   2652 do
   2653   IFS=$as_save_IFS
   2654   test -z "$as_dir" && as_dir=.
   2655     for ac_exec_ext in '' $ac_executable_extensions; do
   2656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2657     ac_cv_prog_ac_ct_STRIP="strip"
   2658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2659     break 2
   2660   fi
   2661 done
   2662   done
   2663 IFS=$as_save_IFS
   2664 
   2665 fi
   2666 fi
   2667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2668 if test -n "$ac_ct_STRIP"; then
   2669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2670 $as_echo "$ac_ct_STRIP" >&6; }
   2671 else
   2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2673 $as_echo "no" >&6; }
   2674 fi
   2675 
   2676   if test "x$ac_ct_STRIP" = x; then
   2677     STRIP=":"
   2678   else
   2679     case $cross_compiling:$ac_tool_warned in
   2680 yes:)
   2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2683 ac_tool_warned=yes ;;
   2684 esac
   2685     STRIP=$ac_ct_STRIP
   2686   fi
   2687 else
   2688   STRIP="$ac_cv_prog_STRIP"
   2689 fi
   2690 
   2691 fi
   2692 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2693 
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2695 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2696 if test -z "$MKDIR_P"; then
   2697   if ${ac_cv_path_mkdir+:} false; then :
   2698   $as_echo_n "(cached) " >&6
   2699 else
   2700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2701 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2702 do
   2703   IFS=$as_save_IFS
   2704   test -z "$as_dir" && as_dir=.
   2705     for ac_prog in mkdir gmkdir; do
   2706 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2707 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2708 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2709 	     'mkdir (GNU coreutils) '* | \
   2710 	     'mkdir (coreutils) '* | \
   2711 	     'mkdir (fileutils) '4.1*)
   2712 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2713 	       break 3;;
   2714 	   esac
   2715 	 done
   2716        done
   2717   done
   2718 IFS=$as_save_IFS
   2719 
   2720 fi
   2721 
   2722   test -d ./--version && rmdir ./--version
   2723   if test "${ac_cv_path_mkdir+set}" = set; then
   2724     MKDIR_P="$ac_cv_path_mkdir -p"
   2725   else
   2726     # As a last resort, use the slow shell script.  Don't cache a
   2727     # value for MKDIR_P within a source directory, because that will
   2728     # break other packages using the cache if that directory is
   2729     # removed, or if the value is a relative name.
   2730     MKDIR_P="$ac_install_sh -d"
   2731   fi
   2732 fi
   2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2734 $as_echo "$MKDIR_P" >&6; }
   2735 
   2736 for ac_prog in gawk mawk nawk awk
   2737 do
   2738   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2739 set dummy $ac_prog; ac_word=$2
   2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2741 $as_echo_n "checking for $ac_word... " >&6; }
   2742 if ${ac_cv_prog_AWK+:} false; then :
   2743   $as_echo_n "(cached) " >&6
   2744 else
   2745   if test -n "$AWK"; then
   2746   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2747 else
   2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2749 for as_dir in $PATH
   2750 do
   2751   IFS=$as_save_IFS
   2752   test -z "$as_dir" && as_dir=.
   2753     for ac_exec_ext in '' $ac_executable_extensions; do
   2754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2755     ac_cv_prog_AWK="$ac_prog"
   2756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2757     break 2
   2758   fi
   2759 done
   2760   done
   2761 IFS=$as_save_IFS
   2762 
   2763 fi
   2764 fi
   2765 AWK=$ac_cv_prog_AWK
   2766 if test -n "$AWK"; then
   2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2768 $as_echo "$AWK" >&6; }
   2769 else
   2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2771 $as_echo "no" >&6; }
   2772 fi
   2773 
   2774 
   2775   test -n "$AWK" && break
   2776 done
   2777 
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2779 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2780 set x ${MAKE-make}
   2781 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2782 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2783   $as_echo_n "(cached) " >&6
   2784 else
   2785   cat >conftest.make <<\_ACEOF
   2786 SHELL = /bin/sh
   2787 all:
   2788 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2789 _ACEOF
   2790 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2791 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2792   *@@@%%%=?*=@@@%%%*)
   2793     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2794   *)
   2795     eval ac_cv_prog_make_${ac_make}_set=no;;
   2796 esac
   2797 rm -f conftest.make
   2798 fi
   2799 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2801 $as_echo "yes" >&6; }
   2802   SET_MAKE=
   2803 else
   2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2805 $as_echo "no" >&6; }
   2806   SET_MAKE="MAKE=${MAKE-make}"
   2807 fi
   2808 
   2809 rm -rf .tst 2>/dev/null
   2810 mkdir .tst 2>/dev/null
   2811 if test -d .tst; then
   2812   am__leading_dot=.
   2813 else
   2814   am__leading_dot=_
   2815 fi
   2816 rmdir .tst 2>/dev/null
   2817 
   2818 # Check whether --enable-silent-rules was given.
   2819 if test "${enable_silent_rules+set}" = set; then :
   2820   enableval=$enable_silent_rules;
   2821 fi
   2822 
   2823 case $enable_silent_rules in # (((
   2824   yes) AM_DEFAULT_VERBOSITY=0;;
   2825    no) AM_DEFAULT_VERBOSITY=1;;
   2826     *) AM_DEFAULT_VERBOSITY=1;;
   2827 esac
   2828 am_make=${MAKE-make}
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2830 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2831 if ${am_cv_make_support_nested_variables+:} false; then :
   2832   $as_echo_n "(cached) " >&6
   2833 else
   2834   if $as_echo 'TRUE=$(BAR$(V))
   2835 BAR0=false
   2836 BAR1=true
   2837 V=1
   2838 am__doit:
   2839 	@$(TRUE)
   2840 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2841   am_cv_make_support_nested_variables=yes
   2842 else
   2843   am_cv_make_support_nested_variables=no
   2844 fi
   2845 fi
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2847 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2848 if test $am_cv_make_support_nested_variables = yes; then
   2849     AM_V='$(V)'
   2850   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2851 else
   2852   AM_V=$AM_DEFAULT_VERBOSITY
   2853   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2854 fi
   2855 AM_BACKSLASH='\'
   2856 
   2857 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2858   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2859   # is not polluted with repeated "-I."
   2860   am__isrc=' -I$(srcdir)'
   2861   # test to see if srcdir already configured
   2862   if test -f $srcdir/config.status; then
   2863     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2864   fi
   2865 fi
   2866 
   2867 # test whether we have cygpath
   2868 if test -z "$CYGPATH_W"; then
   2869   if (cygpath --version) >/dev/null 2>/dev/null; then
   2870     CYGPATH_W='cygpath -w'
   2871   else
   2872     CYGPATH_W=echo
   2873   fi
   2874 fi
   2875 
   2876 
   2877 # Define the identity of the package.
   2878  PACKAGE='xf86-video-r128'
   2879  VERSION='6.12.0'
   2880 
   2881 
   2882 cat >>confdefs.h <<_ACEOF
   2883 #define PACKAGE "$PACKAGE"
   2884 _ACEOF
   2885 
   2886 
   2887 cat >>confdefs.h <<_ACEOF
   2888 #define VERSION "$VERSION"
   2889 _ACEOF
   2890 
   2891 # Some tools Automake needs.
   2892 
   2893 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2894 
   2895 
   2896 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2897 
   2898 
   2899 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2900 
   2901 
   2902 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2903 
   2904 
   2905 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2906 
   2907 # For better backward compatibility.  To be removed once Automake 1.9.x
   2908 # dies out for good.  For more background, see:
   2909 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2910 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2911 mkdir_p='$(MKDIR_P)'
   2912 
   2913 # We need awk for the "check" target (and possibly the TAP driver).  The
   2914 # system "awk" is bad on some platforms.
   2915 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2916 # in the wild :-(  We should find a proper way to deprecate it ...
   2917 AMTAR='$${TAR-tar}'
   2918 
   2919 
   2920 # We'll loop over all known methods to create a tar archive until one works.
   2921 _am_tools='gnutar  pax cpio none'
   2922 
   2923 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2924 
   2925 
   2926 
   2927 
   2928 
   2929 
   2930 # POSIX will say in a future version that running "rm -f" with no argument
   2931 # is OK; and we want to be able to make that assumption in our Makefile
   2932 # recipes.  So use an aggressive probe to check that the usage we want is
   2933 # actually supported "in the wild" to an acceptable degree.
   2934 # See automake bug#10828.
   2935 # To make any issue more visible, cause the running configure to be aborted
   2936 # by default if the 'rm' program in use doesn't match our expectations; the
   2937 # user can still override this though.
   2938 if rm -f && rm -fr && rm -rf; then : OK; else
   2939   cat >&2 <<'END'
   2940 Oops!
   2941 
   2942 Your 'rm' program seems unable to run without file operands specified
   2943 on the command line, even when the '-f' option is present.  This is contrary
   2944 to the behaviour of most rm programs out there, and not conforming with
   2945 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2946 
   2947 Please tell bug-automake@gnu.org about your system, including the value
   2948 of your $PATH and any error possibly output before this message.  This
   2949 can help us improve future automake versions.
   2950 
   2951 END
   2952   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2953     echo 'Configuration will proceed anyway, since you have set the' >&2
   2954     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2955     echo >&2
   2956   else
   2957     cat >&2 <<'END'
   2958 Aborting the configuration process, to ensure you take notice of the issue.
   2959 
   2960 You can download and install GNU coreutils to get an 'rm' implementation
   2961 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2962 
   2963 If you want to complete the configuration process using your problematic
   2964 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2965 to "yes", and re-run configure.
   2966 
   2967 END
   2968     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2969   fi
   2970 fi
   2971 
   2972 
   2973 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 DEPDIR="${am__leading_dot}deps"
   2986 
   2987 ac_config_commands="$ac_config_commands depfiles"
   2988 
   2989 
   2990 am_make=${MAKE-make}
   2991 cat > confinc << 'END'
   2992 am__doit:
   2993 	@echo this is the am__doit target
   2994 .PHONY: am__doit
   2995 END
   2996 # If we don't find an include directive, just comment out the code.
   2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2998 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2999 am__include="#"
   3000 am__quote=
   3001 _am_result=none
   3002 # First try GNU make style include.
   3003 echo "include confinc" > confmf
   3004 # Ignore all kinds of additional output from 'make'.
   3005 case `$am_make -s -f confmf 2> /dev/null` in #(
   3006 *the\ am__doit\ target*)
   3007   am__include=include
   3008   am__quote=
   3009   _am_result=GNU
   3010   ;;
   3011 esac
   3012 # Now try BSD make style include.
   3013 if test "$am__include" = "#"; then
   3014    echo '.include "confinc"' > confmf
   3015    case `$am_make -s -f confmf 2> /dev/null` in #(
   3016    *the\ am__doit\ target*)
   3017      am__include=.include
   3018      am__quote="\""
   3019      _am_result=BSD
   3020      ;;
   3021    esac
   3022 fi
   3023 
   3024 
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3026 $as_echo "$_am_result" >&6; }
   3027 rm -f confinc confmf
   3028 
   3029 # Check whether --enable-dependency-tracking was given.
   3030 if test "${enable_dependency_tracking+set}" = set; then :
   3031   enableval=$enable_dependency_tracking;
   3032 fi
   3033 
   3034 if test "x$enable_dependency_tracking" != xno; then
   3035   am_depcomp="$ac_aux_dir/depcomp"
   3036   AMDEPBACKSLASH='\'
   3037   am__nodep='_no'
   3038 fi
   3039  if test "x$enable_dependency_tracking" != xno; then
   3040   AMDEP_TRUE=
   3041   AMDEP_FALSE='#'
   3042 else
   3043   AMDEP_TRUE='#'
   3044   AMDEP_FALSE=
   3045 fi
   3046 
   3047 
   3048 ac_ext=c
   3049 ac_cpp='$CPP $CPPFLAGS'
   3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3053 if test -n "$ac_tool_prefix"; then
   3054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if ${ac_cv_prog_CC+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$CC"; then
   3062   ac_cv_prog_CC="$CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 CC=$ac_cv_prog_CC
   3082 if test -n "$CC"; then
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3084 $as_echo "$CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090 
   3091 fi
   3092 if test -z "$ac_cv_prog_CC"; then
   3093   ac_ct_CC=$CC
   3094   # Extract the first word of "gcc", so it can be a program name with args.
   3095 set dummy gcc; ac_word=$2
   3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3097 $as_echo_n "checking for $ac_word... " >&6; }
   3098 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3099   $as_echo_n "(cached) " >&6
   3100 else
   3101   if test -n "$ac_ct_CC"; then
   3102   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3103 else
   3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3105 for as_dir in $PATH
   3106 do
   3107   IFS=$as_save_IFS
   3108   test -z "$as_dir" && as_dir=.
   3109     for ac_exec_ext in '' $ac_executable_extensions; do
   3110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3111     ac_cv_prog_ac_ct_CC="gcc"
   3112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3113     break 2
   3114   fi
   3115 done
   3116   done
   3117 IFS=$as_save_IFS
   3118 
   3119 fi
   3120 fi
   3121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3122 if test -n "$ac_ct_CC"; then
   3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3124 $as_echo "$ac_ct_CC" >&6; }
   3125 else
   3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3127 $as_echo "no" >&6; }
   3128 fi
   3129 
   3130   if test "x$ac_ct_CC" = x; then
   3131     CC=""
   3132   else
   3133     case $cross_compiling:$ac_tool_warned in
   3134 yes:)
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3137 ac_tool_warned=yes ;;
   3138 esac
   3139     CC=$ac_ct_CC
   3140   fi
   3141 else
   3142   CC="$ac_cv_prog_CC"
   3143 fi
   3144 
   3145 if test -z "$CC"; then
   3146           if test -n "$ac_tool_prefix"; then
   3147     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3148 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3150 $as_echo_n "checking for $ac_word... " >&6; }
   3151 if ${ac_cv_prog_CC+:} false; then :
   3152   $as_echo_n "(cached) " >&6
   3153 else
   3154   if test -n "$CC"; then
   3155   ac_cv_prog_CC="$CC" # Let the user override the test.
   3156 else
   3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3158 for as_dir in $PATH
   3159 do
   3160   IFS=$as_save_IFS
   3161   test -z "$as_dir" && as_dir=.
   3162     for ac_exec_ext in '' $ac_executable_extensions; do
   3163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3164     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3166     break 2
   3167   fi
   3168 done
   3169   done
   3170 IFS=$as_save_IFS
   3171 
   3172 fi
   3173 fi
   3174 CC=$ac_cv_prog_CC
   3175 if test -n "$CC"; then
   3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3177 $as_echo "$CC" >&6; }
   3178 else
   3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3180 $as_echo "no" >&6; }
   3181 fi
   3182 
   3183 
   3184   fi
   3185 fi
   3186 if test -z "$CC"; then
   3187   # Extract the first word of "cc", so it can be a program name with args.
   3188 set dummy cc; ac_word=$2
   3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3190 $as_echo_n "checking for $ac_word... " >&6; }
   3191 if ${ac_cv_prog_CC+:} false; then :
   3192   $as_echo_n "(cached) " >&6
   3193 else
   3194   if test -n "$CC"; then
   3195   ac_cv_prog_CC="$CC" # Let the user override the test.
   3196 else
   3197   ac_prog_rejected=no
   3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3199 for as_dir in $PATH
   3200 do
   3201   IFS=$as_save_IFS
   3202   test -z "$as_dir" && as_dir=.
   3203     for ac_exec_ext in '' $ac_executable_extensions; do
   3204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3205     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3206        ac_prog_rejected=yes
   3207        continue
   3208      fi
   3209     ac_cv_prog_CC="cc"
   3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3211     break 2
   3212   fi
   3213 done
   3214   done
   3215 IFS=$as_save_IFS
   3216 
   3217 if test $ac_prog_rejected = yes; then
   3218   # We found a bogon in the path, so make sure we never use it.
   3219   set dummy $ac_cv_prog_CC
   3220   shift
   3221   if test $# != 0; then
   3222     # We chose a different compiler from the bogus one.
   3223     # However, it has the same basename, so the bogon will be chosen
   3224     # first if we set CC to just the basename; use the full file name.
   3225     shift
   3226     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3227   fi
   3228 fi
   3229 fi
   3230 fi
   3231 CC=$ac_cv_prog_CC
   3232 if test -n "$CC"; then
   3233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3234 $as_echo "$CC" >&6; }
   3235 else
   3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3237 $as_echo "no" >&6; }
   3238 fi
   3239 
   3240 
   3241 fi
   3242 if test -z "$CC"; then
   3243   if test -n "$ac_tool_prefix"; then
   3244   for ac_prog in cl.exe
   3245   do
   3246     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3249 $as_echo_n "checking for $ac_word... " >&6; }
   3250 if ${ac_cv_prog_CC+:} false; then :
   3251   $as_echo_n "(cached) " >&6
   3252 else
   3253   if test -n "$CC"; then
   3254   ac_cv_prog_CC="$CC" # Let the user override the test.
   3255 else
   3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3257 for as_dir in $PATH
   3258 do
   3259   IFS=$as_save_IFS
   3260   test -z "$as_dir" && as_dir=.
   3261     for ac_exec_ext in '' $ac_executable_extensions; do
   3262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3263     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3265     break 2
   3266   fi
   3267 done
   3268   done
   3269 IFS=$as_save_IFS
   3270 
   3271 fi
   3272 fi
   3273 CC=$ac_cv_prog_CC
   3274 if test -n "$CC"; then
   3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3276 $as_echo "$CC" >&6; }
   3277 else
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 $as_echo "no" >&6; }
   3280 fi
   3281 
   3282 
   3283     test -n "$CC" && break
   3284   done
   3285 fi
   3286 if test -z "$CC"; then
   3287   ac_ct_CC=$CC
   3288   for ac_prog in cl.exe
   3289 do
   3290   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3291 set dummy $ac_prog; ac_word=$2
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3293 $as_echo_n "checking for $ac_word... " >&6; }
   3294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   if test -n "$ac_ct_CC"; then
   3298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_exec_ext in '' $ac_executable_extensions; do
   3306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3307     ac_cv_prog_ac_ct_CC="$ac_prog"
   3308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3309     break 2
   3310   fi
   3311 done
   3312   done
   3313 IFS=$as_save_IFS
   3314 
   3315 fi
   3316 fi
   3317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3318 if test -n "$ac_ct_CC"; then
   3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3320 $as_echo "$ac_ct_CC" >&6; }
   3321 else
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3323 $as_echo "no" >&6; }
   3324 fi
   3325 
   3326 
   3327   test -n "$ac_ct_CC" && break
   3328 done
   3329 
   3330   if test "x$ac_ct_CC" = x; then
   3331     CC=""
   3332   else
   3333     case $cross_compiling:$ac_tool_warned in
   3334 yes:)
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3337 ac_tool_warned=yes ;;
   3338 esac
   3339     CC=$ac_ct_CC
   3340   fi
   3341 fi
   3342 
   3343 fi
   3344 
   3345 
   3346 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3348 as_fn_error $? "no acceptable C compiler found in \$PATH
   3349 See \`config.log' for more details" "$LINENO" 5; }
   3350 
   3351 # Provide some information about the compiler.
   3352 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3353 set X $ac_compile
   3354 ac_compiler=$2
   3355 for ac_option in --version -v -V -qversion; do
   3356   { { ac_try="$ac_compiler $ac_option >&5"
   3357 case "(($ac_try" in
   3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3359   *) ac_try_echo=$ac_try;;
   3360 esac
   3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3362 $as_echo "$ac_try_echo"; } >&5
   3363   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3364   ac_status=$?
   3365   if test -s conftest.err; then
   3366     sed '10a\
   3367 ... rest of stderr output deleted ...
   3368          10q' conftest.err >conftest.er1
   3369     cat conftest.er1 >&5
   3370   fi
   3371   rm -f conftest.er1 conftest.err
   3372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3373   test $ac_status = 0; }
   3374 done
   3375 
   3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 ac_clean_files_save=$ac_clean_files
   3388 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3389 # Try to create an executable without -o first, disregard a.out.
   3390 # It will help us diagnose broken compilers, and finding out an intuition
   3391 # of exeext.
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3393 $as_echo_n "checking whether the C compiler works... " >&6; }
   3394 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3395 
   3396 # The possible output files:
   3397 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3398 
   3399 ac_rmfiles=
   3400 for ac_file in $ac_files
   3401 do
   3402   case $ac_file in
   3403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3404     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3405   esac
   3406 done
   3407 rm -f $ac_rmfiles
   3408 
   3409 if { { ac_try="$ac_link_default"
   3410 case "(($ac_try" in
   3411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3412   *) ac_try_echo=$ac_try;;
   3413 esac
   3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3415 $as_echo "$ac_try_echo"; } >&5
   3416   (eval "$ac_link_default") 2>&5
   3417   ac_status=$?
   3418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3419   test $ac_status = 0; }; then :
   3420   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3422 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3423 # so that the user can short-circuit this test for compilers unknown to
   3424 # Autoconf.
   3425 for ac_file in $ac_files ''
   3426 do
   3427   test -f "$ac_file" || continue
   3428   case $ac_file in
   3429     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3430 	;;
   3431     [ab].out )
   3432 	# We found the default executable, but exeext='' is most
   3433 	# certainly right.
   3434 	break;;
   3435     *.* )
   3436 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3437 	then :; else
   3438 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3439 	fi
   3440 	# We set ac_cv_exeext here because the later test for it is not
   3441 	# safe: cross compilers may not add the suffix if given an `-o'
   3442 	# argument, so we may need to know it at that point already.
   3443 	# Even if this section looks crufty: it has the advantage of
   3444 	# actually working.
   3445 	break;;
   3446     * )
   3447 	break;;
   3448   esac
   3449 done
   3450 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3451 
   3452 else
   3453   ac_file=''
   3454 fi
   3455 if test -z "$ac_file"; then :
   3456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 $as_echo "no" >&6; }
   3458 $as_echo "$as_me: failed program was:" >&5
   3459 sed 's/^/| /' conftest.$ac_ext >&5
   3460 
   3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3463 as_fn_error 77 "C compiler cannot create executables
   3464 See \`config.log' for more details" "$LINENO" 5; }
   3465 else
   3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3467 $as_echo "yes" >&6; }
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3470 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3472 $as_echo "$ac_file" >&6; }
   3473 ac_exeext=$ac_cv_exeext
   3474 
   3475 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3476 ac_clean_files=$ac_clean_files_save
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3478 $as_echo_n "checking for suffix of executables... " >&6; }
   3479 if { { ac_try="$ac_link"
   3480 case "(($ac_try" in
   3481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3482   *) ac_try_echo=$ac_try;;
   3483 esac
   3484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3485 $as_echo "$ac_try_echo"; } >&5
   3486   (eval "$ac_link") 2>&5
   3487   ac_status=$?
   3488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3489   test $ac_status = 0; }; then :
   3490   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3491 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3492 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3493 # `rm'.
   3494 for ac_file in conftest.exe conftest conftest.*; do
   3495   test -f "$ac_file" || continue
   3496   case $ac_file in
   3497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3498     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3499 	  break;;
   3500     * ) break;;
   3501   esac
   3502 done
   3503 else
   3504   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3506 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3507 See \`config.log' for more details" "$LINENO" 5; }
   3508 fi
   3509 rm -f conftest conftest$ac_cv_exeext
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3511 $as_echo "$ac_cv_exeext" >&6; }
   3512 
   3513 rm -f conftest.$ac_ext
   3514 EXEEXT=$ac_cv_exeext
   3515 ac_exeext=$EXEEXT
   3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3517 /* end confdefs.h.  */
   3518 #include <stdio.h>
   3519 int
   3520 main ()
   3521 {
   3522 FILE *f = fopen ("conftest.out", "w");
   3523  return ferror (f) || fclose (f) != 0;
   3524 
   3525   ;
   3526   return 0;
   3527 }
   3528 _ACEOF
   3529 ac_clean_files="$ac_clean_files conftest.out"
   3530 # Check that the compiler produces executables we can run.  If not, either
   3531 # the compiler is broken, or we cross compile.
   3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3533 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3534 if test "$cross_compiling" != yes; then
   3535   { { ac_try="$ac_link"
   3536 case "(($ac_try" in
   3537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3538   *) ac_try_echo=$ac_try;;
   3539 esac
   3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3541 $as_echo "$ac_try_echo"; } >&5
   3542   (eval "$ac_link") 2>&5
   3543   ac_status=$?
   3544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3545   test $ac_status = 0; }
   3546   if { ac_try='./conftest$ac_cv_exeext'
   3547   { { case "(($ac_try" in
   3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3549   *) ac_try_echo=$ac_try;;
   3550 esac
   3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3552 $as_echo "$ac_try_echo"; } >&5
   3553   (eval "$ac_try") 2>&5
   3554   ac_status=$?
   3555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3556   test $ac_status = 0; }; }; then
   3557     cross_compiling=no
   3558   else
   3559     if test "$cross_compiling" = maybe; then
   3560 	cross_compiling=yes
   3561     else
   3562 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3564 as_fn_error $? "cannot run C compiled programs.
   3565 If you meant to cross compile, use \`--host'.
   3566 See \`config.log' for more details" "$LINENO" 5; }
   3567     fi
   3568   fi
   3569 fi
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3571 $as_echo "$cross_compiling" >&6; }
   3572 
   3573 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3574 ac_clean_files=$ac_clean_files_save
   3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3576 $as_echo_n "checking for suffix of object files... " >&6; }
   3577 if ${ac_cv_objext+:} false; then :
   3578   $as_echo_n "(cached) " >&6
   3579 else
   3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 rm -f conftest.o conftest.obj
   3592 if { { ac_try="$ac_compile"
   3593 case "(($ac_try" in
   3594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3595   *) ac_try_echo=$ac_try;;
   3596 esac
   3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3598 $as_echo "$ac_try_echo"; } >&5
   3599   (eval "$ac_compile") 2>&5
   3600   ac_status=$?
   3601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3602   test $ac_status = 0; }; then :
   3603   for ac_file in conftest.o conftest.obj conftest.*; do
   3604   test -f "$ac_file" || continue;
   3605   case $ac_file in
   3606     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3607     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3608        break;;
   3609   esac
   3610 done
   3611 else
   3612   $as_echo "$as_me: failed program was:" >&5
   3613 sed 's/^/| /' conftest.$ac_ext >&5
   3614 
   3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3617 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3618 See \`config.log' for more details" "$LINENO" 5; }
   3619 fi
   3620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3621 fi
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3623 $as_echo "$ac_cv_objext" >&6; }
   3624 OBJEXT=$ac_cv_objext
   3625 ac_objext=$OBJEXT
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3627 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3628 if ${ac_cv_c_compiler_gnu+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3632 /* end confdefs.h.  */
   3633 
   3634 int
   3635 main ()
   3636 {
   3637 #ifndef __GNUC__
   3638        choke me
   3639 #endif
   3640 
   3641   ;
   3642   return 0;
   3643 }
   3644 _ACEOF
   3645 if ac_fn_c_try_compile "$LINENO"; then :
   3646   ac_compiler_gnu=yes
   3647 else
   3648   ac_compiler_gnu=no
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3652 
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3655 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3656 if test $ac_compiler_gnu = yes; then
   3657   GCC=yes
   3658 else
   3659   GCC=
   3660 fi
   3661 ac_test_CFLAGS=${CFLAGS+set}
   3662 ac_save_CFLAGS=$CFLAGS
   3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3664 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3665 if ${ac_cv_prog_cc_g+:} false; then :
   3666   $as_echo_n "(cached) " >&6
   3667 else
   3668   ac_save_c_werror_flag=$ac_c_werror_flag
   3669    ac_c_werror_flag=yes
   3670    ac_cv_prog_cc_g=no
   3671    CFLAGS="-g"
   3672    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3673 /* end confdefs.h.  */
   3674 
   3675 int
   3676 main ()
   3677 {
   3678 
   3679   ;
   3680   return 0;
   3681 }
   3682 _ACEOF
   3683 if ac_fn_c_try_compile "$LINENO"; then :
   3684   ac_cv_prog_cc_g=yes
   3685 else
   3686   CFLAGS=""
   3687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3688 /* end confdefs.h.  */
   3689 
   3690 int
   3691 main ()
   3692 {
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698 if ac_fn_c_try_compile "$LINENO"; then :
   3699 
   3700 else
   3701   ac_c_werror_flag=$ac_save_c_werror_flag
   3702 	 CFLAGS="-g"
   3703 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3704 /* end confdefs.h.  */
   3705 
   3706 int
   3707 main ()
   3708 {
   3709 
   3710   ;
   3711   return 0;
   3712 }
   3713 _ACEOF
   3714 if ac_fn_c_try_compile "$LINENO"; then :
   3715   ac_cv_prog_cc_g=yes
   3716 fi
   3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3722    ac_c_werror_flag=$ac_save_c_werror_flag
   3723 fi
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3725 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3726 if test "$ac_test_CFLAGS" = set; then
   3727   CFLAGS=$ac_save_CFLAGS
   3728 elif test $ac_cv_prog_cc_g = yes; then
   3729   if test "$GCC" = yes; then
   3730     CFLAGS="-g -O2"
   3731   else
   3732     CFLAGS="-g"
   3733   fi
   3734 else
   3735   if test "$GCC" = yes; then
   3736     CFLAGS="-O2"
   3737   else
   3738     CFLAGS=
   3739   fi
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3742 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3743 if ${ac_cv_prog_cc_c89+:} false; then :
   3744   $as_echo_n "(cached) " >&6
   3745 else
   3746   ac_cv_prog_cc_c89=no
   3747 ac_save_CC=$CC
   3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3749 /* end confdefs.h.  */
   3750 #include <stdarg.h>
   3751 #include <stdio.h>
   3752 struct stat;
   3753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3754 struct buf { int x; };
   3755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3756 static char *e (p, i)
   3757      char **p;
   3758      int i;
   3759 {
   3760   return p[i];
   3761 }
   3762 static char *f (char * (*g) (char **, int), char **p, ...)
   3763 {
   3764   char *s;
   3765   va_list v;
   3766   va_start (v,p);
   3767   s = g (p, va_arg (v,int));
   3768   va_end (v);
   3769   return s;
   3770 }
   3771 
   3772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3773    function prototypes and stuff, but not '\xHH' hex character constants.
   3774    These don't provoke an error unfortunately, instead are silently treated
   3775    as 'x'.  The following induces an error, until -std is added to get
   3776    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3777    array size at least.  It's necessary to write '\x00'==0 to get something
   3778    that's true only with -std.  */
   3779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3780 
   3781 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3782    inside strings and character constants.  */
   3783 #define FOO(x) 'x'
   3784 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3785 
   3786 int test (int i, double x);
   3787 struct s1 {int (*f) (int a);};
   3788 struct s2 {int (*f) (double a);};
   3789 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3790 int argc;
   3791 char **argv;
   3792 int
   3793 main ()
   3794 {
   3795 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3796   ;
   3797   return 0;
   3798 }
   3799 _ACEOF
   3800 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3801 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3802 do
   3803   CC="$ac_save_CC $ac_arg"
   3804   if ac_fn_c_try_compile "$LINENO"; then :
   3805   ac_cv_prog_cc_c89=$ac_arg
   3806 fi
   3807 rm -f core conftest.err conftest.$ac_objext
   3808   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3809 done
   3810 rm -f conftest.$ac_ext
   3811 CC=$ac_save_CC
   3812 
   3813 fi
   3814 # AC_CACHE_VAL
   3815 case "x$ac_cv_prog_cc_c89" in
   3816   x)
   3817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3818 $as_echo "none needed" >&6; } ;;
   3819   xno)
   3820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3821 $as_echo "unsupported" >&6; } ;;
   3822   *)
   3823     CC="$CC $ac_cv_prog_cc_c89"
   3824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3825 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3826 esac
   3827 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3828 
   3829 fi
   3830 
   3831 ac_ext=c
   3832 ac_cpp='$CPP $CPPFLAGS'
   3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3836 
   3837 ac_ext=c
   3838 ac_cpp='$CPP $CPPFLAGS'
   3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3843 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3844 if ${am_cv_prog_cc_c_o+:} false; then :
   3845   $as_echo_n "(cached) " >&6
   3846 else
   3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3848 /* end confdefs.h.  */
   3849 
   3850 int
   3851 main ()
   3852 {
   3853 
   3854   ;
   3855   return 0;
   3856 }
   3857 _ACEOF
   3858   # Make sure it works both with $CC and with simple cc.
   3859   # Following AC_PROG_CC_C_O, we do the test twice because some
   3860   # compilers refuse to overwrite an existing .o file with -o,
   3861   # though they will create one.
   3862   am_cv_prog_cc_c_o=yes
   3863   for am_i in 1 2; do
   3864     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3865    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3866    ac_status=$?
   3867    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3868    (exit $ac_status); } \
   3869          && test -f conftest2.$ac_objext; then
   3870       : OK
   3871     else
   3872       am_cv_prog_cc_c_o=no
   3873       break
   3874     fi
   3875   done
   3876   rm -f core conftest*
   3877   unset am_i
   3878 fi
   3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3880 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3881 if test "$am_cv_prog_cc_c_o" != yes; then
   3882    # Losing compiler, so override with the script.
   3883    # FIXME: It is wrong to rewrite CC.
   3884    # But if we don't then we get into trouble of one sort or another.
   3885    # A longer-term fix would be to have automake use am__CC in this case,
   3886    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3887    CC="$am_aux_dir/compile $CC"
   3888 fi
   3889 ac_ext=c
   3890 ac_cpp='$CPP $CPPFLAGS'
   3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3894 
   3895 
   3896 depcc="$CC"   am_compiler_list=
   3897 
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3899 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3900 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3901   $as_echo_n "(cached) " >&6
   3902 else
   3903   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3904   # We make a subdir and do the tests there.  Otherwise we can end up
   3905   # making bogus files that we don't know about and never remove.  For
   3906   # instance it was reported that on HP-UX the gcc test will end up
   3907   # making a dummy file named 'D' -- because '-MD' means "put the output
   3908   # in D".
   3909   rm -rf conftest.dir
   3910   mkdir conftest.dir
   3911   # Copy depcomp to subdir because otherwise we won't find it if we're
   3912   # using a relative directory.
   3913   cp "$am_depcomp" conftest.dir
   3914   cd conftest.dir
   3915   # We will build objects and dependencies in a subdirectory because
   3916   # it helps to detect inapplicable dependency modes.  For instance
   3917   # both Tru64's cc and ICC support -MD to output dependencies as a
   3918   # side effect of compilation, but ICC will put the dependencies in
   3919   # the current directory while Tru64 will put them in the object
   3920   # directory.
   3921   mkdir sub
   3922 
   3923   am_cv_CC_dependencies_compiler_type=none
   3924   if test "$am_compiler_list" = ""; then
   3925      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3926   fi
   3927   am__universal=false
   3928   case " $depcc " in #(
   3929      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3930      esac
   3931 
   3932   for depmode in $am_compiler_list; do
   3933     # Setup a source with many dependencies, because some compilers
   3934     # like to wrap large dependency lists on column 80 (with \), and
   3935     # we should not choose a depcomp mode which is confused by this.
   3936     #
   3937     # We need to recreate these files for each test, as the compiler may
   3938     # overwrite some of them when testing with obscure command lines.
   3939     # This happens at least with the AIX C compiler.
   3940     : > sub/conftest.c
   3941     for i in 1 2 3 4 5 6; do
   3942       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3943       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3944       # Solaris 10 /bin/sh.
   3945       echo '/* dummy */' > sub/conftst$i.h
   3946     done
   3947     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3948 
   3949     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3950     # mode.  It turns out that the SunPro C++ compiler does not properly
   3951     # handle '-M -o', and we need to detect this.  Also, some Intel
   3952     # versions had trouble with output in subdirs.
   3953     am__obj=sub/conftest.${OBJEXT-o}
   3954     am__minus_obj="-o $am__obj"
   3955     case $depmode in
   3956     gcc)
   3957       # This depmode causes a compiler race in universal mode.
   3958       test "$am__universal" = false || continue
   3959       ;;
   3960     nosideeffect)
   3961       # After this tag, mechanisms are not by side-effect, so they'll
   3962       # only be used when explicitly requested.
   3963       if test "x$enable_dependency_tracking" = xyes; then
   3964 	continue
   3965       else
   3966 	break
   3967       fi
   3968       ;;
   3969     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3970       # This compiler won't grok '-c -o', but also, the minuso test has
   3971       # not run yet.  These depmodes are late enough in the game, and
   3972       # so weak that their functioning should not be impacted.
   3973       am__obj=conftest.${OBJEXT-o}
   3974       am__minus_obj=
   3975       ;;
   3976     none) break ;;
   3977     esac
   3978     if depmode=$depmode \
   3979        source=sub/conftest.c object=$am__obj \
   3980        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3981        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3982          >/dev/null 2>conftest.err &&
   3983        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3984        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3985        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3986        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3987       # icc doesn't choke on unknown options, it will just issue warnings
   3988       # or remarks (even with -Werror).  So we grep stderr for any message
   3989       # that says an option was ignored or not supported.
   3990       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3991       #   icc: Command line warning: ignoring option '-M'; no argument required
   3992       # The diagnosis changed in icc 8.0:
   3993       #   icc: Command line remark: option '-MP' not supported
   3994       if (grep 'ignoring option' conftest.err ||
   3995           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3996         am_cv_CC_dependencies_compiler_type=$depmode
   3997         break
   3998       fi
   3999     fi
   4000   done
   4001 
   4002   cd ..
   4003   rm -rf conftest.dir
   4004 else
   4005   am_cv_CC_dependencies_compiler_type=none
   4006 fi
   4007 
   4008 fi
   4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4010 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4011 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4012 
   4013  if
   4014   test "x$enable_dependency_tracking" != xno \
   4015   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4016   am__fastdepCC_TRUE=
   4017   am__fastdepCC_FALSE='#'
   4018 else
   4019   am__fastdepCC_TRUE='#'
   4020   am__fastdepCC_FALSE=
   4021 fi
   4022 
   4023 
   4024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4025 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4026 if ${ac_cv_prog_cc_c99+:} false; then :
   4027   $as_echo_n "(cached) " >&6
   4028 else
   4029   ac_cv_prog_cc_c99=no
   4030 ac_save_CC=$CC
   4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4032 /* end confdefs.h.  */
   4033 #include <stdarg.h>
   4034 #include <stdbool.h>
   4035 #include <stdlib.h>
   4036 #include <wchar.h>
   4037 #include <stdio.h>
   4038 
   4039 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4040 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4041 #define showlist(...) puts (#__VA_ARGS__)
   4042 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4043 static void
   4044 test_varargs_macros (void)
   4045 {
   4046   int x = 1234;
   4047   int y = 5678;
   4048   debug ("Flag");
   4049   debug ("X = %d\n", x);
   4050   showlist (The first, second, and third items.);
   4051   report (x>y, "x is %d but y is %d", x, y);
   4052 }
   4053 
   4054 // Check long long types.
   4055 #define BIG64 18446744073709551615ull
   4056 #define BIG32 4294967295ul
   4057 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4058 #if !BIG_OK
   4059   your preprocessor is broken;
   4060 #endif
   4061 #if BIG_OK
   4062 #else
   4063   your preprocessor is broken;
   4064 #endif
   4065 static long long int bignum = -9223372036854775807LL;
   4066 static unsigned long long int ubignum = BIG64;
   4067 
   4068 struct incomplete_array
   4069 {
   4070   int datasize;
   4071   double data[];
   4072 };
   4073 
   4074 struct named_init {
   4075   int number;
   4076   const wchar_t *name;
   4077   double average;
   4078 };
   4079 
   4080 typedef const char *ccp;
   4081 
   4082 static inline int
   4083 test_restrict (ccp restrict text)
   4084 {
   4085   // See if C++-style comments work.
   4086   // Iterate through items via the restricted pointer.
   4087   // Also check for declarations in for loops.
   4088   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4089     continue;
   4090   return 0;
   4091 }
   4092 
   4093 // Check varargs and va_copy.
   4094 static void
   4095 test_varargs (const char *format, ...)
   4096 {
   4097   va_list args;
   4098   va_start (args, format);
   4099   va_list args_copy;
   4100   va_copy (args_copy, args);
   4101 
   4102   const char *str;
   4103   int number;
   4104   float fnumber;
   4105 
   4106   while (*format)
   4107     {
   4108       switch (*format++)
   4109 	{
   4110 	case 's': // string
   4111 	  str = va_arg (args_copy, const char *);
   4112 	  break;
   4113 	case 'd': // int
   4114 	  number = va_arg (args_copy, int);
   4115 	  break;
   4116 	case 'f': // float
   4117 	  fnumber = va_arg (args_copy, double);
   4118 	  break;
   4119 	default:
   4120 	  break;
   4121 	}
   4122     }
   4123   va_end (args_copy);
   4124   va_end (args);
   4125 }
   4126 
   4127 int
   4128 main ()
   4129 {
   4130 
   4131   // Check bool.
   4132   _Bool success = false;
   4133 
   4134   // Check restrict.
   4135   if (test_restrict ("String literal") == 0)
   4136     success = true;
   4137   char *restrict newvar = "Another string";
   4138 
   4139   // Check varargs.
   4140   test_varargs ("s, d' f .", "string", 65, 34.234);
   4141   test_varargs_macros ();
   4142 
   4143   // Check flexible array members.
   4144   struct incomplete_array *ia =
   4145     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4146   ia->datasize = 10;
   4147   for (int i = 0; i < ia->datasize; ++i)
   4148     ia->data[i] = i * 1.234;
   4149 
   4150   // Check named initializers.
   4151   struct named_init ni = {
   4152     .number = 34,
   4153     .name = L"Test wide string",
   4154     .average = 543.34343,
   4155   };
   4156 
   4157   ni.number = 58;
   4158 
   4159   int dynamic_array[ni.number];
   4160   dynamic_array[ni.number - 1] = 543;
   4161 
   4162   // work around unused variable warnings
   4163   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4164 	  || dynamic_array[ni.number - 1] != 543);
   4165 
   4166   ;
   4167   return 0;
   4168 }
   4169 _ACEOF
   4170 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4171 do
   4172   CC="$ac_save_CC $ac_arg"
   4173   if ac_fn_c_try_compile "$LINENO"; then :
   4174   ac_cv_prog_cc_c99=$ac_arg
   4175 fi
   4176 rm -f core conftest.err conftest.$ac_objext
   4177   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4178 done
   4179 rm -f conftest.$ac_ext
   4180 CC=$ac_save_CC
   4181 
   4182 fi
   4183 # AC_CACHE_VAL
   4184 case "x$ac_cv_prog_cc_c99" in
   4185   x)
   4186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4187 $as_echo "none needed" >&6; } ;;
   4188   xno)
   4189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4190 $as_echo "unsupported" >&6; } ;;
   4191   *)
   4192     CC="$CC $ac_cv_prog_cc_c99"
   4193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4194 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4195 esac
   4196 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4197 
   4198 fi
   4199 
   4200 
   4201 
   4202 ac_ext=c
   4203 ac_cpp='$CPP $CPPFLAGS'
   4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4208 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4209 # On Suns, sometimes $CPP names a directory.
   4210 if test -n "$CPP" && test -d "$CPP"; then
   4211   CPP=
   4212 fi
   4213 if test -z "$CPP"; then
   4214   if ${ac_cv_prog_CPP+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217       # Double quotes because CPP needs to be expanded
   4218     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4219     do
   4220       ac_preproc_ok=false
   4221 for ac_c_preproc_warn_flag in '' yes
   4222 do
   4223   # Use a header file that comes with gcc, so configuring glibc
   4224   # with a fresh cross-compiler works.
   4225   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4226   # <limits.h> exists even on freestanding compilers.
   4227   # On the NeXT, cc -E runs the code through the compiler's parser,
   4228   # not just through cpp. "Syntax error" is here to catch this case.
   4229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4230 /* end confdefs.h.  */
   4231 #ifdef __STDC__
   4232 # include <limits.h>
   4233 #else
   4234 # include <assert.h>
   4235 #endif
   4236 		     Syntax error
   4237 _ACEOF
   4238 if ac_fn_c_try_cpp "$LINENO"; then :
   4239 
   4240 else
   4241   # Broken: fails on valid input.
   4242 continue
   4243 fi
   4244 rm -f conftest.err conftest.i conftest.$ac_ext
   4245 
   4246   # OK, works on sane cases.  Now check whether nonexistent headers
   4247   # can be detected and how.
   4248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4249 /* end confdefs.h.  */
   4250 #include <ac_nonexistent.h>
   4251 _ACEOF
   4252 if ac_fn_c_try_cpp "$LINENO"; then :
   4253   # Broken: success on invalid input.
   4254 continue
   4255 else
   4256   # Passes both tests.
   4257 ac_preproc_ok=:
   4258 break
   4259 fi
   4260 rm -f conftest.err conftest.i conftest.$ac_ext
   4261 
   4262 done
   4263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4264 rm -f conftest.i conftest.err conftest.$ac_ext
   4265 if $ac_preproc_ok; then :
   4266   break
   4267 fi
   4268 
   4269     done
   4270     ac_cv_prog_CPP=$CPP
   4271 
   4272 fi
   4273   CPP=$ac_cv_prog_CPP
   4274 else
   4275   ac_cv_prog_CPP=$CPP
   4276 fi
   4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4278 $as_echo "$CPP" >&6; }
   4279 ac_preproc_ok=false
   4280 for ac_c_preproc_warn_flag in '' yes
   4281 do
   4282   # Use a header file that comes with gcc, so configuring glibc
   4283   # with a fresh cross-compiler works.
   4284   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4285   # <limits.h> exists even on freestanding compilers.
   4286   # On the NeXT, cc -E runs the code through the compiler's parser,
   4287   # not just through cpp. "Syntax error" is here to catch this case.
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 #ifdef __STDC__
   4291 # include <limits.h>
   4292 #else
   4293 # include <assert.h>
   4294 #endif
   4295 		     Syntax error
   4296 _ACEOF
   4297 if ac_fn_c_try_cpp "$LINENO"; then :
   4298 
   4299 else
   4300   # Broken: fails on valid input.
   4301 continue
   4302 fi
   4303 rm -f conftest.err conftest.i conftest.$ac_ext
   4304 
   4305   # OK, works on sane cases.  Now check whether nonexistent headers
   4306   # can be detected and how.
   4307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 #include <ac_nonexistent.h>
   4310 _ACEOF
   4311 if ac_fn_c_try_cpp "$LINENO"; then :
   4312   # Broken: success on invalid input.
   4313 continue
   4314 else
   4315   # Passes both tests.
   4316 ac_preproc_ok=:
   4317 break
   4318 fi
   4319 rm -f conftest.err conftest.i conftest.$ac_ext
   4320 
   4321 done
   4322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4323 rm -f conftest.i conftest.err conftest.$ac_ext
   4324 if $ac_preproc_ok; then :
   4325 
   4326 else
   4327   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4329 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4330 See \`config.log' for more details" "$LINENO" 5; }
   4331 fi
   4332 
   4333 ac_ext=c
   4334 ac_cpp='$CPP $CPPFLAGS'
   4335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4338 
   4339 
   4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4341 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4342 if ${ac_cv_path_GREP+:} false; then :
   4343   $as_echo_n "(cached) " >&6
   4344 else
   4345   if test -z "$GREP"; then
   4346   ac_path_GREP_found=false
   4347   # Loop through the user's path and test for each of PROGNAME-LIST
   4348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4350 do
   4351   IFS=$as_save_IFS
   4352   test -z "$as_dir" && as_dir=.
   4353     for ac_prog in grep ggrep; do
   4354     for ac_exec_ext in '' $ac_executable_extensions; do
   4355       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4356       as_fn_executable_p "$ac_path_GREP" || continue
   4357 # Check for GNU ac_path_GREP and select it if it is found.
   4358   # Check for GNU $ac_path_GREP
   4359 case `"$ac_path_GREP" --version 2>&1` in
   4360 *GNU*)
   4361   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4362 *)
   4363   ac_count=0
   4364   $as_echo_n 0123456789 >"conftest.in"
   4365   while :
   4366   do
   4367     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4368     mv "conftest.tmp" "conftest.in"
   4369     cp "conftest.in" "conftest.nl"
   4370     $as_echo 'GREP' >> "conftest.nl"
   4371     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4372     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4373     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4374     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4375       # Best one so far, save it but keep looking for a better one
   4376       ac_cv_path_GREP="$ac_path_GREP"
   4377       ac_path_GREP_max=$ac_count
   4378     fi
   4379     # 10*(2^10) chars as input seems more than enough
   4380     test $ac_count -gt 10 && break
   4381   done
   4382   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4383 esac
   4384 
   4385       $ac_path_GREP_found && break 3
   4386     done
   4387   done
   4388   done
   4389 IFS=$as_save_IFS
   4390   if test -z "$ac_cv_path_GREP"; then
   4391     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4392   fi
   4393 else
   4394   ac_cv_path_GREP=$GREP
   4395 fi
   4396 
   4397 fi
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4399 $as_echo "$ac_cv_path_GREP" >&6; }
   4400  GREP="$ac_cv_path_GREP"
   4401 
   4402 
   4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4404 $as_echo_n "checking for egrep... " >&6; }
   4405 if ${ac_cv_path_EGREP+:} false; then :
   4406   $as_echo_n "(cached) " >&6
   4407 else
   4408   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4409    then ac_cv_path_EGREP="$GREP -E"
   4410    else
   4411      if test -z "$EGREP"; then
   4412   ac_path_EGREP_found=false
   4413   # Loop through the user's path and test for each of PROGNAME-LIST
   4414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4416 do
   4417   IFS=$as_save_IFS
   4418   test -z "$as_dir" && as_dir=.
   4419     for ac_prog in egrep; do
   4420     for ac_exec_ext in '' $ac_executable_extensions; do
   4421       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4422       as_fn_executable_p "$ac_path_EGREP" || continue
   4423 # Check for GNU ac_path_EGREP and select it if it is found.
   4424   # Check for GNU $ac_path_EGREP
   4425 case `"$ac_path_EGREP" --version 2>&1` in
   4426 *GNU*)
   4427   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4428 *)
   4429   ac_count=0
   4430   $as_echo_n 0123456789 >"conftest.in"
   4431   while :
   4432   do
   4433     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4434     mv "conftest.tmp" "conftest.in"
   4435     cp "conftest.in" "conftest.nl"
   4436     $as_echo 'EGREP' >> "conftest.nl"
   4437     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4438     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4439     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4440     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4441       # Best one so far, save it but keep looking for a better one
   4442       ac_cv_path_EGREP="$ac_path_EGREP"
   4443       ac_path_EGREP_max=$ac_count
   4444     fi
   4445     # 10*(2^10) chars as input seems more than enough
   4446     test $ac_count -gt 10 && break
   4447   done
   4448   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4449 esac
   4450 
   4451       $ac_path_EGREP_found && break 3
   4452     done
   4453   done
   4454   done
   4455 IFS=$as_save_IFS
   4456   if test -z "$ac_cv_path_EGREP"; then
   4457     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4458   fi
   4459 else
   4460   ac_cv_path_EGREP=$EGREP
   4461 fi
   4462 
   4463    fi
   4464 fi
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4466 $as_echo "$ac_cv_path_EGREP" >&6; }
   4467  EGREP="$ac_cv_path_EGREP"
   4468 
   4469 
   4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4471 $as_echo_n "checking for ANSI C header files... " >&6; }
   4472 if ${ac_cv_header_stdc+:} false; then :
   4473   $as_echo_n "(cached) " >&6
   4474 else
   4475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4476 /* end confdefs.h.  */
   4477 #include <stdlib.h>
   4478 #include <stdarg.h>
   4479 #include <string.h>
   4480 #include <float.h>
   4481 
   4482 int
   4483 main ()
   4484 {
   4485 
   4486   ;
   4487   return 0;
   4488 }
   4489 _ACEOF
   4490 if ac_fn_c_try_compile "$LINENO"; then :
   4491   ac_cv_header_stdc=yes
   4492 else
   4493   ac_cv_header_stdc=no
   4494 fi
   4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4496 
   4497 if test $ac_cv_header_stdc = yes; then
   4498   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4500 /* end confdefs.h.  */
   4501 #include <string.h>
   4502 
   4503 _ACEOF
   4504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4505   $EGREP "memchr" >/dev/null 2>&1; then :
   4506 
   4507 else
   4508   ac_cv_header_stdc=no
   4509 fi
   4510 rm -f conftest*
   4511 
   4512 fi
   4513 
   4514 if test $ac_cv_header_stdc = yes; then
   4515   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 #include <stdlib.h>
   4519 
   4520 _ACEOF
   4521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4522   $EGREP "free" >/dev/null 2>&1; then :
   4523 
   4524 else
   4525   ac_cv_header_stdc=no
   4526 fi
   4527 rm -f conftest*
   4528 
   4529 fi
   4530 
   4531 if test $ac_cv_header_stdc = yes; then
   4532   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4533   if test "$cross_compiling" = yes; then :
   4534   :
   4535 else
   4536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4537 /* end confdefs.h.  */
   4538 #include <ctype.h>
   4539 #include <stdlib.h>
   4540 #if ((' ' & 0x0FF) == 0x020)
   4541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4543 #else
   4544 # define ISLOWER(c) \
   4545 		   (('a' <= (c) && (c) <= 'i') \
   4546 		     || ('j' <= (c) && (c) <= 'r') \
   4547 		     || ('s' <= (c) && (c) <= 'z'))
   4548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4549 #endif
   4550 
   4551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4552 int
   4553 main ()
   4554 {
   4555   int i;
   4556   for (i = 0; i < 256; i++)
   4557     if (XOR (islower (i), ISLOWER (i))
   4558 	|| toupper (i) != TOUPPER (i))
   4559       return 2;
   4560   return 0;
   4561 }
   4562 _ACEOF
   4563 if ac_fn_c_try_run "$LINENO"; then :
   4564 
   4565 else
   4566   ac_cv_header_stdc=no
   4567 fi
   4568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4569   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4570 fi
   4571 
   4572 fi
   4573 fi
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4575 $as_echo "$ac_cv_header_stdc" >&6; }
   4576 if test $ac_cv_header_stdc = yes; then
   4577 
   4578 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4579 
   4580 fi
   4581 
   4582 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4583 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4584 		  inttypes.h stdint.h unistd.h
   4585 do :
   4586   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4588 "
   4589 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4590   cat >>confdefs.h <<_ACEOF
   4591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4592 _ACEOF
   4593 
   4594 fi
   4595 
   4596 done
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4604 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4605   CLANGCC="yes"
   4606 else
   4607   CLANGCC="no"
   4608 fi
   4609 
   4610 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4611 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4612   INTELCC="yes"
   4613 else
   4614   INTELCC="no"
   4615 fi
   4616 
   4617 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4618 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4619   SUNCC="yes"
   4620 else
   4621   SUNCC="no"
   4622 fi
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4633 	if test -n "$ac_tool_prefix"; then
   4634   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4635 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4637 $as_echo_n "checking for $ac_word... " >&6; }
   4638 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641   case $PKG_CONFIG in
   4642   [\\/]* | ?:[\\/]*)
   4643   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4644   ;;
   4645   *)
   4646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4647 for as_dir in $PATH
   4648 do
   4649   IFS=$as_save_IFS
   4650   test -z "$as_dir" && as_dir=.
   4651     for ac_exec_ext in '' $ac_executable_extensions; do
   4652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4653     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4655     break 2
   4656   fi
   4657 done
   4658   done
   4659 IFS=$as_save_IFS
   4660 
   4661   ;;
   4662 esac
   4663 fi
   4664 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4665 if test -n "$PKG_CONFIG"; then
   4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4667 $as_echo "$PKG_CONFIG" >&6; }
   4668 else
   4669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4670 $as_echo "no" >&6; }
   4671 fi
   4672 
   4673 
   4674 fi
   4675 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4676   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4677   # Extract the first word of "pkg-config", so it can be a program name with args.
   4678 set dummy pkg-config; ac_word=$2
   4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4680 $as_echo_n "checking for $ac_word... " >&6; }
   4681 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4682   $as_echo_n "(cached) " >&6
   4683 else
   4684   case $ac_pt_PKG_CONFIG in
   4685   [\\/]* | ?:[\\/]*)
   4686   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4687   ;;
   4688   *)
   4689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4690 for as_dir in $PATH
   4691 do
   4692   IFS=$as_save_IFS
   4693   test -z "$as_dir" && as_dir=.
   4694     for ac_exec_ext in '' $ac_executable_extensions; do
   4695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4696     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4698     break 2
   4699   fi
   4700 done
   4701   done
   4702 IFS=$as_save_IFS
   4703 
   4704   ;;
   4705 esac
   4706 fi
   4707 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4708 if test -n "$ac_pt_PKG_CONFIG"; then
   4709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4710 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4711 else
   4712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4713 $as_echo "no" >&6; }
   4714 fi
   4715 
   4716   if test "x$ac_pt_PKG_CONFIG" = x; then
   4717     PKG_CONFIG=""
   4718   else
   4719     case $cross_compiling:$ac_tool_warned in
   4720 yes:)
   4721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4723 ac_tool_warned=yes ;;
   4724 esac
   4725     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4726   fi
   4727 else
   4728   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4729 fi
   4730 
   4731 fi
   4732 if test -n "$PKG_CONFIG"; then
   4733 	_pkg_min_version=0.9.0
   4734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4735 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4736 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4738 $as_echo "yes" >&6; }
   4739 	else
   4740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4741 $as_echo "no" >&6; }
   4742 		PKG_CONFIG=""
   4743 	fi
   4744 fi
   4745 # Make sure we can run config.sub.
   4746 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4747   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4748 
   4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4750 $as_echo_n "checking build system type... " >&6; }
   4751 if ${ac_cv_build+:} false; then :
   4752   $as_echo_n "(cached) " >&6
   4753 else
   4754   ac_build_alias=$build_alias
   4755 test "x$ac_build_alias" = x &&
   4756   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4757 test "x$ac_build_alias" = x &&
   4758   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4759 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4760   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4761 
   4762 fi
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4764 $as_echo "$ac_cv_build" >&6; }
   4765 case $ac_cv_build in
   4766 *-*-*) ;;
   4767 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4768 esac
   4769 build=$ac_cv_build
   4770 ac_save_IFS=$IFS; IFS='-'
   4771 set x $ac_cv_build
   4772 shift
   4773 build_cpu=$1
   4774 build_vendor=$2
   4775 shift; shift
   4776 # Remember, the first character of IFS is used to create $*,
   4777 # except with old shells:
   4778 build_os=$*
   4779 IFS=$ac_save_IFS
   4780 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4781 
   4782 
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4784 $as_echo_n "checking host system type... " >&6; }
   4785 if ${ac_cv_host+:} false; then :
   4786   $as_echo_n "(cached) " >&6
   4787 else
   4788   if test "x$host_alias" = x; then
   4789   ac_cv_host=$ac_cv_build
   4790 else
   4791   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4792     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4793 fi
   4794 
   4795 fi
   4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4797 $as_echo "$ac_cv_host" >&6; }
   4798 case $ac_cv_host in
   4799 *-*-*) ;;
   4800 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4801 esac
   4802 host=$ac_cv_host
   4803 ac_save_IFS=$IFS; IFS='-'
   4804 set x $ac_cv_host
   4805 shift
   4806 host_cpu=$1
   4807 host_vendor=$2
   4808 shift; shift
   4809 # Remember, the first character of IFS is used to create $*,
   4810 # except with old shells:
   4811 host_os=$*
   4812 IFS=$ac_save_IFS
   4813 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4814 
   4815 
   4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4817 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4818 if ${ac_cv_path_SED+:} false; then :
   4819   $as_echo_n "(cached) " >&6
   4820 else
   4821             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4822      for ac_i in 1 2 3 4 5 6 7; do
   4823        ac_script="$ac_script$as_nl$ac_script"
   4824      done
   4825      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4826      { ac_script=; unset ac_script;}
   4827      if test -z "$SED"; then
   4828   ac_path_SED_found=false
   4829   # Loop through the user's path and test for each of PROGNAME-LIST
   4830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4831 for as_dir in $PATH
   4832 do
   4833   IFS=$as_save_IFS
   4834   test -z "$as_dir" && as_dir=.
   4835     for ac_prog in sed gsed; do
   4836     for ac_exec_ext in '' $ac_executable_extensions; do
   4837       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4838       as_fn_executable_p "$ac_path_SED" || continue
   4839 # Check for GNU ac_path_SED and select it if it is found.
   4840   # Check for GNU $ac_path_SED
   4841 case `"$ac_path_SED" --version 2>&1` in
   4842 *GNU*)
   4843   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4844 *)
   4845   ac_count=0
   4846   $as_echo_n 0123456789 >"conftest.in"
   4847   while :
   4848   do
   4849     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4850     mv "conftest.tmp" "conftest.in"
   4851     cp "conftest.in" "conftest.nl"
   4852     $as_echo '' >> "conftest.nl"
   4853     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4854     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4855     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4856     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4857       # Best one so far, save it but keep looking for a better one
   4858       ac_cv_path_SED="$ac_path_SED"
   4859       ac_path_SED_max=$ac_count
   4860     fi
   4861     # 10*(2^10) chars as input seems more than enough
   4862     test $ac_count -gt 10 && break
   4863   done
   4864   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4865 esac
   4866 
   4867       $ac_path_SED_found && break 3
   4868     done
   4869   done
   4870   done
   4871 IFS=$as_save_IFS
   4872   if test -z "$ac_cv_path_SED"; then
   4873     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4874   fi
   4875 else
   4876   ac_cv_path_SED=$SED
   4877 fi
   4878 
   4879 fi
   4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4881 $as_echo "$ac_cv_path_SED" >&6; }
   4882  SED="$ac_cv_path_SED"
   4883   rm -f conftest.sed
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 # Check whether --enable-selective-werror was given.
   4891 if test "${enable_selective_werror+set}" = set; then :
   4892   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4893 else
   4894   SELECTIVE_WERROR=yes
   4895 fi
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4902 if test "x$SUNCC" = "xyes"; then
   4903     BASE_CFLAGS="-v"
   4904 else
   4905     BASE_CFLAGS=""
   4906 fi
   4907 
   4908 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 xorg_testset_save_CFLAGS="$CFLAGS"
   4923 
   4924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4927 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4928 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4929   $as_echo_n "(cached) " >&6
   4930 else
   4931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4932 /* end confdefs.h.  */
   4933 int i;
   4934 _ACEOF
   4935 if ac_fn_c_try_compile "$LINENO"; then :
   4936   xorg_cv_cc_flag_unknown_warning_option=yes
   4937 else
   4938   xorg_cv_cc_flag_unknown_warning_option=no
   4939 fi
   4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4941 fi
   4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4943 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4945 	CFLAGS="$xorg_testset_save_CFLAGS"
   4946 fi
   4947 
   4948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4951 	fi
   4952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4954 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4955 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4956   $as_echo_n "(cached) " >&6
   4957 else
   4958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4959 /* end confdefs.h.  */
   4960 int i;
   4961 _ACEOF
   4962 if ac_fn_c_try_compile "$LINENO"; then :
   4963   xorg_cv_cc_flag_unused_command_line_argument=yes
   4964 else
   4965   xorg_cv_cc_flag_unused_command_line_argument=no
   4966 fi
   4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4968 fi
   4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4970 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4972 	CFLAGS="$xorg_testset_save_CFLAGS"
   4973 fi
   4974 
   4975 found="no"
   4976 
   4977 	if test $found = "no" ; then
   4978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4980 		fi
   4981 
   4982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4984 		fi
   4985 
   4986 		CFLAGS="$CFLAGS -Wall"
   4987 
   4988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4989 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4990 		cacheid=xorg_cv_cc_flag__Wall
   4991 		if eval \${$cacheid+:} false; then :
   4992   $as_echo_n "(cached) " >&6
   4993 else
   4994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4995 /* end confdefs.h.  */
   4996 int i;
   4997 int
   4998 main ()
   4999 {
   5000 
   5001   ;
   5002   return 0;
   5003 }
   5004 _ACEOF
   5005 if ac_fn_c_try_link "$LINENO"; then :
   5006   eval $cacheid=yes
   5007 else
   5008   eval $cacheid=no
   5009 fi
   5010 rm -f core conftest.err conftest.$ac_objext \
   5011     conftest$ac_exeext conftest.$ac_ext
   5012 fi
   5013 
   5014 
   5015 		CFLAGS="$xorg_testset_save_CFLAGS"
   5016 
   5017 		eval supported=\$$cacheid
   5018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5019 $as_echo "$supported" >&6; }
   5020 		if test "$supported" = "yes" ; then
   5021 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5022 			found="yes"
   5023 		fi
   5024 	fi
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 xorg_testset_save_CFLAGS="$CFLAGS"
   5041 
   5042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5047   $as_echo_n "(cached) " >&6
   5048 else
   5049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5050 /* end confdefs.h.  */
   5051 int i;
   5052 _ACEOF
   5053 if ac_fn_c_try_compile "$LINENO"; then :
   5054   xorg_cv_cc_flag_unknown_warning_option=yes
   5055 else
   5056   xorg_cv_cc_flag_unknown_warning_option=no
   5057 fi
   5058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5059 fi
   5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5063 	CFLAGS="$xorg_testset_save_CFLAGS"
   5064 fi
   5065 
   5066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5069 	fi
   5070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5074   $as_echo_n "(cached) " >&6
   5075 else
   5076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5077 /* end confdefs.h.  */
   5078 int i;
   5079 _ACEOF
   5080 if ac_fn_c_try_compile "$LINENO"; then :
   5081   xorg_cv_cc_flag_unused_command_line_argument=yes
   5082 else
   5083   xorg_cv_cc_flag_unused_command_line_argument=no
   5084 fi
   5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5086 fi
   5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5090 	CFLAGS="$xorg_testset_save_CFLAGS"
   5091 fi
   5092 
   5093 found="no"
   5094 
   5095 	if test $found = "no" ; then
   5096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 		fi
   5099 
   5100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5102 		fi
   5103 
   5104 		CFLAGS="$CFLAGS -Wpointer-arith"
   5105 
   5106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5107 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5108 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5109 		if eval \${$cacheid+:} false; then :
   5110   $as_echo_n "(cached) " >&6
   5111 else
   5112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5113 /* end confdefs.h.  */
   5114 int i;
   5115 int
   5116 main ()
   5117 {
   5118 
   5119   ;
   5120   return 0;
   5121 }
   5122 _ACEOF
   5123 if ac_fn_c_try_link "$LINENO"; then :
   5124   eval $cacheid=yes
   5125 else
   5126   eval $cacheid=no
   5127 fi
   5128 rm -f core conftest.err conftest.$ac_objext \
   5129     conftest$ac_exeext conftest.$ac_ext
   5130 fi
   5131 
   5132 
   5133 		CFLAGS="$xorg_testset_save_CFLAGS"
   5134 
   5135 		eval supported=\$$cacheid
   5136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5137 $as_echo "$supported" >&6; }
   5138 		if test "$supported" = "yes" ; then
   5139 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5140 			found="yes"
   5141 		fi
   5142 	fi
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 xorg_testset_save_CFLAGS="$CFLAGS"
   5159 
   5160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5165   $as_echo_n "(cached) " >&6
   5166 else
   5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5168 /* end confdefs.h.  */
   5169 int i;
   5170 _ACEOF
   5171 if ac_fn_c_try_compile "$LINENO"; then :
   5172   xorg_cv_cc_flag_unknown_warning_option=yes
   5173 else
   5174   xorg_cv_cc_flag_unknown_warning_option=no
   5175 fi
   5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5177 fi
   5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5181 	CFLAGS="$xorg_testset_save_CFLAGS"
   5182 fi
   5183 
   5184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 	fi
   5188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5192   $as_echo_n "(cached) " >&6
   5193 else
   5194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 int i;
   5197 _ACEOF
   5198 if ac_fn_c_try_compile "$LINENO"; then :
   5199   xorg_cv_cc_flag_unused_command_line_argument=yes
   5200 else
   5201   xorg_cv_cc_flag_unused_command_line_argument=no
   5202 fi
   5203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5204 fi
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5208 	CFLAGS="$xorg_testset_save_CFLAGS"
   5209 fi
   5210 
   5211 found="no"
   5212 
   5213 	if test $found = "no" ; then
   5214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5216 		fi
   5217 
   5218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5220 		fi
   5221 
   5222 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5223 
   5224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5225 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5226 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5227 		if eval \${$cacheid+:} false; then :
   5228   $as_echo_n "(cached) " >&6
   5229 else
   5230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5231 /* end confdefs.h.  */
   5232 int i;
   5233 int
   5234 main ()
   5235 {
   5236 
   5237   ;
   5238   return 0;
   5239 }
   5240 _ACEOF
   5241 if ac_fn_c_try_link "$LINENO"; then :
   5242   eval $cacheid=yes
   5243 else
   5244   eval $cacheid=no
   5245 fi
   5246 rm -f core conftest.err conftest.$ac_objext \
   5247     conftest$ac_exeext conftest.$ac_ext
   5248 fi
   5249 
   5250 
   5251 		CFLAGS="$xorg_testset_save_CFLAGS"
   5252 
   5253 		eval supported=\$$cacheid
   5254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5255 $as_echo "$supported" >&6; }
   5256 		if test "$supported" = "yes" ; then
   5257 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5258 			found="yes"
   5259 		fi
   5260 	fi
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 xorg_testset_save_CFLAGS="$CFLAGS"
   5277 
   5278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5283   $as_echo_n "(cached) " >&6
   5284 else
   5285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5286 /* end confdefs.h.  */
   5287 int i;
   5288 _ACEOF
   5289 if ac_fn_c_try_compile "$LINENO"; then :
   5290   xorg_cv_cc_flag_unknown_warning_option=yes
   5291 else
   5292   xorg_cv_cc_flag_unknown_warning_option=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5295 fi
   5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5299 	CFLAGS="$xorg_testset_save_CFLAGS"
   5300 fi
   5301 
   5302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5305 	fi
   5306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5310   $as_echo_n "(cached) " >&6
   5311 else
   5312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5313 /* end confdefs.h.  */
   5314 int i;
   5315 _ACEOF
   5316 if ac_fn_c_try_compile "$LINENO"; then :
   5317   xorg_cv_cc_flag_unused_command_line_argument=yes
   5318 else
   5319   xorg_cv_cc_flag_unused_command_line_argument=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5322 fi
   5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5326 	CFLAGS="$xorg_testset_save_CFLAGS"
   5327 fi
   5328 
   5329 found="no"
   5330 
   5331 	if test $found = "no" ; then
   5332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 		fi
   5335 
   5336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 		fi
   5339 
   5340 		CFLAGS="$CFLAGS -Wformat=2"
   5341 
   5342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5343 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5344 		cacheid=xorg_cv_cc_flag__Wformat_2
   5345 		if eval \${$cacheid+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 int
   5352 main ()
   5353 {
   5354 
   5355   ;
   5356   return 0;
   5357 }
   5358 _ACEOF
   5359 if ac_fn_c_try_link "$LINENO"; then :
   5360   eval $cacheid=yes
   5361 else
   5362   eval $cacheid=no
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext \
   5365     conftest$ac_exeext conftest.$ac_ext
   5366 fi
   5367 
   5368 
   5369 		CFLAGS="$xorg_testset_save_CFLAGS"
   5370 
   5371 		eval supported=\$$cacheid
   5372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5373 $as_echo "$supported" >&6; }
   5374 		if test "$supported" = "yes" ; then
   5375 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5376 			found="yes"
   5377 		fi
   5378 	fi
   5379 
   5380 	if test $found = "no" ; then
   5381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 		fi
   5384 
   5385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5387 		fi
   5388 
   5389 		CFLAGS="$CFLAGS -Wformat"
   5390 
   5391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5392 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5393 		cacheid=xorg_cv_cc_flag__Wformat
   5394 		if eval \${$cacheid+:} false; then :
   5395   $as_echo_n "(cached) " >&6
   5396 else
   5397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5398 /* end confdefs.h.  */
   5399 int i;
   5400 int
   5401 main ()
   5402 {
   5403 
   5404   ;
   5405   return 0;
   5406 }
   5407 _ACEOF
   5408 if ac_fn_c_try_link "$LINENO"; then :
   5409   eval $cacheid=yes
   5410 else
   5411   eval $cacheid=no
   5412 fi
   5413 rm -f core conftest.err conftest.$ac_objext \
   5414     conftest$ac_exeext conftest.$ac_ext
   5415 fi
   5416 
   5417 
   5418 		CFLAGS="$xorg_testset_save_CFLAGS"
   5419 
   5420 		eval supported=\$$cacheid
   5421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5422 $as_echo "$supported" >&6; }
   5423 		if test "$supported" = "yes" ; then
   5424 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5425 			found="yes"
   5426 		fi
   5427 	fi
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 xorg_testset_save_CFLAGS="$CFLAGS"
   5446 
   5447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5452   $as_echo_n "(cached) " >&6
   5453 else
   5454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5455 /* end confdefs.h.  */
   5456 int i;
   5457 _ACEOF
   5458 if ac_fn_c_try_compile "$LINENO"; then :
   5459   xorg_cv_cc_flag_unknown_warning_option=yes
   5460 else
   5461   xorg_cv_cc_flag_unknown_warning_option=no
   5462 fi
   5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5464 fi
   5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5468 	CFLAGS="$xorg_testset_save_CFLAGS"
   5469 fi
   5470 
   5471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5474 	fi
   5475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5479   $as_echo_n "(cached) " >&6
   5480 else
   5481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 int i;
   5484 _ACEOF
   5485 if ac_fn_c_try_compile "$LINENO"; then :
   5486   xorg_cv_cc_flag_unused_command_line_argument=yes
   5487 else
   5488   xorg_cv_cc_flag_unused_command_line_argument=no
   5489 fi
   5490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5491 fi
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5495 	CFLAGS="$xorg_testset_save_CFLAGS"
   5496 fi
   5497 
   5498 found="no"
   5499 
   5500 	if test $found = "no" ; then
   5501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5503 		fi
   5504 
   5505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5507 		fi
   5508 
   5509 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5510 
   5511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5512 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5513 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5514 		if eval \${$cacheid+:} false; then :
   5515   $as_echo_n "(cached) " >&6
   5516 else
   5517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5518 /* end confdefs.h.  */
   5519 int i;
   5520 int
   5521 main ()
   5522 {
   5523 
   5524   ;
   5525   return 0;
   5526 }
   5527 _ACEOF
   5528 if ac_fn_c_try_link "$LINENO"; then :
   5529   eval $cacheid=yes
   5530 else
   5531   eval $cacheid=no
   5532 fi
   5533 rm -f core conftest.err conftest.$ac_objext \
   5534     conftest$ac_exeext conftest.$ac_ext
   5535 fi
   5536 
   5537 
   5538 		CFLAGS="$xorg_testset_save_CFLAGS"
   5539 
   5540 		eval supported=\$$cacheid
   5541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5542 $as_echo "$supported" >&6; }
   5543 		if test "$supported" = "yes" ; then
   5544 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5545 			found="yes"
   5546 		fi
   5547 	fi
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 xorg_testset_save_CFLAGS="$CFLAGS"
   5564 
   5565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5568 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5569 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5570   $as_echo_n "(cached) " >&6
   5571 else
   5572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5573 /* end confdefs.h.  */
   5574 int i;
   5575 _ACEOF
   5576 if ac_fn_c_try_compile "$LINENO"; then :
   5577   xorg_cv_cc_flag_unknown_warning_option=yes
   5578 else
   5579   xorg_cv_cc_flag_unknown_warning_option=no
   5580 fi
   5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5582 fi
   5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5584 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5586 	CFLAGS="$xorg_testset_save_CFLAGS"
   5587 fi
   5588 
   5589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5592 	fi
   5593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5595 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5596 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5600 /* end confdefs.h.  */
   5601 int i;
   5602 _ACEOF
   5603 if ac_fn_c_try_compile "$LINENO"; then :
   5604   xorg_cv_cc_flag_unused_command_line_argument=yes
   5605 else
   5606   xorg_cv_cc_flag_unused_command_line_argument=no
   5607 fi
   5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5609 fi
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5611 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5613 	CFLAGS="$xorg_testset_save_CFLAGS"
   5614 fi
   5615 
   5616 found="no"
   5617 
   5618 	if test $found = "no" ; then
   5619 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5621 		fi
   5622 
   5623 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5625 		fi
   5626 
   5627 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5628 
   5629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5630 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5631 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5632 		if eval \${$cacheid+:} false; then :
   5633   $as_echo_n "(cached) " >&6
   5634 else
   5635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5636 /* end confdefs.h.  */
   5637 int i;
   5638 int
   5639 main ()
   5640 {
   5641 
   5642   ;
   5643   return 0;
   5644 }
   5645 _ACEOF
   5646 if ac_fn_c_try_link "$LINENO"; then :
   5647   eval $cacheid=yes
   5648 else
   5649   eval $cacheid=no
   5650 fi
   5651 rm -f core conftest.err conftest.$ac_objext \
   5652     conftest$ac_exeext conftest.$ac_ext
   5653 fi
   5654 
   5655 
   5656 		CFLAGS="$xorg_testset_save_CFLAGS"
   5657 
   5658 		eval supported=\$$cacheid
   5659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5660 $as_echo "$supported" >&6; }
   5661 		if test "$supported" = "yes" ; then
   5662 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5663 			found="yes"
   5664 		fi
   5665 	fi
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 xorg_testset_save_CFLAGS="$CFLAGS"
   5682 
   5683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5688   $as_echo_n "(cached) " >&6
   5689 else
   5690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5691 /* end confdefs.h.  */
   5692 int i;
   5693 _ACEOF
   5694 if ac_fn_c_try_compile "$LINENO"; then :
   5695   xorg_cv_cc_flag_unknown_warning_option=yes
   5696 else
   5697   xorg_cv_cc_flag_unknown_warning_option=no
   5698 fi
   5699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5700 fi
   5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5704 	CFLAGS="$xorg_testset_save_CFLAGS"
   5705 fi
   5706 
   5707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5710 	fi
   5711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5715   $as_echo_n "(cached) " >&6
   5716 else
   5717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 _ACEOF
   5721 if ac_fn_c_try_compile "$LINENO"; then :
   5722   xorg_cv_cc_flag_unused_command_line_argument=yes
   5723 else
   5724   xorg_cv_cc_flag_unused_command_line_argument=no
   5725 fi
   5726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5727 fi
   5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5731 	CFLAGS="$xorg_testset_save_CFLAGS"
   5732 fi
   5733 
   5734 found="no"
   5735 
   5736 	if test $found = "no" ; then
   5737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5739 		fi
   5740 
   5741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5743 		fi
   5744 
   5745 		CFLAGS="$CFLAGS -Wnested-externs"
   5746 
   5747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5748 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5749 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5750 		if eval \${$cacheid+:} false; then :
   5751   $as_echo_n "(cached) " >&6
   5752 else
   5753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5754 /* end confdefs.h.  */
   5755 int i;
   5756 int
   5757 main ()
   5758 {
   5759 
   5760   ;
   5761   return 0;
   5762 }
   5763 _ACEOF
   5764 if ac_fn_c_try_link "$LINENO"; then :
   5765   eval $cacheid=yes
   5766 else
   5767   eval $cacheid=no
   5768 fi
   5769 rm -f core conftest.err conftest.$ac_objext \
   5770     conftest$ac_exeext conftest.$ac_ext
   5771 fi
   5772 
   5773 
   5774 		CFLAGS="$xorg_testset_save_CFLAGS"
   5775 
   5776 		eval supported=\$$cacheid
   5777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5778 $as_echo "$supported" >&6; }
   5779 		if test "$supported" = "yes" ; then
   5780 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5781 			found="yes"
   5782 		fi
   5783 	fi
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 xorg_testset_save_CFLAGS="$CFLAGS"
   5800 
   5801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5806   $as_echo_n "(cached) " >&6
   5807 else
   5808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5809 /* end confdefs.h.  */
   5810 int i;
   5811 _ACEOF
   5812 if ac_fn_c_try_compile "$LINENO"; then :
   5813   xorg_cv_cc_flag_unknown_warning_option=yes
   5814 else
   5815   xorg_cv_cc_flag_unknown_warning_option=no
   5816 fi
   5817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5818 fi
   5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5822 	CFLAGS="$xorg_testset_save_CFLAGS"
   5823 fi
   5824 
   5825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5828 	fi
   5829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5833   $as_echo_n "(cached) " >&6
   5834 else
   5835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5836 /* end confdefs.h.  */
   5837 int i;
   5838 _ACEOF
   5839 if ac_fn_c_try_compile "$LINENO"; then :
   5840   xorg_cv_cc_flag_unused_command_line_argument=yes
   5841 else
   5842   xorg_cv_cc_flag_unused_command_line_argument=no
   5843 fi
   5844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5845 fi
   5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5849 	CFLAGS="$xorg_testset_save_CFLAGS"
   5850 fi
   5851 
   5852 found="no"
   5853 
   5854 	if test $found = "no" ; then
   5855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5857 		fi
   5858 
   5859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5861 		fi
   5862 
   5863 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5864 
   5865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5866 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5867 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5868 		if eval \${$cacheid+:} false; then :
   5869   $as_echo_n "(cached) " >&6
   5870 else
   5871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5872 /* end confdefs.h.  */
   5873 int i;
   5874 int
   5875 main ()
   5876 {
   5877 
   5878   ;
   5879   return 0;
   5880 }
   5881 _ACEOF
   5882 if ac_fn_c_try_link "$LINENO"; then :
   5883   eval $cacheid=yes
   5884 else
   5885   eval $cacheid=no
   5886 fi
   5887 rm -f core conftest.err conftest.$ac_objext \
   5888     conftest$ac_exeext conftest.$ac_ext
   5889 fi
   5890 
   5891 
   5892 		CFLAGS="$xorg_testset_save_CFLAGS"
   5893 
   5894 		eval supported=\$$cacheid
   5895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5896 $as_echo "$supported" >&6; }
   5897 		if test "$supported" = "yes" ; then
   5898 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5899 			found="yes"
   5900 		fi
   5901 	fi
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 xorg_testset_save_CFLAGS="$CFLAGS"
   5918 
   5919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5924   $as_echo_n "(cached) " >&6
   5925 else
   5926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5927 /* end confdefs.h.  */
   5928 int i;
   5929 _ACEOF
   5930 if ac_fn_c_try_compile "$LINENO"; then :
   5931   xorg_cv_cc_flag_unknown_warning_option=yes
   5932 else
   5933   xorg_cv_cc_flag_unknown_warning_option=no
   5934 fi
   5935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5936 fi
   5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5940 	CFLAGS="$xorg_testset_save_CFLAGS"
   5941 fi
   5942 
   5943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 	fi
   5947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5951   $as_echo_n "(cached) " >&6
   5952 else
   5953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5954 /* end confdefs.h.  */
   5955 int i;
   5956 _ACEOF
   5957 if ac_fn_c_try_compile "$LINENO"; then :
   5958   xorg_cv_cc_flag_unused_command_line_argument=yes
   5959 else
   5960   xorg_cv_cc_flag_unused_command_line_argument=no
   5961 fi
   5962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5963 fi
   5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5967 	CFLAGS="$xorg_testset_save_CFLAGS"
   5968 fi
   5969 
   5970 found="no"
   5971 
   5972 	if test $found = "no" ; then
   5973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 		fi
   5976 
   5977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 		fi
   5980 
   5981 		CFLAGS="$CFLAGS -Wold-style-definition"
   5982 
   5983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5984 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5985 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5986 		if eval \${$cacheid+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 int
   5993 main ()
   5994 {
   5995 
   5996   ;
   5997   return 0;
   5998 }
   5999 _ACEOF
   6000 if ac_fn_c_try_link "$LINENO"; then :
   6001   eval $cacheid=yes
   6002 else
   6003   eval $cacheid=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext \
   6006     conftest$ac_exeext conftest.$ac_ext
   6007 fi
   6008 
   6009 
   6010 		CFLAGS="$xorg_testset_save_CFLAGS"
   6011 
   6012 		eval supported=\$$cacheid
   6013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6014 $as_echo "$supported" >&6; }
   6015 		if test "$supported" = "yes" ; then
   6016 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6017 			found="yes"
   6018 		fi
   6019 	fi
   6020 
   6021 	if test $found = "no" ; then
   6022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6024 		fi
   6025 
   6026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6028 		fi
   6029 
   6030 		CFLAGS="$CFLAGS -fd"
   6031 
   6032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6033 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6034 		cacheid=xorg_cv_cc_flag__fd
   6035 		if eval \${$cacheid+:} false; then :
   6036   $as_echo_n "(cached) " >&6
   6037 else
   6038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6039 /* end confdefs.h.  */
   6040 int i;
   6041 int
   6042 main ()
   6043 {
   6044 
   6045   ;
   6046   return 0;
   6047 }
   6048 _ACEOF
   6049 if ac_fn_c_try_link "$LINENO"; then :
   6050   eval $cacheid=yes
   6051 else
   6052   eval $cacheid=no
   6053 fi
   6054 rm -f core conftest.err conftest.$ac_objext \
   6055     conftest$ac_exeext conftest.$ac_ext
   6056 fi
   6057 
   6058 
   6059 		CFLAGS="$xorg_testset_save_CFLAGS"
   6060 
   6061 		eval supported=\$$cacheid
   6062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6063 $as_echo "$supported" >&6; }
   6064 		if test "$supported" = "yes" ; then
   6065 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6066 			found="yes"
   6067 		fi
   6068 	fi
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 xorg_testset_save_CFLAGS="$CFLAGS"
   6085 
   6086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6094 /* end confdefs.h.  */
   6095 int i;
   6096 _ACEOF
   6097 if ac_fn_c_try_compile "$LINENO"; then :
   6098   xorg_cv_cc_flag_unknown_warning_option=yes
   6099 else
   6100   xorg_cv_cc_flag_unknown_warning_option=no
   6101 fi
   6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6103 fi
   6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6107 	CFLAGS="$xorg_testset_save_CFLAGS"
   6108 fi
   6109 
   6110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6113 	fi
   6114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6121 /* end confdefs.h.  */
   6122 int i;
   6123 _ACEOF
   6124 if ac_fn_c_try_compile "$LINENO"; then :
   6125   xorg_cv_cc_flag_unused_command_line_argument=yes
   6126 else
   6127   xorg_cv_cc_flag_unused_command_line_argument=no
   6128 fi
   6129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6130 fi
   6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6134 	CFLAGS="$xorg_testset_save_CFLAGS"
   6135 fi
   6136 
   6137 found="no"
   6138 
   6139 	if test $found = "no" ; then
   6140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6142 		fi
   6143 
   6144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6146 		fi
   6147 
   6148 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6149 
   6150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6151 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6152 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6153 		if eval \${$cacheid+:} false; then :
   6154   $as_echo_n "(cached) " >&6
   6155 else
   6156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 int
   6160 main ()
   6161 {
   6162 
   6163   ;
   6164   return 0;
   6165 }
   6166 _ACEOF
   6167 if ac_fn_c_try_link "$LINENO"; then :
   6168   eval $cacheid=yes
   6169 else
   6170   eval $cacheid=no
   6171 fi
   6172 rm -f core conftest.err conftest.$ac_objext \
   6173     conftest$ac_exeext conftest.$ac_ext
   6174 fi
   6175 
   6176 
   6177 		CFLAGS="$xorg_testset_save_CFLAGS"
   6178 
   6179 		eval supported=\$$cacheid
   6180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6181 $as_echo "$supported" >&6; }
   6182 		if test "$supported" = "yes" ; then
   6183 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6184 			found="yes"
   6185 		fi
   6186 	fi
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 # This chunk adds additional warnings that could catch undesired effects.
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 xorg_testset_save_CFLAGS="$CFLAGS"
   6207 
   6208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6213   $as_echo_n "(cached) " >&6
   6214 else
   6215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6216 /* end confdefs.h.  */
   6217 int i;
   6218 _ACEOF
   6219 if ac_fn_c_try_compile "$LINENO"; then :
   6220   xorg_cv_cc_flag_unknown_warning_option=yes
   6221 else
   6222   xorg_cv_cc_flag_unknown_warning_option=no
   6223 fi
   6224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6225 fi
   6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6229 	CFLAGS="$xorg_testset_save_CFLAGS"
   6230 fi
   6231 
   6232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6235 	fi
   6236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 _ACEOF
   6246 if ac_fn_c_try_compile "$LINENO"; then :
   6247   xorg_cv_cc_flag_unused_command_line_argument=yes
   6248 else
   6249   xorg_cv_cc_flag_unused_command_line_argument=no
   6250 fi
   6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6252 fi
   6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6256 	CFLAGS="$xorg_testset_save_CFLAGS"
   6257 fi
   6258 
   6259 found="no"
   6260 
   6261 	if test $found = "no" ; then
   6262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6264 		fi
   6265 
   6266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6268 		fi
   6269 
   6270 		CFLAGS="$CFLAGS -Wunused"
   6271 
   6272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6273 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6274 		cacheid=xorg_cv_cc_flag__Wunused
   6275 		if eval \${$cacheid+:} false; then :
   6276   $as_echo_n "(cached) " >&6
   6277 else
   6278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6279 /* end confdefs.h.  */
   6280 int i;
   6281 int
   6282 main ()
   6283 {
   6284 
   6285   ;
   6286   return 0;
   6287 }
   6288 _ACEOF
   6289 if ac_fn_c_try_link "$LINENO"; then :
   6290   eval $cacheid=yes
   6291 else
   6292   eval $cacheid=no
   6293 fi
   6294 rm -f core conftest.err conftest.$ac_objext \
   6295     conftest$ac_exeext conftest.$ac_ext
   6296 fi
   6297 
   6298 
   6299 		CFLAGS="$xorg_testset_save_CFLAGS"
   6300 
   6301 		eval supported=\$$cacheid
   6302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6303 $as_echo "$supported" >&6; }
   6304 		if test "$supported" = "yes" ; then
   6305 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6306 			found="yes"
   6307 		fi
   6308 	fi
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 xorg_testset_save_CFLAGS="$CFLAGS"
   6325 
   6326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6331   $as_echo_n "(cached) " >&6
   6332 else
   6333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6334 /* end confdefs.h.  */
   6335 int i;
   6336 _ACEOF
   6337 if ac_fn_c_try_compile "$LINENO"; then :
   6338   xorg_cv_cc_flag_unknown_warning_option=yes
   6339 else
   6340   xorg_cv_cc_flag_unknown_warning_option=no
   6341 fi
   6342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6343 fi
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6347 	CFLAGS="$xorg_testset_save_CFLAGS"
   6348 fi
   6349 
   6350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6353 	fi
   6354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 _ACEOF
   6364 if ac_fn_c_try_compile "$LINENO"; then :
   6365   xorg_cv_cc_flag_unused_command_line_argument=yes
   6366 else
   6367   xorg_cv_cc_flag_unused_command_line_argument=no
   6368 fi
   6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6370 fi
   6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6374 	CFLAGS="$xorg_testset_save_CFLAGS"
   6375 fi
   6376 
   6377 found="no"
   6378 
   6379 	if test $found = "no" ; then
   6380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6382 		fi
   6383 
   6384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6386 		fi
   6387 
   6388 		CFLAGS="$CFLAGS -Wuninitialized"
   6389 
   6390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6391 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6392 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6393 		if eval \${$cacheid+:} false; then :
   6394   $as_echo_n "(cached) " >&6
   6395 else
   6396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6397 /* end confdefs.h.  */
   6398 int i;
   6399 int
   6400 main ()
   6401 {
   6402 
   6403   ;
   6404   return 0;
   6405 }
   6406 _ACEOF
   6407 if ac_fn_c_try_link "$LINENO"; then :
   6408   eval $cacheid=yes
   6409 else
   6410   eval $cacheid=no
   6411 fi
   6412 rm -f core conftest.err conftest.$ac_objext \
   6413     conftest$ac_exeext conftest.$ac_ext
   6414 fi
   6415 
   6416 
   6417 		CFLAGS="$xorg_testset_save_CFLAGS"
   6418 
   6419 		eval supported=\$$cacheid
   6420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6421 $as_echo "$supported" >&6; }
   6422 		if test "$supported" = "yes" ; then
   6423 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6424 			found="yes"
   6425 		fi
   6426 	fi
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 xorg_testset_save_CFLAGS="$CFLAGS"
   6443 
   6444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 int i;
   6454 _ACEOF
   6455 if ac_fn_c_try_compile "$LINENO"; then :
   6456   xorg_cv_cc_flag_unknown_warning_option=yes
   6457 else
   6458   xorg_cv_cc_flag_unknown_warning_option=no
   6459 fi
   6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6461 fi
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6465 	CFLAGS="$xorg_testset_save_CFLAGS"
   6466 fi
   6467 
   6468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6471 	fi
   6472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 _ACEOF
   6482 if ac_fn_c_try_compile "$LINENO"; then :
   6483   xorg_cv_cc_flag_unused_command_line_argument=yes
   6484 else
   6485   xorg_cv_cc_flag_unused_command_line_argument=no
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6488 fi
   6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6492 	CFLAGS="$xorg_testset_save_CFLAGS"
   6493 fi
   6494 
   6495 found="no"
   6496 
   6497 	if test $found = "no" ; then
   6498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6500 		fi
   6501 
   6502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6504 		fi
   6505 
   6506 		CFLAGS="$CFLAGS -Wshadow"
   6507 
   6508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6509 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6510 		cacheid=xorg_cv_cc_flag__Wshadow
   6511 		if eval \${$cacheid+:} false; then :
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6515 /* end confdefs.h.  */
   6516 int i;
   6517 int
   6518 main ()
   6519 {
   6520 
   6521   ;
   6522   return 0;
   6523 }
   6524 _ACEOF
   6525 if ac_fn_c_try_link "$LINENO"; then :
   6526   eval $cacheid=yes
   6527 else
   6528   eval $cacheid=no
   6529 fi
   6530 rm -f core conftest.err conftest.$ac_objext \
   6531     conftest$ac_exeext conftest.$ac_ext
   6532 fi
   6533 
   6534 
   6535 		CFLAGS="$xorg_testset_save_CFLAGS"
   6536 
   6537 		eval supported=\$$cacheid
   6538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6539 $as_echo "$supported" >&6; }
   6540 		if test "$supported" = "yes" ; then
   6541 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6542 			found="yes"
   6543 		fi
   6544 	fi
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 xorg_testset_save_CFLAGS="$CFLAGS"
   6561 
   6562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6567   $as_echo_n "(cached) " >&6
   6568 else
   6569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6570 /* end confdefs.h.  */
   6571 int i;
   6572 _ACEOF
   6573 if ac_fn_c_try_compile "$LINENO"; then :
   6574   xorg_cv_cc_flag_unknown_warning_option=yes
   6575 else
   6576   xorg_cv_cc_flag_unknown_warning_option=no
   6577 fi
   6578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6579 fi
   6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6583 	CFLAGS="$xorg_testset_save_CFLAGS"
   6584 fi
   6585 
   6586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6589 	fi
   6590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6597 /* end confdefs.h.  */
   6598 int i;
   6599 _ACEOF
   6600 if ac_fn_c_try_compile "$LINENO"; then :
   6601   xorg_cv_cc_flag_unused_command_line_argument=yes
   6602 else
   6603   xorg_cv_cc_flag_unused_command_line_argument=no
   6604 fi
   6605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6606 fi
   6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6610 	CFLAGS="$xorg_testset_save_CFLAGS"
   6611 fi
   6612 
   6613 found="no"
   6614 
   6615 	if test $found = "no" ; then
   6616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6618 		fi
   6619 
   6620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6622 		fi
   6623 
   6624 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6625 
   6626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6627 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6628 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6629 		if eval \${$cacheid+:} false; then :
   6630   $as_echo_n "(cached) " >&6
   6631 else
   6632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6633 /* end confdefs.h.  */
   6634 int i;
   6635 int
   6636 main ()
   6637 {
   6638 
   6639   ;
   6640   return 0;
   6641 }
   6642 _ACEOF
   6643 if ac_fn_c_try_link "$LINENO"; then :
   6644   eval $cacheid=yes
   6645 else
   6646   eval $cacheid=no
   6647 fi
   6648 rm -f core conftest.err conftest.$ac_objext \
   6649     conftest$ac_exeext conftest.$ac_ext
   6650 fi
   6651 
   6652 
   6653 		CFLAGS="$xorg_testset_save_CFLAGS"
   6654 
   6655 		eval supported=\$$cacheid
   6656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6657 $as_echo "$supported" >&6; }
   6658 		if test "$supported" = "yes" ; then
   6659 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6660 			found="yes"
   6661 		fi
   6662 	fi
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 xorg_testset_save_CFLAGS="$CFLAGS"
   6679 
   6680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6685   $as_echo_n "(cached) " >&6
   6686 else
   6687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6688 /* end confdefs.h.  */
   6689 int i;
   6690 _ACEOF
   6691 if ac_fn_c_try_compile "$LINENO"; then :
   6692   xorg_cv_cc_flag_unknown_warning_option=yes
   6693 else
   6694   xorg_cv_cc_flag_unknown_warning_option=no
   6695 fi
   6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6697 fi
   6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6701 	CFLAGS="$xorg_testset_save_CFLAGS"
   6702 fi
   6703 
   6704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6707 	fi
   6708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 _ACEOF
   6718 if ac_fn_c_try_compile "$LINENO"; then :
   6719   xorg_cv_cc_flag_unused_command_line_argument=yes
   6720 else
   6721   xorg_cv_cc_flag_unused_command_line_argument=no
   6722 fi
   6723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6724 fi
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6728 	CFLAGS="$xorg_testset_save_CFLAGS"
   6729 fi
   6730 
   6731 found="no"
   6732 
   6733 	if test $found = "no" ; then
   6734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6736 		fi
   6737 
   6738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6740 		fi
   6741 
   6742 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6743 
   6744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6745 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6746 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6747 		if eval \${$cacheid+:} false; then :
   6748   $as_echo_n "(cached) " >&6
   6749 else
   6750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6751 /* end confdefs.h.  */
   6752 int i;
   6753 int
   6754 main ()
   6755 {
   6756 
   6757   ;
   6758   return 0;
   6759 }
   6760 _ACEOF
   6761 if ac_fn_c_try_link "$LINENO"; then :
   6762   eval $cacheid=yes
   6763 else
   6764   eval $cacheid=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext \
   6767     conftest$ac_exeext conftest.$ac_ext
   6768 fi
   6769 
   6770 
   6771 		CFLAGS="$xorg_testset_save_CFLAGS"
   6772 
   6773 		eval supported=\$$cacheid
   6774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6775 $as_echo "$supported" >&6; }
   6776 		if test "$supported" = "yes" ; then
   6777 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6778 			found="yes"
   6779 		fi
   6780 	fi
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 xorg_testset_save_CFLAGS="$CFLAGS"
   6797 
   6798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6806 /* end confdefs.h.  */
   6807 int i;
   6808 _ACEOF
   6809 if ac_fn_c_try_compile "$LINENO"; then :
   6810   xorg_cv_cc_flag_unknown_warning_option=yes
   6811 else
   6812   xorg_cv_cc_flag_unknown_warning_option=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6815 fi
   6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 	fi
   6826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6830   $as_echo_n "(cached) " >&6
   6831 else
   6832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 _ACEOF
   6836 if ac_fn_c_try_compile "$LINENO"; then :
   6837   xorg_cv_cc_flag_unused_command_line_argument=yes
   6838 else
   6839   xorg_cv_cc_flag_unused_command_line_argument=no
   6840 fi
   6841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6842 fi
   6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6846 	CFLAGS="$xorg_testset_save_CFLAGS"
   6847 fi
   6848 
   6849 found="no"
   6850 
   6851 	if test $found = "no" ; then
   6852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6854 		fi
   6855 
   6856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6858 		fi
   6859 
   6860 		CFLAGS="$CFLAGS -Wredundant-decls"
   6861 
   6862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6863 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6864 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6865 		if eval \${$cacheid+:} false; then :
   6866   $as_echo_n "(cached) " >&6
   6867 else
   6868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6869 /* end confdefs.h.  */
   6870 int i;
   6871 int
   6872 main ()
   6873 {
   6874 
   6875   ;
   6876   return 0;
   6877 }
   6878 _ACEOF
   6879 if ac_fn_c_try_link "$LINENO"; then :
   6880   eval $cacheid=yes
   6881 else
   6882   eval $cacheid=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext \
   6885     conftest$ac_exeext conftest.$ac_ext
   6886 fi
   6887 
   6888 
   6889 		CFLAGS="$xorg_testset_save_CFLAGS"
   6890 
   6891 		eval supported=\$$cacheid
   6892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6893 $as_echo "$supported" >&6; }
   6894 		if test "$supported" = "yes" ; then
   6895 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6896 			found="yes"
   6897 		fi
   6898 	fi
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 xorg_testset_save_CFLAGS="$CFLAGS"
   6915 
   6916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6921   $as_echo_n "(cached) " >&6
   6922 else
   6923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6924 /* end confdefs.h.  */
   6925 int i;
   6926 _ACEOF
   6927 if ac_fn_c_try_compile "$LINENO"; then :
   6928   xorg_cv_cc_flag_unknown_warning_option=yes
   6929 else
   6930   xorg_cv_cc_flag_unknown_warning_option=no
   6931 fi
   6932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6933 fi
   6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6937 	CFLAGS="$xorg_testset_save_CFLAGS"
   6938 fi
   6939 
   6940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6943 	fi
   6944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6951 /* end confdefs.h.  */
   6952 int i;
   6953 _ACEOF
   6954 if ac_fn_c_try_compile "$LINENO"; then :
   6955   xorg_cv_cc_flag_unused_command_line_argument=yes
   6956 else
   6957   xorg_cv_cc_flag_unused_command_line_argument=no
   6958 fi
   6959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6960 fi
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6964 	CFLAGS="$xorg_testset_save_CFLAGS"
   6965 fi
   6966 
   6967 found="no"
   6968 
   6969 	if test $found = "no" ; then
   6970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6972 		fi
   6973 
   6974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6976 		fi
   6977 
   6978 		CFLAGS="$CFLAGS -Wlogical-op"
   6979 
   6980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6981 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6982 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6983 		if eval \${$cacheid+:} false; then :
   6984   $as_echo_n "(cached) " >&6
   6985 else
   6986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6987 /* end confdefs.h.  */
   6988 int i;
   6989 int
   6990 main ()
   6991 {
   6992 
   6993   ;
   6994   return 0;
   6995 }
   6996 _ACEOF
   6997 if ac_fn_c_try_link "$LINENO"; then :
   6998   eval $cacheid=yes
   6999 else
   7000   eval $cacheid=no
   7001 fi
   7002 rm -f core conftest.err conftest.$ac_objext \
   7003     conftest$ac_exeext conftest.$ac_ext
   7004 fi
   7005 
   7006 
   7007 		CFLAGS="$xorg_testset_save_CFLAGS"
   7008 
   7009 		eval supported=\$$cacheid
   7010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7011 $as_echo "$supported" >&6; }
   7012 		if test "$supported" = "yes" ; then
   7013 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7014 			found="yes"
   7015 		fi
   7016 	fi
   7017 
   7018 
   7019 
   7020 # These are currently disabled because they are noisy.  They will be enabled
   7021 # in the future once the codebase is sufficiently modernized to silence
   7022 # them.  For now, I don't want them to drown out the other warnings.
   7023 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7024 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7025 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7026 
   7027 # Turn some warnings into errors, so we don't accidently get successful builds
   7028 # when there are problems that should be fixed.
   7029 
   7030 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 xorg_testset_save_CFLAGS="$CFLAGS"
   7045 
   7046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7051   $as_echo_n "(cached) " >&6
   7052 else
   7053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7054 /* end confdefs.h.  */
   7055 int i;
   7056 _ACEOF
   7057 if ac_fn_c_try_compile "$LINENO"; then :
   7058   xorg_cv_cc_flag_unknown_warning_option=yes
   7059 else
   7060   xorg_cv_cc_flag_unknown_warning_option=no
   7061 fi
   7062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7063 fi
   7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7067 	CFLAGS="$xorg_testset_save_CFLAGS"
   7068 fi
   7069 
   7070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 	fi
   7074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7081 /* end confdefs.h.  */
   7082 int i;
   7083 _ACEOF
   7084 if ac_fn_c_try_compile "$LINENO"; then :
   7085   xorg_cv_cc_flag_unused_command_line_argument=yes
   7086 else
   7087   xorg_cv_cc_flag_unused_command_line_argument=no
   7088 fi
   7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7090 fi
   7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7094 	CFLAGS="$xorg_testset_save_CFLAGS"
   7095 fi
   7096 
   7097 found="no"
   7098 
   7099 	if test $found = "no" ; then
   7100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7102 		fi
   7103 
   7104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 		fi
   7107 
   7108 		CFLAGS="$CFLAGS -Werror=implicit"
   7109 
   7110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7111 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7112 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7113 		if eval \${$cacheid+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 int i;
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_link "$LINENO"; then :
   7128   eval $cacheid=yes
   7129 else
   7130   eval $cacheid=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext \
   7133     conftest$ac_exeext conftest.$ac_ext
   7134 fi
   7135 
   7136 
   7137 		CFLAGS="$xorg_testset_save_CFLAGS"
   7138 
   7139 		eval supported=\$$cacheid
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7141 $as_echo "$supported" >&6; }
   7142 		if test "$supported" = "yes" ; then
   7143 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7144 			found="yes"
   7145 		fi
   7146 	fi
   7147 
   7148 	if test $found = "no" ; then
   7149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7151 		fi
   7152 
   7153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7155 		fi
   7156 
   7157 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7158 
   7159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7160 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7161 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7162 		if eval \${$cacheid+:} false; then :
   7163   $as_echo_n "(cached) " >&6
   7164 else
   7165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7166 /* end confdefs.h.  */
   7167 int i;
   7168 int
   7169 main ()
   7170 {
   7171 
   7172   ;
   7173   return 0;
   7174 }
   7175 _ACEOF
   7176 if ac_fn_c_try_link "$LINENO"; then :
   7177   eval $cacheid=yes
   7178 else
   7179   eval $cacheid=no
   7180 fi
   7181 rm -f core conftest.err conftest.$ac_objext \
   7182     conftest$ac_exeext conftest.$ac_ext
   7183 fi
   7184 
   7185 
   7186 		CFLAGS="$xorg_testset_save_CFLAGS"
   7187 
   7188 		eval supported=\$$cacheid
   7189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7190 $as_echo "$supported" >&6; }
   7191 		if test "$supported" = "yes" ; then
   7192 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7193 			found="yes"
   7194 		fi
   7195 	fi
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 xorg_testset_save_CFLAGS="$CFLAGS"
   7212 
   7213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7216 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7217 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7218   $as_echo_n "(cached) " >&6
   7219 else
   7220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7221 /* end confdefs.h.  */
   7222 int i;
   7223 _ACEOF
   7224 if ac_fn_c_try_compile "$LINENO"; then :
   7225   xorg_cv_cc_flag_unknown_warning_option=yes
   7226 else
   7227   xorg_cv_cc_flag_unknown_warning_option=no
   7228 fi
   7229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7230 fi
   7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7232 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7234 	CFLAGS="$xorg_testset_save_CFLAGS"
   7235 fi
   7236 
   7237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7240 	fi
   7241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7243 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7244 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 _ACEOF
   7251 if ac_fn_c_try_compile "$LINENO"; then :
   7252   xorg_cv_cc_flag_unused_command_line_argument=yes
   7253 else
   7254   xorg_cv_cc_flag_unused_command_line_argument=no
   7255 fi
   7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7257 fi
   7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7259 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7260 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7261 	CFLAGS="$xorg_testset_save_CFLAGS"
   7262 fi
   7263 
   7264 found="no"
   7265 
   7266 	if test $found = "no" ; then
   7267 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7268 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7269 		fi
   7270 
   7271 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7272 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7273 		fi
   7274 
   7275 		CFLAGS="$CFLAGS -Werror=nonnull"
   7276 
   7277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7278 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7279 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7280 		if eval \${$cacheid+:} false; then :
   7281   $as_echo_n "(cached) " >&6
   7282 else
   7283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 int
   7287 main ()
   7288 {
   7289 
   7290   ;
   7291   return 0;
   7292 }
   7293 _ACEOF
   7294 if ac_fn_c_try_link "$LINENO"; then :
   7295   eval $cacheid=yes
   7296 else
   7297   eval $cacheid=no
   7298 fi
   7299 rm -f core conftest.err conftest.$ac_objext \
   7300     conftest$ac_exeext conftest.$ac_ext
   7301 fi
   7302 
   7303 
   7304 		CFLAGS="$xorg_testset_save_CFLAGS"
   7305 
   7306 		eval supported=\$$cacheid
   7307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7308 $as_echo "$supported" >&6; }
   7309 		if test "$supported" = "yes" ; then
   7310 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7311 			found="yes"
   7312 		fi
   7313 	fi
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 xorg_testset_save_CFLAGS="$CFLAGS"
   7330 
   7331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7334 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7335 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7336   $as_echo_n "(cached) " >&6
   7337 else
   7338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 int i;
   7341 _ACEOF
   7342 if ac_fn_c_try_compile "$LINENO"; then :
   7343   xorg_cv_cc_flag_unknown_warning_option=yes
   7344 else
   7345   xorg_cv_cc_flag_unknown_warning_option=no
   7346 fi
   7347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7348 fi
   7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7350 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7352 	CFLAGS="$xorg_testset_save_CFLAGS"
   7353 fi
   7354 
   7355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7358 	fi
   7359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7361 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7362 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"; then :
   7370   xorg_cv_cc_flag_unused_command_line_argument=yes
   7371 else
   7372   xorg_cv_cc_flag_unused_command_line_argument=no
   7373 fi
   7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7375 fi
   7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7377 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7379 	CFLAGS="$xorg_testset_save_CFLAGS"
   7380 fi
   7381 
   7382 found="no"
   7383 
   7384 	if test $found = "no" ; then
   7385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7387 		fi
   7388 
   7389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7391 		fi
   7392 
   7393 		CFLAGS="$CFLAGS -Werror=init-self"
   7394 
   7395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7396 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7397 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7398 		if eval \${$cacheid+:} false; then :
   7399   $as_echo_n "(cached) " >&6
   7400 else
   7401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7402 /* end confdefs.h.  */
   7403 int i;
   7404 int
   7405 main ()
   7406 {
   7407 
   7408   ;
   7409   return 0;
   7410 }
   7411 _ACEOF
   7412 if ac_fn_c_try_link "$LINENO"; then :
   7413   eval $cacheid=yes
   7414 else
   7415   eval $cacheid=no
   7416 fi
   7417 rm -f core conftest.err conftest.$ac_objext \
   7418     conftest$ac_exeext conftest.$ac_ext
   7419 fi
   7420 
   7421 
   7422 		CFLAGS="$xorg_testset_save_CFLAGS"
   7423 
   7424 		eval supported=\$$cacheid
   7425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7426 $as_echo "$supported" >&6; }
   7427 		if test "$supported" = "yes" ; then
   7428 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7429 			found="yes"
   7430 		fi
   7431 	fi
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 xorg_testset_save_CFLAGS="$CFLAGS"
   7448 
   7449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7454   $as_echo_n "(cached) " >&6
   7455 else
   7456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7457 /* end confdefs.h.  */
   7458 int i;
   7459 _ACEOF
   7460 if ac_fn_c_try_compile "$LINENO"; then :
   7461   xorg_cv_cc_flag_unknown_warning_option=yes
   7462 else
   7463   xorg_cv_cc_flag_unknown_warning_option=no
   7464 fi
   7465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7466 fi
   7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7470 	CFLAGS="$xorg_testset_save_CFLAGS"
   7471 fi
   7472 
   7473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7476 	fi
   7477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 _ACEOF
   7487 if ac_fn_c_try_compile "$LINENO"; then :
   7488   xorg_cv_cc_flag_unused_command_line_argument=yes
   7489 else
   7490   xorg_cv_cc_flag_unused_command_line_argument=no
   7491 fi
   7492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7493 fi
   7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7497 	CFLAGS="$xorg_testset_save_CFLAGS"
   7498 fi
   7499 
   7500 found="no"
   7501 
   7502 	if test $found = "no" ; then
   7503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7505 		fi
   7506 
   7507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7509 		fi
   7510 
   7511 		CFLAGS="$CFLAGS -Werror=main"
   7512 
   7513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7514 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7515 		cacheid=xorg_cv_cc_flag__Werror_main
   7516 		if eval \${$cacheid+:} false; then :
   7517   $as_echo_n "(cached) " >&6
   7518 else
   7519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7520 /* end confdefs.h.  */
   7521 int i;
   7522 int
   7523 main ()
   7524 {
   7525 
   7526   ;
   7527   return 0;
   7528 }
   7529 _ACEOF
   7530 if ac_fn_c_try_link "$LINENO"; then :
   7531   eval $cacheid=yes
   7532 else
   7533   eval $cacheid=no
   7534 fi
   7535 rm -f core conftest.err conftest.$ac_objext \
   7536     conftest$ac_exeext conftest.$ac_ext
   7537 fi
   7538 
   7539 
   7540 		CFLAGS="$xorg_testset_save_CFLAGS"
   7541 
   7542 		eval supported=\$$cacheid
   7543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7544 $as_echo "$supported" >&6; }
   7545 		if test "$supported" = "yes" ; then
   7546 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7547 			found="yes"
   7548 		fi
   7549 	fi
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 xorg_testset_save_CFLAGS="$CFLAGS"
   7566 
   7567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7572   $as_echo_n "(cached) " >&6
   7573 else
   7574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7575 /* end confdefs.h.  */
   7576 int i;
   7577 _ACEOF
   7578 if ac_fn_c_try_compile "$LINENO"; then :
   7579   xorg_cv_cc_flag_unknown_warning_option=yes
   7580 else
   7581   xorg_cv_cc_flag_unknown_warning_option=no
   7582 fi
   7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7584 fi
   7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7588 	CFLAGS="$xorg_testset_save_CFLAGS"
   7589 fi
   7590 
   7591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7594 	fi
   7595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7599   $as_echo_n "(cached) " >&6
   7600 else
   7601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 _ACEOF
   7605 if ac_fn_c_try_compile "$LINENO"; then :
   7606   xorg_cv_cc_flag_unused_command_line_argument=yes
   7607 else
   7608   xorg_cv_cc_flag_unused_command_line_argument=no
   7609 fi
   7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7611 fi
   7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7615 	CFLAGS="$xorg_testset_save_CFLAGS"
   7616 fi
   7617 
   7618 found="no"
   7619 
   7620 	if test $found = "no" ; then
   7621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7623 		fi
   7624 
   7625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7627 		fi
   7628 
   7629 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7630 
   7631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7632 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7633 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7634 		if eval \${$cacheid+:} false; then :
   7635   $as_echo_n "(cached) " >&6
   7636 else
   7637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638 /* end confdefs.h.  */
   7639 int i;
   7640 int
   7641 main ()
   7642 {
   7643 
   7644   ;
   7645   return 0;
   7646 }
   7647 _ACEOF
   7648 if ac_fn_c_try_link "$LINENO"; then :
   7649   eval $cacheid=yes
   7650 else
   7651   eval $cacheid=no
   7652 fi
   7653 rm -f core conftest.err conftest.$ac_objext \
   7654     conftest$ac_exeext conftest.$ac_ext
   7655 fi
   7656 
   7657 
   7658 		CFLAGS="$xorg_testset_save_CFLAGS"
   7659 
   7660 		eval supported=\$$cacheid
   7661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7662 $as_echo "$supported" >&6; }
   7663 		if test "$supported" = "yes" ; then
   7664 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7665 			found="yes"
   7666 		fi
   7667 	fi
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 xorg_testset_save_CFLAGS="$CFLAGS"
   7684 
   7685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7690   $as_echo_n "(cached) " >&6
   7691 else
   7692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7693 /* end confdefs.h.  */
   7694 int i;
   7695 _ACEOF
   7696 if ac_fn_c_try_compile "$LINENO"; then :
   7697   xorg_cv_cc_flag_unknown_warning_option=yes
   7698 else
   7699   xorg_cv_cc_flag_unknown_warning_option=no
   7700 fi
   7701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7702 fi
   7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7706 	CFLAGS="$xorg_testset_save_CFLAGS"
   7707 fi
   7708 
   7709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7712 	fi
   7713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7717   $as_echo_n "(cached) " >&6
   7718 else
   7719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7720 /* end confdefs.h.  */
   7721 int i;
   7722 _ACEOF
   7723 if ac_fn_c_try_compile "$LINENO"; then :
   7724   xorg_cv_cc_flag_unused_command_line_argument=yes
   7725 else
   7726   xorg_cv_cc_flag_unused_command_line_argument=no
   7727 fi
   7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7729 fi
   7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7733 	CFLAGS="$xorg_testset_save_CFLAGS"
   7734 fi
   7735 
   7736 found="no"
   7737 
   7738 	if test $found = "no" ; then
   7739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7741 		fi
   7742 
   7743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7745 		fi
   7746 
   7747 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7748 
   7749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7750 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7751 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7752 		if eval \${$cacheid+:} false; then :
   7753   $as_echo_n "(cached) " >&6
   7754 else
   7755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7756 /* end confdefs.h.  */
   7757 int i;
   7758 int
   7759 main ()
   7760 {
   7761 
   7762   ;
   7763   return 0;
   7764 }
   7765 _ACEOF
   7766 if ac_fn_c_try_link "$LINENO"; then :
   7767   eval $cacheid=yes
   7768 else
   7769   eval $cacheid=no
   7770 fi
   7771 rm -f core conftest.err conftest.$ac_objext \
   7772     conftest$ac_exeext conftest.$ac_ext
   7773 fi
   7774 
   7775 
   7776 		CFLAGS="$xorg_testset_save_CFLAGS"
   7777 
   7778 		eval supported=\$$cacheid
   7779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7780 $as_echo "$supported" >&6; }
   7781 		if test "$supported" = "yes" ; then
   7782 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7783 			found="yes"
   7784 		fi
   7785 	fi
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 xorg_testset_save_CFLAGS="$CFLAGS"
   7802 
   7803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7808   $as_echo_n "(cached) " >&6
   7809 else
   7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 int i;
   7813 _ACEOF
   7814 if ac_fn_c_try_compile "$LINENO"; then :
   7815   xorg_cv_cc_flag_unknown_warning_option=yes
   7816 else
   7817   xorg_cv_cc_flag_unknown_warning_option=no
   7818 fi
   7819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7820 fi
   7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7824 	CFLAGS="$xorg_testset_save_CFLAGS"
   7825 fi
   7826 
   7827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 	fi
   7831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7835   $as_echo_n "(cached) " >&6
   7836 else
   7837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7838 /* end confdefs.h.  */
   7839 int i;
   7840 _ACEOF
   7841 if ac_fn_c_try_compile "$LINENO"; then :
   7842   xorg_cv_cc_flag_unused_command_line_argument=yes
   7843 else
   7844   xorg_cv_cc_flag_unused_command_line_argument=no
   7845 fi
   7846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7847 fi
   7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7851 	CFLAGS="$xorg_testset_save_CFLAGS"
   7852 fi
   7853 
   7854 found="no"
   7855 
   7856 	if test $found = "no" ; then
   7857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7859 		fi
   7860 
   7861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 		fi
   7864 
   7865 		CFLAGS="$CFLAGS -Werror=return-type"
   7866 
   7867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7868 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7869 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7870 		if eval \${$cacheid+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7874 /* end confdefs.h.  */
   7875 int i;
   7876 int
   7877 main ()
   7878 {
   7879 
   7880   ;
   7881   return 0;
   7882 }
   7883 _ACEOF
   7884 if ac_fn_c_try_link "$LINENO"; then :
   7885   eval $cacheid=yes
   7886 else
   7887   eval $cacheid=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext \
   7890     conftest$ac_exeext conftest.$ac_ext
   7891 fi
   7892 
   7893 
   7894 		CFLAGS="$xorg_testset_save_CFLAGS"
   7895 
   7896 		eval supported=\$$cacheid
   7897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7898 $as_echo "$supported" >&6; }
   7899 		if test "$supported" = "yes" ; then
   7900 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7901 			found="yes"
   7902 		fi
   7903 	fi
   7904 
   7905 	if test $found = "no" ; then
   7906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 		fi
   7909 
   7910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7912 		fi
   7913 
   7914 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7915 
   7916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7917 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7918 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7919 		if eval \${$cacheid+:} false; then :
   7920   $as_echo_n "(cached) " >&6
   7921 else
   7922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7923 /* end confdefs.h.  */
   7924 int i;
   7925 int
   7926 main ()
   7927 {
   7928 
   7929   ;
   7930   return 0;
   7931 }
   7932 _ACEOF
   7933 if ac_fn_c_try_link "$LINENO"; then :
   7934   eval $cacheid=yes
   7935 else
   7936   eval $cacheid=no
   7937 fi
   7938 rm -f core conftest.err conftest.$ac_objext \
   7939     conftest$ac_exeext conftest.$ac_ext
   7940 fi
   7941 
   7942 
   7943 		CFLAGS="$xorg_testset_save_CFLAGS"
   7944 
   7945 		eval supported=\$$cacheid
   7946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7947 $as_echo "$supported" >&6; }
   7948 		if test "$supported" = "yes" ; then
   7949 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7950 			found="yes"
   7951 		fi
   7952 	fi
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 xorg_testset_save_CFLAGS="$CFLAGS"
   7969 
   7970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7975   $as_echo_n "(cached) " >&6
   7976 else
   7977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 _ACEOF
   7981 if ac_fn_c_try_compile "$LINENO"; then :
   7982   xorg_cv_cc_flag_unknown_warning_option=yes
   7983 else
   7984   xorg_cv_cc_flag_unknown_warning_option=no
   7985 fi
   7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7987 fi
   7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7991 	CFLAGS="$xorg_testset_save_CFLAGS"
   7992 fi
   7993 
   7994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7997 	fi
   7998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8005 /* end confdefs.h.  */
   8006 int i;
   8007 _ACEOF
   8008 if ac_fn_c_try_compile "$LINENO"; then :
   8009   xorg_cv_cc_flag_unused_command_line_argument=yes
   8010 else
   8011   xorg_cv_cc_flag_unused_command_line_argument=no
   8012 fi
   8013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8014 fi
   8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8018 	CFLAGS="$xorg_testset_save_CFLAGS"
   8019 fi
   8020 
   8021 found="no"
   8022 
   8023 	if test $found = "no" ; then
   8024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 		fi
   8027 
   8028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8030 		fi
   8031 
   8032 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8033 
   8034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8035 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8036 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8037 		if eval \${$cacheid+:} false; then :
   8038   $as_echo_n "(cached) " >&6
   8039 else
   8040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8041 /* end confdefs.h.  */
   8042 int i;
   8043 int
   8044 main ()
   8045 {
   8046 
   8047   ;
   8048   return 0;
   8049 }
   8050 _ACEOF
   8051 if ac_fn_c_try_link "$LINENO"; then :
   8052   eval $cacheid=yes
   8053 else
   8054   eval $cacheid=no
   8055 fi
   8056 rm -f core conftest.err conftest.$ac_objext \
   8057     conftest$ac_exeext conftest.$ac_ext
   8058 fi
   8059 
   8060 
   8061 		CFLAGS="$xorg_testset_save_CFLAGS"
   8062 
   8063 		eval supported=\$$cacheid
   8064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8065 $as_echo "$supported" >&6; }
   8066 		if test "$supported" = "yes" ; then
   8067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8068 			found="yes"
   8069 		fi
   8070 	fi
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 xorg_testset_save_CFLAGS="$CFLAGS"
   8087 
   8088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8093   $as_echo_n "(cached) " >&6
   8094 else
   8095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8096 /* end confdefs.h.  */
   8097 int i;
   8098 _ACEOF
   8099 if ac_fn_c_try_compile "$LINENO"; then :
   8100   xorg_cv_cc_flag_unknown_warning_option=yes
   8101 else
   8102   xorg_cv_cc_flag_unknown_warning_option=no
   8103 fi
   8104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8105 fi
   8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8109 	CFLAGS="$xorg_testset_save_CFLAGS"
   8110 fi
   8111 
   8112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8115 	fi
   8116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 _ACEOF
   8126 if ac_fn_c_try_compile "$LINENO"; then :
   8127   xorg_cv_cc_flag_unused_command_line_argument=yes
   8128 else
   8129   xorg_cv_cc_flag_unused_command_line_argument=no
   8130 fi
   8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8132 fi
   8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8136 	CFLAGS="$xorg_testset_save_CFLAGS"
   8137 fi
   8138 
   8139 found="no"
   8140 
   8141 	if test $found = "no" ; then
   8142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8144 		fi
   8145 
   8146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8148 		fi
   8149 
   8150 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8151 
   8152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8153 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8154 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8155 		if eval \${$cacheid+:} false; then :
   8156   $as_echo_n "(cached) " >&6
   8157 else
   8158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 int i;
   8161 int
   8162 main ()
   8163 {
   8164 
   8165   ;
   8166   return 0;
   8167 }
   8168 _ACEOF
   8169 if ac_fn_c_try_link "$LINENO"; then :
   8170   eval $cacheid=yes
   8171 else
   8172   eval $cacheid=no
   8173 fi
   8174 rm -f core conftest.err conftest.$ac_objext \
   8175     conftest$ac_exeext conftest.$ac_ext
   8176 fi
   8177 
   8178 
   8179 		CFLAGS="$xorg_testset_save_CFLAGS"
   8180 
   8181 		eval supported=\$$cacheid
   8182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8183 $as_echo "$supported" >&6; }
   8184 		if test "$supported" = "yes" ; then
   8185 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8186 			found="yes"
   8187 		fi
   8188 	fi
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 xorg_testset_save_CFLAGS="$CFLAGS"
   8205 
   8206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8211   $as_echo_n "(cached) " >&6
   8212 else
   8213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8214 /* end confdefs.h.  */
   8215 int i;
   8216 _ACEOF
   8217 if ac_fn_c_try_compile "$LINENO"; then :
   8218   xorg_cv_cc_flag_unknown_warning_option=yes
   8219 else
   8220   xorg_cv_cc_flag_unknown_warning_option=no
   8221 fi
   8222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8223 fi
   8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8227 	CFLAGS="$xorg_testset_save_CFLAGS"
   8228 fi
   8229 
   8230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8233 	fi
   8234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 _ACEOF
   8244 if ac_fn_c_try_compile "$LINENO"; then :
   8245   xorg_cv_cc_flag_unused_command_line_argument=yes
   8246 else
   8247   xorg_cv_cc_flag_unused_command_line_argument=no
   8248 fi
   8249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8250 fi
   8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8254 	CFLAGS="$xorg_testset_save_CFLAGS"
   8255 fi
   8256 
   8257 found="no"
   8258 
   8259 	if test $found = "no" ; then
   8260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8262 		fi
   8263 
   8264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8266 		fi
   8267 
   8268 		CFLAGS="$CFLAGS -Werror=write-strings"
   8269 
   8270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8271 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8272 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8273 		if eval \${$cacheid+:} false; then :
   8274   $as_echo_n "(cached) " >&6
   8275 else
   8276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8277 /* end confdefs.h.  */
   8278 int i;
   8279 int
   8280 main ()
   8281 {
   8282 
   8283   ;
   8284   return 0;
   8285 }
   8286 _ACEOF
   8287 if ac_fn_c_try_link "$LINENO"; then :
   8288   eval $cacheid=yes
   8289 else
   8290   eval $cacheid=no
   8291 fi
   8292 rm -f core conftest.err conftest.$ac_objext \
   8293     conftest$ac_exeext conftest.$ac_ext
   8294 fi
   8295 
   8296 
   8297 		CFLAGS="$xorg_testset_save_CFLAGS"
   8298 
   8299 		eval supported=\$$cacheid
   8300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8301 $as_echo "$supported" >&6; }
   8302 		if test "$supported" = "yes" ; then
   8303 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8304 			found="yes"
   8305 		fi
   8306 	fi
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 xorg_testset_save_CFLAGS="$CFLAGS"
   8323 
   8324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 _ACEOF
   8335 if ac_fn_c_try_compile "$LINENO"; then :
   8336   xorg_cv_cc_flag_unknown_warning_option=yes
   8337 else
   8338   xorg_cv_cc_flag_unknown_warning_option=no
   8339 fi
   8340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8341 fi
   8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8345 	CFLAGS="$xorg_testset_save_CFLAGS"
   8346 fi
   8347 
   8348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 	fi
   8352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"; then :
   8363   xorg_cv_cc_flag_unused_command_line_argument=yes
   8364 else
   8365   xorg_cv_cc_flag_unused_command_line_argument=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8368 fi
   8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 found="no"
   8376 
   8377 	if test $found = "no" ; then
   8378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8380 		fi
   8381 
   8382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 		fi
   8385 
   8386 		CFLAGS="$CFLAGS -Werror=address"
   8387 
   8388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8389 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8390 		cacheid=xorg_cv_cc_flag__Werror_address
   8391 		if eval \${$cacheid+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8395 /* end confdefs.h.  */
   8396 int i;
   8397 int
   8398 main ()
   8399 {
   8400 
   8401   ;
   8402   return 0;
   8403 }
   8404 _ACEOF
   8405 if ac_fn_c_try_link "$LINENO"; then :
   8406   eval $cacheid=yes
   8407 else
   8408   eval $cacheid=no
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext \
   8411     conftest$ac_exeext conftest.$ac_ext
   8412 fi
   8413 
   8414 
   8415 		CFLAGS="$xorg_testset_save_CFLAGS"
   8416 
   8417 		eval supported=\$$cacheid
   8418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8419 $as_echo "$supported" >&6; }
   8420 		if test "$supported" = "yes" ; then
   8421 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8422 			found="yes"
   8423 		fi
   8424 	fi
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 xorg_testset_save_CFLAGS="$CFLAGS"
   8441 
   8442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8450 /* end confdefs.h.  */
   8451 int i;
   8452 _ACEOF
   8453 if ac_fn_c_try_compile "$LINENO"; then :
   8454   xorg_cv_cc_flag_unknown_warning_option=yes
   8455 else
   8456   xorg_cv_cc_flag_unknown_warning_option=no
   8457 fi
   8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8459 fi
   8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8463 	CFLAGS="$xorg_testset_save_CFLAGS"
   8464 fi
   8465 
   8466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 	fi
   8470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8474   $as_echo_n "(cached) " >&6
   8475 else
   8476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 _ACEOF
   8480 if ac_fn_c_try_compile "$LINENO"; then :
   8481   xorg_cv_cc_flag_unused_command_line_argument=yes
   8482 else
   8483   xorg_cv_cc_flag_unused_command_line_argument=no
   8484 fi
   8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8486 fi
   8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8490 	CFLAGS="$xorg_testset_save_CFLAGS"
   8491 fi
   8492 
   8493 found="no"
   8494 
   8495 	if test $found = "no" ; then
   8496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 		fi
   8499 
   8500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8502 		fi
   8503 
   8504 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8505 
   8506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8507 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8508 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8509 		if eval \${$cacheid+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 int
   8516 main ()
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 if ac_fn_c_try_link "$LINENO"; then :
   8524   eval $cacheid=yes
   8525 else
   8526   eval $cacheid=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext \
   8529     conftest$ac_exeext conftest.$ac_ext
   8530 fi
   8531 
   8532 
   8533 		CFLAGS="$xorg_testset_save_CFLAGS"
   8534 
   8535 		eval supported=\$$cacheid
   8536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8537 $as_echo "$supported" >&6; }
   8538 		if test "$supported" = "yes" ; then
   8539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8540 			found="yes"
   8541 		fi
   8542 	fi
   8543 
   8544 	if test $found = "no" ; then
   8545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8547 		fi
   8548 
   8549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8551 		fi
   8552 
   8553 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8554 
   8555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8556 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8557 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8558 		if eval \${$cacheid+:} false; then :
   8559   $as_echo_n "(cached) " >&6
   8560 else
   8561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8562 /* end confdefs.h.  */
   8563 int i;
   8564 int
   8565 main ()
   8566 {
   8567 
   8568   ;
   8569   return 0;
   8570 }
   8571 _ACEOF
   8572 if ac_fn_c_try_link "$LINENO"; then :
   8573   eval $cacheid=yes
   8574 else
   8575   eval $cacheid=no
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext \
   8578     conftest$ac_exeext conftest.$ac_ext
   8579 fi
   8580 
   8581 
   8582 		CFLAGS="$xorg_testset_save_CFLAGS"
   8583 
   8584 		eval supported=\$$cacheid
   8585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8586 $as_echo "$supported" >&6; }
   8587 		if test "$supported" = "yes" ; then
   8588 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8589 			found="yes"
   8590 		fi
   8591 	fi
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 xorg_testset_save_CFLAGS="$CFLAGS"
   8608 
   8609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8612 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8613 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8614   $as_echo_n "(cached) " >&6
   8615 else
   8616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8617 /* end confdefs.h.  */
   8618 int i;
   8619 _ACEOF
   8620 if ac_fn_c_try_compile "$LINENO"; then :
   8621   xorg_cv_cc_flag_unknown_warning_option=yes
   8622 else
   8623   xorg_cv_cc_flag_unknown_warning_option=no
   8624 fi
   8625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8626 fi
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8628 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8630 	CFLAGS="$xorg_testset_save_CFLAGS"
   8631 fi
   8632 
   8633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8636 	fi
   8637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8639 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8640 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8641   $as_echo_n "(cached) " >&6
   8642 else
   8643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8644 /* end confdefs.h.  */
   8645 int i;
   8646 _ACEOF
   8647 if ac_fn_c_try_compile "$LINENO"; then :
   8648   xorg_cv_cc_flag_unused_command_line_argument=yes
   8649 else
   8650   xorg_cv_cc_flag_unused_command_line_argument=no
   8651 fi
   8652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8653 fi
   8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8655 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8657 	CFLAGS="$xorg_testset_save_CFLAGS"
   8658 fi
   8659 
   8660 found="no"
   8661 
   8662 	if test $found = "no" ; then
   8663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8665 		fi
   8666 
   8667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8669 		fi
   8670 
   8671 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8672 
   8673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8674 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8675 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8676 		if eval \${$cacheid+:} false; then :
   8677   $as_echo_n "(cached) " >&6
   8678 else
   8679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680 /* end confdefs.h.  */
   8681 int i;
   8682 int
   8683 main ()
   8684 {
   8685 
   8686   ;
   8687   return 0;
   8688 }
   8689 _ACEOF
   8690 if ac_fn_c_try_link "$LINENO"; then :
   8691   eval $cacheid=yes
   8692 else
   8693   eval $cacheid=no
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext \
   8696     conftest$ac_exeext conftest.$ac_ext
   8697 fi
   8698 
   8699 
   8700 		CFLAGS="$xorg_testset_save_CFLAGS"
   8701 
   8702 		eval supported=\$$cacheid
   8703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8704 $as_echo "$supported" >&6; }
   8705 		if test "$supported" = "yes" ; then
   8706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8707 			found="yes"
   8708 		fi
   8709 	fi
   8710 
   8711  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8712 else
   8713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   8714 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 xorg_testset_save_CFLAGS="$CFLAGS"
   8729 
   8730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8735   $as_echo_n "(cached) " >&6
   8736 else
   8737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8738 /* end confdefs.h.  */
   8739 int i;
   8740 _ACEOF
   8741 if ac_fn_c_try_compile "$LINENO"; then :
   8742   xorg_cv_cc_flag_unknown_warning_option=yes
   8743 else
   8744   xorg_cv_cc_flag_unknown_warning_option=no
   8745 fi
   8746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8747 fi
   8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8751 	CFLAGS="$xorg_testset_save_CFLAGS"
   8752 fi
   8753 
   8754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8757 	fi
   8758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8762   $as_echo_n "(cached) " >&6
   8763 else
   8764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8765 /* end confdefs.h.  */
   8766 int i;
   8767 _ACEOF
   8768 if ac_fn_c_try_compile "$LINENO"; then :
   8769   xorg_cv_cc_flag_unused_command_line_argument=yes
   8770 else
   8771   xorg_cv_cc_flag_unused_command_line_argument=no
   8772 fi
   8773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8774 fi
   8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8778 	CFLAGS="$xorg_testset_save_CFLAGS"
   8779 fi
   8780 
   8781 found="no"
   8782 
   8783 	if test $found = "no" ; then
   8784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8786 		fi
   8787 
   8788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8790 		fi
   8791 
   8792 		CFLAGS="$CFLAGS -Wimplicit"
   8793 
   8794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8795 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8796 		cacheid=xorg_cv_cc_flag__Wimplicit
   8797 		if eval \${$cacheid+:} false; then :
   8798   $as_echo_n "(cached) " >&6
   8799 else
   8800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8801 /* end confdefs.h.  */
   8802 int i;
   8803 int
   8804 main ()
   8805 {
   8806 
   8807   ;
   8808   return 0;
   8809 }
   8810 _ACEOF
   8811 if ac_fn_c_try_link "$LINENO"; then :
   8812   eval $cacheid=yes
   8813 else
   8814   eval $cacheid=no
   8815 fi
   8816 rm -f core conftest.err conftest.$ac_objext \
   8817     conftest$ac_exeext conftest.$ac_ext
   8818 fi
   8819 
   8820 
   8821 		CFLAGS="$xorg_testset_save_CFLAGS"
   8822 
   8823 		eval supported=\$$cacheid
   8824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8825 $as_echo "$supported" >&6; }
   8826 		if test "$supported" = "yes" ; then
   8827 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8828 			found="yes"
   8829 		fi
   8830 	fi
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 xorg_testset_save_CFLAGS="$CFLAGS"
   8847 
   8848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8853   $as_echo_n "(cached) " >&6
   8854 else
   8855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8856 /* end confdefs.h.  */
   8857 int i;
   8858 _ACEOF
   8859 if ac_fn_c_try_compile "$LINENO"; then :
   8860   xorg_cv_cc_flag_unknown_warning_option=yes
   8861 else
   8862   xorg_cv_cc_flag_unknown_warning_option=no
   8863 fi
   8864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8865 fi
   8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8869 	CFLAGS="$xorg_testset_save_CFLAGS"
   8870 fi
   8871 
   8872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8875 	fi
   8876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8880   $as_echo_n "(cached) " >&6
   8881 else
   8882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 _ACEOF
   8886 if ac_fn_c_try_compile "$LINENO"; then :
   8887   xorg_cv_cc_flag_unused_command_line_argument=yes
   8888 else
   8889   xorg_cv_cc_flag_unused_command_line_argument=no
   8890 fi
   8891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8892 fi
   8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8896 	CFLAGS="$xorg_testset_save_CFLAGS"
   8897 fi
   8898 
   8899 found="no"
   8900 
   8901 	if test $found = "no" ; then
   8902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 		fi
   8905 
   8906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 		fi
   8909 
   8910 		CFLAGS="$CFLAGS -Wnonnull"
   8911 
   8912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8913 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8914 		cacheid=xorg_cv_cc_flag__Wnonnull
   8915 		if eval \${$cacheid+:} false; then :
   8916   $as_echo_n "(cached) " >&6
   8917 else
   8918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8919 /* end confdefs.h.  */
   8920 int i;
   8921 int
   8922 main ()
   8923 {
   8924 
   8925   ;
   8926   return 0;
   8927 }
   8928 _ACEOF
   8929 if ac_fn_c_try_link "$LINENO"; then :
   8930   eval $cacheid=yes
   8931 else
   8932   eval $cacheid=no
   8933 fi
   8934 rm -f core conftest.err conftest.$ac_objext \
   8935     conftest$ac_exeext conftest.$ac_ext
   8936 fi
   8937 
   8938 
   8939 		CFLAGS="$xorg_testset_save_CFLAGS"
   8940 
   8941 		eval supported=\$$cacheid
   8942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8943 $as_echo "$supported" >&6; }
   8944 		if test "$supported" = "yes" ; then
   8945 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8946 			found="yes"
   8947 		fi
   8948 	fi
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 xorg_testset_save_CFLAGS="$CFLAGS"
   8965 
   8966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8971   $as_echo_n "(cached) " >&6
   8972 else
   8973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8974 /* end confdefs.h.  */
   8975 int i;
   8976 _ACEOF
   8977 if ac_fn_c_try_compile "$LINENO"; then :
   8978   xorg_cv_cc_flag_unknown_warning_option=yes
   8979 else
   8980   xorg_cv_cc_flag_unknown_warning_option=no
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8983 fi
   8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8987 	CFLAGS="$xorg_testset_save_CFLAGS"
   8988 fi
   8989 
   8990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8993 	fi
   8994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"; then :
   9005   xorg_cv_cc_flag_unused_command_line_argument=yes
   9006 else
   9007   xorg_cv_cc_flag_unused_command_line_argument=no
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9010 fi
   9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9014 	CFLAGS="$xorg_testset_save_CFLAGS"
   9015 fi
   9016 
   9017 found="no"
   9018 
   9019 	if test $found = "no" ; then
   9020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9022 		fi
   9023 
   9024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9026 		fi
   9027 
   9028 		CFLAGS="$CFLAGS -Winit-self"
   9029 
   9030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9031 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9032 		cacheid=xorg_cv_cc_flag__Winit_self
   9033 		if eval \${$cacheid+:} false; then :
   9034   $as_echo_n "(cached) " >&6
   9035 else
   9036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9037 /* end confdefs.h.  */
   9038 int i;
   9039 int
   9040 main ()
   9041 {
   9042 
   9043   ;
   9044   return 0;
   9045 }
   9046 _ACEOF
   9047 if ac_fn_c_try_link "$LINENO"; then :
   9048   eval $cacheid=yes
   9049 else
   9050   eval $cacheid=no
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext \
   9053     conftest$ac_exeext conftest.$ac_ext
   9054 fi
   9055 
   9056 
   9057 		CFLAGS="$xorg_testset_save_CFLAGS"
   9058 
   9059 		eval supported=\$$cacheid
   9060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9061 $as_echo "$supported" >&6; }
   9062 		if test "$supported" = "yes" ; then
   9063 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9064 			found="yes"
   9065 		fi
   9066 	fi
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 xorg_testset_save_CFLAGS="$CFLAGS"
   9083 
   9084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9089   $as_echo_n "(cached) " >&6
   9090 else
   9091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9092 /* end confdefs.h.  */
   9093 int i;
   9094 _ACEOF
   9095 if ac_fn_c_try_compile "$LINENO"; then :
   9096   xorg_cv_cc_flag_unknown_warning_option=yes
   9097 else
   9098   xorg_cv_cc_flag_unknown_warning_option=no
   9099 fi
   9100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9101 fi
   9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9105 	CFLAGS="$xorg_testset_save_CFLAGS"
   9106 fi
   9107 
   9108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9111 	fi
   9112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 _ACEOF
   9122 if ac_fn_c_try_compile "$LINENO"; then :
   9123   xorg_cv_cc_flag_unused_command_line_argument=yes
   9124 else
   9125   xorg_cv_cc_flag_unused_command_line_argument=no
   9126 fi
   9127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9128 fi
   9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9132 	CFLAGS="$xorg_testset_save_CFLAGS"
   9133 fi
   9134 
   9135 found="no"
   9136 
   9137 	if test $found = "no" ; then
   9138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9140 		fi
   9141 
   9142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9144 		fi
   9145 
   9146 		CFLAGS="$CFLAGS -Wmain"
   9147 
   9148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9149 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9150 		cacheid=xorg_cv_cc_flag__Wmain
   9151 		if eval \${$cacheid+:} false; then :
   9152   $as_echo_n "(cached) " >&6
   9153 else
   9154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9155 /* end confdefs.h.  */
   9156 int i;
   9157 int
   9158 main ()
   9159 {
   9160 
   9161   ;
   9162   return 0;
   9163 }
   9164 _ACEOF
   9165 if ac_fn_c_try_link "$LINENO"; then :
   9166   eval $cacheid=yes
   9167 else
   9168   eval $cacheid=no
   9169 fi
   9170 rm -f core conftest.err conftest.$ac_objext \
   9171     conftest$ac_exeext conftest.$ac_ext
   9172 fi
   9173 
   9174 
   9175 		CFLAGS="$xorg_testset_save_CFLAGS"
   9176 
   9177 		eval supported=\$$cacheid
   9178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9179 $as_echo "$supported" >&6; }
   9180 		if test "$supported" = "yes" ; then
   9181 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9182 			found="yes"
   9183 		fi
   9184 	fi
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 xorg_testset_save_CFLAGS="$CFLAGS"
   9201 
   9202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9207   $as_echo_n "(cached) " >&6
   9208 else
   9209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9210 /* end confdefs.h.  */
   9211 int i;
   9212 _ACEOF
   9213 if ac_fn_c_try_compile "$LINENO"; then :
   9214   xorg_cv_cc_flag_unknown_warning_option=yes
   9215 else
   9216   xorg_cv_cc_flag_unknown_warning_option=no
   9217 fi
   9218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9219 fi
   9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9223 	CFLAGS="$xorg_testset_save_CFLAGS"
   9224 fi
   9225 
   9226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9229 	fi
   9230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 _ACEOF
   9240 if ac_fn_c_try_compile "$LINENO"; then :
   9241   xorg_cv_cc_flag_unused_command_line_argument=yes
   9242 else
   9243   xorg_cv_cc_flag_unused_command_line_argument=no
   9244 fi
   9245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9246 fi
   9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9250 	CFLAGS="$xorg_testset_save_CFLAGS"
   9251 fi
   9252 
   9253 found="no"
   9254 
   9255 	if test $found = "no" ; then
   9256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 		fi
   9259 
   9260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9262 		fi
   9263 
   9264 		CFLAGS="$CFLAGS -Wmissing-braces"
   9265 
   9266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9267 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9268 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9269 		if eval \${$cacheid+:} false; then :
   9270   $as_echo_n "(cached) " >&6
   9271 else
   9272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9273 /* end confdefs.h.  */
   9274 int i;
   9275 int
   9276 main ()
   9277 {
   9278 
   9279   ;
   9280   return 0;
   9281 }
   9282 _ACEOF
   9283 if ac_fn_c_try_link "$LINENO"; then :
   9284   eval $cacheid=yes
   9285 else
   9286   eval $cacheid=no
   9287 fi
   9288 rm -f core conftest.err conftest.$ac_objext \
   9289     conftest$ac_exeext conftest.$ac_ext
   9290 fi
   9291 
   9292 
   9293 		CFLAGS="$xorg_testset_save_CFLAGS"
   9294 
   9295 		eval supported=\$$cacheid
   9296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9297 $as_echo "$supported" >&6; }
   9298 		if test "$supported" = "yes" ; then
   9299 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9300 			found="yes"
   9301 		fi
   9302 	fi
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 xorg_testset_save_CFLAGS="$CFLAGS"
   9319 
   9320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9323 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9324 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9325   $as_echo_n "(cached) " >&6
   9326 else
   9327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9328 /* end confdefs.h.  */
   9329 int i;
   9330 _ACEOF
   9331 if ac_fn_c_try_compile "$LINENO"; then :
   9332   xorg_cv_cc_flag_unknown_warning_option=yes
   9333 else
   9334   xorg_cv_cc_flag_unknown_warning_option=no
   9335 fi
   9336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9337 fi
   9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9339 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9341 	CFLAGS="$xorg_testset_save_CFLAGS"
   9342 fi
   9343 
   9344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9347 	fi
   9348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9350 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9351 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9352   $as_echo_n "(cached) " >&6
   9353 else
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 _ACEOF
   9358 if ac_fn_c_try_compile "$LINENO"; then :
   9359   xorg_cv_cc_flag_unused_command_line_argument=yes
   9360 else
   9361   xorg_cv_cc_flag_unused_command_line_argument=no
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9364 fi
   9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9366 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9368 	CFLAGS="$xorg_testset_save_CFLAGS"
   9369 fi
   9370 
   9371 found="no"
   9372 
   9373 	if test $found = "no" ; then
   9374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9376 		fi
   9377 
   9378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9380 		fi
   9381 
   9382 		CFLAGS="$CFLAGS -Wsequence-point"
   9383 
   9384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9385 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9386 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9387 		if eval \${$cacheid+:} false; then :
   9388   $as_echo_n "(cached) " >&6
   9389 else
   9390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9391 /* end confdefs.h.  */
   9392 int i;
   9393 int
   9394 main ()
   9395 {
   9396 
   9397   ;
   9398   return 0;
   9399 }
   9400 _ACEOF
   9401 if ac_fn_c_try_link "$LINENO"; then :
   9402   eval $cacheid=yes
   9403 else
   9404   eval $cacheid=no
   9405 fi
   9406 rm -f core conftest.err conftest.$ac_objext \
   9407     conftest$ac_exeext conftest.$ac_ext
   9408 fi
   9409 
   9410 
   9411 		CFLAGS="$xorg_testset_save_CFLAGS"
   9412 
   9413 		eval supported=\$$cacheid
   9414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9415 $as_echo "$supported" >&6; }
   9416 		if test "$supported" = "yes" ; then
   9417 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9418 			found="yes"
   9419 		fi
   9420 	fi
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 xorg_testset_save_CFLAGS="$CFLAGS"
   9437 
   9438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9441 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9442 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9443   $as_echo_n "(cached) " >&6
   9444 else
   9445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int i;
   9448 _ACEOF
   9449 if ac_fn_c_try_compile "$LINENO"; then :
   9450   xorg_cv_cc_flag_unknown_warning_option=yes
   9451 else
   9452   xorg_cv_cc_flag_unknown_warning_option=no
   9453 fi
   9454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9455 fi
   9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9457 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9459 	CFLAGS="$xorg_testset_save_CFLAGS"
   9460 fi
   9461 
   9462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9465 	fi
   9466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9468 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9469 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 _ACEOF
   9476 if ac_fn_c_try_compile "$LINENO"; then :
   9477   xorg_cv_cc_flag_unused_command_line_argument=yes
   9478 else
   9479   xorg_cv_cc_flag_unused_command_line_argument=no
   9480 fi
   9481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9482 fi
   9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9484 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9486 	CFLAGS="$xorg_testset_save_CFLAGS"
   9487 fi
   9488 
   9489 found="no"
   9490 
   9491 	if test $found = "no" ; then
   9492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9494 		fi
   9495 
   9496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9498 		fi
   9499 
   9500 		CFLAGS="$CFLAGS -Wreturn-type"
   9501 
   9502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9503 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9504 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9505 		if eval \${$cacheid+:} false; then :
   9506   $as_echo_n "(cached) " >&6
   9507 else
   9508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9509 /* end confdefs.h.  */
   9510 int i;
   9511 int
   9512 main ()
   9513 {
   9514 
   9515   ;
   9516   return 0;
   9517 }
   9518 _ACEOF
   9519 if ac_fn_c_try_link "$LINENO"; then :
   9520   eval $cacheid=yes
   9521 else
   9522   eval $cacheid=no
   9523 fi
   9524 rm -f core conftest.err conftest.$ac_objext \
   9525     conftest$ac_exeext conftest.$ac_ext
   9526 fi
   9527 
   9528 
   9529 		CFLAGS="$xorg_testset_save_CFLAGS"
   9530 
   9531 		eval supported=\$$cacheid
   9532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9533 $as_echo "$supported" >&6; }
   9534 		if test "$supported" = "yes" ; then
   9535 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9536 			found="yes"
   9537 		fi
   9538 	fi
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 xorg_testset_save_CFLAGS="$CFLAGS"
   9555 
   9556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9559 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9560 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9561   $as_echo_n "(cached) " >&6
   9562 else
   9563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9564 /* end confdefs.h.  */
   9565 int i;
   9566 _ACEOF
   9567 if ac_fn_c_try_compile "$LINENO"; then :
   9568   xorg_cv_cc_flag_unknown_warning_option=yes
   9569 else
   9570   xorg_cv_cc_flag_unknown_warning_option=no
   9571 fi
   9572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9573 fi
   9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9575 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9577 	CFLAGS="$xorg_testset_save_CFLAGS"
   9578 fi
   9579 
   9580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9583 	fi
   9584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9586 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9587 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9588   $as_echo_n "(cached) " >&6
   9589 else
   9590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9591 /* end confdefs.h.  */
   9592 int i;
   9593 _ACEOF
   9594 if ac_fn_c_try_compile "$LINENO"; then :
   9595   xorg_cv_cc_flag_unused_command_line_argument=yes
   9596 else
   9597   xorg_cv_cc_flag_unused_command_line_argument=no
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9600 fi
   9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9602 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9604 	CFLAGS="$xorg_testset_save_CFLAGS"
   9605 fi
   9606 
   9607 found="no"
   9608 
   9609 	if test $found = "no" ; then
   9610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 		fi
   9613 
   9614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9616 		fi
   9617 
   9618 		CFLAGS="$CFLAGS -Wtrigraphs"
   9619 
   9620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9621 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9622 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9623 		if eval \${$cacheid+:} false; then :
   9624   $as_echo_n "(cached) " >&6
   9625 else
   9626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9627 /* end confdefs.h.  */
   9628 int i;
   9629 int
   9630 main ()
   9631 {
   9632 
   9633   ;
   9634   return 0;
   9635 }
   9636 _ACEOF
   9637 if ac_fn_c_try_link "$LINENO"; then :
   9638   eval $cacheid=yes
   9639 else
   9640   eval $cacheid=no
   9641 fi
   9642 rm -f core conftest.err conftest.$ac_objext \
   9643     conftest$ac_exeext conftest.$ac_ext
   9644 fi
   9645 
   9646 
   9647 		CFLAGS="$xorg_testset_save_CFLAGS"
   9648 
   9649 		eval supported=\$$cacheid
   9650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9651 $as_echo "$supported" >&6; }
   9652 		if test "$supported" = "yes" ; then
   9653 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9654 			found="yes"
   9655 		fi
   9656 	fi
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 xorg_testset_save_CFLAGS="$CFLAGS"
   9673 
   9674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9677 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9678 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9679   $as_echo_n "(cached) " >&6
   9680 else
   9681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9682 /* end confdefs.h.  */
   9683 int i;
   9684 _ACEOF
   9685 if ac_fn_c_try_compile "$LINENO"; then :
   9686   xorg_cv_cc_flag_unknown_warning_option=yes
   9687 else
   9688   xorg_cv_cc_flag_unknown_warning_option=no
   9689 fi
   9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9691 fi
   9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9693 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9695 	CFLAGS="$xorg_testset_save_CFLAGS"
   9696 fi
   9697 
   9698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9701 	fi
   9702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9704 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9705 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 _ACEOF
   9712 if ac_fn_c_try_compile "$LINENO"; then :
   9713   xorg_cv_cc_flag_unused_command_line_argument=yes
   9714 else
   9715   xorg_cv_cc_flag_unused_command_line_argument=no
   9716 fi
   9717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9718 fi
   9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9720 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9722 	CFLAGS="$xorg_testset_save_CFLAGS"
   9723 fi
   9724 
   9725 found="no"
   9726 
   9727 	if test $found = "no" ; then
   9728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9730 		fi
   9731 
   9732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9734 		fi
   9735 
   9736 		CFLAGS="$CFLAGS -Warray-bounds"
   9737 
   9738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9739 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9740 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9741 		if eval \${$cacheid+:} false; then :
   9742   $as_echo_n "(cached) " >&6
   9743 else
   9744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9745 /* end confdefs.h.  */
   9746 int i;
   9747 int
   9748 main ()
   9749 {
   9750 
   9751   ;
   9752   return 0;
   9753 }
   9754 _ACEOF
   9755 if ac_fn_c_try_link "$LINENO"; then :
   9756   eval $cacheid=yes
   9757 else
   9758   eval $cacheid=no
   9759 fi
   9760 rm -f core conftest.err conftest.$ac_objext \
   9761     conftest$ac_exeext conftest.$ac_ext
   9762 fi
   9763 
   9764 
   9765 		CFLAGS="$xorg_testset_save_CFLAGS"
   9766 
   9767 		eval supported=\$$cacheid
   9768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9769 $as_echo "$supported" >&6; }
   9770 		if test "$supported" = "yes" ; then
   9771 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9772 			found="yes"
   9773 		fi
   9774 	fi
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 xorg_testset_save_CFLAGS="$CFLAGS"
   9791 
   9792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9795 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9796 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9797   $as_echo_n "(cached) " >&6
   9798 else
   9799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9800 /* end confdefs.h.  */
   9801 int i;
   9802 _ACEOF
   9803 if ac_fn_c_try_compile "$LINENO"; then :
   9804   xorg_cv_cc_flag_unknown_warning_option=yes
   9805 else
   9806   xorg_cv_cc_flag_unknown_warning_option=no
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9809 fi
   9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9811 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9813 	CFLAGS="$xorg_testset_save_CFLAGS"
   9814 fi
   9815 
   9816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9819 	fi
   9820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9822 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9823 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 _ACEOF
   9830 if ac_fn_c_try_compile "$LINENO"; then :
   9831   xorg_cv_cc_flag_unused_command_line_argument=yes
   9832 else
   9833   xorg_cv_cc_flag_unused_command_line_argument=no
   9834 fi
   9835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9836 fi
   9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9838 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9840 	CFLAGS="$xorg_testset_save_CFLAGS"
   9841 fi
   9842 
   9843 found="no"
   9844 
   9845 	if test $found = "no" ; then
   9846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9848 		fi
   9849 
   9850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9852 		fi
   9853 
   9854 		CFLAGS="$CFLAGS -Wwrite-strings"
   9855 
   9856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9857 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9858 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9859 		if eval \${$cacheid+:} false; then :
   9860   $as_echo_n "(cached) " >&6
   9861 else
   9862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9863 /* end confdefs.h.  */
   9864 int i;
   9865 int
   9866 main ()
   9867 {
   9868 
   9869   ;
   9870   return 0;
   9871 }
   9872 _ACEOF
   9873 if ac_fn_c_try_link "$LINENO"; then :
   9874   eval $cacheid=yes
   9875 else
   9876   eval $cacheid=no
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext \
   9879     conftest$ac_exeext conftest.$ac_ext
   9880 fi
   9881 
   9882 
   9883 		CFLAGS="$xorg_testset_save_CFLAGS"
   9884 
   9885 		eval supported=\$$cacheid
   9886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9887 $as_echo "$supported" >&6; }
   9888 		if test "$supported" = "yes" ; then
   9889 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9890 			found="yes"
   9891 		fi
   9892 	fi
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 xorg_testset_save_CFLAGS="$CFLAGS"
   9909 
   9910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9913 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9914 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9915   $as_echo_n "(cached) " >&6
   9916 else
   9917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9918 /* end confdefs.h.  */
   9919 int i;
   9920 _ACEOF
   9921 if ac_fn_c_try_compile "$LINENO"; then :
   9922   xorg_cv_cc_flag_unknown_warning_option=yes
   9923 else
   9924   xorg_cv_cc_flag_unknown_warning_option=no
   9925 fi
   9926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9927 fi
   9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9929 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9931 	CFLAGS="$xorg_testset_save_CFLAGS"
   9932 fi
   9933 
   9934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9937 	fi
   9938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9940 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9941 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9942   $as_echo_n "(cached) " >&6
   9943 else
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 _ACEOF
   9948 if ac_fn_c_try_compile "$LINENO"; then :
   9949   xorg_cv_cc_flag_unused_command_line_argument=yes
   9950 else
   9951   xorg_cv_cc_flag_unused_command_line_argument=no
   9952 fi
   9953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9954 fi
   9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9956 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9958 	CFLAGS="$xorg_testset_save_CFLAGS"
   9959 fi
   9960 
   9961 found="no"
   9962 
   9963 	if test $found = "no" ; then
   9964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9966 		fi
   9967 
   9968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9970 		fi
   9971 
   9972 		CFLAGS="$CFLAGS -Waddress"
   9973 
   9974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9975 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9976 		cacheid=xorg_cv_cc_flag__Waddress
   9977 		if eval \${$cacheid+:} false; then :
   9978   $as_echo_n "(cached) " >&6
   9979 else
   9980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9981 /* end confdefs.h.  */
   9982 int i;
   9983 int
   9984 main ()
   9985 {
   9986 
   9987   ;
   9988   return 0;
   9989 }
   9990 _ACEOF
   9991 if ac_fn_c_try_link "$LINENO"; then :
   9992   eval $cacheid=yes
   9993 else
   9994   eval $cacheid=no
   9995 fi
   9996 rm -f core conftest.err conftest.$ac_objext \
   9997     conftest$ac_exeext conftest.$ac_ext
   9998 fi
   9999 
   10000 
   10001 		CFLAGS="$xorg_testset_save_CFLAGS"
   10002 
   10003 		eval supported=\$$cacheid
   10004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10005 $as_echo "$supported" >&6; }
   10006 		if test "$supported" = "yes" ; then
   10007 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10008 			found="yes"
   10009 		fi
   10010 	fi
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 xorg_testset_save_CFLAGS="$CFLAGS"
   10027 
   10028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10033   $as_echo_n "(cached) " >&6
   10034 else
   10035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 _ACEOF
   10039 if ac_fn_c_try_compile "$LINENO"; then :
   10040   xorg_cv_cc_flag_unknown_warning_option=yes
   10041 else
   10042   xorg_cv_cc_flag_unknown_warning_option=no
   10043 fi
   10044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10045 fi
   10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10049 	CFLAGS="$xorg_testset_save_CFLAGS"
   10050 fi
   10051 
   10052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10055 	fi
   10056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10060   $as_echo_n "(cached) " >&6
   10061 else
   10062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10063 /* end confdefs.h.  */
   10064 int i;
   10065 _ACEOF
   10066 if ac_fn_c_try_compile "$LINENO"; then :
   10067   xorg_cv_cc_flag_unused_command_line_argument=yes
   10068 else
   10069   xorg_cv_cc_flag_unused_command_line_argument=no
   10070 fi
   10071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10072 fi
   10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10076 	CFLAGS="$xorg_testset_save_CFLAGS"
   10077 fi
   10078 
   10079 found="no"
   10080 
   10081 	if test $found = "no" ; then
   10082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10084 		fi
   10085 
   10086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10088 		fi
   10089 
   10090 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10091 
   10092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10093 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10094 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10095 		if eval \${$cacheid+:} false; then :
   10096   $as_echo_n "(cached) " >&6
   10097 else
   10098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10099 /* end confdefs.h.  */
   10100 int i;
   10101 int
   10102 main ()
   10103 {
   10104 
   10105   ;
   10106   return 0;
   10107 }
   10108 _ACEOF
   10109 if ac_fn_c_try_link "$LINENO"; then :
   10110   eval $cacheid=yes
   10111 else
   10112   eval $cacheid=no
   10113 fi
   10114 rm -f core conftest.err conftest.$ac_objext \
   10115     conftest$ac_exeext conftest.$ac_ext
   10116 fi
   10117 
   10118 
   10119 		CFLAGS="$xorg_testset_save_CFLAGS"
   10120 
   10121 		eval supported=\$$cacheid
   10122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10123 $as_echo "$supported" >&6; }
   10124 		if test "$supported" = "yes" ; then
   10125 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10126 			found="yes"
   10127 		fi
   10128 	fi
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 xorg_testset_save_CFLAGS="$CFLAGS"
   10145 
   10146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10151   $as_echo_n "(cached) " >&6
   10152 else
   10153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10154 /* end confdefs.h.  */
   10155 int i;
   10156 _ACEOF
   10157 if ac_fn_c_try_compile "$LINENO"; then :
   10158   xorg_cv_cc_flag_unknown_warning_option=yes
   10159 else
   10160   xorg_cv_cc_flag_unknown_warning_option=no
   10161 fi
   10162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10163 fi
   10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10167 	CFLAGS="$xorg_testset_save_CFLAGS"
   10168 fi
   10169 
   10170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10173 	fi
   10174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10178   $as_echo_n "(cached) " >&6
   10179 else
   10180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 _ACEOF
   10184 if ac_fn_c_try_compile "$LINENO"; then :
   10185   xorg_cv_cc_flag_unused_command_line_argument=yes
   10186 else
   10187   xorg_cv_cc_flag_unused_command_line_argument=no
   10188 fi
   10189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10190 fi
   10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10194 	CFLAGS="$xorg_testset_save_CFLAGS"
   10195 fi
   10196 
   10197 found="no"
   10198 
   10199 	if test $found = "no" ; then
   10200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 		fi
   10203 
   10204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10206 		fi
   10207 
   10208 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10209 
   10210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10211 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10212 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10213 		if eval \${$cacheid+:} false; then :
   10214   $as_echo_n "(cached) " >&6
   10215 else
   10216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 int
   10220 main ()
   10221 {
   10222 
   10223   ;
   10224   return 0;
   10225 }
   10226 _ACEOF
   10227 if ac_fn_c_try_link "$LINENO"; then :
   10228   eval $cacheid=yes
   10229 else
   10230   eval $cacheid=no
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext \
   10233     conftest$ac_exeext conftest.$ac_ext
   10234 fi
   10235 
   10236 
   10237 		CFLAGS="$xorg_testset_save_CFLAGS"
   10238 
   10239 		eval supported=\$$cacheid
   10240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10241 $as_echo "$supported" >&6; }
   10242 		if test "$supported" = "yes" ; then
   10243 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10244 			found="yes"
   10245 		fi
   10246 	fi
   10247 
   10248 
   10249 fi
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 		CWARNFLAGS="$BASE_CFLAGS"
   10258 		if  test "x$GCC" = xyes ; then
   10259 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10260 		fi
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 # Check whether --enable-strict-compilation was given.
   10270 if test "${enable_strict_compilation+set}" = set; then :
   10271   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10272 else
   10273   STRICT_COMPILE=no
   10274 fi
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 STRICT_CFLAGS=""
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 xorg_testset_save_CFLAGS="$CFLAGS"
   10296 
   10297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10302   $as_echo_n "(cached) " >&6
   10303 else
   10304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 int i;
   10307 _ACEOF
   10308 if ac_fn_c_try_compile "$LINENO"; then :
   10309   xorg_cv_cc_flag_unknown_warning_option=yes
   10310 else
   10311   xorg_cv_cc_flag_unknown_warning_option=no
   10312 fi
   10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10314 fi
   10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10318 	CFLAGS="$xorg_testset_save_CFLAGS"
   10319 fi
   10320 
   10321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 	fi
   10325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10329   $as_echo_n "(cached) " >&6
   10330 else
   10331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10332 /* end confdefs.h.  */
   10333 int i;
   10334 _ACEOF
   10335 if ac_fn_c_try_compile "$LINENO"; then :
   10336   xorg_cv_cc_flag_unused_command_line_argument=yes
   10337 else
   10338   xorg_cv_cc_flag_unused_command_line_argument=no
   10339 fi
   10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10341 fi
   10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10345 	CFLAGS="$xorg_testset_save_CFLAGS"
   10346 fi
   10347 
   10348 found="no"
   10349 
   10350 	if test $found = "no" ; then
   10351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10353 		fi
   10354 
   10355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10357 		fi
   10358 
   10359 		CFLAGS="$CFLAGS -pedantic"
   10360 
   10361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10362 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10363 		cacheid=xorg_cv_cc_flag__pedantic
   10364 		if eval \${$cacheid+:} false; then :
   10365   $as_echo_n "(cached) " >&6
   10366 else
   10367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10368 /* end confdefs.h.  */
   10369 int i;
   10370 int
   10371 main ()
   10372 {
   10373 
   10374   ;
   10375   return 0;
   10376 }
   10377 _ACEOF
   10378 if ac_fn_c_try_link "$LINENO"; then :
   10379   eval $cacheid=yes
   10380 else
   10381   eval $cacheid=no
   10382 fi
   10383 rm -f core conftest.err conftest.$ac_objext \
   10384     conftest$ac_exeext conftest.$ac_ext
   10385 fi
   10386 
   10387 
   10388 		CFLAGS="$xorg_testset_save_CFLAGS"
   10389 
   10390 		eval supported=\$$cacheid
   10391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10392 $as_echo "$supported" >&6; }
   10393 		if test "$supported" = "yes" ; then
   10394 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10395 			found="yes"
   10396 		fi
   10397 	fi
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 xorg_testset_save_CFLAGS="$CFLAGS"
   10414 
   10415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10420   $as_echo_n "(cached) " >&6
   10421 else
   10422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10423 /* end confdefs.h.  */
   10424 int i;
   10425 _ACEOF
   10426 if ac_fn_c_try_compile "$LINENO"; then :
   10427   xorg_cv_cc_flag_unknown_warning_option=yes
   10428 else
   10429   xorg_cv_cc_flag_unknown_warning_option=no
   10430 fi
   10431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10432 fi
   10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10436 	CFLAGS="$xorg_testset_save_CFLAGS"
   10437 fi
   10438 
   10439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 	fi
   10443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10447   $as_echo_n "(cached) " >&6
   10448 else
   10449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10450 /* end confdefs.h.  */
   10451 int i;
   10452 _ACEOF
   10453 if ac_fn_c_try_compile "$LINENO"; then :
   10454   xorg_cv_cc_flag_unused_command_line_argument=yes
   10455 else
   10456   xorg_cv_cc_flag_unused_command_line_argument=no
   10457 fi
   10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10459 fi
   10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10463 	CFLAGS="$xorg_testset_save_CFLAGS"
   10464 fi
   10465 
   10466 found="no"
   10467 
   10468 	if test $found = "no" ; then
   10469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 		fi
   10472 
   10473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10475 		fi
   10476 
   10477 		CFLAGS="$CFLAGS -Werror"
   10478 
   10479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10480 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10481 		cacheid=xorg_cv_cc_flag__Werror
   10482 		if eval \${$cacheid+:} false; then :
   10483   $as_echo_n "(cached) " >&6
   10484 else
   10485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 int
   10489 main ()
   10490 {
   10491 
   10492   ;
   10493   return 0;
   10494 }
   10495 _ACEOF
   10496 if ac_fn_c_try_link "$LINENO"; then :
   10497   eval $cacheid=yes
   10498 else
   10499   eval $cacheid=no
   10500 fi
   10501 rm -f core conftest.err conftest.$ac_objext \
   10502     conftest$ac_exeext conftest.$ac_ext
   10503 fi
   10504 
   10505 
   10506 		CFLAGS="$xorg_testset_save_CFLAGS"
   10507 
   10508 		eval supported=\$$cacheid
   10509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10510 $as_echo "$supported" >&6; }
   10511 		if test "$supported" = "yes" ; then
   10512 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10513 			found="yes"
   10514 		fi
   10515 	fi
   10516 
   10517 	if test $found = "no" ; then
   10518 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10520 		fi
   10521 
   10522 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10524 		fi
   10525 
   10526 		CFLAGS="$CFLAGS -errwarn"
   10527 
   10528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10529 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10530 		cacheid=xorg_cv_cc_flag__errwarn
   10531 		if eval \${$cacheid+:} false; then :
   10532   $as_echo_n "(cached) " >&6
   10533 else
   10534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10535 /* end confdefs.h.  */
   10536 int i;
   10537 int
   10538 main ()
   10539 {
   10540 
   10541   ;
   10542   return 0;
   10543 }
   10544 _ACEOF
   10545 if ac_fn_c_try_link "$LINENO"; then :
   10546   eval $cacheid=yes
   10547 else
   10548   eval $cacheid=no
   10549 fi
   10550 rm -f core conftest.err conftest.$ac_objext \
   10551     conftest$ac_exeext conftest.$ac_ext
   10552 fi
   10553 
   10554 
   10555 		CFLAGS="$xorg_testset_save_CFLAGS"
   10556 
   10557 		eval supported=\$$cacheid
   10558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10559 $as_echo "$supported" >&6; }
   10560 		if test "$supported" = "yes" ; then
   10561 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10562 			found="yes"
   10563 		fi
   10564 	fi
   10565 
   10566 
   10567 
   10568 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10569 # activate it with -Werror, so we add it here explicitly.
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 xorg_testset_save_CFLAGS="$CFLAGS"
   10584 
   10585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10588 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10589 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10590   $as_echo_n "(cached) " >&6
   10591 else
   10592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10593 /* end confdefs.h.  */
   10594 int i;
   10595 _ACEOF
   10596 if ac_fn_c_try_compile "$LINENO"; then :
   10597   xorg_cv_cc_flag_unknown_warning_option=yes
   10598 else
   10599   xorg_cv_cc_flag_unknown_warning_option=no
   10600 fi
   10601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10602 fi
   10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10604 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10606 	CFLAGS="$xorg_testset_save_CFLAGS"
   10607 fi
   10608 
   10609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10612 	fi
   10613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10615 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10616 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10617   $as_echo_n "(cached) " >&6
   10618 else
   10619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10620 /* end confdefs.h.  */
   10621 int i;
   10622 _ACEOF
   10623 if ac_fn_c_try_compile "$LINENO"; then :
   10624   xorg_cv_cc_flag_unused_command_line_argument=yes
   10625 else
   10626   xorg_cv_cc_flag_unused_command_line_argument=no
   10627 fi
   10628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10629 fi
   10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10631 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10633 	CFLAGS="$xorg_testset_save_CFLAGS"
   10634 fi
   10635 
   10636 found="no"
   10637 
   10638 	if test $found = "no" ; then
   10639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10641 		fi
   10642 
   10643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10645 		fi
   10646 
   10647 		CFLAGS="$CFLAGS -Werror=attributes"
   10648 
   10649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10650 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10651 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10652 		if eval \${$cacheid+:} false; then :
   10653   $as_echo_n "(cached) " >&6
   10654 else
   10655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10656 /* end confdefs.h.  */
   10657 int i;
   10658 int
   10659 main ()
   10660 {
   10661 
   10662   ;
   10663   return 0;
   10664 }
   10665 _ACEOF
   10666 if ac_fn_c_try_link "$LINENO"; then :
   10667   eval $cacheid=yes
   10668 else
   10669   eval $cacheid=no
   10670 fi
   10671 rm -f core conftest.err conftest.$ac_objext \
   10672     conftest$ac_exeext conftest.$ac_ext
   10673 fi
   10674 
   10675 
   10676 		CFLAGS="$xorg_testset_save_CFLAGS"
   10677 
   10678 		eval supported=\$$cacheid
   10679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10680 $as_echo "$supported" >&6; }
   10681 		if test "$supported" = "yes" ; then
   10682 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10683 			found="yes"
   10684 		fi
   10685 	fi
   10686 
   10687 
   10688 
   10689 if test "x$STRICT_COMPILE" = "xyes"; then
   10690     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10691     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10692 fi
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 cat >>confdefs.h <<_ACEOF
   10700 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10701 _ACEOF
   10702 
   10703 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10704 	if test "x$PVM" = "x"; then
   10705 		PVM="0"
   10706 	fi
   10707 
   10708 cat >>confdefs.h <<_ACEOF
   10709 #define PACKAGE_VERSION_MINOR $PVM
   10710 _ACEOF
   10711 
   10712 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10713 	if test "x$PVP" = "x"; then
   10714 		PVP="0"
   10715 	fi
   10716 
   10717 cat >>confdefs.h <<_ACEOF
   10718 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10719 _ACEOF
   10720 
   10721 
   10722 
   10723 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10724 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10725 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10726 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10727 
   10728 
   10729 
   10730 
   10731 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10732 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10733 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10734 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10735 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 if test x$APP_MAN_SUFFIX = x    ; then
   10743     APP_MAN_SUFFIX=1
   10744 fi
   10745 if test x$APP_MAN_DIR = x    ; then
   10746     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10747 fi
   10748 
   10749 if test x$LIB_MAN_SUFFIX = x    ; then
   10750     LIB_MAN_SUFFIX=3
   10751 fi
   10752 if test x$LIB_MAN_DIR = x    ; then
   10753     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10754 fi
   10755 
   10756 if test x$FILE_MAN_SUFFIX = x    ; then
   10757     case $host_os in
   10758 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10759 	*)		FILE_MAN_SUFFIX=5  ;;
   10760     esac
   10761 fi
   10762 if test x$FILE_MAN_DIR = x    ; then
   10763     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10764 fi
   10765 
   10766 if test x$MISC_MAN_SUFFIX = x    ; then
   10767     case $host_os in
   10768 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10769 	*)		MISC_MAN_SUFFIX=7  ;;
   10770     esac
   10771 fi
   10772 if test x$MISC_MAN_DIR = x    ; then
   10773     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10774 fi
   10775 
   10776 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10777     case $host_os in
   10778 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10779 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10780     esac
   10781 fi
   10782 if test x$DRIVER_MAN_DIR = x    ; then
   10783     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10784 fi
   10785 
   10786 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10787     case $host_os in
   10788 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10789 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10790     esac
   10791 fi
   10792 if test x$ADMIN_MAN_DIR = x    ; then
   10793     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10794 fi
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 XORG_MAN_PAGE="X Version 11"
   10811 
   10812 MAN_SUBSTS="\
   10813 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10814 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10815 	-e 's|__xservername__|Xorg|g' \
   10816 	-e 's|__xconfigfile__|xorg.conf|g' \
   10817 	-e 's|__projectroot__|\$(prefix)|g' \
   10818 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10819 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10820 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10821 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10822 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10823 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10824 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10825 
   10826 
   10827 
   10828 # Check whether --enable-silent-rules was given.
   10829 if test "${enable_silent_rules+set}" = set; then :
   10830   enableval=$enable_silent_rules;
   10831 fi
   10832 
   10833 case $enable_silent_rules in # (((
   10834   yes) AM_DEFAULT_VERBOSITY=0;;
   10835    no) AM_DEFAULT_VERBOSITY=1;;
   10836     *) AM_DEFAULT_VERBOSITY=0;;
   10837 esac
   10838 am_make=${MAKE-make}
   10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10840 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10841 if ${am_cv_make_support_nested_variables+:} false; then :
   10842   $as_echo_n "(cached) " >&6
   10843 else
   10844   if $as_echo 'TRUE=$(BAR$(V))
   10845 BAR0=false
   10846 BAR1=true
   10847 V=1
   10848 am__doit:
   10849 	@$(TRUE)
   10850 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10851   am_cv_make_support_nested_variables=yes
   10852 else
   10853   am_cv_make_support_nested_variables=no
   10854 fi
   10855 fi
   10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10857 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10858 if test $am_cv_make_support_nested_variables = yes; then
   10859     AM_V='$(V)'
   10860   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10861 else
   10862   AM_V=$AM_DEFAULT_VERBOSITY
   10863   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10864 fi
   10865 AM_BACKSLASH='\'
   10866 
   10867 
   10868 
   10869 # Initialize libtool
   10870 # Check whether --enable-static was given.
   10871 if test "${enable_static+set}" = set; then :
   10872   enableval=$enable_static; p=${PACKAGE-default}
   10873     case $enableval in
   10874     yes) enable_static=yes ;;
   10875     no) enable_static=no ;;
   10876     *)
   10877      enable_static=no
   10878       # Look at the argument we got.  We use all the common list separators.
   10879       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10880       for pkg in $enableval; do
   10881 	IFS=$lt_save_ifs
   10882 	if test "X$pkg" = "X$p"; then
   10883 	  enable_static=yes
   10884 	fi
   10885       done
   10886       IFS=$lt_save_ifs
   10887       ;;
   10888     esac
   10889 else
   10890   enable_static=no
   10891 fi
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 case `pwd` in
   10902   *\ * | *\	*)
   10903     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10904 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10905 esac
   10906 
   10907 
   10908 
   10909 macro_version='2.4.6'
   10910 macro_revision='2.4.6'
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 ltmain=$ac_aux_dir/ltmain.sh
   10925 
   10926 # Backslashify metacharacters that are still active within
   10927 # double-quoted strings.
   10928 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10929 
   10930 # Same as above, but do not quote variable references.
   10931 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10932 
   10933 # Sed substitution to delay expansion of an escaped shell variable in a
   10934 # double_quote_subst'ed string.
   10935 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10936 
   10937 # Sed substitution to delay expansion of an escaped single quote.
   10938 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10939 
   10940 # Sed substitution to avoid accidental globbing in evaled expressions
   10941 no_glob_subst='s/\*/\\\*/g'
   10942 
   10943 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10945 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10946 
   10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10948 $as_echo_n "checking how to print strings... " >&6; }
   10949 # Test print first, because it will be a builtin if present.
   10950 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10951    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10952   ECHO='print -r --'
   10953 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10954   ECHO='printf %s\n'
   10955 else
   10956   # Use this function as a fallback that always works.
   10957   func_fallback_echo ()
   10958   {
   10959     eval 'cat <<_LTECHO_EOF
   10960 $1
   10961 _LTECHO_EOF'
   10962   }
   10963   ECHO='func_fallback_echo'
   10964 fi
   10965 
   10966 # func_echo_all arg...
   10967 # Invoke $ECHO with all args, space-separated.
   10968 func_echo_all ()
   10969 {
   10970     $ECHO ""
   10971 }
   10972 
   10973 case $ECHO in
   10974   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10975 $as_echo "printf" >&6; } ;;
   10976   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10977 $as_echo "print -r" >&6; } ;;
   10978   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10979 $as_echo "cat" >&6; } ;;
   10980 esac
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10996 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10997 if ${ac_cv_path_SED+:} false; then :
   10998   $as_echo_n "(cached) " >&6
   10999 else
   11000             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11001      for ac_i in 1 2 3 4 5 6 7; do
   11002        ac_script="$ac_script$as_nl$ac_script"
   11003      done
   11004      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11005      { ac_script=; unset ac_script;}
   11006      if test -z "$SED"; then
   11007   ac_path_SED_found=false
   11008   # Loop through the user's path and test for each of PROGNAME-LIST
   11009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11010 for as_dir in $PATH
   11011 do
   11012   IFS=$as_save_IFS
   11013   test -z "$as_dir" && as_dir=.
   11014     for ac_prog in sed gsed; do
   11015     for ac_exec_ext in '' $ac_executable_extensions; do
   11016       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11017       as_fn_executable_p "$ac_path_SED" || continue
   11018 # Check for GNU ac_path_SED and select it if it is found.
   11019   # Check for GNU $ac_path_SED
   11020 case `"$ac_path_SED" --version 2>&1` in
   11021 *GNU*)
   11022   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11023 *)
   11024   ac_count=0
   11025   $as_echo_n 0123456789 >"conftest.in"
   11026   while :
   11027   do
   11028     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11029     mv "conftest.tmp" "conftest.in"
   11030     cp "conftest.in" "conftest.nl"
   11031     $as_echo '' >> "conftest.nl"
   11032     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11033     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11034     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11035     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11036       # Best one so far, save it but keep looking for a better one
   11037       ac_cv_path_SED="$ac_path_SED"
   11038       ac_path_SED_max=$ac_count
   11039     fi
   11040     # 10*(2^10) chars as input seems more than enough
   11041     test $ac_count -gt 10 && break
   11042   done
   11043   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11044 esac
   11045 
   11046       $ac_path_SED_found && break 3
   11047     done
   11048   done
   11049   done
   11050 IFS=$as_save_IFS
   11051   if test -z "$ac_cv_path_SED"; then
   11052     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11053   fi
   11054 else
   11055   ac_cv_path_SED=$SED
   11056 fi
   11057 
   11058 fi
   11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11060 $as_echo "$ac_cv_path_SED" >&6; }
   11061  SED="$ac_cv_path_SED"
   11062   rm -f conftest.sed
   11063 
   11064 test -z "$SED" && SED=sed
   11065 Xsed="$SED -e 1s/^X//"
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11078 $as_echo_n "checking for fgrep... " >&6; }
   11079 if ${ac_cv_path_FGREP+:} false; then :
   11080   $as_echo_n "(cached) " >&6
   11081 else
   11082   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11083    then ac_cv_path_FGREP="$GREP -F"
   11084    else
   11085      if test -z "$FGREP"; then
   11086   ac_path_FGREP_found=false
   11087   # Loop through the user's path and test for each of PROGNAME-LIST
   11088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11090 do
   11091   IFS=$as_save_IFS
   11092   test -z "$as_dir" && as_dir=.
   11093     for ac_prog in fgrep; do
   11094     for ac_exec_ext in '' $ac_executable_extensions; do
   11095       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11096       as_fn_executable_p "$ac_path_FGREP" || continue
   11097 # Check for GNU ac_path_FGREP and select it if it is found.
   11098   # Check for GNU $ac_path_FGREP
   11099 case `"$ac_path_FGREP" --version 2>&1` in
   11100 *GNU*)
   11101   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11102 *)
   11103   ac_count=0
   11104   $as_echo_n 0123456789 >"conftest.in"
   11105   while :
   11106   do
   11107     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11108     mv "conftest.tmp" "conftest.in"
   11109     cp "conftest.in" "conftest.nl"
   11110     $as_echo 'FGREP' >> "conftest.nl"
   11111     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11113     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11114     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11115       # Best one so far, save it but keep looking for a better one
   11116       ac_cv_path_FGREP="$ac_path_FGREP"
   11117       ac_path_FGREP_max=$ac_count
   11118     fi
   11119     # 10*(2^10) chars as input seems more than enough
   11120     test $ac_count -gt 10 && break
   11121   done
   11122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11123 esac
   11124 
   11125       $ac_path_FGREP_found && break 3
   11126     done
   11127   done
   11128   done
   11129 IFS=$as_save_IFS
   11130   if test -z "$ac_cv_path_FGREP"; then
   11131     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11132   fi
   11133 else
   11134   ac_cv_path_FGREP=$FGREP
   11135 fi
   11136 
   11137    fi
   11138 fi
   11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11140 $as_echo "$ac_cv_path_FGREP" >&6; }
   11141  FGREP="$ac_cv_path_FGREP"
   11142 
   11143 
   11144 test -z "$GREP" && GREP=grep
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 # Check whether --with-gnu-ld was given.
   11165 if test "${with_gnu_ld+set}" = set; then :
   11166   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11167 else
   11168   with_gnu_ld=no
   11169 fi
   11170 
   11171 ac_prog=ld
   11172 if test yes = "$GCC"; then
   11173   # Check if gcc -print-prog-name=ld gives a path.
   11174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11175 $as_echo_n "checking for ld used by $CC... " >&6; }
   11176   case $host in
   11177   *-*-mingw*)
   11178     # gcc leaves a trailing carriage return, which upsets mingw
   11179     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11180   *)
   11181     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11182   esac
   11183   case $ac_prog in
   11184     # Accept absolute paths.
   11185     [\\/]* | ?:[\\/]*)
   11186       re_direlt='/[^/][^/]*/\.\./'
   11187       # Canonicalize the pathname of ld
   11188       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11189       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11190 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11191       done
   11192       test -z "$LD" && LD=$ac_prog
   11193       ;;
   11194   "")
   11195     # If it fails, then pretend we aren't using GCC.
   11196     ac_prog=ld
   11197     ;;
   11198   *)
   11199     # If it is relative, then search for the first ld in PATH.
   11200     with_gnu_ld=unknown
   11201     ;;
   11202   esac
   11203 elif test yes = "$with_gnu_ld"; then
   11204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11205 $as_echo_n "checking for GNU ld... " >&6; }
   11206 else
   11207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11208 $as_echo_n "checking for non-GNU ld... " >&6; }
   11209 fi
   11210 if ${lt_cv_path_LD+:} false; then :
   11211   $as_echo_n "(cached) " >&6
   11212 else
   11213   if test -z "$LD"; then
   11214   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11215   for ac_dir in $PATH; do
   11216     IFS=$lt_save_ifs
   11217     test -z "$ac_dir" && ac_dir=.
   11218     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11219       lt_cv_path_LD=$ac_dir/$ac_prog
   11220       # Check to see if the program is GNU ld.  I'd rather use --version,
   11221       # but apparently some variants of GNU ld only accept -v.
   11222       # Break only if it was the GNU/non-GNU ld that we prefer.
   11223       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11224       *GNU* | *'with BFD'*)
   11225 	test no != "$with_gnu_ld" && break
   11226 	;;
   11227       *)
   11228 	test yes != "$with_gnu_ld" && break
   11229 	;;
   11230       esac
   11231     fi
   11232   done
   11233   IFS=$lt_save_ifs
   11234 else
   11235   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11236 fi
   11237 fi
   11238 
   11239 LD=$lt_cv_path_LD
   11240 if test -n "$LD"; then
   11241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11242 $as_echo "$LD" >&6; }
   11243 else
   11244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11245 $as_echo "no" >&6; }
   11246 fi
   11247 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11249 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11250 if ${lt_cv_prog_gnu_ld+:} false; then :
   11251   $as_echo_n "(cached) " >&6
   11252 else
   11253   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11254 case `$LD -v 2>&1 </dev/null` in
   11255 *GNU* | *'with BFD'*)
   11256   lt_cv_prog_gnu_ld=yes
   11257   ;;
   11258 *)
   11259   lt_cv_prog_gnu_ld=no
   11260   ;;
   11261 esac
   11262 fi
   11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11264 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11265 with_gnu_ld=$lt_cv_prog_gnu_ld
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11276 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11277 if ${lt_cv_path_NM+:} false; then :
   11278   $as_echo_n "(cached) " >&6
   11279 else
   11280   if test -n "$NM"; then
   11281   # Let the user override the test.
   11282   lt_cv_path_NM=$NM
   11283 else
   11284   lt_nm_to_check=${ac_tool_prefix}nm
   11285   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11286     lt_nm_to_check="$lt_nm_to_check nm"
   11287   fi
   11288   for lt_tmp_nm in $lt_nm_to_check; do
   11289     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11290     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11291       IFS=$lt_save_ifs
   11292       test -z "$ac_dir" && ac_dir=.
   11293       tmp_nm=$ac_dir/$lt_tmp_nm
   11294       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11295 	# Check to see if the nm accepts a BSD-compat flag.
   11296 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11297 	#   nm: unknown option "B" ignored
   11298 	# Tru64's nm complains that /dev/null is an invalid object file
   11299 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11300 	case $build_os in
   11301 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11302 	*) lt_bad_file=/dev/null ;;
   11303 	esac
   11304 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11305 	*$lt_bad_file* | *'Invalid file or object type'*)
   11306 	  lt_cv_path_NM="$tmp_nm -B"
   11307 	  break 2
   11308 	  ;;
   11309 	*)
   11310 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11311 	  */dev/null*)
   11312 	    lt_cv_path_NM="$tmp_nm -p"
   11313 	    break 2
   11314 	    ;;
   11315 	  *)
   11316 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11317 	    continue # so that we can try to find one that supports BSD flags
   11318 	    ;;
   11319 	  esac
   11320 	  ;;
   11321 	esac
   11322       fi
   11323     done
   11324     IFS=$lt_save_ifs
   11325   done
   11326   : ${lt_cv_path_NM=no}
   11327 fi
   11328 fi
   11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11330 $as_echo "$lt_cv_path_NM" >&6; }
   11331 if test no != "$lt_cv_path_NM"; then
   11332   NM=$lt_cv_path_NM
   11333 else
   11334   # Didn't find any BSD compatible name lister, look for dumpbin.
   11335   if test -n "$DUMPBIN"; then :
   11336     # Let the user override the test.
   11337   else
   11338     if test -n "$ac_tool_prefix"; then
   11339   for ac_prog in dumpbin "link -dump"
   11340   do
   11341     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11344 $as_echo_n "checking for $ac_word... " >&6; }
   11345 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11346   $as_echo_n "(cached) " >&6
   11347 else
   11348   if test -n "$DUMPBIN"; then
   11349   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11350 else
   11351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11352 for as_dir in $PATH
   11353 do
   11354   IFS=$as_save_IFS
   11355   test -z "$as_dir" && as_dir=.
   11356     for ac_exec_ext in '' $ac_executable_extensions; do
   11357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11358     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11360     break 2
   11361   fi
   11362 done
   11363   done
   11364 IFS=$as_save_IFS
   11365 
   11366 fi
   11367 fi
   11368 DUMPBIN=$ac_cv_prog_DUMPBIN
   11369 if test -n "$DUMPBIN"; then
   11370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11371 $as_echo "$DUMPBIN" >&6; }
   11372 else
   11373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11374 $as_echo "no" >&6; }
   11375 fi
   11376 
   11377 
   11378     test -n "$DUMPBIN" && break
   11379   done
   11380 fi
   11381 if test -z "$DUMPBIN"; then
   11382   ac_ct_DUMPBIN=$DUMPBIN
   11383   for ac_prog in dumpbin "link -dump"
   11384 do
   11385   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11386 set dummy $ac_prog; ac_word=$2
   11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11388 $as_echo_n "checking for $ac_word... " >&6; }
   11389 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11390   $as_echo_n "(cached) " >&6
   11391 else
   11392   if test -n "$ac_ct_DUMPBIN"; then
   11393   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11394 else
   11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11396 for as_dir in $PATH
   11397 do
   11398   IFS=$as_save_IFS
   11399   test -z "$as_dir" && as_dir=.
   11400     for ac_exec_ext in '' $ac_executable_extensions; do
   11401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11402     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11404     break 2
   11405   fi
   11406 done
   11407   done
   11408 IFS=$as_save_IFS
   11409 
   11410 fi
   11411 fi
   11412 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11413 if test -n "$ac_ct_DUMPBIN"; then
   11414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11415 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11416 else
   11417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11418 $as_echo "no" >&6; }
   11419 fi
   11420 
   11421 
   11422   test -n "$ac_ct_DUMPBIN" && break
   11423 done
   11424 
   11425   if test "x$ac_ct_DUMPBIN" = x; then
   11426     DUMPBIN=":"
   11427   else
   11428     case $cross_compiling:$ac_tool_warned in
   11429 yes:)
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11432 ac_tool_warned=yes ;;
   11433 esac
   11434     DUMPBIN=$ac_ct_DUMPBIN
   11435   fi
   11436 fi
   11437 
   11438     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11439     *COFF*)
   11440       DUMPBIN="$DUMPBIN -symbols -headers"
   11441       ;;
   11442     *)
   11443       DUMPBIN=:
   11444       ;;
   11445     esac
   11446   fi
   11447 
   11448   if test : != "$DUMPBIN"; then
   11449     NM=$DUMPBIN
   11450   fi
   11451 fi
   11452 test -z "$NM" && NM=nm
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11460 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11461 if ${lt_cv_nm_interface+:} false; then :
   11462   $as_echo_n "(cached) " >&6
   11463 else
   11464   lt_cv_nm_interface="BSD nm"
   11465   echo "int some_variable = 0;" > conftest.$ac_ext
   11466   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11467   (eval "$ac_compile" 2>conftest.err)
   11468   cat conftest.err >&5
   11469   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11470   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11471   cat conftest.err >&5
   11472   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11473   cat conftest.out >&5
   11474   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11475     lt_cv_nm_interface="MS dumpbin"
   11476   fi
   11477   rm -f conftest*
   11478 fi
   11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11480 $as_echo "$lt_cv_nm_interface" >&6; }
   11481 
   11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11483 $as_echo_n "checking whether ln -s works... " >&6; }
   11484 LN_S=$as_ln_s
   11485 if test "$LN_S" = "ln -s"; then
   11486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11487 $as_echo "yes" >&6; }
   11488 else
   11489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11490 $as_echo "no, using $LN_S" >&6; }
   11491 fi
   11492 
   11493 # find the maximum length of command line arguments
   11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11495 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11496 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11497   $as_echo_n "(cached) " >&6
   11498 else
   11499     i=0
   11500   teststring=ABCD
   11501 
   11502   case $build_os in
   11503   msdosdjgpp*)
   11504     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11505     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11506     # during glob expansion).  Even if it were fixed, the result of this
   11507     # check would be larger than it should be.
   11508     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11509     ;;
   11510 
   11511   gnu*)
   11512     # Under GNU Hurd, this test is not required because there is
   11513     # no limit to the length of command line arguments.
   11514     # Libtool will interpret -1 as no limit whatsoever
   11515     lt_cv_sys_max_cmd_len=-1;
   11516     ;;
   11517 
   11518   cygwin* | mingw* | cegcc*)
   11519     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11520     # about 5 minutes as the teststring grows exponentially.
   11521     # Worse, since 9x/ME are not pre-emptively multitasking,
   11522     # you end up with a "frozen" computer, even though with patience
   11523     # the test eventually succeeds (with a max line length of 256k).
   11524     # Instead, let's just punt: use the minimum linelength reported by
   11525     # all of the supported platforms: 8192 (on NT/2K/XP).
   11526     lt_cv_sys_max_cmd_len=8192;
   11527     ;;
   11528 
   11529   mint*)
   11530     # On MiNT this can take a long time and run out of memory.
   11531     lt_cv_sys_max_cmd_len=8192;
   11532     ;;
   11533 
   11534   amigaos*)
   11535     # On AmigaOS with pdksh, this test takes hours, literally.
   11536     # So we just punt and use a minimum line length of 8192.
   11537     lt_cv_sys_max_cmd_len=8192;
   11538     ;;
   11539 
   11540   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11541     # This has been around since 386BSD, at least.  Likely further.
   11542     if test -x /sbin/sysctl; then
   11543       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11544     elif test -x /usr/sbin/sysctl; then
   11545       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11546     else
   11547       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11548     fi
   11549     # And add a safety zone
   11550     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11551     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11552     ;;
   11553 
   11554   interix*)
   11555     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11556     lt_cv_sys_max_cmd_len=196608
   11557     ;;
   11558 
   11559   os2*)
   11560     # The test takes a long time on OS/2.
   11561     lt_cv_sys_max_cmd_len=8192
   11562     ;;
   11563 
   11564   osf*)
   11565     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11566     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11567     # nice to cause kernel panics so lets avoid the loop below.
   11568     # First set a reasonable default.
   11569     lt_cv_sys_max_cmd_len=16384
   11570     #
   11571     if test -x /sbin/sysconfig; then
   11572       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11573         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11574       esac
   11575     fi
   11576     ;;
   11577   sco3.2v5*)
   11578     lt_cv_sys_max_cmd_len=102400
   11579     ;;
   11580   sysv5* | sco5v6* | sysv4.2uw2*)
   11581     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11582     if test -n "$kargmax"; then
   11583       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11584     else
   11585       lt_cv_sys_max_cmd_len=32768
   11586     fi
   11587     ;;
   11588   *)
   11589     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11590     if test -n "$lt_cv_sys_max_cmd_len" && \
   11591        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11592       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11593       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11594     else
   11595       # Make teststring a little bigger before we do anything with it.
   11596       # a 1K string should be a reasonable start.
   11597       for i in 1 2 3 4 5 6 7 8; do
   11598         teststring=$teststring$teststring
   11599       done
   11600       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11601       # If test is not a shell built-in, we'll probably end up computing a
   11602       # maximum length that is only half of the actual maximum length, but
   11603       # we can't tell.
   11604       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11605 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11606 	      test 17 != "$i" # 1/2 MB should be enough
   11607       do
   11608         i=`expr $i + 1`
   11609         teststring=$teststring$teststring
   11610       done
   11611       # Only check the string length outside the loop.
   11612       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11613       teststring=
   11614       # Add a significant safety factor because C++ compilers can tack on
   11615       # massive amounts of additional arguments before passing them to the
   11616       # linker.  It appears as though 1/2 is a usable value.
   11617       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11618     fi
   11619     ;;
   11620   esac
   11621 
   11622 fi
   11623 
   11624 if test -n "$lt_cv_sys_max_cmd_len"; then
   11625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11626 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11627 else
   11628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11629 $as_echo "none" >&6; }
   11630 fi
   11631 max_cmd_len=$lt_cv_sys_max_cmd_len
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 : ${CP="cp -f"}
   11639 : ${MV="mv -f"}
   11640 : ${RM="rm -f"}
   11641 
   11642 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11643   lt_unset=unset
   11644 else
   11645   lt_unset=false
   11646 fi
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 # test EBCDIC or ASCII
   11653 case `echo X|tr X '\101'` in
   11654  A) # ASCII based system
   11655     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11656   lt_SP2NL='tr \040 \012'
   11657   lt_NL2SP='tr \015\012 \040\040'
   11658   ;;
   11659  *) # EBCDIC based system
   11660   lt_SP2NL='tr \100 \n'
   11661   lt_NL2SP='tr \r\n \100\100'
   11662   ;;
   11663 esac
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11674 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11675 if ${lt_cv_to_host_file_cmd+:} false; then :
   11676   $as_echo_n "(cached) " >&6
   11677 else
   11678   case $host in
   11679   *-*-mingw* )
   11680     case $build in
   11681       *-*-mingw* ) # actually msys
   11682         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11683         ;;
   11684       *-*-cygwin* )
   11685         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11686         ;;
   11687       * ) # otherwise, assume *nix
   11688         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11689         ;;
   11690     esac
   11691     ;;
   11692   *-*-cygwin* )
   11693     case $build in
   11694       *-*-mingw* ) # actually msys
   11695         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11696         ;;
   11697       *-*-cygwin* )
   11698         lt_cv_to_host_file_cmd=func_convert_file_noop
   11699         ;;
   11700       * ) # otherwise, assume *nix
   11701         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11702         ;;
   11703     esac
   11704     ;;
   11705   * ) # unhandled hosts (and "normal" native builds)
   11706     lt_cv_to_host_file_cmd=func_convert_file_noop
   11707     ;;
   11708 esac
   11709 
   11710 fi
   11711 
   11712 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11714 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11721 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11722 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11723   $as_echo_n "(cached) " >&6
   11724 else
   11725   #assume ordinary cross tools, or native build.
   11726 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11727 case $host in
   11728   *-*-mingw* )
   11729     case $build in
   11730       *-*-mingw* ) # actually msys
   11731         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11732         ;;
   11733     esac
   11734     ;;
   11735 esac
   11736 
   11737 fi
   11738 
   11739 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11741 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11748 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11749 if ${lt_cv_ld_reload_flag+:} false; then :
   11750   $as_echo_n "(cached) " >&6
   11751 else
   11752   lt_cv_ld_reload_flag='-r'
   11753 fi
   11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11755 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11756 reload_flag=$lt_cv_ld_reload_flag
   11757 case $reload_flag in
   11758 "" | " "*) ;;
   11759 *) reload_flag=" $reload_flag" ;;
   11760 esac
   11761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11762 case $host_os in
   11763   cygwin* | mingw* | pw32* | cegcc*)
   11764     if test yes != "$GCC"; then
   11765       reload_cmds=false
   11766     fi
   11767     ;;
   11768   darwin*)
   11769     if test yes = "$GCC"; then
   11770       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11771     else
   11772       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11773     fi
   11774     ;;
   11775 esac
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 if test -n "$ac_tool_prefix"; then
   11786   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11787 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11789 $as_echo_n "checking for $ac_word... " >&6; }
   11790 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11791   $as_echo_n "(cached) " >&6
   11792 else
   11793   if test -n "$OBJDUMP"; then
   11794   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11795 else
   11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11797 for as_dir in $PATH
   11798 do
   11799   IFS=$as_save_IFS
   11800   test -z "$as_dir" && as_dir=.
   11801     for ac_exec_ext in '' $ac_executable_extensions; do
   11802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11803     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11805     break 2
   11806   fi
   11807 done
   11808   done
   11809 IFS=$as_save_IFS
   11810 
   11811 fi
   11812 fi
   11813 OBJDUMP=$ac_cv_prog_OBJDUMP
   11814 if test -n "$OBJDUMP"; then
   11815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11816 $as_echo "$OBJDUMP" >&6; }
   11817 else
   11818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11819 $as_echo "no" >&6; }
   11820 fi
   11821 
   11822 
   11823 fi
   11824 if test -z "$ac_cv_prog_OBJDUMP"; then
   11825   ac_ct_OBJDUMP=$OBJDUMP
   11826   # Extract the first word of "objdump", so it can be a program name with args.
   11827 set dummy objdump; ac_word=$2
   11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11829 $as_echo_n "checking for $ac_word... " >&6; }
   11830 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11831   $as_echo_n "(cached) " >&6
   11832 else
   11833   if test -n "$ac_ct_OBJDUMP"; then
   11834   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11835 else
   11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11837 for as_dir in $PATH
   11838 do
   11839   IFS=$as_save_IFS
   11840   test -z "$as_dir" && as_dir=.
   11841     for ac_exec_ext in '' $ac_executable_extensions; do
   11842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11843     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11845     break 2
   11846   fi
   11847 done
   11848   done
   11849 IFS=$as_save_IFS
   11850 
   11851 fi
   11852 fi
   11853 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11854 if test -n "$ac_ct_OBJDUMP"; then
   11855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11856 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11857 else
   11858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11859 $as_echo "no" >&6; }
   11860 fi
   11861 
   11862   if test "x$ac_ct_OBJDUMP" = x; then
   11863     OBJDUMP="false"
   11864   else
   11865     case $cross_compiling:$ac_tool_warned in
   11866 yes:)
   11867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11869 ac_tool_warned=yes ;;
   11870 esac
   11871     OBJDUMP=$ac_ct_OBJDUMP
   11872   fi
   11873 else
   11874   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11875 fi
   11876 
   11877 test -z "$OBJDUMP" && OBJDUMP=objdump
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11888 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11889 if ${lt_cv_deplibs_check_method+:} false; then :
   11890   $as_echo_n "(cached) " >&6
   11891 else
   11892   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11893 lt_cv_file_magic_test_file=
   11894 lt_cv_deplibs_check_method='unknown'
   11895 # Need to set the preceding variable on all platforms that support
   11896 # interlibrary dependencies.
   11897 # 'none' -- dependencies not supported.
   11898 # 'unknown' -- same as none, but documents that we really don't know.
   11899 # 'pass_all' -- all dependencies passed with no checks.
   11900 # 'test_compile' -- check by making test program.
   11901 # 'file_magic [[regex]]' -- check by looking for files in library path
   11902 # that responds to the $file_magic_cmd with a given extended regex.
   11903 # If you have 'file' or equivalent on your system and you're not sure
   11904 # whether 'pass_all' will *always* work, you probably want this one.
   11905 
   11906 case $host_os in
   11907 aix[4-9]*)
   11908   lt_cv_deplibs_check_method=pass_all
   11909   ;;
   11910 
   11911 beos*)
   11912   lt_cv_deplibs_check_method=pass_all
   11913   ;;
   11914 
   11915 bsdi[45]*)
   11916   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11917   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11918   lt_cv_file_magic_test_file=/shlib/libc.so
   11919   ;;
   11920 
   11921 cygwin*)
   11922   # func_win32_libid is a shell function defined in ltmain.sh
   11923   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11924   lt_cv_file_magic_cmd='func_win32_libid'
   11925   ;;
   11926 
   11927 mingw* | pw32*)
   11928   # Base MSYS/MinGW do not provide the 'file' command needed by
   11929   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11930   # unless we find 'file', for example because we are cross-compiling.
   11931   if ( file / ) >/dev/null 2>&1; then
   11932     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11933     lt_cv_file_magic_cmd='func_win32_libid'
   11934   else
   11935     # Keep this pattern in sync with the one in func_win32_libid.
   11936     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11937     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11938   fi
   11939   ;;
   11940 
   11941 cegcc*)
   11942   # use the weaker test based on 'objdump'. See mingw*.
   11943   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11944   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11945   ;;
   11946 
   11947 darwin* | rhapsody*)
   11948   lt_cv_deplibs_check_method=pass_all
   11949   ;;
   11950 
   11951 freebsd* | dragonfly*)
   11952   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11953     case $host_cpu in
   11954     i*86 )
   11955       # Not sure whether the presence of OpenBSD here was a mistake.
   11956       # Let's accept both of them until this is cleared up.
   11957       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11958       lt_cv_file_magic_cmd=/usr/bin/file
   11959       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11960       ;;
   11961     esac
   11962   else
   11963     lt_cv_deplibs_check_method=pass_all
   11964   fi
   11965   ;;
   11966 
   11967 haiku*)
   11968   lt_cv_deplibs_check_method=pass_all
   11969   ;;
   11970 
   11971 hpux10.20* | hpux11*)
   11972   lt_cv_file_magic_cmd=/usr/bin/file
   11973   case $host_cpu in
   11974   ia64*)
   11975     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11976     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11977     ;;
   11978   hppa*64*)
   11979     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   11980     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11981     ;;
   11982   *)
   11983     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11984     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11985     ;;
   11986   esac
   11987   ;;
   11988 
   11989 interix[3-9]*)
   11990   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11991   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11992   ;;
   11993 
   11994 irix5* | irix6* | nonstopux*)
   11995   case $LD in
   11996   *-32|*"-32 ") libmagic=32-bit;;
   11997   *-n32|*"-n32 ") libmagic=N32;;
   11998   *-64|*"-64 ") libmagic=64-bit;;
   11999   *) libmagic=never-match;;
   12000   esac
   12001   lt_cv_deplibs_check_method=pass_all
   12002   ;;
   12003 
   12004 # This must be glibc/ELF.
   12005 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12006   lt_cv_deplibs_check_method=pass_all
   12007   ;;
   12008 
   12009 netbsd* | netbsdelf*-gnu)
   12010   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12011     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12012   else
   12013     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12014   fi
   12015   ;;
   12016 
   12017 newos6*)
   12018   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12019   lt_cv_file_magic_cmd=/usr/bin/file
   12020   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12021   ;;
   12022 
   12023 *nto* | *qnx*)
   12024   lt_cv_deplibs_check_method=pass_all
   12025   ;;
   12026 
   12027 openbsd* | bitrig*)
   12028   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12029     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12030   else
   12031     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12032   fi
   12033   ;;
   12034 
   12035 osf3* | osf4* | osf5*)
   12036   lt_cv_deplibs_check_method=pass_all
   12037   ;;
   12038 
   12039 rdos*)
   12040   lt_cv_deplibs_check_method=pass_all
   12041   ;;
   12042 
   12043 solaris*)
   12044   lt_cv_deplibs_check_method=pass_all
   12045   ;;
   12046 
   12047 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12048   lt_cv_deplibs_check_method=pass_all
   12049   ;;
   12050 
   12051 sysv4 | sysv4.3*)
   12052   case $host_vendor in
   12053   motorola)
   12054     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]'
   12055     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12056     ;;
   12057   ncr)
   12058     lt_cv_deplibs_check_method=pass_all
   12059     ;;
   12060   sequent)
   12061     lt_cv_file_magic_cmd='/bin/file'
   12062     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12063     ;;
   12064   sni)
   12065     lt_cv_file_magic_cmd='/bin/file'
   12066     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12067     lt_cv_file_magic_test_file=/lib/libc.so
   12068     ;;
   12069   siemens)
   12070     lt_cv_deplibs_check_method=pass_all
   12071     ;;
   12072   pc)
   12073     lt_cv_deplibs_check_method=pass_all
   12074     ;;
   12075   esac
   12076   ;;
   12077 
   12078 tpf*)
   12079   lt_cv_deplibs_check_method=pass_all
   12080   ;;
   12081 os2*)
   12082   lt_cv_deplibs_check_method=pass_all
   12083   ;;
   12084 esac
   12085 
   12086 fi
   12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12088 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12089 
   12090 file_magic_glob=
   12091 want_nocaseglob=no
   12092 if test "$build" = "$host"; then
   12093   case $host_os in
   12094   mingw* | pw32*)
   12095     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12096       want_nocaseglob=yes
   12097     else
   12098       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12099     fi
   12100     ;;
   12101   esac
   12102 fi
   12103 
   12104 file_magic_cmd=$lt_cv_file_magic_cmd
   12105 deplibs_check_method=$lt_cv_deplibs_check_method
   12106 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 if test -n "$ac_tool_prefix"; then
   12130   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12131 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12133 $as_echo_n "checking for $ac_word... " >&6; }
   12134 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12135   $as_echo_n "(cached) " >&6
   12136 else
   12137   if test -n "$DLLTOOL"; then
   12138   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12139 else
   12140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12141 for as_dir in $PATH
   12142 do
   12143   IFS=$as_save_IFS
   12144   test -z "$as_dir" && as_dir=.
   12145     for ac_exec_ext in '' $ac_executable_extensions; do
   12146   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12147     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12149     break 2
   12150   fi
   12151 done
   12152   done
   12153 IFS=$as_save_IFS
   12154 
   12155 fi
   12156 fi
   12157 DLLTOOL=$ac_cv_prog_DLLTOOL
   12158 if test -n "$DLLTOOL"; then
   12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12160 $as_echo "$DLLTOOL" >&6; }
   12161 else
   12162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12163 $as_echo "no" >&6; }
   12164 fi
   12165 
   12166 
   12167 fi
   12168 if test -z "$ac_cv_prog_DLLTOOL"; then
   12169   ac_ct_DLLTOOL=$DLLTOOL
   12170   # Extract the first word of "dlltool", so it can be a program name with args.
   12171 set dummy dlltool; ac_word=$2
   12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12173 $as_echo_n "checking for $ac_word... " >&6; }
   12174 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12175   $as_echo_n "(cached) " >&6
   12176 else
   12177   if test -n "$ac_ct_DLLTOOL"; then
   12178   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12179 else
   12180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12181 for as_dir in $PATH
   12182 do
   12183   IFS=$as_save_IFS
   12184   test -z "$as_dir" && as_dir=.
   12185     for ac_exec_ext in '' $ac_executable_extensions; do
   12186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12187     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12189     break 2
   12190   fi
   12191 done
   12192   done
   12193 IFS=$as_save_IFS
   12194 
   12195 fi
   12196 fi
   12197 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12198 if test -n "$ac_ct_DLLTOOL"; then
   12199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12200 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12201 else
   12202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12203 $as_echo "no" >&6; }
   12204 fi
   12205 
   12206   if test "x$ac_ct_DLLTOOL" = x; then
   12207     DLLTOOL="false"
   12208   else
   12209     case $cross_compiling:$ac_tool_warned in
   12210 yes:)
   12211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12213 ac_tool_warned=yes ;;
   12214 esac
   12215     DLLTOOL=$ac_ct_DLLTOOL
   12216   fi
   12217 else
   12218   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12219 fi
   12220 
   12221 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12233 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12234 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12235   $as_echo_n "(cached) " >&6
   12236 else
   12237   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12238 
   12239 case $host_os in
   12240 cygwin* | mingw* | pw32* | cegcc*)
   12241   # two different shell functions defined in ltmain.sh;
   12242   # decide which one to use based on capabilities of $DLLTOOL
   12243   case `$DLLTOOL --help 2>&1` in
   12244   *--identify-strict*)
   12245     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12246     ;;
   12247   *)
   12248     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12249     ;;
   12250   esac
   12251   ;;
   12252 *)
   12253   # fallback: assume linklib IS sharedlib
   12254   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12255   ;;
   12256 esac
   12257 
   12258 fi
   12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12260 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12261 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12262 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 if test -n "$ac_tool_prefix"; then
   12271   for ac_prog in ar
   12272   do
   12273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12276 $as_echo_n "checking for $ac_word... " >&6; }
   12277 if ${ac_cv_prog_AR+:} false; then :
   12278   $as_echo_n "(cached) " >&6
   12279 else
   12280   if test -n "$AR"; then
   12281   ac_cv_prog_AR="$AR" # Let the user override the test.
   12282 else
   12283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12284 for as_dir in $PATH
   12285 do
   12286   IFS=$as_save_IFS
   12287   test -z "$as_dir" && as_dir=.
   12288     for ac_exec_ext in '' $ac_executable_extensions; do
   12289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12290     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12292     break 2
   12293   fi
   12294 done
   12295   done
   12296 IFS=$as_save_IFS
   12297 
   12298 fi
   12299 fi
   12300 AR=$ac_cv_prog_AR
   12301 if test -n "$AR"; then
   12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12303 $as_echo "$AR" >&6; }
   12304 else
   12305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12306 $as_echo "no" >&6; }
   12307 fi
   12308 
   12309 
   12310     test -n "$AR" && break
   12311   done
   12312 fi
   12313 if test -z "$AR"; then
   12314   ac_ct_AR=$AR
   12315   for ac_prog in ar
   12316 do
   12317   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12318 set dummy $ac_prog; ac_word=$2
   12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12320 $as_echo_n "checking for $ac_word... " >&6; }
   12321 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12322   $as_echo_n "(cached) " >&6
   12323 else
   12324   if test -n "$ac_ct_AR"; then
   12325   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12326 else
   12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12328 for as_dir in $PATH
   12329 do
   12330   IFS=$as_save_IFS
   12331   test -z "$as_dir" && as_dir=.
   12332     for ac_exec_ext in '' $ac_executable_extensions; do
   12333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12334     ac_cv_prog_ac_ct_AR="$ac_prog"
   12335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12336     break 2
   12337   fi
   12338 done
   12339   done
   12340 IFS=$as_save_IFS
   12341 
   12342 fi
   12343 fi
   12344 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12345 if test -n "$ac_ct_AR"; then
   12346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12347 $as_echo "$ac_ct_AR" >&6; }
   12348 else
   12349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12350 $as_echo "no" >&6; }
   12351 fi
   12352 
   12353 
   12354   test -n "$ac_ct_AR" && break
   12355 done
   12356 
   12357   if test "x$ac_ct_AR" = x; then
   12358     AR="false"
   12359   else
   12360     case $cross_compiling:$ac_tool_warned in
   12361 yes:)
   12362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12364 ac_tool_warned=yes ;;
   12365 esac
   12366     AR=$ac_ct_AR
   12367   fi
   12368 fi
   12369 
   12370 : ${AR=ar}
   12371 : ${AR_FLAGS=cru}
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12384 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12385 if ${lt_cv_ar_at_file+:} false; then :
   12386   $as_echo_n "(cached) " >&6
   12387 else
   12388   lt_cv_ar_at_file=no
   12389    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12390 /* end confdefs.h.  */
   12391 
   12392 int
   12393 main ()
   12394 {
   12395 
   12396   ;
   12397   return 0;
   12398 }
   12399 _ACEOF
   12400 if ac_fn_c_try_compile "$LINENO"; then :
   12401   echo conftest.$ac_objext > conftest.lst
   12402       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12403       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12404   (eval $lt_ar_try) 2>&5
   12405   ac_status=$?
   12406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12407   test $ac_status = 0; }
   12408       if test 0 -eq "$ac_status"; then
   12409 	# Ensure the archiver fails upon bogus file names.
   12410 	rm -f conftest.$ac_objext libconftest.a
   12411 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12412   (eval $lt_ar_try) 2>&5
   12413   ac_status=$?
   12414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12415   test $ac_status = 0; }
   12416 	if test 0 -ne "$ac_status"; then
   12417           lt_cv_ar_at_file=@
   12418         fi
   12419       fi
   12420       rm -f conftest.* libconftest.a
   12421 
   12422 fi
   12423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12424 
   12425 fi
   12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12427 $as_echo "$lt_cv_ar_at_file" >&6; }
   12428 
   12429 if test no = "$lt_cv_ar_at_file"; then
   12430   archiver_list_spec=
   12431 else
   12432   archiver_list_spec=$lt_cv_ar_at_file
   12433 fi
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 if test -n "$ac_tool_prefix"; then
   12442   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12443 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12445 $as_echo_n "checking for $ac_word... " >&6; }
   12446 if ${ac_cv_prog_STRIP+:} false; then :
   12447   $as_echo_n "(cached) " >&6
   12448 else
   12449   if test -n "$STRIP"; then
   12450   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12451 else
   12452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12453 for as_dir in $PATH
   12454 do
   12455   IFS=$as_save_IFS
   12456   test -z "$as_dir" && as_dir=.
   12457     for ac_exec_ext in '' $ac_executable_extensions; do
   12458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12459     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12461     break 2
   12462   fi
   12463 done
   12464   done
   12465 IFS=$as_save_IFS
   12466 
   12467 fi
   12468 fi
   12469 STRIP=$ac_cv_prog_STRIP
   12470 if test -n "$STRIP"; then
   12471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12472 $as_echo "$STRIP" >&6; }
   12473 else
   12474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12475 $as_echo "no" >&6; }
   12476 fi
   12477 
   12478 
   12479 fi
   12480 if test -z "$ac_cv_prog_STRIP"; then
   12481   ac_ct_STRIP=$STRIP
   12482   # Extract the first word of "strip", so it can be a program name with args.
   12483 set dummy strip; ac_word=$2
   12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12485 $as_echo_n "checking for $ac_word... " >&6; }
   12486 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12487   $as_echo_n "(cached) " >&6
   12488 else
   12489   if test -n "$ac_ct_STRIP"; then
   12490   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12491 else
   12492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12493 for as_dir in $PATH
   12494 do
   12495   IFS=$as_save_IFS
   12496   test -z "$as_dir" && as_dir=.
   12497     for ac_exec_ext in '' $ac_executable_extensions; do
   12498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12499     ac_cv_prog_ac_ct_STRIP="strip"
   12500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12501     break 2
   12502   fi
   12503 done
   12504   done
   12505 IFS=$as_save_IFS
   12506 
   12507 fi
   12508 fi
   12509 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12510 if test -n "$ac_ct_STRIP"; then
   12511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12512 $as_echo "$ac_ct_STRIP" >&6; }
   12513 else
   12514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12515 $as_echo "no" >&6; }
   12516 fi
   12517 
   12518   if test "x$ac_ct_STRIP" = x; then
   12519     STRIP=":"
   12520   else
   12521     case $cross_compiling:$ac_tool_warned in
   12522 yes:)
   12523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12525 ac_tool_warned=yes ;;
   12526 esac
   12527     STRIP=$ac_ct_STRIP
   12528   fi
   12529 else
   12530   STRIP="$ac_cv_prog_STRIP"
   12531 fi
   12532 
   12533 test -z "$STRIP" && STRIP=:
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 if test -n "$ac_tool_prefix"; then
   12541   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12542 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12544 $as_echo_n "checking for $ac_word... " >&6; }
   12545 if ${ac_cv_prog_RANLIB+:} false; then :
   12546   $as_echo_n "(cached) " >&6
   12547 else
   12548   if test -n "$RANLIB"; then
   12549   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12550 else
   12551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12552 for as_dir in $PATH
   12553 do
   12554   IFS=$as_save_IFS
   12555   test -z "$as_dir" && as_dir=.
   12556     for ac_exec_ext in '' $ac_executable_extensions; do
   12557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12558     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12560     break 2
   12561   fi
   12562 done
   12563   done
   12564 IFS=$as_save_IFS
   12565 
   12566 fi
   12567 fi
   12568 RANLIB=$ac_cv_prog_RANLIB
   12569 if test -n "$RANLIB"; then
   12570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12571 $as_echo "$RANLIB" >&6; }
   12572 else
   12573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12574 $as_echo "no" >&6; }
   12575 fi
   12576 
   12577 
   12578 fi
   12579 if test -z "$ac_cv_prog_RANLIB"; then
   12580   ac_ct_RANLIB=$RANLIB
   12581   # Extract the first word of "ranlib", so it can be a program name with args.
   12582 set dummy ranlib; ac_word=$2
   12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12584 $as_echo_n "checking for $ac_word... " >&6; }
   12585 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12586   $as_echo_n "(cached) " >&6
   12587 else
   12588   if test -n "$ac_ct_RANLIB"; then
   12589   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12590 else
   12591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12592 for as_dir in $PATH
   12593 do
   12594   IFS=$as_save_IFS
   12595   test -z "$as_dir" && as_dir=.
   12596     for ac_exec_ext in '' $ac_executable_extensions; do
   12597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12598     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12600     break 2
   12601   fi
   12602 done
   12603   done
   12604 IFS=$as_save_IFS
   12605 
   12606 fi
   12607 fi
   12608 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12609 if test -n "$ac_ct_RANLIB"; then
   12610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12611 $as_echo "$ac_ct_RANLIB" >&6; }
   12612 else
   12613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12614 $as_echo "no" >&6; }
   12615 fi
   12616 
   12617   if test "x$ac_ct_RANLIB" = x; then
   12618     RANLIB=":"
   12619   else
   12620     case $cross_compiling:$ac_tool_warned in
   12621 yes:)
   12622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12624 ac_tool_warned=yes ;;
   12625 esac
   12626     RANLIB=$ac_ct_RANLIB
   12627   fi
   12628 else
   12629   RANLIB="$ac_cv_prog_RANLIB"
   12630 fi
   12631 
   12632 test -z "$RANLIB" && RANLIB=:
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 # Determine commands to create old-style static archives.
   12640 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12641 old_postinstall_cmds='chmod 644 $oldlib'
   12642 old_postuninstall_cmds=
   12643 
   12644 if test -n "$RANLIB"; then
   12645   case $host_os in
   12646   bitrig* | openbsd*)
   12647     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12648     ;;
   12649   *)
   12650     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12651     ;;
   12652   esac
   12653   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12654 fi
   12655 
   12656 case $host_os in
   12657   darwin*)
   12658     lock_old_archive_extraction=yes ;;
   12659   *)
   12660     lock_old_archive_extraction=no ;;
   12661 esac
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 # If no C compiler was specified, use CC.
   12702 LTCC=${LTCC-"$CC"}
   12703 
   12704 # If no C compiler flags were specified, use CFLAGS.
   12705 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12706 
   12707 # Allow CC to be a program name with arguments.
   12708 compiler=$CC
   12709 
   12710 
   12711 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12713 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12714 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12715   $as_echo_n "(cached) " >&6
   12716 else
   12717 
   12718 # These are sane defaults that work on at least a few old systems.
   12719 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12720 
   12721 # Character class describing NM global symbol codes.
   12722 symcode='[BCDEGRST]'
   12723 
   12724 # Regexp to match symbols that can be accessed directly from C.
   12725 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12726 
   12727 # Define system-specific variables.
   12728 case $host_os in
   12729 aix*)
   12730   symcode='[BCDT]'
   12731   ;;
   12732 cygwin* | mingw* | pw32* | cegcc*)
   12733   symcode='[ABCDGISTW]'
   12734   ;;
   12735 hpux*)
   12736   if test ia64 = "$host_cpu"; then
   12737     symcode='[ABCDEGRST]'
   12738   fi
   12739   ;;
   12740 irix* | nonstopux*)
   12741   symcode='[BCDEGRST]'
   12742   ;;
   12743 osf*)
   12744   symcode='[BCDEGQRST]'
   12745   ;;
   12746 solaris*)
   12747   symcode='[BDRT]'
   12748   ;;
   12749 sco3.2v5*)
   12750   symcode='[DT]'
   12751   ;;
   12752 sysv4.2uw2*)
   12753   symcode='[DT]'
   12754   ;;
   12755 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12756   symcode='[ABDT]'
   12757   ;;
   12758 sysv4)
   12759   symcode='[DFNSTU]'
   12760   ;;
   12761 esac
   12762 
   12763 # If we're using GNU nm, then use its standard symbol codes.
   12764 case `$NM -V 2>&1` in
   12765 *GNU* | *'with BFD'*)
   12766   symcode='[ABCDGIRSTW]' ;;
   12767 esac
   12768 
   12769 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12770   # Gets list of data symbols to import.
   12771   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12772   # Adjust the below global symbol transforms to fixup imported variables.
   12773   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12774   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12775   lt_c_name_lib_hook="\
   12776   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12777   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12778 else
   12779   # Disable hooks by default.
   12780   lt_cv_sys_global_symbol_to_import=
   12781   lt_cdecl_hook=
   12782   lt_c_name_hook=
   12783   lt_c_name_lib_hook=
   12784 fi
   12785 
   12786 # Transform an extracted symbol line into a proper C declaration.
   12787 # Some systems (esp. on ia64) link data and code symbols differently,
   12788 # so use this general approach.
   12789 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12790 $lt_cdecl_hook\
   12791 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12792 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12793 
   12794 # Transform an extracted symbol line into symbol name and symbol address
   12795 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12796 $lt_c_name_hook\
   12797 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12798 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12799 
   12800 # Transform an extracted symbol line into symbol name with lib prefix and
   12801 # symbol address.
   12802 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12803 $lt_c_name_lib_hook\
   12804 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12805 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12806 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12807 
   12808 # Handle CRLF in mingw tool chain
   12809 opt_cr=
   12810 case $build_os in
   12811 mingw*)
   12812   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12813   ;;
   12814 esac
   12815 
   12816 # Try without a prefix underscore, then with it.
   12817 for ac_symprfx in "" "_"; do
   12818 
   12819   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12820   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12821 
   12822   # Write the raw and C identifiers.
   12823   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12824     # Fake it for dumpbin and say T for any non-static function,
   12825     # D for any global variable and I for any imported variable.
   12826     # Also find C++ and __fastcall symbols from MSVC++,
   12827     # which start with @ or ?.
   12828     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12829 "     {last_section=section; section=\$ 3};"\
   12830 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12831 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12832 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12833 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12834 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12835 "     \$ 0!~/External *\|/{next};"\
   12836 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12837 "     {if(hide[section]) next};"\
   12838 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12839 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12840 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12841 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12842 "     ' prfx=^$ac_symprfx"
   12843   else
   12844     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12845   fi
   12846   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12847 
   12848   # Check to see that the pipe works correctly.
   12849   pipe_works=no
   12850 
   12851   rm -f conftest*
   12852   cat > conftest.$ac_ext <<_LT_EOF
   12853 #ifdef __cplusplus
   12854 extern "C" {
   12855 #endif
   12856 char nm_test_var;
   12857 void nm_test_func(void);
   12858 void nm_test_func(void){}
   12859 #ifdef __cplusplus
   12860 }
   12861 #endif
   12862 int main(){nm_test_var='a';nm_test_func();return(0);}
   12863 _LT_EOF
   12864 
   12865   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12866   (eval $ac_compile) 2>&5
   12867   ac_status=$?
   12868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12869   test $ac_status = 0; }; then
   12870     # Now try to grab the symbols.
   12871     nlist=conftest.nm
   12872     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12873   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12874   ac_status=$?
   12875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12876   test $ac_status = 0; } && test -s "$nlist"; then
   12877       # Try sorting and uniquifying the output.
   12878       if sort "$nlist" | uniq > "$nlist"T; then
   12879 	mv -f "$nlist"T "$nlist"
   12880       else
   12881 	rm -f "$nlist"T
   12882       fi
   12883 
   12884       # Make sure that we snagged all the symbols we need.
   12885       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12886 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12887 	  cat <<_LT_EOF > conftest.$ac_ext
   12888 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12889 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12890 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12891    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12892 # define LT_DLSYM_CONST
   12893 #elif defined __osf__
   12894 /* This system does not cope well with relocations in const data.  */
   12895 # define LT_DLSYM_CONST
   12896 #else
   12897 # define LT_DLSYM_CONST const
   12898 #endif
   12899 
   12900 #ifdef __cplusplus
   12901 extern "C" {
   12902 #endif
   12903 
   12904 _LT_EOF
   12905 	  # Now generate the symbol file.
   12906 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12907 
   12908 	  cat <<_LT_EOF >> conftest.$ac_ext
   12909 
   12910 /* The mapping between symbol names and symbols.  */
   12911 LT_DLSYM_CONST struct {
   12912   const char *name;
   12913   void       *address;
   12914 }
   12915 lt__PROGRAM__LTX_preloaded_symbols[] =
   12916 {
   12917   { "@PROGRAM@", (void *) 0 },
   12918 _LT_EOF
   12919 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12920 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12921   {0, (void *) 0}
   12922 };
   12923 
   12924 /* This works around a problem in FreeBSD linker */
   12925 #ifdef FREEBSD_WORKAROUND
   12926 static const void *lt_preloaded_setup() {
   12927   return lt__PROGRAM__LTX_preloaded_symbols;
   12928 }
   12929 #endif
   12930 
   12931 #ifdef __cplusplus
   12932 }
   12933 #endif
   12934 _LT_EOF
   12935 	  # Now try linking the two files.
   12936 	  mv conftest.$ac_objext conftstm.$ac_objext
   12937 	  lt_globsym_save_LIBS=$LIBS
   12938 	  lt_globsym_save_CFLAGS=$CFLAGS
   12939 	  LIBS=conftstm.$ac_objext
   12940 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12941 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12942   (eval $ac_link) 2>&5
   12943   ac_status=$?
   12944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12945   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12946 	    pipe_works=yes
   12947 	  fi
   12948 	  LIBS=$lt_globsym_save_LIBS
   12949 	  CFLAGS=$lt_globsym_save_CFLAGS
   12950 	else
   12951 	  echo "cannot find nm_test_func in $nlist" >&5
   12952 	fi
   12953       else
   12954 	echo "cannot find nm_test_var in $nlist" >&5
   12955       fi
   12956     else
   12957       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12958     fi
   12959   else
   12960     echo "$progname: failed program was:" >&5
   12961     cat conftest.$ac_ext >&5
   12962   fi
   12963   rm -rf conftest* conftst*
   12964 
   12965   # Do not use the global_symbol_pipe unless it works.
   12966   if test yes = "$pipe_works"; then
   12967     break
   12968   else
   12969     lt_cv_sys_global_symbol_pipe=
   12970   fi
   12971 done
   12972 
   12973 fi
   12974 
   12975 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12976   lt_cv_sys_global_symbol_to_cdecl=
   12977 fi
   12978 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12980 $as_echo "failed" >&6; }
   12981 else
   12982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12983 $as_echo "ok" >&6; }
   12984 fi
   12985 
   12986 # Response file support.
   12987 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12988   nm_file_list_spec='@'
   12989 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12990   nm_file_list_spec='@'
   12991 fi
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13030 $as_echo_n "checking for sysroot... " >&6; }
   13031 
   13032 # Check whether --with-sysroot was given.
   13033 if test "${with_sysroot+set}" = set; then :
   13034   withval=$with_sysroot;
   13035 else
   13036   with_sysroot=no
   13037 fi
   13038 
   13039 
   13040 lt_sysroot=
   13041 case $with_sysroot in #(
   13042  yes)
   13043    if test yes = "$GCC"; then
   13044      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13045    fi
   13046    ;; #(
   13047  /*)
   13048    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13049    ;; #(
   13050  no|'')
   13051    ;; #(
   13052  *)
   13053    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13054 $as_echo "$with_sysroot" >&6; }
   13055    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13056    ;;
   13057 esac
   13058 
   13059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13060 $as_echo "${lt_sysroot:-no}" >&6; }
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13067 $as_echo_n "checking for a working dd... " >&6; }
   13068 if ${ac_cv_path_lt_DD+:} false; then :
   13069   $as_echo_n "(cached) " >&6
   13070 else
   13071   printf 0123456789abcdef0123456789abcdef >conftest.i
   13072 cat conftest.i conftest.i >conftest2.i
   13073 : ${lt_DD:=$DD}
   13074 if test -z "$lt_DD"; then
   13075   ac_path_lt_DD_found=false
   13076   # Loop through the user's path and test for each of PROGNAME-LIST
   13077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13078 for as_dir in $PATH
   13079 do
   13080   IFS=$as_save_IFS
   13081   test -z "$as_dir" && as_dir=.
   13082     for ac_prog in dd; do
   13083     for ac_exec_ext in '' $ac_executable_extensions; do
   13084       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13085       as_fn_executable_p "$ac_path_lt_DD" || continue
   13086 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13087   cmp -s conftest.i conftest.out \
   13088   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13089 fi
   13090       $ac_path_lt_DD_found && break 3
   13091     done
   13092   done
   13093   done
   13094 IFS=$as_save_IFS
   13095   if test -z "$ac_cv_path_lt_DD"; then
   13096     :
   13097   fi
   13098 else
   13099   ac_cv_path_lt_DD=$lt_DD
   13100 fi
   13101 
   13102 rm -f conftest.i conftest2.i conftest.out
   13103 fi
   13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13105 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13106 
   13107 
   13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13109 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13110 if ${lt_cv_truncate_bin+:} false; then :
   13111   $as_echo_n "(cached) " >&6
   13112 else
   13113   printf 0123456789abcdef0123456789abcdef >conftest.i
   13114 cat conftest.i conftest.i >conftest2.i
   13115 lt_cv_truncate_bin=
   13116 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13117   cmp -s conftest.i conftest.out \
   13118   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13119 fi
   13120 rm -f conftest.i conftest2.i conftest.out
   13121 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13122 fi
   13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13124 $as_echo "$lt_cv_truncate_bin" >&6; }
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13133 func_cc_basename ()
   13134 {
   13135     for cc_temp in $*""; do
   13136       case $cc_temp in
   13137         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13138         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13139         \-*) ;;
   13140         *) break;;
   13141       esac
   13142     done
   13143     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13144 }
   13145 
   13146 # Check whether --enable-libtool-lock was given.
   13147 if test "${enable_libtool_lock+set}" = set; then :
   13148   enableval=$enable_libtool_lock;
   13149 fi
   13150 
   13151 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13152 
   13153 # Some flags need to be propagated to the compiler or linker for good
   13154 # libtool support.
   13155 case $host in
   13156 ia64-*-hpux*)
   13157   # Find out what ABI is being produced by ac_compile, and set mode
   13158   # options accordingly.
   13159   echo 'int i;' > conftest.$ac_ext
   13160   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13161   (eval $ac_compile) 2>&5
   13162   ac_status=$?
   13163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13164   test $ac_status = 0; }; then
   13165     case `/usr/bin/file conftest.$ac_objext` in
   13166       *ELF-32*)
   13167 	HPUX_IA64_MODE=32
   13168 	;;
   13169       *ELF-64*)
   13170 	HPUX_IA64_MODE=64
   13171 	;;
   13172     esac
   13173   fi
   13174   rm -rf conftest*
   13175   ;;
   13176 *-*-irix6*)
   13177   # Find out what ABI is being produced by ac_compile, and set linker
   13178   # options accordingly.
   13179   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13181   (eval $ac_compile) 2>&5
   13182   ac_status=$?
   13183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13184   test $ac_status = 0; }; then
   13185     if test yes = "$lt_cv_prog_gnu_ld"; then
   13186       case `/usr/bin/file conftest.$ac_objext` in
   13187 	*32-bit*)
   13188 	  LD="${LD-ld} -melf32bsmip"
   13189 	  ;;
   13190 	*N32*)
   13191 	  LD="${LD-ld} -melf32bmipn32"
   13192 	  ;;
   13193 	*64-bit*)
   13194 	  LD="${LD-ld} -melf64bmip"
   13195 	;;
   13196       esac
   13197     else
   13198       case `/usr/bin/file conftest.$ac_objext` in
   13199 	*32-bit*)
   13200 	  LD="${LD-ld} -32"
   13201 	  ;;
   13202 	*N32*)
   13203 	  LD="${LD-ld} -n32"
   13204 	  ;;
   13205 	*64-bit*)
   13206 	  LD="${LD-ld} -64"
   13207 	  ;;
   13208       esac
   13209     fi
   13210   fi
   13211   rm -rf conftest*
   13212   ;;
   13213 
   13214 mips64*-*linux*)
   13215   # Find out what ABI is being produced by ac_compile, and set linker
   13216   # options accordingly.
   13217   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13218   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13219   (eval $ac_compile) 2>&5
   13220   ac_status=$?
   13221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13222   test $ac_status = 0; }; then
   13223     emul=elf
   13224     case `/usr/bin/file conftest.$ac_objext` in
   13225       *32-bit*)
   13226 	emul="${emul}32"
   13227 	;;
   13228       *64-bit*)
   13229 	emul="${emul}64"
   13230 	;;
   13231     esac
   13232     case `/usr/bin/file conftest.$ac_objext` in
   13233       *MSB*)
   13234 	emul="${emul}btsmip"
   13235 	;;
   13236       *LSB*)
   13237 	emul="${emul}ltsmip"
   13238 	;;
   13239     esac
   13240     case `/usr/bin/file conftest.$ac_objext` in
   13241       *N32*)
   13242 	emul="${emul}n32"
   13243 	;;
   13244     esac
   13245     LD="${LD-ld} -m $emul"
   13246   fi
   13247   rm -rf conftest*
   13248   ;;
   13249 
   13250 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13251 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13252   # Find out what ABI is being produced by ac_compile, and set linker
   13253   # options accordingly.  Note that the listed cases only cover the
   13254   # situations where additional linker options are needed (such as when
   13255   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13256   # vice versa); the common cases where no linker options are needed do
   13257   # not appear in the list.
   13258   echo 'int i;' > conftest.$ac_ext
   13259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13260   (eval $ac_compile) 2>&5
   13261   ac_status=$?
   13262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13263   test $ac_status = 0; }; then
   13264     case `/usr/bin/file conftest.o` in
   13265       *32-bit*)
   13266 	case $host in
   13267 	  x86_64-*kfreebsd*-gnu)
   13268 	    LD="${LD-ld} -m elf_i386_fbsd"
   13269 	    ;;
   13270 	  x86_64-*linux*)
   13271 	    case `/usr/bin/file conftest.o` in
   13272 	      *x86-64*)
   13273 		LD="${LD-ld} -m elf32_x86_64"
   13274 		;;
   13275 	      *)
   13276 		LD="${LD-ld} -m elf_i386"
   13277 		;;
   13278 	    esac
   13279 	    ;;
   13280 	  powerpc64le-*linux*)
   13281 	    LD="${LD-ld} -m elf32lppclinux"
   13282 	    ;;
   13283 	  powerpc64-*linux*)
   13284 	    LD="${LD-ld} -m elf32ppclinux"
   13285 	    ;;
   13286 	  s390x-*linux*)
   13287 	    LD="${LD-ld} -m elf_s390"
   13288 	    ;;
   13289 	  sparc64-*linux*)
   13290 	    LD="${LD-ld} -m elf32_sparc"
   13291 	    ;;
   13292 	esac
   13293 	;;
   13294       *64-bit*)
   13295 	case $host in
   13296 	  x86_64-*kfreebsd*-gnu)
   13297 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13298 	    ;;
   13299 	  x86_64-*linux*)
   13300 	    LD="${LD-ld} -m elf_x86_64"
   13301 	    ;;
   13302 	  powerpcle-*linux*)
   13303 	    LD="${LD-ld} -m elf64lppc"
   13304 	    ;;
   13305 	  powerpc-*linux*)
   13306 	    LD="${LD-ld} -m elf64ppc"
   13307 	    ;;
   13308 	  s390*-*linux*|s390*-*tpf*)
   13309 	    LD="${LD-ld} -m elf64_s390"
   13310 	    ;;
   13311 	  sparc*-*linux*)
   13312 	    LD="${LD-ld} -m elf64_sparc"
   13313 	    ;;
   13314 	esac
   13315 	;;
   13316     esac
   13317   fi
   13318   rm -rf conftest*
   13319   ;;
   13320 
   13321 *-*-sco3.2v5*)
   13322   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13323   SAVE_CFLAGS=$CFLAGS
   13324   CFLAGS="$CFLAGS -belf"
   13325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13326 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13327 if ${lt_cv_cc_needs_belf+:} false; then :
   13328   $as_echo_n "(cached) " >&6
   13329 else
   13330   ac_ext=c
   13331 ac_cpp='$CPP $CPPFLAGS'
   13332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13335 
   13336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13337 /* end confdefs.h.  */
   13338 
   13339 int
   13340 main ()
   13341 {
   13342 
   13343   ;
   13344   return 0;
   13345 }
   13346 _ACEOF
   13347 if ac_fn_c_try_link "$LINENO"; then :
   13348   lt_cv_cc_needs_belf=yes
   13349 else
   13350   lt_cv_cc_needs_belf=no
   13351 fi
   13352 rm -f core conftest.err conftest.$ac_objext \
   13353     conftest$ac_exeext conftest.$ac_ext
   13354      ac_ext=c
   13355 ac_cpp='$CPP $CPPFLAGS'
   13356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13359 
   13360 fi
   13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13362 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13363   if test yes != "$lt_cv_cc_needs_belf"; then
   13364     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13365     CFLAGS=$SAVE_CFLAGS
   13366   fi
   13367   ;;
   13368 *-*solaris*)
   13369   # Find out what ABI is being produced by ac_compile, and set linker
   13370   # options accordingly.
   13371   echo 'int i;' > conftest.$ac_ext
   13372   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13373   (eval $ac_compile) 2>&5
   13374   ac_status=$?
   13375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13376   test $ac_status = 0; }; then
   13377     case `/usr/bin/file conftest.o` in
   13378     *64-bit*)
   13379       case $lt_cv_prog_gnu_ld in
   13380       yes*)
   13381         case $host in
   13382         i?86-*-solaris*|x86_64-*-solaris*)
   13383           LD="${LD-ld} -m elf_x86_64"
   13384           ;;
   13385         sparc*-*-solaris*)
   13386           LD="${LD-ld} -m elf64_sparc"
   13387           ;;
   13388         esac
   13389         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13390         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13391           LD=${LD-ld}_sol2
   13392         fi
   13393         ;;
   13394       *)
   13395 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13396 	  LD="${LD-ld} -64"
   13397 	fi
   13398 	;;
   13399       esac
   13400       ;;
   13401     esac
   13402   fi
   13403   rm -rf conftest*
   13404   ;;
   13405 esac
   13406 
   13407 need_locks=$enable_libtool_lock
   13408 
   13409 if test -n "$ac_tool_prefix"; then
   13410   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13411 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13413 $as_echo_n "checking for $ac_word... " >&6; }
   13414 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13415   $as_echo_n "(cached) " >&6
   13416 else
   13417   if test -n "$MANIFEST_TOOL"; then
   13418   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13419 else
   13420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13421 for as_dir in $PATH
   13422 do
   13423   IFS=$as_save_IFS
   13424   test -z "$as_dir" && as_dir=.
   13425     for ac_exec_ext in '' $ac_executable_extensions; do
   13426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13427     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13429     break 2
   13430   fi
   13431 done
   13432   done
   13433 IFS=$as_save_IFS
   13434 
   13435 fi
   13436 fi
   13437 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13438 if test -n "$MANIFEST_TOOL"; then
   13439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13440 $as_echo "$MANIFEST_TOOL" >&6; }
   13441 else
   13442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13443 $as_echo "no" >&6; }
   13444 fi
   13445 
   13446 
   13447 fi
   13448 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13449   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13450   # Extract the first word of "mt", so it can be a program name with args.
   13451 set dummy mt; ac_word=$2
   13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13453 $as_echo_n "checking for $ac_word... " >&6; }
   13454 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13455   $as_echo_n "(cached) " >&6
   13456 else
   13457   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13458   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13459 else
   13460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13461 for as_dir in $PATH
   13462 do
   13463   IFS=$as_save_IFS
   13464   test -z "$as_dir" && as_dir=.
   13465     for ac_exec_ext in '' $ac_executable_extensions; do
   13466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13467     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13469     break 2
   13470   fi
   13471 done
   13472   done
   13473 IFS=$as_save_IFS
   13474 
   13475 fi
   13476 fi
   13477 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13478 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13480 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13481 else
   13482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13483 $as_echo "no" >&6; }
   13484 fi
   13485 
   13486   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13487     MANIFEST_TOOL=":"
   13488   else
   13489     case $cross_compiling:$ac_tool_warned in
   13490 yes:)
   13491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13493 ac_tool_warned=yes ;;
   13494 esac
   13495     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13496   fi
   13497 else
   13498   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13499 fi
   13500 
   13501 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13503 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13504 if ${lt_cv_path_mainfest_tool+:} false; then :
   13505   $as_echo_n "(cached) " >&6
   13506 else
   13507   lt_cv_path_mainfest_tool=no
   13508   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13509   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13510   cat conftest.err >&5
   13511   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13512     lt_cv_path_mainfest_tool=yes
   13513   fi
   13514   rm -f conftest*
   13515 fi
   13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13517 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13518 if test yes != "$lt_cv_path_mainfest_tool"; then
   13519   MANIFEST_TOOL=:
   13520 fi
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527   case $host_os in
   13528     rhapsody* | darwin*)
   13529     if test -n "$ac_tool_prefix"; then
   13530   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13531 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13533 $as_echo_n "checking for $ac_word... " >&6; }
   13534 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13535   $as_echo_n "(cached) " >&6
   13536 else
   13537   if test -n "$DSYMUTIL"; then
   13538   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13539 else
   13540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13541 for as_dir in $PATH
   13542 do
   13543   IFS=$as_save_IFS
   13544   test -z "$as_dir" && as_dir=.
   13545     for ac_exec_ext in '' $ac_executable_extensions; do
   13546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13547     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13549     break 2
   13550   fi
   13551 done
   13552   done
   13553 IFS=$as_save_IFS
   13554 
   13555 fi
   13556 fi
   13557 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13558 if test -n "$DSYMUTIL"; then
   13559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13560 $as_echo "$DSYMUTIL" >&6; }
   13561 else
   13562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13563 $as_echo "no" >&6; }
   13564 fi
   13565 
   13566 
   13567 fi
   13568 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13569   ac_ct_DSYMUTIL=$DSYMUTIL
   13570   # Extract the first word of "dsymutil", so it can be a program name with args.
   13571 set dummy dsymutil; ac_word=$2
   13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13573 $as_echo_n "checking for $ac_word... " >&6; }
   13574 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13575   $as_echo_n "(cached) " >&6
   13576 else
   13577   if test -n "$ac_ct_DSYMUTIL"; then
   13578   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13579 else
   13580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13581 for as_dir in $PATH
   13582 do
   13583   IFS=$as_save_IFS
   13584   test -z "$as_dir" && as_dir=.
   13585     for ac_exec_ext in '' $ac_executable_extensions; do
   13586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13587     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13589     break 2
   13590   fi
   13591 done
   13592   done
   13593 IFS=$as_save_IFS
   13594 
   13595 fi
   13596 fi
   13597 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13598 if test -n "$ac_ct_DSYMUTIL"; then
   13599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13600 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13601 else
   13602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13603 $as_echo "no" >&6; }
   13604 fi
   13605 
   13606   if test "x$ac_ct_DSYMUTIL" = x; then
   13607     DSYMUTIL=":"
   13608   else
   13609     case $cross_compiling:$ac_tool_warned in
   13610 yes:)
   13611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13613 ac_tool_warned=yes ;;
   13614 esac
   13615     DSYMUTIL=$ac_ct_DSYMUTIL
   13616   fi
   13617 else
   13618   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13619 fi
   13620 
   13621     if test -n "$ac_tool_prefix"; then
   13622   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13623 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13625 $as_echo_n "checking for $ac_word... " >&6; }
   13626 if ${ac_cv_prog_NMEDIT+:} false; then :
   13627   $as_echo_n "(cached) " >&6
   13628 else
   13629   if test -n "$NMEDIT"; then
   13630   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13631 else
   13632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13633 for as_dir in $PATH
   13634 do
   13635   IFS=$as_save_IFS
   13636   test -z "$as_dir" && as_dir=.
   13637     for ac_exec_ext in '' $ac_executable_extensions; do
   13638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13639     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13641     break 2
   13642   fi
   13643 done
   13644   done
   13645 IFS=$as_save_IFS
   13646 
   13647 fi
   13648 fi
   13649 NMEDIT=$ac_cv_prog_NMEDIT
   13650 if test -n "$NMEDIT"; then
   13651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13652 $as_echo "$NMEDIT" >&6; }
   13653 else
   13654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13655 $as_echo "no" >&6; }
   13656 fi
   13657 
   13658 
   13659 fi
   13660 if test -z "$ac_cv_prog_NMEDIT"; then
   13661   ac_ct_NMEDIT=$NMEDIT
   13662   # Extract the first word of "nmedit", so it can be a program name with args.
   13663 set dummy nmedit; ac_word=$2
   13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13665 $as_echo_n "checking for $ac_word... " >&6; }
   13666 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13667   $as_echo_n "(cached) " >&6
   13668 else
   13669   if test -n "$ac_ct_NMEDIT"; then
   13670   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13671 else
   13672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13673 for as_dir in $PATH
   13674 do
   13675   IFS=$as_save_IFS
   13676   test -z "$as_dir" && as_dir=.
   13677     for ac_exec_ext in '' $ac_executable_extensions; do
   13678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13679     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13681     break 2
   13682   fi
   13683 done
   13684   done
   13685 IFS=$as_save_IFS
   13686 
   13687 fi
   13688 fi
   13689 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13690 if test -n "$ac_ct_NMEDIT"; then
   13691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13692 $as_echo "$ac_ct_NMEDIT" >&6; }
   13693 else
   13694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13695 $as_echo "no" >&6; }
   13696 fi
   13697 
   13698   if test "x$ac_ct_NMEDIT" = x; then
   13699     NMEDIT=":"
   13700   else
   13701     case $cross_compiling:$ac_tool_warned in
   13702 yes:)
   13703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13705 ac_tool_warned=yes ;;
   13706 esac
   13707     NMEDIT=$ac_ct_NMEDIT
   13708   fi
   13709 else
   13710   NMEDIT="$ac_cv_prog_NMEDIT"
   13711 fi
   13712 
   13713     if test -n "$ac_tool_prefix"; then
   13714   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13715 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13717 $as_echo_n "checking for $ac_word... " >&6; }
   13718 if ${ac_cv_prog_LIPO+:} false; then :
   13719   $as_echo_n "(cached) " >&6
   13720 else
   13721   if test -n "$LIPO"; then
   13722   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13723 else
   13724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13725 for as_dir in $PATH
   13726 do
   13727   IFS=$as_save_IFS
   13728   test -z "$as_dir" && as_dir=.
   13729     for ac_exec_ext in '' $ac_executable_extensions; do
   13730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13731     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13733     break 2
   13734   fi
   13735 done
   13736   done
   13737 IFS=$as_save_IFS
   13738 
   13739 fi
   13740 fi
   13741 LIPO=$ac_cv_prog_LIPO
   13742 if test -n "$LIPO"; then
   13743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13744 $as_echo "$LIPO" >&6; }
   13745 else
   13746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13747 $as_echo "no" >&6; }
   13748 fi
   13749 
   13750 
   13751 fi
   13752 if test -z "$ac_cv_prog_LIPO"; then
   13753   ac_ct_LIPO=$LIPO
   13754   # Extract the first word of "lipo", so it can be a program name with args.
   13755 set dummy lipo; ac_word=$2
   13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13757 $as_echo_n "checking for $ac_word... " >&6; }
   13758 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13759   $as_echo_n "(cached) " >&6
   13760 else
   13761   if test -n "$ac_ct_LIPO"; then
   13762   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13763 else
   13764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13765 for as_dir in $PATH
   13766 do
   13767   IFS=$as_save_IFS
   13768   test -z "$as_dir" && as_dir=.
   13769     for ac_exec_ext in '' $ac_executable_extensions; do
   13770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13771     ac_cv_prog_ac_ct_LIPO="lipo"
   13772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13773     break 2
   13774   fi
   13775 done
   13776   done
   13777 IFS=$as_save_IFS
   13778 
   13779 fi
   13780 fi
   13781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13782 if test -n "$ac_ct_LIPO"; then
   13783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13784 $as_echo "$ac_ct_LIPO" >&6; }
   13785 else
   13786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13787 $as_echo "no" >&6; }
   13788 fi
   13789 
   13790   if test "x$ac_ct_LIPO" = x; then
   13791     LIPO=":"
   13792   else
   13793     case $cross_compiling:$ac_tool_warned in
   13794 yes:)
   13795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13797 ac_tool_warned=yes ;;
   13798 esac
   13799     LIPO=$ac_ct_LIPO
   13800   fi
   13801 else
   13802   LIPO="$ac_cv_prog_LIPO"
   13803 fi
   13804 
   13805     if test -n "$ac_tool_prefix"; then
   13806   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13807 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13809 $as_echo_n "checking for $ac_word... " >&6; }
   13810 if ${ac_cv_prog_OTOOL+:} false; then :
   13811   $as_echo_n "(cached) " >&6
   13812 else
   13813   if test -n "$OTOOL"; then
   13814   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13815 else
   13816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13817 for as_dir in $PATH
   13818 do
   13819   IFS=$as_save_IFS
   13820   test -z "$as_dir" && as_dir=.
   13821     for ac_exec_ext in '' $ac_executable_extensions; do
   13822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13823     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13825     break 2
   13826   fi
   13827 done
   13828   done
   13829 IFS=$as_save_IFS
   13830 
   13831 fi
   13832 fi
   13833 OTOOL=$ac_cv_prog_OTOOL
   13834 if test -n "$OTOOL"; then
   13835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13836 $as_echo "$OTOOL" >&6; }
   13837 else
   13838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13839 $as_echo "no" >&6; }
   13840 fi
   13841 
   13842 
   13843 fi
   13844 if test -z "$ac_cv_prog_OTOOL"; then
   13845   ac_ct_OTOOL=$OTOOL
   13846   # Extract the first word of "otool", so it can be a program name with args.
   13847 set dummy otool; ac_word=$2
   13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13849 $as_echo_n "checking for $ac_word... " >&6; }
   13850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13851   $as_echo_n "(cached) " >&6
   13852 else
   13853   if test -n "$ac_ct_OTOOL"; then
   13854   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13855 else
   13856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13857 for as_dir in $PATH
   13858 do
   13859   IFS=$as_save_IFS
   13860   test -z "$as_dir" && as_dir=.
   13861     for ac_exec_ext in '' $ac_executable_extensions; do
   13862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13863     ac_cv_prog_ac_ct_OTOOL="otool"
   13864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13865     break 2
   13866   fi
   13867 done
   13868   done
   13869 IFS=$as_save_IFS
   13870 
   13871 fi
   13872 fi
   13873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13874 if test -n "$ac_ct_OTOOL"; then
   13875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13876 $as_echo "$ac_ct_OTOOL" >&6; }
   13877 else
   13878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13879 $as_echo "no" >&6; }
   13880 fi
   13881 
   13882   if test "x$ac_ct_OTOOL" = x; then
   13883     OTOOL=":"
   13884   else
   13885     case $cross_compiling:$ac_tool_warned in
   13886 yes:)
   13887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13889 ac_tool_warned=yes ;;
   13890 esac
   13891     OTOOL=$ac_ct_OTOOL
   13892   fi
   13893 else
   13894   OTOOL="$ac_cv_prog_OTOOL"
   13895 fi
   13896 
   13897     if test -n "$ac_tool_prefix"; then
   13898   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13899 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13901 $as_echo_n "checking for $ac_word... " >&6; }
   13902 if ${ac_cv_prog_OTOOL64+:} false; then :
   13903   $as_echo_n "(cached) " >&6
   13904 else
   13905   if test -n "$OTOOL64"; then
   13906   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13907 else
   13908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13909 for as_dir in $PATH
   13910 do
   13911   IFS=$as_save_IFS
   13912   test -z "$as_dir" && as_dir=.
   13913     for ac_exec_ext in '' $ac_executable_extensions; do
   13914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13915     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13917     break 2
   13918   fi
   13919 done
   13920   done
   13921 IFS=$as_save_IFS
   13922 
   13923 fi
   13924 fi
   13925 OTOOL64=$ac_cv_prog_OTOOL64
   13926 if test -n "$OTOOL64"; then
   13927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13928 $as_echo "$OTOOL64" >&6; }
   13929 else
   13930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13931 $as_echo "no" >&6; }
   13932 fi
   13933 
   13934 
   13935 fi
   13936 if test -z "$ac_cv_prog_OTOOL64"; then
   13937   ac_ct_OTOOL64=$OTOOL64
   13938   # Extract the first word of "otool64", so it can be a program name with args.
   13939 set dummy otool64; ac_word=$2
   13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13941 $as_echo_n "checking for $ac_word... " >&6; }
   13942 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13943   $as_echo_n "(cached) " >&6
   13944 else
   13945   if test -n "$ac_ct_OTOOL64"; then
   13946   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13947 else
   13948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13949 for as_dir in $PATH
   13950 do
   13951   IFS=$as_save_IFS
   13952   test -z "$as_dir" && as_dir=.
   13953     for ac_exec_ext in '' $ac_executable_extensions; do
   13954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13955     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13957     break 2
   13958   fi
   13959 done
   13960   done
   13961 IFS=$as_save_IFS
   13962 
   13963 fi
   13964 fi
   13965 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13966 if test -n "$ac_ct_OTOOL64"; then
   13967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13968 $as_echo "$ac_ct_OTOOL64" >&6; }
   13969 else
   13970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13971 $as_echo "no" >&6; }
   13972 fi
   13973 
   13974   if test "x$ac_ct_OTOOL64" = x; then
   13975     OTOOL64=":"
   13976   else
   13977     case $cross_compiling:$ac_tool_warned in
   13978 yes:)
   13979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13981 ac_tool_warned=yes ;;
   13982 esac
   13983     OTOOL64=$ac_ct_OTOOL64
   13984   fi
   13985 else
   13986   OTOOL64="$ac_cv_prog_OTOOL64"
   13987 fi
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14016 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14017 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14018   $as_echo_n "(cached) " >&6
   14019 else
   14020   lt_cv_apple_cc_single_mod=no
   14021       if test -z "$LT_MULTI_MODULE"; then
   14022 	# By default we will add the -single_module flag. You can override
   14023 	# by either setting the environment variable LT_MULTI_MODULE
   14024 	# non-empty at configure time, or by adding -multi_module to the
   14025 	# link flags.
   14026 	rm -rf libconftest.dylib*
   14027 	echo "int foo(void){return 1;}" > conftest.c
   14028 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14029 -dynamiclib -Wl,-single_module conftest.c" >&5
   14030 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14031 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14032         _lt_result=$?
   14033 	# If there is a non-empty error log, and "single_module"
   14034 	# appears in it, assume the flag caused a linker warning
   14035         if test -s conftest.err && $GREP single_module conftest.err; then
   14036 	  cat conftest.err >&5
   14037 	# Otherwise, if the output was created with a 0 exit code from
   14038 	# the compiler, it worked.
   14039 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14040 	  lt_cv_apple_cc_single_mod=yes
   14041 	else
   14042 	  cat conftest.err >&5
   14043 	fi
   14044 	rm -rf libconftest.dylib*
   14045 	rm -f conftest.*
   14046       fi
   14047 fi
   14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14049 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14050 
   14051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14052 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14053 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14054   $as_echo_n "(cached) " >&6
   14055 else
   14056   lt_cv_ld_exported_symbols_list=no
   14057       save_LDFLAGS=$LDFLAGS
   14058       echo "_main" > conftest.sym
   14059       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14061 /* end confdefs.h.  */
   14062 
   14063 int
   14064 main ()
   14065 {
   14066 
   14067   ;
   14068   return 0;
   14069 }
   14070 _ACEOF
   14071 if ac_fn_c_try_link "$LINENO"; then :
   14072   lt_cv_ld_exported_symbols_list=yes
   14073 else
   14074   lt_cv_ld_exported_symbols_list=no
   14075 fi
   14076 rm -f core conftest.err conftest.$ac_objext \
   14077     conftest$ac_exeext conftest.$ac_ext
   14078 	LDFLAGS=$save_LDFLAGS
   14079 
   14080 fi
   14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14082 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14083 
   14084     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14085 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14086 if ${lt_cv_ld_force_load+:} false; then :
   14087   $as_echo_n "(cached) " >&6
   14088 else
   14089   lt_cv_ld_force_load=no
   14090       cat > conftest.c << _LT_EOF
   14091 int forced_loaded() { return 2;}
   14092 _LT_EOF
   14093       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14094       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14095       echo "$AR cru libconftest.a conftest.o" >&5
   14096       $AR cru libconftest.a conftest.o 2>&5
   14097       echo "$RANLIB libconftest.a" >&5
   14098       $RANLIB libconftest.a 2>&5
   14099       cat > conftest.c << _LT_EOF
   14100 int main() { return 0;}
   14101 _LT_EOF
   14102       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14103       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14104       _lt_result=$?
   14105       if test -s conftest.err && $GREP force_load conftest.err; then
   14106 	cat conftest.err >&5
   14107       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14108 	lt_cv_ld_force_load=yes
   14109       else
   14110 	cat conftest.err >&5
   14111       fi
   14112         rm -f conftest.err libconftest.a conftest conftest.c
   14113         rm -rf conftest.dSYM
   14114 
   14115 fi
   14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14117 $as_echo "$lt_cv_ld_force_load" >&6; }
   14118     case $host_os in
   14119     rhapsody* | darwin1.[012])
   14120       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14121     darwin1.*)
   14122       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14123     darwin*) # darwin 5.x on
   14124       # if running on 10.5 or later, the deployment target defaults
   14125       # to the OS version, if on x86, and 10.4, the deployment
   14126       # target defaults to 10.4. Don't you love it?
   14127       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14128 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14129 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14130 	10.[012][,.]*)
   14131 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14132 	10.*)
   14133 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14134       esac
   14135     ;;
   14136   esac
   14137     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14138       _lt_dar_single_mod='$single_module'
   14139     fi
   14140     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14141       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14142     else
   14143       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14144     fi
   14145     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14146       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14147     else
   14148       _lt_dsymutil=
   14149     fi
   14150     ;;
   14151   esac
   14152 
   14153 # func_munge_path_list VARIABLE PATH
   14154 # -----------------------------------
   14155 # VARIABLE is name of variable containing _space_ separated list of
   14156 # directories to be munged by the contents of PATH, which is string
   14157 # having a format:
   14158 # "DIR[:DIR]:"
   14159 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14160 # ":DIR[:DIR]"
   14161 #       string "DIR[ DIR]" will be appended to VARIABLE
   14162 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14163 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14164 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14165 # "DIR[:DIR]"
   14166 #       VARIABLE will be replaced by "DIR[ DIR]"
   14167 func_munge_path_list ()
   14168 {
   14169     case x$2 in
   14170     x)
   14171         ;;
   14172     *:)
   14173         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14174         ;;
   14175     x:*)
   14176         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14177         ;;
   14178     *::*)
   14179         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14180         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14181         ;;
   14182     *)
   14183         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14184         ;;
   14185     esac
   14186 }
   14187 
   14188 for ac_header in dlfcn.h
   14189 do :
   14190   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14191 "
   14192 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14193   cat >>confdefs.h <<_ACEOF
   14194 #define HAVE_DLFCN_H 1
   14195 _ACEOF
   14196 
   14197 fi
   14198 
   14199 done
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 # Set options
   14206 
   14207 
   14208 
   14209         enable_dlopen=no
   14210 
   14211 
   14212   enable_win32_dll=no
   14213 
   14214 
   14215             # Check whether --enable-shared was given.
   14216 if test "${enable_shared+set}" = set; then :
   14217   enableval=$enable_shared; p=${PACKAGE-default}
   14218     case $enableval in
   14219     yes) enable_shared=yes ;;
   14220     no) enable_shared=no ;;
   14221     *)
   14222       enable_shared=no
   14223       # Look at the argument we got.  We use all the common list separators.
   14224       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14225       for pkg in $enableval; do
   14226 	IFS=$lt_save_ifs
   14227 	if test "X$pkg" = "X$p"; then
   14228 	  enable_shared=yes
   14229 	fi
   14230       done
   14231       IFS=$lt_save_ifs
   14232       ;;
   14233     esac
   14234 else
   14235   enable_shared=yes
   14236 fi
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 # Check whether --with-pic was given.
   14249 if test "${with_pic+set}" = set; then :
   14250   withval=$with_pic; lt_p=${PACKAGE-default}
   14251     case $withval in
   14252     yes|no) pic_mode=$withval ;;
   14253     *)
   14254       pic_mode=default
   14255       # Look at the argument we got.  We use all the common list separators.
   14256       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14257       for lt_pkg in $withval; do
   14258 	IFS=$lt_save_ifs
   14259 	if test "X$lt_pkg" = "X$lt_p"; then
   14260 	  pic_mode=yes
   14261 	fi
   14262       done
   14263       IFS=$lt_save_ifs
   14264       ;;
   14265     esac
   14266 else
   14267   pic_mode=default
   14268 fi
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277   # Check whether --enable-fast-install was given.
   14278 if test "${enable_fast_install+set}" = set; then :
   14279   enableval=$enable_fast_install; p=${PACKAGE-default}
   14280     case $enableval in
   14281     yes) enable_fast_install=yes ;;
   14282     no) enable_fast_install=no ;;
   14283     *)
   14284       enable_fast_install=no
   14285       # Look at the argument we got.  We use all the common list separators.
   14286       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14287       for pkg in $enableval; do
   14288 	IFS=$lt_save_ifs
   14289 	if test "X$pkg" = "X$p"; then
   14290 	  enable_fast_install=yes
   14291 	fi
   14292       done
   14293       IFS=$lt_save_ifs
   14294       ;;
   14295     esac
   14296 else
   14297   enable_fast_install=yes
   14298 fi
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307   shared_archive_member_spec=
   14308 case $host,$enable_shared in
   14309 power*-*-aix[5-9]*,yes)
   14310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14311 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14312 
   14313 # Check whether --with-aix-soname was given.
   14314 if test "${with_aix_soname+set}" = set; then :
   14315   withval=$with_aix_soname; case $withval in
   14316     aix|svr4|both)
   14317       ;;
   14318     *)
   14319       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14320       ;;
   14321     esac
   14322     lt_cv_with_aix_soname=$with_aix_soname
   14323 else
   14324   if ${lt_cv_with_aix_soname+:} false; then :
   14325   $as_echo_n "(cached) " >&6
   14326 else
   14327   lt_cv_with_aix_soname=aix
   14328 fi
   14329 
   14330     with_aix_soname=$lt_cv_with_aix_soname
   14331 fi
   14332 
   14333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14334 $as_echo "$with_aix_soname" >&6; }
   14335   if test aix != "$with_aix_soname"; then
   14336     # For the AIX way of multilib, we name the shared archive member
   14337     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14338     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14339     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14340     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14341     if test 64 = "${OBJECT_MODE-32}"; then
   14342       shared_archive_member_spec=shr_64
   14343     else
   14344       shared_archive_member_spec=shr
   14345     fi
   14346   fi
   14347   ;;
   14348 *)
   14349   with_aix_soname=aix
   14350   ;;
   14351 esac
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 # This can be used to rebuild libtool when needed
   14363 LIBTOOL_DEPS=$ltmain
   14364 
   14365 # Always use our own libtool.
   14366 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 test -z "$LN_S" && LN_S="ln -s"
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 if test -n "${ZSH_VERSION+set}"; then
   14413    setopt NO_GLOB_SUBST
   14414 fi
   14415 
   14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14417 $as_echo_n "checking for objdir... " >&6; }
   14418 if ${lt_cv_objdir+:} false; then :
   14419   $as_echo_n "(cached) " >&6
   14420 else
   14421   rm -f .libs 2>/dev/null
   14422 mkdir .libs 2>/dev/null
   14423 if test -d .libs; then
   14424   lt_cv_objdir=.libs
   14425 else
   14426   # MS-DOS does not allow filenames that begin with a dot.
   14427   lt_cv_objdir=_libs
   14428 fi
   14429 rmdir .libs 2>/dev/null
   14430 fi
   14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14432 $as_echo "$lt_cv_objdir" >&6; }
   14433 objdir=$lt_cv_objdir
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 cat >>confdefs.h <<_ACEOF
   14440 #define LT_OBJDIR "$lt_cv_objdir/"
   14441 _ACEOF
   14442 
   14443 
   14444 
   14445 
   14446 case $host_os in
   14447 aix3*)
   14448   # AIX sometimes has problems with the GCC collect2 program.  For some
   14449   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14450   # vanish in a puff of smoke.
   14451   if test set != "${COLLECT_NAMES+set}"; then
   14452     COLLECT_NAMES=
   14453     export COLLECT_NAMES
   14454   fi
   14455   ;;
   14456 esac
   14457 
   14458 # Global variables:
   14459 ofile=libtool
   14460 can_build_shared=yes
   14461 
   14462 # All known linkers require a '.a' archive for static linking (except MSVC,
   14463 # which needs '.lib').
   14464 libext=a
   14465 
   14466 with_gnu_ld=$lt_cv_prog_gnu_ld
   14467 
   14468 old_CC=$CC
   14469 old_CFLAGS=$CFLAGS
   14470 
   14471 # Set sane defaults for various variables
   14472 test -z "$CC" && CC=cc
   14473 test -z "$LTCC" && LTCC=$CC
   14474 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14475 test -z "$LD" && LD=ld
   14476 test -z "$ac_objext" && ac_objext=o
   14477 
   14478 func_cc_basename $compiler
   14479 cc_basename=$func_cc_basename_result
   14480 
   14481 
   14482 # Only perform the check for file, if the check method requires it
   14483 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14484 case $deplibs_check_method in
   14485 file_magic*)
   14486   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14488 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14489 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14490   $as_echo_n "(cached) " >&6
   14491 else
   14492   case $MAGIC_CMD in
   14493 [\\/*] |  ?:[\\/]*)
   14494   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14495   ;;
   14496 *)
   14497   lt_save_MAGIC_CMD=$MAGIC_CMD
   14498   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14499   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14500   for ac_dir in $ac_dummy; do
   14501     IFS=$lt_save_ifs
   14502     test -z "$ac_dir" && ac_dir=.
   14503     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14504       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14505       if test -n "$file_magic_test_file"; then
   14506 	case $deplibs_check_method in
   14507 	"file_magic "*)
   14508 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14509 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14510 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14511 	    $EGREP "$file_magic_regex" > /dev/null; then
   14512 	    :
   14513 	  else
   14514 	    cat <<_LT_EOF 1>&2
   14515 
   14516 *** Warning: the command libtool uses to detect shared libraries,
   14517 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14518 *** The result is that libtool may fail to recognize shared libraries
   14519 *** as such.  This will affect the creation of libtool libraries that
   14520 *** depend on shared libraries, but programs linked with such libtool
   14521 *** libraries will work regardless of this problem.  Nevertheless, you
   14522 *** may want to report the problem to your system manager and/or to
   14523 *** bug-libtool (at] gnu.org
   14524 
   14525 _LT_EOF
   14526 	  fi ;;
   14527 	esac
   14528       fi
   14529       break
   14530     fi
   14531   done
   14532   IFS=$lt_save_ifs
   14533   MAGIC_CMD=$lt_save_MAGIC_CMD
   14534   ;;
   14535 esac
   14536 fi
   14537 
   14538 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14539 if test -n "$MAGIC_CMD"; then
   14540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14541 $as_echo "$MAGIC_CMD" >&6; }
   14542 else
   14543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14544 $as_echo "no" >&6; }
   14545 fi
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14552   if test -n "$ac_tool_prefix"; then
   14553     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14554 $as_echo_n "checking for file... " >&6; }
   14555 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14556   $as_echo_n "(cached) " >&6
   14557 else
   14558   case $MAGIC_CMD in
   14559 [\\/*] |  ?:[\\/]*)
   14560   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14561   ;;
   14562 *)
   14563   lt_save_MAGIC_CMD=$MAGIC_CMD
   14564   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14565   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14566   for ac_dir in $ac_dummy; do
   14567     IFS=$lt_save_ifs
   14568     test -z "$ac_dir" && ac_dir=.
   14569     if test -f "$ac_dir/file"; then
   14570       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14571       if test -n "$file_magic_test_file"; then
   14572 	case $deplibs_check_method in
   14573 	"file_magic "*)
   14574 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14575 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14576 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14577 	    $EGREP "$file_magic_regex" > /dev/null; then
   14578 	    :
   14579 	  else
   14580 	    cat <<_LT_EOF 1>&2
   14581 
   14582 *** Warning: the command libtool uses to detect shared libraries,
   14583 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14584 *** The result is that libtool may fail to recognize shared libraries
   14585 *** as such.  This will affect the creation of libtool libraries that
   14586 *** depend on shared libraries, but programs linked with such libtool
   14587 *** libraries will work regardless of this problem.  Nevertheless, you
   14588 *** may want to report the problem to your system manager and/or to
   14589 *** bug-libtool (at] gnu.org
   14590 
   14591 _LT_EOF
   14592 	  fi ;;
   14593 	esac
   14594       fi
   14595       break
   14596     fi
   14597   done
   14598   IFS=$lt_save_ifs
   14599   MAGIC_CMD=$lt_save_MAGIC_CMD
   14600   ;;
   14601 esac
   14602 fi
   14603 
   14604 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14605 if test -n "$MAGIC_CMD"; then
   14606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14607 $as_echo "$MAGIC_CMD" >&6; }
   14608 else
   14609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14610 $as_echo "no" >&6; }
   14611 fi
   14612 
   14613 
   14614   else
   14615     MAGIC_CMD=:
   14616   fi
   14617 fi
   14618 
   14619   fi
   14620   ;;
   14621 esac
   14622 
   14623 # Use C for the default configuration in the libtool script
   14624 
   14625 lt_save_CC=$CC
   14626 ac_ext=c
   14627 ac_cpp='$CPP $CPPFLAGS'
   14628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14631 
   14632 
   14633 # Source file extension for C test sources.
   14634 ac_ext=c
   14635 
   14636 # Object file extension for compiled C test sources.
   14637 objext=o
   14638 objext=$objext
   14639 
   14640 # Code to be used in simple compile tests
   14641 lt_simple_compile_test_code="int some_variable = 0;"
   14642 
   14643 # Code to be used in simple link tests
   14644 lt_simple_link_test_code='int main(){return(0);}'
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 # If no C compiler was specified, use CC.
   14653 LTCC=${LTCC-"$CC"}
   14654 
   14655 # If no C compiler flags were specified, use CFLAGS.
   14656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14657 
   14658 # Allow CC to be a program name with arguments.
   14659 compiler=$CC
   14660 
   14661 # Save the default compiler, since it gets overwritten when the other
   14662 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14663 compiler_DEFAULT=$CC
   14664 
   14665 # save warnings/boilerplate of simple test code
   14666 ac_outfile=conftest.$ac_objext
   14667 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14668 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14669 _lt_compiler_boilerplate=`cat conftest.err`
   14670 $RM conftest*
   14671 
   14672 ac_outfile=conftest.$ac_objext
   14673 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14674 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14675 _lt_linker_boilerplate=`cat conftest.err`
   14676 $RM -r conftest*
   14677 
   14678 
   14679 if test -n "$compiler"; then
   14680 
   14681 lt_prog_compiler_no_builtin_flag=
   14682 
   14683 if test yes = "$GCC"; then
   14684   case $cc_basename in
   14685   nvcc*)
   14686     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14687   *)
   14688     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14689   esac
   14690 
   14691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14692 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14693 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14694   $as_echo_n "(cached) " >&6
   14695 else
   14696   lt_cv_prog_compiler_rtti_exceptions=no
   14697    ac_outfile=conftest.$ac_objext
   14698    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14699    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14700    # Insert the option either (1) after the last *FLAGS variable, or
   14701    # (2) before a word containing "conftest.", or (3) at the end.
   14702    # Note that $ac_compile itself does not contain backslashes and begins
   14703    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14704    # The option is referenced via a variable to avoid confusing sed.
   14705    lt_compile=`echo "$ac_compile" | $SED \
   14706    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14707    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14708    -e 's:$: $lt_compiler_flag:'`
   14709    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14710    (eval "$lt_compile" 2>conftest.err)
   14711    ac_status=$?
   14712    cat conftest.err >&5
   14713    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14714    if (exit $ac_status) && test -s "$ac_outfile"; then
   14715      # The compiler can only warn and ignore the option if not recognized
   14716      # So say no if there are warnings other than the usual output.
   14717      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14718      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14719      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14720        lt_cv_prog_compiler_rtti_exceptions=yes
   14721      fi
   14722    fi
   14723    $RM conftest*
   14724 
   14725 fi
   14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14727 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14728 
   14729 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14730     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14731 else
   14732     :
   14733 fi
   14734 
   14735 fi
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742   lt_prog_compiler_wl=
   14743 lt_prog_compiler_pic=
   14744 lt_prog_compiler_static=
   14745 
   14746 
   14747   if test yes = "$GCC"; then
   14748     lt_prog_compiler_wl='-Wl,'
   14749     lt_prog_compiler_static='-static'
   14750 
   14751     case $host_os in
   14752       aix*)
   14753       # All AIX code is PIC.
   14754       if test ia64 = "$host_cpu"; then
   14755 	# AIX 5 now supports IA64 processor
   14756 	lt_prog_compiler_static='-Bstatic'
   14757       fi
   14758       lt_prog_compiler_pic='-fPIC'
   14759       ;;
   14760 
   14761     amigaos*)
   14762       case $host_cpu in
   14763       powerpc)
   14764             # see comment about AmigaOS4 .so support
   14765             lt_prog_compiler_pic='-fPIC'
   14766         ;;
   14767       m68k)
   14768             # FIXME: we need at least 68020 code to build shared libraries, but
   14769             # adding the '-m68020' flag to GCC prevents building anything better,
   14770             # like '-m68040'.
   14771             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14772         ;;
   14773       esac
   14774       ;;
   14775 
   14776     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14777       # PIC is the default for these OSes.
   14778       ;;
   14779 
   14780     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14781       # This hack is so that the source file can tell whether it is being
   14782       # built for inclusion in a dll (and should export symbols for example).
   14783       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14784       # (--disable-auto-import) libraries
   14785       lt_prog_compiler_pic='-DDLL_EXPORT'
   14786       case $host_os in
   14787       os2*)
   14788 	lt_prog_compiler_static='$wl-static'
   14789 	;;
   14790       esac
   14791       ;;
   14792 
   14793     darwin* | rhapsody*)
   14794       # PIC is the default on this platform
   14795       # Common symbols not allowed in MH_DYLIB files
   14796       lt_prog_compiler_pic='-fno-common'
   14797       ;;
   14798 
   14799     haiku*)
   14800       # PIC is the default for Haiku.
   14801       # The "-static" flag exists, but is broken.
   14802       lt_prog_compiler_static=
   14803       ;;
   14804 
   14805     hpux*)
   14806       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14807       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14808       # sets the default TLS model and affects inlining.
   14809       case $host_cpu in
   14810       hppa*64*)
   14811 	# +Z the default
   14812 	;;
   14813       *)
   14814 	lt_prog_compiler_pic='-fPIC'
   14815 	;;
   14816       esac
   14817       ;;
   14818 
   14819     interix[3-9]*)
   14820       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14821       # Instead, we relocate shared libraries at runtime.
   14822       ;;
   14823 
   14824     msdosdjgpp*)
   14825       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14826       # on systems that don't support them.
   14827       lt_prog_compiler_can_build_shared=no
   14828       enable_shared=no
   14829       ;;
   14830 
   14831     *nto* | *qnx*)
   14832       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14833       # it will coredump.
   14834       lt_prog_compiler_pic='-fPIC -shared'
   14835       ;;
   14836 
   14837     sysv4*MP*)
   14838       if test -d /usr/nec; then
   14839 	lt_prog_compiler_pic=-Kconform_pic
   14840       fi
   14841       ;;
   14842 
   14843     *)
   14844       lt_prog_compiler_pic='-fPIC'
   14845       ;;
   14846     esac
   14847 
   14848     case $cc_basename in
   14849     nvcc*) # Cuda Compiler Driver 2.2
   14850       lt_prog_compiler_wl='-Xlinker '
   14851       if test -n "$lt_prog_compiler_pic"; then
   14852         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14853       fi
   14854       ;;
   14855     esac
   14856   else
   14857     # PORTME Check for flag to pass linker flags through the system compiler.
   14858     case $host_os in
   14859     aix*)
   14860       lt_prog_compiler_wl='-Wl,'
   14861       if test ia64 = "$host_cpu"; then
   14862 	# AIX 5 now supports IA64 processor
   14863 	lt_prog_compiler_static='-Bstatic'
   14864       else
   14865 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14866       fi
   14867       ;;
   14868 
   14869     darwin* | rhapsody*)
   14870       # PIC is the default on this platform
   14871       # Common symbols not allowed in MH_DYLIB files
   14872       lt_prog_compiler_pic='-fno-common'
   14873       case $cc_basename in
   14874       nagfor*)
   14875         # NAG Fortran compiler
   14876         lt_prog_compiler_wl='-Wl,-Wl,,'
   14877         lt_prog_compiler_pic='-PIC'
   14878         lt_prog_compiler_static='-Bstatic'
   14879         ;;
   14880       esac
   14881       ;;
   14882 
   14883     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14884       # This hack is so that the source file can tell whether it is being
   14885       # built for inclusion in a dll (and should export symbols for example).
   14886       lt_prog_compiler_pic='-DDLL_EXPORT'
   14887       case $host_os in
   14888       os2*)
   14889 	lt_prog_compiler_static='$wl-static'
   14890 	;;
   14891       esac
   14892       ;;
   14893 
   14894     hpux9* | hpux10* | hpux11*)
   14895       lt_prog_compiler_wl='-Wl,'
   14896       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14897       # not for PA HP-UX.
   14898       case $host_cpu in
   14899       hppa*64*|ia64*)
   14900 	# +Z the default
   14901 	;;
   14902       *)
   14903 	lt_prog_compiler_pic='+Z'
   14904 	;;
   14905       esac
   14906       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14907       lt_prog_compiler_static='$wl-a ${wl}archive'
   14908       ;;
   14909 
   14910     irix5* | irix6* | nonstopux*)
   14911       lt_prog_compiler_wl='-Wl,'
   14912       # PIC (with -KPIC) is the default.
   14913       lt_prog_compiler_static='-non_shared'
   14914       ;;
   14915 
   14916     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14917       case $cc_basename in
   14918       # old Intel for x86_64, which still supported -KPIC.
   14919       ecc*)
   14920 	lt_prog_compiler_wl='-Wl,'
   14921 	lt_prog_compiler_pic='-KPIC'
   14922 	lt_prog_compiler_static='-static'
   14923         ;;
   14924       # icc used to be incompatible with GCC.
   14925       # ICC 10 doesn't accept -KPIC any more.
   14926       icc* | ifort*)
   14927 	lt_prog_compiler_wl='-Wl,'
   14928 	lt_prog_compiler_pic='-fPIC'
   14929 	lt_prog_compiler_static='-static'
   14930         ;;
   14931       # Lahey Fortran 8.1.
   14932       lf95*)
   14933 	lt_prog_compiler_wl='-Wl,'
   14934 	lt_prog_compiler_pic='--shared'
   14935 	lt_prog_compiler_static='--static'
   14936 	;;
   14937       nagfor*)
   14938 	# NAG Fortran compiler
   14939 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14940 	lt_prog_compiler_pic='-PIC'
   14941 	lt_prog_compiler_static='-Bstatic'
   14942 	;;
   14943       tcc*)
   14944 	# Fabrice Bellard et al's Tiny C Compiler
   14945 	lt_prog_compiler_wl='-Wl,'
   14946 	lt_prog_compiler_pic='-fPIC'
   14947 	lt_prog_compiler_static='-static'
   14948 	;;
   14949       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14950         # Portland Group compilers (*not* the Pentium gcc compiler,
   14951 	# which looks to be a dead project)
   14952 	lt_prog_compiler_wl='-Wl,'
   14953 	lt_prog_compiler_pic='-fpic'
   14954 	lt_prog_compiler_static='-Bstatic'
   14955         ;;
   14956       ccc*)
   14957         lt_prog_compiler_wl='-Wl,'
   14958         # All Alpha code is PIC.
   14959         lt_prog_compiler_static='-non_shared'
   14960         ;;
   14961       xl* | bgxl* | bgf* | mpixl*)
   14962 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14963 	lt_prog_compiler_wl='-Wl,'
   14964 	lt_prog_compiler_pic='-qpic'
   14965 	lt_prog_compiler_static='-qstaticlink'
   14966 	;;
   14967       *)
   14968 	case `$CC -V 2>&1 | sed 5q` in
   14969 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14970 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14971 	  lt_prog_compiler_pic='-KPIC'
   14972 	  lt_prog_compiler_static='-Bstatic'
   14973 	  lt_prog_compiler_wl=''
   14974 	  ;;
   14975 	*Sun\ F* | *Sun*Fortran*)
   14976 	  lt_prog_compiler_pic='-KPIC'
   14977 	  lt_prog_compiler_static='-Bstatic'
   14978 	  lt_prog_compiler_wl='-Qoption ld '
   14979 	  ;;
   14980 	*Sun\ C*)
   14981 	  # Sun C 5.9
   14982 	  lt_prog_compiler_pic='-KPIC'
   14983 	  lt_prog_compiler_static='-Bstatic'
   14984 	  lt_prog_compiler_wl='-Wl,'
   14985 	  ;;
   14986         *Intel*\ [CF]*Compiler*)
   14987 	  lt_prog_compiler_wl='-Wl,'
   14988 	  lt_prog_compiler_pic='-fPIC'
   14989 	  lt_prog_compiler_static='-static'
   14990 	  ;;
   14991 	*Portland\ Group*)
   14992 	  lt_prog_compiler_wl='-Wl,'
   14993 	  lt_prog_compiler_pic='-fpic'
   14994 	  lt_prog_compiler_static='-Bstatic'
   14995 	  ;;
   14996 	esac
   14997 	;;
   14998       esac
   14999       ;;
   15000 
   15001     newsos6)
   15002       lt_prog_compiler_pic='-KPIC'
   15003       lt_prog_compiler_static='-Bstatic'
   15004       ;;
   15005 
   15006     *nto* | *qnx*)
   15007       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15008       # it will coredump.
   15009       lt_prog_compiler_pic='-fPIC -shared'
   15010       ;;
   15011 
   15012     osf3* | osf4* | osf5*)
   15013       lt_prog_compiler_wl='-Wl,'
   15014       # All OSF/1 code is PIC.
   15015       lt_prog_compiler_static='-non_shared'
   15016       ;;
   15017 
   15018     rdos*)
   15019       lt_prog_compiler_static='-non_shared'
   15020       ;;
   15021 
   15022     solaris*)
   15023       lt_prog_compiler_pic='-KPIC'
   15024       lt_prog_compiler_static='-Bstatic'
   15025       case $cc_basename in
   15026       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15027 	lt_prog_compiler_wl='-Qoption ld ';;
   15028       *)
   15029 	lt_prog_compiler_wl='-Wl,';;
   15030       esac
   15031       ;;
   15032 
   15033     sunos4*)
   15034       lt_prog_compiler_wl='-Qoption ld '
   15035       lt_prog_compiler_pic='-PIC'
   15036       lt_prog_compiler_static='-Bstatic'
   15037       ;;
   15038 
   15039     sysv4 | sysv4.2uw2* | sysv4.3*)
   15040       lt_prog_compiler_wl='-Wl,'
   15041       lt_prog_compiler_pic='-KPIC'
   15042       lt_prog_compiler_static='-Bstatic'
   15043       ;;
   15044 
   15045     sysv4*MP*)
   15046       if test -d /usr/nec; then
   15047 	lt_prog_compiler_pic='-Kconform_pic'
   15048 	lt_prog_compiler_static='-Bstatic'
   15049       fi
   15050       ;;
   15051 
   15052     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15053       lt_prog_compiler_wl='-Wl,'
   15054       lt_prog_compiler_pic='-KPIC'
   15055       lt_prog_compiler_static='-Bstatic'
   15056       ;;
   15057 
   15058     unicos*)
   15059       lt_prog_compiler_wl='-Wl,'
   15060       lt_prog_compiler_can_build_shared=no
   15061       ;;
   15062 
   15063     uts4*)
   15064       lt_prog_compiler_pic='-pic'
   15065       lt_prog_compiler_static='-Bstatic'
   15066       ;;
   15067 
   15068     *)
   15069       lt_prog_compiler_can_build_shared=no
   15070       ;;
   15071     esac
   15072   fi
   15073 
   15074 case $host_os in
   15075   # For platforms that do not support PIC, -DPIC is meaningless:
   15076   *djgpp*)
   15077     lt_prog_compiler_pic=
   15078     ;;
   15079   *)
   15080     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15081     ;;
   15082 esac
   15083 
   15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15085 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15086 if ${lt_cv_prog_compiler_pic+:} false; then :
   15087   $as_echo_n "(cached) " >&6
   15088 else
   15089   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15090 fi
   15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15092 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15093 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15094 
   15095 #
   15096 # Check to make sure the PIC flag actually works.
   15097 #
   15098 if test -n "$lt_prog_compiler_pic"; then
   15099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15100 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15101 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15102   $as_echo_n "(cached) " >&6
   15103 else
   15104   lt_cv_prog_compiler_pic_works=no
   15105    ac_outfile=conftest.$ac_objext
   15106    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15107    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15108    # Insert the option either (1) after the last *FLAGS variable, or
   15109    # (2) before a word containing "conftest.", or (3) at the end.
   15110    # Note that $ac_compile itself does not contain backslashes and begins
   15111    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15112    # The option is referenced via a variable to avoid confusing sed.
   15113    lt_compile=`echo "$ac_compile" | $SED \
   15114    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15115    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15116    -e 's:$: $lt_compiler_flag:'`
   15117    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15118    (eval "$lt_compile" 2>conftest.err)
   15119    ac_status=$?
   15120    cat conftest.err >&5
   15121    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15122    if (exit $ac_status) && test -s "$ac_outfile"; then
   15123      # The compiler can only warn and ignore the option if not recognized
   15124      # So say no if there are warnings other than the usual output.
   15125      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15126      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15127      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15128        lt_cv_prog_compiler_pic_works=yes
   15129      fi
   15130    fi
   15131    $RM conftest*
   15132 
   15133 fi
   15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15135 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15136 
   15137 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15138     case $lt_prog_compiler_pic in
   15139      "" | " "*) ;;
   15140      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15141      esac
   15142 else
   15143     lt_prog_compiler_pic=
   15144      lt_prog_compiler_can_build_shared=no
   15145 fi
   15146 
   15147 fi
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 #
   15160 # Check to make sure the static flag actually works.
   15161 #
   15162 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15164 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15165 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15166   $as_echo_n "(cached) " >&6
   15167 else
   15168   lt_cv_prog_compiler_static_works=no
   15169    save_LDFLAGS=$LDFLAGS
   15170    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15171    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15172    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15173      # The linker can only warn and ignore the option if not recognized
   15174      # So say no if there are warnings
   15175      if test -s conftest.err; then
   15176        # Append any errors to the config.log.
   15177        cat conftest.err 1>&5
   15178        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15179        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15180        if diff conftest.exp conftest.er2 >/dev/null; then
   15181          lt_cv_prog_compiler_static_works=yes
   15182        fi
   15183      else
   15184        lt_cv_prog_compiler_static_works=yes
   15185      fi
   15186    fi
   15187    $RM -r conftest*
   15188    LDFLAGS=$save_LDFLAGS
   15189 
   15190 fi
   15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15192 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15193 
   15194 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15195     :
   15196 else
   15197     lt_prog_compiler_static=
   15198 fi
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15207 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15208 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15209   $as_echo_n "(cached) " >&6
   15210 else
   15211   lt_cv_prog_compiler_c_o=no
   15212    $RM -r conftest 2>/dev/null
   15213    mkdir conftest
   15214    cd conftest
   15215    mkdir out
   15216    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15217 
   15218    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15219    # Insert the option either (1) after the last *FLAGS variable, or
   15220    # (2) before a word containing "conftest.", or (3) at the end.
   15221    # Note that $ac_compile itself does not contain backslashes and begins
   15222    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15223    lt_compile=`echo "$ac_compile" | $SED \
   15224    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15225    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15226    -e 's:$: $lt_compiler_flag:'`
   15227    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15228    (eval "$lt_compile" 2>out/conftest.err)
   15229    ac_status=$?
   15230    cat out/conftest.err >&5
   15231    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15232    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15233    then
   15234      # The compiler can only warn and ignore the option if not recognized
   15235      # So say no if there are warnings
   15236      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15237      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15238      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15239        lt_cv_prog_compiler_c_o=yes
   15240      fi
   15241    fi
   15242    chmod u+w . 2>&5
   15243    $RM conftest*
   15244    # SGI C++ compiler will create directory out/ii_files/ for
   15245    # template instantiation
   15246    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15247    $RM out/* && rmdir out
   15248    cd ..
   15249    $RM -r conftest
   15250    $RM conftest*
   15251 
   15252 fi
   15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15254 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15262 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15263 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15264   $as_echo_n "(cached) " >&6
   15265 else
   15266   lt_cv_prog_compiler_c_o=no
   15267    $RM -r conftest 2>/dev/null
   15268    mkdir conftest
   15269    cd conftest
   15270    mkdir out
   15271    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15272 
   15273    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15274    # Insert the option either (1) after the last *FLAGS variable, or
   15275    # (2) before a word containing "conftest.", or (3) at the end.
   15276    # Note that $ac_compile itself does not contain backslashes and begins
   15277    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15278    lt_compile=`echo "$ac_compile" | $SED \
   15279    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15280    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15281    -e 's:$: $lt_compiler_flag:'`
   15282    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15283    (eval "$lt_compile" 2>out/conftest.err)
   15284    ac_status=$?
   15285    cat out/conftest.err >&5
   15286    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15287    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15288    then
   15289      # The compiler can only warn and ignore the option if not recognized
   15290      # So say no if there are warnings
   15291      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15292      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15293      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15294        lt_cv_prog_compiler_c_o=yes
   15295      fi
   15296    fi
   15297    chmod u+w . 2>&5
   15298    $RM conftest*
   15299    # SGI C++ compiler will create directory out/ii_files/ for
   15300    # template instantiation
   15301    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15302    $RM out/* && rmdir out
   15303    cd ..
   15304    $RM -r conftest
   15305    $RM conftest*
   15306 
   15307 fi
   15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15310 
   15311 
   15312 
   15313 
   15314 hard_links=nottested
   15315 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15316   # do not overwrite the value of need_locks provided by the user
   15317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15318 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15319   hard_links=yes
   15320   $RM conftest*
   15321   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15322   touch conftest.a
   15323   ln conftest.a conftest.b 2>&5 || hard_links=no
   15324   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15326 $as_echo "$hard_links" >&6; }
   15327   if test no = "$hard_links"; then
   15328     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15329 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15330     need_locks=warn
   15331   fi
   15332 else
   15333   need_locks=no
   15334 fi
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15342 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15343 
   15344   runpath_var=
   15345   allow_undefined_flag=
   15346   always_export_symbols=no
   15347   archive_cmds=
   15348   archive_expsym_cmds=
   15349   compiler_needs_object=no
   15350   enable_shared_with_static_runtimes=no
   15351   export_dynamic_flag_spec=
   15352   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15353   hardcode_automatic=no
   15354   hardcode_direct=no
   15355   hardcode_direct_absolute=no
   15356   hardcode_libdir_flag_spec=
   15357   hardcode_libdir_separator=
   15358   hardcode_minus_L=no
   15359   hardcode_shlibpath_var=unsupported
   15360   inherit_rpath=no
   15361   link_all_deplibs=unknown
   15362   module_cmds=
   15363   module_expsym_cmds=
   15364   old_archive_from_new_cmds=
   15365   old_archive_from_expsyms_cmds=
   15366   thread_safe_flag_spec=
   15367   whole_archive_flag_spec=
   15368   # include_expsyms should be a list of space-separated symbols to be *always*
   15369   # included in the symbol list
   15370   include_expsyms=
   15371   # exclude_expsyms can be an extended regexp of symbols to exclude
   15372   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15373   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15374   # as well as any symbol that contains 'd'.
   15375   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15376   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15377   # platforms (ab)use it in PIC code, but their linkers get confused if
   15378   # the symbol is explicitly referenced.  Since portable code cannot
   15379   # rely on this symbol name, it's probably fine to never include it in
   15380   # preloaded symbol tables.
   15381   # Exclude shared library initialization/finalization symbols.
   15382   extract_expsyms_cmds=
   15383 
   15384   case $host_os in
   15385   cygwin* | mingw* | pw32* | cegcc*)
   15386     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15387     # When not using gcc, we currently assume that we are using
   15388     # Microsoft Visual C++.
   15389     if test yes != "$GCC"; then
   15390       with_gnu_ld=no
   15391     fi
   15392     ;;
   15393   interix*)
   15394     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15395     with_gnu_ld=yes
   15396     ;;
   15397   openbsd* | bitrig*)
   15398     with_gnu_ld=no
   15399     ;;
   15400   linux* | k*bsd*-gnu | gnu*)
   15401     link_all_deplibs=no
   15402     ;;
   15403   esac
   15404 
   15405   ld_shlibs=yes
   15406 
   15407   # On some targets, GNU ld is compatible enough with the native linker
   15408   # that we're better off using the native interface for both.
   15409   lt_use_gnu_ld_interface=no
   15410   if test yes = "$with_gnu_ld"; then
   15411     case $host_os in
   15412       aix*)
   15413 	# The AIX port of GNU ld has always aspired to compatibility
   15414 	# with the native linker.  However, as the warning in the GNU ld
   15415 	# block says, versions before 2.19.5* couldn't really create working
   15416 	# shared libraries, regardless of the interface used.
   15417 	case `$LD -v 2>&1` in
   15418 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15419 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15420 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15421 	  *)
   15422 	    lt_use_gnu_ld_interface=yes
   15423 	    ;;
   15424 	esac
   15425 	;;
   15426       *)
   15427 	lt_use_gnu_ld_interface=yes
   15428 	;;
   15429     esac
   15430   fi
   15431 
   15432   if test yes = "$lt_use_gnu_ld_interface"; then
   15433     # If archive_cmds runs LD, not CC, wlarc should be empty
   15434     wlarc='$wl'
   15435 
   15436     # Set some defaults for GNU ld with shared library support. These
   15437     # are reset later if shared libraries are not supported. Putting them
   15438     # here allows them to be overridden if necessary.
   15439     runpath_var=LD_RUN_PATH
   15440     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15441     export_dynamic_flag_spec='$wl--export-dynamic'
   15442     # ancient GNU ld didn't support --whole-archive et. al.
   15443     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15444       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15445     else
   15446       whole_archive_flag_spec=
   15447     fi
   15448     supports_anon_versioning=no
   15449     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15450       *GNU\ gold*) supports_anon_versioning=yes ;;
   15451       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15452       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15453       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15454       *\ 2.11.*) ;; # other 2.11 versions
   15455       *) supports_anon_versioning=yes ;;
   15456     esac
   15457 
   15458     # See if GNU ld supports shared libraries.
   15459     case $host_os in
   15460     aix[3-9]*)
   15461       # On AIX/PPC, the GNU linker is very broken
   15462       if test ia64 != "$host_cpu"; then
   15463 	ld_shlibs=no
   15464 	cat <<_LT_EOF 1>&2
   15465 
   15466 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15467 *** to be unable to reliably create shared libraries on AIX.
   15468 *** Therefore, libtool is disabling shared libraries support.  If you
   15469 *** really care for shared libraries, you may want to install binutils
   15470 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15471 *** You will then need to restart the configuration process.
   15472 
   15473 _LT_EOF
   15474       fi
   15475       ;;
   15476 
   15477     amigaos*)
   15478       case $host_cpu in
   15479       powerpc)
   15480             # see comment about AmigaOS4 .so support
   15481             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15482             archive_expsym_cmds=''
   15483         ;;
   15484       m68k)
   15485             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)'
   15486             hardcode_libdir_flag_spec='-L$libdir'
   15487             hardcode_minus_L=yes
   15488         ;;
   15489       esac
   15490       ;;
   15491 
   15492     beos*)
   15493       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15494 	allow_undefined_flag=unsupported
   15495 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15496 	# support --undefined.  This deserves some investigation.  FIXME
   15497 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15498       else
   15499 	ld_shlibs=no
   15500       fi
   15501       ;;
   15502 
   15503     cygwin* | mingw* | pw32* | cegcc*)
   15504       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15505       # as there is no search path for DLLs.
   15506       hardcode_libdir_flag_spec='-L$libdir'
   15507       export_dynamic_flag_spec='$wl--export-all-symbols'
   15508       allow_undefined_flag=unsupported
   15509       always_export_symbols=no
   15510       enable_shared_with_static_runtimes=yes
   15511       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   15512       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15513 
   15514       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15515         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15516 	# If the export-symbols file already is a .def file, use it as
   15517 	# is; otherwise, prepend EXPORTS...
   15518 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15519           cp $export_symbols $output_objdir/$soname.def;
   15520         else
   15521           echo EXPORTS > $output_objdir/$soname.def;
   15522           cat $export_symbols >> $output_objdir/$soname.def;
   15523         fi~
   15524         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15525       else
   15526 	ld_shlibs=no
   15527       fi
   15528       ;;
   15529 
   15530     haiku*)
   15531       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15532       link_all_deplibs=yes
   15533       ;;
   15534 
   15535     os2*)
   15536       hardcode_libdir_flag_spec='-L$libdir'
   15537       hardcode_minus_L=yes
   15538       allow_undefined_flag=unsupported
   15539       shrext_cmds=.dll
   15540       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15541 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15542 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15543 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15544 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15545 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15546 	emximp -o $lib $output_objdir/$libname.def'
   15547       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15548 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15549 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15550 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15551 	prefix_cmds="$SED"~
   15552 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15553 	  prefix_cmds="$prefix_cmds -e 1d";
   15554 	fi~
   15555 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15556 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15557 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15558 	emximp -o $lib $output_objdir/$libname.def'
   15559       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15560       enable_shared_with_static_runtimes=yes
   15561       ;;
   15562 
   15563     interix[3-9]*)
   15564       hardcode_direct=no
   15565       hardcode_shlibpath_var=no
   15566       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15567       export_dynamic_flag_spec='$wl-E'
   15568       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15569       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15570       # default) and relocated if they conflict, which is a slow very memory
   15571       # consuming and fragmenting process.  To avoid this, we pick a random,
   15572       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15573       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15574       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15575       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'
   15576       ;;
   15577 
   15578     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15579       tmp_diet=no
   15580       if test linux-dietlibc = "$host_os"; then
   15581 	case $cc_basename in
   15582 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15583 	esac
   15584       fi
   15585       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15586 	 && test no = "$tmp_diet"
   15587       then
   15588 	tmp_addflag=' $pic_flag'
   15589 	tmp_sharedflag='-shared'
   15590 	case $cc_basename,$host_cpu in
   15591         pgcc*)				# Portland Group C compiler
   15592 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15593 	  tmp_addflag=' $pic_flag'
   15594 	  ;;
   15595 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15596 					# Portland Group f77 and f90 compilers
   15597 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15598 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15599 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15600 	  tmp_addflag=' -i_dynamic' ;;
   15601 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15602 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15603 	ifc* | ifort*)			# Intel Fortran compiler
   15604 	  tmp_addflag=' -nofor_main' ;;
   15605 	lf95*)				# Lahey Fortran 8.1
   15606 	  whole_archive_flag_spec=
   15607 	  tmp_sharedflag='--shared' ;;
   15608         nagfor*)                        # NAGFOR 5.3
   15609           tmp_sharedflag='-Wl,-shared' ;;
   15610 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15611 	  tmp_sharedflag='-qmkshrobj'
   15612 	  tmp_addflag= ;;
   15613 	nvcc*)	# Cuda Compiler Driver 2.2
   15614 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15615 	  compiler_needs_object=yes
   15616 	  ;;
   15617 	esac
   15618 	case `$CC -V 2>&1 | sed 5q` in
   15619 	*Sun\ C*)			# Sun C 5.9
   15620 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15621 	  compiler_needs_object=yes
   15622 	  tmp_sharedflag='-G' ;;
   15623 	*Sun\ F*)			# Sun Fortran 8.3
   15624 	  tmp_sharedflag='-G' ;;
   15625 	esac
   15626 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15627 
   15628         if test yes = "$supports_anon_versioning"; then
   15629           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15630             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15631             echo "local: *; };" >> $output_objdir/$libname.ver~
   15632             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15633         fi
   15634 
   15635 	case $cc_basename in
   15636 	tcc*)
   15637 	  export_dynamic_flag_spec='-rdynamic'
   15638 	  ;;
   15639 	xlf* | bgf* | bgxlf* | mpixlf*)
   15640 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15641 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15642 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15643 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15644 	  if test yes = "$supports_anon_versioning"; then
   15645 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15646               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15647               echo "local: *; };" >> $output_objdir/$libname.ver~
   15648               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15649 	  fi
   15650 	  ;;
   15651 	esac
   15652       else
   15653         ld_shlibs=no
   15654       fi
   15655       ;;
   15656 
   15657     netbsd* | netbsdelf*-gnu)
   15658       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15659 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15660 	wlarc=
   15661       else
   15662 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15663 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15664       fi
   15665       ;;
   15666 
   15667     solaris*)
   15668       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15669 	ld_shlibs=no
   15670 	cat <<_LT_EOF 1>&2
   15671 
   15672 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15673 *** create shared libraries on Solaris systems.  Therefore, libtool
   15674 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15675 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15676 *** your PATH or compiler configuration so that the native linker is
   15677 *** used, and then restart.
   15678 
   15679 _LT_EOF
   15680       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15681 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15682 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15683       else
   15684 	ld_shlibs=no
   15685       fi
   15686       ;;
   15687 
   15688     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15689       case `$LD -v 2>&1` in
   15690         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15691 	ld_shlibs=no
   15692 	cat <<_LT_EOF 1>&2
   15693 
   15694 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15695 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15696 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15697 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15698 *** your PATH or compiler configuration so that the native linker is
   15699 *** used, and then restart.
   15700 
   15701 _LT_EOF
   15702 	;;
   15703 	*)
   15704 	  # For security reasons, it is highly recommended that you always
   15705 	  # use absolute paths for naming shared libraries, and exclude the
   15706 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15707 	  # requires that you compile everything twice, which is a pain.
   15708 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15709 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15710 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15711 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15712 	  else
   15713 	    ld_shlibs=no
   15714 	  fi
   15715 	;;
   15716       esac
   15717       ;;
   15718 
   15719     sunos4*)
   15720       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15721       wlarc=
   15722       hardcode_direct=yes
   15723       hardcode_shlibpath_var=no
   15724       ;;
   15725 
   15726     *)
   15727       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15728 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15729 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15730       else
   15731 	ld_shlibs=no
   15732       fi
   15733       ;;
   15734     esac
   15735 
   15736     if test no = "$ld_shlibs"; then
   15737       runpath_var=
   15738       hardcode_libdir_flag_spec=
   15739       export_dynamic_flag_spec=
   15740       whole_archive_flag_spec=
   15741     fi
   15742   else
   15743     # PORTME fill in a description of your system's linker (not GNU ld)
   15744     case $host_os in
   15745     aix3*)
   15746       allow_undefined_flag=unsupported
   15747       always_export_symbols=yes
   15748       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'
   15749       # Note: this linker hardcodes the directories in LIBPATH if there
   15750       # are no directories specified by -L.
   15751       hardcode_minus_L=yes
   15752       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15753 	# Neither direct hardcoding nor static linking is supported with a
   15754 	# broken collect2.
   15755 	hardcode_direct=unsupported
   15756       fi
   15757       ;;
   15758 
   15759     aix[4-9]*)
   15760       if test ia64 = "$host_cpu"; then
   15761 	# On IA64, the linker does run time linking by default, so we don't
   15762 	# have to do anything special.
   15763 	aix_use_runtimelinking=no
   15764 	exp_sym_flag='-Bexport'
   15765 	no_entry_flag=
   15766       else
   15767 	# If we're using GNU nm, then we don't want the "-C" option.
   15768 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15769 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15770 	# weak defined symbols like other global defined symbols, whereas
   15771 	# GNU nm marks them as "W".
   15772 	# While the 'weak' keyword is ignored in the Export File, we need
   15773 	# it in the Import File for the 'aix-soname' feature, so we have
   15774 	# to replace the "-B" option with "-P" for AIX nm.
   15775 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15776 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   15777 	else
   15778 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   15779 	fi
   15780 	aix_use_runtimelinking=no
   15781 
   15782 	# Test if we are trying to use run time linking or normal
   15783 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15784 	# have runtime linking enabled, and use it for executables.
   15785 	# For shared libraries, we enable/disable runtime linking
   15786 	# depending on the kind of the shared library created -
   15787 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15788 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15789 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15790 	#            lib.a           static archive
   15791 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15792 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15793 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15794 	#            lib.a(lib.so.V) shared, rtl:no
   15795 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15796 	#            lib.a           static archive
   15797 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15798 	  for ld_flag in $LDFLAGS; do
   15799 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15800 	    aix_use_runtimelinking=yes
   15801 	    break
   15802 	  fi
   15803 	  done
   15804 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15805 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15806 	    # so we don't have lib.a shared libs to link our executables.
   15807 	    # We have to force runtime linking in this case.
   15808 	    aix_use_runtimelinking=yes
   15809 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15810 	  fi
   15811 	  ;;
   15812 	esac
   15813 
   15814 	exp_sym_flag='-bexport'
   15815 	no_entry_flag='-bnoentry'
   15816       fi
   15817 
   15818       # When large executables or shared objects are built, AIX ld can
   15819       # have problems creating the table of contents.  If linking a library
   15820       # or program results in "error TOC overflow" add -mminimal-toc to
   15821       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15822       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15823 
   15824       archive_cmds=''
   15825       hardcode_direct=yes
   15826       hardcode_direct_absolute=yes
   15827       hardcode_libdir_separator=':'
   15828       link_all_deplibs=yes
   15829       file_list_spec='$wl-f,'
   15830       case $with_aix_soname,$aix_use_runtimelinking in
   15831       aix,*) ;; # traditional, no import file
   15832       svr4,* | *,yes) # use import file
   15833 	# The Import File defines what to hardcode.
   15834 	hardcode_direct=no
   15835 	hardcode_direct_absolute=no
   15836 	;;
   15837       esac
   15838 
   15839       if test yes = "$GCC"; then
   15840 	case $host_os in aix4.[012]|aix4.[012].*)
   15841 	# We only want to do this on AIX 4.2 and lower, the check
   15842 	# below for broken collect2 doesn't work under 4.3+
   15843 	  collect2name=`$CC -print-prog-name=collect2`
   15844 	  if test -f "$collect2name" &&
   15845 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15846 	  then
   15847 	  # We have reworked collect2
   15848 	  :
   15849 	  else
   15850 	  # We have old collect2
   15851 	  hardcode_direct=unsupported
   15852 	  # It fails to find uninstalled libraries when the uninstalled
   15853 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15854 	  # to unsupported forces relinking
   15855 	  hardcode_minus_L=yes
   15856 	  hardcode_libdir_flag_spec='-L$libdir'
   15857 	  hardcode_libdir_separator=
   15858 	  fi
   15859 	  ;;
   15860 	esac
   15861 	shared_flag='-shared'
   15862 	if test yes = "$aix_use_runtimelinking"; then
   15863 	  shared_flag="$shared_flag "'$wl-G'
   15864 	fi
   15865 	# Need to ensure runtime linking is disabled for the traditional
   15866 	# shared library, or the linker may eventually find shared libraries
   15867 	# /with/ Import File - we do not want to mix them.
   15868 	shared_flag_aix='-shared'
   15869 	shared_flag_svr4='-shared $wl-G'
   15870       else
   15871 	# not using gcc
   15872 	if test ia64 = "$host_cpu"; then
   15873 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15874 	# chokes on -Wl,-G. The following line is correct:
   15875 	  shared_flag='-G'
   15876 	else
   15877 	  if test yes = "$aix_use_runtimelinking"; then
   15878 	    shared_flag='$wl-G'
   15879 	  else
   15880 	    shared_flag='$wl-bM:SRE'
   15881 	  fi
   15882 	  shared_flag_aix='$wl-bM:SRE'
   15883 	  shared_flag_svr4='$wl-G'
   15884 	fi
   15885       fi
   15886 
   15887       export_dynamic_flag_spec='$wl-bexpall'
   15888       # It seems that -bexpall does not export symbols beginning with
   15889       # underscore (_), so it is better to generate a list of symbols to export.
   15890       always_export_symbols=yes
   15891       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15892 	# Warning - without using the other runtime loading flags (-brtl),
   15893 	# -berok will link without error, but may produce a broken library.
   15894 	allow_undefined_flag='-berok'
   15895         # Determine the default libpath from the value encoded in an
   15896         # empty executable.
   15897         if test set = "${lt_cv_aix_libpath+set}"; then
   15898   aix_libpath=$lt_cv_aix_libpath
   15899 else
   15900   if ${lt_cv_aix_libpath_+:} false; then :
   15901   $as_echo_n "(cached) " >&6
   15902 else
   15903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15904 /* end confdefs.h.  */
   15905 
   15906 int
   15907 main ()
   15908 {
   15909 
   15910   ;
   15911   return 0;
   15912 }
   15913 _ACEOF
   15914 if ac_fn_c_try_link "$LINENO"; then :
   15915 
   15916   lt_aix_libpath_sed='
   15917       /Import File Strings/,/^$/ {
   15918 	  /^0/ {
   15919 	      s/^0  *\([^ ]*\) *$/\1/
   15920 	      p
   15921 	  }
   15922       }'
   15923   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15924   # Check for a 64-bit object if we didn't find anything.
   15925   if test -z "$lt_cv_aix_libpath_"; then
   15926     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15927   fi
   15928 fi
   15929 rm -f core conftest.err conftest.$ac_objext \
   15930     conftest$ac_exeext conftest.$ac_ext
   15931   if test -z "$lt_cv_aix_libpath_"; then
   15932     lt_cv_aix_libpath_=/usr/lib:/lib
   15933   fi
   15934 
   15935 fi
   15936 
   15937   aix_libpath=$lt_cv_aix_libpath_
   15938 fi
   15939 
   15940         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15941         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   15942       else
   15943 	if test ia64 = "$host_cpu"; then
   15944 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15945 	  allow_undefined_flag="-z nodefs"
   15946 	  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"
   15947 	else
   15948 	 # Determine the default libpath from the value encoded in an
   15949 	 # empty executable.
   15950 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15951   aix_libpath=$lt_cv_aix_libpath
   15952 else
   15953   if ${lt_cv_aix_libpath_+:} false; then :
   15954   $as_echo_n "(cached) " >&6
   15955 else
   15956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15957 /* end confdefs.h.  */
   15958 
   15959 int
   15960 main ()
   15961 {
   15962 
   15963   ;
   15964   return 0;
   15965 }
   15966 _ACEOF
   15967 if ac_fn_c_try_link "$LINENO"; then :
   15968 
   15969   lt_aix_libpath_sed='
   15970       /Import File Strings/,/^$/ {
   15971 	  /^0/ {
   15972 	      s/^0  *\([^ ]*\) *$/\1/
   15973 	      p
   15974 	  }
   15975       }'
   15976   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15977   # Check for a 64-bit object if we didn't find anything.
   15978   if test -z "$lt_cv_aix_libpath_"; then
   15979     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15980   fi
   15981 fi
   15982 rm -f core conftest.err conftest.$ac_objext \
   15983     conftest$ac_exeext conftest.$ac_ext
   15984   if test -z "$lt_cv_aix_libpath_"; then
   15985     lt_cv_aix_libpath_=/usr/lib:/lib
   15986   fi
   15987 
   15988 fi
   15989 
   15990   aix_libpath=$lt_cv_aix_libpath_
   15991 fi
   15992 
   15993 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15994 	  # Warning - without using the other run time loading flags,
   15995 	  # -berok will link without error, but may produce a broken library.
   15996 	  no_undefined_flag=' $wl-bernotok'
   15997 	  allow_undefined_flag=' $wl-berok'
   15998 	  if test yes = "$with_gnu_ld"; then
   15999 	    # We only use this code for GNU lds that support --whole-archive.
   16000 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16001 	  else
   16002 	    # Exported symbols can be pulled into shared objects from archives
   16003 	    whole_archive_flag_spec='$convenience'
   16004 	  fi
   16005 	  archive_cmds_need_lc=yes
   16006 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16007 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16008 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16009 	  if test svr4 != "$with_aix_soname"; then
   16010 	    # This is similar to how AIX traditionally builds its shared libraries.
   16011 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   16012 	  fi
   16013 	  if test aix != "$with_aix_soname"; then
   16014 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   16015 	  else
   16016 	    # used by -dlpreopen to get the symbols
   16017 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16018 	  fi
   16019 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16020 	fi
   16021       fi
   16022       ;;
   16023 
   16024     amigaos*)
   16025       case $host_cpu in
   16026       powerpc)
   16027             # see comment about AmigaOS4 .so support
   16028             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16029             archive_expsym_cmds=''
   16030         ;;
   16031       m68k)
   16032             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)'
   16033             hardcode_libdir_flag_spec='-L$libdir'
   16034             hardcode_minus_L=yes
   16035         ;;
   16036       esac
   16037       ;;
   16038 
   16039     bsdi[45]*)
   16040       export_dynamic_flag_spec=-rdynamic
   16041       ;;
   16042 
   16043     cygwin* | mingw* | pw32* | cegcc*)
   16044       # When not using gcc, we currently assume that we are using
   16045       # Microsoft Visual C++.
   16046       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16047       # no search path for DLLs.
   16048       case $cc_basename in
   16049       cl*)
   16050 	# Native MSVC
   16051 	hardcode_libdir_flag_spec=' '
   16052 	allow_undefined_flag=unsupported
   16053 	always_export_symbols=yes
   16054 	file_list_spec='@'
   16055 	# Tell ltmain to make .lib files, not .a files.
   16056 	libext=lib
   16057 	# Tell ltmain to make .dll files, not .so files.
   16058 	shrext_cmds=.dll
   16059 	# FIXME: Setting linknames here is a bad hack.
   16060 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16061 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16062             cp "$export_symbols" "$output_objdir/$soname.def";
   16063             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16064           else
   16065             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16066           fi~
   16067           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16068           linknames='
   16069 	# The linker will not automatically build a static lib if we build a DLL.
   16070 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16071 	enable_shared_with_static_runtimes=yes
   16072 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16073 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16074 	# Don't use ranlib
   16075 	old_postinstall_cmds='chmod 644 $oldlib'
   16076 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16077           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16078           case $lt_outputfile in
   16079             *.exe|*.EXE) ;;
   16080             *)
   16081               lt_outputfile=$lt_outputfile.exe
   16082               lt_tool_outputfile=$lt_tool_outputfile.exe
   16083               ;;
   16084           esac~
   16085           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16086             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16087             $RM "$lt_outputfile.manifest";
   16088           fi'
   16089 	;;
   16090       *)
   16091 	# Assume MSVC wrapper
   16092 	hardcode_libdir_flag_spec=' '
   16093 	allow_undefined_flag=unsupported
   16094 	# Tell ltmain to make .lib files, not .a files.
   16095 	libext=lib
   16096 	# Tell ltmain to make .dll files, not .so files.
   16097 	shrext_cmds=.dll
   16098 	# FIXME: Setting linknames here is a bad hack.
   16099 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16100 	# The linker will automatically build a .lib file if we build a DLL.
   16101 	old_archive_from_new_cmds='true'
   16102 	# FIXME: Should let the user specify the lib program.
   16103 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16104 	enable_shared_with_static_runtimes=yes
   16105 	;;
   16106       esac
   16107       ;;
   16108 
   16109     darwin* | rhapsody*)
   16110 
   16111 
   16112   archive_cmds_need_lc=no
   16113   hardcode_direct=no
   16114   hardcode_automatic=yes
   16115   hardcode_shlibpath_var=unsupported
   16116   if test yes = "$lt_cv_ld_force_load"; then
   16117     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   16118 
   16119   else
   16120     whole_archive_flag_spec=''
   16121   fi
   16122   link_all_deplibs=yes
   16123   allow_undefined_flag=$_lt_dar_allow_undefined
   16124   case $cc_basename in
   16125      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16126      *) _lt_dar_can_shared=$GCC ;;
   16127   esac
   16128   if test yes = "$_lt_dar_can_shared"; then
   16129     output_verbose_link_cmd=func_echo_all
   16130     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16131     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16132     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"
   16133     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"
   16134 
   16135   else
   16136   ld_shlibs=no
   16137   fi
   16138 
   16139       ;;
   16140 
   16141     dgux*)
   16142       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16143       hardcode_libdir_flag_spec='-L$libdir'
   16144       hardcode_shlibpath_var=no
   16145       ;;
   16146 
   16147     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16148     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16149     # does not break anything, and helps significantly (at the cost of a little
   16150     # extra space).
   16151     freebsd2.2*)
   16152       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16153       hardcode_libdir_flag_spec='-R$libdir'
   16154       hardcode_direct=yes
   16155       hardcode_shlibpath_var=no
   16156       ;;
   16157 
   16158     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16159     freebsd2.*)
   16160       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16161       hardcode_direct=yes
   16162       hardcode_minus_L=yes
   16163       hardcode_shlibpath_var=no
   16164       ;;
   16165 
   16166     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16167     freebsd* | dragonfly*)
   16168       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16169       hardcode_libdir_flag_spec='-R$libdir'
   16170       hardcode_direct=yes
   16171       hardcode_shlibpath_var=no
   16172       ;;
   16173 
   16174     hpux9*)
   16175       if test yes = "$GCC"; then
   16176 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16177       else
   16178 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16179       fi
   16180       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16181       hardcode_libdir_separator=:
   16182       hardcode_direct=yes
   16183 
   16184       # hardcode_minus_L: Not really in the search PATH,
   16185       # but as the default location of the library.
   16186       hardcode_minus_L=yes
   16187       export_dynamic_flag_spec='$wl-E'
   16188       ;;
   16189 
   16190     hpux10*)
   16191       if test yes,no = "$GCC,$with_gnu_ld"; then
   16192 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16193       else
   16194 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16195       fi
   16196       if test no = "$with_gnu_ld"; then
   16197 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16198 	hardcode_libdir_separator=:
   16199 	hardcode_direct=yes
   16200 	hardcode_direct_absolute=yes
   16201 	export_dynamic_flag_spec='$wl-E'
   16202 	# hardcode_minus_L: Not really in the search PATH,
   16203 	# but as the default location of the library.
   16204 	hardcode_minus_L=yes
   16205       fi
   16206       ;;
   16207 
   16208     hpux11*)
   16209       if test yes,no = "$GCC,$with_gnu_ld"; then
   16210 	case $host_cpu in
   16211 	hppa*64*)
   16212 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16213 	  ;;
   16214 	ia64*)
   16215 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16216 	  ;;
   16217 	*)
   16218 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16219 	  ;;
   16220 	esac
   16221       else
   16222 	case $host_cpu in
   16223 	hppa*64*)
   16224 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16225 	  ;;
   16226 	ia64*)
   16227 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16228 	  ;;
   16229 	*)
   16230 
   16231 	  # Older versions of the 11.00 compiler do not understand -b yet
   16232 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16233 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16234 $as_echo_n "checking if $CC understands -b... " >&6; }
   16235 if ${lt_cv_prog_compiler__b+:} false; then :
   16236   $as_echo_n "(cached) " >&6
   16237 else
   16238   lt_cv_prog_compiler__b=no
   16239    save_LDFLAGS=$LDFLAGS
   16240    LDFLAGS="$LDFLAGS -b"
   16241    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16242    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16243      # The linker can only warn and ignore the option if not recognized
   16244      # So say no if there are warnings
   16245      if test -s conftest.err; then
   16246        # Append any errors to the config.log.
   16247        cat conftest.err 1>&5
   16248        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16249        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16250        if diff conftest.exp conftest.er2 >/dev/null; then
   16251          lt_cv_prog_compiler__b=yes
   16252        fi
   16253      else
   16254        lt_cv_prog_compiler__b=yes
   16255      fi
   16256    fi
   16257    $RM -r conftest*
   16258    LDFLAGS=$save_LDFLAGS
   16259 
   16260 fi
   16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16262 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16263 
   16264 if test yes = "$lt_cv_prog_compiler__b"; then
   16265     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16266 else
   16267     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16268 fi
   16269 
   16270 	  ;;
   16271 	esac
   16272       fi
   16273       if test no = "$with_gnu_ld"; then
   16274 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16275 	hardcode_libdir_separator=:
   16276 
   16277 	case $host_cpu in
   16278 	hppa*64*|ia64*)
   16279 	  hardcode_direct=no
   16280 	  hardcode_shlibpath_var=no
   16281 	  ;;
   16282 	*)
   16283 	  hardcode_direct=yes
   16284 	  hardcode_direct_absolute=yes
   16285 	  export_dynamic_flag_spec='$wl-E'
   16286 
   16287 	  # hardcode_minus_L: Not really in the search PATH,
   16288 	  # but as the default location of the library.
   16289 	  hardcode_minus_L=yes
   16290 	  ;;
   16291 	esac
   16292       fi
   16293       ;;
   16294 
   16295     irix5* | irix6* | nonstopux*)
   16296       if test yes = "$GCC"; then
   16297 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16298 	# Try to use the -exported_symbol ld option, if it does not
   16299 	# work, assume that -exports_file does not work either and
   16300 	# implicitly export all symbols.
   16301 	# This should be the same for all languages, so no per-tag cache variable.
   16302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16303 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16304 if ${lt_cv_irix_exported_symbol+:} false; then :
   16305   $as_echo_n "(cached) " >&6
   16306 else
   16307   save_LDFLAGS=$LDFLAGS
   16308 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16309 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16310 /* end confdefs.h.  */
   16311 int foo (void) { return 0; }
   16312 _ACEOF
   16313 if ac_fn_c_try_link "$LINENO"; then :
   16314   lt_cv_irix_exported_symbol=yes
   16315 else
   16316   lt_cv_irix_exported_symbol=no
   16317 fi
   16318 rm -f core conftest.err conftest.$ac_objext \
   16319     conftest$ac_exeext conftest.$ac_ext
   16320            LDFLAGS=$save_LDFLAGS
   16321 fi
   16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16323 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16324 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16325           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   16326 	fi
   16327 	link_all_deplibs=no
   16328       else
   16329 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16330 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
   16331       fi
   16332       archive_cmds_need_lc='no'
   16333       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16334       hardcode_libdir_separator=:
   16335       inherit_rpath=yes
   16336       link_all_deplibs=yes
   16337       ;;
   16338 
   16339     linux*)
   16340       case $cc_basename in
   16341       tcc*)
   16342 	# Fabrice Bellard et al's Tiny C Compiler
   16343 	ld_shlibs=yes
   16344 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16345 	;;
   16346       esac
   16347       ;;
   16348 
   16349     netbsd* | netbsdelf*-gnu)
   16350       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16351 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16352       else
   16353 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16354       fi
   16355       hardcode_libdir_flag_spec='-R$libdir'
   16356       hardcode_direct=yes
   16357       hardcode_shlibpath_var=no
   16358       ;;
   16359 
   16360     newsos6)
   16361       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16362       hardcode_direct=yes
   16363       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16364       hardcode_libdir_separator=:
   16365       hardcode_shlibpath_var=no
   16366       ;;
   16367 
   16368     *nto* | *qnx*)
   16369       ;;
   16370 
   16371     openbsd* | bitrig*)
   16372       if test -f /usr/libexec/ld.so; then
   16373 	hardcode_direct=yes
   16374 	hardcode_shlibpath_var=no
   16375 	hardcode_direct_absolute=yes
   16376 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16377 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16378 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16379 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16380 	  export_dynamic_flag_spec='$wl-E'
   16381 	else
   16382 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16383 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16384 	fi
   16385       else
   16386 	ld_shlibs=no
   16387       fi
   16388       ;;
   16389 
   16390     os2*)
   16391       hardcode_libdir_flag_spec='-L$libdir'
   16392       hardcode_minus_L=yes
   16393       allow_undefined_flag=unsupported
   16394       shrext_cmds=.dll
   16395       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16396 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16397 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16398 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16399 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16400 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16401 	emximp -o $lib $output_objdir/$libname.def'
   16402       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16403 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16404 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16405 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16406 	prefix_cmds="$SED"~
   16407 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16408 	  prefix_cmds="$prefix_cmds -e 1d";
   16409 	fi~
   16410 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16411 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16412 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16413 	emximp -o $lib $output_objdir/$libname.def'
   16414       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16415       enable_shared_with_static_runtimes=yes
   16416       ;;
   16417 
   16418     osf3*)
   16419       if test yes = "$GCC"; then
   16420 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16421 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16422       else
   16423 	allow_undefined_flag=' -expect_unresolved \*'
   16424 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16425       fi
   16426       archive_cmds_need_lc='no'
   16427       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16428       hardcode_libdir_separator=:
   16429       ;;
   16430 
   16431     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16432       if test yes = "$GCC"; then
   16433 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16434 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16435 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16436       else
   16437 	allow_undefined_flag=' -expect_unresolved \*'
   16438 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16439 	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~
   16440           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   16441 
   16442 	# Both c and cxx compiler support -rpath directly
   16443 	hardcode_libdir_flag_spec='-rpath $libdir'
   16444       fi
   16445       archive_cmds_need_lc='no'
   16446       hardcode_libdir_separator=:
   16447       ;;
   16448 
   16449     solaris*)
   16450       no_undefined_flag=' -z defs'
   16451       if test yes = "$GCC"; then
   16452 	wlarc='$wl'
   16453 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16454 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16455           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16456       else
   16457 	case `$CC -V 2>&1` in
   16458 	*"Compilers 5.0"*)
   16459 	  wlarc=''
   16460 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16461 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16462             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16463 	  ;;
   16464 	*)
   16465 	  wlarc='$wl'
   16466 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16467 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16468             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16469 	  ;;
   16470 	esac
   16471       fi
   16472       hardcode_libdir_flag_spec='-R$libdir'
   16473       hardcode_shlibpath_var=no
   16474       case $host_os in
   16475       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16476       *)
   16477 	# The compiler driver will combine and reorder linker options,
   16478 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16479 	# but is careful enough not to reorder.
   16480 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16481 	if test yes = "$GCC"; then
   16482 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16483 	else
   16484 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16485 	fi
   16486 	;;
   16487       esac
   16488       link_all_deplibs=yes
   16489       ;;
   16490 
   16491     sunos4*)
   16492       if test sequent = "$host_vendor"; then
   16493 	# Use $CC to link under sequent, because it throws in some extra .o
   16494 	# files that make .init and .fini sections work.
   16495 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16496       else
   16497 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16498       fi
   16499       hardcode_libdir_flag_spec='-L$libdir'
   16500       hardcode_direct=yes
   16501       hardcode_minus_L=yes
   16502       hardcode_shlibpath_var=no
   16503       ;;
   16504 
   16505     sysv4)
   16506       case $host_vendor in
   16507 	sni)
   16508 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16509 	  hardcode_direct=yes # is this really true???
   16510 	;;
   16511 	siemens)
   16512 	  ## LD is ld it makes a PLAMLIB
   16513 	  ## CC just makes a GrossModule.
   16514 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16515 	  reload_cmds='$CC -r -o $output$reload_objs'
   16516 	  hardcode_direct=no
   16517         ;;
   16518 	motorola)
   16519 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16520 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16521 	;;
   16522       esac
   16523       runpath_var='LD_RUN_PATH'
   16524       hardcode_shlibpath_var=no
   16525       ;;
   16526 
   16527     sysv4.3*)
   16528       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16529       hardcode_shlibpath_var=no
   16530       export_dynamic_flag_spec='-Bexport'
   16531       ;;
   16532 
   16533     sysv4*MP*)
   16534       if test -d /usr/nec; then
   16535 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16536 	hardcode_shlibpath_var=no
   16537 	runpath_var=LD_RUN_PATH
   16538 	hardcode_runpath_var=yes
   16539 	ld_shlibs=yes
   16540       fi
   16541       ;;
   16542 
   16543     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16544       no_undefined_flag='$wl-z,text'
   16545       archive_cmds_need_lc=no
   16546       hardcode_shlibpath_var=no
   16547       runpath_var='LD_RUN_PATH'
   16548 
   16549       if test yes = "$GCC"; then
   16550 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16551 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16552       else
   16553 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16554 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16555       fi
   16556       ;;
   16557 
   16558     sysv5* | sco3.2v5* | sco5v6*)
   16559       # Note: We CANNOT use -z defs as we might desire, because we do not
   16560       # link with -lc, and that would cause any symbols used from libc to
   16561       # always be unresolved, which means just about no library would
   16562       # ever link correctly.  If we're not using GNU ld we use -z text
   16563       # though, which does catch some bad symbols but isn't as heavy-handed
   16564       # as -z defs.
   16565       no_undefined_flag='$wl-z,text'
   16566       allow_undefined_flag='$wl-z,nodefs'
   16567       archive_cmds_need_lc=no
   16568       hardcode_shlibpath_var=no
   16569       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16570       hardcode_libdir_separator=':'
   16571       link_all_deplibs=yes
   16572       export_dynamic_flag_spec='$wl-Bexport'
   16573       runpath_var='LD_RUN_PATH'
   16574 
   16575       if test yes = "$GCC"; then
   16576 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16577 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16578       else
   16579 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16580 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16581       fi
   16582       ;;
   16583 
   16584     uts4*)
   16585       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16586       hardcode_libdir_flag_spec='-L$libdir'
   16587       hardcode_shlibpath_var=no
   16588       ;;
   16589 
   16590     *)
   16591       ld_shlibs=no
   16592       ;;
   16593     esac
   16594 
   16595     if test sni = "$host_vendor"; then
   16596       case $host in
   16597       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16598 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16599 	;;
   16600       esac
   16601     fi
   16602   fi
   16603 
   16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16605 $as_echo "$ld_shlibs" >&6; }
   16606 test no = "$ld_shlibs" && can_build_shared=no
   16607 
   16608 with_gnu_ld=$with_gnu_ld
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 #
   16625 # Do we need to explicitly link libc?
   16626 #
   16627 case "x$archive_cmds_need_lc" in
   16628 x|xyes)
   16629   # Assume -lc should be added
   16630   archive_cmds_need_lc=yes
   16631 
   16632   if test yes,yes = "$GCC,$enable_shared"; then
   16633     case $archive_cmds in
   16634     *'~'*)
   16635       # FIXME: we may have to deal with multi-command sequences.
   16636       ;;
   16637     '$CC '*)
   16638       # Test whether the compiler implicitly links with -lc since on some
   16639       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16640       # to ld, don't add -lc before -lgcc.
   16641       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16642 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16643 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16644   $as_echo_n "(cached) " >&6
   16645 else
   16646   $RM conftest*
   16647 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16648 
   16649 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16650   (eval $ac_compile) 2>&5
   16651   ac_status=$?
   16652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16653   test $ac_status = 0; } 2>conftest.err; then
   16654 	  soname=conftest
   16655 	  lib=conftest
   16656 	  libobjs=conftest.$ac_objext
   16657 	  deplibs=
   16658 	  wl=$lt_prog_compiler_wl
   16659 	  pic_flag=$lt_prog_compiler_pic
   16660 	  compiler_flags=-v
   16661 	  linker_flags=-v
   16662 	  verstring=
   16663 	  output_objdir=.
   16664 	  libname=conftest
   16665 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16666 	  allow_undefined_flag=
   16667 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16668   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16669   ac_status=$?
   16670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16671   test $ac_status = 0; }
   16672 	  then
   16673 	    lt_cv_archive_cmds_need_lc=no
   16674 	  else
   16675 	    lt_cv_archive_cmds_need_lc=yes
   16676 	  fi
   16677 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16678 	else
   16679 	  cat conftest.err 1>&5
   16680 	fi
   16681 	$RM conftest*
   16682 
   16683 fi
   16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16685 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16686       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16687       ;;
   16688     esac
   16689   fi
   16690   ;;
   16691 esac
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16845 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16846 
   16847 if test yes = "$GCC"; then
   16848   case $host_os in
   16849     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16850     *) lt_awk_arg='/^libraries:/' ;;
   16851   esac
   16852   case $host_os in
   16853     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16854     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16855   esac
   16856   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16857   case $lt_search_path_spec in
   16858   *\;*)
   16859     # if the path contains ";" then we assume it to be the separator
   16860     # otherwise default to the standard path separator (i.e. ":") - it is
   16861     # assumed that no part of a normal pathname contains ";" but that should
   16862     # okay in the real world where ";" in dirpaths is itself problematic.
   16863     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16864     ;;
   16865   *)
   16866     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16867     ;;
   16868   esac
   16869   # Ok, now we have the path, separated by spaces, we can step through it
   16870   # and add multilib dir if necessary...
   16871   lt_tmp_lt_search_path_spec=
   16872   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16873   # ...but if some path component already ends with the multilib dir we assume
   16874   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16875   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16876   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16877     lt_multi_os_dir=
   16878     ;;
   16879   esac
   16880   for lt_sys_path in $lt_search_path_spec; do
   16881     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16882       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16883     elif test -n "$lt_multi_os_dir"; then
   16884       test -d "$lt_sys_path" && \
   16885 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16886     fi
   16887   done
   16888   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16889 BEGIN {RS = " "; FS = "/|\n";} {
   16890   lt_foo = "";
   16891   lt_count = 0;
   16892   for (lt_i = NF; lt_i > 0; lt_i--) {
   16893     if ($lt_i != "" && $lt_i != ".") {
   16894       if ($lt_i == "..") {
   16895         lt_count++;
   16896       } else {
   16897         if (lt_count == 0) {
   16898           lt_foo = "/" $lt_i lt_foo;
   16899         } else {
   16900           lt_count--;
   16901         }
   16902       }
   16903     }
   16904   }
   16905   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16906   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16907 }'`
   16908   # AWK program above erroneously prepends '/' to C:/dos/paths
   16909   # for these hosts.
   16910   case $host_os in
   16911     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16912       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16913   esac
   16914   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16915 else
   16916   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16917 fi
   16918 library_names_spec=
   16919 libname_spec='lib$name'
   16920 soname_spec=
   16921 shrext_cmds=.so
   16922 postinstall_cmds=
   16923 postuninstall_cmds=
   16924 finish_cmds=
   16925 finish_eval=
   16926 shlibpath_var=
   16927 shlibpath_overrides_runpath=unknown
   16928 version_type=none
   16929 dynamic_linker="$host_os ld.so"
   16930 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16931 need_lib_prefix=unknown
   16932 hardcode_into_libs=no
   16933 
   16934 # when you set need_version to no, make sure it does not cause -set_version
   16935 # flags to be left without arguments
   16936 need_version=unknown
   16937 
   16938 
   16939 
   16940 case $host_os in
   16941 aix3*)
   16942   version_type=linux # correct to gnu/linux during the next big refactor
   16943   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16944   shlibpath_var=LIBPATH
   16945 
   16946   # AIX 3 has no versioning support, so we append a major version to the name.
   16947   soname_spec='$libname$release$shared_ext$major'
   16948   ;;
   16949 
   16950 aix[4-9]*)
   16951   version_type=linux # correct to gnu/linux during the next big refactor
   16952   need_lib_prefix=no
   16953   need_version=no
   16954   hardcode_into_libs=yes
   16955   if test ia64 = "$host_cpu"; then
   16956     # AIX 5 supports IA64
   16957     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16958     shlibpath_var=LD_LIBRARY_PATH
   16959   else
   16960     # With GCC up to 2.95.x, collect2 would create an import file
   16961     # for dependence libraries.  The import file would start with
   16962     # the line '#! .'.  This would cause the generated library to
   16963     # depend on '.', always an invalid library.  This was fixed in
   16964     # development snapshots of GCC prior to 3.0.
   16965     case $host_os in
   16966       aix4 | aix4.[01] | aix4.[01].*)
   16967       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16968 	   echo ' yes '
   16969 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16970 	:
   16971       else
   16972 	can_build_shared=no
   16973       fi
   16974       ;;
   16975     esac
   16976     # Using Import Files as archive members, it is possible to support
   16977     # filename-based versioning of shared library archives on AIX. While
   16978     # this would work for both with and without runtime linking, it will
   16979     # prevent static linking of such archives. So we do filename-based
   16980     # shared library versioning with .so extension only, which is used
   16981     # when both runtime linking and shared linking is enabled.
   16982     # Unfortunately, runtime linking may impact performance, so we do
   16983     # not want this to be the default eventually. Also, we use the
   16984     # versioned .so libs for executables only if there is the -brtl
   16985     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16986     # To allow for filename-based versioning support, we need to create
   16987     # libNAME.so.V as an archive file, containing:
   16988     # *) an Import File, referring to the versioned filename of the
   16989     #    archive as well as the shared archive member, telling the
   16990     #    bitwidth (32 or 64) of that shared object, and providing the
   16991     #    list of exported symbols of that shared object, eventually
   16992     #    decorated with the 'weak' keyword
   16993     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16994     #    it being seen by the linker.
   16995     # At run time we better use the real file rather than another symlink,
   16996     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16997 
   16998     case $with_aix_soname,$aix_use_runtimelinking in
   16999     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17000     # soname into executable. Probably we can add versioning support to
   17001     # collect2, so additional links can be useful in future.
   17002     aix,yes) # traditional libtool
   17003       dynamic_linker='AIX unversionable lib.so'
   17004       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17005       # instead of lib<name>.a to let people know that these are not
   17006       # typical AIX shared libraries.
   17007       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17008       ;;
   17009     aix,no) # traditional AIX only
   17010       dynamic_linker='AIX lib.a(lib.so.V)'
   17011       # We preserve .a as extension for shared libraries through AIX4.2
   17012       # and later when we are not doing run time linking.
   17013       library_names_spec='$libname$release.a $libname.a'
   17014       soname_spec='$libname$release$shared_ext$major'
   17015       ;;
   17016     svr4,*) # full svr4 only
   17017       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17018       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17019       # We do not specify a path in Import Files, so LIBPATH fires.
   17020       shlibpath_overrides_runpath=yes
   17021       ;;
   17022     *,yes) # both, prefer svr4
   17023       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17024       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17025       # unpreferred sharedlib libNAME.a needs extra handling
   17026       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17027       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17028       # We do not specify a path in Import Files, so LIBPATH fires.
   17029       shlibpath_overrides_runpath=yes
   17030       ;;
   17031     *,no) # both, prefer aix
   17032       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17033       library_names_spec='$libname$release.a $libname.a'
   17034       soname_spec='$libname$release$shared_ext$major'
   17035       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17036       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17037       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17038       ;;
   17039     esac
   17040     shlibpath_var=LIBPATH
   17041   fi
   17042   ;;
   17043 
   17044 amigaos*)
   17045   case $host_cpu in
   17046   powerpc)
   17047     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17048     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17049     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17050     ;;
   17051   m68k)
   17052     library_names_spec='$libname.ixlibrary $libname.a'
   17053     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17054     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   17055     ;;
   17056   esac
   17057   ;;
   17058 
   17059 beos*)
   17060   library_names_spec='$libname$shared_ext'
   17061   dynamic_linker="$host_os ld.so"
   17062   shlibpath_var=LIBRARY_PATH
   17063   ;;
   17064 
   17065 bsdi[45]*)
   17066   version_type=linux # correct to gnu/linux during the next big refactor
   17067   need_version=no
   17068   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17069   soname_spec='$libname$release$shared_ext$major'
   17070   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17071   shlibpath_var=LD_LIBRARY_PATH
   17072   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17073   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17074   # the default ld.so.conf also contains /usr/contrib/lib and
   17075   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17076   # libtool to hard-code these into programs
   17077   ;;
   17078 
   17079 cygwin* | mingw* | pw32* | cegcc*)
   17080   version_type=windows
   17081   shrext_cmds=.dll
   17082   need_version=no
   17083   need_lib_prefix=no
   17084 
   17085   case $GCC,$cc_basename in
   17086   yes,*)
   17087     # gcc
   17088     library_names_spec='$libname.dll.a'
   17089     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17090     postinstall_cmds='base_file=`basename \$file`~
   17091       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17092       dldir=$destdir/`dirname \$dlpath`~
   17093       test -d \$dldir || mkdir -p \$dldir~
   17094       $install_prog $dir/$dlname \$dldir/$dlname~
   17095       chmod a+x \$dldir/$dlname~
   17096       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17097         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17098       fi'
   17099     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17100       dlpath=$dir/\$dldll~
   17101        $RM \$dlpath'
   17102     shlibpath_overrides_runpath=yes
   17103 
   17104     case $host_os in
   17105     cygwin*)
   17106       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17107       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17108 
   17109       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17110       ;;
   17111     mingw* | cegcc*)
   17112       # MinGW DLLs use traditional 'lib' prefix
   17113       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17114       ;;
   17115     pw32*)
   17116       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17117       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17118       ;;
   17119     esac
   17120     dynamic_linker='Win32 ld.exe'
   17121     ;;
   17122 
   17123   *,cl*)
   17124     # Native MSVC
   17125     libname_spec='$name'
   17126     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17127     library_names_spec='$libname.dll.lib'
   17128 
   17129     case $build_os in
   17130     mingw*)
   17131       sys_lib_search_path_spec=
   17132       lt_save_ifs=$IFS
   17133       IFS=';'
   17134       for lt_path in $LIB
   17135       do
   17136         IFS=$lt_save_ifs
   17137         # Let DOS variable expansion print the short 8.3 style file name.
   17138         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17139         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17140       done
   17141       IFS=$lt_save_ifs
   17142       # Convert to MSYS style.
   17143       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17144       ;;
   17145     cygwin*)
   17146       # Convert to unix form, then to dos form, then back to unix form
   17147       # but this time dos style (no spaces!) so that the unix form looks
   17148       # like /cygdrive/c/PROGRA~1:/cygdr...
   17149       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17150       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17151       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17152       ;;
   17153     *)
   17154       sys_lib_search_path_spec=$LIB
   17155       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17156         # It is most probably a Windows format PATH.
   17157         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17158       else
   17159         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17160       fi
   17161       # FIXME: find the short name or the path components, as spaces are
   17162       # common. (e.g. "Program Files" -> "PROGRA~1")
   17163       ;;
   17164     esac
   17165 
   17166     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17167     postinstall_cmds='base_file=`basename \$file`~
   17168       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17169       dldir=$destdir/`dirname \$dlpath`~
   17170       test -d \$dldir || mkdir -p \$dldir~
   17171       $install_prog $dir/$dlname \$dldir/$dlname'
   17172     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17173       dlpath=$dir/\$dldll~
   17174        $RM \$dlpath'
   17175     shlibpath_overrides_runpath=yes
   17176     dynamic_linker='Win32 link.exe'
   17177     ;;
   17178 
   17179   *)
   17180     # Assume MSVC wrapper
   17181     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17182     dynamic_linker='Win32 ld.exe'
   17183     ;;
   17184   esac
   17185   # FIXME: first we should search . and the directory the executable is in
   17186   shlibpath_var=PATH
   17187   ;;
   17188 
   17189 darwin* | rhapsody*)
   17190   dynamic_linker="$host_os dyld"
   17191   version_type=darwin
   17192   need_lib_prefix=no
   17193   need_version=no
   17194   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17195   soname_spec='$libname$release$major$shared_ext'
   17196   shlibpath_overrides_runpath=yes
   17197   shlibpath_var=DYLD_LIBRARY_PATH
   17198   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17199 
   17200   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17201   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17202   ;;
   17203 
   17204 dgux*)
   17205   version_type=linux # correct to gnu/linux during the next big refactor
   17206   need_lib_prefix=no
   17207   need_version=no
   17208   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17209   soname_spec='$libname$release$shared_ext$major'
   17210   shlibpath_var=LD_LIBRARY_PATH
   17211   ;;
   17212 
   17213 freebsd* | dragonfly*)
   17214   # DragonFly does not have aout.  When/if they implement a new
   17215   # versioning mechanism, adjust this.
   17216   if test -x /usr/bin/objformat; then
   17217     objformat=`/usr/bin/objformat`
   17218   else
   17219     case $host_os in
   17220     freebsd[23].*) objformat=aout ;;
   17221     *) objformat=elf ;;
   17222     esac
   17223   fi
   17224   version_type=freebsd-$objformat
   17225   case $version_type in
   17226     freebsd-elf*)
   17227       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17228       soname_spec='$libname$release$shared_ext$major'
   17229       need_version=no
   17230       need_lib_prefix=no
   17231       ;;
   17232     freebsd-*)
   17233       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17234       need_version=yes
   17235       ;;
   17236   esac
   17237   shlibpath_var=LD_LIBRARY_PATH
   17238   case $host_os in
   17239   freebsd2.*)
   17240     shlibpath_overrides_runpath=yes
   17241     ;;
   17242   freebsd3.[01]* | freebsdelf3.[01]*)
   17243     shlibpath_overrides_runpath=yes
   17244     hardcode_into_libs=yes
   17245     ;;
   17246   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17247   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17248     shlibpath_overrides_runpath=no
   17249     hardcode_into_libs=yes
   17250     ;;
   17251   *) # from 4.6 on, and DragonFly
   17252     shlibpath_overrides_runpath=yes
   17253     hardcode_into_libs=yes
   17254     ;;
   17255   esac
   17256   ;;
   17257 
   17258 haiku*)
   17259   version_type=linux # correct to gnu/linux during the next big refactor
   17260   need_lib_prefix=no
   17261   need_version=no
   17262   dynamic_linker="$host_os runtime_loader"
   17263   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17264   soname_spec='$libname$release$shared_ext$major'
   17265   shlibpath_var=LIBRARY_PATH
   17266   shlibpath_overrides_runpath=no
   17267   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17268   hardcode_into_libs=yes
   17269   ;;
   17270 
   17271 hpux9* | hpux10* | hpux11*)
   17272   # Give a soname corresponding to the major version so that dld.sl refuses to
   17273   # link against other versions.
   17274   version_type=sunos
   17275   need_lib_prefix=no
   17276   need_version=no
   17277   case $host_cpu in
   17278   ia64*)
   17279     shrext_cmds='.so'
   17280     hardcode_into_libs=yes
   17281     dynamic_linker="$host_os dld.so"
   17282     shlibpath_var=LD_LIBRARY_PATH
   17283     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17284     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17285     soname_spec='$libname$release$shared_ext$major'
   17286     if test 32 = "$HPUX_IA64_MODE"; then
   17287       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17288       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17289     else
   17290       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17291       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17292     fi
   17293     ;;
   17294   hppa*64*)
   17295     shrext_cmds='.sl'
   17296     hardcode_into_libs=yes
   17297     dynamic_linker="$host_os dld.sl"
   17298     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17299     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17300     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17301     soname_spec='$libname$release$shared_ext$major'
   17302     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17303     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17304     ;;
   17305   *)
   17306     shrext_cmds='.sl'
   17307     dynamic_linker="$host_os dld.sl"
   17308     shlibpath_var=SHLIB_PATH
   17309     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17310     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17311     soname_spec='$libname$release$shared_ext$major'
   17312     ;;
   17313   esac
   17314   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17315   postinstall_cmds='chmod 555 $lib'
   17316   # or fails outright, so override atomically:
   17317   install_override_mode=555
   17318   ;;
   17319 
   17320 interix[3-9]*)
   17321   version_type=linux # correct to gnu/linux during the next big refactor
   17322   need_lib_prefix=no
   17323   need_version=no
   17324   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17325   soname_spec='$libname$release$shared_ext$major'
   17326   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17327   shlibpath_var=LD_LIBRARY_PATH
   17328   shlibpath_overrides_runpath=no
   17329   hardcode_into_libs=yes
   17330   ;;
   17331 
   17332 irix5* | irix6* | nonstopux*)
   17333   case $host_os in
   17334     nonstopux*) version_type=nonstopux ;;
   17335     *)
   17336 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17337 		version_type=linux # correct to gnu/linux during the next big refactor
   17338 	else
   17339 		version_type=irix
   17340 	fi ;;
   17341   esac
   17342   need_lib_prefix=no
   17343   need_version=no
   17344   soname_spec='$libname$release$shared_ext$major'
   17345   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17346   case $host_os in
   17347   irix5* | nonstopux*)
   17348     libsuff= shlibsuff=
   17349     ;;
   17350   *)
   17351     case $LD in # libtool.m4 will add one of these switches to LD
   17352     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17353       libsuff= shlibsuff= libmagic=32-bit;;
   17354     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17355       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17356     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17357       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17358     *) libsuff= shlibsuff= libmagic=never-match;;
   17359     esac
   17360     ;;
   17361   esac
   17362   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17363   shlibpath_overrides_runpath=no
   17364   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17365   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17366   hardcode_into_libs=yes
   17367   ;;
   17368 
   17369 # No shared lib support for Linux oldld, aout, or coff.
   17370 linux*oldld* | linux*aout* | linux*coff*)
   17371   dynamic_linker=no
   17372   ;;
   17373 
   17374 linux*android*)
   17375   version_type=none # Android doesn't support versioned libraries.
   17376   need_lib_prefix=no
   17377   need_version=no
   17378   library_names_spec='$libname$release$shared_ext'
   17379   soname_spec='$libname$release$shared_ext'
   17380   finish_cmds=
   17381   shlibpath_var=LD_LIBRARY_PATH
   17382   shlibpath_overrides_runpath=yes
   17383 
   17384   # This implies no fast_install, which is unacceptable.
   17385   # Some rework will be needed to allow for fast_install
   17386   # before this can be enabled.
   17387   hardcode_into_libs=yes
   17388 
   17389   dynamic_linker='Android linker'
   17390   # Don't embed -rpath directories since the linker doesn't support them.
   17391   hardcode_libdir_flag_spec='-L$libdir'
   17392   ;;
   17393 
   17394 # This must be glibc/ELF.
   17395 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17396   version_type=linux # correct to gnu/linux during the next big refactor
   17397   need_lib_prefix=no
   17398   need_version=no
   17399   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17400   soname_spec='$libname$release$shared_ext$major'
   17401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17402   shlibpath_var=LD_LIBRARY_PATH
   17403   shlibpath_overrides_runpath=no
   17404 
   17405   # Some binutils ld are patched to set DT_RUNPATH
   17406   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17407   $as_echo_n "(cached) " >&6
   17408 else
   17409   lt_cv_shlibpath_overrides_runpath=no
   17410     save_LDFLAGS=$LDFLAGS
   17411     save_libdir=$libdir
   17412     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17413 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17414     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17415 /* end confdefs.h.  */
   17416 
   17417 int
   17418 main ()
   17419 {
   17420 
   17421   ;
   17422   return 0;
   17423 }
   17424 _ACEOF
   17425 if ac_fn_c_try_link "$LINENO"; then :
   17426   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17427   lt_cv_shlibpath_overrides_runpath=yes
   17428 fi
   17429 fi
   17430 rm -f core conftest.err conftest.$ac_objext \
   17431     conftest$ac_exeext conftest.$ac_ext
   17432     LDFLAGS=$save_LDFLAGS
   17433     libdir=$save_libdir
   17434 
   17435 fi
   17436 
   17437   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17438 
   17439   # This implies no fast_install, which is unacceptable.
   17440   # Some rework will be needed to allow for fast_install
   17441   # before this can be enabled.
   17442   hardcode_into_libs=yes
   17443 
   17444   # Ideally, we could use ldconfig to report *all* directores which are
   17445   # searched for libraries, however this is still not possible.  Aside from not
   17446   # being certain /sbin/ldconfig is available, command
   17447   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17448   # even though it is searched at run-time.  Try to do the best guess by
   17449   # appending ld.so.conf contents (and includes) to the search path.
   17450   if test -f /etc/ld.so.conf; then
   17451     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;s/"//g;/^$/d' | tr '\n' ' '`
   17452     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17453   fi
   17454 
   17455   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17456   # powerpc, because MkLinux only supported shared libraries with the
   17457   # GNU dynamic linker.  Since this was broken with cross compilers,
   17458   # most powerpc-linux boxes support dynamic linking these days and
   17459   # people can always --disable-shared, the test was removed, and we
   17460   # assume the GNU/Linux dynamic linker is in use.
   17461   dynamic_linker='GNU/Linux ld.so'
   17462   ;;
   17463 
   17464 netbsdelf*-gnu)
   17465   version_type=linux
   17466   need_lib_prefix=no
   17467   need_version=no
   17468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17469   soname_spec='${libname}${release}${shared_ext}$major'
   17470   shlibpath_var=LD_LIBRARY_PATH
   17471   shlibpath_overrides_runpath=no
   17472   hardcode_into_libs=yes
   17473   dynamic_linker='NetBSD ld.elf_so'
   17474   ;;
   17475 
   17476 netbsd*)
   17477   version_type=sunos
   17478   need_lib_prefix=no
   17479   need_version=no
   17480   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17481     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17482     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17483     dynamic_linker='NetBSD (a.out) ld.so'
   17484   else
   17485     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17486     soname_spec='$libname$release$shared_ext$major'
   17487     dynamic_linker='NetBSD ld.elf_so'
   17488   fi
   17489   shlibpath_var=LD_LIBRARY_PATH
   17490   shlibpath_overrides_runpath=yes
   17491   hardcode_into_libs=yes
   17492   ;;
   17493 
   17494 newsos6)
   17495   version_type=linux # correct to gnu/linux during the next big refactor
   17496   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17497   shlibpath_var=LD_LIBRARY_PATH
   17498   shlibpath_overrides_runpath=yes
   17499   ;;
   17500 
   17501 *nto* | *qnx*)
   17502   version_type=qnx
   17503   need_lib_prefix=no
   17504   need_version=no
   17505   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17506   soname_spec='$libname$release$shared_ext$major'
   17507   shlibpath_var=LD_LIBRARY_PATH
   17508   shlibpath_overrides_runpath=no
   17509   hardcode_into_libs=yes
   17510   dynamic_linker='ldqnx.so'
   17511   ;;
   17512 
   17513 openbsd* | bitrig*)
   17514   version_type=sunos
   17515   sys_lib_dlsearch_path_spec=/usr/lib
   17516   need_lib_prefix=no
   17517   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17518     need_version=no
   17519   else
   17520     need_version=yes
   17521   fi
   17522   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17523   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17524   shlibpath_var=LD_LIBRARY_PATH
   17525   shlibpath_overrides_runpath=yes
   17526   ;;
   17527 
   17528 os2*)
   17529   libname_spec='$name'
   17530   version_type=windows
   17531   shrext_cmds=.dll
   17532   need_version=no
   17533   need_lib_prefix=no
   17534   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17535   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17536     v=$($ECHO $release$versuffix | tr -d .-);
   17537     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17538     $ECHO $n$v`$shared_ext'
   17539   library_names_spec='${libname}_dll.$libext'
   17540   dynamic_linker='OS/2 ld.exe'
   17541   shlibpath_var=BEGINLIBPATH
   17542   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17543   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17544   postinstall_cmds='base_file=`basename \$file`~
   17545     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17546     dldir=$destdir/`dirname \$dlpath`~
   17547     test -d \$dldir || mkdir -p \$dldir~
   17548     $install_prog $dir/$dlname \$dldir/$dlname~
   17549     chmod a+x \$dldir/$dlname~
   17550     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17551       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17552     fi'
   17553   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17554     dlpath=$dir/\$dldll~
   17555     $RM \$dlpath'
   17556   ;;
   17557 
   17558 osf3* | osf4* | osf5*)
   17559   version_type=osf
   17560   need_lib_prefix=no
   17561   need_version=no
   17562   soname_spec='$libname$release$shared_ext$major'
   17563   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17564   shlibpath_var=LD_LIBRARY_PATH
   17565   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17566   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17567   ;;
   17568 
   17569 rdos*)
   17570   dynamic_linker=no
   17571   ;;
   17572 
   17573 solaris*)
   17574   version_type=linux # correct to gnu/linux during the next big refactor
   17575   need_lib_prefix=no
   17576   need_version=no
   17577   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17578   soname_spec='$libname$release$shared_ext$major'
   17579   shlibpath_var=LD_LIBRARY_PATH
   17580   shlibpath_overrides_runpath=yes
   17581   hardcode_into_libs=yes
   17582   # ldd complains unless libraries are executable
   17583   postinstall_cmds='chmod +x $lib'
   17584   ;;
   17585 
   17586 sunos4*)
   17587   version_type=sunos
   17588   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17589   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17590   shlibpath_var=LD_LIBRARY_PATH
   17591   shlibpath_overrides_runpath=yes
   17592   if test yes = "$with_gnu_ld"; then
   17593     need_lib_prefix=no
   17594   fi
   17595   need_version=yes
   17596   ;;
   17597 
   17598 sysv4 | sysv4.3*)
   17599   version_type=linux # correct to gnu/linux during the next big refactor
   17600   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17601   soname_spec='$libname$release$shared_ext$major'
   17602   shlibpath_var=LD_LIBRARY_PATH
   17603   case $host_vendor in
   17604     sni)
   17605       shlibpath_overrides_runpath=no
   17606       need_lib_prefix=no
   17607       runpath_var=LD_RUN_PATH
   17608       ;;
   17609     siemens)
   17610       need_lib_prefix=no
   17611       ;;
   17612     motorola)
   17613       need_lib_prefix=no
   17614       need_version=no
   17615       shlibpath_overrides_runpath=no
   17616       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17617       ;;
   17618   esac
   17619   ;;
   17620 
   17621 sysv4*MP*)
   17622   if test -d /usr/nec; then
   17623     version_type=linux # correct to gnu/linux during the next big refactor
   17624     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17625     soname_spec='$libname$shared_ext.$major'
   17626     shlibpath_var=LD_LIBRARY_PATH
   17627   fi
   17628   ;;
   17629 
   17630 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17631   version_type=sco
   17632   need_lib_prefix=no
   17633   need_version=no
   17634   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17635   soname_spec='$libname$release$shared_ext$major'
   17636   shlibpath_var=LD_LIBRARY_PATH
   17637   shlibpath_overrides_runpath=yes
   17638   hardcode_into_libs=yes
   17639   if test yes = "$with_gnu_ld"; then
   17640     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17641   else
   17642     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17643     case $host_os in
   17644       sco3.2v5*)
   17645         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17646 	;;
   17647     esac
   17648   fi
   17649   sys_lib_dlsearch_path_spec='/usr/lib'
   17650   ;;
   17651 
   17652 tpf*)
   17653   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17654   version_type=linux # correct to gnu/linux during the next big refactor
   17655   need_lib_prefix=no
   17656   need_version=no
   17657   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17658   shlibpath_var=LD_LIBRARY_PATH
   17659   shlibpath_overrides_runpath=no
   17660   hardcode_into_libs=yes
   17661   ;;
   17662 
   17663 uts4*)
   17664   version_type=linux # correct to gnu/linux during the next big refactor
   17665   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17666   soname_spec='$libname$release$shared_ext$major'
   17667   shlibpath_var=LD_LIBRARY_PATH
   17668   ;;
   17669 
   17670 *)
   17671   dynamic_linker=no
   17672   ;;
   17673 esac
   17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17675 $as_echo "$dynamic_linker" >&6; }
   17676 test no = "$dynamic_linker" && can_build_shared=no
   17677 
   17678 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17679 if test yes = "$GCC"; then
   17680   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17681 fi
   17682 
   17683 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17684   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17685 fi
   17686 
   17687 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17688   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17689 fi
   17690 
   17691 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17692 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17693 
   17694 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17695 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17696 
   17697 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17698 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17798 hardcode_action=
   17799 if test -n "$hardcode_libdir_flag_spec" ||
   17800    test -n "$runpath_var" ||
   17801    test yes = "$hardcode_automatic"; then
   17802 
   17803   # We can hardcode non-existent directories.
   17804   if test no != "$hardcode_direct" &&
   17805      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17806      # have to relink, otherwise we might link with an installed library
   17807      # when we should be linking with a yet-to-be-installed one
   17808      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17809      test no != "$hardcode_minus_L"; then
   17810     # Linking always hardcodes the temporary library directory.
   17811     hardcode_action=relink
   17812   else
   17813     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17814     hardcode_action=immediate
   17815   fi
   17816 else
   17817   # We cannot hardcode anything, or else we can only hardcode existing
   17818   # directories.
   17819   hardcode_action=unsupported
   17820 fi
   17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17822 $as_echo "$hardcode_action" >&6; }
   17823 
   17824 if test relink = "$hardcode_action" ||
   17825    test yes = "$inherit_rpath"; then
   17826   # Fast installation is not supported
   17827   enable_fast_install=no
   17828 elif test yes = "$shlibpath_overrides_runpath" ||
   17829      test no = "$enable_shared"; then
   17830   # Fast installation is not necessary
   17831   enable_fast_install=needless
   17832 fi
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839   if test yes != "$enable_dlopen"; then
   17840   enable_dlopen=unknown
   17841   enable_dlopen_self=unknown
   17842   enable_dlopen_self_static=unknown
   17843 else
   17844   lt_cv_dlopen=no
   17845   lt_cv_dlopen_libs=
   17846 
   17847   case $host_os in
   17848   beos*)
   17849     lt_cv_dlopen=load_add_on
   17850     lt_cv_dlopen_libs=
   17851     lt_cv_dlopen_self=yes
   17852     ;;
   17853 
   17854   mingw* | pw32* | cegcc*)
   17855     lt_cv_dlopen=LoadLibrary
   17856     lt_cv_dlopen_libs=
   17857     ;;
   17858 
   17859   cygwin*)
   17860     lt_cv_dlopen=dlopen
   17861     lt_cv_dlopen_libs=
   17862     ;;
   17863 
   17864   darwin*)
   17865     # if libdl is installed we need to link against it
   17866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17867 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17868 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17869   $as_echo_n "(cached) " >&6
   17870 else
   17871   ac_check_lib_save_LIBS=$LIBS
   17872 LIBS="-ldl  $LIBS"
   17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17874 /* end confdefs.h.  */
   17875 
   17876 /* Override any GCC internal prototype to avoid an error.
   17877    Use char because int might match the return type of a GCC
   17878    builtin and then its argument prototype would still apply.  */
   17879 #ifdef __cplusplus
   17880 extern "C"
   17881 #endif
   17882 char dlopen ();
   17883 int
   17884 main ()
   17885 {
   17886 return dlopen ();
   17887   ;
   17888   return 0;
   17889 }
   17890 _ACEOF
   17891 if ac_fn_c_try_link "$LINENO"; then :
   17892   ac_cv_lib_dl_dlopen=yes
   17893 else
   17894   ac_cv_lib_dl_dlopen=no
   17895 fi
   17896 rm -f core conftest.err conftest.$ac_objext \
   17897     conftest$ac_exeext conftest.$ac_ext
   17898 LIBS=$ac_check_lib_save_LIBS
   17899 fi
   17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17901 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17902 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17903   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17904 else
   17905 
   17906     lt_cv_dlopen=dyld
   17907     lt_cv_dlopen_libs=
   17908     lt_cv_dlopen_self=yes
   17909 
   17910 fi
   17911 
   17912     ;;
   17913 
   17914   tpf*)
   17915     # Don't try to run any link tests for TPF.  We know it's impossible
   17916     # because TPF is a cross-compiler, and we know how we open DSOs.
   17917     lt_cv_dlopen=dlopen
   17918     lt_cv_dlopen_libs=
   17919     lt_cv_dlopen_self=no
   17920     ;;
   17921 
   17922   *)
   17923     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17924 if test "x$ac_cv_func_shl_load" = xyes; then :
   17925   lt_cv_dlopen=shl_load
   17926 else
   17927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17928 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17929 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17930   $as_echo_n "(cached) " >&6
   17931 else
   17932   ac_check_lib_save_LIBS=$LIBS
   17933 LIBS="-ldld  $LIBS"
   17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17935 /* end confdefs.h.  */
   17936 
   17937 /* Override any GCC internal prototype to avoid an error.
   17938    Use char because int might match the return type of a GCC
   17939    builtin and then its argument prototype would still apply.  */
   17940 #ifdef __cplusplus
   17941 extern "C"
   17942 #endif
   17943 char shl_load ();
   17944 int
   17945 main ()
   17946 {
   17947 return shl_load ();
   17948   ;
   17949   return 0;
   17950 }
   17951 _ACEOF
   17952 if ac_fn_c_try_link "$LINENO"; then :
   17953   ac_cv_lib_dld_shl_load=yes
   17954 else
   17955   ac_cv_lib_dld_shl_load=no
   17956 fi
   17957 rm -f core conftest.err conftest.$ac_objext \
   17958     conftest$ac_exeext conftest.$ac_ext
   17959 LIBS=$ac_check_lib_save_LIBS
   17960 fi
   17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17962 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17963 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17964   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17965 else
   17966   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17967 if test "x$ac_cv_func_dlopen" = xyes; then :
   17968   lt_cv_dlopen=dlopen
   17969 else
   17970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17971 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17972 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17973   $as_echo_n "(cached) " >&6
   17974 else
   17975   ac_check_lib_save_LIBS=$LIBS
   17976 LIBS="-ldl  $LIBS"
   17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17978 /* end confdefs.h.  */
   17979 
   17980 /* Override any GCC internal prototype to avoid an error.
   17981    Use char because int might match the return type of a GCC
   17982    builtin and then its argument prototype would still apply.  */
   17983 #ifdef __cplusplus
   17984 extern "C"
   17985 #endif
   17986 char dlopen ();
   17987 int
   17988 main ()
   17989 {
   17990 return dlopen ();
   17991   ;
   17992   return 0;
   17993 }
   17994 _ACEOF
   17995 if ac_fn_c_try_link "$LINENO"; then :
   17996   ac_cv_lib_dl_dlopen=yes
   17997 else
   17998   ac_cv_lib_dl_dlopen=no
   17999 fi
   18000 rm -f core conftest.err conftest.$ac_objext \
   18001     conftest$ac_exeext conftest.$ac_ext
   18002 LIBS=$ac_check_lib_save_LIBS
   18003 fi
   18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18005 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18006 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18007   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18008 else
   18009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18010 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18011 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18012   $as_echo_n "(cached) " >&6
   18013 else
   18014   ac_check_lib_save_LIBS=$LIBS
   18015 LIBS="-lsvld  $LIBS"
   18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18017 /* end confdefs.h.  */
   18018 
   18019 /* Override any GCC internal prototype to avoid an error.
   18020    Use char because int might match the return type of a GCC
   18021    builtin and then its argument prototype would still apply.  */
   18022 #ifdef __cplusplus
   18023 extern "C"
   18024 #endif
   18025 char dlopen ();
   18026 int
   18027 main ()
   18028 {
   18029 return dlopen ();
   18030   ;
   18031   return 0;
   18032 }
   18033 _ACEOF
   18034 if ac_fn_c_try_link "$LINENO"; then :
   18035   ac_cv_lib_svld_dlopen=yes
   18036 else
   18037   ac_cv_lib_svld_dlopen=no
   18038 fi
   18039 rm -f core conftest.err conftest.$ac_objext \
   18040     conftest$ac_exeext conftest.$ac_ext
   18041 LIBS=$ac_check_lib_save_LIBS
   18042 fi
   18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18044 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18045 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18046   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18047 else
   18048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18049 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18050 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18051   $as_echo_n "(cached) " >&6
   18052 else
   18053   ac_check_lib_save_LIBS=$LIBS
   18054 LIBS="-ldld  $LIBS"
   18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18056 /* end confdefs.h.  */
   18057 
   18058 /* Override any GCC internal prototype to avoid an error.
   18059    Use char because int might match the return type of a GCC
   18060    builtin and then its argument prototype would still apply.  */
   18061 #ifdef __cplusplus
   18062 extern "C"
   18063 #endif
   18064 char dld_link ();
   18065 int
   18066 main ()
   18067 {
   18068 return dld_link ();
   18069   ;
   18070   return 0;
   18071 }
   18072 _ACEOF
   18073 if ac_fn_c_try_link "$LINENO"; then :
   18074   ac_cv_lib_dld_dld_link=yes
   18075 else
   18076   ac_cv_lib_dld_dld_link=no
   18077 fi
   18078 rm -f core conftest.err conftest.$ac_objext \
   18079     conftest$ac_exeext conftest.$ac_ext
   18080 LIBS=$ac_check_lib_save_LIBS
   18081 fi
   18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18083 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18084 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18085   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18086 fi
   18087 
   18088 
   18089 fi
   18090 
   18091 
   18092 fi
   18093 
   18094 
   18095 fi
   18096 
   18097 
   18098 fi
   18099 
   18100 
   18101 fi
   18102 
   18103     ;;
   18104   esac
   18105 
   18106   if test no = "$lt_cv_dlopen"; then
   18107     enable_dlopen=no
   18108   else
   18109     enable_dlopen=yes
   18110   fi
   18111 
   18112   case $lt_cv_dlopen in
   18113   dlopen)
   18114     save_CPPFLAGS=$CPPFLAGS
   18115     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18116 
   18117     save_LDFLAGS=$LDFLAGS
   18118     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18119 
   18120     save_LIBS=$LIBS
   18121     LIBS="$lt_cv_dlopen_libs $LIBS"
   18122 
   18123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18124 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18125 if ${lt_cv_dlopen_self+:} false; then :
   18126   $as_echo_n "(cached) " >&6
   18127 else
   18128   	  if test yes = "$cross_compiling"; then :
   18129   lt_cv_dlopen_self=cross
   18130 else
   18131   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18132   lt_status=$lt_dlunknown
   18133   cat > conftest.$ac_ext <<_LT_EOF
   18134 #line $LINENO "configure"
   18135 #include "confdefs.h"
   18136 
   18137 #if HAVE_DLFCN_H
   18138 #include <dlfcn.h>
   18139 #endif
   18140 
   18141 #include <stdio.h>
   18142 
   18143 #ifdef RTLD_GLOBAL
   18144 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18145 #else
   18146 #  ifdef DL_GLOBAL
   18147 #    define LT_DLGLOBAL		DL_GLOBAL
   18148 #  else
   18149 #    define LT_DLGLOBAL		0
   18150 #  endif
   18151 #endif
   18152 
   18153 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18154    find out it does not work in some platform. */
   18155 #ifndef LT_DLLAZY_OR_NOW
   18156 #  ifdef RTLD_LAZY
   18157 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18158 #  else
   18159 #    ifdef DL_LAZY
   18160 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18161 #    else
   18162 #      ifdef RTLD_NOW
   18163 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18164 #      else
   18165 #        ifdef DL_NOW
   18166 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18167 #        else
   18168 #          define LT_DLLAZY_OR_NOW	0
   18169 #        endif
   18170 #      endif
   18171 #    endif
   18172 #  endif
   18173 #endif
   18174 
   18175 /* When -fvisibility=hidden is used, assume the code has been annotated
   18176    correspondingly for the symbols needed.  */
   18177 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18178 int fnord () __attribute__((visibility("default")));
   18179 #endif
   18180 
   18181 int fnord () { return 42; }
   18182 int main ()
   18183 {
   18184   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18185   int status = $lt_dlunknown;
   18186 
   18187   if (self)
   18188     {
   18189       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18190       else
   18191         {
   18192 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18193           else puts (dlerror ());
   18194 	}
   18195       /* dlclose (self); */
   18196     }
   18197   else
   18198     puts (dlerror ());
   18199 
   18200   return status;
   18201 }
   18202 _LT_EOF
   18203   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18204   (eval $ac_link) 2>&5
   18205   ac_status=$?
   18206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18207   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18208     (./conftest; exit; ) >&5 2>/dev/null
   18209     lt_status=$?
   18210     case x$lt_status in
   18211       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18212       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18213       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18214     esac
   18215   else :
   18216     # compilation failed
   18217     lt_cv_dlopen_self=no
   18218   fi
   18219 fi
   18220 rm -fr conftest*
   18221 
   18222 
   18223 fi
   18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18225 $as_echo "$lt_cv_dlopen_self" >&6; }
   18226 
   18227     if test yes = "$lt_cv_dlopen_self"; then
   18228       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18229       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18230 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18231 if ${lt_cv_dlopen_self_static+:} false; then :
   18232   $as_echo_n "(cached) " >&6
   18233 else
   18234   	  if test yes = "$cross_compiling"; then :
   18235   lt_cv_dlopen_self_static=cross
   18236 else
   18237   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18238   lt_status=$lt_dlunknown
   18239   cat > conftest.$ac_ext <<_LT_EOF
   18240 #line $LINENO "configure"
   18241 #include "confdefs.h"
   18242 
   18243 #if HAVE_DLFCN_H
   18244 #include <dlfcn.h>
   18245 #endif
   18246 
   18247 #include <stdio.h>
   18248 
   18249 #ifdef RTLD_GLOBAL
   18250 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18251 #else
   18252 #  ifdef DL_GLOBAL
   18253 #    define LT_DLGLOBAL		DL_GLOBAL
   18254 #  else
   18255 #    define LT_DLGLOBAL		0
   18256 #  endif
   18257 #endif
   18258 
   18259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18260    find out it does not work in some platform. */
   18261 #ifndef LT_DLLAZY_OR_NOW
   18262 #  ifdef RTLD_LAZY
   18263 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18264 #  else
   18265 #    ifdef DL_LAZY
   18266 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18267 #    else
   18268 #      ifdef RTLD_NOW
   18269 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18270 #      else
   18271 #        ifdef DL_NOW
   18272 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18273 #        else
   18274 #          define LT_DLLAZY_OR_NOW	0
   18275 #        endif
   18276 #      endif
   18277 #    endif
   18278 #  endif
   18279 #endif
   18280 
   18281 /* When -fvisibility=hidden is used, assume the code has been annotated
   18282    correspondingly for the symbols needed.  */
   18283 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18284 int fnord () __attribute__((visibility("default")));
   18285 #endif
   18286 
   18287 int fnord () { return 42; }
   18288 int main ()
   18289 {
   18290   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18291   int status = $lt_dlunknown;
   18292 
   18293   if (self)
   18294     {
   18295       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18296       else
   18297         {
   18298 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18299           else puts (dlerror ());
   18300 	}
   18301       /* dlclose (self); */
   18302     }
   18303   else
   18304     puts (dlerror ());
   18305 
   18306   return status;
   18307 }
   18308 _LT_EOF
   18309   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18310   (eval $ac_link) 2>&5
   18311   ac_status=$?
   18312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18313   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18314     (./conftest; exit; ) >&5 2>/dev/null
   18315     lt_status=$?
   18316     case x$lt_status in
   18317       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18318       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18319       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18320     esac
   18321   else :
   18322     # compilation failed
   18323     lt_cv_dlopen_self_static=no
   18324   fi
   18325 fi
   18326 rm -fr conftest*
   18327 
   18328 
   18329 fi
   18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18331 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18332     fi
   18333 
   18334     CPPFLAGS=$save_CPPFLAGS
   18335     LDFLAGS=$save_LDFLAGS
   18336     LIBS=$save_LIBS
   18337     ;;
   18338   esac
   18339 
   18340   case $lt_cv_dlopen_self in
   18341   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18342   *) enable_dlopen_self=unknown ;;
   18343   esac
   18344 
   18345   case $lt_cv_dlopen_self_static in
   18346   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18347   *) enable_dlopen_self_static=unknown ;;
   18348   esac
   18349 fi
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 striplib=
   18368 old_striplib=
   18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18370 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18371 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18372   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18373   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18375 $as_echo "yes" >&6; }
   18376 else
   18377 # FIXME - insert some real tests, host_os isn't really good enough
   18378   case $host_os in
   18379   darwin*)
   18380     if test -n "$STRIP"; then
   18381       striplib="$STRIP -x"
   18382       old_striplib="$STRIP -S"
   18383       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18384 $as_echo "yes" >&6; }
   18385     else
   18386       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18387 $as_echo "no" >&6; }
   18388     fi
   18389     ;;
   18390   *)
   18391     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18392 $as_echo "no" >&6; }
   18393     ;;
   18394   esac
   18395 fi
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408   # Report what library types will actually be built
   18409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18410 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18412 $as_echo "$can_build_shared" >&6; }
   18413 
   18414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18415 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18416   test no = "$can_build_shared" && enable_shared=no
   18417 
   18418   # On AIX, shared libraries and static libraries use the same namespace, and
   18419   # are all built from PIC.
   18420   case $host_os in
   18421   aix3*)
   18422     test yes = "$enable_shared" && enable_static=no
   18423     if test -n "$RANLIB"; then
   18424       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18425       postinstall_cmds='$RANLIB $lib'
   18426     fi
   18427     ;;
   18428 
   18429   aix[4-9]*)
   18430     if test ia64 != "$host_cpu"; then
   18431       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18432       yes,aix,yes) ;;			# shared object as lib.so file only
   18433       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18434       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18435       esac
   18436     fi
   18437     ;;
   18438   esac
   18439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18440 $as_echo "$enable_shared" >&6; }
   18441 
   18442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18443 $as_echo_n "checking whether to build static libraries... " >&6; }
   18444   # Make sure either enable_shared or enable_static is yes.
   18445   test yes = "$enable_shared" || enable_static=yes
   18446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18447 $as_echo "$enable_static" >&6; }
   18448 
   18449 
   18450 
   18451 
   18452 fi
   18453 ac_ext=c
   18454 ac_cpp='$CPP $CPPFLAGS'
   18455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18458 
   18459 CC=$lt_save_CC
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475         ac_config_commands="$ac_config_commands libtool"
   18476 
   18477 
   18478 
   18479 
   18480 # Only expand once:
   18481 
   18482 
   18483 
   18484 if test "x$GCC" = "xyes"; then
   18485 	CPPFLAGS="$CPPFLAGS -Wall"
   18486 fi
   18487 
   18488 
   18489 
   18490 # Define a configure option for an alternate module directory
   18491 
   18492 # Check whether --with-xorg-module-dir was given.
   18493 if test "${with_xorg_module_dir+set}" = set; then :
   18494   withval=$with_xorg_module_dir; moduledir="$withval"
   18495 else
   18496   moduledir="$libdir/xorg/modules"
   18497 fi
   18498 
   18499 
   18500 # Check whether --enable-dri was given.
   18501 if test "${enable_dri+set}" = set; then :
   18502   enableval=$enable_dri; DRI="$enableval"
   18503 else
   18504   DRI=auto
   18505 fi
   18506 
   18507 
   18508 # Check whether --enable-exa was given.
   18509 if test "${enable_exa+set}" = set; then :
   18510   enableval=$enable_exa; EXA="$enableval"
   18511 else
   18512   EXA=yes
   18513 fi
   18514 
   18515 
   18516 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18517 
   18518 
   18519 	SAVE_CFLAGS="$CFLAGS"
   18520 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18521 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18522 /* end confdefs.h.  */
   18523 
   18524 #include "xorg-server.h"
   18525 #if !defined RANDR
   18526 #error RANDR not defined
   18527 #endif
   18528 
   18529 int
   18530 main ()
   18531 {
   18532 
   18533   ;
   18534   return 0;
   18535 }
   18536 _ACEOF
   18537 if ac_fn_c_try_compile "$LINENO"; then :
   18538   _EXT_CHECK=yes
   18539 else
   18540   _EXT_CHECK=no
   18541 fi
   18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18543 	CFLAGS="$SAVE_CFLAGS"
   18544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18545 $as_echo_n "checking if RANDR is defined... " >&6; }
   18546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18547 $as_echo "$_EXT_CHECK" >&6; }
   18548 	if test "$_EXT_CHECK" != no; then
   18549 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18550 	fi
   18551 
   18552 
   18553 
   18554 	SAVE_CFLAGS="$CFLAGS"
   18555 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18556 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18557 /* end confdefs.h.  */
   18558 
   18559 #include "xorg-server.h"
   18560 #if !defined RENDER
   18561 #error RENDER not defined
   18562 #endif
   18563 
   18564 int
   18565 main ()
   18566 {
   18567 
   18568   ;
   18569   return 0;
   18570 }
   18571 _ACEOF
   18572 if ac_fn_c_try_compile "$LINENO"; then :
   18573   _EXT_CHECK=yes
   18574 else
   18575   _EXT_CHECK=no
   18576 fi
   18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18578 	CFLAGS="$SAVE_CFLAGS"
   18579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18580 $as_echo_n "checking if RENDER is defined... " >&6; }
   18581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18582 $as_echo "$_EXT_CHECK" >&6; }
   18583 	if test "$_EXT_CHECK" != no; then
   18584 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18585 	fi
   18586 
   18587 
   18588 
   18589 	SAVE_CFLAGS="$CFLAGS"
   18590 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18591 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18592 /* end confdefs.h.  */
   18593 
   18594 #include "xorg-server.h"
   18595 #if !defined XV
   18596 #error XV not defined
   18597 #endif
   18598 
   18599 int
   18600 main ()
   18601 {
   18602 
   18603   ;
   18604   return 0;
   18605 }
   18606 _ACEOF
   18607 if ac_fn_c_try_compile "$LINENO"; then :
   18608   _EXT_CHECK=yes
   18609 else
   18610   _EXT_CHECK=no
   18611 fi
   18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18613 	CFLAGS="$SAVE_CFLAGS"
   18614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18615 $as_echo_n "checking if XV is defined... " >&6; }
   18616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18617 $as_echo "$_EXT_CHECK" >&6; }
   18618 	if test "$_EXT_CHECK" != no; then
   18619 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18620 	fi
   18621 
   18622 
   18623 
   18624 	SAVE_CFLAGS="$CFLAGS"
   18625 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18626 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18627 /* end confdefs.h.  */
   18628 
   18629 #include "xorg-server.h"
   18630 #if !defined XF86MISC
   18631 #error XF86MISC not defined
   18632 #endif
   18633 
   18634 int
   18635 main ()
   18636 {
   18637 
   18638   ;
   18639   return 0;
   18640 }
   18641 _ACEOF
   18642 if ac_fn_c_try_compile "$LINENO"; then :
   18643   _EXT_CHECK=yes
   18644 else
   18645   _EXT_CHECK=no
   18646 fi
   18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18648 	CFLAGS="$SAVE_CFLAGS"
   18649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XF86MISC is defined" >&5
   18650 $as_echo_n "checking if XF86MISC is defined... " >&6; }
   18651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18652 $as_echo "$_EXT_CHECK" >&6; }
   18653 	if test "$_EXT_CHECK" != no; then
   18654 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   18655 	fi
   18656 
   18657 
   18658 
   18659 	SAVE_CFLAGS="$CFLAGS"
   18660 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18661 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18662 /* end confdefs.h.  */
   18663 
   18664 #include "xorg-server.h"
   18665 #if !defined DPMSExtension
   18666 #error DPMSExtension not defined
   18667 #endif
   18668 
   18669 int
   18670 main ()
   18671 {
   18672 
   18673   ;
   18674   return 0;
   18675 }
   18676 _ACEOF
   18677 if ac_fn_c_try_compile "$LINENO"; then :
   18678   _EXT_CHECK=yes
   18679 else
   18680   _EXT_CHECK=no
   18681 fi
   18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18683 	CFLAGS="$SAVE_CFLAGS"
   18684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18685 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18687 $as_echo "$_EXT_CHECK" >&6; }
   18688 	if test "$_EXT_CHECK" != no; then
   18689 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18690 	fi
   18691 
   18692 
   18693 # Obtain compiler/linker options for the driver dependencies
   18694 
   18695 pkg_failed=no
   18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18697 $as_echo_n "checking for XORG... " >&6; }
   18698 
   18699 if test -n "$XORG_CFLAGS"; then
   18700     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18701  elif test -n "$PKG_CONFIG"; then
   18702     if test -n "$PKG_CONFIG" && \
   18703     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18704   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18705   ac_status=$?
   18706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18707   test $ac_status = 0; }; then
   18708   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18709 		      test "x$?" != "x0" && pkg_failed=yes
   18710 else
   18711   pkg_failed=yes
   18712 fi
   18713  else
   18714     pkg_failed=untried
   18715 fi
   18716 if test -n "$XORG_LIBS"; then
   18717     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18718  elif test -n "$PKG_CONFIG"; then
   18719     if test -n "$PKG_CONFIG" && \
   18720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18721   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18722   ac_status=$?
   18723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18724   test $ac_status = 0; }; then
   18725   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18726 		      test "x$?" != "x0" && pkg_failed=yes
   18727 else
   18728   pkg_failed=yes
   18729 fi
   18730  else
   18731     pkg_failed=untried
   18732 fi
   18733 
   18734 
   18735 
   18736 if test $pkg_failed = yes; then
   18737    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18738 $as_echo "no" >&6; }
   18739 
   18740 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18741         _pkg_short_errors_supported=yes
   18742 else
   18743         _pkg_short_errors_supported=no
   18744 fi
   18745         if test $_pkg_short_errors_supported = yes; then
   18746 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18747         else
   18748 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18749         fi
   18750 	# Put the nasty error message in config.log where it belongs
   18751 	echo "$XORG_PKG_ERRORS" >&5
   18752 
   18753 	as_fn_error $? "Package requirements (xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES) were not met:
   18754 
   18755 $XORG_PKG_ERRORS
   18756 
   18757 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18758 installed software in a non-standard prefix.
   18759 
   18760 Alternatively, you may set the environment variables XORG_CFLAGS
   18761 and XORG_LIBS to avoid the need to call pkg-config.
   18762 See the pkg-config man page for more details." "$LINENO" 5
   18763 elif test $pkg_failed = untried; then
   18764      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18765 $as_echo "no" >&6; }
   18766 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18768 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18769 is in your PATH or set the PKG_CONFIG environment variable to the full
   18770 path to pkg-config.
   18771 
   18772 Alternatively, you may set the environment variables XORG_CFLAGS
   18773 and XORG_LIBS to avoid the need to call pkg-config.
   18774 See the pkg-config man page for more details.
   18775 
   18776 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18777 See \`config.log' for more details" "$LINENO" 5; }
   18778 else
   18779 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18780 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18782 $as_echo "yes" >&6; }
   18783 
   18784 fi
   18785 
   18786 pkg_failed=no
   18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18788 $as_echo_n "checking for XEXT... " >&6; }
   18789 
   18790 if test -n "$XEXT_CFLAGS"; then
   18791     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18792  elif test -n "$PKG_CONFIG"; then
   18793     if test -n "$PKG_CONFIG" && \
   18794     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18795   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18796   ac_status=$?
   18797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18798   test $ac_status = 0; }; then
   18799   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18800 		      test "x$?" != "x0" && pkg_failed=yes
   18801 else
   18802   pkg_failed=yes
   18803 fi
   18804  else
   18805     pkg_failed=untried
   18806 fi
   18807 if test -n "$XEXT_LIBS"; then
   18808     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18809  elif test -n "$PKG_CONFIG"; then
   18810     if test -n "$PKG_CONFIG" && \
   18811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18812   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18813   ac_status=$?
   18814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18815   test $ac_status = 0; }; then
   18816   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18817 		      test "x$?" != "x0" && pkg_failed=yes
   18818 else
   18819   pkg_failed=yes
   18820 fi
   18821  else
   18822     pkg_failed=untried
   18823 fi
   18824 
   18825 
   18826 
   18827 if test $pkg_failed = yes; then
   18828    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18829 $as_echo "no" >&6; }
   18830 
   18831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18832         _pkg_short_errors_supported=yes
   18833 else
   18834         _pkg_short_errors_supported=no
   18835 fi
   18836         if test $_pkg_short_errors_supported = yes; then
   18837 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18838         else
   18839 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18840         fi
   18841 	# Put the nasty error message in config.log where it belongs
   18842 	echo "$XEXT_PKG_ERRORS" >&5
   18843 
   18844 	HAVE_XEXTPROTO_71="no"
   18845 elif test $pkg_failed = untried; then
   18846      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18847 $as_echo "no" >&6; }
   18848 	HAVE_XEXTPROTO_71="no"
   18849 else
   18850 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18851 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18853 $as_echo "yes" >&6; }
   18854 	HAVE_XEXTPROTO_71="yes";
   18855 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18856 
   18857 fi
   18858  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18859   HAVE_XEXTPROTO_71_TRUE=
   18860   HAVE_XEXTPROTO_71_FALSE='#'
   18861 else
   18862   HAVE_XEXTPROTO_71_TRUE='#'
   18863   HAVE_XEXTPROTO_71_FALSE=
   18864 fi
   18865 
   18866 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18867 
   18868 # Checks for libraries.
   18869 
   18870 if test "$DRI" != no; then
   18871 	if test -f "${sdkdir}/dri.h"; then
   18872 		have_dri_h="yes"
   18873 	else
   18874 		have_dri_h="no"
   18875 	fi
   18876 	if test -f "${sdkdir}/sarea.h"; then
   18877 		have_sarea_h="yes"
   18878 	else
   18879 		have_sarea_h="no"
   18880 	fi
   18881 	if test -f "${sdkdir}/dristruct.h"; then
   18882 		have_dristruct_h="yes"
   18883 	else
   18884 		have_dristruct_h="no"
   18885 	fi
   18886 	if test -f "${sdkdir}/damage.h"; then
   18887 		have_damage_h="yes"
   18888 	else
   18889 		have_damage_h="no"
   18890 	fi
   18891 fi
   18892 
   18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18894 $as_echo_n "checking whether to include DRI support... " >&6; }
   18895 if test x$DRI = xauto; then
   18896 	if test "$have_dri_h" = yes -a \
   18897                 "$have_sarea_h" = yes -a \
   18898                 "$have_dristruct_h" = yes; then
   18899 		DRI="yes"
   18900 	else
   18901 		DRI="no"
   18902 	fi
   18903 fi
   18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18905 $as_echo "$DRI" >&6; }
   18906 
   18907  if test x$DRI = xyes; then
   18908   DRI_TRUE=
   18909   DRI_FALSE='#'
   18910 else
   18911   DRI_TRUE='#'
   18912   DRI_FALSE=
   18913 fi
   18914 
   18915 if test "$DRI" = yes; then
   18916 
   18917 pkg_failed=no
   18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18919 $as_echo_n "checking for DRI... " >&6; }
   18920 
   18921 if test -n "$DRI_CFLAGS"; then
   18922     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18923  elif test -n "$PKG_CONFIG"; then
   18924     if test -n "$PKG_CONFIG" && \
   18925     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   18926   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   18927   ac_status=$?
   18928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18929   test $ac_status = 0; }; then
   18930   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   18931 		      test "x$?" != "x0" && pkg_failed=yes
   18932 else
   18933   pkg_failed=yes
   18934 fi
   18935  else
   18936     pkg_failed=untried
   18937 fi
   18938 if test -n "$DRI_LIBS"; then
   18939     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18940  elif test -n "$PKG_CONFIG"; then
   18941     if test -n "$PKG_CONFIG" && \
   18942     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   18943   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   18944   ac_status=$?
   18945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18946   test $ac_status = 0; }; then
   18947   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   18948 		      test "x$?" != "x0" && pkg_failed=yes
   18949 else
   18950   pkg_failed=yes
   18951 fi
   18952  else
   18953     pkg_failed=untried
   18954 fi
   18955 
   18956 
   18957 
   18958 if test $pkg_failed = yes; then
   18959    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18960 $as_echo "no" >&6; }
   18961 
   18962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18963         _pkg_short_errors_supported=yes
   18964 else
   18965         _pkg_short_errors_supported=no
   18966 fi
   18967         if test $_pkg_short_errors_supported = yes; then
   18968 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   18969         else
   18970 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   18971         fi
   18972 	# Put the nasty error message in config.log where it belongs
   18973 	echo "$DRI_PKG_ERRORS" >&5
   18974 
   18975 	as_fn_error $? "Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   18976 
   18977 $DRI_PKG_ERRORS
   18978 
   18979 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18980 installed software in a non-standard prefix.
   18981 
   18982 Alternatively, you may set the environment variables DRI_CFLAGS
   18983 and DRI_LIBS to avoid the need to call pkg-config.
   18984 See the pkg-config man page for more details." "$LINENO" 5
   18985 elif test $pkg_failed = untried; then
   18986      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18987 $as_echo "no" >&6; }
   18988 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18990 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18991 is in your PATH or set the PKG_CONFIG environment variable to the full
   18992 path to pkg-config.
   18993 
   18994 Alternatively, you may set the environment variables DRI_CFLAGS
   18995 and DRI_LIBS to avoid the need to call pkg-config.
   18996 See the pkg-config man page for more details.
   18997 
   18998 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18999 See \`config.log' for more details" "$LINENO" 5; }
   19000 else
   19001 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   19002 	DRI_LIBS=$pkg_cv_DRI_LIBS
   19003         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19004 $as_echo "yes" >&6; }
   19005 
   19006 fi
   19007 
   19008 $as_echo "#define R128DRI 1" >>confdefs.h
   19009 
   19010 
   19011 $as_echo "#define R128DRI_DEVEL 1" >>confdefs.h
   19012 
   19013 fi
   19014 
   19015 SAVE_CPPFLAGS="$CPPFLAGS"
   19016 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19017 # Properly handle EXA.
   19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable EXA support" >&5
   19019 $as_echo_n "checking whether to enable EXA support... " >&6; }
   19020 if test "x$EXA" = xyes; then
   19021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19022 $as_echo "yes" >&6; }
   19023         if test -f "${sdkdir}/exa.h"; then :
   19024   have_exa_h="yes"
   19025 else
   19026   have_exa_h="no"
   19027 fi
   19028 else
   19029         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19030 $as_echo "no" >&6; }
   19031 fi
   19032 
   19033 SAVE_CPPFLAGS="$CPPFLAGS"
   19034 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19035 if test "x$have_exa_h" = xyes; then
   19036         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether EXA version is at least 2.0.0" >&5
   19037 $as_echo_n "checking whether EXA version is at least 2.0.0... " >&6; }
   19038         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19039 /* end confdefs.h.  */
   19040 
   19041 #include "xorg-server.h"
   19042 #include "exa.h"
   19043 #if EXA_VERSION_MAJOR < 2
   19044 #error OLD EXA!
   19045 #endif
   19046 
   19047 int
   19048 main ()
   19049 {
   19050 
   19051   ;
   19052   return 0;
   19053 }
   19054 _ACEOF
   19055 if ac_fn_c_try_cpp "$LINENO"; then :
   19056   USE_EXA=yes
   19057 else
   19058   USE_EXA=no
   19059 fi
   19060 rm -f conftest.err conftest.i conftest.$ac_ext
   19061         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_EXA" >&5
   19062 $as_echo "$USE_EXA" >&6; }
   19063 
   19064         if test "x$USE_EXA" = xyes; then
   19065 
   19066 $as_echo "#define USE_EXA 1" >>confdefs.h
   19067 
   19068         fi
   19069 fi
   19070 
   19071 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19072 "
   19073 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   19074   XSERVER_LIBPCIACCESS=yes
   19075 else
   19076   XSERVER_LIBPCIACCESS=no
   19077 fi
   19078 
   19079 CPPFLAGS="$SAVE_CPPFLAGS"
   19080 
   19081 # Check whether --enable-xaa was given.
   19082 if test "${enable_xaa+set}" = set; then :
   19083   enableval=$enable_xaa; XAA="$enableval"
   19084 else
   19085   XAA=auto
   19086 fi
   19087 
   19088 if test "x$XAA" != xno; then
   19089         save_CFLAGS=$CFLAGS
   19090         save_CPPFLAGS=$CPPFLAGS
   19091         CFLAGS=$XORG_CFLAGS
   19092         CPPFLAGS="$XORG_CFLAGS"
   19093         for ac_header in xaa.h
   19094 do :
   19095   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19096 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19097   cat >>confdefs.h <<_ACEOF
   19098 #define HAVE_XAA_H 1
   19099 _ACEOF
   19100  XAA=yes
   19101 else
   19102   XAA=no
   19103 fi
   19104 
   19105 done
   19106 
   19107         CFLAGS=$save_CFLAGS
   19108         CPPFLAGS=$save_CPPFLAGS
   19109 fi
   19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19111 $as_echo_n "checking whether to include XAA support... " >&6; }
   19112  if test "x$XAA" = xyes; then
   19113   XAA_TRUE=
   19114   XAA_FALSE='#'
   19115 else
   19116   XAA_TRUE='#'
   19117   XAA_FALSE=
   19118 fi
   19119 
   19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19121 $as_echo "$XAA" >&6; }
   19122 
   19123  if test "x$USE_EXA" = xyes; then
   19124   USE_EXA_TRUE=
   19125   USE_EXA_FALSE='#'
   19126 else
   19127   USE_EXA_TRUE='#'
   19128   USE_EXA_FALSE=
   19129 fi
   19130 
   19131 
   19132 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19133 
   19134 pkg_failed=no
   19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19136 $as_echo_n "checking for PCIACCESS... " >&6; }
   19137 
   19138 if test -n "$PCIACCESS_CFLAGS"; then
   19139     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19140  elif test -n "$PKG_CONFIG"; then
   19141     if test -n "$PKG_CONFIG" && \
   19142     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19143   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19144   ac_status=$?
   19145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19146   test $ac_status = 0; }; then
   19147   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   19148 		      test "x$?" != "x0" && pkg_failed=yes
   19149 else
   19150   pkg_failed=yes
   19151 fi
   19152  else
   19153     pkg_failed=untried
   19154 fi
   19155 if test -n "$PCIACCESS_LIBS"; then
   19156     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19157  elif test -n "$PKG_CONFIG"; then
   19158     if test -n "$PKG_CONFIG" && \
   19159     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19160   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19161   ac_status=$?
   19162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19163   test $ac_status = 0; }; then
   19164   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19165 		      test "x$?" != "x0" && pkg_failed=yes
   19166 else
   19167   pkg_failed=yes
   19168 fi
   19169  else
   19170     pkg_failed=untried
   19171 fi
   19172 
   19173 
   19174 
   19175 if test $pkg_failed = yes; then
   19176    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19177 $as_echo "no" >&6; }
   19178 
   19179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19180         _pkg_short_errors_supported=yes
   19181 else
   19182         _pkg_short_errors_supported=no
   19183 fi
   19184         if test $_pkg_short_errors_supported = yes; then
   19185 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19186         else
   19187 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19188         fi
   19189 	# Put the nasty error message in config.log where it belongs
   19190 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19191 
   19192 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19193 
   19194 $PCIACCESS_PKG_ERRORS
   19195 
   19196 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19197 installed software in a non-standard prefix.
   19198 
   19199 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19200 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19201 See the pkg-config man page for more details." "$LINENO" 5
   19202 elif test $pkg_failed = untried; then
   19203      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19204 $as_echo "no" >&6; }
   19205 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19207 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19208 is in your PATH or set the PKG_CONFIG environment variable to the full
   19209 path to pkg-config.
   19210 
   19211 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19212 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19213 See the pkg-config man page for more details.
   19214 
   19215 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19216 See \`config.log' for more details" "$LINENO" 5; }
   19217 else
   19218 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19219 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19221 $as_echo "yes" >&6; }
   19222 
   19223 fi
   19224     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19225 fi
   19226  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19227   XSERVER_LIBPCIACCESS_TRUE=
   19228   XSERVER_LIBPCIACCESS_FALSE='#'
   19229 else
   19230   XSERVER_LIBPCIACCESS_TRUE='#'
   19231   XSERVER_LIBPCIACCESS_FALSE=
   19232 fi
   19233 
   19234 
   19235 # Checks for headers/macros for byte swapping
   19236 # Known variants:
   19237 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   19238 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   19239 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   19240 #	and a fallback to local macros if none of the above are found
   19241 
   19242 # if <byteswap.h> is found, assume it's the correct version
   19243 for ac_header in byteswap.h
   19244 do :
   19245   ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   19246 if test "x$ac_cv_header_byteswap_h" = xyes; then :
   19247   cat >>confdefs.h <<_ACEOF
   19248 #define HAVE_BYTESWAP_H 1
   19249 _ACEOF
   19250 
   19251 fi
   19252 
   19253 done
   19254 
   19255 
   19256 # if <sys/endian.h> is found, have to check which version
   19257 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   19258 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
   19259   HAVE_SYS_ENDIAN_H="yes"
   19260 else
   19261   HAVE_SYS_ENDIAN_H="no"
   19262 fi
   19263 
   19264 
   19265 
   19266 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   19267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   19268 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19269 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19270 /* end confdefs.h.  */
   19271 
   19272 #include <sys/types.h>
   19273 #include <sys/endian.h>
   19274 
   19275 int
   19276 main ()
   19277 {
   19278 
   19279 int a = 1, b;
   19280 b = __swap16(a);
   19281 
   19282   ;
   19283   return 0;
   19284 }
   19285 
   19286 _ACEOF
   19287 if ac_fn_c_try_link "$LINENO"; then :
   19288   SYS_ENDIAN__SWAP='yes'
   19289 else
   19290   SYS_ENDIAN__SWAP='no'
   19291 fi
   19292 rm -f core conftest.err conftest.$ac_objext \
   19293     conftest$ac_exeext conftest.$ac_ext
   19294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   19295 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   19296 
   19297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   19298 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19299 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19300 /* end confdefs.h.  */
   19301 
   19302 #include <sys/types.h>
   19303 #include <sys/endian.h>
   19304 
   19305 int
   19306 main ()
   19307 {
   19308 
   19309 int a = 1, b;
   19310 b = bswap16(a);
   19311 
   19312   ;
   19313   return 0;
   19314 }
   19315 
   19316 _ACEOF
   19317 if ac_fn_c_try_link "$LINENO"; then :
   19318   SYS_ENDIAN_BSWAP='yes'
   19319 else
   19320   SYS_ENDIAN_BSWAP='no'
   19321 fi
   19322 rm -f core conftest.err conftest.$ac_objext \
   19323     conftest$ac_exeext conftest.$ac_ext
   19324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   19325 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   19326 
   19327 	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   19328 		USE_SYS_ENDIAN_H=yes
   19329 		BSWAP=bswap
   19330 	else
   19331 		if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   19332 			USE_SYS_ENDIAN_H=yes
   19333 			BSWAP=__swap
   19334 		else
   19335 			USE_SYS_ENDIAN_H=no
   19336 		fi
   19337 	fi
   19338 
   19339 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   19340 
   19341 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   19342 
   19343 
   19344 cat >>confdefs.h <<_ACEOF
   19345 #define bswap_16 ${BSWAP}16
   19346 _ACEOF
   19347 
   19348 
   19349 cat >>confdefs.h <<_ACEOF
   19350 #define bswap_32 ${BSWAP}32
   19351 _ACEOF
   19352 
   19353 
   19354 cat >>confdefs.h <<_ACEOF
   19355 #define bswap_64 ${BSWAP}64
   19356 _ACEOF
   19357 
   19358 	fi
   19359 fi
   19360 
   19361 
   19362 
   19363 DRIVER_NAME=r128
   19364 
   19365 
   19366 { $as_echo "$as_me:${as_lineno-$LINENO}: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   19367 the ati wrapper as well:
   19368     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   19369 " >&5
   19370 $as_echo "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   19371 the ati wrapper as well:
   19372     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   19373 " >&6;}
   19374 
   19375 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19376 
   19377 cat >confcache <<\_ACEOF
   19378 # This file is a shell script that caches the results of configure
   19379 # tests run on this system so they can be shared between configure
   19380 # scripts and configure runs, see configure's option --config-cache.
   19381 # It is not useful on other systems.  If it contains results you don't
   19382 # want to keep, you may remove or edit it.
   19383 #
   19384 # config.status only pays attention to the cache file if you give it
   19385 # the --recheck option to rerun configure.
   19386 #
   19387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19389 # following values.
   19390 
   19391 _ACEOF
   19392 
   19393 # The following way of writing the cache mishandles newlines in values,
   19394 # but we know of no workaround that is simple, portable, and efficient.
   19395 # So, we kill variables containing newlines.
   19396 # Ultrix sh set writes to stderr and can't be redirected directly,
   19397 # and sets the high bit in the cache file unless we assign to the vars.
   19398 (
   19399   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19400     eval ac_val=\$$ac_var
   19401     case $ac_val in #(
   19402     *${as_nl}*)
   19403       case $ac_var in #(
   19404       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19406       esac
   19407       case $ac_var in #(
   19408       _ | IFS | as_nl) ;; #(
   19409       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19410       *) { eval $ac_var=; unset $ac_var;} ;;
   19411       esac ;;
   19412     esac
   19413   done
   19414 
   19415   (set) 2>&1 |
   19416     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19417     *${as_nl}ac_space=\ *)
   19418       # `set' does not quote correctly, so add quotes: double-quote
   19419       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19420       sed -n \
   19421 	"s/'/'\\\\''/g;
   19422 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19423       ;; #(
   19424     *)
   19425       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19426       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19427       ;;
   19428     esac |
   19429     sort
   19430 ) |
   19431   sed '
   19432      /^ac_cv_env_/b end
   19433      t clear
   19434      :clear
   19435      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19436      t end
   19437      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19438      :end' >>confcache
   19439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19440   if test -w "$cache_file"; then
   19441     if test "x$cache_file" != "x/dev/null"; then
   19442       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19443 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19444       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19445 	cat confcache >"$cache_file"
   19446       else
   19447         case $cache_file in #(
   19448         */* | ?:*)
   19449 	  mv -f confcache "$cache_file"$$ &&
   19450 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19451         *)
   19452 	  mv -f confcache "$cache_file" ;;
   19453 	esac
   19454       fi
   19455     fi
   19456   else
   19457     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19459   fi
   19460 fi
   19461 rm -f confcache
   19462 
   19463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19464 # Let make expand exec_prefix.
   19465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19466 
   19467 DEFS=-DHAVE_CONFIG_H
   19468 
   19469 ac_libobjs=
   19470 ac_ltlibobjs=
   19471 U=
   19472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19473   # 1. Remove the extension, and $U if already installed.
   19474   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19475   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19476   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19477   #    will be set to the directory where LIBOBJS objects are built.
   19478   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19479   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19480 done
   19481 LIBOBJS=$ac_libobjs
   19482 
   19483 LTLIBOBJS=$ac_ltlibobjs
   19484 
   19485 
   19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19487 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19488    if test -n "$am_sleep_pid"; then
   19489      # Hide warnings about reused PIDs.
   19490      wait $am_sleep_pid 2>/dev/null
   19491    fi
   19492    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19493 $as_echo "done" >&6; }
   19494  if test -n "$EXEEXT"; then
   19495   am__EXEEXT_TRUE=
   19496   am__EXEEXT_FALSE='#'
   19497 else
   19498   am__EXEEXT_TRUE='#'
   19499   am__EXEEXT_FALSE=
   19500 fi
   19501 
   19502 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19503   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19505 fi
   19506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19507   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19509 fi
   19510 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19511   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19513 fi
   19514 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19515   as_fn_error $? "conditional \"DRI\" was never defined.
   19516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19517 fi
   19518 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19519   as_fn_error $? "conditional \"XAA\" was never defined.
   19520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19521 fi
   19522 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   19523   as_fn_error $? "conditional \"USE_EXA\" was never defined.
   19524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19525 fi
   19526 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19527   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19529 fi
   19530 
   19531 : "${CONFIG_STATUS=./config.status}"
   19532 ac_write_fail=0
   19533 ac_clean_files_save=$ac_clean_files
   19534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19536 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19537 as_write_fail=0
   19538 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19539 #! $SHELL
   19540 # Generated by $as_me.
   19541 # Run this file to recreate the current configuration.
   19542 # Compiler output produced by configure, useful for debugging
   19543 # configure, is in config.log if it exists.
   19544 
   19545 debug=false
   19546 ac_cs_recheck=false
   19547 ac_cs_silent=false
   19548 
   19549 SHELL=\${CONFIG_SHELL-$SHELL}
   19550 export SHELL
   19551 _ASEOF
   19552 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19553 ## -------------------- ##
   19554 ## M4sh Initialization. ##
   19555 ## -------------------- ##
   19556 
   19557 # Be more Bourne compatible
   19558 DUALCASE=1; export DUALCASE # for MKS sh
   19559 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19560   emulate sh
   19561   NULLCMD=:
   19562   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19563   # is contrary to our usage.  Disable this feature.
   19564   alias -g '${1+"$@"}'='"$@"'
   19565   setopt NO_GLOB_SUBST
   19566 else
   19567   case `(set -o) 2>/dev/null` in #(
   19568   *posix*) :
   19569     set -o posix ;; #(
   19570   *) :
   19571      ;;
   19572 esac
   19573 fi
   19574 
   19575 
   19576 as_nl='
   19577 '
   19578 export as_nl
   19579 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19580 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19582 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19583 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19584 # but without wasting forks for bash or zsh.
   19585 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19586     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19587   as_echo='print -r --'
   19588   as_echo_n='print -rn --'
   19589 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19590   as_echo='printf %s\n'
   19591   as_echo_n='printf %s'
   19592 else
   19593   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19594     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19595     as_echo_n='/usr/ucb/echo -n'
   19596   else
   19597     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19598     as_echo_n_body='eval
   19599       arg=$1;
   19600       case $arg in #(
   19601       *"$as_nl"*)
   19602 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19603 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19604       esac;
   19605       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19606     '
   19607     export as_echo_n_body
   19608     as_echo_n='sh -c $as_echo_n_body as_echo'
   19609   fi
   19610   export as_echo_body
   19611   as_echo='sh -c $as_echo_body as_echo'
   19612 fi
   19613 
   19614 # The user is always right.
   19615 if test "${PATH_SEPARATOR+set}" != set; then
   19616   PATH_SEPARATOR=:
   19617   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19618     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19619       PATH_SEPARATOR=';'
   19620   }
   19621 fi
   19622 
   19623 
   19624 # IFS
   19625 # We need space, tab and new line, in precisely that order.  Quoting is
   19626 # there to prevent editors from complaining about space-tab.
   19627 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19628 # splitting by setting IFS to empty value.)
   19629 IFS=" ""	$as_nl"
   19630 
   19631 # Find who we are.  Look in the path if we contain no directory separator.
   19632 as_myself=
   19633 case $0 in #((
   19634   *[\\/]* ) as_myself=$0 ;;
   19635   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19636 for as_dir in $PATH
   19637 do
   19638   IFS=$as_save_IFS
   19639   test -z "$as_dir" && as_dir=.
   19640     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19641   done
   19642 IFS=$as_save_IFS
   19643 
   19644      ;;
   19645 esac
   19646 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19647 # in which case we are not to be found in the path.
   19648 if test "x$as_myself" = x; then
   19649   as_myself=$0
   19650 fi
   19651 if test ! -f "$as_myself"; then
   19652   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19653   exit 1
   19654 fi
   19655 
   19656 # Unset variables that we do not need and which cause bugs (e.g. in
   19657 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19658 # suppresses any "Segmentation fault" message there.  '((' could
   19659 # trigger a bug in pdksh 5.2.14.
   19660 for as_var in BASH_ENV ENV MAIL MAILPATH
   19661 do eval test x\${$as_var+set} = xset \
   19662   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19663 done
   19664 PS1='$ '
   19665 PS2='> '
   19666 PS4='+ '
   19667 
   19668 # NLS nuisances.
   19669 LC_ALL=C
   19670 export LC_ALL
   19671 LANGUAGE=C
   19672 export LANGUAGE
   19673 
   19674 # CDPATH.
   19675 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19676 
   19677 
   19678 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19679 # ----------------------------------------
   19680 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19681 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19682 # script with STATUS, using 1 if that was 0.
   19683 as_fn_error ()
   19684 {
   19685   as_status=$1; test $as_status -eq 0 && as_status=1
   19686   if test "$4"; then
   19687     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19688     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19689   fi
   19690   $as_echo "$as_me: error: $2" >&2
   19691   as_fn_exit $as_status
   19692 } # as_fn_error
   19693 
   19694 
   19695 # as_fn_set_status STATUS
   19696 # -----------------------
   19697 # Set $? to STATUS, without forking.
   19698 as_fn_set_status ()
   19699 {
   19700   return $1
   19701 } # as_fn_set_status
   19702 
   19703 # as_fn_exit STATUS
   19704 # -----------------
   19705 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19706 as_fn_exit ()
   19707 {
   19708   set +e
   19709   as_fn_set_status $1
   19710   exit $1
   19711 } # as_fn_exit
   19712 
   19713 # as_fn_unset VAR
   19714 # ---------------
   19715 # Portably unset VAR.
   19716 as_fn_unset ()
   19717 {
   19718   { eval $1=; unset $1;}
   19719 }
   19720 as_unset=as_fn_unset
   19721 # as_fn_append VAR VALUE
   19722 # ----------------------
   19723 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19724 # advantage of any shell optimizations that allow amortized linear growth over
   19725 # repeated appends, instead of the typical quadratic growth present in naive
   19726 # implementations.
   19727 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19728   eval 'as_fn_append ()
   19729   {
   19730     eval $1+=\$2
   19731   }'
   19732 else
   19733   as_fn_append ()
   19734   {
   19735     eval $1=\$$1\$2
   19736   }
   19737 fi # as_fn_append
   19738 
   19739 # as_fn_arith ARG...
   19740 # ------------------
   19741 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19742 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19743 # must be portable across $(()) and expr.
   19744 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19745   eval 'as_fn_arith ()
   19746   {
   19747     as_val=$(( $* ))
   19748   }'
   19749 else
   19750   as_fn_arith ()
   19751   {
   19752     as_val=`expr "$@" || test $? -eq 1`
   19753   }
   19754 fi # as_fn_arith
   19755 
   19756 
   19757 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19758    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19759   as_expr=expr
   19760 else
   19761   as_expr=false
   19762 fi
   19763 
   19764 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19765   as_basename=basename
   19766 else
   19767   as_basename=false
   19768 fi
   19769 
   19770 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19771   as_dirname=dirname
   19772 else
   19773   as_dirname=false
   19774 fi
   19775 
   19776 as_me=`$as_basename -- "$0" ||
   19777 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19778 	 X"$0" : 'X\(//\)$' \| \
   19779 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19780 $as_echo X/"$0" |
   19781     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19782 	    s//\1/
   19783 	    q
   19784 	  }
   19785 	  /^X\/\(\/\/\)$/{
   19786 	    s//\1/
   19787 	    q
   19788 	  }
   19789 	  /^X\/\(\/\).*/{
   19790 	    s//\1/
   19791 	    q
   19792 	  }
   19793 	  s/.*/./; q'`
   19794 
   19795 # Avoid depending upon Character Ranges.
   19796 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19797 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19798 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19799 as_cr_digits='0123456789'
   19800 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19801 
   19802 ECHO_C= ECHO_N= ECHO_T=
   19803 case `echo -n x` in #(((((
   19804 -n*)
   19805   case `echo 'xy\c'` in
   19806   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19807   xy)  ECHO_C='\c';;
   19808   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19809        ECHO_T='	';;
   19810   esac;;
   19811 *)
   19812   ECHO_N='-n';;
   19813 esac
   19814 
   19815 rm -f conf$$ conf$$.exe conf$$.file
   19816 if test -d conf$$.dir; then
   19817   rm -f conf$$.dir/conf$$.file
   19818 else
   19819   rm -f conf$$.dir
   19820   mkdir conf$$.dir 2>/dev/null
   19821 fi
   19822 if (echo >conf$$.file) 2>/dev/null; then
   19823   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19824     as_ln_s='ln -s'
   19825     # ... but there are two gotchas:
   19826     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19827     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19828     # In both cases, we have to default to `cp -pR'.
   19829     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19830       as_ln_s='cp -pR'
   19831   elif ln conf$$.file conf$$ 2>/dev/null; then
   19832     as_ln_s=ln
   19833   else
   19834     as_ln_s='cp -pR'
   19835   fi
   19836 else
   19837   as_ln_s='cp -pR'
   19838 fi
   19839 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19840 rmdir conf$$.dir 2>/dev/null
   19841 
   19842 
   19843 # as_fn_mkdir_p
   19844 # -------------
   19845 # Create "$as_dir" as a directory, including parents if necessary.
   19846 as_fn_mkdir_p ()
   19847 {
   19848 
   19849   case $as_dir in #(
   19850   -*) as_dir=./$as_dir;;
   19851   esac
   19852   test -d "$as_dir" || eval $as_mkdir_p || {
   19853     as_dirs=
   19854     while :; do
   19855       case $as_dir in #(
   19856       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19857       *) as_qdir=$as_dir;;
   19858       esac
   19859       as_dirs="'$as_qdir' $as_dirs"
   19860       as_dir=`$as_dirname -- "$as_dir" ||
   19861 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19862 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19863 	 X"$as_dir" : 'X\(//\)$' \| \
   19864 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19865 $as_echo X"$as_dir" |
   19866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19867 	    s//\1/
   19868 	    q
   19869 	  }
   19870 	  /^X\(\/\/\)[^/].*/{
   19871 	    s//\1/
   19872 	    q
   19873 	  }
   19874 	  /^X\(\/\/\)$/{
   19875 	    s//\1/
   19876 	    q
   19877 	  }
   19878 	  /^X\(\/\).*/{
   19879 	    s//\1/
   19880 	    q
   19881 	  }
   19882 	  s/.*/./; q'`
   19883       test -d "$as_dir" && break
   19884     done
   19885     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19886   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19887 
   19888 
   19889 } # as_fn_mkdir_p
   19890 if mkdir -p . 2>/dev/null; then
   19891   as_mkdir_p='mkdir -p "$as_dir"'
   19892 else
   19893   test -d ./-p && rmdir ./-p
   19894   as_mkdir_p=false
   19895 fi
   19896 
   19897 
   19898 # as_fn_executable_p FILE
   19899 # -----------------------
   19900 # Test if FILE is an executable regular file.
   19901 as_fn_executable_p ()
   19902 {
   19903   test -f "$1" && test -x "$1"
   19904 } # as_fn_executable_p
   19905 as_test_x='test -x'
   19906 as_executable_p=as_fn_executable_p
   19907 
   19908 # Sed expression to map a string onto a valid CPP name.
   19909 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19910 
   19911 # Sed expression to map a string onto a valid variable name.
   19912 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19913 
   19914 
   19915 exec 6>&1
   19916 ## ----------------------------------- ##
   19917 ## Main body of $CONFIG_STATUS script. ##
   19918 ## ----------------------------------- ##
   19919 _ASEOF
   19920 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19921 
   19922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19923 # Save the log message, to keep $0 and so on meaningful, and to
   19924 # report actual input values of CONFIG_FILES etc. instead of their
   19925 # values after options handling.
   19926 ac_log="
   19927 This file was extended by xf86-video-r128 $as_me 6.12.0, which was
   19928 generated by GNU Autoconf 2.69.  Invocation command line was
   19929 
   19930   CONFIG_FILES    = $CONFIG_FILES
   19931   CONFIG_HEADERS  = $CONFIG_HEADERS
   19932   CONFIG_LINKS    = $CONFIG_LINKS
   19933   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19934   $ $0 $@
   19935 
   19936 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19937 "
   19938 
   19939 _ACEOF
   19940 
   19941 case $ac_config_files in *"
   19942 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19943 esac
   19944 
   19945 case $ac_config_headers in *"
   19946 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19947 esac
   19948 
   19949 
   19950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19951 # Files that config.status was made for.
   19952 config_files="$ac_config_files"
   19953 config_headers="$ac_config_headers"
   19954 config_commands="$ac_config_commands"
   19955 
   19956 _ACEOF
   19957 
   19958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19959 ac_cs_usage="\
   19960 \`$as_me' instantiates files and other configuration actions
   19961 from templates according to the current configuration.  Unless the files
   19962 and actions are specified as TAGs, all are instantiated by default.
   19963 
   19964 Usage: $0 [OPTION]... [TAG]...
   19965 
   19966   -h, --help       print this help, then exit
   19967   -V, --version    print version number and configuration settings, then exit
   19968       --config     print configuration, then exit
   19969   -q, --quiet, --silent
   19970                    do not print progress messages
   19971   -d, --debug      don't remove temporary files
   19972       --recheck    update $as_me by reconfiguring in the same conditions
   19973       --file=FILE[:TEMPLATE]
   19974                    instantiate the configuration file FILE
   19975       --header=FILE[:TEMPLATE]
   19976                    instantiate the configuration header FILE
   19977 
   19978 Configuration files:
   19979 $config_files
   19980 
   19981 Configuration headers:
   19982 $config_headers
   19983 
   19984 Configuration commands:
   19985 $config_commands
   19986 
   19987 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19988 
   19989 _ACEOF
   19990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19991 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19992 ac_cs_version="\\
   19993 xf86-video-r128 config.status 6.12.0
   19994 configured by $0, generated by GNU Autoconf 2.69,
   19995   with options \\"\$ac_cs_config\\"
   19996 
   19997 Copyright (C) 2012 Free Software Foundation, Inc.
   19998 This config.status script is free software; the Free Software Foundation
   19999 gives unlimited permission to copy, distribute and modify it."
   20000 
   20001 ac_pwd='$ac_pwd'
   20002 srcdir='$srcdir'
   20003 INSTALL='$INSTALL'
   20004 MKDIR_P='$MKDIR_P'
   20005 AWK='$AWK'
   20006 test -n "\$AWK" || AWK=awk
   20007 _ACEOF
   20008 
   20009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20010 # The default lists apply if the user does not specify any file.
   20011 ac_need_defaults=:
   20012 while test $# != 0
   20013 do
   20014   case $1 in
   20015   --*=?*)
   20016     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20017     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20018     ac_shift=:
   20019     ;;
   20020   --*=)
   20021     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20022     ac_optarg=
   20023     ac_shift=:
   20024     ;;
   20025   *)
   20026     ac_option=$1
   20027     ac_optarg=$2
   20028     ac_shift=shift
   20029     ;;
   20030   esac
   20031 
   20032   case $ac_option in
   20033   # Handling of the options.
   20034   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20035     ac_cs_recheck=: ;;
   20036   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20037     $as_echo "$ac_cs_version"; exit ;;
   20038   --config | --confi | --conf | --con | --co | --c )
   20039     $as_echo "$ac_cs_config"; exit ;;
   20040   --debug | --debu | --deb | --de | --d | -d )
   20041     debug=: ;;
   20042   --file | --fil | --fi | --f )
   20043     $ac_shift
   20044     case $ac_optarg in
   20045     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20046     '') as_fn_error $? "missing file argument" ;;
   20047     esac
   20048     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20049     ac_need_defaults=false;;
   20050   --header | --heade | --head | --hea )
   20051     $ac_shift
   20052     case $ac_optarg in
   20053     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20054     esac
   20055     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20056     ac_need_defaults=false;;
   20057   --he | --h)
   20058     # Conflict between --help and --header
   20059     as_fn_error $? "ambiguous option: \`$1'
   20060 Try \`$0 --help' for more information.";;
   20061   --help | --hel | -h )
   20062     $as_echo "$ac_cs_usage"; exit ;;
   20063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20064   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20065     ac_cs_silent=: ;;
   20066 
   20067   # This is an error.
   20068   -*) as_fn_error $? "unrecognized option: \`$1'
   20069 Try \`$0 --help' for more information." ;;
   20070 
   20071   *) as_fn_append ac_config_targets " $1"
   20072      ac_need_defaults=false ;;
   20073 
   20074   esac
   20075   shift
   20076 done
   20077 
   20078 ac_configure_extra_args=
   20079 
   20080 if $ac_cs_silent; then
   20081   exec 6>/dev/null
   20082   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20083 fi
   20084 
   20085 _ACEOF
   20086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20087 if \$ac_cs_recheck; then
   20088   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20089   shift
   20090   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20091   CONFIG_SHELL='$SHELL'
   20092   export CONFIG_SHELL
   20093   exec "\$@"
   20094 fi
   20095 
   20096 _ACEOF
   20097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20098 exec 5>>config.log
   20099 {
   20100   echo
   20101   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20102 ## Running $as_me. ##
   20103 _ASBOX
   20104   $as_echo "$ac_log"
   20105 } >&5
   20106 
   20107 _ACEOF
   20108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20109 #
   20110 # INIT-COMMANDS
   20111 #
   20112 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20113 
   20114 
   20115 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20116 # if CDPATH is set.
   20117 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20118 
   20119 sed_quote_subst='$sed_quote_subst'
   20120 double_quote_subst='$double_quote_subst'
   20121 delay_variable_subst='$delay_variable_subst'
   20122 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20123 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20124 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20125 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20126 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20127 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20128 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20129 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20130 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20131 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20132 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20133 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20134 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20135 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20136 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20137 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20138 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20139 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20140 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20141 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20142 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20143 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20144 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20145 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20146 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20147 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20148 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20149 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20150 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20151 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20152 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20153 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20154 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20155 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20156 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20157 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20158 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20159 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20160 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20161 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20162 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20163 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20164 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20165 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20166 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20167 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20168 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20169 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20170 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20171 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20172 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20173 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20174 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20175 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20176 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20177 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20178 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20179 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20181 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20182 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20183 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20184 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20185 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20186 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20187 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20188 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20189 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20190 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20191 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20192 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20193 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20194 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20195 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20196 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20197 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20198 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20199 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20200 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20201 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20202 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20203 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20204 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20205 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20206 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20207 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20208 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20209 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20210 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20211 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20212 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20213 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20214 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20215 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20216 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20217 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20218 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20219 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20220 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20221 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20222 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20223 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20224 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20225 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20226 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20227 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20228 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20229 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20230 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20231 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20232 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20233 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20234 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20235 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20236 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20237 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20238 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20239 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20240 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20241 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20242 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20243 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20244 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20245 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20246 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20247 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20248 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20249 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20250 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20251 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20252 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20253 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20254 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20255 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20256 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20257 
   20258 LTCC='$LTCC'
   20259 LTCFLAGS='$LTCFLAGS'
   20260 compiler='$compiler_DEFAULT'
   20261 
   20262 # A function that is used when there is no print builtin or printf.
   20263 func_fallback_echo ()
   20264 {
   20265   eval 'cat <<_LTECHO_EOF
   20266 \$1
   20267 _LTECHO_EOF'
   20268 }
   20269 
   20270 # Quote evaled strings.
   20271 for var in SHELL \
   20272 ECHO \
   20273 PATH_SEPARATOR \
   20274 SED \
   20275 GREP \
   20276 EGREP \
   20277 FGREP \
   20278 LD \
   20279 NM \
   20280 LN_S \
   20281 lt_SP2NL \
   20282 lt_NL2SP \
   20283 reload_flag \
   20284 OBJDUMP \
   20285 deplibs_check_method \
   20286 file_magic_cmd \
   20287 file_magic_glob \
   20288 want_nocaseglob \
   20289 DLLTOOL \
   20290 sharedlib_from_linklib_cmd \
   20291 AR \
   20292 AR_FLAGS \
   20293 archiver_list_spec \
   20294 STRIP \
   20295 RANLIB \
   20296 CC \
   20297 CFLAGS \
   20298 compiler \
   20299 lt_cv_sys_global_symbol_pipe \
   20300 lt_cv_sys_global_symbol_to_cdecl \
   20301 lt_cv_sys_global_symbol_to_import \
   20302 lt_cv_sys_global_symbol_to_c_name_address \
   20303 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20304 lt_cv_nm_interface \
   20305 nm_file_list_spec \
   20306 lt_cv_truncate_bin \
   20307 lt_prog_compiler_no_builtin_flag \
   20308 lt_prog_compiler_pic \
   20309 lt_prog_compiler_wl \
   20310 lt_prog_compiler_static \
   20311 lt_cv_prog_compiler_c_o \
   20312 need_locks \
   20313 MANIFEST_TOOL \
   20314 DSYMUTIL \
   20315 NMEDIT \
   20316 LIPO \
   20317 OTOOL \
   20318 OTOOL64 \
   20319 shrext_cmds \
   20320 export_dynamic_flag_spec \
   20321 whole_archive_flag_spec \
   20322 compiler_needs_object \
   20323 with_gnu_ld \
   20324 allow_undefined_flag \
   20325 no_undefined_flag \
   20326 hardcode_libdir_flag_spec \
   20327 hardcode_libdir_separator \
   20328 exclude_expsyms \
   20329 include_expsyms \
   20330 file_list_spec \
   20331 variables_saved_for_relink \
   20332 libname_spec \
   20333 library_names_spec \
   20334 soname_spec \
   20335 install_override_mode \
   20336 finish_eval \
   20337 old_striplib \
   20338 striplib; do
   20339     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20340     *[\\\\\\\`\\"\\\$]*)
   20341       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20342       ;;
   20343     *)
   20344       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20345       ;;
   20346     esac
   20347 done
   20348 
   20349 # Double-quote double-evaled strings.
   20350 for var in reload_cmds \
   20351 old_postinstall_cmds \
   20352 old_postuninstall_cmds \
   20353 old_archive_cmds \
   20354 extract_expsyms_cmds \
   20355 old_archive_from_new_cmds \
   20356 old_archive_from_expsyms_cmds \
   20357 archive_cmds \
   20358 archive_expsym_cmds \
   20359 module_cmds \
   20360 module_expsym_cmds \
   20361 export_symbols_cmds \
   20362 prelink_cmds \
   20363 postlink_cmds \
   20364 postinstall_cmds \
   20365 postuninstall_cmds \
   20366 finish_cmds \
   20367 sys_lib_search_path_spec \
   20368 configure_time_dlsearch_path \
   20369 configure_time_lt_sys_library_path; do
   20370     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20371     *[\\\\\\\`\\"\\\$]*)
   20372       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20373       ;;
   20374     *)
   20375       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20376       ;;
   20377     esac
   20378 done
   20379 
   20380 ac_aux_dir='$ac_aux_dir'
   20381 
   20382 # See if we are running on zsh, and set the options that allow our
   20383 # commands through without removal of \ escapes INIT.
   20384 if test -n "\${ZSH_VERSION+set}"; then
   20385    setopt NO_GLOB_SUBST
   20386 fi
   20387 
   20388 
   20389     PACKAGE='$PACKAGE'
   20390     VERSION='$VERSION'
   20391     RM='$RM'
   20392     ofile='$ofile'
   20393 
   20394 
   20395 
   20396 
   20397 _ACEOF
   20398 
   20399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20400 
   20401 # Handling of arguments.
   20402 for ac_config_target in $ac_config_targets
   20403 do
   20404   case $ac_config_target in
   20405     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20406     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20407     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20408     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20409     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20410     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20411 
   20412   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20413   esac
   20414 done
   20415 
   20416 
   20417 # If the user did not use the arguments to specify the items to instantiate,
   20418 # then the envvar interface is used.  Set only those that are not.
   20419 # We use the long form for the default assignment because of an extremely
   20420 # bizarre bug on SunOS 4.1.3.
   20421 if $ac_need_defaults; then
   20422   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20423   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20424   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20425 fi
   20426 
   20427 # Have a temporary directory for convenience.  Make it in the build tree
   20428 # simply because there is no reason against having it here, and in addition,
   20429 # creating and moving files from /tmp can sometimes cause problems.
   20430 # Hook for its removal unless debugging.
   20431 # Note that there is a small window in which the directory will not be cleaned:
   20432 # after its creation but before its name has been assigned to `$tmp'.
   20433 $debug ||
   20434 {
   20435   tmp= ac_tmp=
   20436   trap 'exit_status=$?
   20437   : "${ac_tmp:=$tmp}"
   20438   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20439 ' 0
   20440   trap 'as_fn_exit 1' 1 2 13 15
   20441 }
   20442 # Create a (secure) tmp directory for tmp files.
   20443 
   20444 {
   20445   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20446   test -d "$tmp"
   20447 }  ||
   20448 {
   20449   tmp=./conf$$-$RANDOM
   20450   (umask 077 && mkdir "$tmp")
   20451 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20452 ac_tmp=$tmp
   20453 
   20454 # Set up the scripts for CONFIG_FILES section.
   20455 # No need to generate them if there are no CONFIG_FILES.
   20456 # This happens for instance with `./config.status config.h'.
   20457 if test -n "$CONFIG_FILES"; then
   20458 
   20459 
   20460 ac_cr=`echo X | tr X '\015'`
   20461 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20462 # But we know of no other shell where ac_cr would be empty at this
   20463 # point, so we can use a bashism as a fallback.
   20464 if test "x$ac_cr" = x; then
   20465   eval ac_cr=\$\'\\r\'
   20466 fi
   20467 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20468 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20469   ac_cs_awk_cr='\\r'
   20470 else
   20471   ac_cs_awk_cr=$ac_cr
   20472 fi
   20473 
   20474 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20475 _ACEOF
   20476 
   20477 
   20478 {
   20479   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20480   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20481   echo "_ACEOF"
   20482 } >conf$$subs.sh ||
   20483   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20484 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20485 ac_delim='%!_!# '
   20486 for ac_last_try in false false false false false :; do
   20487   . ./conf$$subs.sh ||
   20488     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20489 
   20490   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20491   if test $ac_delim_n = $ac_delim_num; then
   20492     break
   20493   elif $ac_last_try; then
   20494     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20495   else
   20496     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20497   fi
   20498 done
   20499 rm -f conf$$subs.sh
   20500 
   20501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20502 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20503 _ACEOF
   20504 sed -n '
   20505 h
   20506 s/^/S["/; s/!.*/"]=/
   20507 p
   20508 g
   20509 s/^[^!]*!//
   20510 :repl
   20511 t repl
   20512 s/'"$ac_delim"'$//
   20513 t delim
   20514 :nl
   20515 h
   20516 s/\(.\{148\}\)..*/\1/
   20517 t more1
   20518 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20519 p
   20520 n
   20521 b repl
   20522 :more1
   20523 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20524 p
   20525 g
   20526 s/.\{148\}//
   20527 t nl
   20528 :delim
   20529 h
   20530 s/\(.\{148\}\)..*/\1/
   20531 t more2
   20532 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20533 p
   20534 b
   20535 :more2
   20536 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20537 p
   20538 g
   20539 s/.\{148\}//
   20540 t delim
   20541 ' <conf$$subs.awk | sed '
   20542 /^[^""]/{
   20543   N
   20544   s/\n//
   20545 }
   20546 ' >>$CONFIG_STATUS || ac_write_fail=1
   20547 rm -f conf$$subs.awk
   20548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20549 _ACAWK
   20550 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20551   for (key in S) S_is_set[key] = 1
   20552   FS = ""
   20553 
   20554 }
   20555 {
   20556   line = $ 0
   20557   nfields = split(line, field, "@")
   20558   substed = 0
   20559   len = length(field[1])
   20560   for (i = 2; i < nfields; i++) {
   20561     key = field[i]
   20562     keylen = length(key)
   20563     if (S_is_set[key]) {
   20564       value = S[key]
   20565       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20566       len += length(value) + length(field[++i])
   20567       substed = 1
   20568     } else
   20569       len += 1 + keylen
   20570   }
   20571 
   20572   print line
   20573 }
   20574 
   20575 _ACAWK
   20576 _ACEOF
   20577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20578 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20579   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20580 else
   20581   cat
   20582 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20583   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20584 _ACEOF
   20585 
   20586 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20587 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20588 # trailing colons and then remove the whole line if VPATH becomes empty
   20589 # (actually we leave an empty line to preserve line numbers).
   20590 if test "x$srcdir" = x.; then
   20591   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20592 h
   20593 s///
   20594 s/^/:/
   20595 s/[	 ]*$/:/
   20596 s/:\$(srcdir):/:/g
   20597 s/:\${srcdir}:/:/g
   20598 s/:@srcdir@:/:/g
   20599 s/^:*//
   20600 s/:*$//
   20601 x
   20602 s/\(=[	 ]*\).*/\1/
   20603 G
   20604 s/\n//
   20605 s/^[^=]*=[	 ]*$//
   20606 }'
   20607 fi
   20608 
   20609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20610 fi # test -n "$CONFIG_FILES"
   20611 
   20612 # Set up the scripts for CONFIG_HEADERS section.
   20613 # No need to generate them if there are no CONFIG_HEADERS.
   20614 # This happens for instance with `./config.status Makefile'.
   20615 if test -n "$CONFIG_HEADERS"; then
   20616 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20617 BEGIN {
   20618 _ACEOF
   20619 
   20620 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20621 # here-document in config.status, that substitutes the proper values into
   20622 # config.h.in to produce config.h.
   20623 
   20624 # Create a delimiter string that does not exist in confdefs.h, to ease
   20625 # handling of long lines.
   20626 ac_delim='%!_!# '
   20627 for ac_last_try in false false :; do
   20628   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20629   if test -z "$ac_tt"; then
   20630     break
   20631   elif $ac_last_try; then
   20632     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20633   else
   20634     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20635   fi
   20636 done
   20637 
   20638 # For the awk script, D is an array of macro values keyed by name,
   20639 # likewise P contains macro parameters if any.  Preserve backslash
   20640 # newline sequences.
   20641 
   20642 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20643 sed -n '
   20644 s/.\{148\}/&'"$ac_delim"'/g
   20645 t rset
   20646 :rset
   20647 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20648 t def
   20649 d
   20650 :def
   20651 s/\\$//
   20652 t bsnl
   20653 s/["\\]/\\&/g
   20654 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20655 D["\1"]=" \3"/p
   20656 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20657 d
   20658 :bsnl
   20659 s/["\\]/\\&/g
   20660 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20661 D["\1"]=" \3\\\\\\n"\\/p
   20662 t cont
   20663 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20664 t cont
   20665 d
   20666 :cont
   20667 n
   20668 s/.\{148\}/&'"$ac_delim"'/g
   20669 t clear
   20670 :clear
   20671 s/\\$//
   20672 t bsnlc
   20673 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20674 d
   20675 :bsnlc
   20676 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20677 b cont
   20678 ' <confdefs.h | sed '
   20679 s/'"$ac_delim"'/"\\\
   20680 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20681 
   20682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20683   for (key in D) D_is_set[key] = 1
   20684   FS = ""
   20685 }
   20686 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20687   line = \$ 0
   20688   split(line, arg, " ")
   20689   if (arg[1] == "#") {
   20690     defundef = arg[2]
   20691     mac1 = arg[3]
   20692   } else {
   20693     defundef = substr(arg[1], 2)
   20694     mac1 = arg[2]
   20695   }
   20696   split(mac1, mac2, "(") #)
   20697   macro = mac2[1]
   20698   prefix = substr(line, 1, index(line, defundef) - 1)
   20699   if (D_is_set[macro]) {
   20700     # Preserve the white space surrounding the "#".
   20701     print prefix "define", macro P[macro] D[macro]
   20702     next
   20703   } else {
   20704     # Replace #undef with comments.  This is necessary, for example,
   20705     # in the case of _POSIX_SOURCE, which is predefined and required
   20706     # on some systems where configure will not decide to define it.
   20707     if (defundef == "undef") {
   20708       print "/*", prefix defundef, macro, "*/"
   20709       next
   20710     }
   20711   }
   20712 }
   20713 { print }
   20714 _ACAWK
   20715 _ACEOF
   20716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20717   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20718 fi # test -n "$CONFIG_HEADERS"
   20719 
   20720 
   20721 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20722 shift
   20723 for ac_tag
   20724 do
   20725   case $ac_tag in
   20726   :[FHLC]) ac_mode=$ac_tag; continue;;
   20727   esac
   20728   case $ac_mode$ac_tag in
   20729   :[FHL]*:*);;
   20730   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20731   :[FH]-) ac_tag=-:-;;
   20732   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20733   esac
   20734   ac_save_IFS=$IFS
   20735   IFS=:
   20736   set x $ac_tag
   20737   IFS=$ac_save_IFS
   20738   shift
   20739   ac_file=$1
   20740   shift
   20741 
   20742   case $ac_mode in
   20743   :L) ac_source=$1;;
   20744   :[FH])
   20745     ac_file_inputs=
   20746     for ac_f
   20747     do
   20748       case $ac_f in
   20749       -) ac_f="$ac_tmp/stdin";;
   20750       *) # Look for the file first in the build tree, then in the source tree
   20751 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20752 	 # because $ac_f cannot contain `:'.
   20753 	 test -f "$ac_f" ||
   20754 	   case $ac_f in
   20755 	   [\\/$]*) false;;
   20756 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20757 	   esac ||
   20758 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20759       esac
   20760       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20761       as_fn_append ac_file_inputs " '$ac_f'"
   20762     done
   20763 
   20764     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20765     # use $as_me), people would be surprised to read:
   20766     #    /* config.h.  Generated by config.status.  */
   20767     configure_input='Generated from '`
   20768 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20769 	`' by configure.'
   20770     if test x"$ac_file" != x-; then
   20771       configure_input="$ac_file.  $configure_input"
   20772       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20773 $as_echo "$as_me: creating $ac_file" >&6;}
   20774     fi
   20775     # Neutralize special characters interpreted by sed in replacement strings.
   20776     case $configure_input in #(
   20777     *\&* | *\|* | *\\* )
   20778        ac_sed_conf_input=`$as_echo "$configure_input" |
   20779        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20780     *) ac_sed_conf_input=$configure_input;;
   20781     esac
   20782 
   20783     case $ac_tag in
   20784     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20785       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20786     esac
   20787     ;;
   20788   esac
   20789 
   20790   ac_dir=`$as_dirname -- "$ac_file" ||
   20791 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20792 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20793 	 X"$ac_file" : 'X\(//\)$' \| \
   20794 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20795 $as_echo X"$ac_file" |
   20796     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20797 	    s//\1/
   20798 	    q
   20799 	  }
   20800 	  /^X\(\/\/\)[^/].*/{
   20801 	    s//\1/
   20802 	    q
   20803 	  }
   20804 	  /^X\(\/\/\)$/{
   20805 	    s//\1/
   20806 	    q
   20807 	  }
   20808 	  /^X\(\/\).*/{
   20809 	    s//\1/
   20810 	    q
   20811 	  }
   20812 	  s/.*/./; q'`
   20813   as_dir="$ac_dir"; as_fn_mkdir_p
   20814   ac_builddir=.
   20815 
   20816 case "$ac_dir" in
   20817 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20818 *)
   20819   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20820   # A ".." for each directory in $ac_dir_suffix.
   20821   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20822   case $ac_top_builddir_sub in
   20823   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20824   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20825   esac ;;
   20826 esac
   20827 ac_abs_top_builddir=$ac_pwd
   20828 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20829 # for backward compatibility:
   20830 ac_top_builddir=$ac_top_build_prefix
   20831 
   20832 case $srcdir in
   20833   .)  # We are building in place.
   20834     ac_srcdir=.
   20835     ac_top_srcdir=$ac_top_builddir_sub
   20836     ac_abs_top_srcdir=$ac_pwd ;;
   20837   [\\/]* | ?:[\\/]* )  # Absolute name.
   20838     ac_srcdir=$srcdir$ac_dir_suffix;
   20839     ac_top_srcdir=$srcdir
   20840     ac_abs_top_srcdir=$srcdir ;;
   20841   *) # Relative name.
   20842     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20843     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20844     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20845 esac
   20846 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20847 
   20848 
   20849   case $ac_mode in
   20850   :F)
   20851   #
   20852   # CONFIG_FILE
   20853   #
   20854 
   20855   case $INSTALL in
   20856   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20857   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20858   esac
   20859   ac_MKDIR_P=$MKDIR_P
   20860   case $MKDIR_P in
   20861   [\\/$]* | ?:[\\/]* ) ;;
   20862   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20863   esac
   20864 _ACEOF
   20865 
   20866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20867 # If the template does not know about datarootdir, expand it.
   20868 # FIXME: This hack should be removed a few years after 2.60.
   20869 ac_datarootdir_hack=; ac_datarootdir_seen=
   20870 ac_sed_dataroot='
   20871 /datarootdir/ {
   20872   p
   20873   q
   20874 }
   20875 /@datadir@/p
   20876 /@docdir@/p
   20877 /@infodir@/p
   20878 /@localedir@/p
   20879 /@mandir@/p'
   20880 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20881 *datarootdir*) ac_datarootdir_seen=yes;;
   20882 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20883   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20884 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20885 _ACEOF
   20886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20887   ac_datarootdir_hack='
   20888   s&@datadir@&$datadir&g
   20889   s&@docdir@&$docdir&g
   20890   s&@infodir@&$infodir&g
   20891   s&@localedir@&$localedir&g
   20892   s&@mandir@&$mandir&g
   20893   s&\\\${datarootdir}&$datarootdir&g' ;;
   20894 esac
   20895 _ACEOF
   20896 
   20897 # Neutralize VPATH when `$srcdir' = `.'.
   20898 # Shell code in configure.ac might set extrasub.
   20899 # FIXME: do we really want to maintain this feature?
   20900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20901 ac_sed_extra="$ac_vpsub
   20902 $extrasub
   20903 _ACEOF
   20904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20905 :t
   20906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20907 s|@configure_input@|$ac_sed_conf_input|;t t
   20908 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20909 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20910 s&@srcdir@&$ac_srcdir&;t t
   20911 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20912 s&@top_srcdir@&$ac_top_srcdir&;t t
   20913 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20914 s&@builddir@&$ac_builddir&;t t
   20915 s&@abs_builddir@&$ac_abs_builddir&;t t
   20916 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20917 s&@INSTALL@&$ac_INSTALL&;t t
   20918 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20919 $ac_datarootdir_hack
   20920 "
   20921 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20922   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20923 
   20924 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20925   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20926   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20927       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20928   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20929 which seems to be undefined.  Please make sure it is defined" >&5
   20930 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20931 which seems to be undefined.  Please make sure it is defined" >&2;}
   20932 
   20933   rm -f "$ac_tmp/stdin"
   20934   case $ac_file in
   20935   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20936   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20937   esac \
   20938   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20939  ;;
   20940   :H)
   20941   #
   20942   # CONFIG_HEADER
   20943   #
   20944   if test x"$ac_file" != x-; then
   20945     {
   20946       $as_echo "/* $configure_input  */" \
   20947       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20948     } >"$ac_tmp/config.h" \
   20949       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20950     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20951       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20952 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20953     else
   20954       rm -f "$ac_file"
   20955       mv "$ac_tmp/config.h" "$ac_file" \
   20956 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20957     fi
   20958   else
   20959     $as_echo "/* $configure_input  */" \
   20960       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20961       || as_fn_error $? "could not create -" "$LINENO" 5
   20962   fi
   20963 # Compute "$ac_file"'s index in $config_headers.
   20964 _am_arg="$ac_file"
   20965 _am_stamp_count=1
   20966 for _am_header in $config_headers :; do
   20967   case $_am_header in
   20968     $_am_arg | $_am_arg:* )
   20969       break ;;
   20970     * )
   20971       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20972   esac
   20973 done
   20974 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20975 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20976 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20977 	 X"$_am_arg" : 'X\(//\)$' \| \
   20978 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20979 $as_echo X"$_am_arg" |
   20980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20981 	    s//\1/
   20982 	    q
   20983 	  }
   20984 	  /^X\(\/\/\)[^/].*/{
   20985 	    s//\1/
   20986 	    q
   20987 	  }
   20988 	  /^X\(\/\/\)$/{
   20989 	    s//\1/
   20990 	    q
   20991 	  }
   20992 	  /^X\(\/\).*/{
   20993 	    s//\1/
   20994 	    q
   20995 	  }
   20996 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20997  ;;
   20998 
   20999   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21000 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21001  ;;
   21002   esac
   21003 
   21004 
   21005   case $ac_file$ac_mode in
   21006     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21007   # Older Autoconf quotes --file arguments for eval, but not when files
   21008   # are listed without --file.  Let's play safe and only enable the eval
   21009   # if we detect the quoting.
   21010   case $CONFIG_FILES in
   21011   *\'*) eval set x "$CONFIG_FILES" ;;
   21012   *)   set x $CONFIG_FILES ;;
   21013   esac
   21014   shift
   21015   for mf
   21016   do
   21017     # Strip MF so we end up with the name of the file.
   21018     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21019     # Check whether this is an Automake generated Makefile or not.
   21020     # We used to match only the files named 'Makefile.in', but
   21021     # some people rename them; so instead we look at the file content.
   21022     # Grep'ing the first line is not enough: some people post-process
   21023     # each Makefile.in and add a new line on top of each file to say so.
   21024     # Grep'ing the whole file is not good either: AIX grep has a line
   21025     # limit of 2048, but all sed's we know have understand at least 4000.
   21026     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21027       dirpart=`$as_dirname -- "$mf" ||
   21028 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21029 	 X"$mf" : 'X\(//\)[^/]' \| \
   21030 	 X"$mf" : 'X\(//\)$' \| \
   21031 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21032 $as_echo X"$mf" |
   21033     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21034 	    s//\1/
   21035 	    q
   21036 	  }
   21037 	  /^X\(\/\/\)[^/].*/{
   21038 	    s//\1/
   21039 	    q
   21040 	  }
   21041 	  /^X\(\/\/\)$/{
   21042 	    s//\1/
   21043 	    q
   21044 	  }
   21045 	  /^X\(\/\).*/{
   21046 	    s//\1/
   21047 	    q
   21048 	  }
   21049 	  s/.*/./; q'`
   21050     else
   21051       continue
   21052     fi
   21053     # Extract the definition of DEPDIR, am__include, and am__quote
   21054     # from the Makefile without running 'make'.
   21055     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21056     test -z "$DEPDIR" && continue
   21057     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21058     test -z "$am__include" && continue
   21059     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21060     # Find all dependency output files, they are included files with
   21061     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21062     # simplest approach to changing $(DEPDIR) to its actual value in the
   21063     # expansion.
   21064     for file in `sed -n "
   21065       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21066 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21067       # Make sure the directory exists.
   21068       test -f "$dirpart/$file" && continue
   21069       fdir=`$as_dirname -- "$file" ||
   21070 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21071 	 X"$file" : 'X\(//\)[^/]' \| \
   21072 	 X"$file" : 'X\(//\)$' \| \
   21073 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21074 $as_echo X"$file" |
   21075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21076 	    s//\1/
   21077 	    q
   21078 	  }
   21079 	  /^X\(\/\/\)[^/].*/{
   21080 	    s//\1/
   21081 	    q
   21082 	  }
   21083 	  /^X\(\/\/\)$/{
   21084 	    s//\1/
   21085 	    q
   21086 	  }
   21087 	  /^X\(\/\).*/{
   21088 	    s//\1/
   21089 	    q
   21090 	  }
   21091 	  s/.*/./; q'`
   21092       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21093       # echo "creating $dirpart/$file"
   21094       echo '# dummy' > "$dirpart/$file"
   21095     done
   21096   done
   21097 }
   21098  ;;
   21099     "libtool":C)
   21100 
   21101     # See if we are running on zsh, and set the options that allow our
   21102     # commands through without removal of \ escapes.
   21103     if test -n "${ZSH_VERSION+set}"; then
   21104       setopt NO_GLOB_SUBST
   21105     fi
   21106 
   21107     cfgfile=${ofile}T
   21108     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21109     $RM "$cfgfile"
   21110 
   21111     cat <<_LT_EOF >> "$cfgfile"
   21112 #! $SHELL
   21113 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21114 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21115 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21116 
   21117 # Provide generalized library-building support services.
   21118 # Written by Gordon Matzigkeit, 1996
   21119 
   21120 # Copyright (C) 2014 Free Software Foundation, Inc.
   21121 # This is free software; see the source for copying conditions.  There is NO
   21122 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21123 
   21124 # GNU Libtool is free software; you can redistribute it and/or modify
   21125 # it under the terms of the GNU General Public License as published by
   21126 # the Free Software Foundation; either version 2 of of the License, or
   21127 # (at your option) any later version.
   21128 #
   21129 # As a special exception to the GNU General Public License, if you
   21130 # distribute this file as part of a program or library that is built
   21131 # using GNU Libtool, you may include this file under the  same
   21132 # distribution terms that you use for the rest of that program.
   21133 #
   21134 # GNU Libtool is distributed in the hope that it will be useful, but
   21135 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21136 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21137 # GNU General Public License for more details.
   21138 #
   21139 # You should have received a copy of the GNU General Public License
   21140 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21141 
   21142 
   21143 # The names of the tagged configurations supported by this script.
   21144 available_tags=''
   21145 
   21146 # Configured defaults for sys_lib_dlsearch_path munging.
   21147 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21148 
   21149 # ### BEGIN LIBTOOL CONFIG
   21150 
   21151 # Whether or not to build static libraries.
   21152 build_old_libs=$enable_static
   21153 
   21154 # Which release of libtool.m4 was used?
   21155 macro_version=$macro_version
   21156 macro_revision=$macro_revision
   21157 
   21158 # Whether or not to build shared libraries.
   21159 build_libtool_libs=$enable_shared
   21160 
   21161 # What type of objects to build.
   21162 pic_mode=$pic_mode
   21163 
   21164 # Whether or not to optimize for fast installation.
   21165 fast_install=$enable_fast_install
   21166 
   21167 # Shared archive member basename,for filename based shared library versioning on AIX.
   21168 shared_archive_member_spec=$shared_archive_member_spec
   21169 
   21170 # Shell to use when invoking shell scripts.
   21171 SHELL=$lt_SHELL
   21172 
   21173 # An echo program that protects backslashes.
   21174 ECHO=$lt_ECHO
   21175 
   21176 # The PATH separator for the build system.
   21177 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21178 
   21179 # The host system.
   21180 host_alias=$host_alias
   21181 host=$host
   21182 host_os=$host_os
   21183 
   21184 # The build system.
   21185 build_alias=$build_alias
   21186 build=$build
   21187 build_os=$build_os
   21188 
   21189 # A sed program that does not truncate output.
   21190 SED=$lt_SED
   21191 
   21192 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21193 Xsed="\$SED -e 1s/^X//"
   21194 
   21195 # A grep program that handles long lines.
   21196 GREP=$lt_GREP
   21197 
   21198 # An ERE matcher.
   21199 EGREP=$lt_EGREP
   21200 
   21201 # A literal string matcher.
   21202 FGREP=$lt_FGREP
   21203 
   21204 # A BSD- or MS-compatible name lister.
   21205 NM=$lt_NM
   21206 
   21207 # Whether we need soft or hard links.
   21208 LN_S=$lt_LN_S
   21209 
   21210 # What is the maximum length of a command?
   21211 max_cmd_len=$max_cmd_len
   21212 
   21213 # Object file suffix (normally "o").
   21214 objext=$ac_objext
   21215 
   21216 # Executable file suffix (normally "").
   21217 exeext=$exeext
   21218 
   21219 # whether the shell understands "unset".
   21220 lt_unset=$lt_unset
   21221 
   21222 # turn spaces into newlines.
   21223 SP2NL=$lt_lt_SP2NL
   21224 
   21225 # turn newlines into spaces.
   21226 NL2SP=$lt_lt_NL2SP
   21227 
   21228 # convert \$build file names to \$host format.
   21229 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21230 
   21231 # convert \$build files to toolchain format.
   21232 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21233 
   21234 # An object symbol dumper.
   21235 OBJDUMP=$lt_OBJDUMP
   21236 
   21237 # Method to check whether dependent libraries are shared objects.
   21238 deplibs_check_method=$lt_deplibs_check_method
   21239 
   21240 # Command to use when deplibs_check_method = "file_magic".
   21241 file_magic_cmd=$lt_file_magic_cmd
   21242 
   21243 # How to find potential files when deplibs_check_method = "file_magic".
   21244 file_magic_glob=$lt_file_magic_glob
   21245 
   21246 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21247 want_nocaseglob=$lt_want_nocaseglob
   21248 
   21249 # DLL creation program.
   21250 DLLTOOL=$lt_DLLTOOL
   21251 
   21252 # Command to associate shared and link libraries.
   21253 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21254 
   21255 # The archiver.
   21256 AR=$lt_AR
   21257 
   21258 # Flags to create an archive.
   21259 AR_FLAGS=$lt_AR_FLAGS
   21260 
   21261 # How to feed a file listing to the archiver.
   21262 archiver_list_spec=$lt_archiver_list_spec
   21263 
   21264 # A symbol stripping program.
   21265 STRIP=$lt_STRIP
   21266 
   21267 # Commands used to install an old-style archive.
   21268 RANLIB=$lt_RANLIB
   21269 old_postinstall_cmds=$lt_old_postinstall_cmds
   21270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21271 
   21272 # Whether to use a lock for old archive extraction.
   21273 lock_old_archive_extraction=$lock_old_archive_extraction
   21274 
   21275 # A C compiler.
   21276 LTCC=$lt_CC
   21277 
   21278 # LTCC compiler flags.
   21279 LTCFLAGS=$lt_CFLAGS
   21280 
   21281 # Take the output of nm and produce a listing of raw symbols and C names.
   21282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21283 
   21284 # Transform the output of nm in a proper C declaration.
   21285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21286 
   21287 # Transform the output of nm into a list of symbols to manually relocate.
   21288 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21289 
   21290 # Transform the output of nm in a C name address pair.
   21291 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21292 
   21293 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21294 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21295 
   21296 # The name lister interface.
   21297 nm_interface=$lt_lt_cv_nm_interface
   21298 
   21299 # Specify filename containing input files for \$NM.
   21300 nm_file_list_spec=$lt_nm_file_list_spec
   21301 
   21302 # The root where to search for dependent libraries,and where our libraries should be installed.
   21303 lt_sysroot=$lt_sysroot
   21304 
   21305 # Command to truncate a binary pipe.
   21306 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21307 
   21308 # The name of the directory that contains temporary libtool files.
   21309 objdir=$objdir
   21310 
   21311 # Used to examine libraries when file_magic_cmd begins with "file".
   21312 MAGIC_CMD=$MAGIC_CMD
   21313 
   21314 # Must we lock files when doing compilation?
   21315 need_locks=$lt_need_locks
   21316 
   21317 # Manifest tool.
   21318 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21319 
   21320 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21321 DSYMUTIL=$lt_DSYMUTIL
   21322 
   21323 # Tool to change global to local symbols on Mac OS X.
   21324 NMEDIT=$lt_NMEDIT
   21325 
   21326 # Tool to manipulate fat objects and archives on Mac OS X.
   21327 LIPO=$lt_LIPO
   21328 
   21329 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21330 OTOOL=$lt_OTOOL
   21331 
   21332 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21333 OTOOL64=$lt_OTOOL64
   21334 
   21335 # Old archive suffix (normally "a").
   21336 libext=$libext
   21337 
   21338 # Shared library suffix (normally ".so").
   21339 shrext_cmds=$lt_shrext_cmds
   21340 
   21341 # The commands to extract the exported symbol list from a shared archive.
   21342 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21343 
   21344 # Variables whose values should be saved in libtool wrapper scripts and
   21345 # restored at link time.
   21346 variables_saved_for_relink=$lt_variables_saved_for_relink
   21347 
   21348 # Do we need the "lib" prefix for modules?
   21349 need_lib_prefix=$need_lib_prefix
   21350 
   21351 # Do we need a version for libraries?
   21352 need_version=$need_version
   21353 
   21354 # Library versioning type.
   21355 version_type=$version_type
   21356 
   21357 # Shared library runtime path variable.
   21358 runpath_var=$runpath_var
   21359 
   21360 # Shared library path variable.
   21361 shlibpath_var=$shlibpath_var
   21362 
   21363 # Is shlibpath searched before the hard-coded library search path?
   21364 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21365 
   21366 # Format of library name prefix.
   21367 libname_spec=$lt_libname_spec
   21368 
   21369 # List of archive names.  First name is the real one, the rest are links.
   21370 # The last name is the one that the linker finds with -lNAME
   21371 library_names_spec=$lt_library_names_spec
   21372 
   21373 # The coded name of the library, if different from the real name.
   21374 soname_spec=$lt_soname_spec
   21375 
   21376 # Permission mode override for installation of shared libraries.
   21377 install_override_mode=$lt_install_override_mode
   21378 
   21379 # Command to use after installation of a shared archive.
   21380 postinstall_cmds=$lt_postinstall_cmds
   21381 
   21382 # Command to use after uninstallation of a shared archive.
   21383 postuninstall_cmds=$lt_postuninstall_cmds
   21384 
   21385 # Commands used to finish a libtool library installation in a directory.
   21386 finish_cmds=$lt_finish_cmds
   21387 
   21388 # As "finish_cmds", except a single script fragment to be evaled but
   21389 # not shown.
   21390 finish_eval=$lt_finish_eval
   21391 
   21392 # Whether we should hardcode library paths into libraries.
   21393 hardcode_into_libs=$hardcode_into_libs
   21394 
   21395 # Compile-time system search path for libraries.
   21396 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21397 
   21398 # Detected run-time system search path for libraries.
   21399 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21400 
   21401 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21402 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21403 
   21404 # Whether dlopen is supported.
   21405 dlopen_support=$enable_dlopen
   21406 
   21407 # Whether dlopen of programs is supported.
   21408 dlopen_self=$enable_dlopen_self
   21409 
   21410 # Whether dlopen of statically linked programs is supported.
   21411 dlopen_self_static=$enable_dlopen_self_static
   21412 
   21413 # Commands to strip libraries.
   21414 old_striplib=$lt_old_striplib
   21415 striplib=$lt_striplib
   21416 
   21417 
   21418 # The linker used to build libraries.
   21419 LD=$lt_LD
   21420 
   21421 # How to create reloadable object files.
   21422 reload_flag=$lt_reload_flag
   21423 reload_cmds=$lt_reload_cmds
   21424 
   21425 # Commands used to build an old-style archive.
   21426 old_archive_cmds=$lt_old_archive_cmds
   21427 
   21428 # A language specific compiler.
   21429 CC=$lt_compiler
   21430 
   21431 # Is the compiler the GNU compiler?
   21432 with_gcc=$GCC
   21433 
   21434 # Compiler flag to turn off builtin functions.
   21435 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21436 
   21437 # Additional compiler flags for building library objects.
   21438 pic_flag=$lt_lt_prog_compiler_pic
   21439 
   21440 # How to pass a linker flag through the compiler.
   21441 wl=$lt_lt_prog_compiler_wl
   21442 
   21443 # Compiler flag to prevent dynamic linking.
   21444 link_static_flag=$lt_lt_prog_compiler_static
   21445 
   21446 # Does compiler simultaneously support -c and -o options?
   21447 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21448 
   21449 # Whether or not to add -lc for building shared libraries.
   21450 build_libtool_need_lc=$archive_cmds_need_lc
   21451 
   21452 # Whether or not to disallow shared libs when runtime libs are static.
   21453 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21454 
   21455 # Compiler flag to allow reflexive dlopens.
   21456 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21457 
   21458 # Compiler flag to generate shared objects directly from archives.
   21459 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21460 
   21461 # Whether the compiler copes with passing no objects directly.
   21462 compiler_needs_object=$lt_compiler_needs_object
   21463 
   21464 # Create an old-style archive from a shared archive.
   21465 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21466 
   21467 # Create a temporary old-style archive to link instead of a shared archive.
   21468 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21469 
   21470 # Commands used to build a shared archive.
   21471 archive_cmds=$lt_archive_cmds
   21472 archive_expsym_cmds=$lt_archive_expsym_cmds
   21473 
   21474 # Commands used to build a loadable module if different from building
   21475 # a shared archive.
   21476 module_cmds=$lt_module_cmds
   21477 module_expsym_cmds=$lt_module_expsym_cmds
   21478 
   21479 # Whether we are building with GNU ld or not.
   21480 with_gnu_ld=$lt_with_gnu_ld
   21481 
   21482 # Flag that allows shared libraries with undefined symbols to be built.
   21483 allow_undefined_flag=$lt_allow_undefined_flag
   21484 
   21485 # Flag that enforces no undefined symbols.
   21486 no_undefined_flag=$lt_no_undefined_flag
   21487 
   21488 # Flag to hardcode \$libdir into a binary during linking.
   21489 # This must work even if \$libdir does not exist
   21490 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21491 
   21492 # Whether we need a single "-rpath" flag with a separated argument.
   21493 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21494 
   21495 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21496 # DIR into the resulting binary.
   21497 hardcode_direct=$hardcode_direct
   21498 
   21499 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21500 # DIR into the resulting binary and the resulting library dependency is
   21501 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21502 # library is relocated.
   21503 hardcode_direct_absolute=$hardcode_direct_absolute
   21504 
   21505 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21506 # into the resulting binary.
   21507 hardcode_minus_L=$hardcode_minus_L
   21508 
   21509 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21510 # into the resulting binary.
   21511 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21512 
   21513 # Set to "yes" if building a shared library automatically hardcodes DIR
   21514 # into the library and all subsequent libraries and executables linked
   21515 # against it.
   21516 hardcode_automatic=$hardcode_automatic
   21517 
   21518 # Set to yes if linker adds runtime paths of dependent libraries
   21519 # to runtime path list.
   21520 inherit_rpath=$inherit_rpath
   21521 
   21522 # Whether libtool must link a program against all its dependency libraries.
   21523 link_all_deplibs=$link_all_deplibs
   21524 
   21525 # Set to "yes" if exported symbols are required.
   21526 always_export_symbols=$always_export_symbols
   21527 
   21528 # The commands to list exported symbols.
   21529 export_symbols_cmds=$lt_export_symbols_cmds
   21530 
   21531 # Symbols that should not be listed in the preloaded symbols.
   21532 exclude_expsyms=$lt_exclude_expsyms
   21533 
   21534 # Symbols that must always be exported.
   21535 include_expsyms=$lt_include_expsyms
   21536 
   21537 # Commands necessary for linking programs (against libraries) with templates.
   21538 prelink_cmds=$lt_prelink_cmds
   21539 
   21540 # Commands necessary for finishing linking programs.
   21541 postlink_cmds=$lt_postlink_cmds
   21542 
   21543 # Specify filename containing input files.
   21544 file_list_spec=$lt_file_list_spec
   21545 
   21546 # How to hardcode a shared library path into an executable.
   21547 hardcode_action=$hardcode_action
   21548 
   21549 # ### END LIBTOOL CONFIG
   21550 
   21551 _LT_EOF
   21552 
   21553     cat <<'_LT_EOF' >> "$cfgfile"
   21554 
   21555 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21556 
   21557 # func_munge_path_list VARIABLE PATH
   21558 # -----------------------------------
   21559 # VARIABLE is name of variable containing _space_ separated list of
   21560 # directories to be munged by the contents of PATH, which is string
   21561 # having a format:
   21562 # "DIR[:DIR]:"
   21563 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21564 # ":DIR[:DIR]"
   21565 #       string "DIR[ DIR]" will be appended to VARIABLE
   21566 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21567 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21568 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21569 # "DIR[:DIR]"
   21570 #       VARIABLE will be replaced by "DIR[ DIR]"
   21571 func_munge_path_list ()
   21572 {
   21573     case x$2 in
   21574     x)
   21575         ;;
   21576     *:)
   21577         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21578         ;;
   21579     x:*)
   21580         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21581         ;;
   21582     *::*)
   21583         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21584         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21585         ;;
   21586     *)
   21587         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21588         ;;
   21589     esac
   21590 }
   21591 
   21592 
   21593 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21594 func_cc_basename ()
   21595 {
   21596     for cc_temp in $*""; do
   21597       case $cc_temp in
   21598         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21599         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21600         \-*) ;;
   21601         *) break;;
   21602       esac
   21603     done
   21604     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21605 }
   21606 
   21607 
   21608 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21609 
   21610 _LT_EOF
   21611 
   21612   case $host_os in
   21613   aix3*)
   21614     cat <<\_LT_EOF >> "$cfgfile"
   21615 # AIX sometimes has problems with the GCC collect2 program.  For some
   21616 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21617 # vanish in a puff of smoke.
   21618 if test set != "${COLLECT_NAMES+set}"; then
   21619   COLLECT_NAMES=
   21620   export COLLECT_NAMES
   21621 fi
   21622 _LT_EOF
   21623     ;;
   21624   esac
   21625 
   21626 
   21627 ltmain=$ac_aux_dir/ltmain.sh
   21628 
   21629 
   21630   # We use sed instead of cat because bash on DJGPP gets confused if
   21631   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21632   # text mode, it properly converts lines to CR/LF.  This bash problem
   21633   # is reportedly fixed, but why not run on old versions too?
   21634   sed '$q' "$ltmain" >> "$cfgfile" \
   21635      || (rm -f "$cfgfile"; exit 1)
   21636 
   21637    mv -f "$cfgfile" "$ofile" ||
   21638     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21639   chmod +x "$ofile"
   21640 
   21641  ;;
   21642 
   21643   esac
   21644 done # for ac_tag
   21645 
   21646 
   21647 as_fn_exit 0
   21648 _ACEOF
   21649 ac_clean_files=$ac_clean_files_save
   21650 
   21651 test $ac_write_fail = 0 ||
   21652   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21653 
   21654 
   21655 # configure is writing to config.log, and then calls config.status.
   21656 # config.status does its own redirection, appending to config.log.
   21657 # Unfortunately, on DOS this fails, as config.log is still kept open
   21658 # by configure, so config.status won't be able to write to it; its
   21659 # output is simply discarded.  So we exec the FD to /dev/null,
   21660 # effectively closing config.log, so it can be properly (re)opened and
   21661 # appended to by config.status.  When coming back to configure, we
   21662 # need to make the FD available again.
   21663 if test "$no_create" != yes; then
   21664   ac_cs_success=:
   21665   ac_config_status_args=
   21666   test "$silent" = yes &&
   21667     ac_config_status_args="$ac_config_status_args --quiet"
   21668   exec 5>/dev/null
   21669   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21670   exec 5>>config.log
   21671   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21672   # would make configure fail if this is the last instruction.
   21673   $ac_cs_success || as_fn_exit 1
   21674 fi
   21675 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21676   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21677 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21678 fi
   21679 
   21680