Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-r128 6.10.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.10.0'
    595 PACKAGE_STRING='xf86-video-r128 6.10.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 MAINT
    680 MAINTAINER_MODE_FALSE
    681 MAINTAINER_MODE_TRUE
    682 MAN_SUBSTS
    683 XORG_MAN_PAGE
    684 ADMIN_MAN_DIR
    685 DRIVER_MAN_DIR
    686 MISC_MAN_DIR
    687 FILE_MAN_DIR
    688 LIB_MAN_DIR
    689 APP_MAN_DIR
    690 ADMIN_MAN_SUFFIX
    691 DRIVER_MAN_SUFFIX
    692 MISC_MAN_SUFFIX
    693 FILE_MAN_SUFFIX
    694 LIB_MAN_SUFFIX
    695 APP_MAN_SUFFIX
    696 SED
    697 host_os
    698 host_vendor
    699 host_cpu
    700 host
    701 build_os
    702 build_vendor
    703 build_cpu
    704 build
    705 INSTALL_CMD
    706 PKG_CONFIG_LIBDIR
    707 PKG_CONFIG_PATH
    708 PKG_CONFIG
    709 CHANGELOG_CMD
    710 STRICT_CFLAGS
    711 CWARNFLAGS
    712 BASE_CFLAGS
    713 EGREP
    714 GREP
    715 CPP
    716 am__fastdepCC_FALSE
    717 am__fastdepCC_TRUE
    718 CCDEPMODE
    719 am__nodep
    720 AMDEPBACKSLASH
    721 AMDEP_FALSE
    722 AMDEP_TRUE
    723 am__quote
    724 am__include
    725 DEPDIR
    726 OBJEXT
    727 EXEEXT
    728 ac_ct_CC
    729 CPPFLAGS
    730 LDFLAGS
    731 CFLAGS
    732 CC
    733 AM_BACKSLASH
    734 AM_DEFAULT_VERBOSITY
    735 AM_DEFAULT_V
    736 AM_V
    737 am__untar
    738 am__tar
    739 AMTAR
    740 am__leading_dot
    741 SET_MAKE
    742 AWK
    743 mkdir_p
    744 MKDIR_P
    745 INSTALL_STRIP_PROGRAM
    746 STRIP
    747 install_sh
    748 MAKEINFO
    749 AUTOHEADER
    750 AUTOMAKE
    751 AUTOCONF
    752 ACLOCAL
    753 VERSION
    754 PACKAGE
    755 CYGPATH_W
    756 am__isrc
    757 INSTALL_DATA
    758 INSTALL_SCRIPT
    759 INSTALL_PROGRAM
    760 target_alias
    761 host_alias
    762 build_alias
    763 LIBS
    764 ECHO_T
    765 ECHO_N
    766 ECHO_C
    767 DEFS
    768 mandir
    769 localedir
    770 libdir
    771 psdir
    772 pdfdir
    773 dvidir
    774 htmldir
    775 infodir
    776 docdir
    777 oldincludedir
    778 includedir
    779 localstatedir
    780 sharedstatedir
    781 sysconfdir
    782 datadir
    783 datarootdir
    784 libexecdir
    785 sbindir
    786 bindir
    787 program_transform_name
    788 prefix
    789 exec_prefix
    790 PACKAGE_URL
    791 PACKAGE_BUGREPORT
    792 PACKAGE_STRING
    793 PACKAGE_VERSION
    794 PACKAGE_TARNAME
    795 PACKAGE_NAME
    796 PATH_SEPARATOR
    797 SHELL'
    798 ac_subst_files=''
    799 ac_user_opts='
    800 enable_option_checking
    801 enable_silent_rules
    802 enable_dependency_tracking
    803 enable_selective_werror
    804 enable_strict_compilation
    805 enable_maintainer_mode
    806 enable_static
    807 enable_shared
    808 with_pic
    809 enable_fast_install
    810 with_aix_soname
    811 with_gnu_ld
    812 with_sysroot
    813 enable_libtool_lock
    814 with_xorg_module_dir
    815 enable_dri
    816 enable_exa
    817 enable_xaa
    818 '
    819       ac_precious_vars='build_alias
    820 host_alias
    821 target_alias
    822 CC
    823 CFLAGS
    824 LDFLAGS
    825 LIBS
    826 CPPFLAGS
    827 CPP
    828 PKG_CONFIG
    829 PKG_CONFIG_PATH
    830 PKG_CONFIG_LIBDIR
    831 LT_SYS_LIBRARY_PATH
    832 XORG_CFLAGS
    833 XORG_LIBS
    834 XEXT_CFLAGS
    835 XEXT_LIBS
    836 DRI_CFLAGS
    837 DRI_LIBS
    838 PCIACCESS_CFLAGS
    839 PCIACCESS_LIBS'
    840 
    841 
    842 # Initialize some variables set by options.
    843 ac_init_help=
    844 ac_init_version=false
    845 ac_unrecognized_opts=
    846 ac_unrecognized_sep=
    847 # The variables have the same names as the options, with
    848 # dashes changed to underlines.
    849 cache_file=/dev/null
    850 exec_prefix=NONE
    851 no_create=
    852 no_recursion=
    853 prefix=NONE
    854 program_prefix=NONE
    855 program_suffix=NONE
    856 program_transform_name=s,x,x,
    857 silent=
    858 site=
    859 srcdir=
    860 verbose=
    861 x_includes=NONE
    862 x_libraries=NONE
    863 
    864 # Installation directory options.
    865 # These are left unexpanded so users can "make install exec_prefix=/foo"
    866 # and all the variables that are supposed to be based on exec_prefix
    867 # by default will actually change.
    868 # Use braces instead of parens because sh, perl, etc. also accept them.
    869 # (The list follows the same order as the GNU Coding Standards.)
    870 bindir='${exec_prefix}/bin'
    871 sbindir='${exec_prefix}/sbin'
    872 libexecdir='${exec_prefix}/libexec'
    873 datarootdir='${prefix}/share'
    874 datadir='${datarootdir}'
    875 sysconfdir='${prefix}/etc'
    876 sharedstatedir='${prefix}/com'
    877 localstatedir='${prefix}/var'
    878 includedir='${prefix}/include'
    879 oldincludedir='/usr/include'
    880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    881 infodir='${datarootdir}/info'
    882 htmldir='${docdir}'
    883 dvidir='${docdir}'
    884 pdfdir='${docdir}'
    885 psdir='${docdir}'
    886 libdir='${exec_prefix}/lib'
    887 localedir='${datarootdir}/locale'
    888 mandir='${datarootdir}/man'
    889 
    890 ac_prev=
    891 ac_dashdash=
    892 for ac_option
    893 do
    894   # If the previous option needs an argument, assign it.
    895   if test -n "$ac_prev"; then
    896     eval $ac_prev=\$ac_option
    897     ac_prev=
    898     continue
    899   fi
    900 
    901   case $ac_option in
    902   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    903   *=)   ac_optarg= ;;
    904   *)    ac_optarg=yes ;;
    905   esac
    906 
    907   # Accept the important Cygnus configure options, so we can diagnose typos.
    908 
    909   case $ac_dashdash$ac_option in
    910   --)
    911     ac_dashdash=yes ;;
    912 
    913   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    914     ac_prev=bindir ;;
    915   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    916     bindir=$ac_optarg ;;
    917 
    918   -build | --build | --buil | --bui | --bu)
    919     ac_prev=build_alias ;;
    920   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    921     build_alias=$ac_optarg ;;
    922 
    923   -cache-file | --cache-file | --cache-fil | --cache-fi \
    924   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    925     ac_prev=cache_file ;;
    926   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    927   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    928     cache_file=$ac_optarg ;;
    929 
    930   --config-cache | -C)
    931     cache_file=config.cache ;;
    932 
    933   -datadir | --datadir | --datadi | --datad)
    934     ac_prev=datadir ;;
    935   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    936     datadir=$ac_optarg ;;
    937 
    938   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    939   | --dataroo | --dataro | --datar)
    940     ac_prev=datarootdir ;;
    941   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    942   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    943     datarootdir=$ac_optarg ;;
    944 
    945   -disable-* | --disable-*)
    946     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    947     # Reject names that are not valid shell variable names.
    948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    949       as_fn_error $? "invalid feature name: $ac_useropt"
    950     ac_useropt_orig=$ac_useropt
    951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    952     case $ac_user_opts in
    953       *"
    954 "enable_$ac_useropt"
    955 "*) ;;
    956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    957 	 ac_unrecognized_sep=', ';;
    958     esac
    959     eval enable_$ac_useropt=no ;;
    960 
    961   -docdir | --docdir | --docdi | --doc | --do)
    962     ac_prev=docdir ;;
    963   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    964     docdir=$ac_optarg ;;
    965 
    966   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    967     ac_prev=dvidir ;;
    968   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    969     dvidir=$ac_optarg ;;
    970 
    971   -enable-* | --enable-*)
    972     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    973     # Reject names that are not valid shell variable names.
    974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    975       as_fn_error $? "invalid feature name: $ac_useropt"
    976     ac_useropt_orig=$ac_useropt
    977     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    978     case $ac_user_opts in
    979       *"
    980 "enable_$ac_useropt"
    981 "*) ;;
    982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    983 	 ac_unrecognized_sep=', ';;
    984     esac
    985     eval enable_$ac_useropt=\$ac_optarg ;;
    986 
    987   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    988   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    989   | --exec | --exe | --ex)
    990     ac_prev=exec_prefix ;;
    991   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    992   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    993   | --exec=* | --exe=* | --ex=*)
    994     exec_prefix=$ac_optarg ;;
    995 
    996   -gas | --gas | --ga | --g)
    997     # Obsolete; use --with-gas.
    998     with_gas=yes ;;
    999 
   1000   -help | --help | --hel | --he | -h)
   1001     ac_init_help=long ;;
   1002   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1003     ac_init_help=recursive ;;
   1004   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1005     ac_init_help=short ;;
   1006 
   1007   -host | --host | --hos | --ho)
   1008     ac_prev=host_alias ;;
   1009   -host=* | --host=* | --hos=* | --ho=*)
   1010     host_alias=$ac_optarg ;;
   1011 
   1012   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1013     ac_prev=htmldir ;;
   1014   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1015   | --ht=*)
   1016     htmldir=$ac_optarg ;;
   1017 
   1018   -includedir | --includedir | --includedi | --included | --include \
   1019   | --includ | --inclu | --incl | --inc)
   1020     ac_prev=includedir ;;
   1021   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1022   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1023     includedir=$ac_optarg ;;
   1024 
   1025   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1026     ac_prev=infodir ;;
   1027   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1028     infodir=$ac_optarg ;;
   1029 
   1030   -libdir | --libdir | --libdi | --libd)
   1031     ac_prev=libdir ;;
   1032   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1033     libdir=$ac_optarg ;;
   1034 
   1035   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1036   | --libexe | --libex | --libe)
   1037     ac_prev=libexecdir ;;
   1038   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1039   | --libexe=* | --libex=* | --libe=*)
   1040     libexecdir=$ac_optarg ;;
   1041 
   1042   -localedir | --localedir | --localedi | --localed | --locale)
   1043     ac_prev=localedir ;;
   1044   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1045     localedir=$ac_optarg ;;
   1046 
   1047   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1048   | --localstate | --localstat | --localsta | --localst | --locals)
   1049     ac_prev=localstatedir ;;
   1050   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1051   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1052     localstatedir=$ac_optarg ;;
   1053 
   1054   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1055     ac_prev=mandir ;;
   1056   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1057     mandir=$ac_optarg ;;
   1058 
   1059   -nfp | --nfp | --nf)
   1060     # Obsolete; use --without-fp.
   1061     with_fp=no ;;
   1062 
   1063   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1064   | --no-cr | --no-c | -n)
   1065     no_create=yes ;;
   1066 
   1067   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1068   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1069     no_recursion=yes ;;
   1070 
   1071   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1072   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1073   | --oldin | --oldi | --old | --ol | --o)
   1074     ac_prev=oldincludedir ;;
   1075   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1076   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1077   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1078     oldincludedir=$ac_optarg ;;
   1079 
   1080   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1081     ac_prev=prefix ;;
   1082   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1083     prefix=$ac_optarg ;;
   1084 
   1085   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1086   | --program-pre | --program-pr | --program-p)
   1087     ac_prev=program_prefix ;;
   1088   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1089   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1090     program_prefix=$ac_optarg ;;
   1091 
   1092   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1093   | --program-suf | --program-su | --program-s)
   1094     ac_prev=program_suffix ;;
   1095   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1096   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1097     program_suffix=$ac_optarg ;;
   1098 
   1099   -program-transform-name | --program-transform-name \
   1100   | --program-transform-nam | --program-transform-na \
   1101   | --program-transform-n | --program-transform- \
   1102   | --program-transform | --program-transfor \
   1103   | --program-transfo | --program-transf \
   1104   | --program-trans | --program-tran \
   1105   | --progr-tra | --program-tr | --program-t)
   1106     ac_prev=program_transform_name ;;
   1107   -program-transform-name=* | --program-transform-name=* \
   1108   | --program-transform-nam=* | --program-transform-na=* \
   1109   | --program-transform-n=* | --program-transform-=* \
   1110   | --program-transform=* | --program-transfor=* \
   1111   | --program-transfo=* | --program-transf=* \
   1112   | --program-trans=* | --program-tran=* \
   1113   | --progr-tra=* | --program-tr=* | --program-t=*)
   1114     program_transform_name=$ac_optarg ;;
   1115 
   1116   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1117     ac_prev=pdfdir ;;
   1118   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1119     pdfdir=$ac_optarg ;;
   1120 
   1121   -psdir | --psdir | --psdi | --psd | --ps)
   1122     ac_prev=psdir ;;
   1123   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1124     psdir=$ac_optarg ;;
   1125 
   1126   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1127   | -silent | --silent | --silen | --sile | --sil)
   1128     silent=yes ;;
   1129 
   1130   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1131     ac_prev=sbindir ;;
   1132   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1133   | --sbi=* | --sb=*)
   1134     sbindir=$ac_optarg ;;
   1135 
   1136   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1137   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1138   | --sharedst | --shareds | --shared | --share | --shar \
   1139   | --sha | --sh)
   1140     ac_prev=sharedstatedir ;;
   1141   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1142   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1143   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1144   | --sha=* | --sh=*)
   1145     sharedstatedir=$ac_optarg ;;
   1146 
   1147   -site | --site | --sit)
   1148     ac_prev=site ;;
   1149   -site=* | --site=* | --sit=*)
   1150     site=$ac_optarg ;;
   1151 
   1152   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1153     ac_prev=srcdir ;;
   1154   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1155     srcdir=$ac_optarg ;;
   1156 
   1157   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1158   | --syscon | --sysco | --sysc | --sys | --sy)
   1159     ac_prev=sysconfdir ;;
   1160   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1161   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1162     sysconfdir=$ac_optarg ;;
   1163 
   1164   -target | --target | --targe | --targ | --tar | --ta | --t)
   1165     ac_prev=target_alias ;;
   1166   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1167     target_alias=$ac_optarg ;;
   1168 
   1169   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1170     verbose=yes ;;
   1171 
   1172   -version | --version | --versio | --versi | --vers | -V)
   1173     ac_init_version=: ;;
   1174 
   1175   -with-* | --with-*)
   1176     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1177     # Reject names that are not valid shell variable names.
   1178     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1179       as_fn_error $? "invalid package name: $ac_useropt"
   1180     ac_useropt_orig=$ac_useropt
   1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1182     case $ac_user_opts in
   1183       *"
   1184 "with_$ac_useropt"
   1185 "*) ;;
   1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1187 	 ac_unrecognized_sep=', ';;
   1188     esac
   1189     eval with_$ac_useropt=\$ac_optarg ;;
   1190 
   1191   -without-* | --without-*)
   1192     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1193     # Reject names that are not valid shell variable names.
   1194     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1195       as_fn_error $? "invalid package name: $ac_useropt"
   1196     ac_useropt_orig=$ac_useropt
   1197     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1198     case $ac_user_opts in
   1199       *"
   1200 "with_$ac_useropt"
   1201 "*) ;;
   1202       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1203 	 ac_unrecognized_sep=', ';;
   1204     esac
   1205     eval with_$ac_useropt=no ;;
   1206 
   1207   --x)
   1208     # Obsolete; use --with-x.
   1209     with_x=yes ;;
   1210 
   1211   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1212   | --x-incl | --x-inc | --x-in | --x-i)
   1213     ac_prev=x_includes ;;
   1214   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1215   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1216     x_includes=$ac_optarg ;;
   1217 
   1218   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1219   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1220     ac_prev=x_libraries ;;
   1221   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1222   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1223     x_libraries=$ac_optarg ;;
   1224 
   1225   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1226 Try \`$0 --help' for more information"
   1227     ;;
   1228 
   1229   *=*)
   1230     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1231     # Reject names that are not valid shell variable names.
   1232     case $ac_envvar in #(
   1233       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1234       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1235     esac
   1236     eval $ac_envvar=\$ac_optarg
   1237     export $ac_envvar ;;
   1238 
   1239   *)
   1240     # FIXME: should be removed in autoconf 3.0.
   1241     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1242     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1243       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1244     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1245     ;;
   1246 
   1247   esac
   1248 done
   1249 
   1250 if test -n "$ac_prev"; then
   1251   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1252   as_fn_error $? "missing argument to $ac_option"
   1253 fi
   1254 
   1255 if test -n "$ac_unrecognized_opts"; then
   1256   case $enable_option_checking in
   1257     no) ;;
   1258     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1259     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1260   esac
   1261 fi
   1262 
   1263 # Check all directory arguments for consistency.
   1264 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1265 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1266 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1267 		libdir localedir mandir
   1268 do
   1269   eval ac_val=\$$ac_var
   1270   # Remove trailing slashes.
   1271   case $ac_val in
   1272     */ )
   1273       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1274       eval $ac_var=\$ac_val;;
   1275   esac
   1276   # Be sure to have absolute directory names.
   1277   case $ac_val in
   1278     [\\/$]* | ?:[\\/]* )  continue;;
   1279     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1280   esac
   1281   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1282 done
   1283 
   1284 # There might be people who depend on the old broken behavior: `$host'
   1285 # used to hold the argument of --host etc.
   1286 # FIXME: To remove some day.
   1287 build=$build_alias
   1288 host=$host_alias
   1289 target=$target_alias
   1290 
   1291 # FIXME: To remove some day.
   1292 if test "x$host_alias" != x; then
   1293   if test "x$build_alias" = x; then
   1294     cross_compiling=maybe
   1295   elif test "x$build_alias" != "x$host_alias"; then
   1296     cross_compiling=yes
   1297   fi
   1298 fi
   1299 
   1300 ac_tool_prefix=
   1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1302 
   1303 test "$silent" = yes && exec 6>/dev/null
   1304 
   1305 
   1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1307 ac_ls_di=`ls -di .` &&
   1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1309   as_fn_error $? "working directory cannot be determined"
   1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1311   as_fn_error $? "pwd does not report name of working directory"
   1312 
   1313 
   1314 # Find the source files, if location was not specified.
   1315 if test -z "$srcdir"; then
   1316   ac_srcdir_defaulted=yes
   1317   # Try the directory containing this script, then the parent directory.
   1318   ac_confdir=`$as_dirname -- "$as_myself" ||
   1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1320 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1321 	 X"$as_myself" : 'X\(//\)$' \| \
   1322 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1323 $as_echo X"$as_myself" |
   1324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  /^X\(\/\/\)[^/].*/{
   1329 	    s//\1/
   1330 	    q
   1331 	  }
   1332 	  /^X\(\/\/\)$/{
   1333 	    s//\1/
   1334 	    q
   1335 	  }
   1336 	  /^X\(\/\).*/{
   1337 	    s//\1/
   1338 	    q
   1339 	  }
   1340 	  s/.*/./; q'`
   1341   srcdir=$ac_confdir
   1342   if test ! -r "$srcdir/$ac_unique_file"; then
   1343     srcdir=..
   1344   fi
   1345 else
   1346   ac_srcdir_defaulted=no
   1347 fi
   1348 if test ! -r "$srcdir/$ac_unique_file"; then
   1349   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1350   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1351 fi
   1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1353 ac_abs_confdir=`(
   1354 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1355 	pwd)`
   1356 # When building in place, set srcdir=.
   1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1358   srcdir=.
   1359 fi
   1360 # Remove unnecessary trailing slashes from srcdir.
   1361 # Double slashes in file names in object file debugging info
   1362 # mess up M-x gdb in Emacs.
   1363 case $srcdir in
   1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1365 esac
   1366 for ac_var in $ac_precious_vars; do
   1367   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1368   eval ac_env_${ac_var}_value=\$${ac_var}
   1369   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1370   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1371 done
   1372 
   1373 #
   1374 # Report the --help message.
   1375 #
   1376 if test "$ac_init_help" = "long"; then
   1377   # Omit some internal or obsolete options to make the list less imposing.
   1378   # This message is too long to be a string in the A/UX 3.1 sh.
   1379   cat <<_ACEOF
   1380 \`configure' configures xf86-video-r128 6.10.0 to adapt to many kinds of systems.
   1381 
   1382 Usage: $0 [OPTION]... [VAR=VALUE]...
   1383 
   1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1385 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1386 
   1387 Defaults for the options are specified in brackets.
   1388 
   1389 Configuration:
   1390   -h, --help              display this help and exit
   1391       --help=short        display options specific to this package
   1392       --help=recursive    display the short help of all the included packages
   1393   -V, --version           display version information and exit
   1394   -q, --quiet, --silent   do not print \`checking ...' messages
   1395       --cache-file=FILE   cache test results in FILE [disabled]
   1396   -C, --config-cache      alias for \`--cache-file=config.cache'
   1397   -n, --no-create         do not create output files
   1398       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1399 
   1400 Installation directories:
   1401   --prefix=PREFIX         install architecture-independent files in PREFIX
   1402                           [$ac_default_prefix]
   1403   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1404                           [PREFIX]
   1405 
   1406 By default, \`make install' will install all the files in
   1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1409 for instance \`--prefix=\$HOME'.
   1410 
   1411 For better control, use the options below.
   1412 
   1413 Fine tuning of the installation directories:
   1414   --bindir=DIR            user executables [EPREFIX/bin]
   1415   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1416   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1417   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1418   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1419   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1420   --libdir=DIR            object code libraries [EPREFIX/lib]
   1421   --includedir=DIR        C header files [PREFIX/include]
   1422   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1423   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1424   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1425   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1426   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1427   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1428   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-r128]
   1429   --htmldir=DIR           html documentation [DOCDIR]
   1430   --dvidir=DIR            dvi documentation [DOCDIR]
   1431   --pdfdir=DIR            pdf documentation [DOCDIR]
   1432   --psdir=DIR             ps documentation [DOCDIR]
   1433 _ACEOF
   1434 
   1435   cat <<\_ACEOF
   1436 
   1437 Program names:
   1438   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1439   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1440   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1441 
   1442 System types:
   1443   --build=BUILD     configure for building on BUILD [guessed]
   1444   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1445 _ACEOF
   1446 fi
   1447 
   1448 if test -n "$ac_init_help"; then
   1449   case $ac_init_help in
   1450      short | recursive ) echo "Configuration of xf86-video-r128 6.10.0:";;
   1451    esac
   1452   cat <<\_ACEOF
   1453 
   1454 Optional Features:
   1455   --disable-option-checking  ignore unrecognized --enable/--with options
   1456   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1457   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1458   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1459   --disable-silent-rules  verbose build output (undo: "make V=0")
   1460   --enable-dependency-tracking
   1461                           do not reject slow dependency extractors
   1462   --disable-dependency-tracking
   1463                           speeds up one-time build
   1464   --disable-selective-werror
   1465                           Turn off selective compiler errors. (default:
   1466                           enabled)
   1467   --enable-strict-compilation
   1468                           Enable all warnings from compiler and make them
   1469                           errors (default: disabled)
   1470   --enable-maintainer-mode
   1471                           enable make rules and dependencies not useful (and
   1472                           sometimes confusing) to the casual installer
   1473   --enable-static[=PKGS]  build static libraries [default=no]
   1474   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1475   --enable-fast-install[=PKGS]
   1476                           optimize for fast installation [default=yes]
   1477   --disable-libtool-lock  avoid locking (might break parallel builds)
   1478   --disable-dri           Disable DRI support [[default=auto]]
   1479   --disable-exa           Disable EXA support [[default=enabled]]
   1480   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1481                           [default=auto]
   1482 
   1483 Optional Packages:
   1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1486   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1487                           both]
   1488   --with-aix-soname=aix|svr4|both
   1489                           shared library versioning (aka "SONAME") variant to
   1490                           provide on AIX, [default=aix].
   1491   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1492   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1493                           compiler's sysroot if not specified).
   1494   --with-xorg-module-dir=DIR
   1495                           Default xorg module directory
   1496                           [[default=$libdir/xorg/modules]]
   1497 
   1498 Some influential environment variables:
   1499   CC          C compiler command
   1500   CFLAGS      C compiler flags
   1501   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1502               nonstandard directory <lib dir>
   1503   LIBS        libraries to pass to the linker, e.g. -l<library>
   1504   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1505               you have headers in a nonstandard directory <include dir>
   1506   CPP         C preprocessor
   1507   PKG_CONFIG  path to pkg-config utility
   1508   PKG_CONFIG_PATH
   1509               directories to add to pkg-config's search path
   1510   PKG_CONFIG_LIBDIR
   1511               path overriding pkg-config's built-in search path
   1512   LT_SYS_LIBRARY_PATH
   1513               User-defined run-time library search path.
   1514   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1515   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1516   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1517   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1518   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1519   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1520   PCIACCESS_CFLAGS
   1521               C compiler flags for PCIACCESS, overriding pkg-config
   1522   PCIACCESS_LIBS
   1523               linker flags for PCIACCESS, overriding pkg-config
   1524 
   1525 Use these variables to override the choices made by `configure' or to help
   1526 it to find libraries and programs with nonstandard names/locations.
   1527 
   1528 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1529 _ACEOF
   1530 ac_status=$?
   1531 fi
   1532 
   1533 if test "$ac_init_help" = "recursive"; then
   1534   # If there are subdirs, report their specific --help.
   1535   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1536     test -d "$ac_dir" ||
   1537       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1538       continue
   1539     ac_builddir=.
   1540 
   1541 case "$ac_dir" in
   1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1543 *)
   1544   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1545   # A ".." for each directory in $ac_dir_suffix.
   1546   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1547   case $ac_top_builddir_sub in
   1548   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1549   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1550   esac ;;
   1551 esac
   1552 ac_abs_top_builddir=$ac_pwd
   1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1554 # for backward compatibility:
   1555 ac_top_builddir=$ac_top_build_prefix
   1556 
   1557 case $srcdir in
   1558   .)  # We are building in place.
   1559     ac_srcdir=.
   1560     ac_top_srcdir=$ac_top_builddir_sub
   1561     ac_abs_top_srcdir=$ac_pwd ;;
   1562   [\\/]* | ?:[\\/]* )  # Absolute name.
   1563     ac_srcdir=$srcdir$ac_dir_suffix;
   1564     ac_top_srcdir=$srcdir
   1565     ac_abs_top_srcdir=$srcdir ;;
   1566   *) # Relative name.
   1567     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1568     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1569     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1570 esac
   1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1572 
   1573     cd "$ac_dir" || { ac_status=$?; continue; }
   1574     # Check for guested configure.
   1575     if test -f "$ac_srcdir/configure.gnu"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1578     elif test -f "$ac_srcdir/configure"; then
   1579       echo &&
   1580       $SHELL "$ac_srcdir/configure" --help=recursive
   1581     else
   1582       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1583     fi || ac_status=$?
   1584     cd "$ac_pwd" || { ac_status=$?; break; }
   1585   done
   1586 fi
   1587 
   1588 test -n "$ac_init_help" && exit $ac_status
   1589 if $ac_init_version; then
   1590   cat <<\_ACEOF
   1591 xf86-video-r128 configure 6.10.0
   1592 generated by GNU Autoconf 2.69
   1593 
   1594 Copyright (C) 2012 Free Software Foundation, Inc.
   1595 This configure script is free software; the Free Software Foundation
   1596 gives unlimited permission to copy, distribute and modify it.
   1597 _ACEOF
   1598   exit
   1599 fi
   1600 
   1601 ## ------------------------ ##
   1602 ## Autoconf initialization. ##
   1603 ## ------------------------ ##
   1604 
   1605 # ac_fn_c_try_compile LINENO
   1606 # --------------------------
   1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1608 ac_fn_c_try_compile ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   rm -f conftest.$ac_objext
   1612   if { { ac_try="$ac_compile"
   1613 case "(($ac_try" in
   1614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1615   *) ac_try_echo=$ac_try;;
   1616 esac
   1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1618 $as_echo "$ac_try_echo"; } >&5
   1619   (eval "$ac_compile") 2>conftest.err
   1620   ac_status=$?
   1621   if test -s conftest.err; then
   1622     grep -v '^ *+' conftest.err >conftest.er1
   1623     cat conftest.er1 >&5
   1624     mv -f conftest.er1 conftest.err
   1625   fi
   1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1627   test $ac_status = 0; } && {
   1628 	 test -z "$ac_c_werror_flag" ||
   1629 	 test ! -s conftest.err
   1630        } && test -s conftest.$ac_objext; then :
   1631   ac_retval=0
   1632 else
   1633   $as_echo "$as_me: failed program was:" >&5
   1634 sed 's/^/| /' conftest.$ac_ext >&5
   1635 
   1636 	ac_retval=1
   1637 fi
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639   as_fn_set_status $ac_retval
   1640 
   1641 } # ac_fn_c_try_compile
   1642 
   1643 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1644 # ---------------------------------------------
   1645 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1646 # accordingly.
   1647 ac_fn_c_check_decl ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1651   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1653 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1654 if eval \${$3+:} false; then :
   1655   $as_echo_n "(cached) " >&6
   1656 else
   1657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1658 /* end confdefs.h.  */
   1659 $4
   1660 int
   1661 main ()
   1662 {
   1663 #ifndef $as_decl_name
   1664 #ifdef __cplusplus
   1665   (void) $as_decl_use;
   1666 #else
   1667   (void) $as_decl_name;
   1668 #endif
   1669 #endif
   1670 
   1671   ;
   1672   return 0;
   1673 }
   1674 _ACEOF
   1675 if ac_fn_c_try_compile "$LINENO"; then :
   1676   eval "$3=yes"
   1677 else
   1678   eval "$3=no"
   1679 fi
   1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1681 fi
   1682 eval ac_res=\$$3
   1683 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1684 $as_echo "$ac_res" >&6; }
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686 
   1687 } # ac_fn_c_check_decl
   1688 
   1689 # ac_fn_c_try_cpp LINENO
   1690 # ----------------------
   1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1692 ac_fn_c_try_cpp ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1696 case "(($ac_try" in
   1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1698   *) ac_try_echo=$ac_try;;
   1699 esac
   1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1701 $as_echo "$ac_try_echo"; } >&5
   1702   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1703   ac_status=$?
   1704   if test -s conftest.err; then
   1705     grep -v '^ *+' conftest.err >conftest.er1
   1706     cat conftest.er1 >&5
   1707     mv -f conftest.er1 conftest.err
   1708   fi
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; } > conftest.i && {
   1711 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1712 	 test ! -s conftest.err
   1713        }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719     ac_retval=1
   1720 fi
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722   as_fn_set_status $ac_retval
   1723 
   1724 } # ac_fn_c_try_cpp
   1725 
   1726 # ac_fn_c_try_run LINENO
   1727 # ----------------------
   1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1729 # that executables *can* be run.
   1730 ac_fn_c_try_run ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   if { { ac_try="$ac_link"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_link") 2>&5
   1741   ac_status=$?
   1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1743   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1744   { { case "(($ac_try" in
   1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1746   *) ac_try_echo=$ac_try;;
   1747 esac
   1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1749 $as_echo "$ac_try_echo"; } >&5
   1750   (eval "$ac_try") 2>&5
   1751   ac_status=$?
   1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; }; }; then :
   1754   ac_retval=0
   1755 else
   1756   $as_echo "$as_me: program exited with status $ac_status" >&5
   1757        $as_echo "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760        ac_retval=$ac_status
   1761 fi
   1762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1764   as_fn_set_status $ac_retval
   1765 
   1766 } # ac_fn_c_try_run
   1767 
   1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1769 # -------------------------------------------------------
   1770 # Tests whether HEADER exists and can be compiled using the include files in
   1771 # INCLUDES, setting the cache variable VAR accordingly.
   1772 ac_fn_c_check_header_compile ()
   1773 {
   1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1776 $as_echo_n "checking for $2... " >&6; }
   1777 if eval \${$3+:} false; then :
   1778   $as_echo_n "(cached) " >&6
   1779 else
   1780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1781 /* end confdefs.h.  */
   1782 $4
   1783 #include <$2>
   1784 _ACEOF
   1785 if ac_fn_c_try_compile "$LINENO"; then :
   1786   eval "$3=yes"
   1787 else
   1788   eval "$3=no"
   1789 fi
   1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_header_compile
   1798 
   1799 # ac_fn_c_try_link LINENO
   1800 # -----------------------
   1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1802 ac_fn_c_try_link ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   rm -f conftest.$ac_objext conftest$ac_exeext
   1806   if { { ac_try="$ac_link"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_link") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } && {
   1822 	 test -z "$ac_c_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        } && test -s conftest$ac_exeext && {
   1825 	 test "$cross_compiling" = yes ||
   1826 	 test -x conftest$ac_exeext
   1827        }; then :
   1828   ac_retval=0
   1829 else
   1830   $as_echo "$as_me: failed program was:" >&5
   1831 sed 's/^/| /' conftest.$ac_ext >&5
   1832 
   1833 	ac_retval=1
   1834 fi
   1835   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1836   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1837   # interfere with the next link command; also delete a directory that is
   1838   # left behind by Apple's compiler.  We do this before executing the actions.
   1839   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1841   as_fn_set_status $ac_retval
   1842 
   1843 } # ac_fn_c_try_link
   1844 
   1845 # ac_fn_c_check_func LINENO FUNC VAR
   1846 # ----------------------------------
   1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1848 ac_fn_c_check_func ()
   1849 {
   1850   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1852 $as_echo_n "checking for $2... " >&6; }
   1853 if eval \${$3+:} false; then :
   1854   $as_echo_n "(cached) " >&6
   1855 else
   1856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1857 /* end confdefs.h.  */
   1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1860 #define $2 innocuous_$2
   1861 
   1862 /* System header to define __stub macros and hopefully few prototypes,
   1863     which can conflict with char $2 (); below.
   1864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1865     <limits.h> exists even on freestanding compilers.  */
   1866 
   1867 #ifdef __STDC__
   1868 # include <limits.h>
   1869 #else
   1870 # include <assert.h>
   1871 #endif
   1872 
   1873 #undef $2
   1874 
   1875 /* Override any GCC internal prototype to avoid an error.
   1876    Use char because int might match the return type of a GCC
   1877    builtin and then its argument prototype would still apply.  */
   1878 #ifdef __cplusplus
   1879 extern "C"
   1880 #endif
   1881 char $2 ();
   1882 /* The GNU C library defines this for functions which it implements
   1883     to always fail with ENOSYS.  Some functions are actually named
   1884     something starting with __ and the normal name is an alias.  */
   1885 #if defined __stub_$2 || defined __stub___$2
   1886 choke me
   1887 #endif
   1888 
   1889 int
   1890 main ()
   1891 {
   1892 return $2 ();
   1893   ;
   1894   return 0;
   1895 }
   1896 _ACEOF
   1897 if ac_fn_c_try_link "$LINENO"; then :
   1898   eval "$3=yes"
   1899 else
   1900   eval "$3=no"
   1901 fi
   1902 rm -f core conftest.err conftest.$ac_objext \
   1903     conftest$ac_exeext conftest.$ac_ext
   1904 fi
   1905 eval ac_res=\$$3
   1906 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1907 $as_echo "$ac_res" >&6; }
   1908   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1909 
   1910 } # ac_fn_c_check_func
   1911 
   1912 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1913 # -------------------------------------------------------
   1914 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1915 # the include files in INCLUDES and setting the cache variable VAR
   1916 # accordingly.
   1917 ac_fn_c_check_header_mongrel ()
   1918 {
   1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1920   if eval \${$3+:} false; then :
   1921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1922 $as_echo_n "checking for $2... " >&6; }
   1923 if eval \${$3+:} false; then :
   1924   $as_echo_n "(cached) " >&6
   1925 fi
   1926 eval ac_res=\$$3
   1927 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1928 $as_echo "$ac_res" >&6; }
   1929 else
   1930   # Is the header compilable?
   1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1932 $as_echo_n "checking $2 usability... " >&6; }
   1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1934 /* end confdefs.h.  */
   1935 $4
   1936 #include <$2>
   1937 _ACEOF
   1938 if ac_fn_c_try_compile "$LINENO"; then :
   1939   ac_header_compiler=yes
   1940 else
   1941   ac_header_compiler=no
   1942 fi
   1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1945 $as_echo "$ac_header_compiler" >&6; }
   1946 
   1947 # Is the header present?
   1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1949 $as_echo_n "checking $2 presence... " >&6; }
   1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1951 /* end confdefs.h.  */
   1952 #include <$2>
   1953 _ACEOF
   1954 if ac_fn_c_try_cpp "$LINENO"; then :
   1955   ac_header_preproc=yes
   1956 else
   1957   ac_header_preproc=no
   1958 fi
   1959 rm -f conftest.err conftest.i conftest.$ac_ext
   1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1961 $as_echo "$ac_header_preproc" >&6; }
   1962 
   1963 # So?  What about this header?
   1964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1965   yes:no: )
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1967 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1970     ;;
   1971   no:yes:* )
   1972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1973 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1975 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1977 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1978     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1979 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1980     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1981 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1982 ( $as_echo "## ---------------------------------------------------------------------- ##
   1983 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1984 ## ---------------------------------------------------------------------- ##"
   1985      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1986     ;;
   1987 esac
   1988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1989 $as_echo_n "checking for $2... " >&6; }
   1990 if eval \${$3+:} false; then :
   1991   $as_echo_n "(cached) " >&6
   1992 else
   1993   eval "$3=\$ac_header_compiler"
   1994 fi
   1995 eval ac_res=\$$3
   1996 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1997 $as_echo "$ac_res" >&6; }
   1998 fi
   1999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2000 
   2001 } # ac_fn_c_check_header_mongrel
   2002 cat >config.log <<_ACEOF
   2003 This file contains any messages produced by compilers while
   2004 running configure, to aid debugging if configure makes a mistake.
   2005 
   2006 It was created by xf86-video-r128 $as_me 6.10.0, which was
   2007 generated by GNU Autoconf 2.69.  Invocation command line was
   2008 
   2009   $ $0 $@
   2010 
   2011 _ACEOF
   2012 exec 5>>config.log
   2013 {
   2014 cat <<_ASUNAME
   2015 ## --------- ##
   2016 ## Platform. ##
   2017 ## --------- ##
   2018 
   2019 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2020 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2021 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2022 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2023 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2024 
   2025 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2026 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2027 
   2028 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2029 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2031 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2032 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2033 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2034 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2035 
   2036 _ASUNAME
   2037 
   2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2039 for as_dir in $PATH
   2040 do
   2041   IFS=$as_save_IFS
   2042   test -z "$as_dir" && as_dir=.
   2043     $as_echo "PATH: $as_dir"
   2044   done
   2045 IFS=$as_save_IFS
   2046 
   2047 } >&5
   2048 
   2049 cat >&5 <<_ACEOF
   2050 
   2051 
   2052 ## ----------- ##
   2053 ## Core tests. ##
   2054 ## ----------- ##
   2055 
   2056 _ACEOF
   2057 
   2058 
   2059 # Keep a trace of the command line.
   2060 # Strip out --no-create and --no-recursion so they do not pile up.
   2061 # Strip out --silent because we don't want to record it for future runs.
   2062 # Also quote any args containing shell meta-characters.
   2063 # Make two passes to allow for proper duplicate-argument suppression.
   2064 ac_configure_args=
   2065 ac_configure_args0=
   2066 ac_configure_args1=
   2067 ac_must_keep_next=false
   2068 for ac_pass in 1 2
   2069 do
   2070   for ac_arg
   2071   do
   2072     case $ac_arg in
   2073     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2074     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2075     | -silent | --silent | --silen | --sile | --sil)
   2076       continue ;;
   2077     *\'*)
   2078       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2079     esac
   2080     case $ac_pass in
   2081     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2082     2)
   2083       as_fn_append ac_configure_args1 " '$ac_arg'"
   2084       if test $ac_must_keep_next = true; then
   2085 	ac_must_keep_next=false # Got value, back to normal.
   2086       else
   2087 	case $ac_arg in
   2088 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2089 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2090 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2091 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2092 	    case "$ac_configure_args0 " in
   2093 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2094 	    esac
   2095 	    ;;
   2096 	  -* ) ac_must_keep_next=true ;;
   2097 	esac
   2098       fi
   2099       as_fn_append ac_configure_args " '$ac_arg'"
   2100       ;;
   2101     esac
   2102   done
   2103 done
   2104 { ac_configure_args0=; unset ac_configure_args0;}
   2105 { ac_configure_args1=; unset ac_configure_args1;}
   2106 
   2107 # When interrupted or exit'd, cleanup temporary files, and complete
   2108 # config.log.  We remove comments because anyway the quotes in there
   2109 # would cause problems or look ugly.
   2110 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2111 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2112 trap 'exit_status=$?
   2113   # Save into config.log some information that might help in debugging.
   2114   {
   2115     echo
   2116 
   2117     $as_echo "## ---------------- ##
   2118 ## Cache variables. ##
   2119 ## ---------------- ##"
   2120     echo
   2121     # The following way of writing the cache mishandles newlines in values,
   2122 (
   2123   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2124     eval ac_val=\$$ac_var
   2125     case $ac_val in #(
   2126     *${as_nl}*)
   2127       case $ac_var in #(
   2128       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2129 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2130       esac
   2131       case $ac_var in #(
   2132       _ | IFS | as_nl) ;; #(
   2133       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2134       *) { eval $ac_var=; unset $ac_var;} ;;
   2135       esac ;;
   2136     esac
   2137   done
   2138   (set) 2>&1 |
   2139     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2140     *${as_nl}ac_space=\ *)
   2141       sed -n \
   2142 	"s/'\''/'\''\\\\'\'''\''/g;
   2143 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2144       ;; #(
   2145     *)
   2146       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2147       ;;
   2148     esac |
   2149     sort
   2150 )
   2151     echo
   2152 
   2153     $as_echo "## ----------------- ##
   2154 ## Output variables. ##
   2155 ## ----------------- ##"
   2156     echo
   2157     for ac_var in $ac_subst_vars
   2158     do
   2159       eval ac_val=\$$ac_var
   2160       case $ac_val in
   2161       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2162       esac
   2163       $as_echo "$ac_var='\''$ac_val'\''"
   2164     done | sort
   2165     echo
   2166 
   2167     if test -n "$ac_subst_files"; then
   2168       $as_echo "## ------------------- ##
   2169 ## File substitutions. ##
   2170 ## ------------------- ##"
   2171       echo
   2172       for ac_var in $ac_subst_files
   2173       do
   2174 	eval ac_val=\$$ac_var
   2175 	case $ac_val in
   2176 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2177 	esac
   2178 	$as_echo "$ac_var='\''$ac_val'\''"
   2179       done | sort
   2180       echo
   2181     fi
   2182 
   2183     if test -s confdefs.h; then
   2184       $as_echo "## ----------- ##
   2185 ## confdefs.h. ##
   2186 ## ----------- ##"
   2187       echo
   2188       cat confdefs.h
   2189       echo
   2190     fi
   2191     test "$ac_signal" != 0 &&
   2192       $as_echo "$as_me: caught signal $ac_signal"
   2193     $as_echo "$as_me: exit $exit_status"
   2194   } >&5
   2195   rm -f core *.core core.conftest.* &&
   2196     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2197     exit $exit_status
   2198 ' 0
   2199 for ac_signal in 1 2 13 15; do
   2200   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2201 done
   2202 ac_signal=0
   2203 
   2204 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2205 rm -f -r conftest* confdefs.h
   2206 
   2207 $as_echo "/* confdefs.h */" > confdefs.h
   2208 
   2209 # Predefined preprocessor variables.
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_NAME "$PACKAGE_NAME"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2217 _ACEOF
   2218 
   2219 cat >>confdefs.h <<_ACEOF
   2220 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2221 _ACEOF
   2222 
   2223 cat >>confdefs.h <<_ACEOF
   2224 #define PACKAGE_STRING "$PACKAGE_STRING"
   2225 _ACEOF
   2226 
   2227 cat >>confdefs.h <<_ACEOF
   2228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2229 _ACEOF
   2230 
   2231 cat >>confdefs.h <<_ACEOF
   2232 #define PACKAGE_URL "$PACKAGE_URL"
   2233 _ACEOF
   2234 
   2235 
   2236 # Let the site file select an alternate cache file if it wants to.
   2237 # Prefer an explicitly selected file to automatically selected ones.
   2238 ac_site_file1=NONE
   2239 ac_site_file2=NONE
   2240 if test -n "$CONFIG_SITE"; then
   2241   # We do not want a PATH search for config.site.
   2242   case $CONFIG_SITE in #((
   2243     -*)  ac_site_file1=./$CONFIG_SITE;;
   2244     */*) ac_site_file1=$CONFIG_SITE;;
   2245     *)   ac_site_file1=./$CONFIG_SITE;;
   2246   esac
   2247 elif test "x$prefix" != xNONE; then
   2248   ac_site_file1=$prefix/share/config.site
   2249   ac_site_file2=$prefix/etc/config.site
   2250 else
   2251   ac_site_file1=$ac_default_prefix/share/config.site
   2252   ac_site_file2=$ac_default_prefix/etc/config.site
   2253 fi
   2254 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2255 do
   2256   test "x$ac_site_file" = xNONE && continue
   2257   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2258     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2259 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2260     sed 's/^/| /' "$ac_site_file" >&5
   2261     . "$ac_site_file" \
   2262       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2264 as_fn_error $? "failed to load site script $ac_site_file
   2265 See \`config.log' for more details" "$LINENO" 5; }
   2266   fi
   2267 done
   2268 
   2269 if test -r "$cache_file"; then
   2270   # Some versions of bash will fail to source /dev/null (special files
   2271   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2272   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2273     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2274 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2275     case $cache_file in
   2276       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2277       *)                      . "./$cache_file";;
   2278     esac
   2279   fi
   2280 else
   2281   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2282 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2283   >$cache_file
   2284 fi
   2285 
   2286 # Check that the precious variables saved in the cache have kept the same
   2287 # value.
   2288 ac_cache_corrupted=false
   2289 for ac_var in $ac_precious_vars; do
   2290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2291   eval ac_new_set=\$ac_env_${ac_var}_set
   2292   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2293   eval ac_new_val=\$ac_env_${ac_var}_value
   2294   case $ac_old_set,$ac_new_set in
   2295     set,)
   2296       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2297 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2298       ac_cache_corrupted=: ;;
   2299     ,set)
   2300       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2301 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2302       ac_cache_corrupted=: ;;
   2303     ,);;
   2304     *)
   2305       if test "x$ac_old_val" != "x$ac_new_val"; then
   2306 	# differences in whitespace do not lead to failure.
   2307 	ac_old_val_w=`echo x $ac_old_val`
   2308 	ac_new_val_w=`echo x $ac_new_val`
   2309 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2310 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2311 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2312 	  ac_cache_corrupted=:
   2313 	else
   2314 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2315 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2316 	  eval $ac_var=\$ac_old_val
   2317 	fi
   2318 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2319 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2320 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2321 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2322       fi;;
   2323   esac
   2324   # Pass precious variables to config.status.
   2325   if test "$ac_new_set" = set; then
   2326     case $ac_new_val in
   2327     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2328     *) ac_arg=$ac_var=$ac_new_val ;;
   2329     esac
   2330     case " $ac_configure_args " in
   2331       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2332       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2333     esac
   2334   fi
   2335 done
   2336 if $ac_cache_corrupted; then
   2337   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2339   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2340 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2341   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2342 fi
   2343 ## -------------------- ##
   2344 ## Main body of script. ##
   2345 ## -------------------- ##
   2346 
   2347 ac_ext=c
   2348 ac_cpp='$CPP $CPPFLAGS'
   2349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2352 
   2353 
   2354 
   2355 ac_config_headers="$ac_config_headers config.h"
   2356 
   2357 ac_aux_dir=
   2358 for ac_dir in . "$srcdir"/.; do
   2359   if test -f "$ac_dir/install-sh"; then
   2360     ac_aux_dir=$ac_dir
   2361     ac_install_sh="$ac_aux_dir/install-sh -c"
   2362     break
   2363   elif test -f "$ac_dir/install.sh"; then
   2364     ac_aux_dir=$ac_dir
   2365     ac_install_sh="$ac_aux_dir/install.sh -c"
   2366     break
   2367   elif test -f "$ac_dir/shtool"; then
   2368     ac_aux_dir=$ac_dir
   2369     ac_install_sh="$ac_aux_dir/shtool install -c"
   2370     break
   2371   fi
   2372 done
   2373 if test -z "$ac_aux_dir"; then
   2374   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2375 fi
   2376 
   2377 # These three variables are undocumented and unsupported,
   2378 # and are intended to be withdrawn in a future Autoconf release.
   2379 # They can cause serious problems if a builder's source tree is in a directory
   2380 # whose full name contains unusual characters.
   2381 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2382 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2383 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2384 
   2385 
   2386 
   2387 # Initialize Automake
   2388 am__api_version='1.15'
   2389 
   2390 # Find a good install program.  We prefer a C program (faster),
   2391 # so one script is as good as another.  But avoid the broken or
   2392 # incompatible versions:
   2393 # SysV /etc/install, /usr/sbin/install
   2394 # SunOS /usr/etc/install
   2395 # IRIX /sbin/install
   2396 # AIX /bin/install
   2397 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2398 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2399 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2400 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2401 # OS/2's system install, which has a completely different semantic
   2402 # ./install, which can be erroneously created by make from ./install.sh.
   2403 # Reject install programs that cannot install multiple files.
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2405 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2406 if test -z "$INSTALL"; then
   2407 if ${ac_cv_path_install+:} false; then :
   2408   $as_echo_n "(cached) " >&6
   2409 else
   2410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2411 for as_dir in $PATH
   2412 do
   2413   IFS=$as_save_IFS
   2414   test -z "$as_dir" && as_dir=.
   2415     # Account for people who put trailing slashes in PATH elements.
   2416 case $as_dir/ in #((
   2417   ./ | .// | /[cC]/* | \
   2418   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2419   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2420   /usr/ucb/* ) ;;
   2421   *)
   2422     # OSF1 and SCO ODT 3.0 have their own names for install.
   2423     # Don't use installbsd from OSF since it installs stuff as root
   2424     # by default.
   2425     for ac_prog in ginstall scoinst install; do
   2426       for ac_exec_ext in '' $ac_executable_extensions; do
   2427 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2428 	  if test $ac_prog = install &&
   2429 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2430 	    # AIX install.  It has an incompatible calling convention.
   2431 	    :
   2432 	  elif test $ac_prog = install &&
   2433 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2434 	    # program-specific install script used by HP pwplus--don't use.
   2435 	    :
   2436 	  else
   2437 	    rm -rf conftest.one conftest.two conftest.dir
   2438 	    echo one > conftest.one
   2439 	    echo two > conftest.two
   2440 	    mkdir conftest.dir
   2441 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2442 	      test -s conftest.one && test -s conftest.two &&
   2443 	      test -s conftest.dir/conftest.one &&
   2444 	      test -s conftest.dir/conftest.two
   2445 	    then
   2446 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2447 	      break 3
   2448 	    fi
   2449 	  fi
   2450 	fi
   2451       done
   2452     done
   2453     ;;
   2454 esac
   2455 
   2456   done
   2457 IFS=$as_save_IFS
   2458 
   2459 rm -rf conftest.one conftest.two conftest.dir
   2460 
   2461 fi
   2462   if test "${ac_cv_path_install+set}" = set; then
   2463     INSTALL=$ac_cv_path_install
   2464   else
   2465     # As a last resort, use the slow shell script.  Don't cache a
   2466     # value for INSTALL within a source directory, because that will
   2467     # break other packages using the cache if that directory is
   2468     # removed, or if the value is a relative name.
   2469     INSTALL=$ac_install_sh
   2470   fi
   2471 fi
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2473 $as_echo "$INSTALL" >&6; }
   2474 
   2475 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2476 # It thinks the first close brace ends the variable substitution.
   2477 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2478 
   2479 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2480 
   2481 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2482 
   2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2484 $as_echo_n "checking whether build environment is sane... " >&6; }
   2485 # Reject unsafe characters in $srcdir or the absolute working directory
   2486 # name.  Accept space and tab only in the latter.
   2487 am_lf='
   2488 '
   2489 case `pwd` in
   2490   *[\\\"\#\$\&\'\`$am_lf]*)
   2491     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2492 esac
   2493 case $srcdir in
   2494   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2495     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2496 esac
   2497 
   2498 # Do 'set' in a subshell so we don't clobber the current shell's
   2499 # arguments.  Must try -L first in case configure is actually a
   2500 # symlink; some systems play weird games with the mod time of symlinks
   2501 # (eg FreeBSD returns the mod time of the symlink's containing
   2502 # directory).
   2503 if (
   2504    am_has_slept=no
   2505    for am_try in 1 2; do
   2506      echo "timestamp, slept: $am_has_slept" > conftest.file
   2507      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2508      if test "$*" = "X"; then
   2509 	# -L didn't work.
   2510 	set X `ls -t "$srcdir/configure" conftest.file`
   2511      fi
   2512      if test "$*" != "X $srcdir/configure conftest.file" \
   2513 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2514 
   2515 	# If neither matched, then we have a broken ls.  This can happen
   2516 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2517 	# broken ls alias from the environment.  This has actually
   2518 	# happened.  Such a system could not be considered "sane".
   2519 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2520   alias in your environment" "$LINENO" 5
   2521      fi
   2522      if test "$2" = conftest.file || test $am_try -eq 2; then
   2523        break
   2524      fi
   2525      # Just in case.
   2526      sleep 1
   2527      am_has_slept=yes
   2528    done
   2529    test "$2" = conftest.file
   2530    )
   2531 then
   2532    # Ok.
   2533    :
   2534 else
   2535    as_fn_error $? "newly created file is older than distributed files!
   2536 Check your system clock" "$LINENO" 5
   2537 fi
   2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2539 $as_echo "yes" >&6; }
   2540 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2541 # generated files are strictly newer.
   2542 am_sleep_pid=
   2543 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2544   ( sleep 1 ) &
   2545   am_sleep_pid=$!
   2546 fi
   2547 
   2548 rm -f conftest.file
   2549 
   2550 test "$program_prefix" != NONE &&
   2551   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2552 # Use a double $ so make ignores it.
   2553 test "$program_suffix" != NONE &&
   2554   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2555 # Double any \ or $.
   2556 # By default was `s,x,x', remove it if useless.
   2557 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2558 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2559 
   2560 # Expand $ac_aux_dir to an absolute path.
   2561 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2562 
   2563 if test x"${MISSING+set}" != xset; then
   2564   case $am_aux_dir in
   2565   *\ * | *\	*)
   2566     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2567   *)
   2568     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2569   esac
   2570 fi
   2571 # Use eval to expand $SHELL
   2572 if eval "$MISSING --is-lightweight"; then
   2573   am_missing_run="$MISSING "
   2574 else
   2575   am_missing_run=
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2577 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2578 fi
   2579 
   2580 if test x"${install_sh+set}" != xset; then
   2581   case $am_aux_dir in
   2582   *\ * | *\	*)
   2583     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2584   *)
   2585     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2586   esac
   2587 fi
   2588 
   2589 # Installed binaries are usually stripped using 'strip' when the user
   2590 # run "make install-strip".  However 'strip' might not be the right
   2591 # tool to use in cross-compilation environments, therefore Automake
   2592 # will honor the 'STRIP' environment variable to overrule this program.
   2593 if test "$cross_compiling" != no; then
   2594   if test -n "$ac_tool_prefix"; then
   2595   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2596 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2598 $as_echo_n "checking for $ac_word... " >&6; }
   2599 if ${ac_cv_prog_STRIP+:} false; then :
   2600   $as_echo_n "(cached) " >&6
   2601 else
   2602   if test -n "$STRIP"; then
   2603   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2604 else
   2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2606 for as_dir in $PATH
   2607 do
   2608   IFS=$as_save_IFS
   2609   test -z "$as_dir" && as_dir=.
   2610     for ac_exec_ext in '' $ac_executable_extensions; do
   2611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2612     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2614     break 2
   2615   fi
   2616 done
   2617   done
   2618 IFS=$as_save_IFS
   2619 
   2620 fi
   2621 fi
   2622 STRIP=$ac_cv_prog_STRIP
   2623 if test -n "$STRIP"; then
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2625 $as_echo "$STRIP" >&6; }
   2626 else
   2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2628 $as_echo "no" >&6; }
   2629 fi
   2630 
   2631 
   2632 fi
   2633 if test -z "$ac_cv_prog_STRIP"; then
   2634   ac_ct_STRIP=$STRIP
   2635   # Extract the first word of "strip", so it can be a program name with args.
   2636 set dummy strip; ac_word=$2
   2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2638 $as_echo_n "checking for $ac_word... " >&6; }
   2639 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2640   $as_echo_n "(cached) " >&6
   2641 else
   2642   if test -n "$ac_ct_STRIP"; then
   2643   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2644 else
   2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2646 for as_dir in $PATH
   2647 do
   2648   IFS=$as_save_IFS
   2649   test -z "$as_dir" && as_dir=.
   2650     for ac_exec_ext in '' $ac_executable_extensions; do
   2651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2652     ac_cv_prog_ac_ct_STRIP="strip"
   2653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2654     break 2
   2655   fi
   2656 done
   2657   done
   2658 IFS=$as_save_IFS
   2659 
   2660 fi
   2661 fi
   2662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2663 if test -n "$ac_ct_STRIP"; then
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2665 $as_echo "$ac_ct_STRIP" >&6; }
   2666 else
   2667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2668 $as_echo "no" >&6; }
   2669 fi
   2670 
   2671   if test "x$ac_ct_STRIP" = x; then
   2672     STRIP=":"
   2673   else
   2674     case $cross_compiling:$ac_tool_warned in
   2675 yes:)
   2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2678 ac_tool_warned=yes ;;
   2679 esac
   2680     STRIP=$ac_ct_STRIP
   2681   fi
   2682 else
   2683   STRIP="$ac_cv_prog_STRIP"
   2684 fi
   2685 
   2686 fi
   2687 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2688 
   2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2690 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2691 if test -z "$MKDIR_P"; then
   2692   if ${ac_cv_path_mkdir+:} false; then :
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2697 do
   2698   IFS=$as_save_IFS
   2699   test -z "$as_dir" && as_dir=.
   2700     for ac_prog in mkdir gmkdir; do
   2701 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2702 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2703 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2704 	     'mkdir (GNU coreutils) '* | \
   2705 	     'mkdir (coreutils) '* | \
   2706 	     'mkdir (fileutils) '4.1*)
   2707 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2708 	       break 3;;
   2709 	   esac
   2710 	 done
   2711        done
   2712   done
   2713 IFS=$as_save_IFS
   2714 
   2715 fi
   2716 
   2717   test -d ./--version && rmdir ./--version
   2718   if test "${ac_cv_path_mkdir+set}" = set; then
   2719     MKDIR_P="$ac_cv_path_mkdir -p"
   2720   else
   2721     # As a last resort, use the slow shell script.  Don't cache a
   2722     # value for MKDIR_P within a source directory, because that will
   2723     # break other packages using the cache if that directory is
   2724     # removed, or if the value is a relative name.
   2725     MKDIR_P="$ac_install_sh -d"
   2726   fi
   2727 fi
   2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2729 $as_echo "$MKDIR_P" >&6; }
   2730 
   2731 for ac_prog in gawk mawk nawk awk
   2732 do
   2733   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2734 set dummy $ac_prog; ac_word=$2
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2736 $as_echo_n "checking for $ac_word... " >&6; }
   2737 if ${ac_cv_prog_AWK+:} false; then :
   2738   $as_echo_n "(cached) " >&6
   2739 else
   2740   if test -n "$AWK"; then
   2741   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2742 else
   2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2744 for as_dir in $PATH
   2745 do
   2746   IFS=$as_save_IFS
   2747   test -z "$as_dir" && as_dir=.
   2748     for ac_exec_ext in '' $ac_executable_extensions; do
   2749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2750     ac_cv_prog_AWK="$ac_prog"
   2751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2752     break 2
   2753   fi
   2754 done
   2755   done
   2756 IFS=$as_save_IFS
   2757 
   2758 fi
   2759 fi
   2760 AWK=$ac_cv_prog_AWK
   2761 if test -n "$AWK"; then
   2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2763 $as_echo "$AWK" >&6; }
   2764 else
   2765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2766 $as_echo "no" >&6; }
   2767 fi
   2768 
   2769 
   2770   test -n "$AWK" && break
   2771 done
   2772 
   2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2775 set x ${MAKE-make}
   2776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2777 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2778   $as_echo_n "(cached) " >&6
   2779 else
   2780   cat >conftest.make <<\_ACEOF
   2781 SHELL = /bin/sh
   2782 all:
   2783 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2784 _ACEOF
   2785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2787   *@@@%%%=?*=@@@%%%*)
   2788     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2789   *)
   2790     eval ac_cv_prog_make_${ac_make}_set=no;;
   2791 esac
   2792 rm -f conftest.make
   2793 fi
   2794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2796 $as_echo "yes" >&6; }
   2797   SET_MAKE=
   2798 else
   2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2800 $as_echo "no" >&6; }
   2801   SET_MAKE="MAKE=${MAKE-make}"
   2802 fi
   2803 
   2804 rm -rf .tst 2>/dev/null
   2805 mkdir .tst 2>/dev/null
   2806 if test -d .tst; then
   2807   am__leading_dot=.
   2808 else
   2809   am__leading_dot=_
   2810 fi
   2811 rmdir .tst 2>/dev/null
   2812 
   2813 # Check whether --enable-silent-rules was given.
   2814 if test "${enable_silent_rules+set}" = set; then :
   2815   enableval=$enable_silent_rules;
   2816 fi
   2817 
   2818 case $enable_silent_rules in # (((
   2819   yes) AM_DEFAULT_VERBOSITY=0;;
   2820    no) AM_DEFAULT_VERBOSITY=1;;
   2821     *) AM_DEFAULT_VERBOSITY=1;;
   2822 esac
   2823 am_make=${MAKE-make}
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2825 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2826 if ${am_cv_make_support_nested_variables+:} false; then :
   2827   $as_echo_n "(cached) " >&6
   2828 else
   2829   if $as_echo 'TRUE=$(BAR$(V))
   2830 BAR0=false
   2831 BAR1=true
   2832 V=1
   2833 am__doit:
   2834 	@$(TRUE)
   2835 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2836   am_cv_make_support_nested_variables=yes
   2837 else
   2838   am_cv_make_support_nested_variables=no
   2839 fi
   2840 fi
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2842 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2843 if test $am_cv_make_support_nested_variables = yes; then
   2844     AM_V='$(V)'
   2845   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2846 else
   2847   AM_V=$AM_DEFAULT_VERBOSITY
   2848   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2849 fi
   2850 AM_BACKSLASH='\'
   2851 
   2852 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2853   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2854   # is not polluted with repeated "-I."
   2855   am__isrc=' -I$(srcdir)'
   2856   # test to see if srcdir already configured
   2857   if test -f $srcdir/config.status; then
   2858     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2859   fi
   2860 fi
   2861 
   2862 # test whether we have cygpath
   2863 if test -z "$CYGPATH_W"; then
   2864   if (cygpath --version) >/dev/null 2>/dev/null; then
   2865     CYGPATH_W='cygpath -w'
   2866   else
   2867     CYGPATH_W=echo
   2868   fi
   2869 fi
   2870 
   2871 
   2872 # Define the identity of the package.
   2873  PACKAGE='xf86-video-r128'
   2874  VERSION='6.10.0'
   2875 
   2876 
   2877 cat >>confdefs.h <<_ACEOF
   2878 #define PACKAGE "$PACKAGE"
   2879 _ACEOF
   2880 
   2881 
   2882 cat >>confdefs.h <<_ACEOF
   2883 #define VERSION "$VERSION"
   2884 _ACEOF
   2885 
   2886 # Some tools Automake needs.
   2887 
   2888 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2889 
   2890 
   2891 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2892 
   2893 
   2894 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2895 
   2896 
   2897 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2898 
   2899 
   2900 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2901 
   2902 # For better backward compatibility.  To be removed once Automake 1.9.x
   2903 # dies out for good.  For more background, see:
   2904 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2905 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2906 mkdir_p='$(MKDIR_P)'
   2907 
   2908 # We need awk for the "check" target (and possibly the TAP driver).  The
   2909 # system "awk" is bad on some platforms.
   2910 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2911 # in the wild :-(  We should find a proper way to deprecate it ...
   2912 AMTAR='$${TAR-tar}'
   2913 
   2914 
   2915 # We'll loop over all known methods to create a tar archive until one works.
   2916 _am_tools='gnutar  pax cpio none'
   2917 
   2918 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2919 
   2920 
   2921 
   2922 
   2923 
   2924 
   2925 # POSIX will say in a future version that running "rm -f" with no argument
   2926 # is OK; and we want to be able to make that assumption in our Makefile
   2927 # recipes.  So use an aggressive probe to check that the usage we want is
   2928 # actually supported "in the wild" to an acceptable degree.
   2929 # See automake bug#10828.
   2930 # To make any issue more visible, cause the running configure to be aborted
   2931 # by default if the 'rm' program in use doesn't match our expectations; the
   2932 # user can still override this though.
   2933 if rm -f && rm -fr && rm -rf; then : OK; else
   2934   cat >&2 <<'END'
   2935 Oops!
   2936 
   2937 Your 'rm' program seems unable to run without file operands specified
   2938 on the command line, even when the '-f' option is present.  This is contrary
   2939 to the behaviour of most rm programs out there, and not conforming with
   2940 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2941 
   2942 Please tell bug-automake@gnu.org about your system, including the value
   2943 of your $PATH and any error possibly output before this message.  This
   2944 can help us improve future automake versions.
   2945 
   2946 END
   2947   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2948     echo 'Configuration will proceed anyway, since you have set the' >&2
   2949     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2950     echo >&2
   2951   else
   2952     cat >&2 <<'END'
   2953 Aborting the configuration process, to ensure you take notice of the issue.
   2954 
   2955 You can download and install GNU coreutils to get an 'rm' implementation
   2956 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2957 
   2958 If you want to complete the configuration process using your problematic
   2959 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2960 to "yes", and re-run configure.
   2961 
   2962 END
   2963     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2964   fi
   2965 fi
   2966 
   2967 
   2968 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2969 
   2970 
   2971 
   2972 
   2973 
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 DEPDIR="${am__leading_dot}deps"
   2981 
   2982 ac_config_commands="$ac_config_commands depfiles"
   2983 
   2984 
   2985 am_make=${MAKE-make}
   2986 cat > confinc << 'END'
   2987 am__doit:
   2988 	@echo this is the am__doit target
   2989 .PHONY: am__doit
   2990 END
   2991 # If we don't find an include directive, just comment out the code.
   2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2993 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2994 am__include="#"
   2995 am__quote=
   2996 _am_result=none
   2997 # First try GNU make style include.
   2998 echo "include confinc" > confmf
   2999 # Ignore all kinds of additional output from 'make'.
   3000 case `$am_make -s -f confmf 2> /dev/null` in #(
   3001 *the\ am__doit\ target*)
   3002   am__include=include
   3003   am__quote=
   3004   _am_result=GNU
   3005   ;;
   3006 esac
   3007 # Now try BSD make style include.
   3008 if test "$am__include" = "#"; then
   3009    echo '.include "confinc"' > confmf
   3010    case `$am_make -s -f confmf 2> /dev/null` in #(
   3011    *the\ am__doit\ target*)
   3012      am__include=.include
   3013      am__quote="\""
   3014      _am_result=BSD
   3015      ;;
   3016    esac
   3017 fi
   3018 
   3019 
   3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3021 $as_echo "$_am_result" >&6; }
   3022 rm -f confinc confmf
   3023 
   3024 # Check whether --enable-dependency-tracking was given.
   3025 if test "${enable_dependency_tracking+set}" = set; then :
   3026   enableval=$enable_dependency_tracking;
   3027 fi
   3028 
   3029 if test "x$enable_dependency_tracking" != xno; then
   3030   am_depcomp="$ac_aux_dir/depcomp"
   3031   AMDEPBACKSLASH='\'
   3032   am__nodep='_no'
   3033 fi
   3034  if test "x$enable_dependency_tracking" != xno; then
   3035   AMDEP_TRUE=
   3036   AMDEP_FALSE='#'
   3037 else
   3038   AMDEP_TRUE='#'
   3039   AMDEP_FALSE=
   3040 fi
   3041 
   3042 
   3043 ac_ext=c
   3044 ac_cpp='$CPP $CPPFLAGS'
   3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3048 if test -n "$ac_tool_prefix"; then
   3049   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3050 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3052 $as_echo_n "checking for $ac_word... " >&6; }
   3053 if ${ac_cv_prog_CC+:} false; then :
   3054   $as_echo_n "(cached) " >&6
   3055 else
   3056   if test -n "$CC"; then
   3057   ac_cv_prog_CC="$CC" # Let the user override the test.
   3058 else
   3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3060 for as_dir in $PATH
   3061 do
   3062   IFS=$as_save_IFS
   3063   test -z "$as_dir" && as_dir=.
   3064     for ac_exec_ext in '' $ac_executable_extensions; do
   3065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3066     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3068     break 2
   3069   fi
   3070 done
   3071   done
   3072 IFS=$as_save_IFS
   3073 
   3074 fi
   3075 fi
   3076 CC=$ac_cv_prog_CC
   3077 if test -n "$CC"; then
   3078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3079 $as_echo "$CC" >&6; }
   3080 else
   3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3082 $as_echo "no" >&6; }
   3083 fi
   3084 
   3085 
   3086 fi
   3087 if test -z "$ac_cv_prog_CC"; then
   3088   ac_ct_CC=$CC
   3089   # Extract the first word of "gcc", so it can be a program name with args.
   3090 set dummy gcc; ac_word=$2
   3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3092 $as_echo_n "checking for $ac_word... " >&6; }
   3093 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3094   $as_echo_n "(cached) " >&6
   3095 else
   3096   if test -n "$ac_ct_CC"; then
   3097   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3098 else
   3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3100 for as_dir in $PATH
   3101 do
   3102   IFS=$as_save_IFS
   3103   test -z "$as_dir" && as_dir=.
   3104     for ac_exec_ext in '' $ac_executable_extensions; do
   3105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3106     ac_cv_prog_ac_ct_CC="gcc"
   3107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3108     break 2
   3109   fi
   3110 done
   3111   done
   3112 IFS=$as_save_IFS
   3113 
   3114 fi
   3115 fi
   3116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3117 if test -n "$ac_ct_CC"; then
   3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3119 $as_echo "$ac_ct_CC" >&6; }
   3120 else
   3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3122 $as_echo "no" >&6; }
   3123 fi
   3124 
   3125   if test "x$ac_ct_CC" = x; then
   3126     CC=""
   3127   else
   3128     case $cross_compiling:$ac_tool_warned in
   3129 yes:)
   3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3132 ac_tool_warned=yes ;;
   3133 esac
   3134     CC=$ac_ct_CC
   3135   fi
   3136 else
   3137   CC="$ac_cv_prog_CC"
   3138 fi
   3139 
   3140 if test -z "$CC"; then
   3141           if test -n "$ac_tool_prefix"; then
   3142     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3143 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3145 $as_echo_n "checking for $ac_word... " >&6; }
   3146 if ${ac_cv_prog_CC+:} false; then :
   3147   $as_echo_n "(cached) " >&6
   3148 else
   3149   if test -n "$CC"; then
   3150   ac_cv_prog_CC="$CC" # Let the user override the test.
   3151 else
   3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3153 for as_dir in $PATH
   3154 do
   3155   IFS=$as_save_IFS
   3156   test -z "$as_dir" && as_dir=.
   3157     for ac_exec_ext in '' $ac_executable_extensions; do
   3158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3159     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3161     break 2
   3162   fi
   3163 done
   3164   done
   3165 IFS=$as_save_IFS
   3166 
   3167 fi
   3168 fi
   3169 CC=$ac_cv_prog_CC
   3170 if test -n "$CC"; then
   3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3172 $as_echo "$CC" >&6; }
   3173 else
   3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3175 $as_echo "no" >&6; }
   3176 fi
   3177 
   3178 
   3179   fi
   3180 fi
   3181 if test -z "$CC"; then
   3182   # Extract the first word of "cc", so it can be a program name with args.
   3183 set dummy cc; ac_word=$2
   3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3185 $as_echo_n "checking for $ac_word... " >&6; }
   3186 if ${ac_cv_prog_CC+:} false; then :
   3187   $as_echo_n "(cached) " >&6
   3188 else
   3189   if test -n "$CC"; then
   3190   ac_cv_prog_CC="$CC" # Let the user override the test.
   3191 else
   3192   ac_prog_rejected=no
   3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3194 for as_dir in $PATH
   3195 do
   3196   IFS=$as_save_IFS
   3197   test -z "$as_dir" && as_dir=.
   3198     for ac_exec_ext in '' $ac_executable_extensions; do
   3199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3200     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3201        ac_prog_rejected=yes
   3202        continue
   3203      fi
   3204     ac_cv_prog_CC="cc"
   3205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3206     break 2
   3207   fi
   3208 done
   3209   done
   3210 IFS=$as_save_IFS
   3211 
   3212 if test $ac_prog_rejected = yes; then
   3213   # We found a bogon in the path, so make sure we never use it.
   3214   set dummy $ac_cv_prog_CC
   3215   shift
   3216   if test $# != 0; then
   3217     # We chose a different compiler from the bogus one.
   3218     # However, it has the same basename, so the bogon will be chosen
   3219     # first if we set CC to just the basename; use the full file name.
   3220     shift
   3221     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3222   fi
   3223 fi
   3224 fi
   3225 fi
   3226 CC=$ac_cv_prog_CC
   3227 if test -n "$CC"; then
   3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3229 $as_echo "$CC" >&6; }
   3230 else
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3232 $as_echo "no" >&6; }
   3233 fi
   3234 
   3235 
   3236 fi
   3237 if test -z "$CC"; then
   3238   if test -n "$ac_tool_prefix"; then
   3239   for ac_prog in cl.exe
   3240   do
   3241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3244 $as_echo_n "checking for $ac_word... " >&6; }
   3245 if ${ac_cv_prog_CC+:} false; then :
   3246   $as_echo_n "(cached) " >&6
   3247 else
   3248   if test -n "$CC"; then
   3249   ac_cv_prog_CC="$CC" # Let the user override the test.
   3250 else
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   test -z "$as_dir" && as_dir=.
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi
   3267 fi
   3268 CC=$ac_cv_prog_CC
   3269 if test -n "$CC"; then
   3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3271 $as_echo "$CC" >&6; }
   3272 else
   3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275 fi
   3276 
   3277 
   3278     test -n "$CC" && break
   3279   done
   3280 fi
   3281 if test -z "$CC"; then
   3282   ac_ct_CC=$CC
   3283   for ac_prog in cl.exe
   3284 do
   3285   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3286 set dummy $ac_prog; ac_word=$2
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3288 $as_echo_n "checking for $ac_word... " >&6; }
   3289 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292   if test -n "$ac_ct_CC"; then
   3293   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3294 else
   3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3296 for as_dir in $PATH
   3297 do
   3298   IFS=$as_save_IFS
   3299   test -z "$as_dir" && as_dir=.
   3300     for ac_exec_ext in '' $ac_executable_extensions; do
   3301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3302     ac_cv_prog_ac_ct_CC="$ac_prog"
   3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3304     break 2
   3305   fi
   3306 done
   3307   done
   3308 IFS=$as_save_IFS
   3309 
   3310 fi
   3311 fi
   3312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3313 if test -n "$ac_ct_CC"; then
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3315 $as_echo "$ac_ct_CC" >&6; }
   3316 else
   3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3318 $as_echo "no" >&6; }
   3319 fi
   3320 
   3321 
   3322   test -n "$ac_ct_CC" && break
   3323 done
   3324 
   3325   if test "x$ac_ct_CC" = x; then
   3326     CC=""
   3327   else
   3328     case $cross_compiling:$ac_tool_warned in
   3329 yes:)
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3332 ac_tool_warned=yes ;;
   3333 esac
   3334     CC=$ac_ct_CC
   3335   fi
   3336 fi
   3337 
   3338 fi
   3339 
   3340 
   3341 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3343 as_fn_error $? "no acceptable C compiler found in \$PATH
   3344 See \`config.log' for more details" "$LINENO" 5; }
   3345 
   3346 # Provide some information about the compiler.
   3347 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3348 set X $ac_compile
   3349 ac_compiler=$2
   3350 for ac_option in --version -v -V -qversion; do
   3351   { { ac_try="$ac_compiler $ac_option >&5"
   3352 case "(($ac_try" in
   3353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3354   *) ac_try_echo=$ac_try;;
   3355 esac
   3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3357 $as_echo "$ac_try_echo"; } >&5
   3358   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3359   ac_status=$?
   3360   if test -s conftest.err; then
   3361     sed '10a\
   3362 ... rest of stderr output deleted ...
   3363          10q' conftest.err >conftest.er1
   3364     cat conftest.er1 >&5
   3365   fi
   3366   rm -f conftest.er1 conftest.err
   3367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3368   test $ac_status = 0; }
   3369 done
   3370 
   3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3372 /* end confdefs.h.  */
   3373 
   3374 int
   3375 main ()
   3376 {
   3377 
   3378   ;
   3379   return 0;
   3380 }
   3381 _ACEOF
   3382 ac_clean_files_save=$ac_clean_files
   3383 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3384 # Try to create an executable without -o first, disregard a.out.
   3385 # It will help us diagnose broken compilers, and finding out an intuition
   3386 # of exeext.
   3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3388 $as_echo_n "checking whether the C compiler works... " >&6; }
   3389 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3390 
   3391 # The possible output files:
   3392 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3393 
   3394 ac_rmfiles=
   3395 for ac_file in $ac_files
   3396 do
   3397   case $ac_file in
   3398     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3399     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3400   esac
   3401 done
   3402 rm -f $ac_rmfiles
   3403 
   3404 if { { ac_try="$ac_link_default"
   3405 case "(($ac_try" in
   3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3407   *) ac_try_echo=$ac_try;;
   3408 esac
   3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3410 $as_echo "$ac_try_echo"; } >&5
   3411   (eval "$ac_link_default") 2>&5
   3412   ac_status=$?
   3413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3414   test $ac_status = 0; }; then :
   3415   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3416 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3417 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3418 # so that the user can short-circuit this test for compilers unknown to
   3419 # Autoconf.
   3420 for ac_file in $ac_files ''
   3421 do
   3422   test -f "$ac_file" || continue
   3423   case $ac_file in
   3424     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3425 	;;
   3426     [ab].out )
   3427 	# We found the default executable, but exeext='' is most
   3428 	# certainly right.
   3429 	break;;
   3430     *.* )
   3431 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3432 	then :; else
   3433 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3434 	fi
   3435 	# We set ac_cv_exeext here because the later test for it is not
   3436 	# safe: cross compilers may not add the suffix if given an `-o'
   3437 	# argument, so we may need to know it at that point already.
   3438 	# Even if this section looks crufty: it has the advantage of
   3439 	# actually working.
   3440 	break;;
   3441     * )
   3442 	break;;
   3443   esac
   3444 done
   3445 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3446 
   3447 else
   3448   ac_file=''
   3449 fi
   3450 if test -z "$ac_file"; then :
   3451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3452 $as_echo "no" >&6; }
   3453 $as_echo "$as_me: failed program was:" >&5
   3454 sed 's/^/| /' conftest.$ac_ext >&5
   3455 
   3456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3458 as_fn_error 77 "C compiler cannot create executables
   3459 See \`config.log' for more details" "$LINENO" 5; }
   3460 else
   3461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3462 $as_echo "yes" >&6; }
   3463 fi
   3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3465 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3467 $as_echo "$ac_file" >&6; }
   3468 ac_exeext=$ac_cv_exeext
   3469 
   3470 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3471 ac_clean_files=$ac_clean_files_save
   3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3473 $as_echo_n "checking for suffix of executables... " >&6; }
   3474 if { { ac_try="$ac_link"
   3475 case "(($ac_try" in
   3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3477   *) ac_try_echo=$ac_try;;
   3478 esac
   3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3480 $as_echo "$ac_try_echo"; } >&5
   3481   (eval "$ac_link") 2>&5
   3482   ac_status=$?
   3483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3484   test $ac_status = 0; }; then :
   3485   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3486 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3487 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3488 # `rm'.
   3489 for ac_file in conftest.exe conftest conftest.*; do
   3490   test -f "$ac_file" || continue
   3491   case $ac_file in
   3492     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3493     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3494 	  break;;
   3495     * ) break;;
   3496   esac
   3497 done
   3498 else
   3499   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3501 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3502 See \`config.log' for more details" "$LINENO" 5; }
   3503 fi
   3504 rm -f conftest conftest$ac_cv_exeext
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3506 $as_echo "$ac_cv_exeext" >&6; }
   3507 
   3508 rm -f conftest.$ac_ext
   3509 EXEEXT=$ac_cv_exeext
   3510 ac_exeext=$EXEEXT
   3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3512 /* end confdefs.h.  */
   3513 #include <stdio.h>
   3514 int
   3515 main ()
   3516 {
   3517 FILE *f = fopen ("conftest.out", "w");
   3518  return ferror (f) || fclose (f) != 0;
   3519 
   3520   ;
   3521   return 0;
   3522 }
   3523 _ACEOF
   3524 ac_clean_files="$ac_clean_files conftest.out"
   3525 # Check that the compiler produces executables we can run.  If not, either
   3526 # the compiler is broken, or we cross compile.
   3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3528 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3529 if test "$cross_compiling" != yes; then
   3530   { { ac_try="$ac_link"
   3531 case "(($ac_try" in
   3532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3533   *) ac_try_echo=$ac_try;;
   3534 esac
   3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3536 $as_echo "$ac_try_echo"; } >&5
   3537   (eval "$ac_link") 2>&5
   3538   ac_status=$?
   3539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3540   test $ac_status = 0; }
   3541   if { ac_try='./conftest$ac_cv_exeext'
   3542   { { case "(($ac_try" in
   3543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3544   *) ac_try_echo=$ac_try;;
   3545 esac
   3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3547 $as_echo "$ac_try_echo"; } >&5
   3548   (eval "$ac_try") 2>&5
   3549   ac_status=$?
   3550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3551   test $ac_status = 0; }; }; then
   3552     cross_compiling=no
   3553   else
   3554     if test "$cross_compiling" = maybe; then
   3555 	cross_compiling=yes
   3556     else
   3557 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3559 as_fn_error $? "cannot run C compiled programs.
   3560 If you meant to cross compile, use \`--host'.
   3561 See \`config.log' for more details" "$LINENO" 5; }
   3562     fi
   3563   fi
   3564 fi
   3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3566 $as_echo "$cross_compiling" >&6; }
   3567 
   3568 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3569 ac_clean_files=$ac_clean_files_save
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3571 $as_echo_n "checking for suffix of object files... " >&6; }
   3572 if ${ac_cv_objext+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586 rm -f conftest.o conftest.obj
   3587 if { { ac_try="$ac_compile"
   3588 case "(($ac_try" in
   3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3590   *) ac_try_echo=$ac_try;;
   3591 esac
   3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3593 $as_echo "$ac_try_echo"; } >&5
   3594   (eval "$ac_compile") 2>&5
   3595   ac_status=$?
   3596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3597   test $ac_status = 0; }; then :
   3598   for ac_file in conftest.o conftest.obj conftest.*; do
   3599   test -f "$ac_file" || continue;
   3600   case $ac_file in
   3601     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3602     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3603        break;;
   3604   esac
   3605 done
   3606 else
   3607   $as_echo "$as_me: failed program was:" >&5
   3608 sed 's/^/| /' conftest.$ac_ext >&5
   3609 
   3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3612 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3613 See \`config.log' for more details" "$LINENO" 5; }
   3614 fi
   3615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3618 $as_echo "$ac_cv_objext" >&6; }
   3619 OBJEXT=$ac_cv_objext
   3620 ac_objext=$OBJEXT
   3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3623 if ${ac_cv_c_compiler_gnu+:} false; then :
   3624   $as_echo_n "(cached) " >&6
   3625 else
   3626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3627 /* end confdefs.h.  */
   3628 
   3629 int
   3630 main ()
   3631 {
   3632 #ifndef __GNUC__
   3633        choke me
   3634 #endif
   3635 
   3636   ;
   3637   return 0;
   3638 }
   3639 _ACEOF
   3640 if ac_fn_c_try_compile "$LINENO"; then :
   3641   ac_compiler_gnu=yes
   3642 else
   3643   ac_compiler_gnu=no
   3644 fi
   3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3647 
   3648 fi
   3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3651 if test $ac_compiler_gnu = yes; then
   3652   GCC=yes
   3653 else
   3654   GCC=
   3655 fi
   3656 ac_test_CFLAGS=${CFLAGS+set}
   3657 ac_save_CFLAGS=$CFLAGS
   3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3660 if ${ac_cv_prog_cc_g+:} false; then :
   3661   $as_echo_n "(cached) " >&6
   3662 else
   3663   ac_save_c_werror_flag=$ac_c_werror_flag
   3664    ac_c_werror_flag=yes
   3665    ac_cv_prog_cc_g=no
   3666    CFLAGS="-g"
   3667    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3668 /* end confdefs.h.  */
   3669 
   3670 int
   3671 main ()
   3672 {
   3673 
   3674   ;
   3675   return 0;
   3676 }
   3677 _ACEOF
   3678 if ac_fn_c_try_compile "$LINENO"; then :
   3679   ac_cv_prog_cc_g=yes
   3680 else
   3681   CFLAGS=""
   3682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3683 /* end confdefs.h.  */
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693 if ac_fn_c_try_compile "$LINENO"; then :
   3694 
   3695 else
   3696   ac_c_werror_flag=$ac_save_c_werror_flag
   3697 	 CFLAGS="-g"
   3698 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3699 /* end confdefs.h.  */
   3700 
   3701 int
   3702 main ()
   3703 {
   3704 
   3705   ;
   3706   return 0;
   3707 }
   3708 _ACEOF
   3709 if ac_fn_c_try_compile "$LINENO"; then :
   3710   ac_cv_prog_cc_g=yes
   3711 fi
   3712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3713 fi
   3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3715 fi
   3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3717    ac_c_werror_flag=$ac_save_c_werror_flag
   3718 fi
   3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3720 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3721 if test "$ac_test_CFLAGS" = set; then
   3722   CFLAGS=$ac_save_CFLAGS
   3723 elif test $ac_cv_prog_cc_g = yes; then
   3724   if test "$GCC" = yes; then
   3725     CFLAGS="-g -O2"
   3726   else
   3727     CFLAGS="-g"
   3728   fi
   3729 else
   3730   if test "$GCC" = yes; then
   3731     CFLAGS="-O2"
   3732   else
   3733     CFLAGS=
   3734   fi
   3735 fi
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3738 if ${ac_cv_prog_cc_c89+:} false; then :
   3739   $as_echo_n "(cached) " >&6
   3740 else
   3741   ac_cv_prog_cc_c89=no
   3742 ac_save_CC=$CC
   3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3744 /* end confdefs.h.  */
   3745 #include <stdarg.h>
   3746 #include <stdio.h>
   3747 struct stat;
   3748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3749 struct buf { int x; };
   3750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3751 static char *e (p, i)
   3752      char **p;
   3753      int i;
   3754 {
   3755   return p[i];
   3756 }
   3757 static char *f (char * (*g) (char **, int), char **p, ...)
   3758 {
   3759   char *s;
   3760   va_list v;
   3761   va_start (v,p);
   3762   s = g (p, va_arg (v,int));
   3763   va_end (v);
   3764   return s;
   3765 }
   3766 
   3767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3768    function prototypes and stuff, but not '\xHH' hex character constants.
   3769    These don't provoke an error unfortunately, instead are silently treated
   3770    as 'x'.  The following induces an error, until -std is added to get
   3771    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3772    array size at least.  It's necessary to write '\x00'==0 to get something
   3773    that's true only with -std.  */
   3774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3775 
   3776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3777    inside strings and character constants.  */
   3778 #define FOO(x) 'x'
   3779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3780 
   3781 int test (int i, double x);
   3782 struct s1 {int (*f) (int a);};
   3783 struct s2 {int (*f) (double a);};
   3784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3785 int argc;
   3786 char **argv;
   3787 int
   3788 main ()
   3789 {
   3790 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3791   ;
   3792   return 0;
   3793 }
   3794 _ACEOF
   3795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3796 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3797 do
   3798   CC="$ac_save_CC $ac_arg"
   3799   if ac_fn_c_try_compile "$LINENO"; then :
   3800   ac_cv_prog_cc_c89=$ac_arg
   3801 fi
   3802 rm -f core conftest.err conftest.$ac_objext
   3803   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3804 done
   3805 rm -f conftest.$ac_ext
   3806 CC=$ac_save_CC
   3807 
   3808 fi
   3809 # AC_CACHE_VAL
   3810 case "x$ac_cv_prog_cc_c89" in
   3811   x)
   3812     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3813 $as_echo "none needed" >&6; } ;;
   3814   xno)
   3815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3816 $as_echo "unsupported" >&6; } ;;
   3817   *)
   3818     CC="$CC $ac_cv_prog_cc_c89"
   3819     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3821 esac
   3822 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3823 
   3824 fi
   3825 
   3826 ac_ext=c
   3827 ac_cpp='$CPP $CPPFLAGS'
   3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3831 
   3832 ac_ext=c
   3833 ac_cpp='$CPP $CPPFLAGS'
   3834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3838 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3839 if ${am_cv_prog_cc_c_o+:} false; then :
   3840   $as_echo_n "(cached) " >&6
   3841 else
   3842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3843 /* end confdefs.h.  */
   3844 
   3845 int
   3846 main ()
   3847 {
   3848 
   3849   ;
   3850   return 0;
   3851 }
   3852 _ACEOF
   3853   # Make sure it works both with $CC and with simple cc.
   3854   # Following AC_PROG_CC_C_O, we do the test twice because some
   3855   # compilers refuse to overwrite an existing .o file with -o,
   3856   # though they will create one.
   3857   am_cv_prog_cc_c_o=yes
   3858   for am_i in 1 2; do
   3859     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3860    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3861    ac_status=$?
   3862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3863    (exit $ac_status); } \
   3864          && test -f conftest2.$ac_objext; then
   3865       : OK
   3866     else
   3867       am_cv_prog_cc_c_o=no
   3868       break
   3869     fi
   3870   done
   3871   rm -f core conftest*
   3872   unset am_i
   3873 fi
   3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3875 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3876 if test "$am_cv_prog_cc_c_o" != yes; then
   3877    # Losing compiler, so override with the script.
   3878    # FIXME: It is wrong to rewrite CC.
   3879    # But if we don't then we get into trouble of one sort or another.
   3880    # A longer-term fix would be to have automake use am__CC in this case,
   3881    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3882    CC="$am_aux_dir/compile $CC"
   3883 fi
   3884 ac_ext=c
   3885 ac_cpp='$CPP $CPPFLAGS'
   3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3889 
   3890 
   3891 depcc="$CC"   am_compiler_list=
   3892 
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3894 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3895 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3896   $as_echo_n "(cached) " >&6
   3897 else
   3898   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3899   # We make a subdir and do the tests there.  Otherwise we can end up
   3900   # making bogus files that we don't know about and never remove.  For
   3901   # instance it was reported that on HP-UX the gcc test will end up
   3902   # making a dummy file named 'D' -- because '-MD' means "put the output
   3903   # in D".
   3904   rm -rf conftest.dir
   3905   mkdir conftest.dir
   3906   # Copy depcomp to subdir because otherwise we won't find it if we're
   3907   # using a relative directory.
   3908   cp "$am_depcomp" conftest.dir
   3909   cd conftest.dir
   3910   # We will build objects and dependencies in a subdirectory because
   3911   # it helps to detect inapplicable dependency modes.  For instance
   3912   # both Tru64's cc and ICC support -MD to output dependencies as a
   3913   # side effect of compilation, but ICC will put the dependencies in
   3914   # the current directory while Tru64 will put them in the object
   3915   # directory.
   3916   mkdir sub
   3917 
   3918   am_cv_CC_dependencies_compiler_type=none
   3919   if test "$am_compiler_list" = ""; then
   3920      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3921   fi
   3922   am__universal=false
   3923   case " $depcc " in #(
   3924      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3925      esac
   3926 
   3927   for depmode in $am_compiler_list; do
   3928     # Setup a source with many dependencies, because some compilers
   3929     # like to wrap large dependency lists on column 80 (with \), and
   3930     # we should not choose a depcomp mode which is confused by this.
   3931     #
   3932     # We need to recreate these files for each test, as the compiler may
   3933     # overwrite some of them when testing with obscure command lines.
   3934     # This happens at least with the AIX C compiler.
   3935     : > sub/conftest.c
   3936     for i in 1 2 3 4 5 6; do
   3937       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3938       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3939       # Solaris 10 /bin/sh.
   3940       echo '/* dummy */' > sub/conftst$i.h
   3941     done
   3942     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3943 
   3944     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3945     # mode.  It turns out that the SunPro C++ compiler does not properly
   3946     # handle '-M -o', and we need to detect this.  Also, some Intel
   3947     # versions had trouble with output in subdirs.
   3948     am__obj=sub/conftest.${OBJEXT-o}
   3949     am__minus_obj="-o $am__obj"
   3950     case $depmode in
   3951     gcc)
   3952       # This depmode causes a compiler race in universal mode.
   3953       test "$am__universal" = false || continue
   3954       ;;
   3955     nosideeffect)
   3956       # After this tag, mechanisms are not by side-effect, so they'll
   3957       # only be used when explicitly requested.
   3958       if test "x$enable_dependency_tracking" = xyes; then
   3959 	continue
   3960       else
   3961 	break
   3962       fi
   3963       ;;
   3964     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3965       # This compiler won't grok '-c -o', but also, the minuso test has
   3966       # not run yet.  These depmodes are late enough in the game, and
   3967       # so weak that their functioning should not be impacted.
   3968       am__obj=conftest.${OBJEXT-o}
   3969       am__minus_obj=
   3970       ;;
   3971     none) break ;;
   3972     esac
   3973     if depmode=$depmode \
   3974        source=sub/conftest.c object=$am__obj \
   3975        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3976        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3977          >/dev/null 2>conftest.err &&
   3978        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3979        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3980        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3981        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3982       # icc doesn't choke on unknown options, it will just issue warnings
   3983       # or remarks (even with -Werror).  So we grep stderr for any message
   3984       # that says an option was ignored or not supported.
   3985       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3986       #   icc: Command line warning: ignoring option '-M'; no argument required
   3987       # The diagnosis changed in icc 8.0:
   3988       #   icc: Command line remark: option '-MP' not supported
   3989       if (grep 'ignoring option' conftest.err ||
   3990           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3991         am_cv_CC_dependencies_compiler_type=$depmode
   3992         break
   3993       fi
   3994     fi
   3995   done
   3996 
   3997   cd ..
   3998   rm -rf conftest.dir
   3999 else
   4000   am_cv_CC_dependencies_compiler_type=none
   4001 fi
   4002 
   4003 fi
   4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4005 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4006 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4007 
   4008  if
   4009   test "x$enable_dependency_tracking" != xno \
   4010   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4011   am__fastdepCC_TRUE=
   4012   am__fastdepCC_FALSE='#'
   4013 else
   4014   am__fastdepCC_TRUE='#'
   4015   am__fastdepCC_FALSE=
   4016 fi
   4017 
   4018 
   4019    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4020 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4021 if ${ac_cv_prog_cc_c99+:} false; then :
   4022   $as_echo_n "(cached) " >&6
   4023 else
   4024   ac_cv_prog_cc_c99=no
   4025 ac_save_CC=$CC
   4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4027 /* end confdefs.h.  */
   4028 #include <stdarg.h>
   4029 #include <stdbool.h>
   4030 #include <stdlib.h>
   4031 #include <wchar.h>
   4032 #include <stdio.h>
   4033 
   4034 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4035 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4036 #define showlist(...) puts (#__VA_ARGS__)
   4037 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4038 static void
   4039 test_varargs_macros (void)
   4040 {
   4041   int x = 1234;
   4042   int y = 5678;
   4043   debug ("Flag");
   4044   debug ("X = %d\n", x);
   4045   showlist (The first, second, and third items.);
   4046   report (x>y, "x is %d but y is %d", x, y);
   4047 }
   4048 
   4049 // Check long long types.
   4050 #define BIG64 18446744073709551615ull
   4051 #define BIG32 4294967295ul
   4052 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4053 #if !BIG_OK
   4054   your preprocessor is broken;
   4055 #endif
   4056 #if BIG_OK
   4057 #else
   4058   your preprocessor is broken;
   4059 #endif
   4060 static long long int bignum = -9223372036854775807LL;
   4061 static unsigned long long int ubignum = BIG64;
   4062 
   4063 struct incomplete_array
   4064 {
   4065   int datasize;
   4066   double data[];
   4067 };
   4068 
   4069 struct named_init {
   4070   int number;
   4071   const wchar_t *name;
   4072   double average;
   4073 };
   4074 
   4075 typedef const char *ccp;
   4076 
   4077 static inline int
   4078 test_restrict (ccp restrict text)
   4079 {
   4080   // See if C++-style comments work.
   4081   // Iterate through items via the restricted pointer.
   4082   // Also check for declarations in for loops.
   4083   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4084     continue;
   4085   return 0;
   4086 }
   4087 
   4088 // Check varargs and va_copy.
   4089 static void
   4090 test_varargs (const char *format, ...)
   4091 {
   4092   va_list args;
   4093   va_start (args, format);
   4094   va_list args_copy;
   4095   va_copy (args_copy, args);
   4096 
   4097   const char *str;
   4098   int number;
   4099   float fnumber;
   4100 
   4101   while (*format)
   4102     {
   4103       switch (*format++)
   4104 	{
   4105 	case 's': // string
   4106 	  str = va_arg (args_copy, const char *);
   4107 	  break;
   4108 	case 'd': // int
   4109 	  number = va_arg (args_copy, int);
   4110 	  break;
   4111 	case 'f': // float
   4112 	  fnumber = va_arg (args_copy, double);
   4113 	  break;
   4114 	default:
   4115 	  break;
   4116 	}
   4117     }
   4118   va_end (args_copy);
   4119   va_end (args);
   4120 }
   4121 
   4122 int
   4123 main ()
   4124 {
   4125 
   4126   // Check bool.
   4127   _Bool success = false;
   4128 
   4129   // Check restrict.
   4130   if (test_restrict ("String literal") == 0)
   4131     success = true;
   4132   char *restrict newvar = "Another string";
   4133 
   4134   // Check varargs.
   4135   test_varargs ("s, d' f .", "string", 65, 34.234);
   4136   test_varargs_macros ();
   4137 
   4138   // Check flexible array members.
   4139   struct incomplete_array *ia =
   4140     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4141   ia->datasize = 10;
   4142   for (int i = 0; i < ia->datasize; ++i)
   4143     ia->data[i] = i * 1.234;
   4144 
   4145   // Check named initializers.
   4146   struct named_init ni = {
   4147     .number = 34,
   4148     .name = L"Test wide string",
   4149     .average = 543.34343,
   4150   };
   4151 
   4152   ni.number = 58;
   4153 
   4154   int dynamic_array[ni.number];
   4155   dynamic_array[ni.number - 1] = 543;
   4156 
   4157   // work around unused variable warnings
   4158   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4159 	  || dynamic_array[ni.number - 1] != 543);
   4160 
   4161   ;
   4162   return 0;
   4163 }
   4164 _ACEOF
   4165 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4166 do
   4167   CC="$ac_save_CC $ac_arg"
   4168   if ac_fn_c_try_compile "$LINENO"; then :
   4169   ac_cv_prog_cc_c99=$ac_arg
   4170 fi
   4171 rm -f core conftest.err conftest.$ac_objext
   4172   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4173 done
   4174 rm -f conftest.$ac_ext
   4175 CC=$ac_save_CC
   4176 
   4177 fi
   4178 # AC_CACHE_VAL
   4179 case "x$ac_cv_prog_cc_c99" in
   4180   x)
   4181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4182 $as_echo "none needed" >&6; } ;;
   4183   xno)
   4184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4185 $as_echo "unsupported" >&6; } ;;
   4186   *)
   4187     CC="$CC $ac_cv_prog_cc_c99"
   4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4189 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4190 esac
   4191 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4192 
   4193 fi
   4194 
   4195 
   4196 
   4197 ac_ext=c
   4198 ac_cpp='$CPP $CPPFLAGS'
   4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4203 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4204 # On Suns, sometimes $CPP names a directory.
   4205 if test -n "$CPP" && test -d "$CPP"; then
   4206   CPP=
   4207 fi
   4208 if test -z "$CPP"; then
   4209   if ${ac_cv_prog_CPP+:} false; then :
   4210   $as_echo_n "(cached) " >&6
   4211 else
   4212       # Double quotes because CPP needs to be expanded
   4213     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4214     do
   4215       ac_preproc_ok=false
   4216 for ac_c_preproc_warn_flag in '' yes
   4217 do
   4218   # Use a header file that comes with gcc, so configuring glibc
   4219   # with a fresh cross-compiler works.
   4220   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4221   # <limits.h> exists even on freestanding compilers.
   4222   # On the NeXT, cc -E runs the code through the compiler's parser,
   4223   # not just through cpp. "Syntax error" is here to catch this case.
   4224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 #ifdef __STDC__
   4227 # include <limits.h>
   4228 #else
   4229 # include <assert.h>
   4230 #endif
   4231 		     Syntax error
   4232 _ACEOF
   4233 if ac_fn_c_try_cpp "$LINENO"; then :
   4234 
   4235 else
   4236   # Broken: fails on valid input.
   4237 continue
   4238 fi
   4239 rm -f conftest.err conftest.i conftest.$ac_ext
   4240 
   4241   # OK, works on sane cases.  Now check whether nonexistent headers
   4242   # can be detected and how.
   4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4244 /* end confdefs.h.  */
   4245 #include <ac_nonexistent.h>
   4246 _ACEOF
   4247 if ac_fn_c_try_cpp "$LINENO"; then :
   4248   # Broken: success on invalid input.
   4249 continue
   4250 else
   4251   # Passes both tests.
   4252 ac_preproc_ok=:
   4253 break
   4254 fi
   4255 rm -f conftest.err conftest.i conftest.$ac_ext
   4256 
   4257 done
   4258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4259 rm -f conftest.i conftest.err conftest.$ac_ext
   4260 if $ac_preproc_ok; then :
   4261   break
   4262 fi
   4263 
   4264     done
   4265     ac_cv_prog_CPP=$CPP
   4266 
   4267 fi
   4268   CPP=$ac_cv_prog_CPP
   4269 else
   4270   ac_cv_prog_CPP=$CPP
   4271 fi
   4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4273 $as_echo "$CPP" >&6; }
   4274 ac_preproc_ok=false
   4275 for ac_c_preproc_warn_flag in '' yes
   4276 do
   4277   # Use a header file that comes with gcc, so configuring glibc
   4278   # with a fresh cross-compiler works.
   4279   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4280   # <limits.h> exists even on freestanding compilers.
   4281   # On the NeXT, cc -E runs the code through the compiler's parser,
   4282   # not just through cpp. "Syntax error" is here to catch this case.
   4283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 #ifdef __STDC__
   4286 # include <limits.h>
   4287 #else
   4288 # include <assert.h>
   4289 #endif
   4290 		     Syntax error
   4291 _ACEOF
   4292 if ac_fn_c_try_cpp "$LINENO"; then :
   4293 
   4294 else
   4295   # Broken: fails on valid input.
   4296 continue
   4297 fi
   4298 rm -f conftest.err conftest.i conftest.$ac_ext
   4299 
   4300   # OK, works on sane cases.  Now check whether nonexistent headers
   4301   # can be detected and how.
   4302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4303 /* end confdefs.h.  */
   4304 #include <ac_nonexistent.h>
   4305 _ACEOF
   4306 if ac_fn_c_try_cpp "$LINENO"; then :
   4307   # Broken: success on invalid input.
   4308 continue
   4309 else
   4310   # Passes both tests.
   4311 ac_preproc_ok=:
   4312 break
   4313 fi
   4314 rm -f conftest.err conftest.i conftest.$ac_ext
   4315 
   4316 done
   4317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4318 rm -f conftest.i conftest.err conftest.$ac_ext
   4319 if $ac_preproc_ok; then :
   4320 
   4321 else
   4322   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4324 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4325 See \`config.log' for more details" "$LINENO" 5; }
   4326 fi
   4327 
   4328 ac_ext=c
   4329 ac_cpp='$CPP $CPPFLAGS'
   4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4333 
   4334 
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4336 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4337 if ${ac_cv_path_GREP+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   if test -z "$GREP"; then
   4341   ac_path_GREP_found=false
   4342   # Loop through the user's path and test for each of PROGNAME-LIST
   4343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4345 do
   4346   IFS=$as_save_IFS
   4347   test -z "$as_dir" && as_dir=.
   4348     for ac_prog in grep ggrep; do
   4349     for ac_exec_ext in '' $ac_executable_extensions; do
   4350       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4351       as_fn_executable_p "$ac_path_GREP" || continue
   4352 # Check for GNU ac_path_GREP and select it if it is found.
   4353   # Check for GNU $ac_path_GREP
   4354 case `"$ac_path_GREP" --version 2>&1` in
   4355 *GNU*)
   4356   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4357 *)
   4358   ac_count=0
   4359   $as_echo_n 0123456789 >"conftest.in"
   4360   while :
   4361   do
   4362     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4363     mv "conftest.tmp" "conftest.in"
   4364     cp "conftest.in" "conftest.nl"
   4365     $as_echo 'GREP' >> "conftest.nl"
   4366     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4367     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4368     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4369     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4370       # Best one so far, save it but keep looking for a better one
   4371       ac_cv_path_GREP="$ac_path_GREP"
   4372       ac_path_GREP_max=$ac_count
   4373     fi
   4374     # 10*(2^10) chars as input seems more than enough
   4375     test $ac_count -gt 10 && break
   4376   done
   4377   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4378 esac
   4379 
   4380       $ac_path_GREP_found && break 3
   4381     done
   4382   done
   4383   done
   4384 IFS=$as_save_IFS
   4385   if test -z "$ac_cv_path_GREP"; then
   4386     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4387   fi
   4388 else
   4389   ac_cv_path_GREP=$GREP
   4390 fi
   4391 
   4392 fi
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4394 $as_echo "$ac_cv_path_GREP" >&6; }
   4395  GREP="$ac_cv_path_GREP"
   4396 
   4397 
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4399 $as_echo_n "checking for egrep... " >&6; }
   4400 if ${ac_cv_path_EGREP+:} false; then :
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4404    then ac_cv_path_EGREP="$GREP -E"
   4405    else
   4406      if test -z "$EGREP"; then
   4407   ac_path_EGREP_found=false
   4408   # Loop through the user's path and test for each of PROGNAME-LIST
   4409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4410 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4411 do
   4412   IFS=$as_save_IFS
   4413   test -z "$as_dir" && as_dir=.
   4414     for ac_prog in egrep; do
   4415     for ac_exec_ext in '' $ac_executable_extensions; do
   4416       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4417       as_fn_executable_p "$ac_path_EGREP" || continue
   4418 # Check for GNU ac_path_EGREP and select it if it is found.
   4419   # Check for GNU $ac_path_EGREP
   4420 case `"$ac_path_EGREP" --version 2>&1` in
   4421 *GNU*)
   4422   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4423 *)
   4424   ac_count=0
   4425   $as_echo_n 0123456789 >"conftest.in"
   4426   while :
   4427   do
   4428     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4429     mv "conftest.tmp" "conftest.in"
   4430     cp "conftest.in" "conftest.nl"
   4431     $as_echo 'EGREP' >> "conftest.nl"
   4432     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4433     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4434     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4435     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4436       # Best one so far, save it but keep looking for a better one
   4437       ac_cv_path_EGREP="$ac_path_EGREP"
   4438       ac_path_EGREP_max=$ac_count
   4439     fi
   4440     # 10*(2^10) chars as input seems more than enough
   4441     test $ac_count -gt 10 && break
   4442   done
   4443   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4444 esac
   4445 
   4446       $ac_path_EGREP_found && break 3
   4447     done
   4448   done
   4449   done
   4450 IFS=$as_save_IFS
   4451   if test -z "$ac_cv_path_EGREP"; then
   4452     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4453   fi
   4454 else
   4455   ac_cv_path_EGREP=$EGREP
   4456 fi
   4457 
   4458    fi
   4459 fi
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4461 $as_echo "$ac_cv_path_EGREP" >&6; }
   4462  EGREP="$ac_cv_path_EGREP"
   4463 
   4464 
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4466 $as_echo_n "checking for ANSI C header files... " >&6; }
   4467 if ${ac_cv_header_stdc+:} false; then :
   4468   $as_echo_n "(cached) " >&6
   4469 else
   4470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4471 /* end confdefs.h.  */
   4472 #include <stdlib.h>
   4473 #include <stdarg.h>
   4474 #include <string.h>
   4475 #include <float.h>
   4476 
   4477 int
   4478 main ()
   4479 {
   4480 
   4481   ;
   4482   return 0;
   4483 }
   4484 _ACEOF
   4485 if ac_fn_c_try_compile "$LINENO"; then :
   4486   ac_cv_header_stdc=yes
   4487 else
   4488   ac_cv_header_stdc=no
   4489 fi
   4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4491 
   4492 if test $ac_cv_header_stdc = yes; then
   4493   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4495 /* end confdefs.h.  */
   4496 #include <string.h>
   4497 
   4498 _ACEOF
   4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4500   $EGREP "memchr" >/dev/null 2>&1; then :
   4501 
   4502 else
   4503   ac_cv_header_stdc=no
   4504 fi
   4505 rm -f conftest*
   4506 
   4507 fi
   4508 
   4509 if test $ac_cv_header_stdc = yes; then
   4510   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4512 /* end confdefs.h.  */
   4513 #include <stdlib.h>
   4514 
   4515 _ACEOF
   4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4517   $EGREP "free" >/dev/null 2>&1; then :
   4518 
   4519 else
   4520   ac_cv_header_stdc=no
   4521 fi
   4522 rm -f conftest*
   4523 
   4524 fi
   4525 
   4526 if test $ac_cv_header_stdc = yes; then
   4527   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4528   if test "$cross_compiling" = yes; then :
   4529   :
   4530 else
   4531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4532 /* end confdefs.h.  */
   4533 #include <ctype.h>
   4534 #include <stdlib.h>
   4535 #if ((' ' & 0x0FF) == 0x020)
   4536 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4537 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4538 #else
   4539 # define ISLOWER(c) \
   4540 		   (('a' <= (c) && (c) <= 'i') \
   4541 		     || ('j' <= (c) && (c) <= 'r') \
   4542 		     || ('s' <= (c) && (c) <= 'z'))
   4543 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4544 #endif
   4545 
   4546 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4547 int
   4548 main ()
   4549 {
   4550   int i;
   4551   for (i = 0; i < 256; i++)
   4552     if (XOR (islower (i), ISLOWER (i))
   4553 	|| toupper (i) != TOUPPER (i))
   4554       return 2;
   4555   return 0;
   4556 }
   4557 _ACEOF
   4558 if ac_fn_c_try_run "$LINENO"; then :
   4559 
   4560 else
   4561   ac_cv_header_stdc=no
   4562 fi
   4563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4564   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4565 fi
   4566 
   4567 fi
   4568 fi
   4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4570 $as_echo "$ac_cv_header_stdc" >&6; }
   4571 if test $ac_cv_header_stdc = yes; then
   4572 
   4573 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4574 
   4575 fi
   4576 
   4577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4579 		  inttypes.h stdint.h unistd.h
   4580 do :
   4581   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4583 "
   4584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4585   cat >>confdefs.h <<_ACEOF
   4586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4587 _ACEOF
   4588 
   4589 fi
   4590 
   4591 done
   4592 
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4599 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4600   CLANGCC="yes"
   4601 else
   4602   CLANGCC="no"
   4603 fi
   4604 
   4605 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4606 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4607   INTELCC="yes"
   4608 else
   4609   INTELCC="no"
   4610 fi
   4611 
   4612 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4613 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4614   SUNCC="yes"
   4615 else
   4616   SUNCC="no"
   4617 fi
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4628 	if test -n "$ac_tool_prefix"; then
   4629   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4632 $as_echo_n "checking for $ac_word... " >&6; }
   4633 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4634   $as_echo_n "(cached) " >&6
   4635 else
   4636   case $PKG_CONFIG in
   4637   [\\/]* | ?:[\\/]*)
   4638   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4639   ;;
   4640   *)
   4641   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4642 for as_dir in $PATH
   4643 do
   4644   IFS=$as_save_IFS
   4645   test -z "$as_dir" && as_dir=.
   4646     for ac_exec_ext in '' $ac_executable_extensions; do
   4647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4648     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4650     break 2
   4651   fi
   4652 done
   4653   done
   4654 IFS=$as_save_IFS
   4655 
   4656   ;;
   4657 esac
   4658 fi
   4659 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4660 if test -n "$PKG_CONFIG"; then
   4661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4662 $as_echo "$PKG_CONFIG" >&6; }
   4663 else
   4664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4665 $as_echo "no" >&6; }
   4666 fi
   4667 
   4668 
   4669 fi
   4670 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4671   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4672   # Extract the first word of "pkg-config", so it can be a program name with args.
   4673 set dummy pkg-config; ac_word=$2
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4675 $as_echo_n "checking for $ac_word... " >&6; }
   4676 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679   case $ac_pt_PKG_CONFIG in
   4680   [\\/]* | ?:[\\/]*)
   4681   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4682   ;;
   4683   *)
   4684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4685 for as_dir in $PATH
   4686 do
   4687   IFS=$as_save_IFS
   4688   test -z "$as_dir" && as_dir=.
   4689     for ac_exec_ext in '' $ac_executable_extensions; do
   4690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4691     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4693     break 2
   4694   fi
   4695 done
   4696   done
   4697 IFS=$as_save_IFS
   4698 
   4699   ;;
   4700 esac
   4701 fi
   4702 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4703 if test -n "$ac_pt_PKG_CONFIG"; then
   4704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4705 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4706 else
   4707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4708 $as_echo "no" >&6; }
   4709 fi
   4710 
   4711   if test "x$ac_pt_PKG_CONFIG" = x; then
   4712     PKG_CONFIG=""
   4713   else
   4714     case $cross_compiling:$ac_tool_warned in
   4715 yes:)
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4718 ac_tool_warned=yes ;;
   4719 esac
   4720     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4721   fi
   4722 else
   4723   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4724 fi
   4725 
   4726 fi
   4727 if test -n "$PKG_CONFIG"; then
   4728 	_pkg_min_version=0.9.0
   4729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4730 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4731 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4733 $as_echo "yes" >&6; }
   4734 	else
   4735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4736 $as_echo "no" >&6; }
   4737 		PKG_CONFIG=""
   4738 	fi
   4739 fi
   4740 # Make sure we can run config.sub.
   4741 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4742   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4743 
   4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4745 $as_echo_n "checking build system type... " >&6; }
   4746 if ${ac_cv_build+:} false; then :
   4747   $as_echo_n "(cached) " >&6
   4748 else
   4749   ac_build_alias=$build_alias
   4750 test "x$ac_build_alias" = x &&
   4751   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4752 test "x$ac_build_alias" = x &&
   4753   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4754 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4755   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4756 
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4759 $as_echo "$ac_cv_build" >&6; }
   4760 case $ac_cv_build in
   4761 *-*-*) ;;
   4762 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4763 esac
   4764 build=$ac_cv_build
   4765 ac_save_IFS=$IFS; IFS='-'
   4766 set x $ac_cv_build
   4767 shift
   4768 build_cpu=$1
   4769 build_vendor=$2
   4770 shift; shift
   4771 # Remember, the first character of IFS is used to create $*,
   4772 # except with old shells:
   4773 build_os=$*
   4774 IFS=$ac_save_IFS
   4775 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4776 
   4777 
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4779 $as_echo_n "checking host system type... " >&6; }
   4780 if ${ac_cv_host+:} false; then :
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783   if test "x$host_alias" = x; then
   4784   ac_cv_host=$ac_cv_build
   4785 else
   4786   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4787     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4788 fi
   4789 
   4790 fi
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4792 $as_echo "$ac_cv_host" >&6; }
   4793 case $ac_cv_host in
   4794 *-*-*) ;;
   4795 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4796 esac
   4797 host=$ac_cv_host
   4798 ac_save_IFS=$IFS; IFS='-'
   4799 set x $ac_cv_host
   4800 shift
   4801 host_cpu=$1
   4802 host_vendor=$2
   4803 shift; shift
   4804 # Remember, the first character of IFS is used to create $*,
   4805 # except with old shells:
   4806 host_os=$*
   4807 IFS=$ac_save_IFS
   4808 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4809 
   4810 
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4812 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4813 if ${ac_cv_path_SED+:} false; then :
   4814   $as_echo_n "(cached) " >&6
   4815 else
   4816             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4817      for ac_i in 1 2 3 4 5 6 7; do
   4818        ac_script="$ac_script$as_nl$ac_script"
   4819      done
   4820      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4821      { ac_script=; unset ac_script;}
   4822      if test -z "$SED"; then
   4823   ac_path_SED_found=false
   4824   # Loop through the user's path and test for each of PROGNAME-LIST
   4825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4826 for as_dir in $PATH
   4827 do
   4828   IFS=$as_save_IFS
   4829   test -z "$as_dir" && as_dir=.
   4830     for ac_prog in sed gsed; do
   4831     for ac_exec_ext in '' $ac_executable_extensions; do
   4832       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4833       as_fn_executable_p "$ac_path_SED" || continue
   4834 # Check for GNU ac_path_SED and select it if it is found.
   4835   # Check for GNU $ac_path_SED
   4836 case `"$ac_path_SED" --version 2>&1` in
   4837 *GNU*)
   4838   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4839 *)
   4840   ac_count=0
   4841   $as_echo_n 0123456789 >"conftest.in"
   4842   while :
   4843   do
   4844     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4845     mv "conftest.tmp" "conftest.in"
   4846     cp "conftest.in" "conftest.nl"
   4847     $as_echo '' >> "conftest.nl"
   4848     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4849     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4850     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4851     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4852       # Best one so far, save it but keep looking for a better one
   4853       ac_cv_path_SED="$ac_path_SED"
   4854       ac_path_SED_max=$ac_count
   4855     fi
   4856     # 10*(2^10) chars as input seems more than enough
   4857     test $ac_count -gt 10 && break
   4858   done
   4859   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4860 esac
   4861 
   4862       $ac_path_SED_found && break 3
   4863     done
   4864   done
   4865   done
   4866 IFS=$as_save_IFS
   4867   if test -z "$ac_cv_path_SED"; then
   4868     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4869   fi
   4870 else
   4871   ac_cv_path_SED=$SED
   4872 fi
   4873 
   4874 fi
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4876 $as_echo "$ac_cv_path_SED" >&6; }
   4877  SED="$ac_cv_path_SED"
   4878   rm -f conftest.sed
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 # Check whether --enable-selective-werror was given.
   4886 if test "${enable_selective_werror+set}" = set; then :
   4887   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4888 else
   4889   SELECTIVE_WERROR=yes
   4890 fi
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4897 if test "x$SUNCC" = "xyes"; then
   4898     BASE_CFLAGS="-v"
   4899 else
   4900     BASE_CFLAGS=""
   4901 fi
   4902 
   4903 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 xorg_testset_save_CFLAGS="$CFLAGS"
   4918 
   4919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4924   $as_echo_n "(cached) " >&6
   4925 else
   4926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4927 /* end confdefs.h.  */
   4928 int i;
   4929 _ACEOF
   4930 if ac_fn_c_try_compile "$LINENO"; then :
   4931   xorg_cv_cc_flag_unknown_warning_option=yes
   4932 else
   4933   xorg_cv_cc_flag_unknown_warning_option=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4940 	CFLAGS="$xorg_testset_save_CFLAGS"
   4941 fi
   4942 
   4943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4946 	fi
   4947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4951   $as_echo_n "(cached) " >&6
   4952 else
   4953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4954 /* end confdefs.h.  */
   4955 int i;
   4956 _ACEOF
   4957 if ac_fn_c_try_compile "$LINENO"; then :
   4958   xorg_cv_cc_flag_unused_command_line_argument=yes
   4959 else
   4960   xorg_cv_cc_flag_unused_command_line_argument=no
   4961 fi
   4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4963 fi
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4967 	CFLAGS="$xorg_testset_save_CFLAGS"
   4968 fi
   4969 
   4970 found="no"
   4971 
   4972 	if test $found = "no" ; then
   4973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4975 		fi
   4976 
   4977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4979 		fi
   4980 
   4981 		CFLAGS="$CFLAGS -Wall"
   4982 
   4983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4984 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4985 		cacheid=xorg_cv_cc_flag__Wall
   4986 		if eval \${$cacheid+:} false; then :
   4987   $as_echo_n "(cached) " >&6
   4988 else
   4989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 int i;
   4992 int
   4993 main ()
   4994 {
   4995 
   4996   ;
   4997   return 0;
   4998 }
   4999 _ACEOF
   5000 if ac_fn_c_try_link "$LINENO"; then :
   5001   eval $cacheid=yes
   5002 else
   5003   eval $cacheid=no
   5004 fi
   5005 rm -f core conftest.err conftest.$ac_objext \
   5006     conftest$ac_exeext conftest.$ac_ext
   5007 fi
   5008 
   5009 
   5010 		CFLAGS="$xorg_testset_save_CFLAGS"
   5011 
   5012 		eval supported=\$$cacheid
   5013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5014 $as_echo "$supported" >&6; }
   5015 		if test "$supported" = "yes" ; then
   5016 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5017 			found="yes"
   5018 		fi
   5019 	fi
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 xorg_testset_save_CFLAGS="$CFLAGS"
   5036 
   5037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unknown_warning_option=yes
   5050 else
   5051   xorg_cv_cc_flag_unknown_warning_option=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 	fi
   5065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5069   $as_echo_n "(cached) " >&6
   5070 else
   5071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 _ACEOF
   5075 if ac_fn_c_try_compile "$LINENO"; then :
   5076   xorg_cv_cc_flag_unused_command_line_argument=yes
   5077 else
   5078   xorg_cv_cc_flag_unused_command_line_argument=no
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5081 fi
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5085 	CFLAGS="$xorg_testset_save_CFLAGS"
   5086 fi
   5087 
   5088 found="no"
   5089 
   5090 	if test $found = "no" ; then
   5091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 		fi
   5094 
   5095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5097 		fi
   5098 
   5099 		CFLAGS="$CFLAGS -Wpointer-arith"
   5100 
   5101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5102 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5103 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5104 		if eval \${$cacheid+:} false; then :
   5105   $as_echo_n "(cached) " >&6
   5106 else
   5107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5108 /* end confdefs.h.  */
   5109 int i;
   5110 int
   5111 main ()
   5112 {
   5113 
   5114   ;
   5115   return 0;
   5116 }
   5117 _ACEOF
   5118 if ac_fn_c_try_link "$LINENO"; then :
   5119   eval $cacheid=yes
   5120 else
   5121   eval $cacheid=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext \
   5124     conftest$ac_exeext conftest.$ac_ext
   5125 fi
   5126 
   5127 
   5128 		CFLAGS="$xorg_testset_save_CFLAGS"
   5129 
   5130 		eval supported=\$$cacheid
   5131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5132 $as_echo "$supported" >&6; }
   5133 		if test "$supported" = "yes" ; then
   5134 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5135 			found="yes"
   5136 		fi
   5137 	fi
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 xorg_testset_save_CFLAGS="$CFLAGS"
   5154 
   5155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"; then :
   5167   xorg_cv_cc_flag_unknown_warning_option=yes
   5168 else
   5169   xorg_cv_cc_flag_unknown_warning_option=no
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5182 	fi
   5183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5187   $as_echo_n "(cached) " >&6
   5188 else
   5189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5190 /* end confdefs.h.  */
   5191 int i;
   5192 _ACEOF
   5193 if ac_fn_c_try_compile "$LINENO"; then :
   5194   xorg_cv_cc_flag_unused_command_line_argument=yes
   5195 else
   5196   xorg_cv_cc_flag_unused_command_line_argument=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5199 fi
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5203 	CFLAGS="$xorg_testset_save_CFLAGS"
   5204 fi
   5205 
   5206 found="no"
   5207 
   5208 	if test $found = "no" ; then
   5209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5211 		fi
   5212 
   5213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5215 		fi
   5216 
   5217 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5218 
   5219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5220 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5221 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5222 		if eval \${$cacheid+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 int i;
   5228 int
   5229 main ()
   5230 {
   5231 
   5232   ;
   5233   return 0;
   5234 }
   5235 _ACEOF
   5236 if ac_fn_c_try_link "$LINENO"; then :
   5237   eval $cacheid=yes
   5238 else
   5239   eval $cacheid=no
   5240 fi
   5241 rm -f core conftest.err conftest.$ac_objext \
   5242     conftest$ac_exeext conftest.$ac_ext
   5243 fi
   5244 
   5245 
   5246 		CFLAGS="$xorg_testset_save_CFLAGS"
   5247 
   5248 		eval supported=\$$cacheid
   5249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5250 $as_echo "$supported" >&6; }
   5251 		if test "$supported" = "yes" ; then
   5252 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5253 			found="yes"
   5254 		fi
   5255 	fi
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 xorg_testset_save_CFLAGS="$CFLAGS"
   5272 
   5273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"; then :
   5285   xorg_cv_cc_flag_unknown_warning_option=yes
   5286 else
   5287   xorg_cv_cc_flag_unknown_warning_option=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 fi
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5294 	CFLAGS="$xorg_testset_save_CFLAGS"
   5295 fi
   5296 
   5297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 	fi
   5301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"; then :
   5312   xorg_cv_cc_flag_unused_command_line_argument=yes
   5313 else
   5314   xorg_cv_cc_flag_unused_command_line_argument=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5317 fi
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 found="no"
   5325 
   5326 	if test $found = "no" ; then
   5327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5329 		fi
   5330 
   5331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5333 		fi
   5334 
   5335 		CFLAGS="$CFLAGS -Wformat=2"
   5336 
   5337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5338 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5339 		cacheid=xorg_cv_cc_flag__Wformat_2
   5340 		if eval \${$cacheid+:} false; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5344 /* end confdefs.h.  */
   5345 int i;
   5346 int
   5347 main ()
   5348 {
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 if ac_fn_c_try_link "$LINENO"; then :
   5355   eval $cacheid=yes
   5356 else
   5357   eval $cacheid=no
   5358 fi
   5359 rm -f core conftest.err conftest.$ac_objext \
   5360     conftest$ac_exeext conftest.$ac_ext
   5361 fi
   5362 
   5363 
   5364 		CFLAGS="$xorg_testset_save_CFLAGS"
   5365 
   5366 		eval supported=\$$cacheid
   5367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5368 $as_echo "$supported" >&6; }
   5369 		if test "$supported" = "yes" ; then
   5370 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5371 			found="yes"
   5372 		fi
   5373 	fi
   5374 
   5375 	if test $found = "no" ; then
   5376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5378 		fi
   5379 
   5380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5382 		fi
   5383 
   5384 		CFLAGS="$CFLAGS -Wformat"
   5385 
   5386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5387 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5388 		cacheid=xorg_cv_cc_flag__Wformat
   5389 		if eval \${$cacheid+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5393 /* end confdefs.h.  */
   5394 int i;
   5395 int
   5396 main ()
   5397 {
   5398 
   5399   ;
   5400   return 0;
   5401 }
   5402 _ACEOF
   5403 if ac_fn_c_try_link "$LINENO"; then :
   5404   eval $cacheid=yes
   5405 else
   5406   eval $cacheid=no
   5407 fi
   5408 rm -f core conftest.err conftest.$ac_objext \
   5409     conftest$ac_exeext conftest.$ac_ext
   5410 fi
   5411 
   5412 
   5413 		CFLAGS="$xorg_testset_save_CFLAGS"
   5414 
   5415 		eval supported=\$$cacheid
   5416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5417 $as_echo "$supported" >&6; }
   5418 		if test "$supported" = "yes" ; then
   5419 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5420 			found="yes"
   5421 		fi
   5422 	fi
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 xorg_testset_save_CFLAGS="$CFLAGS"
   5441 
   5442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5447   $as_echo_n "(cached) " >&6
   5448 else
   5449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5450 /* end confdefs.h.  */
   5451 int i;
   5452 _ACEOF
   5453 if ac_fn_c_try_compile "$LINENO"; then :
   5454   xorg_cv_cc_flag_unknown_warning_option=yes
   5455 else
   5456   xorg_cv_cc_flag_unknown_warning_option=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5459 fi
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5463 	CFLAGS="$xorg_testset_save_CFLAGS"
   5464 fi
   5465 
   5466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5469 	fi
   5470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5474   $as_echo_n "(cached) " >&6
   5475 else
   5476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5477 /* end confdefs.h.  */
   5478 int i;
   5479 _ACEOF
   5480 if ac_fn_c_try_compile "$LINENO"; then :
   5481   xorg_cv_cc_flag_unused_command_line_argument=yes
   5482 else
   5483   xorg_cv_cc_flag_unused_command_line_argument=no
   5484 fi
   5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5486 fi
   5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5490 	CFLAGS="$xorg_testset_save_CFLAGS"
   5491 fi
   5492 
   5493 found="no"
   5494 
   5495 	if test $found = "no" ; then
   5496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5498 		fi
   5499 
   5500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5502 		fi
   5503 
   5504 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5505 
   5506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5507 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5508 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5509 		if eval \${$cacheid+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5513 /* end confdefs.h.  */
   5514 int i;
   5515 int
   5516 main ()
   5517 {
   5518 
   5519   ;
   5520   return 0;
   5521 }
   5522 _ACEOF
   5523 if ac_fn_c_try_link "$LINENO"; then :
   5524   eval $cacheid=yes
   5525 else
   5526   eval $cacheid=no
   5527 fi
   5528 rm -f core conftest.err conftest.$ac_objext \
   5529     conftest$ac_exeext conftest.$ac_ext
   5530 fi
   5531 
   5532 
   5533 		CFLAGS="$xorg_testset_save_CFLAGS"
   5534 
   5535 		eval supported=\$$cacheid
   5536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5537 $as_echo "$supported" >&6; }
   5538 		if test "$supported" = "yes" ; then
   5539 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5540 			found="yes"
   5541 		fi
   5542 	fi
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 xorg_testset_save_CFLAGS="$CFLAGS"
   5559 
   5560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unknown_warning_option=yes
   5573 else
   5574   xorg_cv_cc_flag_unknown_warning_option=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 	fi
   5588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5592   $as_echo_n "(cached) " >&6
   5593 else
   5594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 _ACEOF
   5598 if ac_fn_c_try_compile "$LINENO"; then :
   5599   xorg_cv_cc_flag_unused_command_line_argument=yes
   5600 else
   5601   xorg_cv_cc_flag_unused_command_line_argument=no
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5604 fi
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5608 	CFLAGS="$xorg_testset_save_CFLAGS"
   5609 fi
   5610 
   5611 found="no"
   5612 
   5613 	if test $found = "no" ; then
   5614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 		fi
   5617 
   5618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5620 		fi
   5621 
   5622 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5623 
   5624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5625 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5626 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5627 		if eval \${$cacheid+:} false; then :
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 int
   5634 main ()
   5635 {
   5636 
   5637   ;
   5638   return 0;
   5639 }
   5640 _ACEOF
   5641 if ac_fn_c_try_link "$LINENO"; then :
   5642   eval $cacheid=yes
   5643 else
   5644   eval $cacheid=no
   5645 fi
   5646 rm -f core conftest.err conftest.$ac_objext \
   5647     conftest$ac_exeext conftest.$ac_ext
   5648 fi
   5649 
   5650 
   5651 		CFLAGS="$xorg_testset_save_CFLAGS"
   5652 
   5653 		eval supported=\$$cacheid
   5654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5655 $as_echo "$supported" >&6; }
   5656 		if test "$supported" = "yes" ; then
   5657 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5658 			found="yes"
   5659 		fi
   5660 	fi
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 xorg_testset_save_CFLAGS="$CFLAGS"
   5677 
   5678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unknown_warning_option=yes
   5691 else
   5692   xorg_cv_cc_flag_unknown_warning_option=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 	fi
   5706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 _ACEOF
   5716 if ac_fn_c_try_compile "$LINENO"; then :
   5717   xorg_cv_cc_flag_unused_command_line_argument=yes
   5718 else
   5719   xorg_cv_cc_flag_unused_command_line_argument=no
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722 fi
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5726 	CFLAGS="$xorg_testset_save_CFLAGS"
   5727 fi
   5728 
   5729 found="no"
   5730 
   5731 	if test $found = "no" ; then
   5732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 		fi
   5735 
   5736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5738 		fi
   5739 
   5740 		CFLAGS="$CFLAGS -Wnested-externs"
   5741 
   5742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5743 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5744 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5745 		if eval \${$cacheid+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 int
   5752 main ()
   5753 {
   5754 
   5755   ;
   5756   return 0;
   5757 }
   5758 _ACEOF
   5759 if ac_fn_c_try_link "$LINENO"; then :
   5760   eval $cacheid=yes
   5761 else
   5762   eval $cacheid=no
   5763 fi
   5764 rm -f core conftest.err conftest.$ac_objext \
   5765     conftest$ac_exeext conftest.$ac_ext
   5766 fi
   5767 
   5768 
   5769 		CFLAGS="$xorg_testset_save_CFLAGS"
   5770 
   5771 		eval supported=\$$cacheid
   5772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5773 $as_echo "$supported" >&6; }
   5774 		if test "$supported" = "yes" ; then
   5775 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5776 			found="yes"
   5777 		fi
   5778 	fi
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 xorg_testset_save_CFLAGS="$CFLAGS"
   5795 
   5796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unknown_warning_option=yes
   5809 else
   5810   xorg_cv_cc_flag_unknown_warning_option=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 	fi
   5824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5831 /* end confdefs.h.  */
   5832 int i;
   5833 _ACEOF
   5834 if ac_fn_c_try_compile "$LINENO"; then :
   5835   xorg_cv_cc_flag_unused_command_line_argument=yes
   5836 else
   5837   xorg_cv_cc_flag_unused_command_line_argument=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5840 fi
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5859 
   5860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5861 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5863 		if eval \${$cacheid+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 int
   5870 main ()
   5871 {
   5872 
   5873   ;
   5874   return 0;
   5875 }
   5876 _ACEOF
   5877 if ac_fn_c_try_link "$LINENO"; then :
   5878   eval $cacheid=yes
   5879 else
   5880   eval $cacheid=no
   5881 fi
   5882 rm -f core conftest.err conftest.$ac_objext \
   5883     conftest$ac_exeext conftest.$ac_ext
   5884 fi
   5885 
   5886 
   5887 		CFLAGS="$xorg_testset_save_CFLAGS"
   5888 
   5889 		eval supported=\$$cacheid
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5891 $as_echo "$supported" >&6; }
   5892 		if test "$supported" = "yes" ; then
   5893 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5894 			found="yes"
   5895 		fi
   5896 	fi
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 xorg_testset_save_CFLAGS="$CFLAGS"
   5913 
   5914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unknown_warning_option=yes
   5927 else
   5928   xorg_cv_cc_flag_unknown_warning_option=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5941 	fi
   5942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5946   $as_echo_n "(cached) " >&6
   5947 else
   5948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5949 /* end confdefs.h.  */
   5950 int i;
   5951 _ACEOF
   5952 if ac_fn_c_try_compile "$LINENO"; then :
   5953   xorg_cv_cc_flag_unused_command_line_argument=yes
   5954 else
   5955   xorg_cv_cc_flag_unused_command_line_argument=no
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5958 fi
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5962 	CFLAGS="$xorg_testset_save_CFLAGS"
   5963 fi
   5964 
   5965 found="no"
   5966 
   5967 	if test $found = "no" ; then
   5968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 		fi
   5971 
   5972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5974 		fi
   5975 
   5976 		CFLAGS="$CFLAGS -Wold-style-definition"
   5977 
   5978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5979 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5980 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5981 		if eval \${$cacheid+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 int
   5988 main ()
   5989 {
   5990 
   5991   ;
   5992   return 0;
   5993 }
   5994 _ACEOF
   5995 if ac_fn_c_try_link "$LINENO"; then :
   5996   eval $cacheid=yes
   5997 else
   5998   eval $cacheid=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext \
   6001     conftest$ac_exeext conftest.$ac_ext
   6002 fi
   6003 
   6004 
   6005 		CFLAGS="$xorg_testset_save_CFLAGS"
   6006 
   6007 		eval supported=\$$cacheid
   6008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6009 $as_echo "$supported" >&6; }
   6010 		if test "$supported" = "yes" ; then
   6011 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6012 			found="yes"
   6013 		fi
   6014 	fi
   6015 
   6016 	if test $found = "no" ; then
   6017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6019 		fi
   6020 
   6021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6023 		fi
   6024 
   6025 		CFLAGS="$CFLAGS -fd"
   6026 
   6027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6028 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6029 		cacheid=xorg_cv_cc_flag__fd
   6030 		if eval \${$cacheid+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 int
   6037 main ()
   6038 {
   6039 
   6040   ;
   6041   return 0;
   6042 }
   6043 _ACEOF
   6044 if ac_fn_c_try_link "$LINENO"; then :
   6045   eval $cacheid=yes
   6046 else
   6047   eval $cacheid=no
   6048 fi
   6049 rm -f core conftest.err conftest.$ac_objext \
   6050     conftest$ac_exeext conftest.$ac_ext
   6051 fi
   6052 
   6053 
   6054 		CFLAGS="$xorg_testset_save_CFLAGS"
   6055 
   6056 		eval supported=\$$cacheid
   6057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6058 $as_echo "$supported" >&6; }
   6059 		if test "$supported" = "yes" ; then
   6060 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6061 			found="yes"
   6062 		fi
   6063 	fi
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 xorg_testset_save_CFLAGS="$CFLAGS"
   6080 
   6081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6084 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6085 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6086   $as_echo_n "(cached) " >&6
   6087 else
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 _ACEOF
   6092 if ac_fn_c_try_compile "$LINENO"; then :
   6093   xorg_cv_cc_flag_unknown_warning_option=yes
   6094 else
   6095   xorg_cv_cc_flag_unknown_warning_option=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6098 fi
   6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6100 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6108 	fi
   6109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6111 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6112 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6113   $as_echo_n "(cached) " >&6
   6114 else
   6115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6116 /* end confdefs.h.  */
   6117 int i;
   6118 _ACEOF
   6119 if ac_fn_c_try_compile "$LINENO"; then :
   6120   xorg_cv_cc_flag_unused_command_line_argument=yes
   6121 else
   6122   xorg_cv_cc_flag_unused_command_line_argument=no
   6123 fi
   6124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6125 fi
   6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6127 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6129 	CFLAGS="$xorg_testset_save_CFLAGS"
   6130 fi
   6131 
   6132 found="no"
   6133 
   6134 	if test $found = "no" ; then
   6135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6137 		fi
   6138 
   6139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6141 		fi
   6142 
   6143 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6144 
   6145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6146 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6147 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6148 		if eval \${$cacheid+:} false; then :
   6149   $as_echo_n "(cached) " >&6
   6150 else
   6151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6152 /* end confdefs.h.  */
   6153 int i;
   6154 int
   6155 main ()
   6156 {
   6157 
   6158   ;
   6159   return 0;
   6160 }
   6161 _ACEOF
   6162 if ac_fn_c_try_link "$LINENO"; then :
   6163   eval $cacheid=yes
   6164 else
   6165   eval $cacheid=no
   6166 fi
   6167 rm -f core conftest.err conftest.$ac_objext \
   6168     conftest$ac_exeext conftest.$ac_ext
   6169 fi
   6170 
   6171 
   6172 		CFLAGS="$xorg_testset_save_CFLAGS"
   6173 
   6174 		eval supported=\$$cacheid
   6175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6176 $as_echo "$supported" >&6; }
   6177 		if test "$supported" = "yes" ; then
   6178 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6179 			found="yes"
   6180 		fi
   6181 	fi
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 # This chunk adds additional warnings that could catch undesired effects.
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 xorg_testset_save_CFLAGS="$CFLAGS"
   6202 
   6203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6211 /* end confdefs.h.  */
   6212 int i;
   6213 _ACEOF
   6214 if ac_fn_c_try_compile "$LINENO"; then :
   6215   xorg_cv_cc_flag_unknown_warning_option=yes
   6216 else
   6217   xorg_cv_cc_flag_unknown_warning_option=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6220 fi
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6230 	fi
   6231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 int i;
   6240 _ACEOF
   6241 if ac_fn_c_try_compile "$LINENO"; then :
   6242   xorg_cv_cc_flag_unused_command_line_argument=yes
   6243 else
   6244   xorg_cv_cc_flag_unused_command_line_argument=no
   6245 fi
   6246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6247 fi
   6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6251 	CFLAGS="$xorg_testset_save_CFLAGS"
   6252 fi
   6253 
   6254 found="no"
   6255 
   6256 	if test $found = "no" ; then
   6257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 		fi
   6260 
   6261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6263 		fi
   6264 
   6265 		CFLAGS="$CFLAGS -Wunused"
   6266 
   6267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6268 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6269 		cacheid=xorg_cv_cc_flag__Wunused
   6270 		if eval \${$cacheid+:} false; then :
   6271   $as_echo_n "(cached) " >&6
   6272 else
   6273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6274 /* end confdefs.h.  */
   6275 int i;
   6276 int
   6277 main ()
   6278 {
   6279 
   6280   ;
   6281   return 0;
   6282 }
   6283 _ACEOF
   6284 if ac_fn_c_try_link "$LINENO"; then :
   6285   eval $cacheid=yes
   6286 else
   6287   eval $cacheid=no
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext \
   6290     conftest$ac_exeext conftest.$ac_ext
   6291 fi
   6292 
   6293 
   6294 		CFLAGS="$xorg_testset_save_CFLAGS"
   6295 
   6296 		eval supported=\$$cacheid
   6297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6298 $as_echo "$supported" >&6; }
   6299 		if test "$supported" = "yes" ; then
   6300 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6301 			found="yes"
   6302 		fi
   6303 	fi
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 xorg_testset_save_CFLAGS="$CFLAGS"
   6320 
   6321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   xorg_cv_cc_flag_unknown_warning_option=yes
   6334 else
   6335   xorg_cv_cc_flag_unknown_warning_option=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	fi
   6349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6353   $as_echo_n "(cached) " >&6
   6354 else
   6355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6356 /* end confdefs.h.  */
   6357 int i;
   6358 _ACEOF
   6359 if ac_fn_c_try_compile "$LINENO"; then :
   6360   xorg_cv_cc_flag_unused_command_line_argument=yes
   6361 else
   6362   xorg_cv_cc_flag_unused_command_line_argument=no
   6363 fi
   6364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6365 fi
   6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6369 	CFLAGS="$xorg_testset_save_CFLAGS"
   6370 fi
   6371 
   6372 found="no"
   6373 
   6374 	if test $found = "no" ; then
   6375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 		fi
   6378 
   6379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6381 		fi
   6382 
   6383 		CFLAGS="$CFLAGS -Wuninitialized"
   6384 
   6385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6386 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6387 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6388 		if eval \${$cacheid+:} false; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 int
   6395 main ()
   6396 {
   6397 
   6398   ;
   6399   return 0;
   6400 }
   6401 _ACEOF
   6402 if ac_fn_c_try_link "$LINENO"; then :
   6403   eval $cacheid=yes
   6404 else
   6405   eval $cacheid=no
   6406 fi
   6407 rm -f core conftest.err conftest.$ac_objext \
   6408     conftest$ac_exeext conftest.$ac_ext
   6409 fi
   6410 
   6411 
   6412 		CFLAGS="$xorg_testset_save_CFLAGS"
   6413 
   6414 		eval supported=\$$cacheid
   6415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6416 $as_echo "$supported" >&6; }
   6417 		if test "$supported" = "yes" ; then
   6418 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6419 			found="yes"
   6420 		fi
   6421 	fi
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 xorg_testset_save_CFLAGS="$CFLAGS"
   6438 
   6439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unknown_warning_option=yes
   6452 else
   6453   xorg_cv_cc_flag_unknown_warning_option=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6466 	fi
   6467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"; then :
   6478   xorg_cv_cc_flag_unused_command_line_argument=yes
   6479 else
   6480   xorg_cv_cc_flag_unused_command_line_argument=no
   6481 fi
   6482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6483 fi
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6487 	CFLAGS="$xorg_testset_save_CFLAGS"
   6488 fi
   6489 
   6490 found="no"
   6491 
   6492 	if test $found = "no" ; then
   6493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6495 		fi
   6496 
   6497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6499 		fi
   6500 
   6501 		CFLAGS="$CFLAGS -Wshadow"
   6502 
   6503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6504 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6505 		cacheid=xorg_cv_cc_flag__Wshadow
   6506 		if eval \${$cacheid+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 int
   6513 main ()
   6514 {
   6515 
   6516   ;
   6517   return 0;
   6518 }
   6519 _ACEOF
   6520 if ac_fn_c_try_link "$LINENO"; then :
   6521   eval $cacheid=yes
   6522 else
   6523   eval $cacheid=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext \
   6526     conftest$ac_exeext conftest.$ac_ext
   6527 fi
   6528 
   6529 
   6530 		CFLAGS="$xorg_testset_save_CFLAGS"
   6531 
   6532 		eval supported=\$$cacheid
   6533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6534 $as_echo "$supported" >&6; }
   6535 		if test "$supported" = "yes" ; then
   6536 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6537 			found="yes"
   6538 		fi
   6539 	fi
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 xorg_testset_save_CFLAGS="$CFLAGS"
   6556 
   6557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unknown_warning_option=yes
   6570 else
   6571   xorg_cv_cc_flag_unknown_warning_option=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6584 	fi
   6585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6589   $as_echo_n "(cached) " >&6
   6590 else
   6591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 _ACEOF
   6595 if ac_fn_c_try_compile "$LINENO"; then :
   6596   xorg_cv_cc_flag_unused_command_line_argument=yes
   6597 else
   6598   xorg_cv_cc_flag_unused_command_line_argument=no
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6601 fi
   6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6605 	CFLAGS="$xorg_testset_save_CFLAGS"
   6606 fi
   6607 
   6608 found="no"
   6609 
   6610 	if test $found = "no" ; then
   6611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6613 		fi
   6614 
   6615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6617 		fi
   6618 
   6619 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6620 
   6621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6622 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6623 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6624 		if eval \${$cacheid+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 int
   6631 main ()
   6632 {
   6633 
   6634   ;
   6635   return 0;
   6636 }
   6637 _ACEOF
   6638 if ac_fn_c_try_link "$LINENO"; then :
   6639   eval $cacheid=yes
   6640 else
   6641   eval $cacheid=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext \
   6644     conftest$ac_exeext conftest.$ac_ext
   6645 fi
   6646 
   6647 
   6648 		CFLAGS="$xorg_testset_save_CFLAGS"
   6649 
   6650 		eval supported=\$$cacheid
   6651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6652 $as_echo "$supported" >&6; }
   6653 		if test "$supported" = "yes" ; then
   6654 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6655 			found="yes"
   6656 		fi
   6657 	fi
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 xorg_testset_save_CFLAGS="$CFLAGS"
   6674 
   6675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unknown_warning_option=yes
   6688 else
   6689   xorg_cv_cc_flag_unknown_warning_option=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6702 	fi
   6703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6707   $as_echo_n "(cached) " >&6
   6708 else
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 int i;
   6712 _ACEOF
   6713 if ac_fn_c_try_compile "$LINENO"; then :
   6714   xorg_cv_cc_flag_unused_command_line_argument=yes
   6715 else
   6716   xorg_cv_cc_flag_unused_command_line_argument=no
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6719 fi
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6723 	CFLAGS="$xorg_testset_save_CFLAGS"
   6724 fi
   6725 
   6726 found="no"
   6727 
   6728 	if test $found = "no" ; then
   6729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 		fi
   6732 
   6733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6735 		fi
   6736 
   6737 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6738 
   6739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6740 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6741 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6742 		if eval \${$cacheid+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 int
   6749 main ()
   6750 {
   6751 
   6752   ;
   6753   return 0;
   6754 }
   6755 _ACEOF
   6756 if ac_fn_c_try_link "$LINENO"; then :
   6757   eval $cacheid=yes
   6758 else
   6759   eval $cacheid=no
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext \
   6762     conftest$ac_exeext conftest.$ac_ext
   6763 fi
   6764 
   6765 
   6766 		CFLAGS="$xorg_testset_save_CFLAGS"
   6767 
   6768 		eval supported=\$$cacheid
   6769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6770 $as_echo "$supported" >&6; }
   6771 		if test "$supported" = "yes" ; then
   6772 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6773 			found="yes"
   6774 		fi
   6775 	fi
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unknown_warning_option=yes
   6806 else
   6807   xorg_cv_cc_flag_unknown_warning_option=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6820 	fi
   6821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6828 /* end confdefs.h.  */
   6829 int i;
   6830 _ACEOF
   6831 if ac_fn_c_try_compile "$LINENO"; then :
   6832   xorg_cv_cc_flag_unused_command_line_argument=yes
   6833 else
   6834   xorg_cv_cc_flag_unused_command_line_argument=no
   6835 fi
   6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6841 	CFLAGS="$xorg_testset_save_CFLAGS"
   6842 fi
   6843 
   6844 found="no"
   6845 
   6846 	if test $found = "no" ; then
   6847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 		fi
   6850 
   6851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6853 		fi
   6854 
   6855 		CFLAGS="$CFLAGS -Wredundant-decls"
   6856 
   6857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6858 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6859 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6860 		if eval \${$cacheid+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main ()
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"; then :
   6875   eval $cacheid=yes
   6876 else
   6877   eval $cacheid=no
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext \
   6880     conftest$ac_exeext conftest.$ac_ext
   6881 fi
   6882 
   6883 
   6884 		CFLAGS="$xorg_testset_save_CFLAGS"
   6885 
   6886 		eval supported=\$$cacheid
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6888 $as_echo "$supported" >&6; }
   6889 		if test "$supported" = "yes" ; then
   6890 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6891 			found="yes"
   6892 		fi
   6893 	fi
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 xorg_testset_save_CFLAGS="$CFLAGS"
   6910 
   6911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 _ACEOF
   6922 if ac_fn_c_try_compile "$LINENO"; then :
   6923   xorg_cv_cc_flag_unknown_warning_option=yes
   6924 else
   6925   xorg_cv_cc_flag_unknown_warning_option=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6928 fi
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6932 	CFLAGS="$xorg_testset_save_CFLAGS"
   6933 fi
   6934 
   6935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6938 	fi
   6939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 int i;
   6948 _ACEOF
   6949 if ac_fn_c_try_compile "$LINENO"; then :
   6950   xorg_cv_cc_flag_unused_command_line_argument=yes
   6951 else
   6952   xorg_cv_cc_flag_unused_command_line_argument=no
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6955 fi
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6959 	CFLAGS="$xorg_testset_save_CFLAGS"
   6960 fi
   6961 
   6962 found="no"
   6963 
   6964 	if test $found = "no" ; then
   6965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6967 		fi
   6968 
   6969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6971 		fi
   6972 
   6973 		CFLAGS="$CFLAGS -Wlogical-op"
   6974 
   6975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6976 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6977 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6978 		if eval \${$cacheid+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 int i;
   6984 int
   6985 main ()
   6986 {
   6987 
   6988   ;
   6989   return 0;
   6990 }
   6991 _ACEOF
   6992 if ac_fn_c_try_link "$LINENO"; then :
   6993   eval $cacheid=yes
   6994 else
   6995   eval $cacheid=no
   6996 fi
   6997 rm -f core conftest.err conftest.$ac_objext \
   6998     conftest$ac_exeext conftest.$ac_ext
   6999 fi
   7000 
   7001 
   7002 		CFLAGS="$xorg_testset_save_CFLAGS"
   7003 
   7004 		eval supported=\$$cacheid
   7005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7006 $as_echo "$supported" >&6; }
   7007 		if test "$supported" = "yes" ; then
   7008 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7009 			found="yes"
   7010 		fi
   7011 	fi
   7012 
   7013 
   7014 
   7015 # These are currently disabled because they are noisy.  They will be enabled
   7016 # in the future once the codebase is sufficiently modernized to silence
   7017 # them.  For now, I don't want them to drown out the other warnings.
   7018 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7019 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7020 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7021 
   7022 # Turn some warnings into errors, so we don't accidently get successful builds
   7023 # when there are problems that should be fixed.
   7024 
   7025 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 xorg_testset_save_CFLAGS="$CFLAGS"
   7040 
   7041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7049 /* end confdefs.h.  */
   7050 int i;
   7051 _ACEOF
   7052 if ac_fn_c_try_compile "$LINENO"; then :
   7053   xorg_cv_cc_flag_unknown_warning_option=yes
   7054 else
   7055   xorg_cv_cc_flag_unknown_warning_option=no
   7056 fi
   7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7058 fi
   7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7062 	CFLAGS="$xorg_testset_save_CFLAGS"
   7063 fi
   7064 
   7065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7068 	fi
   7069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7073   $as_echo_n "(cached) " >&6
   7074 else
   7075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7076 /* end confdefs.h.  */
   7077 int i;
   7078 _ACEOF
   7079 if ac_fn_c_try_compile "$LINENO"; then :
   7080   xorg_cv_cc_flag_unused_command_line_argument=yes
   7081 else
   7082   xorg_cv_cc_flag_unused_command_line_argument=no
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7085 fi
   7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7089 	CFLAGS="$xorg_testset_save_CFLAGS"
   7090 fi
   7091 
   7092 found="no"
   7093 
   7094 	if test $found = "no" ; then
   7095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 		fi
   7098 
   7099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7101 		fi
   7102 
   7103 		CFLAGS="$CFLAGS -Werror=implicit"
   7104 
   7105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7106 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7107 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7108 		if eval \${$cacheid+:} false; then :
   7109   $as_echo_n "(cached) " >&6
   7110 else
   7111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7112 /* end confdefs.h.  */
   7113 int i;
   7114 int
   7115 main ()
   7116 {
   7117 
   7118   ;
   7119   return 0;
   7120 }
   7121 _ACEOF
   7122 if ac_fn_c_try_link "$LINENO"; then :
   7123   eval $cacheid=yes
   7124 else
   7125   eval $cacheid=no
   7126 fi
   7127 rm -f core conftest.err conftest.$ac_objext \
   7128     conftest$ac_exeext conftest.$ac_ext
   7129 fi
   7130 
   7131 
   7132 		CFLAGS="$xorg_testset_save_CFLAGS"
   7133 
   7134 		eval supported=\$$cacheid
   7135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7136 $as_echo "$supported" >&6; }
   7137 		if test "$supported" = "yes" ; then
   7138 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7139 			found="yes"
   7140 		fi
   7141 	fi
   7142 
   7143 	if test $found = "no" ; then
   7144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7146 		fi
   7147 
   7148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7150 		fi
   7151 
   7152 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7153 
   7154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7155 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7156 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7157 		if eval \${$cacheid+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7161 /* end confdefs.h.  */
   7162 int i;
   7163 int
   7164 main ()
   7165 {
   7166 
   7167   ;
   7168   return 0;
   7169 }
   7170 _ACEOF
   7171 if ac_fn_c_try_link "$LINENO"; then :
   7172   eval $cacheid=yes
   7173 else
   7174   eval $cacheid=no
   7175 fi
   7176 rm -f core conftest.err conftest.$ac_objext \
   7177     conftest$ac_exeext conftest.$ac_ext
   7178 fi
   7179 
   7180 
   7181 		CFLAGS="$xorg_testset_save_CFLAGS"
   7182 
   7183 		eval supported=\$$cacheid
   7184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7185 $as_echo "$supported" >&6; }
   7186 		if test "$supported" = "yes" ; then
   7187 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7188 			found="yes"
   7189 		fi
   7190 	fi
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 xorg_testset_save_CFLAGS="$CFLAGS"
   7207 
   7208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7213   $as_echo_n "(cached) " >&6
   7214 else
   7215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7216 /* end confdefs.h.  */
   7217 int i;
   7218 _ACEOF
   7219 if ac_fn_c_try_compile "$LINENO"; then :
   7220   xorg_cv_cc_flag_unknown_warning_option=yes
   7221 else
   7222   xorg_cv_cc_flag_unknown_warning_option=no
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7225 fi
   7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7229 	CFLAGS="$xorg_testset_save_CFLAGS"
   7230 fi
   7231 
   7232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7235 	fi
   7236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 int i;
   7245 _ACEOF
   7246 if ac_fn_c_try_compile "$LINENO"; then :
   7247   xorg_cv_cc_flag_unused_command_line_argument=yes
   7248 else
   7249   xorg_cv_cc_flag_unused_command_line_argument=no
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7252 fi
   7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 found="no"
   7260 
   7261 	if test $found = "no" ; then
   7262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 		fi
   7265 
   7266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7268 		fi
   7269 
   7270 		CFLAGS="$CFLAGS -Werror=nonnull"
   7271 
   7272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7273 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7274 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7275 		if eval \${$cacheid+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 int i;
   7281 int
   7282 main ()
   7283 {
   7284 
   7285   ;
   7286   return 0;
   7287 }
   7288 _ACEOF
   7289 if ac_fn_c_try_link "$LINENO"; then :
   7290   eval $cacheid=yes
   7291 else
   7292   eval $cacheid=no
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext \
   7295     conftest$ac_exeext conftest.$ac_ext
   7296 fi
   7297 
   7298 
   7299 		CFLAGS="$xorg_testset_save_CFLAGS"
   7300 
   7301 		eval supported=\$$cacheid
   7302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7303 $as_echo "$supported" >&6; }
   7304 		if test "$supported" = "yes" ; then
   7305 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7306 			found="yes"
   7307 		fi
   7308 	fi
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 xorg_testset_save_CFLAGS="$CFLAGS"
   7325 
   7326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"; then :
   7338   xorg_cv_cc_flag_unknown_warning_option=yes
   7339 else
   7340   xorg_cv_cc_flag_unknown_warning_option=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7343 fi
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7347 	CFLAGS="$xorg_testset_save_CFLAGS"
   7348 fi
   7349 
   7350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7353 	fi
   7354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7358   $as_echo_n "(cached) " >&6
   7359 else
   7360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7361 /* end confdefs.h.  */
   7362 int i;
   7363 _ACEOF
   7364 if ac_fn_c_try_compile "$LINENO"; then :
   7365   xorg_cv_cc_flag_unused_command_line_argument=yes
   7366 else
   7367   xorg_cv_cc_flag_unused_command_line_argument=no
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7370 fi
   7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7374 	CFLAGS="$xorg_testset_save_CFLAGS"
   7375 fi
   7376 
   7377 found="no"
   7378 
   7379 	if test $found = "no" ; then
   7380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 		fi
   7383 
   7384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7386 		fi
   7387 
   7388 		CFLAGS="$CFLAGS -Werror=init-self"
   7389 
   7390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7391 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7392 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7393 		if eval \${$cacheid+:} false; then :
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 int
   7400 main ()
   7401 {
   7402 
   7403   ;
   7404   return 0;
   7405 }
   7406 _ACEOF
   7407 if ac_fn_c_try_link "$LINENO"; then :
   7408   eval $cacheid=yes
   7409 else
   7410   eval $cacheid=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext \
   7413     conftest$ac_exeext conftest.$ac_ext
   7414 fi
   7415 
   7416 
   7417 		CFLAGS="$xorg_testset_save_CFLAGS"
   7418 
   7419 		eval supported=\$$cacheid
   7420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7421 $as_echo "$supported" >&6; }
   7422 		if test "$supported" = "yes" ; then
   7423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7424 			found="yes"
   7425 		fi
   7426 	fi
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 xorg_testset_save_CFLAGS="$CFLAGS"
   7443 
   7444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unknown_warning_option=yes
   7457 else
   7458   xorg_cv_cc_flag_unknown_warning_option=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7471 	fi
   7472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7476   $as_echo_n "(cached) " >&6
   7477 else
   7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7479 /* end confdefs.h.  */
   7480 int i;
   7481 _ACEOF
   7482 if ac_fn_c_try_compile "$LINENO"; then :
   7483   xorg_cv_cc_flag_unused_command_line_argument=yes
   7484 else
   7485   xorg_cv_cc_flag_unused_command_line_argument=no
   7486 fi
   7487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7488 fi
   7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7492 	CFLAGS="$xorg_testset_save_CFLAGS"
   7493 fi
   7494 
   7495 found="no"
   7496 
   7497 	if test $found = "no" ; then
   7498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 		fi
   7501 
   7502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7504 		fi
   7505 
   7506 		CFLAGS="$CFLAGS -Werror=main"
   7507 
   7508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7509 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7510 		cacheid=xorg_cv_cc_flag__Werror_main
   7511 		if eval \${$cacheid+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 int
   7518 main ()
   7519 {
   7520 
   7521   ;
   7522   return 0;
   7523 }
   7524 _ACEOF
   7525 if ac_fn_c_try_link "$LINENO"; then :
   7526   eval $cacheid=yes
   7527 else
   7528   eval $cacheid=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext \
   7531     conftest$ac_exeext conftest.$ac_ext
   7532 fi
   7533 
   7534 
   7535 		CFLAGS="$xorg_testset_save_CFLAGS"
   7536 
   7537 		eval supported=\$$cacheid
   7538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7539 $as_echo "$supported" >&6; }
   7540 		if test "$supported" = "yes" ; then
   7541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7542 			found="yes"
   7543 		fi
   7544 	fi
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 xorg_testset_save_CFLAGS="$CFLAGS"
   7561 
   7562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unknown_warning_option=yes
   7575 else
   7576   xorg_cv_cc_flag_unknown_warning_option=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 	fi
   7590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7594   $as_echo_n "(cached) " >&6
   7595 else
   7596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7597 /* end confdefs.h.  */
   7598 int i;
   7599 _ACEOF
   7600 if ac_fn_c_try_compile "$LINENO"; then :
   7601   xorg_cv_cc_flag_unused_command_line_argument=yes
   7602 else
   7603   xorg_cv_cc_flag_unused_command_line_argument=no
   7604 fi
   7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7606 fi
   7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 found="no"
   7614 
   7615 	if test $found = "no" ; then
   7616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 		fi
   7619 
   7620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7622 		fi
   7623 
   7624 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7625 
   7626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7627 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7628 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7629 		if eval \${$cacheid+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 int
   7636 main ()
   7637 {
   7638 
   7639   ;
   7640   return 0;
   7641 }
   7642 _ACEOF
   7643 if ac_fn_c_try_link "$LINENO"; then :
   7644   eval $cacheid=yes
   7645 else
   7646   eval $cacheid=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext \
   7649     conftest$ac_exeext conftest.$ac_ext
   7650 fi
   7651 
   7652 
   7653 		CFLAGS="$xorg_testset_save_CFLAGS"
   7654 
   7655 		eval supported=\$$cacheid
   7656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7657 $as_echo "$supported" >&6; }
   7658 		if test "$supported" = "yes" ; then
   7659 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7660 			found="yes"
   7661 		fi
   7662 	fi
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 xorg_testset_save_CFLAGS="$CFLAGS"
   7679 
   7680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"; then :
   7692   xorg_cv_cc_flag_unknown_warning_option=yes
   7693 else
   7694   xorg_cv_cc_flag_unknown_warning_option=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7697 fi
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 	fi
   7708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7712   $as_echo_n "(cached) " >&6
   7713 else
   7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 _ACEOF
   7718 if ac_fn_c_try_compile "$LINENO"; then :
   7719   xorg_cv_cc_flag_unused_command_line_argument=yes
   7720 else
   7721   xorg_cv_cc_flag_unused_command_line_argument=no
   7722 fi
   7723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7724 fi
   7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7728 	CFLAGS="$xorg_testset_save_CFLAGS"
   7729 fi
   7730 
   7731 found="no"
   7732 
   7733 	if test $found = "no" ; then
   7734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 		fi
   7737 
   7738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7740 		fi
   7741 
   7742 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7743 
   7744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7745 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7746 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7747 		if eval \${$cacheid+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 int
   7754 main ()
   7755 {
   7756 
   7757   ;
   7758   return 0;
   7759 }
   7760 _ACEOF
   7761 if ac_fn_c_try_link "$LINENO"; then :
   7762   eval $cacheid=yes
   7763 else
   7764   eval $cacheid=no
   7765 fi
   7766 rm -f core conftest.err conftest.$ac_objext \
   7767     conftest$ac_exeext conftest.$ac_ext
   7768 fi
   7769 
   7770 
   7771 		CFLAGS="$xorg_testset_save_CFLAGS"
   7772 
   7773 		eval supported=\$$cacheid
   7774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7775 $as_echo "$supported" >&6; }
   7776 		if test "$supported" = "yes" ; then
   7777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7778 			found="yes"
   7779 		fi
   7780 	fi
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 xorg_testset_save_CFLAGS="$CFLAGS"
   7797 
   7798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unknown_warning_option=yes
   7811 else
   7812   xorg_cv_cc_flag_unknown_warning_option=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7825 	fi
   7826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7830   $as_echo_n "(cached) " >&6
   7831 else
   7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7833 /* end confdefs.h.  */
   7834 int i;
   7835 _ACEOF
   7836 if ac_fn_c_try_compile "$LINENO"; then :
   7837   xorg_cv_cc_flag_unused_command_line_argument=yes
   7838 else
   7839   xorg_cv_cc_flag_unused_command_line_argument=no
   7840 fi
   7841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7842 fi
   7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7846 	CFLAGS="$xorg_testset_save_CFLAGS"
   7847 fi
   7848 
   7849 found="no"
   7850 
   7851 	if test $found = "no" ; then
   7852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 		fi
   7855 
   7856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7858 		fi
   7859 
   7860 		CFLAGS="$CFLAGS -Werror=return-type"
   7861 
   7862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7863 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7864 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7865 		if eval \${$cacheid+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 int
   7872 main ()
   7873 {
   7874 
   7875   ;
   7876   return 0;
   7877 }
   7878 _ACEOF
   7879 if ac_fn_c_try_link "$LINENO"; then :
   7880   eval $cacheid=yes
   7881 else
   7882   eval $cacheid=no
   7883 fi
   7884 rm -f core conftest.err conftest.$ac_objext \
   7885     conftest$ac_exeext conftest.$ac_ext
   7886 fi
   7887 
   7888 
   7889 		CFLAGS="$xorg_testset_save_CFLAGS"
   7890 
   7891 		eval supported=\$$cacheid
   7892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7893 $as_echo "$supported" >&6; }
   7894 		if test "$supported" = "yes" ; then
   7895 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7896 			found="yes"
   7897 		fi
   7898 	fi
   7899 
   7900 	if test $found = "no" ; then
   7901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 		fi
   7904 
   7905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7907 		fi
   7908 
   7909 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7910 
   7911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7912 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7913 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7914 		if eval \${$cacheid+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 int
   7921 main ()
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 if ac_fn_c_try_link "$LINENO"; then :
   7929   eval $cacheid=yes
   7930 else
   7931   eval $cacheid=no
   7932 fi
   7933 rm -f core conftest.err conftest.$ac_objext \
   7934     conftest$ac_exeext conftest.$ac_ext
   7935 fi
   7936 
   7937 
   7938 		CFLAGS="$xorg_testset_save_CFLAGS"
   7939 
   7940 		eval supported=\$$cacheid
   7941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7942 $as_echo "$supported" >&6; }
   7943 		if test "$supported" = "yes" ; then
   7944 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7945 			found="yes"
   7946 		fi
   7947 	fi
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 xorg_testset_save_CFLAGS="$CFLAGS"
   7964 
   7965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7970   $as_echo_n "(cached) " >&6
   7971 else
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 _ACEOF
   7976 if ac_fn_c_try_compile "$LINENO"; then :
   7977   xorg_cv_cc_flag_unknown_warning_option=yes
   7978 else
   7979   xorg_cv_cc_flag_unknown_warning_option=no
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7982 fi
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7992 	fi
   7993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7997   $as_echo_n "(cached) " >&6
   7998 else
   7999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 int i;
   8002 _ACEOF
   8003 if ac_fn_c_try_compile "$LINENO"; then :
   8004   xorg_cv_cc_flag_unused_command_line_argument=yes
   8005 else
   8006   xorg_cv_cc_flag_unused_command_line_argument=no
   8007 fi
   8008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8009 fi
   8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8013 	CFLAGS="$xorg_testset_save_CFLAGS"
   8014 fi
   8015 
   8016 found="no"
   8017 
   8018 	if test $found = "no" ; then
   8019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 		fi
   8022 
   8023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8025 		fi
   8026 
   8027 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8028 
   8029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8030 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8031 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8032 		if eval \${$cacheid+:} false; then :
   8033   $as_echo_n "(cached) " >&6
   8034 else
   8035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 int i;
   8038 int
   8039 main ()
   8040 {
   8041 
   8042   ;
   8043   return 0;
   8044 }
   8045 _ACEOF
   8046 if ac_fn_c_try_link "$LINENO"; then :
   8047   eval $cacheid=yes
   8048 else
   8049   eval $cacheid=no
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext \
   8052     conftest$ac_exeext conftest.$ac_ext
   8053 fi
   8054 
   8055 
   8056 		CFLAGS="$xorg_testset_save_CFLAGS"
   8057 
   8058 		eval supported=\$$cacheid
   8059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8060 $as_echo "$supported" >&6; }
   8061 		if test "$supported" = "yes" ; then
   8062 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8063 			found="yes"
   8064 		fi
   8065 	fi
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 xorg_testset_save_CFLAGS="$CFLAGS"
   8082 
   8083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 _ACEOF
   8094 if ac_fn_c_try_compile "$LINENO"; then :
   8095   xorg_cv_cc_flag_unknown_warning_option=yes
   8096 else
   8097   xorg_cv_cc_flag_unknown_warning_option=no
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8100 fi
   8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8104 	CFLAGS="$xorg_testset_save_CFLAGS"
   8105 fi
   8106 
   8107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8110 	fi
   8111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 _ACEOF
   8121 if ac_fn_c_try_compile "$LINENO"; then :
   8122   xorg_cv_cc_flag_unused_command_line_argument=yes
   8123 else
   8124   xorg_cv_cc_flag_unused_command_line_argument=no
   8125 fi
   8126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8127 fi
   8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8131 	CFLAGS="$xorg_testset_save_CFLAGS"
   8132 fi
   8133 
   8134 found="no"
   8135 
   8136 	if test $found = "no" ; then
   8137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 		fi
   8140 
   8141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8143 		fi
   8144 
   8145 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8146 
   8147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8148 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8149 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8150 		if eval \${$cacheid+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 int
   8157 main ()
   8158 {
   8159 
   8160   ;
   8161   return 0;
   8162 }
   8163 _ACEOF
   8164 if ac_fn_c_try_link "$LINENO"; then :
   8165   eval $cacheid=yes
   8166 else
   8167   eval $cacheid=no
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext \
   8170     conftest$ac_exeext conftest.$ac_ext
   8171 fi
   8172 
   8173 
   8174 		CFLAGS="$xorg_testset_save_CFLAGS"
   8175 
   8176 		eval supported=\$$cacheid
   8177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8178 $as_echo "$supported" >&6; }
   8179 		if test "$supported" = "yes" ; then
   8180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8181 			found="yes"
   8182 		fi
   8183 	fi
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 xorg_testset_save_CFLAGS="$CFLAGS"
   8200 
   8201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unknown_warning_option=yes
   8214 else
   8215   xorg_cv_cc_flag_unknown_warning_option=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 	fi
   8229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8233   $as_echo_n "(cached) " >&6
   8234 else
   8235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8236 /* end confdefs.h.  */
   8237 int i;
   8238 _ACEOF
   8239 if ac_fn_c_try_compile "$LINENO"; then :
   8240   xorg_cv_cc_flag_unused_command_line_argument=yes
   8241 else
   8242   xorg_cv_cc_flag_unused_command_line_argument=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8245 fi
   8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8249 	CFLAGS="$xorg_testset_save_CFLAGS"
   8250 fi
   8251 
   8252 found="no"
   8253 
   8254 	if test $found = "no" ; then
   8255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 		fi
   8258 
   8259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 		fi
   8262 
   8263 		CFLAGS="$CFLAGS -Werror=write-strings"
   8264 
   8265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8266 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8267 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8268 		if eval \${$cacheid+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 int
   8275 main ()
   8276 {
   8277 
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"; then :
   8283   eval $cacheid=yes
   8284 else
   8285   eval $cacheid=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext \
   8288     conftest$ac_exeext conftest.$ac_ext
   8289 fi
   8290 
   8291 
   8292 		CFLAGS="$xorg_testset_save_CFLAGS"
   8293 
   8294 		eval supported=\$$cacheid
   8295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8296 $as_echo "$supported" >&6; }
   8297 		if test "$supported" = "yes" ; then
   8298 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8299 			found="yes"
   8300 		fi
   8301 	fi
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 xorg_testset_save_CFLAGS="$CFLAGS"
   8318 
   8319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"; then :
   8331   xorg_cv_cc_flag_unknown_warning_option=yes
   8332 else
   8333   xorg_cv_cc_flag_unknown_warning_option=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 	fi
   8347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8351   $as_echo_n "(cached) " >&6
   8352 else
   8353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8354 /* end confdefs.h.  */
   8355 int i;
   8356 _ACEOF
   8357 if ac_fn_c_try_compile "$LINENO"; then :
   8358   xorg_cv_cc_flag_unused_command_line_argument=yes
   8359 else
   8360   xorg_cv_cc_flag_unused_command_line_argument=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8363 fi
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8367 	CFLAGS="$xorg_testset_save_CFLAGS"
   8368 fi
   8369 
   8370 found="no"
   8371 
   8372 	if test $found = "no" ; then
   8373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8375 		fi
   8376 
   8377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8379 		fi
   8380 
   8381 		CFLAGS="$CFLAGS -Werror=address"
   8382 
   8383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8384 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8385 		cacheid=xorg_cv_cc_flag__Werror_address
   8386 		if eval \${$cacheid+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 int
   8393 main ()
   8394 {
   8395 
   8396   ;
   8397   return 0;
   8398 }
   8399 _ACEOF
   8400 if ac_fn_c_try_link "$LINENO"; then :
   8401   eval $cacheid=yes
   8402 else
   8403   eval $cacheid=no
   8404 fi
   8405 rm -f core conftest.err conftest.$ac_objext \
   8406     conftest$ac_exeext conftest.$ac_ext
   8407 fi
   8408 
   8409 
   8410 		CFLAGS="$xorg_testset_save_CFLAGS"
   8411 
   8412 		eval supported=\$$cacheid
   8413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8414 $as_echo "$supported" >&6; }
   8415 		if test "$supported" = "yes" ; then
   8416 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8417 			found="yes"
   8418 		fi
   8419 	fi
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 xorg_testset_save_CFLAGS="$CFLAGS"
   8436 
   8437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"; then :
   8449   xorg_cv_cc_flag_unknown_warning_option=yes
   8450 else
   8451   xorg_cv_cc_flag_unknown_warning_option=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8454 fi
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8464 	fi
   8465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8469   $as_echo_n "(cached) " >&6
   8470 else
   8471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8472 /* end confdefs.h.  */
   8473 int i;
   8474 _ACEOF
   8475 if ac_fn_c_try_compile "$LINENO"; then :
   8476   xorg_cv_cc_flag_unused_command_line_argument=yes
   8477 else
   8478   xorg_cv_cc_flag_unused_command_line_argument=no
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8481 fi
   8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8485 	CFLAGS="$xorg_testset_save_CFLAGS"
   8486 fi
   8487 
   8488 found="no"
   8489 
   8490 	if test $found = "no" ; then
   8491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8493 		fi
   8494 
   8495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8497 		fi
   8498 
   8499 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8500 
   8501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8502 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8503 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8504 		if eval \${$cacheid+:} false; then :
   8505   $as_echo_n "(cached) " >&6
   8506 else
   8507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 int
   8511 main ()
   8512 {
   8513 
   8514   ;
   8515   return 0;
   8516 }
   8517 _ACEOF
   8518 if ac_fn_c_try_link "$LINENO"; then :
   8519   eval $cacheid=yes
   8520 else
   8521   eval $cacheid=no
   8522 fi
   8523 rm -f core conftest.err conftest.$ac_objext \
   8524     conftest$ac_exeext conftest.$ac_ext
   8525 fi
   8526 
   8527 
   8528 		CFLAGS="$xorg_testset_save_CFLAGS"
   8529 
   8530 		eval supported=\$$cacheid
   8531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8532 $as_echo "$supported" >&6; }
   8533 		if test "$supported" = "yes" ; then
   8534 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8535 			found="yes"
   8536 		fi
   8537 	fi
   8538 
   8539 	if test $found = "no" ; then
   8540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8542 		fi
   8543 
   8544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8546 		fi
   8547 
   8548 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8549 
   8550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8551 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8552 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8553 		if eval \${$cacheid+:} false; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8557 /* end confdefs.h.  */
   8558 int i;
   8559 int
   8560 main ()
   8561 {
   8562 
   8563   ;
   8564   return 0;
   8565 }
   8566 _ACEOF
   8567 if ac_fn_c_try_link "$LINENO"; then :
   8568   eval $cacheid=yes
   8569 else
   8570   eval $cacheid=no
   8571 fi
   8572 rm -f core conftest.err conftest.$ac_objext \
   8573     conftest$ac_exeext conftest.$ac_ext
   8574 fi
   8575 
   8576 
   8577 		CFLAGS="$xorg_testset_save_CFLAGS"
   8578 
   8579 		eval supported=\$$cacheid
   8580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8581 $as_echo "$supported" >&6; }
   8582 		if test "$supported" = "yes" ; then
   8583 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8584 			found="yes"
   8585 		fi
   8586 	fi
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 xorg_testset_save_CFLAGS="$CFLAGS"
   8603 
   8604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8607 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8608 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8609   $as_echo_n "(cached) " >&6
   8610 else
   8611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8612 /* end confdefs.h.  */
   8613 int i;
   8614 _ACEOF
   8615 if ac_fn_c_try_compile "$LINENO"; then :
   8616   xorg_cv_cc_flag_unknown_warning_option=yes
   8617 else
   8618   xorg_cv_cc_flag_unknown_warning_option=no
   8619 fi
   8620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8621 fi
   8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8623 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8625 	CFLAGS="$xorg_testset_save_CFLAGS"
   8626 fi
   8627 
   8628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8631 	fi
   8632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8634 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8635 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8636   $as_echo_n "(cached) " >&6
   8637 else
   8638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8639 /* end confdefs.h.  */
   8640 int i;
   8641 _ACEOF
   8642 if ac_fn_c_try_compile "$LINENO"; then :
   8643   xorg_cv_cc_flag_unused_command_line_argument=yes
   8644 else
   8645   xorg_cv_cc_flag_unused_command_line_argument=no
   8646 fi
   8647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8648 fi
   8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8650 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8652 	CFLAGS="$xorg_testset_save_CFLAGS"
   8653 fi
   8654 
   8655 found="no"
   8656 
   8657 	if test $found = "no" ; then
   8658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8660 		fi
   8661 
   8662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8664 		fi
   8665 
   8666 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8667 
   8668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8669 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8670 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8671 		if eval \${$cacheid+:} false; then :
   8672   $as_echo_n "(cached) " >&6
   8673 else
   8674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8675 /* end confdefs.h.  */
   8676 int i;
   8677 int
   8678 main ()
   8679 {
   8680 
   8681   ;
   8682   return 0;
   8683 }
   8684 _ACEOF
   8685 if ac_fn_c_try_link "$LINENO"; then :
   8686   eval $cacheid=yes
   8687 else
   8688   eval $cacheid=no
   8689 fi
   8690 rm -f core conftest.err conftest.$ac_objext \
   8691     conftest$ac_exeext conftest.$ac_ext
   8692 fi
   8693 
   8694 
   8695 		CFLAGS="$xorg_testset_save_CFLAGS"
   8696 
   8697 		eval supported=\$$cacheid
   8698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8699 $as_echo "$supported" >&6; }
   8700 		if test "$supported" = "yes" ; then
   8701 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8702 			found="yes"
   8703 		fi
   8704 	fi
   8705 
   8706  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8707 else
   8708 { $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
   8709 $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;}
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 xorg_testset_save_CFLAGS="$CFLAGS"
   8724 
   8725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"; then :
   8737   xorg_cv_cc_flag_unknown_warning_option=yes
   8738 else
   8739   xorg_cv_cc_flag_unknown_warning_option=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8746 	CFLAGS="$xorg_testset_save_CFLAGS"
   8747 fi
   8748 
   8749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8752 	fi
   8753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8757   $as_echo_n "(cached) " >&6
   8758 else
   8759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8760 /* end confdefs.h.  */
   8761 int i;
   8762 _ACEOF
   8763 if ac_fn_c_try_compile "$LINENO"; then :
   8764   xorg_cv_cc_flag_unused_command_line_argument=yes
   8765 else
   8766   xorg_cv_cc_flag_unused_command_line_argument=no
   8767 fi
   8768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8769 fi
   8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8773 	CFLAGS="$xorg_testset_save_CFLAGS"
   8774 fi
   8775 
   8776 found="no"
   8777 
   8778 	if test $found = "no" ; then
   8779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8781 		fi
   8782 
   8783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8785 		fi
   8786 
   8787 		CFLAGS="$CFLAGS -Wimplicit"
   8788 
   8789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8790 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8791 		cacheid=xorg_cv_cc_flag__Wimplicit
   8792 		if eval \${$cacheid+:} false; then :
   8793   $as_echo_n "(cached) " >&6
   8794 else
   8795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 int
   8799 main ()
   8800 {
   8801 
   8802   ;
   8803   return 0;
   8804 }
   8805 _ACEOF
   8806 if ac_fn_c_try_link "$LINENO"; then :
   8807   eval $cacheid=yes
   8808 else
   8809   eval $cacheid=no
   8810 fi
   8811 rm -f core conftest.err conftest.$ac_objext \
   8812     conftest$ac_exeext conftest.$ac_ext
   8813 fi
   8814 
   8815 
   8816 		CFLAGS="$xorg_testset_save_CFLAGS"
   8817 
   8818 		eval supported=\$$cacheid
   8819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8820 $as_echo "$supported" >&6; }
   8821 		if test "$supported" = "yes" ; then
   8822 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8823 			found="yes"
   8824 		fi
   8825 	fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 xorg_testset_save_CFLAGS="$CFLAGS"
   8842 
   8843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"; then :
   8855   xorg_cv_cc_flag_unknown_warning_option=yes
   8856 else
   8857   xorg_cv_cc_flag_unknown_warning_option=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8870 	fi
   8871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8875   $as_echo_n "(cached) " >&6
   8876 else
   8877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8878 /* end confdefs.h.  */
   8879 int i;
   8880 _ACEOF
   8881 if ac_fn_c_try_compile "$LINENO"; then :
   8882   xorg_cv_cc_flag_unused_command_line_argument=yes
   8883 else
   8884   xorg_cv_cc_flag_unused_command_line_argument=no
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8887 fi
   8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8891 	CFLAGS="$xorg_testset_save_CFLAGS"
   8892 fi
   8893 
   8894 found="no"
   8895 
   8896 	if test $found = "no" ; then
   8897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8899 		fi
   8900 
   8901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8903 		fi
   8904 
   8905 		CFLAGS="$CFLAGS -Wnonnull"
   8906 
   8907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8908 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8909 		cacheid=xorg_cv_cc_flag__Wnonnull
   8910 		if eval \${$cacheid+:} false; then :
   8911   $as_echo_n "(cached) " >&6
   8912 else
   8913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 int
   8917 main ()
   8918 {
   8919 
   8920   ;
   8921   return 0;
   8922 }
   8923 _ACEOF
   8924 if ac_fn_c_try_link "$LINENO"; then :
   8925   eval $cacheid=yes
   8926 else
   8927   eval $cacheid=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext \
   8930     conftest$ac_exeext conftest.$ac_ext
   8931 fi
   8932 
   8933 
   8934 		CFLAGS="$xorg_testset_save_CFLAGS"
   8935 
   8936 		eval supported=\$$cacheid
   8937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8938 $as_echo "$supported" >&6; }
   8939 		if test "$supported" = "yes" ; then
   8940 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8941 			found="yes"
   8942 		fi
   8943 	fi
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 xorg_testset_save_CFLAGS="$CFLAGS"
   8960 
   8961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unknown_warning_option=yes
   8974 else
   8975   xorg_cv_cc_flag_unknown_warning_option=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8988 	fi
   8989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8993   $as_echo_n "(cached) " >&6
   8994 else
   8995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8996 /* end confdefs.h.  */
   8997 int i;
   8998 _ACEOF
   8999 if ac_fn_c_try_compile "$LINENO"; then :
   9000   xorg_cv_cc_flag_unused_command_line_argument=yes
   9001 else
   9002   xorg_cv_cc_flag_unused_command_line_argument=no
   9003 fi
   9004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9005 fi
   9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9009 	CFLAGS="$xorg_testset_save_CFLAGS"
   9010 fi
   9011 
   9012 found="no"
   9013 
   9014 	if test $found = "no" ; then
   9015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 		fi
   9018 
   9019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9021 		fi
   9022 
   9023 		CFLAGS="$CFLAGS -Winit-self"
   9024 
   9025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9026 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9027 		cacheid=xorg_cv_cc_flag__Winit_self
   9028 		if eval \${$cacheid+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 int
   9035 main ()
   9036 {
   9037 
   9038   ;
   9039   return 0;
   9040 }
   9041 _ACEOF
   9042 if ac_fn_c_try_link "$LINENO"; then :
   9043   eval $cacheid=yes
   9044 else
   9045   eval $cacheid=no
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext \
   9048     conftest$ac_exeext conftest.$ac_ext
   9049 fi
   9050 
   9051 
   9052 		CFLAGS="$xorg_testset_save_CFLAGS"
   9053 
   9054 		eval supported=\$$cacheid
   9055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9056 $as_echo "$supported" >&6; }
   9057 		if test "$supported" = "yes" ; then
   9058 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9059 			found="yes"
   9060 		fi
   9061 	fi
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 xorg_testset_save_CFLAGS="$CFLAGS"
   9078 
   9079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unknown_warning_option=yes
   9092 else
   9093   xorg_cv_cc_flag_unknown_warning_option=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 	fi
   9107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9114 /* end confdefs.h.  */
   9115 int i;
   9116 _ACEOF
   9117 if ac_fn_c_try_compile "$LINENO"; then :
   9118   xorg_cv_cc_flag_unused_command_line_argument=yes
   9119 else
   9120   xorg_cv_cc_flag_unused_command_line_argument=no
   9121 fi
   9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9123 fi
   9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9127 	CFLAGS="$xorg_testset_save_CFLAGS"
   9128 fi
   9129 
   9130 found="no"
   9131 
   9132 	if test $found = "no" ; then
   9133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 		fi
   9136 
   9137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9139 		fi
   9140 
   9141 		CFLAGS="$CFLAGS -Wmain"
   9142 
   9143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9144 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9145 		cacheid=xorg_cv_cc_flag__Wmain
   9146 		if eval \${$cacheid+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 int
   9153 main ()
   9154 {
   9155 
   9156   ;
   9157   return 0;
   9158 }
   9159 _ACEOF
   9160 if ac_fn_c_try_link "$LINENO"; then :
   9161   eval $cacheid=yes
   9162 else
   9163   eval $cacheid=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext \
   9166     conftest$ac_exeext conftest.$ac_ext
   9167 fi
   9168 
   9169 
   9170 		CFLAGS="$xorg_testset_save_CFLAGS"
   9171 
   9172 		eval supported=\$$cacheid
   9173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9174 $as_echo "$supported" >&6; }
   9175 		if test "$supported" = "yes" ; then
   9176 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9177 			found="yes"
   9178 		fi
   9179 	fi
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 xorg_testset_save_CFLAGS="$CFLAGS"
   9196 
   9197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unknown_warning_option=yes
   9210 else
   9211   xorg_cv_cc_flag_unknown_warning_option=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9224 	fi
   9225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9229   $as_echo_n "(cached) " >&6
   9230 else
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 _ACEOF
   9235 if ac_fn_c_try_compile "$LINENO"; then :
   9236   xorg_cv_cc_flag_unused_command_line_argument=yes
   9237 else
   9238   xorg_cv_cc_flag_unused_command_line_argument=no
   9239 fi
   9240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9241 fi
   9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9245 	CFLAGS="$xorg_testset_save_CFLAGS"
   9246 fi
   9247 
   9248 found="no"
   9249 
   9250 	if test $found = "no" ; then
   9251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9253 		fi
   9254 
   9255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9257 		fi
   9258 
   9259 		CFLAGS="$CFLAGS -Wmissing-braces"
   9260 
   9261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9262 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9263 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9264 		if eval \${$cacheid+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 int
   9271 main ()
   9272 {
   9273 
   9274   ;
   9275   return 0;
   9276 }
   9277 _ACEOF
   9278 if ac_fn_c_try_link "$LINENO"; then :
   9279   eval $cacheid=yes
   9280 else
   9281   eval $cacheid=no
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext \
   9284     conftest$ac_exeext conftest.$ac_ext
   9285 fi
   9286 
   9287 
   9288 		CFLAGS="$xorg_testset_save_CFLAGS"
   9289 
   9290 		eval supported=\$$cacheid
   9291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9292 $as_echo "$supported" >&6; }
   9293 		if test "$supported" = "yes" ; then
   9294 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9295 			found="yes"
   9296 		fi
   9297 	fi
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 xorg_testset_save_CFLAGS="$CFLAGS"
   9314 
   9315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unknown_warning_option=yes
   9328 else
   9329   xorg_cv_cc_flag_unknown_warning_option=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	fi
   9343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9350 /* end confdefs.h.  */
   9351 int i;
   9352 _ACEOF
   9353 if ac_fn_c_try_compile "$LINENO"; then :
   9354   xorg_cv_cc_flag_unused_command_line_argument=yes
   9355 else
   9356   xorg_cv_cc_flag_unused_command_line_argument=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9359 fi
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 found="no"
   9367 
   9368 	if test $found = "no" ; then
   9369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9371 		fi
   9372 
   9373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9375 		fi
   9376 
   9377 		CFLAGS="$CFLAGS -Wsequence-point"
   9378 
   9379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9380 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9381 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9382 		if eval \${$cacheid+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 int
   9389 main ()
   9390 {
   9391 
   9392   ;
   9393   return 0;
   9394 }
   9395 _ACEOF
   9396 if ac_fn_c_try_link "$LINENO"; then :
   9397   eval $cacheid=yes
   9398 else
   9399   eval $cacheid=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext \
   9402     conftest$ac_exeext conftest.$ac_ext
   9403 fi
   9404 
   9405 
   9406 		CFLAGS="$xorg_testset_save_CFLAGS"
   9407 
   9408 		eval supported=\$$cacheid
   9409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9410 $as_echo "$supported" >&6; }
   9411 		if test "$supported" = "yes" ; then
   9412 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9413 			found="yes"
   9414 		fi
   9415 	fi
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 xorg_testset_save_CFLAGS="$CFLAGS"
   9432 
   9433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unknown_warning_option=yes
   9446 else
   9447   xorg_cv_cc_flag_unknown_warning_option=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9460 	fi
   9461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9465   $as_echo_n "(cached) " >&6
   9466 else
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"; then :
   9472   xorg_cv_cc_flag_unused_command_line_argument=yes
   9473 else
   9474   xorg_cv_cc_flag_unused_command_line_argument=no
   9475 fi
   9476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9477 fi
   9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9481 	CFLAGS="$xorg_testset_save_CFLAGS"
   9482 fi
   9483 
   9484 found="no"
   9485 
   9486 	if test $found = "no" ; then
   9487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 		fi
   9490 
   9491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9493 		fi
   9494 
   9495 		CFLAGS="$CFLAGS -Wreturn-type"
   9496 
   9497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9498 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9499 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9500 		if eval \${$cacheid+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 int
   9507 main ()
   9508 {
   9509 
   9510   ;
   9511   return 0;
   9512 }
   9513 _ACEOF
   9514 if ac_fn_c_try_link "$LINENO"; then :
   9515   eval $cacheid=yes
   9516 else
   9517   eval $cacheid=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext \
   9520     conftest$ac_exeext conftest.$ac_ext
   9521 fi
   9522 
   9523 
   9524 		CFLAGS="$xorg_testset_save_CFLAGS"
   9525 
   9526 		eval supported=\$$cacheid
   9527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9528 $as_echo "$supported" >&6; }
   9529 		if test "$supported" = "yes" ; then
   9530 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9531 			found="yes"
   9532 		fi
   9533 	fi
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 xorg_testset_save_CFLAGS="$CFLAGS"
   9550 
   9551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unknown_warning_option=yes
   9564 else
   9565   xorg_cv_cc_flag_unknown_warning_option=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9578 	fi
   9579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9583   $as_echo_n "(cached) " >&6
   9584 else
   9585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 _ACEOF
   9589 if ac_fn_c_try_compile "$LINENO"; then :
   9590   xorg_cv_cc_flag_unused_command_line_argument=yes
   9591 else
   9592   xorg_cv_cc_flag_unused_command_line_argument=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9595 fi
   9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 found="no"
   9603 
   9604 	if test $found = "no" ; then
   9605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 		fi
   9608 
   9609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 		fi
   9612 
   9613 		CFLAGS="$CFLAGS -Wtrigraphs"
   9614 
   9615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9616 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9617 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9618 		if eval \${$cacheid+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 int
   9625 main ()
   9626 {
   9627 
   9628   ;
   9629   return 0;
   9630 }
   9631 _ACEOF
   9632 if ac_fn_c_try_link "$LINENO"; then :
   9633   eval $cacheid=yes
   9634 else
   9635   eval $cacheid=no
   9636 fi
   9637 rm -f core conftest.err conftest.$ac_objext \
   9638     conftest$ac_exeext conftest.$ac_ext
   9639 fi
   9640 
   9641 
   9642 		CFLAGS="$xorg_testset_save_CFLAGS"
   9643 
   9644 		eval supported=\$$cacheid
   9645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9646 $as_echo "$supported" >&6; }
   9647 		if test "$supported" = "yes" ; then
   9648 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9649 			found="yes"
   9650 		fi
   9651 	fi
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 xorg_testset_save_CFLAGS="$CFLAGS"
   9668 
   9669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unknown_warning_option=yes
   9682 else
   9683   xorg_cv_cc_flag_unknown_warning_option=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	fi
   9697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9704 /* end confdefs.h.  */
   9705 int i;
   9706 _ACEOF
   9707 if ac_fn_c_try_compile "$LINENO"; then :
   9708   xorg_cv_cc_flag_unused_command_line_argument=yes
   9709 else
   9710   xorg_cv_cc_flag_unused_command_line_argument=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9713 fi
   9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9717 	CFLAGS="$xorg_testset_save_CFLAGS"
   9718 fi
   9719 
   9720 found="no"
   9721 
   9722 	if test $found = "no" ; then
   9723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 		fi
   9726 
   9727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9729 		fi
   9730 
   9731 		CFLAGS="$CFLAGS -Warray-bounds"
   9732 
   9733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9734 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9735 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9736 		if eval \${$cacheid+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 int
   9743 main ()
   9744 {
   9745 
   9746   ;
   9747   return 0;
   9748 }
   9749 _ACEOF
   9750 if ac_fn_c_try_link "$LINENO"; then :
   9751   eval $cacheid=yes
   9752 else
   9753   eval $cacheid=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext \
   9756     conftest$ac_exeext conftest.$ac_ext
   9757 fi
   9758 
   9759 
   9760 		CFLAGS="$xorg_testset_save_CFLAGS"
   9761 
   9762 		eval supported=\$$cacheid
   9763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9764 $as_echo "$supported" >&6; }
   9765 		if test "$supported" = "yes" ; then
   9766 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9767 			found="yes"
   9768 		fi
   9769 	fi
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 xorg_testset_save_CFLAGS="$CFLAGS"
   9786 
   9787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unknown_warning_option=yes
   9800 else
   9801   xorg_cv_cc_flag_unknown_warning_option=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 	fi
   9815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9819   $as_echo_n "(cached) " >&6
   9820 else
   9821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9822 /* end confdefs.h.  */
   9823 int i;
   9824 _ACEOF
   9825 if ac_fn_c_try_compile "$LINENO"; then :
   9826   xorg_cv_cc_flag_unused_command_line_argument=yes
   9827 else
   9828   xorg_cv_cc_flag_unused_command_line_argument=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9835 	CFLAGS="$xorg_testset_save_CFLAGS"
   9836 fi
   9837 
   9838 found="no"
   9839 
   9840 	if test $found = "no" ; then
   9841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 		fi
   9844 
   9845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9847 		fi
   9848 
   9849 		CFLAGS="$CFLAGS -Wwrite-strings"
   9850 
   9851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9852 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9853 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9854 		if eval \${$cacheid+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 int
   9861 main ()
   9862 {
   9863 
   9864   ;
   9865   return 0;
   9866 }
   9867 _ACEOF
   9868 if ac_fn_c_try_link "$LINENO"; then :
   9869   eval $cacheid=yes
   9870 else
   9871   eval $cacheid=no
   9872 fi
   9873 rm -f core conftest.err conftest.$ac_objext \
   9874     conftest$ac_exeext conftest.$ac_ext
   9875 fi
   9876 
   9877 
   9878 		CFLAGS="$xorg_testset_save_CFLAGS"
   9879 
   9880 		eval supported=\$$cacheid
   9881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9882 $as_echo "$supported" >&6; }
   9883 		if test "$supported" = "yes" ; then
   9884 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9885 			found="yes"
   9886 		fi
   9887 	fi
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 xorg_testset_save_CFLAGS="$CFLAGS"
   9904 
   9905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unknown_warning_option=yes
   9918 else
   9919   xorg_cv_cc_flag_unknown_warning_option=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 	fi
   9933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9937   $as_echo_n "(cached) " >&6
   9938 else
   9939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9940 /* end confdefs.h.  */
   9941 int i;
   9942 _ACEOF
   9943 if ac_fn_c_try_compile "$LINENO"; then :
   9944   xorg_cv_cc_flag_unused_command_line_argument=yes
   9945 else
   9946   xorg_cv_cc_flag_unused_command_line_argument=no
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9949 fi
   9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -Waddress"
   9968 
   9969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9970 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__Waddress
   9972 		if eval \${$cacheid+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 int
   9979 main ()
   9980 {
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 if ac_fn_c_try_link "$LINENO"; then :
   9987   eval $cacheid=yes
   9988 else
   9989   eval $cacheid=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext \
   9992     conftest$ac_exeext conftest.$ac_ext
   9993 fi
   9994 
   9995 
   9996 		CFLAGS="$xorg_testset_save_CFLAGS"
   9997 
   9998 		eval supported=\$$cacheid
   9999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10000 $as_echo "$supported" >&6; }
   10001 		if test "$supported" = "yes" ; then
   10002 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10003 			found="yes"
   10004 		fi
   10005 	fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 xorg_testset_save_CFLAGS="$CFLAGS"
   10022 
   10023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else
   10037   xorg_cv_cc_flag_unknown_warning_option=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 	fi
   10051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10055   $as_echo_n "(cached) " >&6
   10056 else
   10057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 _ACEOF
   10061 if ac_fn_c_try_compile "$LINENO"; then :
   10062   xorg_cv_cc_flag_unused_command_line_argument=yes
   10063 else
   10064   xorg_cv_cc_flag_unused_command_line_argument=no
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10067 fi
   10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10071 	CFLAGS="$xorg_testset_save_CFLAGS"
   10072 fi
   10073 
   10074 found="no"
   10075 
   10076 	if test $found = "no" ; then
   10077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10079 		fi
   10080 
   10081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 		fi
   10084 
   10085 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10086 
   10087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10088 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10089 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10090 		if eval \${$cacheid+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 int
   10097 main ()
   10098 {
   10099 
   10100   ;
   10101   return 0;
   10102 }
   10103 _ACEOF
   10104 if ac_fn_c_try_link "$LINENO"; then :
   10105   eval $cacheid=yes
   10106 else
   10107   eval $cacheid=no
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext \
   10110     conftest$ac_exeext conftest.$ac_ext
   10111 fi
   10112 
   10113 
   10114 		CFLAGS="$xorg_testset_save_CFLAGS"
   10115 
   10116 		eval supported=\$$cacheid
   10117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10118 $as_echo "$supported" >&6; }
   10119 		if test "$supported" = "yes" ; then
   10120 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10121 			found="yes"
   10122 		fi
   10123 	fi
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 xorg_testset_save_CFLAGS="$CFLAGS"
   10140 
   10141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10146   $as_echo_n "(cached) " >&6
   10147 else
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 int i;
   10151 _ACEOF
   10152 if ac_fn_c_try_compile "$LINENO"; then :
   10153   xorg_cv_cc_flag_unknown_warning_option=yes
   10154 else
   10155   xorg_cv_cc_flag_unknown_warning_option=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10158 fi
   10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 	fi
   10169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10173   $as_echo_n "(cached) " >&6
   10174 else
   10175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10176 /* end confdefs.h.  */
   10177 int i;
   10178 _ACEOF
   10179 if ac_fn_c_try_compile "$LINENO"; then :
   10180   xorg_cv_cc_flag_unused_command_line_argument=yes
   10181 else
   10182   xorg_cv_cc_flag_unused_command_line_argument=no
   10183 fi
   10184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10185 fi
   10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10189 	CFLAGS="$xorg_testset_save_CFLAGS"
   10190 fi
   10191 
   10192 found="no"
   10193 
   10194 	if test $found = "no" ; then
   10195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10197 		fi
   10198 
   10199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10201 		fi
   10202 
   10203 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10204 
   10205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10206 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10207 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10208 		if eval \${$cacheid+:} false; then :
   10209   $as_echo_n "(cached) " >&6
   10210 else
   10211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10212 /* end confdefs.h.  */
   10213 int i;
   10214 int
   10215 main ()
   10216 {
   10217 
   10218   ;
   10219   return 0;
   10220 }
   10221 _ACEOF
   10222 if ac_fn_c_try_link "$LINENO"; then :
   10223   eval $cacheid=yes
   10224 else
   10225   eval $cacheid=no
   10226 fi
   10227 rm -f core conftest.err conftest.$ac_objext \
   10228     conftest$ac_exeext conftest.$ac_ext
   10229 fi
   10230 
   10231 
   10232 		CFLAGS="$xorg_testset_save_CFLAGS"
   10233 
   10234 		eval supported=\$$cacheid
   10235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10236 $as_echo "$supported" >&6; }
   10237 		if test "$supported" = "yes" ; then
   10238 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10239 			found="yes"
   10240 		fi
   10241 	fi
   10242 
   10243 
   10244 fi
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 		CWARNFLAGS="$BASE_CFLAGS"
   10253 		if  test "x$GCC" = xyes ; then
   10254 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10255 		fi
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 # Check whether --enable-strict-compilation was given.
   10265 if test "${enable_strict_compilation+set}" = set; then :
   10266   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10267 else
   10268   STRICT_COMPILE=no
   10269 fi
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 STRICT_CFLAGS=""
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 xorg_testset_save_CFLAGS="$CFLAGS"
   10291 
   10292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 int i;
   10302 _ACEOF
   10303 if ac_fn_c_try_compile "$LINENO"; then :
   10304   xorg_cv_cc_flag_unknown_warning_option=yes
   10305 else
   10306   xorg_cv_cc_flag_unknown_warning_option=no
   10307 fi
   10308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10309 fi
   10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10313 	CFLAGS="$xorg_testset_save_CFLAGS"
   10314 fi
   10315 
   10316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10319 	fi
   10320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10324   $as_echo_n "(cached) " >&6
   10325 else
   10326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 int i;
   10329 _ACEOF
   10330 if ac_fn_c_try_compile "$LINENO"; then :
   10331   xorg_cv_cc_flag_unused_command_line_argument=yes
   10332 else
   10333   xorg_cv_cc_flag_unused_command_line_argument=no
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10336 fi
   10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10340 	CFLAGS="$xorg_testset_save_CFLAGS"
   10341 fi
   10342 
   10343 found="no"
   10344 
   10345 	if test $found = "no" ; then
   10346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10348 		fi
   10349 
   10350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10352 		fi
   10353 
   10354 		CFLAGS="$CFLAGS -pedantic"
   10355 
   10356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10357 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10358 		cacheid=xorg_cv_cc_flag__pedantic
   10359 		if eval \${$cacheid+:} false; then :
   10360   $as_echo_n "(cached) " >&6
   10361 else
   10362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10363 /* end confdefs.h.  */
   10364 int i;
   10365 int
   10366 main ()
   10367 {
   10368 
   10369   ;
   10370   return 0;
   10371 }
   10372 _ACEOF
   10373 if ac_fn_c_try_link "$LINENO"; then :
   10374   eval $cacheid=yes
   10375 else
   10376   eval $cacheid=no
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext \
   10379     conftest$ac_exeext conftest.$ac_ext
   10380 fi
   10381 
   10382 
   10383 		CFLAGS="$xorg_testset_save_CFLAGS"
   10384 
   10385 		eval supported=\$$cacheid
   10386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10387 $as_echo "$supported" >&6; }
   10388 		if test "$supported" = "yes" ; then
   10389 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10390 			found="yes"
   10391 		fi
   10392 	fi
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 xorg_testset_save_CFLAGS="$CFLAGS"
   10409 
   10410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10415   $as_echo_n "(cached) " >&6
   10416 else
   10417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"; then :
   10422   xorg_cv_cc_flag_unknown_warning_option=yes
   10423 else
   10424   xorg_cv_cc_flag_unknown_warning_option=no
   10425 fi
   10426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10427 fi
   10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10431 	CFLAGS="$xorg_testset_save_CFLAGS"
   10432 fi
   10433 
   10434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10437 	fi
   10438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10442   $as_echo_n "(cached) " >&6
   10443 else
   10444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10445 /* end confdefs.h.  */
   10446 int i;
   10447 _ACEOF
   10448 if ac_fn_c_try_compile "$LINENO"; then :
   10449   xorg_cv_cc_flag_unused_command_line_argument=yes
   10450 else
   10451   xorg_cv_cc_flag_unused_command_line_argument=no
   10452 fi
   10453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10454 fi
   10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10458 	CFLAGS="$xorg_testset_save_CFLAGS"
   10459 fi
   10460 
   10461 found="no"
   10462 
   10463 	if test $found = "no" ; then
   10464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10466 		fi
   10467 
   10468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10470 		fi
   10471 
   10472 		CFLAGS="$CFLAGS -Werror"
   10473 
   10474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10475 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10476 		cacheid=xorg_cv_cc_flag__Werror
   10477 		if eval \${$cacheid+:} false; then :
   10478   $as_echo_n "(cached) " >&6
   10479 else
   10480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10481 /* end confdefs.h.  */
   10482 int i;
   10483 int
   10484 main ()
   10485 {
   10486 
   10487   ;
   10488   return 0;
   10489 }
   10490 _ACEOF
   10491 if ac_fn_c_try_link "$LINENO"; then :
   10492   eval $cacheid=yes
   10493 else
   10494   eval $cacheid=no
   10495 fi
   10496 rm -f core conftest.err conftest.$ac_objext \
   10497     conftest$ac_exeext conftest.$ac_ext
   10498 fi
   10499 
   10500 
   10501 		CFLAGS="$xorg_testset_save_CFLAGS"
   10502 
   10503 		eval supported=\$$cacheid
   10504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10505 $as_echo "$supported" >&6; }
   10506 		if test "$supported" = "yes" ; then
   10507 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10508 			found="yes"
   10509 		fi
   10510 	fi
   10511 
   10512 	if test $found = "no" ; then
   10513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10515 		fi
   10516 
   10517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10519 		fi
   10520 
   10521 		CFLAGS="$CFLAGS -errwarn"
   10522 
   10523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10524 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10525 		cacheid=xorg_cv_cc_flag__errwarn
   10526 		if eval \${$cacheid+:} false; then :
   10527   $as_echo_n "(cached) " >&6
   10528 else
   10529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10530 /* end confdefs.h.  */
   10531 int i;
   10532 int
   10533 main ()
   10534 {
   10535 
   10536   ;
   10537   return 0;
   10538 }
   10539 _ACEOF
   10540 if ac_fn_c_try_link "$LINENO"; then :
   10541   eval $cacheid=yes
   10542 else
   10543   eval $cacheid=no
   10544 fi
   10545 rm -f core conftest.err conftest.$ac_objext \
   10546     conftest$ac_exeext conftest.$ac_ext
   10547 fi
   10548 
   10549 
   10550 		CFLAGS="$xorg_testset_save_CFLAGS"
   10551 
   10552 		eval supported=\$$cacheid
   10553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10554 $as_echo "$supported" >&6; }
   10555 		if test "$supported" = "yes" ; then
   10556 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10557 			found="yes"
   10558 		fi
   10559 	fi
   10560 
   10561 
   10562 
   10563 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10564 # activate it with -Werror, so we add it here explicitly.
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 xorg_testset_save_CFLAGS="$CFLAGS"
   10579 
   10580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10583 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10584 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10585   $as_echo_n "(cached) " >&6
   10586 else
   10587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10588 /* end confdefs.h.  */
   10589 int i;
   10590 _ACEOF
   10591 if ac_fn_c_try_compile "$LINENO"; then :
   10592   xorg_cv_cc_flag_unknown_warning_option=yes
   10593 else
   10594   xorg_cv_cc_flag_unknown_warning_option=no
   10595 fi
   10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10597 fi
   10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10599 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10601 	CFLAGS="$xorg_testset_save_CFLAGS"
   10602 fi
   10603 
   10604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10607 	fi
   10608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10610 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10611 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10612   $as_echo_n "(cached) " >&6
   10613 else
   10614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10615 /* end confdefs.h.  */
   10616 int i;
   10617 _ACEOF
   10618 if ac_fn_c_try_compile "$LINENO"; then :
   10619   xorg_cv_cc_flag_unused_command_line_argument=yes
   10620 else
   10621   xorg_cv_cc_flag_unused_command_line_argument=no
   10622 fi
   10623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10624 fi
   10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10626 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10628 	CFLAGS="$xorg_testset_save_CFLAGS"
   10629 fi
   10630 
   10631 found="no"
   10632 
   10633 	if test $found = "no" ; then
   10634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10636 		fi
   10637 
   10638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10640 		fi
   10641 
   10642 		CFLAGS="$CFLAGS -Werror=attributes"
   10643 
   10644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10645 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10646 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10647 		if eval \${$cacheid+:} false; then :
   10648   $as_echo_n "(cached) " >&6
   10649 else
   10650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10651 /* end confdefs.h.  */
   10652 int i;
   10653 int
   10654 main ()
   10655 {
   10656 
   10657   ;
   10658   return 0;
   10659 }
   10660 _ACEOF
   10661 if ac_fn_c_try_link "$LINENO"; then :
   10662   eval $cacheid=yes
   10663 else
   10664   eval $cacheid=no
   10665 fi
   10666 rm -f core conftest.err conftest.$ac_objext \
   10667     conftest$ac_exeext conftest.$ac_ext
   10668 fi
   10669 
   10670 
   10671 		CFLAGS="$xorg_testset_save_CFLAGS"
   10672 
   10673 		eval supported=\$$cacheid
   10674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10675 $as_echo "$supported" >&6; }
   10676 		if test "$supported" = "yes" ; then
   10677 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10678 			found="yes"
   10679 		fi
   10680 	fi
   10681 
   10682 
   10683 
   10684 if test "x$STRICT_COMPILE" = "xyes"; then
   10685     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10686     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10687 fi
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 cat >>confdefs.h <<_ACEOF
   10695 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10696 _ACEOF
   10697 
   10698 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10699 	if test "x$PVM" = "x"; then
   10700 		PVM="0"
   10701 	fi
   10702 
   10703 cat >>confdefs.h <<_ACEOF
   10704 #define PACKAGE_VERSION_MINOR $PVM
   10705 _ACEOF
   10706 
   10707 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10708 	if test "x$PVP" = "x"; then
   10709 		PVP="0"
   10710 	fi
   10711 
   10712 cat >>confdefs.h <<_ACEOF
   10713 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10714 _ACEOF
   10715 
   10716 
   10717 
   10718 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10719 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10720 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10721 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10722 
   10723 
   10724 
   10725 
   10726 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10727 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10728 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10729 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10730 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 if test x$APP_MAN_SUFFIX = x    ; then
   10738     APP_MAN_SUFFIX=1
   10739 fi
   10740 if test x$APP_MAN_DIR = x    ; then
   10741     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10742 fi
   10743 
   10744 if test x$LIB_MAN_SUFFIX = x    ; then
   10745     LIB_MAN_SUFFIX=3
   10746 fi
   10747 if test x$LIB_MAN_DIR = x    ; then
   10748     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10749 fi
   10750 
   10751 if test x$FILE_MAN_SUFFIX = x    ; then
   10752     case $host_os in
   10753 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10754 	*)		FILE_MAN_SUFFIX=5  ;;
   10755     esac
   10756 fi
   10757 if test x$FILE_MAN_DIR = x    ; then
   10758     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10759 fi
   10760 
   10761 if test x$MISC_MAN_SUFFIX = x    ; then
   10762     case $host_os in
   10763 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10764 	*)		MISC_MAN_SUFFIX=7  ;;
   10765     esac
   10766 fi
   10767 if test x$MISC_MAN_DIR = x    ; then
   10768     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10769 fi
   10770 
   10771 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10772     case $host_os in
   10773 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10774 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10775     esac
   10776 fi
   10777 if test x$DRIVER_MAN_DIR = x    ; then
   10778     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10779 fi
   10780 
   10781 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10782     case $host_os in
   10783 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10784 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10785     esac
   10786 fi
   10787 if test x$ADMIN_MAN_DIR = x    ; then
   10788     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10789 fi
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 XORG_MAN_PAGE="X Version 11"
   10806 
   10807 MAN_SUBSTS="\
   10808 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10809 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10810 	-e 's|__xservername__|Xorg|g' \
   10811 	-e 's|__xconfigfile__|xorg.conf|g' \
   10812 	-e 's|__projectroot__|\$(prefix)|g' \
   10813 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10814 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10815 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10816 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10817 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10818 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10819 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10820 
   10821 
   10822 
   10823 # Check whether --enable-silent-rules was given.
   10824 if test "${enable_silent_rules+set}" = set; then :
   10825   enableval=$enable_silent_rules;
   10826 fi
   10827 
   10828 case $enable_silent_rules in # (((
   10829   yes) AM_DEFAULT_VERBOSITY=0;;
   10830    no) AM_DEFAULT_VERBOSITY=1;;
   10831     *) AM_DEFAULT_VERBOSITY=0;;
   10832 esac
   10833 am_make=${MAKE-make}
   10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10835 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10836 if ${am_cv_make_support_nested_variables+:} false; then :
   10837   $as_echo_n "(cached) " >&6
   10838 else
   10839   if $as_echo 'TRUE=$(BAR$(V))
   10840 BAR0=false
   10841 BAR1=true
   10842 V=1
   10843 am__doit:
   10844 	@$(TRUE)
   10845 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10846   am_cv_make_support_nested_variables=yes
   10847 else
   10848   am_cv_make_support_nested_variables=no
   10849 fi
   10850 fi
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10852 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10853 if test $am_cv_make_support_nested_variables = yes; then
   10854     AM_V='$(V)'
   10855   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10856 else
   10857   AM_V=$AM_DEFAULT_VERBOSITY
   10858   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10859 fi
   10860 AM_BACKSLASH='\'
   10861 
   10862 
   10863 
   10864 
   10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   10866 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   10867     # Check whether --enable-maintainer-mode was given.
   10868 if test "${enable_maintainer_mode+set}" = set; then :
   10869   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   10870 else
   10871   USE_MAINTAINER_MODE=no
   10872 fi
   10873 
   10874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   10875 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   10876    if test $USE_MAINTAINER_MODE = yes; then
   10877   MAINTAINER_MODE_TRUE=
   10878   MAINTAINER_MODE_FALSE='#'
   10879 else
   10880   MAINTAINER_MODE_TRUE='#'
   10881   MAINTAINER_MODE_FALSE=
   10882 fi
   10883 
   10884   MAINT=$MAINTAINER_MODE_TRUE
   10885 
   10886 
   10887 
   10888 # Initialize libtool
   10889 # Check whether --enable-static was given.
   10890 if test "${enable_static+set}" = set; then :
   10891   enableval=$enable_static; p=${PACKAGE-default}
   10892     case $enableval in
   10893     yes) enable_static=yes ;;
   10894     no) enable_static=no ;;
   10895     *)
   10896      enable_static=no
   10897       # Look at the argument we got.  We use all the common list separators.
   10898       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10899       for pkg in $enableval; do
   10900 	IFS=$lt_save_ifs
   10901 	if test "X$pkg" = "X$p"; then
   10902 	  enable_static=yes
   10903 	fi
   10904       done
   10905       IFS=$lt_save_ifs
   10906       ;;
   10907     esac
   10908 else
   10909   enable_static=no
   10910 fi
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 case `pwd` in
   10921   *\ * | *\	*)
   10922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10923 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10924 esac
   10925 
   10926 
   10927 
   10928 macro_version='2.4.6'
   10929 macro_revision='2.4.6'
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 ltmain=$ac_aux_dir/ltmain.sh
   10944 
   10945 # Backslashify metacharacters that are still active within
   10946 # double-quoted strings.
   10947 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10948 
   10949 # Same as above, but do not quote variable references.
   10950 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10951 
   10952 # Sed substitution to delay expansion of an escaped shell variable in a
   10953 # double_quote_subst'ed string.
   10954 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10955 
   10956 # Sed substitution to delay expansion of an escaped single quote.
   10957 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10958 
   10959 # Sed substitution to avoid accidental globbing in evaled expressions
   10960 no_glob_subst='s/\*/\\\*/g'
   10961 
   10962 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10963 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10964 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10965 
   10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10967 $as_echo_n "checking how to print strings... " >&6; }
   10968 # Test print first, because it will be a builtin if present.
   10969 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10970    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10971   ECHO='print -r --'
   10972 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10973   ECHO='printf %s\n'
   10974 else
   10975   # Use this function as a fallback that always works.
   10976   func_fallback_echo ()
   10977   {
   10978     eval 'cat <<_LTECHO_EOF
   10979 $1
   10980 _LTECHO_EOF'
   10981   }
   10982   ECHO='func_fallback_echo'
   10983 fi
   10984 
   10985 # func_echo_all arg...
   10986 # Invoke $ECHO with all args, space-separated.
   10987 func_echo_all ()
   10988 {
   10989     $ECHO ""
   10990 }
   10991 
   10992 case $ECHO in
   10993   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10994 $as_echo "printf" >&6; } ;;
   10995   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10996 $as_echo "print -r" >&6; } ;;
   10997   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10998 $as_echo "cat" >&6; } ;;
   10999 esac
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11015 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11016 if ${ac_cv_path_SED+:} false; then :
   11017   $as_echo_n "(cached) " >&6
   11018 else
   11019             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11020      for ac_i in 1 2 3 4 5 6 7; do
   11021        ac_script="$ac_script$as_nl$ac_script"
   11022      done
   11023      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11024      { ac_script=; unset ac_script;}
   11025      if test -z "$SED"; then
   11026   ac_path_SED_found=false
   11027   # Loop through the user's path and test for each of PROGNAME-LIST
   11028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11029 for as_dir in $PATH
   11030 do
   11031   IFS=$as_save_IFS
   11032   test -z "$as_dir" && as_dir=.
   11033     for ac_prog in sed gsed; do
   11034     for ac_exec_ext in '' $ac_executable_extensions; do
   11035       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11036       as_fn_executable_p "$ac_path_SED" || continue
   11037 # Check for GNU ac_path_SED and select it if it is found.
   11038   # Check for GNU $ac_path_SED
   11039 case `"$ac_path_SED" --version 2>&1` in
   11040 *GNU*)
   11041   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11042 *)
   11043   ac_count=0
   11044   $as_echo_n 0123456789 >"conftest.in"
   11045   while :
   11046   do
   11047     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11048     mv "conftest.tmp" "conftest.in"
   11049     cp "conftest.in" "conftest.nl"
   11050     $as_echo '' >> "conftest.nl"
   11051     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11052     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11053     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11054     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11055       # Best one so far, save it but keep looking for a better one
   11056       ac_cv_path_SED="$ac_path_SED"
   11057       ac_path_SED_max=$ac_count
   11058     fi
   11059     # 10*(2^10) chars as input seems more than enough
   11060     test $ac_count -gt 10 && break
   11061   done
   11062   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11063 esac
   11064 
   11065       $ac_path_SED_found && break 3
   11066     done
   11067   done
   11068   done
   11069 IFS=$as_save_IFS
   11070   if test -z "$ac_cv_path_SED"; then
   11071     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11072   fi
   11073 else
   11074   ac_cv_path_SED=$SED
   11075 fi
   11076 
   11077 fi
   11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11079 $as_echo "$ac_cv_path_SED" >&6; }
   11080  SED="$ac_cv_path_SED"
   11081   rm -f conftest.sed
   11082 
   11083 test -z "$SED" && SED=sed
   11084 Xsed="$SED -e 1s/^X//"
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11097 $as_echo_n "checking for fgrep... " >&6; }
   11098 if ${ac_cv_path_FGREP+:} false; then :
   11099   $as_echo_n "(cached) " >&6
   11100 else
   11101   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11102    then ac_cv_path_FGREP="$GREP -F"
   11103    else
   11104      if test -z "$FGREP"; then
   11105   ac_path_FGREP_found=false
   11106   # Loop through the user's path and test for each of PROGNAME-LIST
   11107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11109 do
   11110   IFS=$as_save_IFS
   11111   test -z "$as_dir" && as_dir=.
   11112     for ac_prog in fgrep; do
   11113     for ac_exec_ext in '' $ac_executable_extensions; do
   11114       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11115       as_fn_executable_p "$ac_path_FGREP" || continue
   11116 # Check for GNU ac_path_FGREP and select it if it is found.
   11117   # Check for GNU $ac_path_FGREP
   11118 case `"$ac_path_FGREP" --version 2>&1` in
   11119 *GNU*)
   11120   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11121 *)
   11122   ac_count=0
   11123   $as_echo_n 0123456789 >"conftest.in"
   11124   while :
   11125   do
   11126     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11127     mv "conftest.tmp" "conftest.in"
   11128     cp "conftest.in" "conftest.nl"
   11129     $as_echo 'FGREP' >> "conftest.nl"
   11130     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11131     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11132     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11133     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11134       # Best one so far, save it but keep looking for a better one
   11135       ac_cv_path_FGREP="$ac_path_FGREP"
   11136       ac_path_FGREP_max=$ac_count
   11137     fi
   11138     # 10*(2^10) chars as input seems more than enough
   11139     test $ac_count -gt 10 && break
   11140   done
   11141   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11142 esac
   11143 
   11144       $ac_path_FGREP_found && break 3
   11145     done
   11146   done
   11147   done
   11148 IFS=$as_save_IFS
   11149   if test -z "$ac_cv_path_FGREP"; then
   11150     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11151   fi
   11152 else
   11153   ac_cv_path_FGREP=$FGREP
   11154 fi
   11155 
   11156    fi
   11157 fi
   11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11159 $as_echo "$ac_cv_path_FGREP" >&6; }
   11160  FGREP="$ac_cv_path_FGREP"
   11161 
   11162 
   11163 test -z "$GREP" && GREP=grep
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 # Check whether --with-gnu-ld was given.
   11184 if test "${with_gnu_ld+set}" = set; then :
   11185   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11186 else
   11187   with_gnu_ld=no
   11188 fi
   11189 
   11190 ac_prog=ld
   11191 if test yes = "$GCC"; then
   11192   # Check if gcc -print-prog-name=ld gives a path.
   11193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11194 $as_echo_n "checking for ld used by $CC... " >&6; }
   11195   case $host in
   11196   *-*-mingw*)
   11197     # gcc leaves a trailing carriage return, which upsets mingw
   11198     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11199   *)
   11200     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11201   esac
   11202   case $ac_prog in
   11203     # Accept absolute paths.
   11204     [\\/]* | ?:[\\/]*)
   11205       re_direlt='/[^/][^/]*/\.\./'
   11206       # Canonicalize the pathname of ld
   11207       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11208       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11209 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11210       done
   11211       test -z "$LD" && LD=$ac_prog
   11212       ;;
   11213   "")
   11214     # If it fails, then pretend we aren't using GCC.
   11215     ac_prog=ld
   11216     ;;
   11217   *)
   11218     # If it is relative, then search for the first ld in PATH.
   11219     with_gnu_ld=unknown
   11220     ;;
   11221   esac
   11222 elif test yes = "$with_gnu_ld"; then
   11223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11224 $as_echo_n "checking for GNU ld... " >&6; }
   11225 else
   11226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11227 $as_echo_n "checking for non-GNU ld... " >&6; }
   11228 fi
   11229 if ${lt_cv_path_LD+:} false; then :
   11230   $as_echo_n "(cached) " >&6
   11231 else
   11232   if test -z "$LD"; then
   11233   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11234   for ac_dir in $PATH; do
   11235     IFS=$lt_save_ifs
   11236     test -z "$ac_dir" && ac_dir=.
   11237     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11238       lt_cv_path_LD=$ac_dir/$ac_prog
   11239       # Check to see if the program is GNU ld.  I'd rather use --version,
   11240       # but apparently some variants of GNU ld only accept -v.
   11241       # Break only if it was the GNU/non-GNU ld that we prefer.
   11242       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11243       *GNU* | *'with BFD'*)
   11244 	test no != "$with_gnu_ld" && break
   11245 	;;
   11246       *)
   11247 	test yes != "$with_gnu_ld" && break
   11248 	;;
   11249       esac
   11250     fi
   11251   done
   11252   IFS=$lt_save_ifs
   11253 else
   11254   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11255 fi
   11256 fi
   11257 
   11258 LD=$lt_cv_path_LD
   11259 if test -n "$LD"; then
   11260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11261 $as_echo "$LD" >&6; }
   11262 else
   11263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11264 $as_echo "no" >&6; }
   11265 fi
   11266 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11268 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11269 if ${lt_cv_prog_gnu_ld+:} false; then :
   11270   $as_echo_n "(cached) " >&6
   11271 else
   11272   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11273 case `$LD -v 2>&1 </dev/null` in
   11274 *GNU* | *'with BFD'*)
   11275   lt_cv_prog_gnu_ld=yes
   11276   ;;
   11277 *)
   11278   lt_cv_prog_gnu_ld=no
   11279   ;;
   11280 esac
   11281 fi
   11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11283 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11284 with_gnu_ld=$lt_cv_prog_gnu_ld
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11295 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11296 if ${lt_cv_path_NM+:} false; then :
   11297   $as_echo_n "(cached) " >&6
   11298 else
   11299   if test -n "$NM"; then
   11300   # Let the user override the test.
   11301   lt_cv_path_NM=$NM
   11302 else
   11303   lt_nm_to_check=${ac_tool_prefix}nm
   11304   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11305     lt_nm_to_check="$lt_nm_to_check nm"
   11306   fi
   11307   for lt_tmp_nm in $lt_nm_to_check; do
   11308     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11309     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11310       IFS=$lt_save_ifs
   11311       test -z "$ac_dir" && ac_dir=.
   11312       tmp_nm=$ac_dir/$lt_tmp_nm
   11313       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11314 	# Check to see if the nm accepts a BSD-compat flag.
   11315 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11316 	#   nm: unknown option "B" ignored
   11317 	# Tru64's nm complains that /dev/null is an invalid object file
   11318 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11319 	case $build_os in
   11320 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11321 	*) lt_bad_file=/dev/null ;;
   11322 	esac
   11323 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11324 	*$lt_bad_file* | *'Invalid file or object type'*)
   11325 	  lt_cv_path_NM="$tmp_nm -B"
   11326 	  break 2
   11327 	  ;;
   11328 	*)
   11329 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11330 	  */dev/null*)
   11331 	    lt_cv_path_NM="$tmp_nm -p"
   11332 	    break 2
   11333 	    ;;
   11334 	  *)
   11335 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11336 	    continue # so that we can try to find one that supports BSD flags
   11337 	    ;;
   11338 	  esac
   11339 	  ;;
   11340 	esac
   11341       fi
   11342     done
   11343     IFS=$lt_save_ifs
   11344   done
   11345   : ${lt_cv_path_NM=no}
   11346 fi
   11347 fi
   11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11349 $as_echo "$lt_cv_path_NM" >&6; }
   11350 if test no != "$lt_cv_path_NM"; then
   11351   NM=$lt_cv_path_NM
   11352 else
   11353   # Didn't find any BSD compatible name lister, look for dumpbin.
   11354   if test -n "$DUMPBIN"; then :
   11355     # Let the user override the test.
   11356   else
   11357     if test -n "$ac_tool_prefix"; then
   11358   for ac_prog in dumpbin "link -dump"
   11359   do
   11360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11363 $as_echo_n "checking for $ac_word... " >&6; }
   11364 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11365   $as_echo_n "(cached) " >&6
   11366 else
   11367   if test -n "$DUMPBIN"; then
   11368   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11369 else
   11370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11371 for as_dir in $PATH
   11372 do
   11373   IFS=$as_save_IFS
   11374   test -z "$as_dir" && as_dir=.
   11375     for ac_exec_ext in '' $ac_executable_extensions; do
   11376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11377     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11379     break 2
   11380   fi
   11381 done
   11382   done
   11383 IFS=$as_save_IFS
   11384 
   11385 fi
   11386 fi
   11387 DUMPBIN=$ac_cv_prog_DUMPBIN
   11388 if test -n "$DUMPBIN"; then
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11390 $as_echo "$DUMPBIN" >&6; }
   11391 else
   11392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11393 $as_echo "no" >&6; }
   11394 fi
   11395 
   11396 
   11397     test -n "$DUMPBIN" && break
   11398   done
   11399 fi
   11400 if test -z "$DUMPBIN"; then
   11401   ac_ct_DUMPBIN=$DUMPBIN
   11402   for ac_prog in dumpbin "link -dump"
   11403 do
   11404   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11405 set dummy $ac_prog; ac_word=$2
   11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11407 $as_echo_n "checking for $ac_word... " >&6; }
   11408 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11409   $as_echo_n "(cached) " >&6
   11410 else
   11411   if test -n "$ac_ct_DUMPBIN"; then
   11412   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11413 else
   11414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11415 for as_dir in $PATH
   11416 do
   11417   IFS=$as_save_IFS
   11418   test -z "$as_dir" && as_dir=.
   11419     for ac_exec_ext in '' $ac_executable_extensions; do
   11420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11421     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11423     break 2
   11424   fi
   11425 done
   11426   done
   11427 IFS=$as_save_IFS
   11428 
   11429 fi
   11430 fi
   11431 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11432 if test -n "$ac_ct_DUMPBIN"; then
   11433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11434 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11435 else
   11436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11437 $as_echo "no" >&6; }
   11438 fi
   11439 
   11440 
   11441   test -n "$ac_ct_DUMPBIN" && break
   11442 done
   11443 
   11444   if test "x$ac_ct_DUMPBIN" = x; then
   11445     DUMPBIN=":"
   11446   else
   11447     case $cross_compiling:$ac_tool_warned in
   11448 yes:)
   11449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11451 ac_tool_warned=yes ;;
   11452 esac
   11453     DUMPBIN=$ac_ct_DUMPBIN
   11454   fi
   11455 fi
   11456 
   11457     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11458     *COFF*)
   11459       DUMPBIN="$DUMPBIN -symbols -headers"
   11460       ;;
   11461     *)
   11462       DUMPBIN=:
   11463       ;;
   11464     esac
   11465   fi
   11466 
   11467   if test : != "$DUMPBIN"; then
   11468     NM=$DUMPBIN
   11469   fi
   11470 fi
   11471 test -z "$NM" && NM=nm
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11479 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11480 if ${lt_cv_nm_interface+:} false; then :
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483   lt_cv_nm_interface="BSD nm"
   11484   echo "int some_variable = 0;" > conftest.$ac_ext
   11485   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11486   (eval "$ac_compile" 2>conftest.err)
   11487   cat conftest.err >&5
   11488   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11489   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11490   cat conftest.err >&5
   11491   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11492   cat conftest.out >&5
   11493   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11494     lt_cv_nm_interface="MS dumpbin"
   11495   fi
   11496   rm -f conftest*
   11497 fi
   11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11499 $as_echo "$lt_cv_nm_interface" >&6; }
   11500 
   11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11502 $as_echo_n "checking whether ln -s works... " >&6; }
   11503 LN_S=$as_ln_s
   11504 if test "$LN_S" = "ln -s"; then
   11505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11506 $as_echo "yes" >&6; }
   11507 else
   11508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11509 $as_echo "no, using $LN_S" >&6; }
   11510 fi
   11511 
   11512 # find the maximum length of command line arguments
   11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11514 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11515 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11516   $as_echo_n "(cached) " >&6
   11517 else
   11518     i=0
   11519   teststring=ABCD
   11520 
   11521   case $build_os in
   11522   msdosdjgpp*)
   11523     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11524     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11525     # during glob expansion).  Even if it were fixed, the result of this
   11526     # check would be larger than it should be.
   11527     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11528     ;;
   11529 
   11530   gnu*)
   11531     # Under GNU Hurd, this test is not required because there is
   11532     # no limit to the length of command line arguments.
   11533     # Libtool will interpret -1 as no limit whatsoever
   11534     lt_cv_sys_max_cmd_len=-1;
   11535     ;;
   11536 
   11537   cygwin* | mingw* | cegcc*)
   11538     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11539     # about 5 minutes as the teststring grows exponentially.
   11540     # Worse, since 9x/ME are not pre-emptively multitasking,
   11541     # you end up with a "frozen" computer, even though with patience
   11542     # the test eventually succeeds (with a max line length of 256k).
   11543     # Instead, let's just punt: use the minimum linelength reported by
   11544     # all of the supported platforms: 8192 (on NT/2K/XP).
   11545     lt_cv_sys_max_cmd_len=8192;
   11546     ;;
   11547 
   11548   mint*)
   11549     # On MiNT this can take a long time and run out of memory.
   11550     lt_cv_sys_max_cmd_len=8192;
   11551     ;;
   11552 
   11553   amigaos*)
   11554     # On AmigaOS with pdksh, this test takes hours, literally.
   11555     # So we just punt and use a minimum line length of 8192.
   11556     lt_cv_sys_max_cmd_len=8192;
   11557     ;;
   11558 
   11559   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11560     # This has been around since 386BSD, at least.  Likely further.
   11561     if test -x /sbin/sysctl; then
   11562       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11563     elif test -x /usr/sbin/sysctl; then
   11564       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11565     else
   11566       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11567     fi
   11568     # And add a safety zone
   11569     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11570     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11571     ;;
   11572 
   11573   interix*)
   11574     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11575     lt_cv_sys_max_cmd_len=196608
   11576     ;;
   11577 
   11578   os2*)
   11579     # The test takes a long time on OS/2.
   11580     lt_cv_sys_max_cmd_len=8192
   11581     ;;
   11582 
   11583   osf*)
   11584     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11585     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11586     # nice to cause kernel panics so lets avoid the loop below.
   11587     # First set a reasonable default.
   11588     lt_cv_sys_max_cmd_len=16384
   11589     #
   11590     if test -x /sbin/sysconfig; then
   11591       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11592         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11593       esac
   11594     fi
   11595     ;;
   11596   sco3.2v5*)
   11597     lt_cv_sys_max_cmd_len=102400
   11598     ;;
   11599   sysv5* | sco5v6* | sysv4.2uw2*)
   11600     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11601     if test -n "$kargmax"; then
   11602       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11603     else
   11604       lt_cv_sys_max_cmd_len=32768
   11605     fi
   11606     ;;
   11607   *)
   11608     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11609     if test -n "$lt_cv_sys_max_cmd_len" && \
   11610        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11611       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11612       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11613     else
   11614       # Make teststring a little bigger before we do anything with it.
   11615       # a 1K string should be a reasonable start.
   11616       for i in 1 2 3 4 5 6 7 8; do
   11617         teststring=$teststring$teststring
   11618       done
   11619       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11620       # If test is not a shell built-in, we'll probably end up computing a
   11621       # maximum length that is only half of the actual maximum length, but
   11622       # we can't tell.
   11623       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11624 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11625 	      test 17 != "$i" # 1/2 MB should be enough
   11626       do
   11627         i=`expr $i + 1`
   11628         teststring=$teststring$teststring
   11629       done
   11630       # Only check the string length outside the loop.
   11631       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11632       teststring=
   11633       # Add a significant safety factor because C++ compilers can tack on
   11634       # massive amounts of additional arguments before passing them to the
   11635       # linker.  It appears as though 1/2 is a usable value.
   11636       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11637     fi
   11638     ;;
   11639   esac
   11640 
   11641 fi
   11642 
   11643 if test -n "$lt_cv_sys_max_cmd_len"; then
   11644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11645 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11646 else
   11647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11648 $as_echo "none" >&6; }
   11649 fi
   11650 max_cmd_len=$lt_cv_sys_max_cmd_len
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 : ${CP="cp -f"}
   11658 : ${MV="mv -f"}
   11659 : ${RM="rm -f"}
   11660 
   11661 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11662   lt_unset=unset
   11663 else
   11664   lt_unset=false
   11665 fi
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 # test EBCDIC or ASCII
   11672 case `echo X|tr X '\101'` in
   11673  A) # ASCII based system
   11674     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11675   lt_SP2NL='tr \040 \012'
   11676   lt_NL2SP='tr \015\012 \040\040'
   11677   ;;
   11678  *) # EBCDIC based system
   11679   lt_SP2NL='tr \100 \n'
   11680   lt_NL2SP='tr \r\n \100\100'
   11681   ;;
   11682 esac
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11693 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11694 if ${lt_cv_to_host_file_cmd+:} false; then :
   11695   $as_echo_n "(cached) " >&6
   11696 else
   11697   case $host in
   11698   *-*-mingw* )
   11699     case $build in
   11700       *-*-mingw* ) # actually msys
   11701         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11702         ;;
   11703       *-*-cygwin* )
   11704         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11705         ;;
   11706       * ) # otherwise, assume *nix
   11707         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11708         ;;
   11709     esac
   11710     ;;
   11711   *-*-cygwin* )
   11712     case $build in
   11713       *-*-mingw* ) # actually msys
   11714         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11715         ;;
   11716       *-*-cygwin* )
   11717         lt_cv_to_host_file_cmd=func_convert_file_noop
   11718         ;;
   11719       * ) # otherwise, assume *nix
   11720         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11721         ;;
   11722     esac
   11723     ;;
   11724   * ) # unhandled hosts (and "normal" native builds)
   11725     lt_cv_to_host_file_cmd=func_convert_file_noop
   11726     ;;
   11727 esac
   11728 
   11729 fi
   11730 
   11731 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11733 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11740 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11741 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11742   $as_echo_n "(cached) " >&6
   11743 else
   11744   #assume ordinary cross tools, or native build.
   11745 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11746 case $host in
   11747   *-*-mingw* )
   11748     case $build in
   11749       *-*-mingw* ) # actually msys
   11750         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11751         ;;
   11752     esac
   11753     ;;
   11754 esac
   11755 
   11756 fi
   11757 
   11758 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11760 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11767 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11768 if ${lt_cv_ld_reload_flag+:} false; then :
   11769   $as_echo_n "(cached) " >&6
   11770 else
   11771   lt_cv_ld_reload_flag='-r'
   11772 fi
   11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11774 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11775 reload_flag=$lt_cv_ld_reload_flag
   11776 case $reload_flag in
   11777 "" | " "*) ;;
   11778 *) reload_flag=" $reload_flag" ;;
   11779 esac
   11780 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11781 case $host_os in
   11782   cygwin* | mingw* | pw32* | cegcc*)
   11783     if test yes != "$GCC"; then
   11784       reload_cmds=false
   11785     fi
   11786     ;;
   11787   darwin*)
   11788     if test yes = "$GCC"; then
   11789       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11790     else
   11791       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11792     fi
   11793     ;;
   11794 esac
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 if test -n "$ac_tool_prefix"; then
   11805   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11806 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11808 $as_echo_n "checking for $ac_word... " >&6; }
   11809 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11810   $as_echo_n "(cached) " >&6
   11811 else
   11812   if test -n "$OBJDUMP"; then
   11813   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11814 else
   11815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11816 for as_dir in $PATH
   11817 do
   11818   IFS=$as_save_IFS
   11819   test -z "$as_dir" && as_dir=.
   11820     for ac_exec_ext in '' $ac_executable_extensions; do
   11821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11822     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11824     break 2
   11825   fi
   11826 done
   11827   done
   11828 IFS=$as_save_IFS
   11829 
   11830 fi
   11831 fi
   11832 OBJDUMP=$ac_cv_prog_OBJDUMP
   11833 if test -n "$OBJDUMP"; then
   11834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11835 $as_echo "$OBJDUMP" >&6; }
   11836 else
   11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11838 $as_echo "no" >&6; }
   11839 fi
   11840 
   11841 
   11842 fi
   11843 if test -z "$ac_cv_prog_OBJDUMP"; then
   11844   ac_ct_OBJDUMP=$OBJDUMP
   11845   # Extract the first word of "objdump", so it can be a program name with args.
   11846 set dummy objdump; ac_word=$2
   11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11848 $as_echo_n "checking for $ac_word... " >&6; }
   11849 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11850   $as_echo_n "(cached) " >&6
   11851 else
   11852   if test -n "$ac_ct_OBJDUMP"; then
   11853   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11854 else
   11855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11856 for as_dir in $PATH
   11857 do
   11858   IFS=$as_save_IFS
   11859   test -z "$as_dir" && as_dir=.
   11860     for ac_exec_ext in '' $ac_executable_extensions; do
   11861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11862     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11864     break 2
   11865   fi
   11866 done
   11867   done
   11868 IFS=$as_save_IFS
   11869 
   11870 fi
   11871 fi
   11872 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11873 if test -n "$ac_ct_OBJDUMP"; then
   11874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11875 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11876 else
   11877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11878 $as_echo "no" >&6; }
   11879 fi
   11880 
   11881   if test "x$ac_ct_OBJDUMP" = x; then
   11882     OBJDUMP="false"
   11883   else
   11884     case $cross_compiling:$ac_tool_warned in
   11885 yes:)
   11886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11888 ac_tool_warned=yes ;;
   11889 esac
   11890     OBJDUMP=$ac_ct_OBJDUMP
   11891   fi
   11892 else
   11893   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11894 fi
   11895 
   11896 test -z "$OBJDUMP" && OBJDUMP=objdump
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11907 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11908 if ${lt_cv_deplibs_check_method+:} false; then :
   11909   $as_echo_n "(cached) " >&6
   11910 else
   11911   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11912 lt_cv_file_magic_test_file=
   11913 lt_cv_deplibs_check_method='unknown'
   11914 # Need to set the preceding variable on all platforms that support
   11915 # interlibrary dependencies.
   11916 # 'none' -- dependencies not supported.
   11917 # 'unknown' -- same as none, but documents that we really don't know.
   11918 # 'pass_all' -- all dependencies passed with no checks.
   11919 # 'test_compile' -- check by making test program.
   11920 # 'file_magic [[regex]]' -- check by looking for files in library path
   11921 # that responds to the $file_magic_cmd with a given extended regex.
   11922 # If you have 'file' or equivalent on your system and you're not sure
   11923 # whether 'pass_all' will *always* work, you probably want this one.
   11924 
   11925 case $host_os in
   11926 aix[4-9]*)
   11927   lt_cv_deplibs_check_method=pass_all
   11928   ;;
   11929 
   11930 beos*)
   11931   lt_cv_deplibs_check_method=pass_all
   11932   ;;
   11933 
   11934 bsdi[45]*)
   11935   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11936   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11937   lt_cv_file_magic_test_file=/shlib/libc.so
   11938   ;;
   11939 
   11940 cygwin*)
   11941   # func_win32_libid is a shell function defined in ltmain.sh
   11942   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11943   lt_cv_file_magic_cmd='func_win32_libid'
   11944   ;;
   11945 
   11946 mingw* | pw32*)
   11947   # Base MSYS/MinGW do not provide the 'file' command needed by
   11948   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11949   # unless we find 'file', for example because we are cross-compiling.
   11950   if ( file / ) >/dev/null 2>&1; then
   11951     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11952     lt_cv_file_magic_cmd='func_win32_libid'
   11953   else
   11954     # Keep this pattern in sync with the one in func_win32_libid.
   11955     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11956     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11957   fi
   11958   ;;
   11959 
   11960 cegcc*)
   11961   # use the weaker test based on 'objdump'. See mingw*.
   11962   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11963   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11964   ;;
   11965 
   11966 darwin* | rhapsody*)
   11967   lt_cv_deplibs_check_method=pass_all
   11968   ;;
   11969 
   11970 freebsd* | dragonfly*)
   11971   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11972     case $host_cpu in
   11973     i*86 )
   11974       # Not sure whether the presence of OpenBSD here was a mistake.
   11975       # Let's accept both of them until this is cleared up.
   11976       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11977       lt_cv_file_magic_cmd=/usr/bin/file
   11978       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11979       ;;
   11980     esac
   11981   else
   11982     lt_cv_deplibs_check_method=pass_all
   11983   fi
   11984   ;;
   11985 
   11986 haiku*)
   11987   lt_cv_deplibs_check_method=pass_all
   11988   ;;
   11989 
   11990 hpux10.20* | hpux11*)
   11991   lt_cv_file_magic_cmd=/usr/bin/file
   11992   case $host_cpu in
   11993   ia64*)
   11994     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11995     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11996     ;;
   11997   hppa*64*)
   11998     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]'
   11999     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12000     ;;
   12001   *)
   12002     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12003     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12004     ;;
   12005   esac
   12006   ;;
   12007 
   12008 interix[3-9]*)
   12009   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12010   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12011   ;;
   12012 
   12013 irix5* | irix6* | nonstopux*)
   12014   case $LD in
   12015   *-32|*"-32 ") libmagic=32-bit;;
   12016   *-n32|*"-n32 ") libmagic=N32;;
   12017   *-64|*"-64 ") libmagic=64-bit;;
   12018   *) libmagic=never-match;;
   12019   esac
   12020   lt_cv_deplibs_check_method=pass_all
   12021   ;;
   12022 
   12023 # This must be glibc/ELF.
   12024 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12025   lt_cv_deplibs_check_method=pass_all
   12026   ;;
   12027 
   12028 netbsd*)
   12029   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12031   else
   12032     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12033   fi
   12034   ;;
   12035 
   12036 newos6*)
   12037   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12038   lt_cv_file_magic_cmd=/usr/bin/file
   12039   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12040   ;;
   12041 
   12042 *nto* | *qnx*)
   12043   lt_cv_deplibs_check_method=pass_all
   12044   ;;
   12045 
   12046 openbsd* | bitrig*)
   12047   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12048     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12049   else
   12050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12051   fi
   12052   ;;
   12053 
   12054 osf3* | osf4* | osf5*)
   12055   lt_cv_deplibs_check_method=pass_all
   12056   ;;
   12057 
   12058 rdos*)
   12059   lt_cv_deplibs_check_method=pass_all
   12060   ;;
   12061 
   12062 solaris*)
   12063   lt_cv_deplibs_check_method=pass_all
   12064   ;;
   12065 
   12066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12067   lt_cv_deplibs_check_method=pass_all
   12068   ;;
   12069 
   12070 sysv4 | sysv4.3*)
   12071   case $host_vendor in
   12072   motorola)
   12073     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]'
   12074     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12075     ;;
   12076   ncr)
   12077     lt_cv_deplibs_check_method=pass_all
   12078     ;;
   12079   sequent)
   12080     lt_cv_file_magic_cmd='/bin/file'
   12081     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12082     ;;
   12083   sni)
   12084     lt_cv_file_magic_cmd='/bin/file'
   12085     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12086     lt_cv_file_magic_test_file=/lib/libc.so
   12087     ;;
   12088   siemens)
   12089     lt_cv_deplibs_check_method=pass_all
   12090     ;;
   12091   pc)
   12092     lt_cv_deplibs_check_method=pass_all
   12093     ;;
   12094   esac
   12095   ;;
   12096 
   12097 tpf*)
   12098   lt_cv_deplibs_check_method=pass_all
   12099   ;;
   12100 os2*)
   12101   lt_cv_deplibs_check_method=pass_all
   12102   ;;
   12103 esac
   12104 
   12105 fi
   12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12107 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12108 
   12109 file_magic_glob=
   12110 want_nocaseglob=no
   12111 if test "$build" = "$host"; then
   12112   case $host_os in
   12113   mingw* | pw32*)
   12114     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12115       want_nocaseglob=yes
   12116     else
   12117       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12118     fi
   12119     ;;
   12120   esac
   12121 fi
   12122 
   12123 file_magic_cmd=$lt_cv_file_magic_cmd
   12124 deplibs_check_method=$lt_cv_deplibs_check_method
   12125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 if test -n "$ac_tool_prefix"; then
   12149   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12150 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12152 $as_echo_n "checking for $ac_word... " >&6; }
   12153 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12154   $as_echo_n "(cached) " >&6
   12155 else
   12156   if test -n "$DLLTOOL"; then
   12157   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12158 else
   12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12160 for as_dir in $PATH
   12161 do
   12162   IFS=$as_save_IFS
   12163   test -z "$as_dir" && as_dir=.
   12164     for ac_exec_ext in '' $ac_executable_extensions; do
   12165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12166     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12168     break 2
   12169   fi
   12170 done
   12171   done
   12172 IFS=$as_save_IFS
   12173 
   12174 fi
   12175 fi
   12176 DLLTOOL=$ac_cv_prog_DLLTOOL
   12177 if test -n "$DLLTOOL"; then
   12178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12179 $as_echo "$DLLTOOL" >&6; }
   12180 else
   12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12182 $as_echo "no" >&6; }
   12183 fi
   12184 
   12185 
   12186 fi
   12187 if test -z "$ac_cv_prog_DLLTOOL"; then
   12188   ac_ct_DLLTOOL=$DLLTOOL
   12189   # Extract the first word of "dlltool", so it can be a program name with args.
   12190 set dummy dlltool; ac_word=$2
   12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12192 $as_echo_n "checking for $ac_word... " >&6; }
   12193 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12194   $as_echo_n "(cached) " >&6
   12195 else
   12196   if test -n "$ac_ct_DLLTOOL"; then
   12197   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12198 else
   12199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12200 for as_dir in $PATH
   12201 do
   12202   IFS=$as_save_IFS
   12203   test -z "$as_dir" && as_dir=.
   12204     for ac_exec_ext in '' $ac_executable_extensions; do
   12205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12206     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12208     break 2
   12209   fi
   12210 done
   12211   done
   12212 IFS=$as_save_IFS
   12213 
   12214 fi
   12215 fi
   12216 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12217 if test -n "$ac_ct_DLLTOOL"; then
   12218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12219 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12220 else
   12221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12222 $as_echo "no" >&6; }
   12223 fi
   12224 
   12225   if test "x$ac_ct_DLLTOOL" = x; then
   12226     DLLTOOL="false"
   12227   else
   12228     case $cross_compiling:$ac_tool_warned in
   12229 yes:)
   12230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12232 ac_tool_warned=yes ;;
   12233 esac
   12234     DLLTOOL=$ac_ct_DLLTOOL
   12235   fi
   12236 else
   12237   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12238 fi
   12239 
   12240 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12252 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12253 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12254   $as_echo_n "(cached) " >&6
   12255 else
   12256   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12257 
   12258 case $host_os in
   12259 cygwin* | mingw* | pw32* | cegcc*)
   12260   # two different shell functions defined in ltmain.sh;
   12261   # decide which one to use based on capabilities of $DLLTOOL
   12262   case `$DLLTOOL --help 2>&1` in
   12263   *--identify-strict*)
   12264     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12265     ;;
   12266   *)
   12267     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12268     ;;
   12269   esac
   12270   ;;
   12271 *)
   12272   # fallback: assume linklib IS sharedlib
   12273   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12274   ;;
   12275 esac
   12276 
   12277 fi
   12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12279 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12280 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12281 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 if test -n "$ac_tool_prefix"; then
   12290   for ac_prog in ar
   12291   do
   12292     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12293 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12295 $as_echo_n "checking for $ac_word... " >&6; }
   12296 if ${ac_cv_prog_AR+:} false; then :
   12297   $as_echo_n "(cached) " >&6
   12298 else
   12299   if test -n "$AR"; then
   12300   ac_cv_prog_AR="$AR" # Let the user override the test.
   12301 else
   12302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12303 for as_dir in $PATH
   12304 do
   12305   IFS=$as_save_IFS
   12306   test -z "$as_dir" && as_dir=.
   12307     for ac_exec_ext in '' $ac_executable_extensions; do
   12308   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12309     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12311     break 2
   12312   fi
   12313 done
   12314   done
   12315 IFS=$as_save_IFS
   12316 
   12317 fi
   12318 fi
   12319 AR=$ac_cv_prog_AR
   12320 if test -n "$AR"; then
   12321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12322 $as_echo "$AR" >&6; }
   12323 else
   12324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12325 $as_echo "no" >&6; }
   12326 fi
   12327 
   12328 
   12329     test -n "$AR" && break
   12330   done
   12331 fi
   12332 if test -z "$AR"; then
   12333   ac_ct_AR=$AR
   12334   for ac_prog in ar
   12335 do
   12336   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12337 set dummy $ac_prog; ac_word=$2
   12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12339 $as_echo_n "checking for $ac_word... " >&6; }
   12340 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12341   $as_echo_n "(cached) " >&6
   12342 else
   12343   if test -n "$ac_ct_AR"; then
   12344   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12345 else
   12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12347 for as_dir in $PATH
   12348 do
   12349   IFS=$as_save_IFS
   12350   test -z "$as_dir" && as_dir=.
   12351     for ac_exec_ext in '' $ac_executable_extensions; do
   12352   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12353     ac_cv_prog_ac_ct_AR="$ac_prog"
   12354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12355     break 2
   12356   fi
   12357 done
   12358   done
   12359 IFS=$as_save_IFS
   12360 
   12361 fi
   12362 fi
   12363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12364 if test -n "$ac_ct_AR"; then
   12365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12366 $as_echo "$ac_ct_AR" >&6; }
   12367 else
   12368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12369 $as_echo "no" >&6; }
   12370 fi
   12371 
   12372 
   12373   test -n "$ac_ct_AR" && break
   12374 done
   12375 
   12376   if test "x$ac_ct_AR" = x; then
   12377     AR="false"
   12378   else
   12379     case $cross_compiling:$ac_tool_warned in
   12380 yes:)
   12381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12383 ac_tool_warned=yes ;;
   12384 esac
   12385     AR=$ac_ct_AR
   12386   fi
   12387 fi
   12388 
   12389 : ${AR=ar}
   12390 : ${AR_FLAGS=cru}
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12403 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12404 if ${lt_cv_ar_at_file+:} false; then :
   12405   $as_echo_n "(cached) " >&6
   12406 else
   12407   lt_cv_ar_at_file=no
   12408    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12409 /* end confdefs.h.  */
   12410 
   12411 int
   12412 main ()
   12413 {
   12414 
   12415   ;
   12416   return 0;
   12417 }
   12418 _ACEOF
   12419 if ac_fn_c_try_compile "$LINENO"; then :
   12420   echo conftest.$ac_objext > conftest.lst
   12421       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12422       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12423   (eval $lt_ar_try) 2>&5
   12424   ac_status=$?
   12425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12426   test $ac_status = 0; }
   12427       if test 0 -eq "$ac_status"; then
   12428 	# Ensure the archiver fails upon bogus file names.
   12429 	rm -f conftest.$ac_objext libconftest.a
   12430 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12431   (eval $lt_ar_try) 2>&5
   12432   ac_status=$?
   12433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12434   test $ac_status = 0; }
   12435 	if test 0 -ne "$ac_status"; then
   12436           lt_cv_ar_at_file=@
   12437         fi
   12438       fi
   12439       rm -f conftest.* libconftest.a
   12440 
   12441 fi
   12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12443 
   12444 fi
   12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12446 $as_echo "$lt_cv_ar_at_file" >&6; }
   12447 
   12448 if test no = "$lt_cv_ar_at_file"; then
   12449   archiver_list_spec=
   12450 else
   12451   archiver_list_spec=$lt_cv_ar_at_file
   12452 fi
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 if test -n "$ac_tool_prefix"; then
   12461   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12462 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12464 $as_echo_n "checking for $ac_word... " >&6; }
   12465 if ${ac_cv_prog_STRIP+:} false; then :
   12466   $as_echo_n "(cached) " >&6
   12467 else
   12468   if test -n "$STRIP"; then
   12469   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12470 else
   12471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12472 for as_dir in $PATH
   12473 do
   12474   IFS=$as_save_IFS
   12475   test -z "$as_dir" && as_dir=.
   12476     for ac_exec_ext in '' $ac_executable_extensions; do
   12477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12478     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12480     break 2
   12481   fi
   12482 done
   12483   done
   12484 IFS=$as_save_IFS
   12485 
   12486 fi
   12487 fi
   12488 STRIP=$ac_cv_prog_STRIP
   12489 if test -n "$STRIP"; then
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12491 $as_echo "$STRIP" >&6; }
   12492 else
   12493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12494 $as_echo "no" >&6; }
   12495 fi
   12496 
   12497 
   12498 fi
   12499 if test -z "$ac_cv_prog_STRIP"; then
   12500   ac_ct_STRIP=$STRIP
   12501   # Extract the first word of "strip", so it can be a program name with args.
   12502 set dummy strip; ac_word=$2
   12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12504 $as_echo_n "checking for $ac_word... " >&6; }
   12505 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12506   $as_echo_n "(cached) " >&6
   12507 else
   12508   if test -n "$ac_ct_STRIP"; then
   12509   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12510 else
   12511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12512 for as_dir in $PATH
   12513 do
   12514   IFS=$as_save_IFS
   12515   test -z "$as_dir" && as_dir=.
   12516     for ac_exec_ext in '' $ac_executable_extensions; do
   12517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12518     ac_cv_prog_ac_ct_STRIP="strip"
   12519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12520     break 2
   12521   fi
   12522 done
   12523   done
   12524 IFS=$as_save_IFS
   12525 
   12526 fi
   12527 fi
   12528 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12529 if test -n "$ac_ct_STRIP"; then
   12530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12531 $as_echo "$ac_ct_STRIP" >&6; }
   12532 else
   12533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12534 $as_echo "no" >&6; }
   12535 fi
   12536 
   12537   if test "x$ac_ct_STRIP" = x; then
   12538     STRIP=":"
   12539   else
   12540     case $cross_compiling:$ac_tool_warned in
   12541 yes:)
   12542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12544 ac_tool_warned=yes ;;
   12545 esac
   12546     STRIP=$ac_ct_STRIP
   12547   fi
   12548 else
   12549   STRIP="$ac_cv_prog_STRIP"
   12550 fi
   12551 
   12552 test -z "$STRIP" && STRIP=:
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 if test -n "$ac_tool_prefix"; then
   12560   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12561 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12563 $as_echo_n "checking for $ac_word... " >&6; }
   12564 if ${ac_cv_prog_RANLIB+:} false; then :
   12565   $as_echo_n "(cached) " >&6
   12566 else
   12567   if test -n "$RANLIB"; then
   12568   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12569 else
   12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12571 for as_dir in $PATH
   12572 do
   12573   IFS=$as_save_IFS
   12574   test -z "$as_dir" && as_dir=.
   12575     for ac_exec_ext in '' $ac_executable_extensions; do
   12576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12577     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12579     break 2
   12580   fi
   12581 done
   12582   done
   12583 IFS=$as_save_IFS
   12584 
   12585 fi
   12586 fi
   12587 RANLIB=$ac_cv_prog_RANLIB
   12588 if test -n "$RANLIB"; then
   12589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12590 $as_echo "$RANLIB" >&6; }
   12591 else
   12592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12593 $as_echo "no" >&6; }
   12594 fi
   12595 
   12596 
   12597 fi
   12598 if test -z "$ac_cv_prog_RANLIB"; then
   12599   ac_ct_RANLIB=$RANLIB
   12600   # Extract the first word of "ranlib", so it can be a program name with args.
   12601 set dummy ranlib; ac_word=$2
   12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12603 $as_echo_n "checking for $ac_word... " >&6; }
   12604 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12605   $as_echo_n "(cached) " >&6
   12606 else
   12607   if test -n "$ac_ct_RANLIB"; then
   12608   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12609 else
   12610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12611 for as_dir in $PATH
   12612 do
   12613   IFS=$as_save_IFS
   12614   test -z "$as_dir" && as_dir=.
   12615     for ac_exec_ext in '' $ac_executable_extensions; do
   12616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12617     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12619     break 2
   12620   fi
   12621 done
   12622   done
   12623 IFS=$as_save_IFS
   12624 
   12625 fi
   12626 fi
   12627 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12628 if test -n "$ac_ct_RANLIB"; then
   12629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12630 $as_echo "$ac_ct_RANLIB" >&6; }
   12631 else
   12632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12633 $as_echo "no" >&6; }
   12634 fi
   12635 
   12636   if test "x$ac_ct_RANLIB" = x; then
   12637     RANLIB=":"
   12638   else
   12639     case $cross_compiling:$ac_tool_warned in
   12640 yes:)
   12641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12643 ac_tool_warned=yes ;;
   12644 esac
   12645     RANLIB=$ac_ct_RANLIB
   12646   fi
   12647 else
   12648   RANLIB="$ac_cv_prog_RANLIB"
   12649 fi
   12650 
   12651 test -z "$RANLIB" && RANLIB=:
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 # Determine commands to create old-style static archives.
   12659 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12660 old_postinstall_cmds='chmod 644 $oldlib'
   12661 old_postuninstall_cmds=
   12662 
   12663 if test -n "$RANLIB"; then
   12664   case $host_os in
   12665   bitrig* | openbsd*)
   12666     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12667     ;;
   12668   *)
   12669     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12670     ;;
   12671   esac
   12672   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12673 fi
   12674 
   12675 case $host_os in
   12676   darwin*)
   12677     lock_old_archive_extraction=yes ;;
   12678   *)
   12679     lock_old_archive_extraction=no ;;
   12680 esac
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 # If no C compiler was specified, use CC.
   12721 LTCC=${LTCC-"$CC"}
   12722 
   12723 # If no C compiler flags were specified, use CFLAGS.
   12724 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12725 
   12726 # Allow CC to be a program name with arguments.
   12727 compiler=$CC
   12728 
   12729 
   12730 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12732 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12733 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12734   $as_echo_n "(cached) " >&6
   12735 else
   12736 
   12737 # These are sane defaults that work on at least a few old systems.
   12738 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12739 
   12740 # Character class describing NM global symbol codes.
   12741 symcode='[BCDEGRST]'
   12742 
   12743 # Regexp to match symbols that can be accessed directly from C.
   12744 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12745 
   12746 # Define system-specific variables.
   12747 case $host_os in
   12748 aix*)
   12749   symcode='[BCDT]'
   12750   ;;
   12751 cygwin* | mingw* | pw32* | cegcc*)
   12752   symcode='[ABCDGISTW]'
   12753   ;;
   12754 hpux*)
   12755   if test ia64 = "$host_cpu"; then
   12756     symcode='[ABCDEGRST]'
   12757   fi
   12758   ;;
   12759 irix* | nonstopux*)
   12760   symcode='[BCDEGRST]'
   12761   ;;
   12762 osf*)
   12763   symcode='[BCDEGQRST]'
   12764   ;;
   12765 solaris*)
   12766   symcode='[BDRT]'
   12767   ;;
   12768 sco3.2v5*)
   12769   symcode='[DT]'
   12770   ;;
   12771 sysv4.2uw2*)
   12772   symcode='[DT]'
   12773   ;;
   12774 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12775   symcode='[ABDT]'
   12776   ;;
   12777 sysv4)
   12778   symcode='[DFNSTU]'
   12779   ;;
   12780 esac
   12781 
   12782 # If we're using GNU nm, then use its standard symbol codes.
   12783 case `$NM -V 2>&1` in
   12784 *GNU* | *'with BFD'*)
   12785   symcode='[ABCDGIRSTW]' ;;
   12786 esac
   12787 
   12788 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12789   # Gets list of data symbols to import.
   12790   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12791   # Adjust the below global symbol transforms to fixup imported variables.
   12792   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12793   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12794   lt_c_name_lib_hook="\
   12795   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12796   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12797 else
   12798   # Disable hooks by default.
   12799   lt_cv_sys_global_symbol_to_import=
   12800   lt_cdecl_hook=
   12801   lt_c_name_hook=
   12802   lt_c_name_lib_hook=
   12803 fi
   12804 
   12805 # Transform an extracted symbol line into a proper C declaration.
   12806 # Some systems (esp. on ia64) link data and code symbols differently,
   12807 # so use this general approach.
   12808 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12809 $lt_cdecl_hook\
   12810 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12811 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12812 
   12813 # Transform an extracted symbol line into symbol name and symbol address
   12814 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12815 $lt_c_name_hook\
   12816 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12817 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12818 
   12819 # Transform an extracted symbol line into symbol name with lib prefix and
   12820 # symbol address.
   12821 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12822 $lt_c_name_lib_hook\
   12823 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12824 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12825 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12826 
   12827 # Handle CRLF in mingw tool chain
   12828 opt_cr=
   12829 case $build_os in
   12830 mingw*)
   12831   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12832   ;;
   12833 esac
   12834 
   12835 # Try without a prefix underscore, then with it.
   12836 for ac_symprfx in "" "_"; do
   12837 
   12838   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12839   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12840 
   12841   # Write the raw and C identifiers.
   12842   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12843     # Fake it for dumpbin and say T for any non-static function,
   12844     # D for any global variable and I for any imported variable.
   12845     # Also find C++ and __fastcall symbols from MSVC++,
   12846     # which start with @ or ?.
   12847     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12848 "     {last_section=section; section=\$ 3};"\
   12849 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12850 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12851 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12852 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12853 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12854 "     \$ 0!~/External *\|/{next};"\
   12855 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12856 "     {if(hide[section]) next};"\
   12857 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12858 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12859 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12860 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12861 "     ' prfx=^$ac_symprfx"
   12862   else
   12863     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12864   fi
   12865   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12866 
   12867   # Check to see that the pipe works correctly.
   12868   pipe_works=no
   12869 
   12870   rm -f conftest*
   12871   cat > conftest.$ac_ext <<_LT_EOF
   12872 #ifdef __cplusplus
   12873 extern "C" {
   12874 #endif
   12875 char nm_test_var;
   12876 void nm_test_func(void);
   12877 void nm_test_func(void){}
   12878 #ifdef __cplusplus
   12879 }
   12880 #endif
   12881 int main(){nm_test_var='a';nm_test_func();return(0);}
   12882 _LT_EOF
   12883 
   12884   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12885   (eval $ac_compile) 2>&5
   12886   ac_status=$?
   12887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12888   test $ac_status = 0; }; then
   12889     # Now try to grab the symbols.
   12890     nlist=conftest.nm
   12891     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12892   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12893   ac_status=$?
   12894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12895   test $ac_status = 0; } && test -s "$nlist"; then
   12896       # Try sorting and uniquifying the output.
   12897       if sort "$nlist" | uniq > "$nlist"T; then
   12898 	mv -f "$nlist"T "$nlist"
   12899       else
   12900 	rm -f "$nlist"T
   12901       fi
   12902 
   12903       # Make sure that we snagged all the symbols we need.
   12904       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12905 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12906 	  cat <<_LT_EOF > conftest.$ac_ext
   12907 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12908 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12909 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12910    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12911 # define LT_DLSYM_CONST
   12912 #elif defined __osf__
   12913 /* This system does not cope well with relocations in const data.  */
   12914 # define LT_DLSYM_CONST
   12915 #else
   12916 # define LT_DLSYM_CONST const
   12917 #endif
   12918 
   12919 #ifdef __cplusplus
   12920 extern "C" {
   12921 #endif
   12922 
   12923 _LT_EOF
   12924 	  # Now generate the symbol file.
   12925 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12926 
   12927 	  cat <<_LT_EOF >> conftest.$ac_ext
   12928 
   12929 /* The mapping between symbol names and symbols.  */
   12930 LT_DLSYM_CONST struct {
   12931   const char *name;
   12932   void       *address;
   12933 }
   12934 lt__PROGRAM__LTX_preloaded_symbols[] =
   12935 {
   12936   { "@PROGRAM@", (void *) 0 },
   12937 _LT_EOF
   12938 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12939 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12940   {0, (void *) 0}
   12941 };
   12942 
   12943 /* This works around a problem in FreeBSD linker */
   12944 #ifdef FREEBSD_WORKAROUND
   12945 static const void *lt_preloaded_setup() {
   12946   return lt__PROGRAM__LTX_preloaded_symbols;
   12947 }
   12948 #endif
   12949 
   12950 #ifdef __cplusplus
   12951 }
   12952 #endif
   12953 _LT_EOF
   12954 	  # Now try linking the two files.
   12955 	  mv conftest.$ac_objext conftstm.$ac_objext
   12956 	  lt_globsym_save_LIBS=$LIBS
   12957 	  lt_globsym_save_CFLAGS=$CFLAGS
   12958 	  LIBS=conftstm.$ac_objext
   12959 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12960 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12961   (eval $ac_link) 2>&5
   12962   ac_status=$?
   12963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12964   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12965 	    pipe_works=yes
   12966 	  fi
   12967 	  LIBS=$lt_globsym_save_LIBS
   12968 	  CFLAGS=$lt_globsym_save_CFLAGS
   12969 	else
   12970 	  echo "cannot find nm_test_func in $nlist" >&5
   12971 	fi
   12972       else
   12973 	echo "cannot find nm_test_var in $nlist" >&5
   12974       fi
   12975     else
   12976       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12977     fi
   12978   else
   12979     echo "$progname: failed program was:" >&5
   12980     cat conftest.$ac_ext >&5
   12981   fi
   12982   rm -rf conftest* conftst*
   12983 
   12984   # Do not use the global_symbol_pipe unless it works.
   12985   if test yes = "$pipe_works"; then
   12986     break
   12987   else
   12988     lt_cv_sys_global_symbol_pipe=
   12989   fi
   12990 done
   12991 
   12992 fi
   12993 
   12994 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12995   lt_cv_sys_global_symbol_to_cdecl=
   12996 fi
   12997 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12999 $as_echo "failed" >&6; }
   13000 else
   13001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13002 $as_echo "ok" >&6; }
   13003 fi
   13004 
   13005 # Response file support.
   13006 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13007   nm_file_list_spec='@'
   13008 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13009   nm_file_list_spec='@'
   13010 fi
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13049 $as_echo_n "checking for sysroot... " >&6; }
   13050 
   13051 # Check whether --with-sysroot was given.
   13052 if test "${with_sysroot+set}" = set; then :
   13053   withval=$with_sysroot;
   13054 else
   13055   with_sysroot=no
   13056 fi
   13057 
   13058 
   13059 lt_sysroot=
   13060 case $with_sysroot in #(
   13061  yes)
   13062    if test yes = "$GCC"; then
   13063      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13064    fi
   13065    ;; #(
   13066  /*)
   13067    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13068    ;; #(
   13069  no|'')
   13070    ;; #(
   13071  *)
   13072    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13073 $as_echo "$with_sysroot" >&6; }
   13074    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13075    ;;
   13076 esac
   13077 
   13078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13079 $as_echo "${lt_sysroot:-no}" >&6; }
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13086 $as_echo_n "checking for a working dd... " >&6; }
   13087 if ${ac_cv_path_lt_DD+:} false; then :
   13088   $as_echo_n "(cached) " >&6
   13089 else
   13090   printf 0123456789abcdef0123456789abcdef >conftest.i
   13091 cat conftest.i conftest.i >conftest2.i
   13092 : ${lt_DD:=$DD}
   13093 if test -z "$lt_DD"; then
   13094   ac_path_lt_DD_found=false
   13095   # Loop through the user's path and test for each of PROGNAME-LIST
   13096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13097 for as_dir in $PATH
   13098 do
   13099   IFS=$as_save_IFS
   13100   test -z "$as_dir" && as_dir=.
   13101     for ac_prog in dd; do
   13102     for ac_exec_ext in '' $ac_executable_extensions; do
   13103       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13104       as_fn_executable_p "$ac_path_lt_DD" || continue
   13105 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13106   cmp -s conftest.i conftest.out \
   13107   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13108 fi
   13109       $ac_path_lt_DD_found && break 3
   13110     done
   13111   done
   13112   done
   13113 IFS=$as_save_IFS
   13114   if test -z "$ac_cv_path_lt_DD"; then
   13115     :
   13116   fi
   13117 else
   13118   ac_cv_path_lt_DD=$lt_DD
   13119 fi
   13120 
   13121 rm -f conftest.i conftest2.i conftest.out
   13122 fi
   13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13124 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13125 
   13126 
   13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13128 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13129 if ${lt_cv_truncate_bin+:} false; then :
   13130   $as_echo_n "(cached) " >&6
   13131 else
   13132   printf 0123456789abcdef0123456789abcdef >conftest.i
   13133 cat conftest.i conftest.i >conftest2.i
   13134 lt_cv_truncate_bin=
   13135 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13136   cmp -s conftest.i conftest.out \
   13137   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13138 fi
   13139 rm -f conftest.i conftest2.i conftest.out
   13140 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13141 fi
   13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13143 $as_echo "$lt_cv_truncate_bin" >&6; }
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13152 func_cc_basename ()
   13153 {
   13154     for cc_temp in $*""; do
   13155       case $cc_temp in
   13156         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13157         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13158         \-*) ;;
   13159         *) break;;
   13160       esac
   13161     done
   13162     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13163 }
   13164 
   13165 # Check whether --enable-libtool-lock was given.
   13166 if test "${enable_libtool_lock+set}" = set; then :
   13167   enableval=$enable_libtool_lock;
   13168 fi
   13169 
   13170 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13171 
   13172 # Some flags need to be propagated to the compiler or linker for good
   13173 # libtool support.
   13174 case $host in
   13175 ia64-*-hpux*)
   13176   # Find out what ABI is being produced by ac_compile, and set mode
   13177   # options accordingly.
   13178   echo 'int i;' > conftest.$ac_ext
   13179   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13180   (eval $ac_compile) 2>&5
   13181   ac_status=$?
   13182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13183   test $ac_status = 0; }; then
   13184     case `/usr/bin/file conftest.$ac_objext` in
   13185       *ELF-32*)
   13186 	HPUX_IA64_MODE=32
   13187 	;;
   13188       *ELF-64*)
   13189 	HPUX_IA64_MODE=64
   13190 	;;
   13191     esac
   13192   fi
   13193   rm -rf conftest*
   13194   ;;
   13195 *-*-irix6*)
   13196   # Find out what ABI is being produced by ac_compile, and set linker
   13197   # options accordingly.
   13198   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13199   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13200   (eval $ac_compile) 2>&5
   13201   ac_status=$?
   13202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13203   test $ac_status = 0; }; then
   13204     if test yes = "$lt_cv_prog_gnu_ld"; then
   13205       case `/usr/bin/file conftest.$ac_objext` in
   13206 	*32-bit*)
   13207 	  LD="${LD-ld} -melf32bsmip"
   13208 	  ;;
   13209 	*N32*)
   13210 	  LD="${LD-ld} -melf32bmipn32"
   13211 	  ;;
   13212 	*64-bit*)
   13213 	  LD="${LD-ld} -melf64bmip"
   13214 	;;
   13215       esac
   13216     else
   13217       case `/usr/bin/file conftest.$ac_objext` in
   13218 	*32-bit*)
   13219 	  LD="${LD-ld} -32"
   13220 	  ;;
   13221 	*N32*)
   13222 	  LD="${LD-ld} -n32"
   13223 	  ;;
   13224 	*64-bit*)
   13225 	  LD="${LD-ld} -64"
   13226 	  ;;
   13227       esac
   13228     fi
   13229   fi
   13230   rm -rf conftest*
   13231   ;;
   13232 
   13233 mips64*-*linux*)
   13234   # Find out what ABI is being produced by ac_compile, and set linker
   13235   # options accordingly.
   13236   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13237   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13238   (eval $ac_compile) 2>&5
   13239   ac_status=$?
   13240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13241   test $ac_status = 0; }; then
   13242     emul=elf
   13243     case `/usr/bin/file conftest.$ac_objext` in
   13244       *32-bit*)
   13245 	emul="${emul}32"
   13246 	;;
   13247       *64-bit*)
   13248 	emul="${emul}64"
   13249 	;;
   13250     esac
   13251     case `/usr/bin/file conftest.$ac_objext` in
   13252       *MSB*)
   13253 	emul="${emul}btsmip"
   13254 	;;
   13255       *LSB*)
   13256 	emul="${emul}ltsmip"
   13257 	;;
   13258     esac
   13259     case `/usr/bin/file conftest.$ac_objext` in
   13260       *N32*)
   13261 	emul="${emul}n32"
   13262 	;;
   13263     esac
   13264     LD="${LD-ld} -m $emul"
   13265   fi
   13266   rm -rf conftest*
   13267   ;;
   13268 
   13269 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13270 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13271   # Find out what ABI is being produced by ac_compile, and set linker
   13272   # options accordingly.  Note that the listed cases only cover the
   13273   # situations where additional linker options are needed (such as when
   13274   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13275   # vice versa); the common cases where no linker options are needed do
   13276   # not appear in the list.
   13277   echo 'int i;' > conftest.$ac_ext
   13278   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13279   (eval $ac_compile) 2>&5
   13280   ac_status=$?
   13281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13282   test $ac_status = 0; }; then
   13283     case `/usr/bin/file conftest.o` in
   13284       *32-bit*)
   13285 	case $host in
   13286 	  x86_64-*kfreebsd*-gnu)
   13287 	    LD="${LD-ld} -m elf_i386_fbsd"
   13288 	    ;;
   13289 	  x86_64-*linux*)
   13290 	    case `/usr/bin/file conftest.o` in
   13291 	      *x86-64*)
   13292 		LD="${LD-ld} -m elf32_x86_64"
   13293 		;;
   13294 	      *)
   13295 		LD="${LD-ld} -m elf_i386"
   13296 		;;
   13297 	    esac
   13298 	    ;;
   13299 	  powerpc64le-*linux*)
   13300 	    LD="${LD-ld} -m elf32lppclinux"
   13301 	    ;;
   13302 	  powerpc64-*linux*)
   13303 	    LD="${LD-ld} -m elf32ppclinux"
   13304 	    ;;
   13305 	  s390x-*linux*)
   13306 	    LD="${LD-ld} -m elf_s390"
   13307 	    ;;
   13308 	  sparc64-*linux*)
   13309 	    LD="${LD-ld} -m elf32_sparc"
   13310 	    ;;
   13311 	esac
   13312 	;;
   13313       *64-bit*)
   13314 	case $host in
   13315 	  x86_64-*kfreebsd*-gnu)
   13316 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13317 	    ;;
   13318 	  x86_64-*linux*)
   13319 	    LD="${LD-ld} -m elf_x86_64"
   13320 	    ;;
   13321 	  powerpcle-*linux*)
   13322 	    LD="${LD-ld} -m elf64lppc"
   13323 	    ;;
   13324 	  powerpc-*linux*)
   13325 	    LD="${LD-ld} -m elf64ppc"
   13326 	    ;;
   13327 	  s390*-*linux*|s390*-*tpf*)
   13328 	    LD="${LD-ld} -m elf64_s390"
   13329 	    ;;
   13330 	  sparc*-*linux*)
   13331 	    LD="${LD-ld} -m elf64_sparc"
   13332 	    ;;
   13333 	esac
   13334 	;;
   13335     esac
   13336   fi
   13337   rm -rf conftest*
   13338   ;;
   13339 
   13340 *-*-sco3.2v5*)
   13341   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13342   SAVE_CFLAGS=$CFLAGS
   13343   CFLAGS="$CFLAGS -belf"
   13344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13345 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13346 if ${lt_cv_cc_needs_belf+:} false; then :
   13347   $as_echo_n "(cached) " >&6
   13348 else
   13349   ac_ext=c
   13350 ac_cpp='$CPP $CPPFLAGS'
   13351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13354 
   13355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13356 /* end confdefs.h.  */
   13357 
   13358 int
   13359 main ()
   13360 {
   13361 
   13362   ;
   13363   return 0;
   13364 }
   13365 _ACEOF
   13366 if ac_fn_c_try_link "$LINENO"; then :
   13367   lt_cv_cc_needs_belf=yes
   13368 else
   13369   lt_cv_cc_needs_belf=no
   13370 fi
   13371 rm -f core conftest.err conftest.$ac_objext \
   13372     conftest$ac_exeext conftest.$ac_ext
   13373      ac_ext=c
   13374 ac_cpp='$CPP $CPPFLAGS'
   13375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13378 
   13379 fi
   13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13381 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13382   if test yes != "$lt_cv_cc_needs_belf"; then
   13383     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13384     CFLAGS=$SAVE_CFLAGS
   13385   fi
   13386   ;;
   13387 *-*solaris*)
   13388   # Find out what ABI is being produced by ac_compile, and set linker
   13389   # options accordingly.
   13390   echo 'int i;' > conftest.$ac_ext
   13391   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13392   (eval $ac_compile) 2>&5
   13393   ac_status=$?
   13394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13395   test $ac_status = 0; }; then
   13396     case `/usr/bin/file conftest.o` in
   13397     *64-bit*)
   13398       case $lt_cv_prog_gnu_ld in
   13399       yes*)
   13400         case $host in
   13401         i?86-*-solaris*|x86_64-*-solaris*)
   13402           LD="${LD-ld} -m elf_x86_64"
   13403           ;;
   13404         sparc*-*-solaris*)
   13405           LD="${LD-ld} -m elf64_sparc"
   13406           ;;
   13407         esac
   13408         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13409         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13410           LD=${LD-ld}_sol2
   13411         fi
   13412         ;;
   13413       *)
   13414 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13415 	  LD="${LD-ld} -64"
   13416 	fi
   13417 	;;
   13418       esac
   13419       ;;
   13420     esac
   13421   fi
   13422   rm -rf conftest*
   13423   ;;
   13424 esac
   13425 
   13426 need_locks=$enable_libtool_lock
   13427 
   13428 if test -n "$ac_tool_prefix"; then
   13429   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13430 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13432 $as_echo_n "checking for $ac_word... " >&6; }
   13433 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13434   $as_echo_n "(cached) " >&6
   13435 else
   13436   if test -n "$MANIFEST_TOOL"; then
   13437   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13438 else
   13439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13440 for as_dir in $PATH
   13441 do
   13442   IFS=$as_save_IFS
   13443   test -z "$as_dir" && as_dir=.
   13444     for ac_exec_ext in '' $ac_executable_extensions; do
   13445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13446     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13448     break 2
   13449   fi
   13450 done
   13451   done
   13452 IFS=$as_save_IFS
   13453 
   13454 fi
   13455 fi
   13456 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13457 if test -n "$MANIFEST_TOOL"; then
   13458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13459 $as_echo "$MANIFEST_TOOL" >&6; }
   13460 else
   13461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13462 $as_echo "no" >&6; }
   13463 fi
   13464 
   13465 
   13466 fi
   13467 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13468   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13469   # Extract the first word of "mt", so it can be a program name with args.
   13470 set dummy mt; ac_word=$2
   13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13472 $as_echo_n "checking for $ac_word... " >&6; }
   13473 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13474   $as_echo_n "(cached) " >&6
   13475 else
   13476   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13477   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13478 else
   13479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13480 for as_dir in $PATH
   13481 do
   13482   IFS=$as_save_IFS
   13483   test -z "$as_dir" && as_dir=.
   13484     for ac_exec_ext in '' $ac_executable_extensions; do
   13485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13486     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13488     break 2
   13489   fi
   13490 done
   13491   done
   13492 IFS=$as_save_IFS
   13493 
   13494 fi
   13495 fi
   13496 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13497 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13499 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13500 else
   13501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13502 $as_echo "no" >&6; }
   13503 fi
   13504 
   13505   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13506     MANIFEST_TOOL=":"
   13507   else
   13508     case $cross_compiling:$ac_tool_warned in
   13509 yes:)
   13510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13512 ac_tool_warned=yes ;;
   13513 esac
   13514     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13515   fi
   13516 else
   13517   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13518 fi
   13519 
   13520 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13522 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13523 if ${lt_cv_path_mainfest_tool+:} false; then :
   13524   $as_echo_n "(cached) " >&6
   13525 else
   13526   lt_cv_path_mainfest_tool=no
   13527   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13528   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13529   cat conftest.err >&5
   13530   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13531     lt_cv_path_mainfest_tool=yes
   13532   fi
   13533   rm -f conftest*
   13534 fi
   13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13536 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13537 if test yes != "$lt_cv_path_mainfest_tool"; then
   13538   MANIFEST_TOOL=:
   13539 fi
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546   case $host_os in
   13547     rhapsody* | darwin*)
   13548     if test -n "$ac_tool_prefix"; then
   13549   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13550 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13552 $as_echo_n "checking for $ac_word... " >&6; }
   13553 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13554   $as_echo_n "(cached) " >&6
   13555 else
   13556   if test -n "$DSYMUTIL"; then
   13557   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13558 else
   13559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13560 for as_dir in $PATH
   13561 do
   13562   IFS=$as_save_IFS
   13563   test -z "$as_dir" && as_dir=.
   13564     for ac_exec_ext in '' $ac_executable_extensions; do
   13565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13566     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13568     break 2
   13569   fi
   13570 done
   13571   done
   13572 IFS=$as_save_IFS
   13573 
   13574 fi
   13575 fi
   13576 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13577 if test -n "$DSYMUTIL"; then
   13578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13579 $as_echo "$DSYMUTIL" >&6; }
   13580 else
   13581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13582 $as_echo "no" >&6; }
   13583 fi
   13584 
   13585 
   13586 fi
   13587 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13588   ac_ct_DSYMUTIL=$DSYMUTIL
   13589   # Extract the first word of "dsymutil", so it can be a program name with args.
   13590 set dummy dsymutil; ac_word=$2
   13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13592 $as_echo_n "checking for $ac_word... " >&6; }
   13593 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13594   $as_echo_n "(cached) " >&6
   13595 else
   13596   if test -n "$ac_ct_DSYMUTIL"; then
   13597   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13598 else
   13599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13600 for as_dir in $PATH
   13601 do
   13602   IFS=$as_save_IFS
   13603   test -z "$as_dir" && as_dir=.
   13604     for ac_exec_ext in '' $ac_executable_extensions; do
   13605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13606     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13608     break 2
   13609   fi
   13610 done
   13611   done
   13612 IFS=$as_save_IFS
   13613 
   13614 fi
   13615 fi
   13616 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13617 if test -n "$ac_ct_DSYMUTIL"; then
   13618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13619 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13620 else
   13621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13622 $as_echo "no" >&6; }
   13623 fi
   13624 
   13625   if test "x$ac_ct_DSYMUTIL" = x; then
   13626     DSYMUTIL=":"
   13627   else
   13628     case $cross_compiling:$ac_tool_warned in
   13629 yes:)
   13630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13632 ac_tool_warned=yes ;;
   13633 esac
   13634     DSYMUTIL=$ac_ct_DSYMUTIL
   13635   fi
   13636 else
   13637   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13638 fi
   13639 
   13640     if test -n "$ac_tool_prefix"; then
   13641   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13642 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13644 $as_echo_n "checking for $ac_word... " >&6; }
   13645 if ${ac_cv_prog_NMEDIT+:} false; then :
   13646   $as_echo_n "(cached) " >&6
   13647 else
   13648   if test -n "$NMEDIT"; then
   13649   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13650 else
   13651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13652 for as_dir in $PATH
   13653 do
   13654   IFS=$as_save_IFS
   13655   test -z "$as_dir" && as_dir=.
   13656     for ac_exec_ext in '' $ac_executable_extensions; do
   13657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13658     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13660     break 2
   13661   fi
   13662 done
   13663   done
   13664 IFS=$as_save_IFS
   13665 
   13666 fi
   13667 fi
   13668 NMEDIT=$ac_cv_prog_NMEDIT
   13669 if test -n "$NMEDIT"; then
   13670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13671 $as_echo "$NMEDIT" >&6; }
   13672 else
   13673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13674 $as_echo "no" >&6; }
   13675 fi
   13676 
   13677 
   13678 fi
   13679 if test -z "$ac_cv_prog_NMEDIT"; then
   13680   ac_ct_NMEDIT=$NMEDIT
   13681   # Extract the first word of "nmedit", so it can be a program name with args.
   13682 set dummy nmedit; ac_word=$2
   13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13684 $as_echo_n "checking for $ac_word... " >&6; }
   13685 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13686   $as_echo_n "(cached) " >&6
   13687 else
   13688   if test -n "$ac_ct_NMEDIT"; then
   13689   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13690 else
   13691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13692 for as_dir in $PATH
   13693 do
   13694   IFS=$as_save_IFS
   13695   test -z "$as_dir" && as_dir=.
   13696     for ac_exec_ext in '' $ac_executable_extensions; do
   13697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13698     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13700     break 2
   13701   fi
   13702 done
   13703   done
   13704 IFS=$as_save_IFS
   13705 
   13706 fi
   13707 fi
   13708 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13709 if test -n "$ac_ct_NMEDIT"; then
   13710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13711 $as_echo "$ac_ct_NMEDIT" >&6; }
   13712 else
   13713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13714 $as_echo "no" >&6; }
   13715 fi
   13716 
   13717   if test "x$ac_ct_NMEDIT" = x; then
   13718     NMEDIT=":"
   13719   else
   13720     case $cross_compiling:$ac_tool_warned in
   13721 yes:)
   13722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13724 ac_tool_warned=yes ;;
   13725 esac
   13726     NMEDIT=$ac_ct_NMEDIT
   13727   fi
   13728 else
   13729   NMEDIT="$ac_cv_prog_NMEDIT"
   13730 fi
   13731 
   13732     if test -n "$ac_tool_prefix"; then
   13733   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13734 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13736 $as_echo_n "checking for $ac_word... " >&6; }
   13737 if ${ac_cv_prog_LIPO+:} false; then :
   13738   $as_echo_n "(cached) " >&6
   13739 else
   13740   if test -n "$LIPO"; then
   13741   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13742 else
   13743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13744 for as_dir in $PATH
   13745 do
   13746   IFS=$as_save_IFS
   13747   test -z "$as_dir" && as_dir=.
   13748     for ac_exec_ext in '' $ac_executable_extensions; do
   13749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13750     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13752     break 2
   13753   fi
   13754 done
   13755   done
   13756 IFS=$as_save_IFS
   13757 
   13758 fi
   13759 fi
   13760 LIPO=$ac_cv_prog_LIPO
   13761 if test -n "$LIPO"; then
   13762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13763 $as_echo "$LIPO" >&6; }
   13764 else
   13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13766 $as_echo "no" >&6; }
   13767 fi
   13768 
   13769 
   13770 fi
   13771 if test -z "$ac_cv_prog_LIPO"; then
   13772   ac_ct_LIPO=$LIPO
   13773   # Extract the first word of "lipo", so it can be a program name with args.
   13774 set dummy lipo; ac_word=$2
   13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13776 $as_echo_n "checking for $ac_word... " >&6; }
   13777 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13778   $as_echo_n "(cached) " >&6
   13779 else
   13780   if test -n "$ac_ct_LIPO"; then
   13781   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13782 else
   13783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13784 for as_dir in $PATH
   13785 do
   13786   IFS=$as_save_IFS
   13787   test -z "$as_dir" && as_dir=.
   13788     for ac_exec_ext in '' $ac_executable_extensions; do
   13789   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13790     ac_cv_prog_ac_ct_LIPO="lipo"
   13791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13792     break 2
   13793   fi
   13794 done
   13795   done
   13796 IFS=$as_save_IFS
   13797 
   13798 fi
   13799 fi
   13800 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13801 if test -n "$ac_ct_LIPO"; then
   13802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13803 $as_echo "$ac_ct_LIPO" >&6; }
   13804 else
   13805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13806 $as_echo "no" >&6; }
   13807 fi
   13808 
   13809   if test "x$ac_ct_LIPO" = x; then
   13810     LIPO=":"
   13811   else
   13812     case $cross_compiling:$ac_tool_warned in
   13813 yes:)
   13814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13816 ac_tool_warned=yes ;;
   13817 esac
   13818     LIPO=$ac_ct_LIPO
   13819   fi
   13820 else
   13821   LIPO="$ac_cv_prog_LIPO"
   13822 fi
   13823 
   13824     if test -n "$ac_tool_prefix"; then
   13825   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13826 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13828 $as_echo_n "checking for $ac_word... " >&6; }
   13829 if ${ac_cv_prog_OTOOL+:} false; then :
   13830   $as_echo_n "(cached) " >&6
   13831 else
   13832   if test -n "$OTOOL"; then
   13833   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13834 else
   13835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13836 for as_dir in $PATH
   13837 do
   13838   IFS=$as_save_IFS
   13839   test -z "$as_dir" && as_dir=.
   13840     for ac_exec_ext in '' $ac_executable_extensions; do
   13841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13842     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13844     break 2
   13845   fi
   13846 done
   13847   done
   13848 IFS=$as_save_IFS
   13849 
   13850 fi
   13851 fi
   13852 OTOOL=$ac_cv_prog_OTOOL
   13853 if test -n "$OTOOL"; then
   13854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13855 $as_echo "$OTOOL" >&6; }
   13856 else
   13857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13858 $as_echo "no" >&6; }
   13859 fi
   13860 
   13861 
   13862 fi
   13863 if test -z "$ac_cv_prog_OTOOL"; then
   13864   ac_ct_OTOOL=$OTOOL
   13865   # Extract the first word of "otool", so it can be a program name with args.
   13866 set dummy otool; ac_word=$2
   13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13868 $as_echo_n "checking for $ac_word... " >&6; }
   13869 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13870   $as_echo_n "(cached) " >&6
   13871 else
   13872   if test -n "$ac_ct_OTOOL"; then
   13873   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13874 else
   13875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13876 for as_dir in $PATH
   13877 do
   13878   IFS=$as_save_IFS
   13879   test -z "$as_dir" && as_dir=.
   13880     for ac_exec_ext in '' $ac_executable_extensions; do
   13881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13882     ac_cv_prog_ac_ct_OTOOL="otool"
   13883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13884     break 2
   13885   fi
   13886 done
   13887   done
   13888 IFS=$as_save_IFS
   13889 
   13890 fi
   13891 fi
   13892 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13893 if test -n "$ac_ct_OTOOL"; then
   13894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13895 $as_echo "$ac_ct_OTOOL" >&6; }
   13896 else
   13897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13898 $as_echo "no" >&6; }
   13899 fi
   13900 
   13901   if test "x$ac_ct_OTOOL" = x; then
   13902     OTOOL=":"
   13903   else
   13904     case $cross_compiling:$ac_tool_warned in
   13905 yes:)
   13906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13908 ac_tool_warned=yes ;;
   13909 esac
   13910     OTOOL=$ac_ct_OTOOL
   13911   fi
   13912 else
   13913   OTOOL="$ac_cv_prog_OTOOL"
   13914 fi
   13915 
   13916     if test -n "$ac_tool_prefix"; then
   13917   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13918 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13920 $as_echo_n "checking for $ac_word... " >&6; }
   13921 if ${ac_cv_prog_OTOOL64+:} false; then :
   13922   $as_echo_n "(cached) " >&6
   13923 else
   13924   if test -n "$OTOOL64"; then
   13925   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13926 else
   13927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13928 for as_dir in $PATH
   13929 do
   13930   IFS=$as_save_IFS
   13931   test -z "$as_dir" && as_dir=.
   13932     for ac_exec_ext in '' $ac_executable_extensions; do
   13933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13934     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13936     break 2
   13937   fi
   13938 done
   13939   done
   13940 IFS=$as_save_IFS
   13941 
   13942 fi
   13943 fi
   13944 OTOOL64=$ac_cv_prog_OTOOL64
   13945 if test -n "$OTOOL64"; then
   13946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13947 $as_echo "$OTOOL64" >&6; }
   13948 else
   13949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13950 $as_echo "no" >&6; }
   13951 fi
   13952 
   13953 
   13954 fi
   13955 if test -z "$ac_cv_prog_OTOOL64"; then
   13956   ac_ct_OTOOL64=$OTOOL64
   13957   # Extract the first word of "otool64", so it can be a program name with args.
   13958 set dummy otool64; ac_word=$2
   13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13960 $as_echo_n "checking for $ac_word... " >&6; }
   13961 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13962   $as_echo_n "(cached) " >&6
   13963 else
   13964   if test -n "$ac_ct_OTOOL64"; then
   13965   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13966 else
   13967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13968 for as_dir in $PATH
   13969 do
   13970   IFS=$as_save_IFS
   13971   test -z "$as_dir" && as_dir=.
   13972     for ac_exec_ext in '' $ac_executable_extensions; do
   13973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13974     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13976     break 2
   13977   fi
   13978 done
   13979   done
   13980 IFS=$as_save_IFS
   13981 
   13982 fi
   13983 fi
   13984 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13985 if test -n "$ac_ct_OTOOL64"; then
   13986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13987 $as_echo "$ac_ct_OTOOL64" >&6; }
   13988 else
   13989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13990 $as_echo "no" >&6; }
   13991 fi
   13992 
   13993   if test "x$ac_ct_OTOOL64" = x; then
   13994     OTOOL64=":"
   13995   else
   13996     case $cross_compiling:$ac_tool_warned in
   13997 yes:)
   13998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14000 ac_tool_warned=yes ;;
   14001 esac
   14002     OTOOL64=$ac_ct_OTOOL64
   14003   fi
   14004 else
   14005   OTOOL64="$ac_cv_prog_OTOOL64"
   14006 fi
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14035 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14036 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14037   $as_echo_n "(cached) " >&6
   14038 else
   14039   lt_cv_apple_cc_single_mod=no
   14040       if test -z "$LT_MULTI_MODULE"; then
   14041 	# By default we will add the -single_module flag. You can override
   14042 	# by either setting the environment variable LT_MULTI_MODULE
   14043 	# non-empty at configure time, or by adding -multi_module to the
   14044 	# link flags.
   14045 	rm -rf libconftest.dylib*
   14046 	echo "int foo(void){return 1;}" > conftest.c
   14047 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14048 -dynamiclib -Wl,-single_module conftest.c" >&5
   14049 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14050 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14051         _lt_result=$?
   14052 	# If there is a non-empty error log, and "single_module"
   14053 	# appears in it, assume the flag caused a linker warning
   14054         if test -s conftest.err && $GREP single_module conftest.err; then
   14055 	  cat conftest.err >&5
   14056 	# Otherwise, if the output was created with a 0 exit code from
   14057 	# the compiler, it worked.
   14058 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14059 	  lt_cv_apple_cc_single_mod=yes
   14060 	else
   14061 	  cat conftest.err >&5
   14062 	fi
   14063 	rm -rf libconftest.dylib*
   14064 	rm -f conftest.*
   14065       fi
   14066 fi
   14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14068 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14069 
   14070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14071 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14072 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14073   $as_echo_n "(cached) " >&6
   14074 else
   14075   lt_cv_ld_exported_symbols_list=no
   14076       save_LDFLAGS=$LDFLAGS
   14077       echo "_main" > conftest.sym
   14078       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14080 /* end confdefs.h.  */
   14081 
   14082 int
   14083 main ()
   14084 {
   14085 
   14086   ;
   14087   return 0;
   14088 }
   14089 _ACEOF
   14090 if ac_fn_c_try_link "$LINENO"; then :
   14091   lt_cv_ld_exported_symbols_list=yes
   14092 else
   14093   lt_cv_ld_exported_symbols_list=no
   14094 fi
   14095 rm -f core conftest.err conftest.$ac_objext \
   14096     conftest$ac_exeext conftest.$ac_ext
   14097 	LDFLAGS=$save_LDFLAGS
   14098 
   14099 fi
   14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14101 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14102 
   14103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14104 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14105 if ${lt_cv_ld_force_load+:} false; then :
   14106   $as_echo_n "(cached) " >&6
   14107 else
   14108   lt_cv_ld_force_load=no
   14109       cat > conftest.c << _LT_EOF
   14110 int forced_loaded() { return 2;}
   14111 _LT_EOF
   14112       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14113       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14114       echo "$AR cru libconftest.a conftest.o" >&5
   14115       $AR cru libconftest.a conftest.o 2>&5
   14116       echo "$RANLIB libconftest.a" >&5
   14117       $RANLIB libconftest.a 2>&5
   14118       cat > conftest.c << _LT_EOF
   14119 int main() { return 0;}
   14120 _LT_EOF
   14121       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14122       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14123       _lt_result=$?
   14124       if test -s conftest.err && $GREP force_load conftest.err; then
   14125 	cat conftest.err >&5
   14126       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14127 	lt_cv_ld_force_load=yes
   14128       else
   14129 	cat conftest.err >&5
   14130       fi
   14131         rm -f conftest.err libconftest.a conftest conftest.c
   14132         rm -rf conftest.dSYM
   14133 
   14134 fi
   14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14136 $as_echo "$lt_cv_ld_force_load" >&6; }
   14137     case $host_os in
   14138     rhapsody* | darwin1.[012])
   14139       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14140     darwin1.*)
   14141       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14142     darwin*) # darwin 5.x on
   14143       # if running on 10.5 or later, the deployment target defaults
   14144       # to the OS version, if on x86, and 10.4, the deployment
   14145       # target defaults to 10.4. Don't you love it?
   14146       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14147 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14148 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14149 	10.[012][,.]*)
   14150 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14151 	10.*)
   14152 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14153       esac
   14154     ;;
   14155   esac
   14156     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14157       _lt_dar_single_mod='$single_module'
   14158     fi
   14159     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14160       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14161     else
   14162       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14163     fi
   14164     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14165       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14166     else
   14167       _lt_dsymutil=
   14168     fi
   14169     ;;
   14170   esac
   14171 
   14172 # func_munge_path_list VARIABLE PATH
   14173 # -----------------------------------
   14174 # VARIABLE is name of variable containing _space_ separated list of
   14175 # directories to be munged by the contents of PATH, which is string
   14176 # having a format:
   14177 # "DIR[:DIR]:"
   14178 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14179 # ":DIR[:DIR]"
   14180 #       string "DIR[ DIR]" will be appended to VARIABLE
   14181 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14182 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14183 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14184 # "DIR[:DIR]"
   14185 #       VARIABLE will be replaced by "DIR[ DIR]"
   14186 func_munge_path_list ()
   14187 {
   14188     case x$2 in
   14189     x)
   14190         ;;
   14191     *:)
   14192         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14193         ;;
   14194     x:*)
   14195         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14196         ;;
   14197     *::*)
   14198         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14199         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14200         ;;
   14201     *)
   14202         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14203         ;;
   14204     esac
   14205 }
   14206 
   14207 for ac_header in dlfcn.h
   14208 do :
   14209   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14210 "
   14211 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14212   cat >>confdefs.h <<_ACEOF
   14213 #define HAVE_DLFCN_H 1
   14214 _ACEOF
   14215 
   14216 fi
   14217 
   14218 done
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 # Set options
   14225 
   14226 
   14227 
   14228         enable_dlopen=no
   14229 
   14230 
   14231   enable_win32_dll=no
   14232 
   14233 
   14234             # Check whether --enable-shared was given.
   14235 if test "${enable_shared+set}" = set; then :
   14236   enableval=$enable_shared; p=${PACKAGE-default}
   14237     case $enableval in
   14238     yes) enable_shared=yes ;;
   14239     no) enable_shared=no ;;
   14240     *)
   14241       enable_shared=no
   14242       # Look at the argument we got.  We use all the common list separators.
   14243       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14244       for pkg in $enableval; do
   14245 	IFS=$lt_save_ifs
   14246 	if test "X$pkg" = "X$p"; then
   14247 	  enable_shared=yes
   14248 	fi
   14249       done
   14250       IFS=$lt_save_ifs
   14251       ;;
   14252     esac
   14253 else
   14254   enable_shared=yes
   14255 fi
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 # Check whether --with-pic was given.
   14268 if test "${with_pic+set}" = set; then :
   14269   withval=$with_pic; lt_p=${PACKAGE-default}
   14270     case $withval in
   14271     yes|no) pic_mode=$withval ;;
   14272     *)
   14273       pic_mode=default
   14274       # Look at the argument we got.  We use all the common list separators.
   14275       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14276       for lt_pkg in $withval; do
   14277 	IFS=$lt_save_ifs
   14278 	if test "X$lt_pkg" = "X$lt_p"; then
   14279 	  pic_mode=yes
   14280 	fi
   14281       done
   14282       IFS=$lt_save_ifs
   14283       ;;
   14284     esac
   14285 else
   14286   pic_mode=default
   14287 fi
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296   # Check whether --enable-fast-install was given.
   14297 if test "${enable_fast_install+set}" = set; then :
   14298   enableval=$enable_fast_install; p=${PACKAGE-default}
   14299     case $enableval in
   14300     yes) enable_fast_install=yes ;;
   14301     no) enable_fast_install=no ;;
   14302     *)
   14303       enable_fast_install=no
   14304       # Look at the argument we got.  We use all the common list separators.
   14305       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14306       for pkg in $enableval; do
   14307 	IFS=$lt_save_ifs
   14308 	if test "X$pkg" = "X$p"; then
   14309 	  enable_fast_install=yes
   14310 	fi
   14311       done
   14312       IFS=$lt_save_ifs
   14313       ;;
   14314     esac
   14315 else
   14316   enable_fast_install=yes
   14317 fi
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326   shared_archive_member_spec=
   14327 case $host,$enable_shared in
   14328 power*-*-aix[5-9]*,yes)
   14329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14330 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14331 
   14332 # Check whether --with-aix-soname was given.
   14333 if test "${with_aix_soname+set}" = set; then :
   14334   withval=$with_aix_soname; case $withval in
   14335     aix|svr4|both)
   14336       ;;
   14337     *)
   14338       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14339       ;;
   14340     esac
   14341     lt_cv_with_aix_soname=$with_aix_soname
   14342 else
   14343   if ${lt_cv_with_aix_soname+:} false; then :
   14344   $as_echo_n "(cached) " >&6
   14345 else
   14346   lt_cv_with_aix_soname=aix
   14347 fi
   14348 
   14349     with_aix_soname=$lt_cv_with_aix_soname
   14350 fi
   14351 
   14352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14353 $as_echo "$with_aix_soname" >&6; }
   14354   if test aix != "$with_aix_soname"; then
   14355     # For the AIX way of multilib, we name the shared archive member
   14356     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14357     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14358     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14359     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14360     if test 64 = "${OBJECT_MODE-32}"; then
   14361       shared_archive_member_spec=shr_64
   14362     else
   14363       shared_archive_member_spec=shr
   14364     fi
   14365   fi
   14366   ;;
   14367 *)
   14368   with_aix_soname=aix
   14369   ;;
   14370 esac
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 # This can be used to rebuild libtool when needed
   14382 LIBTOOL_DEPS=$ltmain
   14383 
   14384 # Always use our own libtool.
   14385 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 test -z "$LN_S" && LN_S="ln -s"
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 if test -n "${ZSH_VERSION+set}"; then
   14432    setopt NO_GLOB_SUBST
   14433 fi
   14434 
   14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14436 $as_echo_n "checking for objdir... " >&6; }
   14437 if ${lt_cv_objdir+:} false; then :
   14438   $as_echo_n "(cached) " >&6
   14439 else
   14440   rm -f .libs 2>/dev/null
   14441 mkdir .libs 2>/dev/null
   14442 if test -d .libs; then
   14443   lt_cv_objdir=.libs
   14444 else
   14445   # MS-DOS does not allow filenames that begin with a dot.
   14446   lt_cv_objdir=_libs
   14447 fi
   14448 rmdir .libs 2>/dev/null
   14449 fi
   14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14451 $as_echo "$lt_cv_objdir" >&6; }
   14452 objdir=$lt_cv_objdir
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 cat >>confdefs.h <<_ACEOF
   14459 #define LT_OBJDIR "$lt_cv_objdir/"
   14460 _ACEOF
   14461 
   14462 
   14463 
   14464 
   14465 case $host_os in
   14466 aix3*)
   14467   # AIX sometimes has problems with the GCC collect2 program.  For some
   14468   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14469   # vanish in a puff of smoke.
   14470   if test set != "${COLLECT_NAMES+set}"; then
   14471     COLLECT_NAMES=
   14472     export COLLECT_NAMES
   14473   fi
   14474   ;;
   14475 esac
   14476 
   14477 # Global variables:
   14478 ofile=libtool
   14479 can_build_shared=yes
   14480 
   14481 # All known linkers require a '.a' archive for static linking (except MSVC,
   14482 # which needs '.lib').
   14483 libext=a
   14484 
   14485 with_gnu_ld=$lt_cv_prog_gnu_ld
   14486 
   14487 old_CC=$CC
   14488 old_CFLAGS=$CFLAGS
   14489 
   14490 # Set sane defaults for various variables
   14491 test -z "$CC" && CC=cc
   14492 test -z "$LTCC" && LTCC=$CC
   14493 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14494 test -z "$LD" && LD=ld
   14495 test -z "$ac_objext" && ac_objext=o
   14496 
   14497 func_cc_basename $compiler
   14498 cc_basename=$func_cc_basename_result
   14499 
   14500 
   14501 # Only perform the check for file, if the check method requires it
   14502 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14503 case $deplibs_check_method in
   14504 file_magic*)
   14505   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14506     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14507 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14508 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14509   $as_echo_n "(cached) " >&6
   14510 else
   14511   case $MAGIC_CMD in
   14512 [\\/*] |  ?:[\\/]*)
   14513   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14514   ;;
   14515 *)
   14516   lt_save_MAGIC_CMD=$MAGIC_CMD
   14517   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14518   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14519   for ac_dir in $ac_dummy; do
   14520     IFS=$lt_save_ifs
   14521     test -z "$ac_dir" && ac_dir=.
   14522     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14523       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14524       if test -n "$file_magic_test_file"; then
   14525 	case $deplibs_check_method in
   14526 	"file_magic "*)
   14527 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14528 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14529 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14530 	    $EGREP "$file_magic_regex" > /dev/null; then
   14531 	    :
   14532 	  else
   14533 	    cat <<_LT_EOF 1>&2
   14534 
   14535 *** Warning: the command libtool uses to detect shared libraries,
   14536 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14537 *** The result is that libtool may fail to recognize shared libraries
   14538 *** as such.  This will affect the creation of libtool libraries that
   14539 *** depend on shared libraries, but programs linked with such libtool
   14540 *** libraries will work regardless of this problem.  Nevertheless, you
   14541 *** may want to report the problem to your system manager and/or to
   14542 *** bug-libtool (at] gnu.org
   14543 
   14544 _LT_EOF
   14545 	  fi ;;
   14546 	esac
   14547       fi
   14548       break
   14549     fi
   14550   done
   14551   IFS=$lt_save_ifs
   14552   MAGIC_CMD=$lt_save_MAGIC_CMD
   14553   ;;
   14554 esac
   14555 fi
   14556 
   14557 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14558 if test -n "$MAGIC_CMD"; then
   14559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14560 $as_echo "$MAGIC_CMD" >&6; }
   14561 else
   14562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14563 $as_echo "no" >&6; }
   14564 fi
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14571   if test -n "$ac_tool_prefix"; then
   14572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14573 $as_echo_n "checking for file... " >&6; }
   14574 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14575   $as_echo_n "(cached) " >&6
   14576 else
   14577   case $MAGIC_CMD in
   14578 [\\/*] |  ?:[\\/]*)
   14579   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14580   ;;
   14581 *)
   14582   lt_save_MAGIC_CMD=$MAGIC_CMD
   14583   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14584   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14585   for ac_dir in $ac_dummy; do
   14586     IFS=$lt_save_ifs
   14587     test -z "$ac_dir" && ac_dir=.
   14588     if test -f "$ac_dir/file"; then
   14589       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14590       if test -n "$file_magic_test_file"; then
   14591 	case $deplibs_check_method in
   14592 	"file_magic "*)
   14593 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14594 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14595 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14596 	    $EGREP "$file_magic_regex" > /dev/null; then
   14597 	    :
   14598 	  else
   14599 	    cat <<_LT_EOF 1>&2
   14600 
   14601 *** Warning: the command libtool uses to detect shared libraries,
   14602 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14603 *** The result is that libtool may fail to recognize shared libraries
   14604 *** as such.  This will affect the creation of libtool libraries that
   14605 *** depend on shared libraries, but programs linked with such libtool
   14606 *** libraries will work regardless of this problem.  Nevertheless, you
   14607 *** may want to report the problem to your system manager and/or to
   14608 *** bug-libtool (at] gnu.org
   14609 
   14610 _LT_EOF
   14611 	  fi ;;
   14612 	esac
   14613       fi
   14614       break
   14615     fi
   14616   done
   14617   IFS=$lt_save_ifs
   14618   MAGIC_CMD=$lt_save_MAGIC_CMD
   14619   ;;
   14620 esac
   14621 fi
   14622 
   14623 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14624 if test -n "$MAGIC_CMD"; then
   14625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14626 $as_echo "$MAGIC_CMD" >&6; }
   14627 else
   14628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14629 $as_echo "no" >&6; }
   14630 fi
   14631 
   14632 
   14633   else
   14634     MAGIC_CMD=:
   14635   fi
   14636 fi
   14637 
   14638   fi
   14639   ;;
   14640 esac
   14641 
   14642 # Use C for the default configuration in the libtool script
   14643 
   14644 lt_save_CC=$CC
   14645 ac_ext=c
   14646 ac_cpp='$CPP $CPPFLAGS'
   14647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14650 
   14651 
   14652 # Source file extension for C test sources.
   14653 ac_ext=c
   14654 
   14655 # Object file extension for compiled C test sources.
   14656 objext=o
   14657 objext=$objext
   14658 
   14659 # Code to be used in simple compile tests
   14660 lt_simple_compile_test_code="int some_variable = 0;"
   14661 
   14662 # Code to be used in simple link tests
   14663 lt_simple_link_test_code='int main(){return(0);}'
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 # If no C compiler was specified, use CC.
   14672 LTCC=${LTCC-"$CC"}
   14673 
   14674 # If no C compiler flags were specified, use CFLAGS.
   14675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14676 
   14677 # Allow CC to be a program name with arguments.
   14678 compiler=$CC
   14679 
   14680 # Save the default compiler, since it gets overwritten when the other
   14681 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14682 compiler_DEFAULT=$CC
   14683 
   14684 # save warnings/boilerplate of simple test code
   14685 ac_outfile=conftest.$ac_objext
   14686 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14687 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14688 _lt_compiler_boilerplate=`cat conftest.err`
   14689 $RM conftest*
   14690 
   14691 ac_outfile=conftest.$ac_objext
   14692 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14693 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14694 _lt_linker_boilerplate=`cat conftest.err`
   14695 $RM -r conftest*
   14696 
   14697 
   14698 if test -n "$compiler"; then
   14699 
   14700 lt_prog_compiler_no_builtin_flag=
   14701 
   14702 if test yes = "$GCC"; then
   14703   case $cc_basename in
   14704   nvcc*)
   14705     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14706   *)
   14707     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14708   esac
   14709 
   14710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14711 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14712 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14713   $as_echo_n "(cached) " >&6
   14714 else
   14715   lt_cv_prog_compiler_rtti_exceptions=no
   14716    ac_outfile=conftest.$ac_objext
   14717    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14718    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14719    # Insert the option either (1) after the last *FLAGS variable, or
   14720    # (2) before a word containing "conftest.", or (3) at the end.
   14721    # Note that $ac_compile itself does not contain backslashes and begins
   14722    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14723    # The option is referenced via a variable to avoid confusing sed.
   14724    lt_compile=`echo "$ac_compile" | $SED \
   14725    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14726    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14727    -e 's:$: $lt_compiler_flag:'`
   14728    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14729    (eval "$lt_compile" 2>conftest.err)
   14730    ac_status=$?
   14731    cat conftest.err >&5
   14732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14733    if (exit $ac_status) && test -s "$ac_outfile"; then
   14734      # The compiler can only warn and ignore the option if not recognized
   14735      # So say no if there are warnings other than the usual output.
   14736      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14737      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14738      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14739        lt_cv_prog_compiler_rtti_exceptions=yes
   14740      fi
   14741    fi
   14742    $RM conftest*
   14743 
   14744 fi
   14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14746 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14747 
   14748 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14749     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14750 else
   14751     :
   14752 fi
   14753 
   14754 fi
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761   lt_prog_compiler_wl=
   14762 lt_prog_compiler_pic=
   14763 lt_prog_compiler_static=
   14764 
   14765 
   14766   if test yes = "$GCC"; then
   14767     lt_prog_compiler_wl='-Wl,'
   14768     lt_prog_compiler_static='-static'
   14769 
   14770     case $host_os in
   14771       aix*)
   14772       # All AIX code is PIC.
   14773       if test ia64 = "$host_cpu"; then
   14774 	# AIX 5 now supports IA64 processor
   14775 	lt_prog_compiler_static='-Bstatic'
   14776       fi
   14777       lt_prog_compiler_pic='-fPIC'
   14778       ;;
   14779 
   14780     amigaos*)
   14781       case $host_cpu in
   14782       powerpc)
   14783             # see comment about AmigaOS4 .so support
   14784             lt_prog_compiler_pic='-fPIC'
   14785         ;;
   14786       m68k)
   14787             # FIXME: we need at least 68020 code to build shared libraries, but
   14788             # adding the '-m68020' flag to GCC prevents building anything better,
   14789             # like '-m68040'.
   14790             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14791         ;;
   14792       esac
   14793       ;;
   14794 
   14795     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14796       # PIC is the default for these OSes.
   14797       ;;
   14798 
   14799     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14800       # This hack is so that the source file can tell whether it is being
   14801       # built for inclusion in a dll (and should export symbols for example).
   14802       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14803       # (--disable-auto-import) libraries
   14804       lt_prog_compiler_pic='-DDLL_EXPORT'
   14805       case $host_os in
   14806       os2*)
   14807 	lt_prog_compiler_static='$wl-static'
   14808 	;;
   14809       esac
   14810       ;;
   14811 
   14812     darwin* | rhapsody*)
   14813       # PIC is the default on this platform
   14814       # Common symbols not allowed in MH_DYLIB files
   14815       lt_prog_compiler_pic='-fno-common'
   14816       ;;
   14817 
   14818     haiku*)
   14819       # PIC is the default for Haiku.
   14820       # The "-static" flag exists, but is broken.
   14821       lt_prog_compiler_static=
   14822       ;;
   14823 
   14824     hpux*)
   14825       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14826       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14827       # sets the default TLS model and affects inlining.
   14828       case $host_cpu in
   14829       hppa*64*)
   14830 	# +Z the default
   14831 	;;
   14832       *)
   14833 	lt_prog_compiler_pic='-fPIC'
   14834 	;;
   14835       esac
   14836       ;;
   14837 
   14838     interix[3-9]*)
   14839       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14840       # Instead, we relocate shared libraries at runtime.
   14841       ;;
   14842 
   14843     msdosdjgpp*)
   14844       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14845       # on systems that don't support them.
   14846       lt_prog_compiler_can_build_shared=no
   14847       enable_shared=no
   14848       ;;
   14849 
   14850     *nto* | *qnx*)
   14851       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14852       # it will coredump.
   14853       lt_prog_compiler_pic='-fPIC -shared'
   14854       ;;
   14855 
   14856     sysv4*MP*)
   14857       if test -d /usr/nec; then
   14858 	lt_prog_compiler_pic=-Kconform_pic
   14859       fi
   14860       ;;
   14861 
   14862     *)
   14863       lt_prog_compiler_pic='-fPIC'
   14864       ;;
   14865     esac
   14866 
   14867     case $cc_basename in
   14868     nvcc*) # Cuda Compiler Driver 2.2
   14869       lt_prog_compiler_wl='-Xlinker '
   14870       if test -n "$lt_prog_compiler_pic"; then
   14871         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14872       fi
   14873       ;;
   14874     esac
   14875   else
   14876     # PORTME Check for flag to pass linker flags through the system compiler.
   14877     case $host_os in
   14878     aix*)
   14879       lt_prog_compiler_wl='-Wl,'
   14880       if test ia64 = "$host_cpu"; then
   14881 	# AIX 5 now supports IA64 processor
   14882 	lt_prog_compiler_static='-Bstatic'
   14883       else
   14884 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14885       fi
   14886       ;;
   14887 
   14888     darwin* | rhapsody*)
   14889       # PIC is the default on this platform
   14890       # Common symbols not allowed in MH_DYLIB files
   14891       lt_prog_compiler_pic='-fno-common'
   14892       case $cc_basename in
   14893       nagfor*)
   14894         # NAG Fortran compiler
   14895         lt_prog_compiler_wl='-Wl,-Wl,,'
   14896         lt_prog_compiler_pic='-PIC'
   14897         lt_prog_compiler_static='-Bstatic'
   14898         ;;
   14899       esac
   14900       ;;
   14901 
   14902     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14903       # This hack is so that the source file can tell whether it is being
   14904       # built for inclusion in a dll (and should export symbols for example).
   14905       lt_prog_compiler_pic='-DDLL_EXPORT'
   14906       case $host_os in
   14907       os2*)
   14908 	lt_prog_compiler_static='$wl-static'
   14909 	;;
   14910       esac
   14911       ;;
   14912 
   14913     hpux9* | hpux10* | hpux11*)
   14914       lt_prog_compiler_wl='-Wl,'
   14915       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14916       # not for PA HP-UX.
   14917       case $host_cpu in
   14918       hppa*64*|ia64*)
   14919 	# +Z the default
   14920 	;;
   14921       *)
   14922 	lt_prog_compiler_pic='+Z'
   14923 	;;
   14924       esac
   14925       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14926       lt_prog_compiler_static='$wl-a ${wl}archive'
   14927       ;;
   14928 
   14929     irix5* | irix6* | nonstopux*)
   14930       lt_prog_compiler_wl='-Wl,'
   14931       # PIC (with -KPIC) is the default.
   14932       lt_prog_compiler_static='-non_shared'
   14933       ;;
   14934 
   14935     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14936       case $cc_basename in
   14937       # old Intel for x86_64, which still supported -KPIC.
   14938       ecc*)
   14939 	lt_prog_compiler_wl='-Wl,'
   14940 	lt_prog_compiler_pic='-KPIC'
   14941 	lt_prog_compiler_static='-static'
   14942         ;;
   14943       # icc used to be incompatible with GCC.
   14944       # ICC 10 doesn't accept -KPIC any more.
   14945       icc* | ifort*)
   14946 	lt_prog_compiler_wl='-Wl,'
   14947 	lt_prog_compiler_pic='-fPIC'
   14948 	lt_prog_compiler_static='-static'
   14949         ;;
   14950       # Lahey Fortran 8.1.
   14951       lf95*)
   14952 	lt_prog_compiler_wl='-Wl,'
   14953 	lt_prog_compiler_pic='--shared'
   14954 	lt_prog_compiler_static='--static'
   14955 	;;
   14956       nagfor*)
   14957 	# NAG Fortran compiler
   14958 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14959 	lt_prog_compiler_pic='-PIC'
   14960 	lt_prog_compiler_static='-Bstatic'
   14961 	;;
   14962       tcc*)
   14963 	# Fabrice Bellard et al's Tiny C Compiler
   14964 	lt_prog_compiler_wl='-Wl,'
   14965 	lt_prog_compiler_pic='-fPIC'
   14966 	lt_prog_compiler_static='-static'
   14967 	;;
   14968       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14969         # Portland Group compilers (*not* the Pentium gcc compiler,
   14970 	# which looks to be a dead project)
   14971 	lt_prog_compiler_wl='-Wl,'
   14972 	lt_prog_compiler_pic='-fpic'
   14973 	lt_prog_compiler_static='-Bstatic'
   14974         ;;
   14975       ccc*)
   14976         lt_prog_compiler_wl='-Wl,'
   14977         # All Alpha code is PIC.
   14978         lt_prog_compiler_static='-non_shared'
   14979         ;;
   14980       xl* | bgxl* | bgf* | mpixl*)
   14981 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14982 	lt_prog_compiler_wl='-Wl,'
   14983 	lt_prog_compiler_pic='-qpic'
   14984 	lt_prog_compiler_static='-qstaticlink'
   14985 	;;
   14986       *)
   14987 	case `$CC -V 2>&1 | sed 5q` in
   14988 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14989 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14990 	  lt_prog_compiler_pic='-KPIC'
   14991 	  lt_prog_compiler_static='-Bstatic'
   14992 	  lt_prog_compiler_wl=''
   14993 	  ;;
   14994 	*Sun\ F* | *Sun*Fortran*)
   14995 	  lt_prog_compiler_pic='-KPIC'
   14996 	  lt_prog_compiler_static='-Bstatic'
   14997 	  lt_prog_compiler_wl='-Qoption ld '
   14998 	  ;;
   14999 	*Sun\ C*)
   15000 	  # Sun C 5.9
   15001 	  lt_prog_compiler_pic='-KPIC'
   15002 	  lt_prog_compiler_static='-Bstatic'
   15003 	  lt_prog_compiler_wl='-Wl,'
   15004 	  ;;
   15005         *Intel*\ [CF]*Compiler*)
   15006 	  lt_prog_compiler_wl='-Wl,'
   15007 	  lt_prog_compiler_pic='-fPIC'
   15008 	  lt_prog_compiler_static='-static'
   15009 	  ;;
   15010 	*Portland\ Group*)
   15011 	  lt_prog_compiler_wl='-Wl,'
   15012 	  lt_prog_compiler_pic='-fpic'
   15013 	  lt_prog_compiler_static='-Bstatic'
   15014 	  ;;
   15015 	esac
   15016 	;;
   15017       esac
   15018       ;;
   15019 
   15020     newsos6)
   15021       lt_prog_compiler_pic='-KPIC'
   15022       lt_prog_compiler_static='-Bstatic'
   15023       ;;
   15024 
   15025     *nto* | *qnx*)
   15026       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15027       # it will coredump.
   15028       lt_prog_compiler_pic='-fPIC -shared'
   15029       ;;
   15030 
   15031     osf3* | osf4* | osf5*)
   15032       lt_prog_compiler_wl='-Wl,'
   15033       # All OSF/1 code is PIC.
   15034       lt_prog_compiler_static='-non_shared'
   15035       ;;
   15036 
   15037     rdos*)
   15038       lt_prog_compiler_static='-non_shared'
   15039       ;;
   15040 
   15041     solaris*)
   15042       lt_prog_compiler_pic='-KPIC'
   15043       lt_prog_compiler_static='-Bstatic'
   15044       case $cc_basename in
   15045       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15046 	lt_prog_compiler_wl='-Qoption ld ';;
   15047       *)
   15048 	lt_prog_compiler_wl='-Wl,';;
   15049       esac
   15050       ;;
   15051 
   15052     sunos4*)
   15053       lt_prog_compiler_wl='-Qoption ld '
   15054       lt_prog_compiler_pic='-PIC'
   15055       lt_prog_compiler_static='-Bstatic'
   15056       ;;
   15057 
   15058     sysv4 | sysv4.2uw2* | sysv4.3*)
   15059       lt_prog_compiler_wl='-Wl,'
   15060       lt_prog_compiler_pic='-KPIC'
   15061       lt_prog_compiler_static='-Bstatic'
   15062       ;;
   15063 
   15064     sysv4*MP*)
   15065       if test -d /usr/nec; then
   15066 	lt_prog_compiler_pic='-Kconform_pic'
   15067 	lt_prog_compiler_static='-Bstatic'
   15068       fi
   15069       ;;
   15070 
   15071     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15072       lt_prog_compiler_wl='-Wl,'
   15073       lt_prog_compiler_pic='-KPIC'
   15074       lt_prog_compiler_static='-Bstatic'
   15075       ;;
   15076 
   15077     unicos*)
   15078       lt_prog_compiler_wl='-Wl,'
   15079       lt_prog_compiler_can_build_shared=no
   15080       ;;
   15081 
   15082     uts4*)
   15083       lt_prog_compiler_pic='-pic'
   15084       lt_prog_compiler_static='-Bstatic'
   15085       ;;
   15086 
   15087     *)
   15088       lt_prog_compiler_can_build_shared=no
   15089       ;;
   15090     esac
   15091   fi
   15092 
   15093 case $host_os in
   15094   # For platforms that do not support PIC, -DPIC is meaningless:
   15095   *djgpp*)
   15096     lt_prog_compiler_pic=
   15097     ;;
   15098   *)
   15099     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15100     ;;
   15101 esac
   15102 
   15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15104 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15105 if ${lt_cv_prog_compiler_pic+:} false; then :
   15106   $as_echo_n "(cached) " >&6
   15107 else
   15108   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15109 fi
   15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15111 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15112 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15113 
   15114 #
   15115 # Check to make sure the PIC flag actually works.
   15116 #
   15117 if test -n "$lt_prog_compiler_pic"; then
   15118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15119 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15120 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15121   $as_echo_n "(cached) " >&6
   15122 else
   15123   lt_cv_prog_compiler_pic_works=no
   15124    ac_outfile=conftest.$ac_objext
   15125    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15126    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15127    # Insert the option either (1) after the last *FLAGS variable, or
   15128    # (2) before a word containing "conftest.", or (3) at the end.
   15129    # Note that $ac_compile itself does not contain backslashes and begins
   15130    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15131    # The option is referenced via a variable to avoid confusing sed.
   15132    lt_compile=`echo "$ac_compile" | $SED \
   15133    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15134    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15135    -e 's:$: $lt_compiler_flag:'`
   15136    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15137    (eval "$lt_compile" 2>conftest.err)
   15138    ac_status=$?
   15139    cat conftest.err >&5
   15140    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15141    if (exit $ac_status) && test -s "$ac_outfile"; then
   15142      # The compiler can only warn and ignore the option if not recognized
   15143      # So say no if there are warnings other than the usual output.
   15144      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15145      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15146      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15147        lt_cv_prog_compiler_pic_works=yes
   15148      fi
   15149    fi
   15150    $RM conftest*
   15151 
   15152 fi
   15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15154 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15155 
   15156 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15157     case $lt_prog_compiler_pic in
   15158      "" | " "*) ;;
   15159      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15160      esac
   15161 else
   15162     lt_prog_compiler_pic=
   15163      lt_prog_compiler_can_build_shared=no
   15164 fi
   15165 
   15166 fi
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 #
   15179 # Check to make sure the static flag actually works.
   15180 #
   15181 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15183 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15184 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15185   $as_echo_n "(cached) " >&6
   15186 else
   15187   lt_cv_prog_compiler_static_works=no
   15188    save_LDFLAGS=$LDFLAGS
   15189    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15190    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15191    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15192      # The linker can only warn and ignore the option if not recognized
   15193      # So say no if there are warnings
   15194      if test -s conftest.err; then
   15195        # Append any errors to the config.log.
   15196        cat conftest.err 1>&5
   15197        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15198        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15199        if diff conftest.exp conftest.er2 >/dev/null; then
   15200          lt_cv_prog_compiler_static_works=yes
   15201        fi
   15202      else
   15203        lt_cv_prog_compiler_static_works=yes
   15204      fi
   15205    fi
   15206    $RM -r conftest*
   15207    LDFLAGS=$save_LDFLAGS
   15208 
   15209 fi
   15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15211 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15212 
   15213 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15214     :
   15215 else
   15216     lt_prog_compiler_static=
   15217 fi
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15226 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15227 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15228   $as_echo_n "(cached) " >&6
   15229 else
   15230   lt_cv_prog_compiler_c_o=no
   15231    $RM -r conftest 2>/dev/null
   15232    mkdir conftest
   15233    cd conftest
   15234    mkdir out
   15235    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15236 
   15237    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15238    # Insert the option either (1) after the last *FLAGS variable, or
   15239    # (2) before a word containing "conftest.", or (3) at the end.
   15240    # Note that $ac_compile itself does not contain backslashes and begins
   15241    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15242    lt_compile=`echo "$ac_compile" | $SED \
   15243    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15244    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15245    -e 's:$: $lt_compiler_flag:'`
   15246    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15247    (eval "$lt_compile" 2>out/conftest.err)
   15248    ac_status=$?
   15249    cat out/conftest.err >&5
   15250    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15251    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15252    then
   15253      # The compiler can only warn and ignore the option if not recognized
   15254      # So say no if there are warnings
   15255      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15256      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15257      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15258        lt_cv_prog_compiler_c_o=yes
   15259      fi
   15260    fi
   15261    chmod u+w . 2>&5
   15262    $RM conftest*
   15263    # SGI C++ compiler will create directory out/ii_files/ for
   15264    # template instantiation
   15265    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15266    $RM out/* && rmdir out
   15267    cd ..
   15268    $RM -r conftest
   15269    $RM conftest*
   15270 
   15271 fi
   15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15273 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15281 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15282 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15283   $as_echo_n "(cached) " >&6
   15284 else
   15285   lt_cv_prog_compiler_c_o=no
   15286    $RM -r conftest 2>/dev/null
   15287    mkdir conftest
   15288    cd conftest
   15289    mkdir out
   15290    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15291 
   15292    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15293    # Insert the option either (1) after the last *FLAGS variable, or
   15294    # (2) before a word containing "conftest.", or (3) at the end.
   15295    # Note that $ac_compile itself does not contain backslashes and begins
   15296    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15297    lt_compile=`echo "$ac_compile" | $SED \
   15298    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15299    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15300    -e 's:$: $lt_compiler_flag:'`
   15301    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15302    (eval "$lt_compile" 2>out/conftest.err)
   15303    ac_status=$?
   15304    cat out/conftest.err >&5
   15305    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15306    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15307    then
   15308      # The compiler can only warn and ignore the option if not recognized
   15309      # So say no if there are warnings
   15310      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15311      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15312      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15313        lt_cv_prog_compiler_c_o=yes
   15314      fi
   15315    fi
   15316    chmod u+w . 2>&5
   15317    $RM conftest*
   15318    # SGI C++ compiler will create directory out/ii_files/ for
   15319    # template instantiation
   15320    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15321    $RM out/* && rmdir out
   15322    cd ..
   15323    $RM -r conftest
   15324    $RM conftest*
   15325 
   15326 fi
   15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15328 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15329 
   15330 
   15331 
   15332 
   15333 hard_links=nottested
   15334 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15335   # do not overwrite the value of need_locks provided by the user
   15336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15337 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15338   hard_links=yes
   15339   $RM conftest*
   15340   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15341   touch conftest.a
   15342   ln conftest.a conftest.b 2>&5 || hard_links=no
   15343   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15345 $as_echo "$hard_links" >&6; }
   15346   if test no = "$hard_links"; then
   15347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15348 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15349     need_locks=warn
   15350   fi
   15351 else
   15352   need_locks=no
   15353 fi
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15361 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15362 
   15363   runpath_var=
   15364   allow_undefined_flag=
   15365   always_export_symbols=no
   15366   archive_cmds=
   15367   archive_expsym_cmds=
   15368   compiler_needs_object=no
   15369   enable_shared_with_static_runtimes=no
   15370   export_dynamic_flag_spec=
   15371   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15372   hardcode_automatic=no
   15373   hardcode_direct=no
   15374   hardcode_direct_absolute=no
   15375   hardcode_libdir_flag_spec=
   15376   hardcode_libdir_separator=
   15377   hardcode_minus_L=no
   15378   hardcode_shlibpath_var=unsupported
   15379   inherit_rpath=no
   15380   link_all_deplibs=unknown
   15381   module_cmds=
   15382   module_expsym_cmds=
   15383   old_archive_from_new_cmds=
   15384   old_archive_from_expsyms_cmds=
   15385   thread_safe_flag_spec=
   15386   whole_archive_flag_spec=
   15387   # include_expsyms should be a list of space-separated symbols to be *always*
   15388   # included in the symbol list
   15389   include_expsyms=
   15390   # exclude_expsyms can be an extended regexp of symbols to exclude
   15391   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15392   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15393   # as well as any symbol that contains 'd'.
   15394   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15395   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15396   # platforms (ab)use it in PIC code, but their linkers get confused if
   15397   # the symbol is explicitly referenced.  Since portable code cannot
   15398   # rely on this symbol name, it's probably fine to never include it in
   15399   # preloaded symbol tables.
   15400   # Exclude shared library initialization/finalization symbols.
   15401   extract_expsyms_cmds=
   15402 
   15403   case $host_os in
   15404   cygwin* | mingw* | pw32* | cegcc*)
   15405     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15406     # When not using gcc, we currently assume that we are using
   15407     # Microsoft Visual C++.
   15408     if test yes != "$GCC"; then
   15409       with_gnu_ld=no
   15410     fi
   15411     ;;
   15412   interix*)
   15413     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15414     with_gnu_ld=yes
   15415     ;;
   15416   openbsd* | bitrig*)
   15417     with_gnu_ld=no
   15418     ;;
   15419   esac
   15420 
   15421   ld_shlibs=yes
   15422 
   15423   # On some targets, GNU ld is compatible enough with the native linker
   15424   # that we're better off using the native interface for both.
   15425   lt_use_gnu_ld_interface=no
   15426   if test yes = "$with_gnu_ld"; then
   15427     case $host_os in
   15428       aix*)
   15429 	# The AIX port of GNU ld has always aspired to compatibility
   15430 	# with the native linker.  However, as the warning in the GNU ld
   15431 	# block says, versions before 2.19.5* couldn't really create working
   15432 	# shared libraries, regardless of the interface used.
   15433 	case `$LD -v 2>&1` in
   15434 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15435 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15436 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15437 	  *)
   15438 	    lt_use_gnu_ld_interface=yes
   15439 	    ;;
   15440 	esac
   15441 	;;
   15442       *)
   15443 	lt_use_gnu_ld_interface=yes
   15444 	;;
   15445     esac
   15446   fi
   15447 
   15448   if test yes = "$lt_use_gnu_ld_interface"; then
   15449     # If archive_cmds runs LD, not CC, wlarc should be empty
   15450     wlarc='$wl'
   15451 
   15452     # Set some defaults for GNU ld with shared library support. These
   15453     # are reset later if shared libraries are not supported. Putting them
   15454     # here allows them to be overridden if necessary.
   15455     runpath_var=LD_RUN_PATH
   15456     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15457     export_dynamic_flag_spec='$wl--export-dynamic'
   15458     # ancient GNU ld didn't support --whole-archive et. al.
   15459     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15460       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15461     else
   15462       whole_archive_flag_spec=
   15463     fi
   15464     supports_anon_versioning=no
   15465     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15466       *GNU\ gold*) supports_anon_versioning=yes ;;
   15467       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15468       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15469       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15470       *\ 2.11.*) ;; # other 2.11 versions
   15471       *) supports_anon_versioning=yes ;;
   15472     esac
   15473 
   15474     # See if GNU ld supports shared libraries.
   15475     case $host_os in
   15476     aix[3-9]*)
   15477       # On AIX/PPC, the GNU linker is very broken
   15478       if test ia64 != "$host_cpu"; then
   15479 	ld_shlibs=no
   15480 	cat <<_LT_EOF 1>&2
   15481 
   15482 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15483 *** to be unable to reliably create shared libraries on AIX.
   15484 *** Therefore, libtool is disabling shared libraries support.  If you
   15485 *** really care for shared libraries, you may want to install binutils
   15486 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15487 *** You will then need to restart the configuration process.
   15488 
   15489 _LT_EOF
   15490       fi
   15491       ;;
   15492 
   15493     amigaos*)
   15494       case $host_cpu in
   15495       powerpc)
   15496             # see comment about AmigaOS4 .so support
   15497             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15498             archive_expsym_cmds=''
   15499         ;;
   15500       m68k)
   15501             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)'
   15502             hardcode_libdir_flag_spec='-L$libdir'
   15503             hardcode_minus_L=yes
   15504         ;;
   15505       esac
   15506       ;;
   15507 
   15508     beos*)
   15509       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15510 	allow_undefined_flag=unsupported
   15511 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15512 	# support --undefined.  This deserves some investigation.  FIXME
   15513 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15514       else
   15515 	ld_shlibs=no
   15516       fi
   15517       ;;
   15518 
   15519     cygwin* | mingw* | pw32* | cegcc*)
   15520       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15521       # as there is no search path for DLLs.
   15522       hardcode_libdir_flag_spec='-L$libdir'
   15523       export_dynamic_flag_spec='$wl--export-all-symbols'
   15524       allow_undefined_flag=unsupported
   15525       always_export_symbols=no
   15526       enable_shared_with_static_runtimes=yes
   15527       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'
   15528       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15529 
   15530       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15531         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15532 	# If the export-symbols file already is a .def file, use it as
   15533 	# is; otherwise, prepend EXPORTS...
   15534 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15535           cp $export_symbols $output_objdir/$soname.def;
   15536         else
   15537           echo EXPORTS > $output_objdir/$soname.def;
   15538           cat $export_symbols >> $output_objdir/$soname.def;
   15539         fi~
   15540         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15541       else
   15542 	ld_shlibs=no
   15543       fi
   15544       ;;
   15545 
   15546     haiku*)
   15547       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15548       link_all_deplibs=yes
   15549       ;;
   15550 
   15551     os2*)
   15552       hardcode_libdir_flag_spec='-L$libdir'
   15553       hardcode_minus_L=yes
   15554       allow_undefined_flag=unsupported
   15555       shrext_cmds=.dll
   15556       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15557 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15558 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15559 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15560 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15561 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15562 	emximp -o $lib $output_objdir/$libname.def'
   15563       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15564 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15565 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15566 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15567 	prefix_cmds="$SED"~
   15568 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15569 	  prefix_cmds="$prefix_cmds -e 1d";
   15570 	fi~
   15571 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15572 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15573 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15574 	emximp -o $lib $output_objdir/$libname.def'
   15575       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15576       enable_shared_with_static_runtimes=yes
   15577       ;;
   15578 
   15579     interix[3-9]*)
   15580       hardcode_direct=no
   15581       hardcode_shlibpath_var=no
   15582       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15583       export_dynamic_flag_spec='$wl-E'
   15584       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15585       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15586       # default) and relocated if they conflict, which is a slow very memory
   15587       # consuming and fragmenting process.  To avoid this, we pick a random,
   15588       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15589       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15590       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15591       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'
   15592       ;;
   15593 
   15594     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15595       tmp_diet=no
   15596       if test linux-dietlibc = "$host_os"; then
   15597 	case $cc_basename in
   15598 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15599 	esac
   15600       fi
   15601       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15602 	 && test no = "$tmp_diet"
   15603       then
   15604 	tmp_addflag=' $pic_flag'
   15605 	tmp_sharedflag='-shared'
   15606 	case $cc_basename,$host_cpu in
   15607         pgcc*)				# Portland Group C compiler
   15608 	  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'
   15609 	  tmp_addflag=' $pic_flag'
   15610 	  ;;
   15611 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15612 					# Portland Group f77 and f90 compilers
   15613 	  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'
   15614 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15615 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15616 	  tmp_addflag=' -i_dynamic' ;;
   15617 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15618 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15619 	ifc* | ifort*)			# Intel Fortran compiler
   15620 	  tmp_addflag=' -nofor_main' ;;
   15621 	lf95*)				# Lahey Fortran 8.1
   15622 	  whole_archive_flag_spec=
   15623 	  tmp_sharedflag='--shared' ;;
   15624         nagfor*)                        # NAGFOR 5.3
   15625           tmp_sharedflag='-Wl,-shared' ;;
   15626 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15627 	  tmp_sharedflag='-qmkshrobj'
   15628 	  tmp_addflag= ;;
   15629 	nvcc*)	# Cuda Compiler Driver 2.2
   15630 	  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'
   15631 	  compiler_needs_object=yes
   15632 	  ;;
   15633 	esac
   15634 	case `$CC -V 2>&1 | sed 5q` in
   15635 	*Sun\ C*)			# Sun C 5.9
   15636 	  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'
   15637 	  compiler_needs_object=yes
   15638 	  tmp_sharedflag='-G' ;;
   15639 	*Sun\ F*)			# Sun Fortran 8.3
   15640 	  tmp_sharedflag='-G' ;;
   15641 	esac
   15642 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15643 
   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             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15649         fi
   15650 
   15651 	case $cc_basename in
   15652 	tcc*)
   15653 	  export_dynamic_flag_spec='-rdynamic'
   15654 	  ;;
   15655 	xlf* | bgf* | bgxlf* | mpixlf*)
   15656 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15657 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15658 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15659 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15660 	  if test yes = "$supports_anon_versioning"; then
   15661 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15662               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15663               echo "local: *; };" >> $output_objdir/$libname.ver~
   15664               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15665 	  fi
   15666 	  ;;
   15667 	esac
   15668       else
   15669         ld_shlibs=no
   15670       fi
   15671       ;;
   15672 
   15673     netbsd*)
   15674       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15675 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15676 	wlarc=
   15677       else
   15678 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15679 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15680       fi
   15681       ;;
   15682 
   15683     solaris*)
   15684       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15685 	ld_shlibs=no
   15686 	cat <<_LT_EOF 1>&2
   15687 
   15688 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15689 *** create shared libraries on Solaris systems.  Therefore, libtool
   15690 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15691 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15692 *** your PATH or compiler configuration so that the native linker is
   15693 *** used, and then restart.
   15694 
   15695 _LT_EOF
   15696       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15697 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15698 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15699       else
   15700 	ld_shlibs=no
   15701       fi
   15702       ;;
   15703 
   15704     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15705       case `$LD -v 2>&1` in
   15706         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15707 	ld_shlibs=no
   15708 	cat <<_LT_EOF 1>&2
   15709 
   15710 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15711 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15712 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15713 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15714 *** your PATH or compiler configuration so that the native linker is
   15715 *** used, and then restart.
   15716 
   15717 _LT_EOF
   15718 	;;
   15719 	*)
   15720 	  # For security reasons, it is highly recommended that you always
   15721 	  # use absolute paths for naming shared libraries, and exclude the
   15722 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15723 	  # requires that you compile everything twice, which is a pain.
   15724 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15725 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15726 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15727 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15728 	  else
   15729 	    ld_shlibs=no
   15730 	  fi
   15731 	;;
   15732       esac
   15733       ;;
   15734 
   15735     sunos4*)
   15736       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15737       wlarc=
   15738       hardcode_direct=yes
   15739       hardcode_shlibpath_var=no
   15740       ;;
   15741 
   15742     *)
   15743       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15744 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15745 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15746       else
   15747 	ld_shlibs=no
   15748       fi
   15749       ;;
   15750     esac
   15751 
   15752     if test no = "$ld_shlibs"; then
   15753       runpath_var=
   15754       hardcode_libdir_flag_spec=
   15755       export_dynamic_flag_spec=
   15756       whole_archive_flag_spec=
   15757     fi
   15758   else
   15759     # PORTME fill in a description of your system's linker (not GNU ld)
   15760     case $host_os in
   15761     aix3*)
   15762       allow_undefined_flag=unsupported
   15763       always_export_symbols=yes
   15764       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'
   15765       # Note: this linker hardcodes the directories in LIBPATH if there
   15766       # are no directories specified by -L.
   15767       hardcode_minus_L=yes
   15768       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15769 	# Neither direct hardcoding nor static linking is supported with a
   15770 	# broken collect2.
   15771 	hardcode_direct=unsupported
   15772       fi
   15773       ;;
   15774 
   15775     aix[4-9]*)
   15776       if test ia64 = "$host_cpu"; then
   15777 	# On IA64, the linker does run time linking by default, so we don't
   15778 	# have to do anything special.
   15779 	aix_use_runtimelinking=no
   15780 	exp_sym_flag='-Bexport'
   15781 	no_entry_flag=
   15782       else
   15783 	# If we're using GNU nm, then we don't want the "-C" option.
   15784 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15785 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15786 	# weak defined symbols like other global defined symbols, whereas
   15787 	# GNU nm marks them as "W".
   15788 	# While the 'weak' keyword is ignored in the Export File, we need
   15789 	# it in the Import File for the 'aix-soname' feature, so we have
   15790 	# to replace the "-B" option with "-P" for AIX nm.
   15791 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15792 	  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'
   15793 	else
   15794 	  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'
   15795 	fi
   15796 	aix_use_runtimelinking=no
   15797 
   15798 	# Test if we are trying to use run time linking or normal
   15799 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15800 	# have runtime linking enabled, and use it for executables.
   15801 	# For shared libraries, we enable/disable runtime linking
   15802 	# depending on the kind of the shared library created -
   15803 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15804 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15805 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15806 	#            lib.a           static archive
   15807 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15808 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15809 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15810 	#            lib.a(lib.so.V) shared, rtl:no
   15811 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15812 	#            lib.a           static archive
   15813 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15814 	  for ld_flag in $LDFLAGS; do
   15815 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15816 	    aix_use_runtimelinking=yes
   15817 	    break
   15818 	  fi
   15819 	  done
   15820 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15821 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15822 	    # so we don't have lib.a shared libs to link our executables.
   15823 	    # We have to force runtime linking in this case.
   15824 	    aix_use_runtimelinking=yes
   15825 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15826 	  fi
   15827 	  ;;
   15828 	esac
   15829 
   15830 	exp_sym_flag='-bexport'
   15831 	no_entry_flag='-bnoentry'
   15832       fi
   15833 
   15834       # When large executables or shared objects are built, AIX ld can
   15835       # have problems creating the table of contents.  If linking a library
   15836       # or program results in "error TOC overflow" add -mminimal-toc to
   15837       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15838       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15839 
   15840       archive_cmds=''
   15841       hardcode_direct=yes
   15842       hardcode_direct_absolute=yes
   15843       hardcode_libdir_separator=':'
   15844       link_all_deplibs=yes
   15845       file_list_spec='$wl-f,'
   15846       case $with_aix_soname,$aix_use_runtimelinking in
   15847       aix,*) ;; # traditional, no import file
   15848       svr4,* | *,yes) # use import file
   15849 	# The Import File defines what to hardcode.
   15850 	hardcode_direct=no
   15851 	hardcode_direct_absolute=no
   15852 	;;
   15853       esac
   15854 
   15855       if test yes = "$GCC"; then
   15856 	case $host_os in aix4.[012]|aix4.[012].*)
   15857 	# We only want to do this on AIX 4.2 and lower, the check
   15858 	# below for broken collect2 doesn't work under 4.3+
   15859 	  collect2name=`$CC -print-prog-name=collect2`
   15860 	  if test -f "$collect2name" &&
   15861 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15862 	  then
   15863 	  # We have reworked collect2
   15864 	  :
   15865 	  else
   15866 	  # We have old collect2
   15867 	  hardcode_direct=unsupported
   15868 	  # It fails to find uninstalled libraries when the uninstalled
   15869 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15870 	  # to unsupported forces relinking
   15871 	  hardcode_minus_L=yes
   15872 	  hardcode_libdir_flag_spec='-L$libdir'
   15873 	  hardcode_libdir_separator=
   15874 	  fi
   15875 	  ;;
   15876 	esac
   15877 	shared_flag='-shared'
   15878 	if test yes = "$aix_use_runtimelinking"; then
   15879 	  shared_flag="$shared_flag "'$wl-G'
   15880 	fi
   15881 	# Need to ensure runtime linking is disabled for the traditional
   15882 	# shared library, or the linker may eventually find shared libraries
   15883 	# /with/ Import File - we do not want to mix them.
   15884 	shared_flag_aix='-shared'
   15885 	shared_flag_svr4='-shared $wl-G'
   15886       else
   15887 	# not using gcc
   15888 	if test ia64 = "$host_cpu"; then
   15889 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15890 	# chokes on -Wl,-G. The following line is correct:
   15891 	  shared_flag='-G'
   15892 	else
   15893 	  if test yes = "$aix_use_runtimelinking"; then
   15894 	    shared_flag='$wl-G'
   15895 	  else
   15896 	    shared_flag='$wl-bM:SRE'
   15897 	  fi
   15898 	  shared_flag_aix='$wl-bM:SRE'
   15899 	  shared_flag_svr4='$wl-G'
   15900 	fi
   15901       fi
   15902 
   15903       export_dynamic_flag_spec='$wl-bexpall'
   15904       # It seems that -bexpall does not export symbols beginning with
   15905       # underscore (_), so it is better to generate a list of symbols to export.
   15906       always_export_symbols=yes
   15907       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15908 	# Warning - without using the other runtime loading flags (-brtl),
   15909 	# -berok will link without error, but may produce a broken library.
   15910 	allow_undefined_flag='-berok'
   15911         # Determine the default libpath from the value encoded in an
   15912         # empty executable.
   15913         if test set = "${lt_cv_aix_libpath+set}"; then
   15914   aix_libpath=$lt_cv_aix_libpath
   15915 else
   15916   if ${lt_cv_aix_libpath_+:} false; then :
   15917   $as_echo_n "(cached) " >&6
   15918 else
   15919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15920 /* end confdefs.h.  */
   15921 
   15922 int
   15923 main ()
   15924 {
   15925 
   15926   ;
   15927   return 0;
   15928 }
   15929 _ACEOF
   15930 if ac_fn_c_try_link "$LINENO"; then :
   15931 
   15932   lt_aix_libpath_sed='
   15933       /Import File Strings/,/^$/ {
   15934 	  /^0/ {
   15935 	      s/^0  *\([^ ]*\) *$/\1/
   15936 	      p
   15937 	  }
   15938       }'
   15939   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15940   # Check for a 64-bit object if we didn't find anything.
   15941   if test -z "$lt_cv_aix_libpath_"; then
   15942     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15943   fi
   15944 fi
   15945 rm -f core conftest.err conftest.$ac_objext \
   15946     conftest$ac_exeext conftest.$ac_ext
   15947   if test -z "$lt_cv_aix_libpath_"; then
   15948     lt_cv_aix_libpath_=/usr/lib:/lib
   15949   fi
   15950 
   15951 fi
   15952 
   15953   aix_libpath=$lt_cv_aix_libpath_
   15954 fi
   15955 
   15956         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15957         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
   15958       else
   15959 	if test ia64 = "$host_cpu"; then
   15960 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15961 	  allow_undefined_flag="-z nodefs"
   15962 	  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"
   15963 	else
   15964 	 # Determine the default libpath from the value encoded in an
   15965 	 # empty executable.
   15966 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15967   aix_libpath=$lt_cv_aix_libpath
   15968 else
   15969   if ${lt_cv_aix_libpath_+:} false; then :
   15970   $as_echo_n "(cached) " >&6
   15971 else
   15972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15973 /* end confdefs.h.  */
   15974 
   15975 int
   15976 main ()
   15977 {
   15978 
   15979   ;
   15980   return 0;
   15981 }
   15982 _ACEOF
   15983 if ac_fn_c_try_link "$LINENO"; then :
   15984 
   15985   lt_aix_libpath_sed='
   15986       /Import File Strings/,/^$/ {
   15987 	  /^0/ {
   15988 	      s/^0  *\([^ ]*\) *$/\1/
   15989 	      p
   15990 	  }
   15991       }'
   15992   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15993   # Check for a 64-bit object if we didn't find anything.
   15994   if test -z "$lt_cv_aix_libpath_"; then
   15995     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15996   fi
   15997 fi
   15998 rm -f core conftest.err conftest.$ac_objext \
   15999     conftest$ac_exeext conftest.$ac_ext
   16000   if test -z "$lt_cv_aix_libpath_"; then
   16001     lt_cv_aix_libpath_=/usr/lib:/lib
   16002   fi
   16003 
   16004 fi
   16005 
   16006   aix_libpath=$lt_cv_aix_libpath_
   16007 fi
   16008 
   16009 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16010 	  # Warning - without using the other run time loading flags,
   16011 	  # -berok will link without error, but may produce a broken library.
   16012 	  no_undefined_flag=' $wl-bernotok'
   16013 	  allow_undefined_flag=' $wl-berok'
   16014 	  if test yes = "$with_gnu_ld"; then
   16015 	    # We only use this code for GNU lds that support --whole-archive.
   16016 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16017 	  else
   16018 	    # Exported symbols can be pulled into shared objects from archives
   16019 	    whole_archive_flag_spec='$convenience'
   16020 	  fi
   16021 	  archive_cmds_need_lc=yes
   16022 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16023 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16024 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16025 	  if test svr4 != "$with_aix_soname"; then
   16026 	    # This is similar to how AIX traditionally builds its shared libraries.
   16027 	    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'
   16028 	  fi
   16029 	  if test aix != "$with_aix_soname"; then
   16030 	    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'
   16031 	  else
   16032 	    # used by -dlpreopen to get the symbols
   16033 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16034 	  fi
   16035 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16036 	fi
   16037       fi
   16038       ;;
   16039 
   16040     amigaos*)
   16041       case $host_cpu in
   16042       powerpc)
   16043             # see comment about AmigaOS4 .so support
   16044             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16045             archive_expsym_cmds=''
   16046         ;;
   16047       m68k)
   16048             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)'
   16049             hardcode_libdir_flag_spec='-L$libdir'
   16050             hardcode_minus_L=yes
   16051         ;;
   16052       esac
   16053       ;;
   16054 
   16055     bsdi[45]*)
   16056       export_dynamic_flag_spec=-rdynamic
   16057       ;;
   16058 
   16059     cygwin* | mingw* | pw32* | cegcc*)
   16060       # When not using gcc, we currently assume that we are using
   16061       # Microsoft Visual C++.
   16062       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16063       # no search path for DLLs.
   16064       case $cc_basename in
   16065       cl*)
   16066 	# Native MSVC
   16067 	hardcode_libdir_flag_spec=' '
   16068 	allow_undefined_flag=unsupported
   16069 	always_export_symbols=yes
   16070 	file_list_spec='@'
   16071 	# Tell ltmain to make .lib files, not .a files.
   16072 	libext=lib
   16073 	# Tell ltmain to make .dll files, not .so files.
   16074 	shrext_cmds=.dll
   16075 	# FIXME: Setting linknames here is a bad hack.
   16076 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16077 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16078             cp "$export_symbols" "$output_objdir/$soname.def";
   16079             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16080           else
   16081             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16082           fi~
   16083           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16084           linknames='
   16085 	# The linker will not automatically build a static lib if we build a DLL.
   16086 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16087 	enable_shared_with_static_runtimes=yes
   16088 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16089 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16090 	# Don't use ranlib
   16091 	old_postinstall_cmds='chmod 644 $oldlib'
   16092 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16093           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16094           case $lt_outputfile in
   16095             *.exe|*.EXE) ;;
   16096             *)
   16097               lt_outputfile=$lt_outputfile.exe
   16098               lt_tool_outputfile=$lt_tool_outputfile.exe
   16099               ;;
   16100           esac~
   16101           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16102             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16103             $RM "$lt_outputfile.manifest";
   16104           fi'
   16105 	;;
   16106       *)
   16107 	# Assume MSVC wrapper
   16108 	hardcode_libdir_flag_spec=' '
   16109 	allow_undefined_flag=unsupported
   16110 	# Tell ltmain to make .lib files, not .a files.
   16111 	libext=lib
   16112 	# Tell ltmain to make .dll files, not .so files.
   16113 	shrext_cmds=.dll
   16114 	# FIXME: Setting linknames here is a bad hack.
   16115 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16116 	# The linker will automatically build a .lib file if we build a DLL.
   16117 	old_archive_from_new_cmds='true'
   16118 	# FIXME: Should let the user specify the lib program.
   16119 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16120 	enable_shared_with_static_runtimes=yes
   16121 	;;
   16122       esac
   16123       ;;
   16124 
   16125     darwin* | rhapsody*)
   16126 
   16127 
   16128   archive_cmds_need_lc=no
   16129   hardcode_direct=no
   16130   hardcode_automatic=yes
   16131   hardcode_shlibpath_var=unsupported
   16132   if test yes = "$lt_cv_ld_force_load"; then
   16133     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\"`'
   16134 
   16135   else
   16136     whole_archive_flag_spec=''
   16137   fi
   16138   link_all_deplibs=yes
   16139   allow_undefined_flag=$_lt_dar_allow_undefined
   16140   case $cc_basename in
   16141      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16142      *) _lt_dar_can_shared=$GCC ;;
   16143   esac
   16144   if test yes = "$_lt_dar_can_shared"; then
   16145     output_verbose_link_cmd=func_echo_all
   16146     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16147     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16148     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"
   16149     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"
   16150 
   16151   else
   16152   ld_shlibs=no
   16153   fi
   16154 
   16155       ;;
   16156 
   16157     dgux*)
   16158       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16159       hardcode_libdir_flag_spec='-L$libdir'
   16160       hardcode_shlibpath_var=no
   16161       ;;
   16162 
   16163     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16164     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16165     # does not break anything, and helps significantly (at the cost of a little
   16166     # extra space).
   16167     freebsd2.2*)
   16168       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16169       hardcode_libdir_flag_spec='-R$libdir'
   16170       hardcode_direct=yes
   16171       hardcode_shlibpath_var=no
   16172       ;;
   16173 
   16174     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16175     freebsd2.*)
   16176       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16177       hardcode_direct=yes
   16178       hardcode_minus_L=yes
   16179       hardcode_shlibpath_var=no
   16180       ;;
   16181 
   16182     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16183     freebsd* | dragonfly*)
   16184       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16185       hardcode_libdir_flag_spec='-R$libdir'
   16186       hardcode_direct=yes
   16187       hardcode_shlibpath_var=no
   16188       ;;
   16189 
   16190     hpux9*)
   16191       if test yes = "$GCC"; then
   16192 	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'
   16193       else
   16194 	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'
   16195       fi
   16196       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16197       hardcode_libdir_separator=:
   16198       hardcode_direct=yes
   16199 
   16200       # hardcode_minus_L: Not really in the search PATH,
   16201       # but as the default location of the library.
   16202       hardcode_minus_L=yes
   16203       export_dynamic_flag_spec='$wl-E'
   16204       ;;
   16205 
   16206     hpux10*)
   16207       if test yes,no = "$GCC,$with_gnu_ld"; then
   16208 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16209       else
   16210 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16211       fi
   16212       if test no = "$with_gnu_ld"; then
   16213 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16214 	hardcode_libdir_separator=:
   16215 	hardcode_direct=yes
   16216 	hardcode_direct_absolute=yes
   16217 	export_dynamic_flag_spec='$wl-E'
   16218 	# hardcode_minus_L: Not really in the search PATH,
   16219 	# but as the default location of the library.
   16220 	hardcode_minus_L=yes
   16221       fi
   16222       ;;
   16223 
   16224     hpux11*)
   16225       if test yes,no = "$GCC,$with_gnu_ld"; then
   16226 	case $host_cpu in
   16227 	hppa*64*)
   16228 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16229 	  ;;
   16230 	ia64*)
   16231 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16232 	  ;;
   16233 	*)
   16234 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16235 	  ;;
   16236 	esac
   16237       else
   16238 	case $host_cpu in
   16239 	hppa*64*)
   16240 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16241 	  ;;
   16242 	ia64*)
   16243 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16244 	  ;;
   16245 	*)
   16246 
   16247 	  # Older versions of the 11.00 compiler do not understand -b yet
   16248 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16249 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16250 $as_echo_n "checking if $CC understands -b... " >&6; }
   16251 if ${lt_cv_prog_compiler__b+:} false; then :
   16252   $as_echo_n "(cached) " >&6
   16253 else
   16254   lt_cv_prog_compiler__b=no
   16255    save_LDFLAGS=$LDFLAGS
   16256    LDFLAGS="$LDFLAGS -b"
   16257    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16258    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16259      # The linker can only warn and ignore the option if not recognized
   16260      # So say no if there are warnings
   16261      if test -s conftest.err; then
   16262        # Append any errors to the config.log.
   16263        cat conftest.err 1>&5
   16264        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16265        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16266        if diff conftest.exp conftest.er2 >/dev/null; then
   16267          lt_cv_prog_compiler__b=yes
   16268        fi
   16269      else
   16270        lt_cv_prog_compiler__b=yes
   16271      fi
   16272    fi
   16273    $RM -r conftest*
   16274    LDFLAGS=$save_LDFLAGS
   16275 
   16276 fi
   16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16278 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16279 
   16280 if test yes = "$lt_cv_prog_compiler__b"; then
   16281     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16282 else
   16283     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16284 fi
   16285 
   16286 	  ;;
   16287 	esac
   16288       fi
   16289       if test no = "$with_gnu_ld"; then
   16290 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16291 	hardcode_libdir_separator=:
   16292 
   16293 	case $host_cpu in
   16294 	hppa*64*|ia64*)
   16295 	  hardcode_direct=no
   16296 	  hardcode_shlibpath_var=no
   16297 	  ;;
   16298 	*)
   16299 	  hardcode_direct=yes
   16300 	  hardcode_direct_absolute=yes
   16301 	  export_dynamic_flag_spec='$wl-E'
   16302 
   16303 	  # hardcode_minus_L: Not really in the search PATH,
   16304 	  # but as the default location of the library.
   16305 	  hardcode_minus_L=yes
   16306 	  ;;
   16307 	esac
   16308       fi
   16309       ;;
   16310 
   16311     irix5* | irix6* | nonstopux*)
   16312       if test yes = "$GCC"; then
   16313 	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'
   16314 	# Try to use the -exported_symbol ld option, if it does not
   16315 	# work, assume that -exports_file does not work either and
   16316 	# implicitly export all symbols.
   16317 	# This should be the same for all languages, so no per-tag cache variable.
   16318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16319 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16320 if ${lt_cv_irix_exported_symbol+:} false; then :
   16321   $as_echo_n "(cached) " >&6
   16322 else
   16323   save_LDFLAGS=$LDFLAGS
   16324 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16325 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16326 /* end confdefs.h.  */
   16327 int foo (void) { return 0; }
   16328 _ACEOF
   16329 if ac_fn_c_try_link "$LINENO"; then :
   16330   lt_cv_irix_exported_symbol=yes
   16331 else
   16332   lt_cv_irix_exported_symbol=no
   16333 fi
   16334 rm -f core conftest.err conftest.$ac_objext \
   16335     conftest$ac_exeext conftest.$ac_ext
   16336            LDFLAGS=$save_LDFLAGS
   16337 fi
   16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16339 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16340 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16341           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'
   16342 	fi
   16343       else
   16344 	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'
   16345 	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'
   16346       fi
   16347       archive_cmds_need_lc='no'
   16348       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16349       hardcode_libdir_separator=:
   16350       inherit_rpath=yes
   16351       link_all_deplibs=yes
   16352       ;;
   16353 
   16354     linux*)
   16355       case $cc_basename in
   16356       tcc*)
   16357 	# Fabrice Bellard et al's Tiny C Compiler
   16358 	ld_shlibs=yes
   16359 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16360 	;;
   16361       esac
   16362       ;;
   16363 
   16364     netbsd*)
   16365       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16366 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16367       else
   16368 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16369       fi
   16370       hardcode_libdir_flag_spec='-R$libdir'
   16371       hardcode_direct=yes
   16372       hardcode_shlibpath_var=no
   16373       ;;
   16374 
   16375     newsos6)
   16376       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16377       hardcode_direct=yes
   16378       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16379       hardcode_libdir_separator=:
   16380       hardcode_shlibpath_var=no
   16381       ;;
   16382 
   16383     *nto* | *qnx*)
   16384       ;;
   16385 
   16386     openbsd* | bitrig*)
   16387       if test -f /usr/libexec/ld.so; then
   16388 	hardcode_direct=yes
   16389 	hardcode_shlibpath_var=no
   16390 	hardcode_direct_absolute=yes
   16391 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16392 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16393 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16394 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16395 	  export_dynamic_flag_spec='$wl-E'
   16396 	else
   16397 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16398 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16399 	fi
   16400       else
   16401 	ld_shlibs=no
   16402       fi
   16403       ;;
   16404 
   16405     os2*)
   16406       hardcode_libdir_flag_spec='-L$libdir'
   16407       hardcode_minus_L=yes
   16408       allow_undefined_flag=unsupported
   16409       shrext_cmds=.dll
   16410       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16411 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16412 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16413 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16414 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16415 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16416 	emximp -o $lib $output_objdir/$libname.def'
   16417       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16418 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16419 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16420 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16421 	prefix_cmds="$SED"~
   16422 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16423 	  prefix_cmds="$prefix_cmds -e 1d";
   16424 	fi~
   16425 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16426 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16427 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16428 	emximp -o $lib $output_objdir/$libname.def'
   16429       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16430       enable_shared_with_static_runtimes=yes
   16431       ;;
   16432 
   16433     osf3*)
   16434       if test yes = "$GCC"; then
   16435 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16436 	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'
   16437       else
   16438 	allow_undefined_flag=' -expect_unresolved \*'
   16439 	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'
   16440       fi
   16441       archive_cmds_need_lc='no'
   16442       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16443       hardcode_libdir_separator=:
   16444       ;;
   16445 
   16446     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16447       if test yes = "$GCC"; then
   16448 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16449 	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'
   16450 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16451       else
   16452 	allow_undefined_flag=' -expect_unresolved \*'
   16453 	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'
   16454 	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~
   16455           $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'
   16456 
   16457 	# Both c and cxx compiler support -rpath directly
   16458 	hardcode_libdir_flag_spec='-rpath $libdir'
   16459       fi
   16460       archive_cmds_need_lc='no'
   16461       hardcode_libdir_separator=:
   16462       ;;
   16463 
   16464     solaris*)
   16465       no_undefined_flag=' -z defs'
   16466       if test yes = "$GCC"; then
   16467 	wlarc='$wl'
   16468 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16469 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16470           $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'
   16471       else
   16472 	case `$CC -V 2>&1` in
   16473 	*"Compilers 5.0"*)
   16474 	  wlarc=''
   16475 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16476 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16477             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16478 	  ;;
   16479 	*)
   16480 	  wlarc='$wl'
   16481 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16482 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16483             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16484 	  ;;
   16485 	esac
   16486       fi
   16487       hardcode_libdir_flag_spec='-R$libdir'
   16488       hardcode_shlibpath_var=no
   16489       case $host_os in
   16490       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16491       *)
   16492 	# The compiler driver will combine and reorder linker options,
   16493 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16494 	# but is careful enough not to reorder.
   16495 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16496 	if test yes = "$GCC"; then
   16497 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16498 	else
   16499 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16500 	fi
   16501 	;;
   16502       esac
   16503       link_all_deplibs=yes
   16504       ;;
   16505 
   16506     sunos4*)
   16507       if test sequent = "$host_vendor"; then
   16508 	# Use $CC to link under sequent, because it throws in some extra .o
   16509 	# files that make .init and .fini sections work.
   16510 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16511       else
   16512 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16513       fi
   16514       hardcode_libdir_flag_spec='-L$libdir'
   16515       hardcode_direct=yes
   16516       hardcode_minus_L=yes
   16517       hardcode_shlibpath_var=no
   16518       ;;
   16519 
   16520     sysv4)
   16521       case $host_vendor in
   16522 	sni)
   16523 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16524 	  hardcode_direct=yes # is this really true???
   16525 	;;
   16526 	siemens)
   16527 	  ## LD is ld it makes a PLAMLIB
   16528 	  ## CC just makes a GrossModule.
   16529 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16530 	  reload_cmds='$CC -r -o $output$reload_objs'
   16531 	  hardcode_direct=no
   16532         ;;
   16533 	motorola)
   16534 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16535 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16536 	;;
   16537       esac
   16538       runpath_var='LD_RUN_PATH'
   16539       hardcode_shlibpath_var=no
   16540       ;;
   16541 
   16542     sysv4.3*)
   16543       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16544       hardcode_shlibpath_var=no
   16545       export_dynamic_flag_spec='-Bexport'
   16546       ;;
   16547 
   16548     sysv4*MP*)
   16549       if test -d /usr/nec; then
   16550 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16551 	hardcode_shlibpath_var=no
   16552 	runpath_var=LD_RUN_PATH
   16553 	hardcode_runpath_var=yes
   16554 	ld_shlibs=yes
   16555       fi
   16556       ;;
   16557 
   16558     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16559       no_undefined_flag='$wl-z,text'
   16560       archive_cmds_need_lc=no
   16561       hardcode_shlibpath_var=no
   16562       runpath_var='LD_RUN_PATH'
   16563 
   16564       if test yes = "$GCC"; then
   16565 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16566 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16567       else
   16568 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16569 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16570       fi
   16571       ;;
   16572 
   16573     sysv5* | sco3.2v5* | sco5v6*)
   16574       # Note: We CANNOT use -z defs as we might desire, because we do not
   16575       # link with -lc, and that would cause any symbols used from libc to
   16576       # always be unresolved, which means just about no library would
   16577       # ever link correctly.  If we're not using GNU ld we use -z text
   16578       # though, which does catch some bad symbols but isn't as heavy-handed
   16579       # as -z defs.
   16580       no_undefined_flag='$wl-z,text'
   16581       allow_undefined_flag='$wl-z,nodefs'
   16582       archive_cmds_need_lc=no
   16583       hardcode_shlibpath_var=no
   16584       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16585       hardcode_libdir_separator=':'
   16586       link_all_deplibs=yes
   16587       export_dynamic_flag_spec='$wl-Bexport'
   16588       runpath_var='LD_RUN_PATH'
   16589 
   16590       if test yes = "$GCC"; then
   16591 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16592 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16593       else
   16594 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16595 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16596       fi
   16597       ;;
   16598 
   16599     uts4*)
   16600       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16601       hardcode_libdir_flag_spec='-L$libdir'
   16602       hardcode_shlibpath_var=no
   16603       ;;
   16604 
   16605     *)
   16606       ld_shlibs=no
   16607       ;;
   16608     esac
   16609 
   16610     if test sni = "$host_vendor"; then
   16611       case $host in
   16612       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16613 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16614 	;;
   16615       esac
   16616     fi
   16617   fi
   16618 
   16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16620 $as_echo "$ld_shlibs" >&6; }
   16621 test no = "$ld_shlibs" && can_build_shared=no
   16622 
   16623 with_gnu_ld=$with_gnu_ld
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 #
   16640 # Do we need to explicitly link libc?
   16641 #
   16642 case "x$archive_cmds_need_lc" in
   16643 x|xyes)
   16644   # Assume -lc should be added
   16645   archive_cmds_need_lc=yes
   16646 
   16647   if test yes,yes = "$GCC,$enable_shared"; then
   16648     case $archive_cmds in
   16649     *'~'*)
   16650       # FIXME: we may have to deal with multi-command sequences.
   16651       ;;
   16652     '$CC '*)
   16653       # Test whether the compiler implicitly links with -lc since on some
   16654       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16655       # to ld, don't add -lc before -lgcc.
   16656       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16657 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16658 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16659   $as_echo_n "(cached) " >&6
   16660 else
   16661   $RM conftest*
   16662 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16663 
   16664 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16665   (eval $ac_compile) 2>&5
   16666   ac_status=$?
   16667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16668   test $ac_status = 0; } 2>conftest.err; then
   16669 	  soname=conftest
   16670 	  lib=conftest
   16671 	  libobjs=conftest.$ac_objext
   16672 	  deplibs=
   16673 	  wl=$lt_prog_compiler_wl
   16674 	  pic_flag=$lt_prog_compiler_pic
   16675 	  compiler_flags=-v
   16676 	  linker_flags=-v
   16677 	  verstring=
   16678 	  output_objdir=.
   16679 	  libname=conftest
   16680 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16681 	  allow_undefined_flag=
   16682 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16683   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16684   ac_status=$?
   16685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16686   test $ac_status = 0; }
   16687 	  then
   16688 	    lt_cv_archive_cmds_need_lc=no
   16689 	  else
   16690 	    lt_cv_archive_cmds_need_lc=yes
   16691 	  fi
   16692 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16693 	else
   16694 	  cat conftest.err 1>&5
   16695 	fi
   16696 	$RM conftest*
   16697 
   16698 fi
   16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16700 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16701       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16702       ;;
   16703     esac
   16704   fi
   16705   ;;
   16706 esac
   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 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16860 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16861 
   16862 if test yes = "$GCC"; then
   16863   case $host_os in
   16864     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16865     *) lt_awk_arg='/^libraries:/' ;;
   16866   esac
   16867   case $host_os in
   16868     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16869     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16870   esac
   16871   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16872   case $lt_search_path_spec in
   16873   *\;*)
   16874     # if the path contains ";" then we assume it to be the separator
   16875     # otherwise default to the standard path separator (i.e. ":") - it is
   16876     # assumed that no part of a normal pathname contains ";" but that should
   16877     # okay in the real world where ";" in dirpaths is itself problematic.
   16878     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16879     ;;
   16880   *)
   16881     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16882     ;;
   16883   esac
   16884   # Ok, now we have the path, separated by spaces, we can step through it
   16885   # and add multilib dir if necessary...
   16886   lt_tmp_lt_search_path_spec=
   16887   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16888   # ...but if some path component already ends with the multilib dir we assume
   16889   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16890   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16891   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16892     lt_multi_os_dir=
   16893     ;;
   16894   esac
   16895   for lt_sys_path in $lt_search_path_spec; do
   16896     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16897       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16898     elif test -n "$lt_multi_os_dir"; then
   16899       test -d "$lt_sys_path" && \
   16900 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16901     fi
   16902   done
   16903   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16904 BEGIN {RS = " "; FS = "/|\n";} {
   16905   lt_foo = "";
   16906   lt_count = 0;
   16907   for (lt_i = NF; lt_i > 0; lt_i--) {
   16908     if ($lt_i != "" && $lt_i != ".") {
   16909       if ($lt_i == "..") {
   16910         lt_count++;
   16911       } else {
   16912         if (lt_count == 0) {
   16913           lt_foo = "/" $lt_i lt_foo;
   16914         } else {
   16915           lt_count--;
   16916         }
   16917       }
   16918     }
   16919   }
   16920   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16921   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16922 }'`
   16923   # AWK program above erroneously prepends '/' to C:/dos/paths
   16924   # for these hosts.
   16925   case $host_os in
   16926     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16927       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16928   esac
   16929   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16930 else
   16931   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16932 fi
   16933 library_names_spec=
   16934 libname_spec='lib$name'
   16935 soname_spec=
   16936 shrext_cmds=.so
   16937 postinstall_cmds=
   16938 postuninstall_cmds=
   16939 finish_cmds=
   16940 finish_eval=
   16941 shlibpath_var=
   16942 shlibpath_overrides_runpath=unknown
   16943 version_type=none
   16944 dynamic_linker="$host_os ld.so"
   16945 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16946 need_lib_prefix=unknown
   16947 hardcode_into_libs=no
   16948 
   16949 # when you set need_version to no, make sure it does not cause -set_version
   16950 # flags to be left without arguments
   16951 need_version=unknown
   16952 
   16953 
   16954 
   16955 case $host_os in
   16956 aix3*)
   16957   version_type=linux # correct to gnu/linux during the next big refactor
   16958   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16959   shlibpath_var=LIBPATH
   16960 
   16961   # AIX 3 has no versioning support, so we append a major version to the name.
   16962   soname_spec='$libname$release$shared_ext$major'
   16963   ;;
   16964 
   16965 aix[4-9]*)
   16966   version_type=linux # correct to gnu/linux during the next big refactor
   16967   need_lib_prefix=no
   16968   need_version=no
   16969   hardcode_into_libs=yes
   16970   if test ia64 = "$host_cpu"; then
   16971     # AIX 5 supports IA64
   16972     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16973     shlibpath_var=LD_LIBRARY_PATH
   16974   else
   16975     # With GCC up to 2.95.x, collect2 would create an import file
   16976     # for dependence libraries.  The import file would start with
   16977     # the line '#! .'.  This would cause the generated library to
   16978     # depend on '.', always an invalid library.  This was fixed in
   16979     # development snapshots of GCC prior to 3.0.
   16980     case $host_os in
   16981       aix4 | aix4.[01] | aix4.[01].*)
   16982       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16983 	   echo ' yes '
   16984 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16985 	:
   16986       else
   16987 	can_build_shared=no
   16988       fi
   16989       ;;
   16990     esac
   16991     # Using Import Files as archive members, it is possible to support
   16992     # filename-based versioning of shared library archives on AIX. While
   16993     # this would work for both with and without runtime linking, it will
   16994     # prevent static linking of such archives. So we do filename-based
   16995     # shared library versioning with .so extension only, which is used
   16996     # when both runtime linking and shared linking is enabled.
   16997     # Unfortunately, runtime linking may impact performance, so we do
   16998     # not want this to be the default eventually. Also, we use the
   16999     # versioned .so libs for executables only if there is the -brtl
   17000     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17001     # To allow for filename-based versioning support, we need to create
   17002     # libNAME.so.V as an archive file, containing:
   17003     # *) an Import File, referring to the versioned filename of the
   17004     #    archive as well as the shared archive member, telling the
   17005     #    bitwidth (32 or 64) of that shared object, and providing the
   17006     #    list of exported symbols of that shared object, eventually
   17007     #    decorated with the 'weak' keyword
   17008     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17009     #    it being seen by the linker.
   17010     # At run time we better use the real file rather than another symlink,
   17011     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17012 
   17013     case $with_aix_soname,$aix_use_runtimelinking in
   17014     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17015     # soname into executable. Probably we can add versioning support to
   17016     # collect2, so additional links can be useful in future.
   17017     aix,yes) # traditional libtool
   17018       dynamic_linker='AIX unversionable lib.so'
   17019       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17020       # instead of lib<name>.a to let people know that these are not
   17021       # typical AIX shared libraries.
   17022       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17023       ;;
   17024     aix,no) # traditional AIX only
   17025       dynamic_linker='AIX lib.a(lib.so.V)'
   17026       # We preserve .a as extension for shared libraries through AIX4.2
   17027       # and later when we are not doing run time linking.
   17028       library_names_spec='$libname$release.a $libname.a'
   17029       soname_spec='$libname$release$shared_ext$major'
   17030       ;;
   17031     svr4,*) # full svr4 only
   17032       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17033       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17034       # We do not specify a path in Import Files, so LIBPATH fires.
   17035       shlibpath_overrides_runpath=yes
   17036       ;;
   17037     *,yes) # both, prefer svr4
   17038       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17039       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17040       # unpreferred sharedlib libNAME.a needs extra handling
   17041       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"'
   17042       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"'
   17043       # We do not specify a path in Import Files, so LIBPATH fires.
   17044       shlibpath_overrides_runpath=yes
   17045       ;;
   17046     *,no) # both, prefer aix
   17047       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17048       library_names_spec='$libname$release.a $libname.a'
   17049       soname_spec='$libname$release$shared_ext$major'
   17050       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17051       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)'
   17052       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"'
   17053       ;;
   17054     esac
   17055     shlibpath_var=LIBPATH
   17056   fi
   17057   ;;
   17058 
   17059 amigaos*)
   17060   case $host_cpu in
   17061   powerpc)
   17062     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17063     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17064     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17065     ;;
   17066   m68k)
   17067     library_names_spec='$libname.ixlibrary $libname.a'
   17068     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17069     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'
   17070     ;;
   17071   esac
   17072   ;;
   17073 
   17074 beos*)
   17075   library_names_spec='$libname$shared_ext'
   17076   dynamic_linker="$host_os ld.so"
   17077   shlibpath_var=LIBRARY_PATH
   17078   ;;
   17079 
   17080 bsdi[45]*)
   17081   version_type=linux # correct to gnu/linux during the next big refactor
   17082   need_version=no
   17083   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17084   soname_spec='$libname$release$shared_ext$major'
   17085   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17086   shlibpath_var=LD_LIBRARY_PATH
   17087   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17088   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17089   # the default ld.so.conf also contains /usr/contrib/lib and
   17090   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17091   # libtool to hard-code these into programs
   17092   ;;
   17093 
   17094 cygwin* | mingw* | pw32* | cegcc*)
   17095   version_type=windows
   17096   shrext_cmds=.dll
   17097   need_version=no
   17098   need_lib_prefix=no
   17099 
   17100   case $GCC,$cc_basename in
   17101   yes,*)
   17102     # gcc
   17103     library_names_spec='$libname.dll.a'
   17104     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17105     postinstall_cmds='base_file=`basename \$file`~
   17106       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17107       dldir=$destdir/`dirname \$dlpath`~
   17108       test -d \$dldir || mkdir -p \$dldir~
   17109       $install_prog $dir/$dlname \$dldir/$dlname~
   17110       chmod a+x \$dldir/$dlname~
   17111       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17112         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17113       fi'
   17114     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17115       dlpath=$dir/\$dldll~
   17116        $RM \$dlpath'
   17117     shlibpath_overrides_runpath=yes
   17118 
   17119     case $host_os in
   17120     cygwin*)
   17121       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17122       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17123 
   17124       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17125       ;;
   17126     mingw* | cegcc*)
   17127       # MinGW DLLs use traditional 'lib' prefix
   17128       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17129       ;;
   17130     pw32*)
   17131       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17132       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17133       ;;
   17134     esac
   17135     dynamic_linker='Win32 ld.exe'
   17136     ;;
   17137 
   17138   *,cl*)
   17139     # Native MSVC
   17140     libname_spec='$name'
   17141     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17142     library_names_spec='$libname.dll.lib'
   17143 
   17144     case $build_os in
   17145     mingw*)
   17146       sys_lib_search_path_spec=
   17147       lt_save_ifs=$IFS
   17148       IFS=';'
   17149       for lt_path in $LIB
   17150       do
   17151         IFS=$lt_save_ifs
   17152         # Let DOS variable expansion print the short 8.3 style file name.
   17153         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17154         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17155       done
   17156       IFS=$lt_save_ifs
   17157       # Convert to MSYS style.
   17158       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17159       ;;
   17160     cygwin*)
   17161       # Convert to unix form, then to dos form, then back to unix form
   17162       # but this time dos style (no spaces!) so that the unix form looks
   17163       # like /cygdrive/c/PROGRA~1:/cygdr...
   17164       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17165       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17166       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17167       ;;
   17168     *)
   17169       sys_lib_search_path_spec=$LIB
   17170       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17171         # It is most probably a Windows format PATH.
   17172         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17173       else
   17174         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17175       fi
   17176       # FIXME: find the short name or the path components, as spaces are
   17177       # common. (e.g. "Program Files" -> "PROGRA~1")
   17178       ;;
   17179     esac
   17180 
   17181     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17182     postinstall_cmds='base_file=`basename \$file`~
   17183       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17184       dldir=$destdir/`dirname \$dlpath`~
   17185       test -d \$dldir || mkdir -p \$dldir~
   17186       $install_prog $dir/$dlname \$dldir/$dlname'
   17187     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17188       dlpath=$dir/\$dldll~
   17189        $RM \$dlpath'
   17190     shlibpath_overrides_runpath=yes
   17191     dynamic_linker='Win32 link.exe'
   17192     ;;
   17193 
   17194   *)
   17195     # Assume MSVC wrapper
   17196     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17197     dynamic_linker='Win32 ld.exe'
   17198     ;;
   17199   esac
   17200   # FIXME: first we should search . and the directory the executable is in
   17201   shlibpath_var=PATH
   17202   ;;
   17203 
   17204 darwin* | rhapsody*)
   17205   dynamic_linker="$host_os dyld"
   17206   version_type=darwin
   17207   need_lib_prefix=no
   17208   need_version=no
   17209   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17210   soname_spec='$libname$release$major$shared_ext'
   17211   shlibpath_overrides_runpath=yes
   17212   shlibpath_var=DYLD_LIBRARY_PATH
   17213   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17214 
   17215   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17216   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17217   ;;
   17218 
   17219 dgux*)
   17220   version_type=linux # correct to gnu/linux during the next big refactor
   17221   need_lib_prefix=no
   17222   need_version=no
   17223   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17224   soname_spec='$libname$release$shared_ext$major'
   17225   shlibpath_var=LD_LIBRARY_PATH
   17226   ;;
   17227 
   17228 freebsd* | dragonfly*)
   17229   # DragonFly does not have aout.  When/if they implement a new
   17230   # versioning mechanism, adjust this.
   17231   if test -x /usr/bin/objformat; then
   17232     objformat=`/usr/bin/objformat`
   17233   else
   17234     case $host_os in
   17235     freebsd[23].*) objformat=aout ;;
   17236     *) objformat=elf ;;
   17237     esac
   17238   fi
   17239   version_type=freebsd-$objformat
   17240   case $version_type in
   17241     freebsd-elf*)
   17242       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17243       soname_spec='$libname$release$shared_ext$major'
   17244       need_version=no
   17245       need_lib_prefix=no
   17246       ;;
   17247     freebsd-*)
   17248       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17249       need_version=yes
   17250       ;;
   17251   esac
   17252   shlibpath_var=LD_LIBRARY_PATH
   17253   case $host_os in
   17254   freebsd2.*)
   17255     shlibpath_overrides_runpath=yes
   17256     ;;
   17257   freebsd3.[01]* | freebsdelf3.[01]*)
   17258     shlibpath_overrides_runpath=yes
   17259     hardcode_into_libs=yes
   17260     ;;
   17261   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17262   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17263     shlibpath_overrides_runpath=no
   17264     hardcode_into_libs=yes
   17265     ;;
   17266   *) # from 4.6 on, and DragonFly
   17267     shlibpath_overrides_runpath=yes
   17268     hardcode_into_libs=yes
   17269     ;;
   17270   esac
   17271   ;;
   17272 
   17273 haiku*)
   17274   version_type=linux # correct to gnu/linux during the next big refactor
   17275   need_lib_prefix=no
   17276   need_version=no
   17277   dynamic_linker="$host_os runtime_loader"
   17278   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17279   soname_spec='$libname$release$shared_ext$major'
   17280   shlibpath_var=LIBRARY_PATH
   17281   shlibpath_overrides_runpath=no
   17282   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17283   hardcode_into_libs=yes
   17284   ;;
   17285 
   17286 hpux9* | hpux10* | hpux11*)
   17287   # Give a soname corresponding to the major version so that dld.sl refuses to
   17288   # link against other versions.
   17289   version_type=sunos
   17290   need_lib_prefix=no
   17291   need_version=no
   17292   case $host_cpu in
   17293   ia64*)
   17294     shrext_cmds='.so'
   17295     hardcode_into_libs=yes
   17296     dynamic_linker="$host_os dld.so"
   17297     shlibpath_var=LD_LIBRARY_PATH
   17298     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17299     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17300     soname_spec='$libname$release$shared_ext$major'
   17301     if test 32 = "$HPUX_IA64_MODE"; then
   17302       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17303       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17304     else
   17305       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17306       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17307     fi
   17308     ;;
   17309   hppa*64*)
   17310     shrext_cmds='.sl'
   17311     hardcode_into_libs=yes
   17312     dynamic_linker="$host_os dld.sl"
   17313     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17314     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17315     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17316     soname_spec='$libname$release$shared_ext$major'
   17317     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17318     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17319     ;;
   17320   *)
   17321     shrext_cmds='.sl'
   17322     dynamic_linker="$host_os dld.sl"
   17323     shlibpath_var=SHLIB_PATH
   17324     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17325     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17326     soname_spec='$libname$release$shared_ext$major'
   17327     ;;
   17328   esac
   17329   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17330   postinstall_cmds='chmod 555 $lib'
   17331   # or fails outright, so override atomically:
   17332   install_override_mode=555
   17333   ;;
   17334 
   17335 interix[3-9]*)
   17336   version_type=linux # correct to gnu/linux during the next big refactor
   17337   need_lib_prefix=no
   17338   need_version=no
   17339   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17340   soname_spec='$libname$release$shared_ext$major'
   17341   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17342   shlibpath_var=LD_LIBRARY_PATH
   17343   shlibpath_overrides_runpath=no
   17344   hardcode_into_libs=yes
   17345   ;;
   17346 
   17347 irix5* | irix6* | nonstopux*)
   17348   case $host_os in
   17349     nonstopux*) version_type=nonstopux ;;
   17350     *)
   17351 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17352 		version_type=linux # correct to gnu/linux during the next big refactor
   17353 	else
   17354 		version_type=irix
   17355 	fi ;;
   17356   esac
   17357   need_lib_prefix=no
   17358   need_version=no
   17359   soname_spec='$libname$release$shared_ext$major'
   17360   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17361   case $host_os in
   17362   irix5* | nonstopux*)
   17363     libsuff= shlibsuff=
   17364     ;;
   17365   *)
   17366     case $LD in # libtool.m4 will add one of these switches to LD
   17367     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17368       libsuff= shlibsuff= libmagic=32-bit;;
   17369     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17370       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17371     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17372       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17373     *) libsuff= shlibsuff= libmagic=never-match;;
   17374     esac
   17375     ;;
   17376   esac
   17377   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17378   shlibpath_overrides_runpath=no
   17379   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17380   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17381   hardcode_into_libs=yes
   17382   ;;
   17383 
   17384 # No shared lib support for Linux oldld, aout, or coff.
   17385 linux*oldld* | linux*aout* | linux*coff*)
   17386   dynamic_linker=no
   17387   ;;
   17388 
   17389 linux*android*)
   17390   version_type=none # Android doesn't support versioned libraries.
   17391   need_lib_prefix=no
   17392   need_version=no
   17393   library_names_spec='$libname$release$shared_ext'
   17394   soname_spec='$libname$release$shared_ext'
   17395   finish_cmds=
   17396   shlibpath_var=LD_LIBRARY_PATH
   17397   shlibpath_overrides_runpath=yes
   17398 
   17399   # This implies no fast_install, which is unacceptable.
   17400   # Some rework will be needed to allow for fast_install
   17401   # before this can be enabled.
   17402   hardcode_into_libs=yes
   17403 
   17404   dynamic_linker='Android linker'
   17405   # Don't embed -rpath directories since the linker doesn't support them.
   17406   hardcode_libdir_flag_spec='-L$libdir'
   17407   ;;
   17408 
   17409 # This must be glibc/ELF.
   17410 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17411   version_type=linux # correct to gnu/linux during the next big refactor
   17412   need_lib_prefix=no
   17413   need_version=no
   17414   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17415   soname_spec='$libname$release$shared_ext$major'
   17416   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17417   shlibpath_var=LD_LIBRARY_PATH
   17418   shlibpath_overrides_runpath=no
   17419 
   17420   # Some binutils ld are patched to set DT_RUNPATH
   17421   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17422   $as_echo_n "(cached) " >&6
   17423 else
   17424   lt_cv_shlibpath_overrides_runpath=no
   17425     save_LDFLAGS=$LDFLAGS
   17426     save_libdir=$libdir
   17427     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17428 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17429     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17430 /* end confdefs.h.  */
   17431 
   17432 int
   17433 main ()
   17434 {
   17435 
   17436   ;
   17437   return 0;
   17438 }
   17439 _ACEOF
   17440 if ac_fn_c_try_link "$LINENO"; then :
   17441   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17442   lt_cv_shlibpath_overrides_runpath=yes
   17443 fi
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext \
   17446     conftest$ac_exeext conftest.$ac_ext
   17447     LDFLAGS=$save_LDFLAGS
   17448     libdir=$save_libdir
   17449 
   17450 fi
   17451 
   17452   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17453 
   17454   # This implies no fast_install, which is unacceptable.
   17455   # Some rework will be needed to allow for fast_install
   17456   # before this can be enabled.
   17457   hardcode_into_libs=yes
   17458 
   17459   # Ideally, we could use ldconfig to report *all* directores which are
   17460   # searched for libraries, however this is still not possible.  Aside from not
   17461   # being certain /sbin/ldconfig is available, command
   17462   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17463   # even though it is searched at run-time.  Try to do the best guess by
   17464   # appending ld.so.conf contents (and includes) to the search path.
   17465   if test -f /etc/ld.so.conf; then
   17466     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' ' '`
   17467     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17468   fi
   17469 
   17470   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17471   # powerpc, because MkLinux only supported shared libraries with the
   17472   # GNU dynamic linker.  Since this was broken with cross compilers,
   17473   # most powerpc-linux boxes support dynamic linking these days and
   17474   # people can always --disable-shared, the test was removed, and we
   17475   # assume the GNU/Linux dynamic linker is in use.
   17476   dynamic_linker='GNU/Linux ld.so'
   17477   ;;
   17478 
   17479 netbsd*)
   17480   version_type=sunos
   17481   need_lib_prefix=no
   17482   need_version=no
   17483   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17484     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17485     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17486     dynamic_linker='NetBSD (a.out) ld.so'
   17487   else
   17488     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17489     soname_spec='$libname$release$shared_ext$major'
   17490     dynamic_linker='NetBSD ld.elf_so'
   17491   fi
   17492   shlibpath_var=LD_LIBRARY_PATH
   17493   shlibpath_overrides_runpath=yes
   17494   hardcode_into_libs=yes
   17495   ;;
   17496 
   17497 newsos6)
   17498   version_type=linux # correct to gnu/linux during the next big refactor
   17499   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17500   shlibpath_var=LD_LIBRARY_PATH
   17501   shlibpath_overrides_runpath=yes
   17502   ;;
   17503 
   17504 *nto* | *qnx*)
   17505   version_type=qnx
   17506   need_lib_prefix=no
   17507   need_version=no
   17508   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17509   soname_spec='$libname$release$shared_ext$major'
   17510   shlibpath_var=LD_LIBRARY_PATH
   17511   shlibpath_overrides_runpath=no
   17512   hardcode_into_libs=yes
   17513   dynamic_linker='ldqnx.so'
   17514   ;;
   17515 
   17516 openbsd* | bitrig*)
   17517   version_type=sunos
   17518   sys_lib_dlsearch_path_spec=/usr/lib
   17519   need_lib_prefix=no
   17520   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17521     need_version=no
   17522   else
   17523     need_version=yes
   17524   fi
   17525   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17526   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17527   shlibpath_var=LD_LIBRARY_PATH
   17528   shlibpath_overrides_runpath=yes
   17529   ;;
   17530 
   17531 os2*)
   17532   libname_spec='$name'
   17533   version_type=windows
   17534   shrext_cmds=.dll
   17535   need_version=no
   17536   need_lib_prefix=no
   17537   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17538   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17539     v=$($ECHO $release$versuffix | tr -d .-);
   17540     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17541     $ECHO $n$v`$shared_ext'
   17542   library_names_spec='${libname}_dll.$libext'
   17543   dynamic_linker='OS/2 ld.exe'
   17544   shlibpath_var=BEGINLIBPATH
   17545   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17546   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17547   postinstall_cmds='base_file=`basename \$file`~
   17548     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17549     dldir=$destdir/`dirname \$dlpath`~
   17550     test -d \$dldir || mkdir -p \$dldir~
   17551     $install_prog $dir/$dlname \$dldir/$dlname~
   17552     chmod a+x \$dldir/$dlname~
   17553     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17554       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17555     fi'
   17556   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17557     dlpath=$dir/\$dldll~
   17558     $RM \$dlpath'
   17559   ;;
   17560 
   17561 osf3* | osf4* | osf5*)
   17562   version_type=osf
   17563   need_lib_prefix=no
   17564   need_version=no
   17565   soname_spec='$libname$release$shared_ext$major'
   17566   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17567   shlibpath_var=LD_LIBRARY_PATH
   17568   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17569   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17570   ;;
   17571 
   17572 rdos*)
   17573   dynamic_linker=no
   17574   ;;
   17575 
   17576 solaris*)
   17577   version_type=linux # correct to gnu/linux during the next big refactor
   17578   need_lib_prefix=no
   17579   need_version=no
   17580   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17581   soname_spec='$libname$release$shared_ext$major'
   17582   shlibpath_var=LD_LIBRARY_PATH
   17583   shlibpath_overrides_runpath=yes
   17584   hardcode_into_libs=yes
   17585   # ldd complains unless libraries are executable
   17586   postinstall_cmds='chmod +x $lib'
   17587   ;;
   17588 
   17589 sunos4*)
   17590   version_type=sunos
   17591   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17592   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17593   shlibpath_var=LD_LIBRARY_PATH
   17594   shlibpath_overrides_runpath=yes
   17595   if test yes = "$with_gnu_ld"; then
   17596     need_lib_prefix=no
   17597   fi
   17598   need_version=yes
   17599   ;;
   17600 
   17601 sysv4 | sysv4.3*)
   17602   version_type=linux # correct to gnu/linux during the next big refactor
   17603   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17604   soname_spec='$libname$release$shared_ext$major'
   17605   shlibpath_var=LD_LIBRARY_PATH
   17606   case $host_vendor in
   17607     sni)
   17608       shlibpath_overrides_runpath=no
   17609       need_lib_prefix=no
   17610       runpath_var=LD_RUN_PATH
   17611       ;;
   17612     siemens)
   17613       need_lib_prefix=no
   17614       ;;
   17615     motorola)
   17616       need_lib_prefix=no
   17617       need_version=no
   17618       shlibpath_overrides_runpath=no
   17619       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17620       ;;
   17621   esac
   17622   ;;
   17623 
   17624 sysv4*MP*)
   17625   if test -d /usr/nec; then
   17626     version_type=linux # correct to gnu/linux during the next big refactor
   17627     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17628     soname_spec='$libname$shared_ext.$major'
   17629     shlibpath_var=LD_LIBRARY_PATH
   17630   fi
   17631   ;;
   17632 
   17633 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17634   version_type=sco
   17635   need_lib_prefix=no
   17636   need_version=no
   17637   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17638   soname_spec='$libname$release$shared_ext$major'
   17639   shlibpath_var=LD_LIBRARY_PATH
   17640   shlibpath_overrides_runpath=yes
   17641   hardcode_into_libs=yes
   17642   if test yes = "$with_gnu_ld"; then
   17643     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17644   else
   17645     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17646     case $host_os in
   17647       sco3.2v5*)
   17648         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17649 	;;
   17650     esac
   17651   fi
   17652   sys_lib_dlsearch_path_spec='/usr/lib'
   17653   ;;
   17654 
   17655 tpf*)
   17656   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17657   version_type=linux # correct to gnu/linux during the next big refactor
   17658   need_lib_prefix=no
   17659   need_version=no
   17660   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17661   shlibpath_var=LD_LIBRARY_PATH
   17662   shlibpath_overrides_runpath=no
   17663   hardcode_into_libs=yes
   17664   ;;
   17665 
   17666 uts4*)
   17667   version_type=linux # correct to gnu/linux during the next big refactor
   17668   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17669   soname_spec='$libname$release$shared_ext$major'
   17670   shlibpath_var=LD_LIBRARY_PATH
   17671   ;;
   17672 
   17673 *)
   17674   dynamic_linker=no
   17675   ;;
   17676 esac
   17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17678 $as_echo "$dynamic_linker" >&6; }
   17679 test no = "$dynamic_linker" && can_build_shared=no
   17680 
   17681 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17682 if test yes = "$GCC"; then
   17683   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17684 fi
   17685 
   17686 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17687   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17688 fi
   17689 
   17690 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17691   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17692 fi
   17693 
   17694 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17695 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17696 
   17697 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17698 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17699 
   17700 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17701 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   17797 
   17798 
   17799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17800 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17801 hardcode_action=
   17802 if test -n "$hardcode_libdir_flag_spec" ||
   17803    test -n "$runpath_var" ||
   17804    test yes = "$hardcode_automatic"; then
   17805 
   17806   # We can hardcode non-existent directories.
   17807   if test no != "$hardcode_direct" &&
   17808      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17809      # have to relink, otherwise we might link with an installed library
   17810      # when we should be linking with a yet-to-be-installed one
   17811      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17812      test no != "$hardcode_minus_L"; then
   17813     # Linking always hardcodes the temporary library directory.
   17814     hardcode_action=relink
   17815   else
   17816     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17817     hardcode_action=immediate
   17818   fi
   17819 else
   17820   # We cannot hardcode anything, or else we can only hardcode existing
   17821   # directories.
   17822   hardcode_action=unsupported
   17823 fi
   17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17825 $as_echo "$hardcode_action" >&6; }
   17826 
   17827 if test relink = "$hardcode_action" ||
   17828    test yes = "$inherit_rpath"; then
   17829   # Fast installation is not supported
   17830   enable_fast_install=no
   17831 elif test yes = "$shlibpath_overrides_runpath" ||
   17832      test no = "$enable_shared"; then
   17833   # Fast installation is not necessary
   17834   enable_fast_install=needless
   17835 fi
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842   if test yes != "$enable_dlopen"; then
   17843   enable_dlopen=unknown
   17844   enable_dlopen_self=unknown
   17845   enable_dlopen_self_static=unknown
   17846 else
   17847   lt_cv_dlopen=no
   17848   lt_cv_dlopen_libs=
   17849 
   17850   case $host_os in
   17851   beos*)
   17852     lt_cv_dlopen=load_add_on
   17853     lt_cv_dlopen_libs=
   17854     lt_cv_dlopen_self=yes
   17855     ;;
   17856 
   17857   mingw* | pw32* | cegcc*)
   17858     lt_cv_dlopen=LoadLibrary
   17859     lt_cv_dlopen_libs=
   17860     ;;
   17861 
   17862   cygwin*)
   17863     lt_cv_dlopen=dlopen
   17864     lt_cv_dlopen_libs=
   17865     ;;
   17866 
   17867   darwin*)
   17868     # if libdl is installed we need to link against it
   17869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17870 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17871 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17872   $as_echo_n "(cached) " >&6
   17873 else
   17874   ac_check_lib_save_LIBS=$LIBS
   17875 LIBS="-ldl  $LIBS"
   17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17877 /* end confdefs.h.  */
   17878 
   17879 /* Override any GCC internal prototype to avoid an error.
   17880    Use char because int might match the return type of a GCC
   17881    builtin and then its argument prototype would still apply.  */
   17882 #ifdef __cplusplus
   17883 extern "C"
   17884 #endif
   17885 char dlopen ();
   17886 int
   17887 main ()
   17888 {
   17889 return dlopen ();
   17890   ;
   17891   return 0;
   17892 }
   17893 _ACEOF
   17894 if ac_fn_c_try_link "$LINENO"; then :
   17895   ac_cv_lib_dl_dlopen=yes
   17896 else
   17897   ac_cv_lib_dl_dlopen=no
   17898 fi
   17899 rm -f core conftest.err conftest.$ac_objext \
   17900     conftest$ac_exeext conftest.$ac_ext
   17901 LIBS=$ac_check_lib_save_LIBS
   17902 fi
   17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17904 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17905 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17906   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17907 else
   17908 
   17909     lt_cv_dlopen=dyld
   17910     lt_cv_dlopen_libs=
   17911     lt_cv_dlopen_self=yes
   17912 
   17913 fi
   17914 
   17915     ;;
   17916 
   17917   tpf*)
   17918     # Don't try to run any link tests for TPF.  We know it's impossible
   17919     # because TPF is a cross-compiler, and we know how we open DSOs.
   17920     lt_cv_dlopen=dlopen
   17921     lt_cv_dlopen_libs=
   17922     lt_cv_dlopen_self=no
   17923     ;;
   17924 
   17925   *)
   17926     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17927 if test "x$ac_cv_func_shl_load" = xyes; then :
   17928   lt_cv_dlopen=shl_load
   17929 else
   17930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17931 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17932 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17933   $as_echo_n "(cached) " >&6
   17934 else
   17935   ac_check_lib_save_LIBS=$LIBS
   17936 LIBS="-ldld  $LIBS"
   17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17938 /* end confdefs.h.  */
   17939 
   17940 /* Override any GCC internal prototype to avoid an error.
   17941    Use char because int might match the return type of a GCC
   17942    builtin and then its argument prototype would still apply.  */
   17943 #ifdef __cplusplus
   17944 extern "C"
   17945 #endif
   17946 char shl_load ();
   17947 int
   17948 main ()
   17949 {
   17950 return shl_load ();
   17951   ;
   17952   return 0;
   17953 }
   17954 _ACEOF
   17955 if ac_fn_c_try_link "$LINENO"; then :
   17956   ac_cv_lib_dld_shl_load=yes
   17957 else
   17958   ac_cv_lib_dld_shl_load=no
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext \
   17961     conftest$ac_exeext conftest.$ac_ext
   17962 LIBS=$ac_check_lib_save_LIBS
   17963 fi
   17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17965 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17966 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17967   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17968 else
   17969   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17970 if test "x$ac_cv_func_dlopen" = xyes; then :
   17971   lt_cv_dlopen=dlopen
   17972 else
   17973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17974 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17975 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17976   $as_echo_n "(cached) " >&6
   17977 else
   17978   ac_check_lib_save_LIBS=$LIBS
   17979 LIBS="-ldl  $LIBS"
   17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17981 /* end confdefs.h.  */
   17982 
   17983 /* Override any GCC internal prototype to avoid an error.
   17984    Use char because int might match the return type of a GCC
   17985    builtin and then its argument prototype would still apply.  */
   17986 #ifdef __cplusplus
   17987 extern "C"
   17988 #endif
   17989 char dlopen ();
   17990 int
   17991 main ()
   17992 {
   17993 return dlopen ();
   17994   ;
   17995   return 0;
   17996 }
   17997 _ACEOF
   17998 if ac_fn_c_try_link "$LINENO"; then :
   17999   ac_cv_lib_dl_dlopen=yes
   18000 else
   18001   ac_cv_lib_dl_dlopen=no
   18002 fi
   18003 rm -f core conftest.err conftest.$ac_objext \
   18004     conftest$ac_exeext conftest.$ac_ext
   18005 LIBS=$ac_check_lib_save_LIBS
   18006 fi
   18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18008 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18009 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18010   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18011 else
   18012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18013 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18014 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18015   $as_echo_n "(cached) " >&6
   18016 else
   18017   ac_check_lib_save_LIBS=$LIBS
   18018 LIBS="-lsvld  $LIBS"
   18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18020 /* end confdefs.h.  */
   18021 
   18022 /* Override any GCC internal prototype to avoid an error.
   18023    Use char because int might match the return type of a GCC
   18024    builtin and then its argument prototype would still apply.  */
   18025 #ifdef __cplusplus
   18026 extern "C"
   18027 #endif
   18028 char dlopen ();
   18029 int
   18030 main ()
   18031 {
   18032 return dlopen ();
   18033   ;
   18034   return 0;
   18035 }
   18036 _ACEOF
   18037 if ac_fn_c_try_link "$LINENO"; then :
   18038   ac_cv_lib_svld_dlopen=yes
   18039 else
   18040   ac_cv_lib_svld_dlopen=no
   18041 fi
   18042 rm -f core conftest.err conftest.$ac_objext \
   18043     conftest$ac_exeext conftest.$ac_ext
   18044 LIBS=$ac_check_lib_save_LIBS
   18045 fi
   18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18047 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18048 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18049   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18050 else
   18051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18052 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18053 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18054   $as_echo_n "(cached) " >&6
   18055 else
   18056   ac_check_lib_save_LIBS=$LIBS
   18057 LIBS="-ldld  $LIBS"
   18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18059 /* end confdefs.h.  */
   18060 
   18061 /* Override any GCC internal prototype to avoid an error.
   18062    Use char because int might match the return type of a GCC
   18063    builtin and then its argument prototype would still apply.  */
   18064 #ifdef __cplusplus
   18065 extern "C"
   18066 #endif
   18067 char dld_link ();
   18068 int
   18069 main ()
   18070 {
   18071 return dld_link ();
   18072   ;
   18073   return 0;
   18074 }
   18075 _ACEOF
   18076 if ac_fn_c_try_link "$LINENO"; then :
   18077   ac_cv_lib_dld_dld_link=yes
   18078 else
   18079   ac_cv_lib_dld_dld_link=no
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext \
   18082     conftest$ac_exeext conftest.$ac_ext
   18083 LIBS=$ac_check_lib_save_LIBS
   18084 fi
   18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18086 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18087 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18088   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18089 fi
   18090 
   18091 
   18092 fi
   18093 
   18094 
   18095 fi
   18096 
   18097 
   18098 fi
   18099 
   18100 
   18101 fi
   18102 
   18103 
   18104 fi
   18105 
   18106     ;;
   18107   esac
   18108 
   18109   if test no = "$lt_cv_dlopen"; then
   18110     enable_dlopen=no
   18111   else
   18112     enable_dlopen=yes
   18113   fi
   18114 
   18115   case $lt_cv_dlopen in
   18116   dlopen)
   18117     save_CPPFLAGS=$CPPFLAGS
   18118     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18119 
   18120     save_LDFLAGS=$LDFLAGS
   18121     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18122 
   18123     save_LIBS=$LIBS
   18124     LIBS="$lt_cv_dlopen_libs $LIBS"
   18125 
   18126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18127 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18128 if ${lt_cv_dlopen_self+:} false; then :
   18129   $as_echo_n "(cached) " >&6
   18130 else
   18131   	  if test yes = "$cross_compiling"; then :
   18132   lt_cv_dlopen_self=cross
   18133 else
   18134   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18135   lt_status=$lt_dlunknown
   18136   cat > conftest.$ac_ext <<_LT_EOF
   18137 #line $LINENO "configure"
   18138 #include "confdefs.h"
   18139 
   18140 #if HAVE_DLFCN_H
   18141 #include <dlfcn.h>
   18142 #endif
   18143 
   18144 #include <stdio.h>
   18145 
   18146 #ifdef RTLD_GLOBAL
   18147 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18148 #else
   18149 #  ifdef DL_GLOBAL
   18150 #    define LT_DLGLOBAL		DL_GLOBAL
   18151 #  else
   18152 #    define LT_DLGLOBAL		0
   18153 #  endif
   18154 #endif
   18155 
   18156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18157    find out it does not work in some platform. */
   18158 #ifndef LT_DLLAZY_OR_NOW
   18159 #  ifdef RTLD_LAZY
   18160 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18161 #  else
   18162 #    ifdef DL_LAZY
   18163 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18164 #    else
   18165 #      ifdef RTLD_NOW
   18166 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18167 #      else
   18168 #        ifdef DL_NOW
   18169 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18170 #        else
   18171 #          define LT_DLLAZY_OR_NOW	0
   18172 #        endif
   18173 #      endif
   18174 #    endif
   18175 #  endif
   18176 #endif
   18177 
   18178 /* When -fvisibility=hidden is used, assume the code has been annotated
   18179    correspondingly for the symbols needed.  */
   18180 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18181 int fnord () __attribute__((visibility("default")));
   18182 #endif
   18183 
   18184 int fnord () { return 42; }
   18185 int main ()
   18186 {
   18187   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18188   int status = $lt_dlunknown;
   18189 
   18190   if (self)
   18191     {
   18192       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18193       else
   18194         {
   18195 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18196           else puts (dlerror ());
   18197 	}
   18198       /* dlclose (self); */
   18199     }
   18200   else
   18201     puts (dlerror ());
   18202 
   18203   return status;
   18204 }
   18205 _LT_EOF
   18206   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18207   (eval $ac_link) 2>&5
   18208   ac_status=$?
   18209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18210   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18211     (./conftest; exit; ) >&5 2>/dev/null
   18212     lt_status=$?
   18213     case x$lt_status in
   18214       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18215       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18216       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18217     esac
   18218   else :
   18219     # compilation failed
   18220     lt_cv_dlopen_self=no
   18221   fi
   18222 fi
   18223 rm -fr conftest*
   18224 
   18225 
   18226 fi
   18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18228 $as_echo "$lt_cv_dlopen_self" >&6; }
   18229 
   18230     if test yes = "$lt_cv_dlopen_self"; then
   18231       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18232       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18233 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18234 if ${lt_cv_dlopen_self_static+:} false; then :
   18235   $as_echo_n "(cached) " >&6
   18236 else
   18237   	  if test yes = "$cross_compiling"; then :
   18238   lt_cv_dlopen_self_static=cross
   18239 else
   18240   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18241   lt_status=$lt_dlunknown
   18242   cat > conftest.$ac_ext <<_LT_EOF
   18243 #line $LINENO "configure"
   18244 #include "confdefs.h"
   18245 
   18246 #if HAVE_DLFCN_H
   18247 #include <dlfcn.h>
   18248 #endif
   18249 
   18250 #include <stdio.h>
   18251 
   18252 #ifdef RTLD_GLOBAL
   18253 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18254 #else
   18255 #  ifdef DL_GLOBAL
   18256 #    define LT_DLGLOBAL		DL_GLOBAL
   18257 #  else
   18258 #    define LT_DLGLOBAL		0
   18259 #  endif
   18260 #endif
   18261 
   18262 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18263    find out it does not work in some platform. */
   18264 #ifndef LT_DLLAZY_OR_NOW
   18265 #  ifdef RTLD_LAZY
   18266 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18267 #  else
   18268 #    ifdef DL_LAZY
   18269 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18270 #    else
   18271 #      ifdef RTLD_NOW
   18272 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18273 #      else
   18274 #        ifdef DL_NOW
   18275 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18276 #        else
   18277 #          define LT_DLLAZY_OR_NOW	0
   18278 #        endif
   18279 #      endif
   18280 #    endif
   18281 #  endif
   18282 #endif
   18283 
   18284 /* When -fvisibility=hidden is used, assume the code has been annotated
   18285    correspondingly for the symbols needed.  */
   18286 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18287 int fnord () __attribute__((visibility("default")));
   18288 #endif
   18289 
   18290 int fnord () { return 42; }
   18291 int main ()
   18292 {
   18293   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18294   int status = $lt_dlunknown;
   18295 
   18296   if (self)
   18297     {
   18298       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18299       else
   18300         {
   18301 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18302           else puts (dlerror ());
   18303 	}
   18304       /* dlclose (self); */
   18305     }
   18306   else
   18307     puts (dlerror ());
   18308 
   18309   return status;
   18310 }
   18311 _LT_EOF
   18312   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18313   (eval $ac_link) 2>&5
   18314   ac_status=$?
   18315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18316   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18317     (./conftest; exit; ) >&5 2>/dev/null
   18318     lt_status=$?
   18319     case x$lt_status in
   18320       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18321       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18322       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18323     esac
   18324   else :
   18325     # compilation failed
   18326     lt_cv_dlopen_self_static=no
   18327   fi
   18328 fi
   18329 rm -fr conftest*
   18330 
   18331 
   18332 fi
   18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18334 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18335     fi
   18336 
   18337     CPPFLAGS=$save_CPPFLAGS
   18338     LDFLAGS=$save_LDFLAGS
   18339     LIBS=$save_LIBS
   18340     ;;
   18341   esac
   18342 
   18343   case $lt_cv_dlopen_self in
   18344   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18345   *) enable_dlopen_self=unknown ;;
   18346   esac
   18347 
   18348   case $lt_cv_dlopen_self_static in
   18349   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18350   *) enable_dlopen_self_static=unknown ;;
   18351   esac
   18352 fi
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 striplib=
   18371 old_striplib=
   18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18373 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18374 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18375   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18376   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18378 $as_echo "yes" >&6; }
   18379 else
   18380 # FIXME - insert some real tests, host_os isn't really good enough
   18381   case $host_os in
   18382   darwin*)
   18383     if test -n "$STRIP"; then
   18384       striplib="$STRIP -x"
   18385       old_striplib="$STRIP -S"
   18386       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18387 $as_echo "yes" >&6; }
   18388     else
   18389       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18390 $as_echo "no" >&6; }
   18391     fi
   18392     ;;
   18393   *)
   18394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18395 $as_echo "no" >&6; }
   18396     ;;
   18397   esac
   18398 fi
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 
   18409 
   18410 
   18411   # Report what library types will actually be built
   18412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18413 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18415 $as_echo "$can_build_shared" >&6; }
   18416 
   18417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18418 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18419   test no = "$can_build_shared" && enable_shared=no
   18420 
   18421   # On AIX, shared libraries and static libraries use the same namespace, and
   18422   # are all built from PIC.
   18423   case $host_os in
   18424   aix3*)
   18425     test yes = "$enable_shared" && enable_static=no
   18426     if test -n "$RANLIB"; then
   18427       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18428       postinstall_cmds='$RANLIB $lib'
   18429     fi
   18430     ;;
   18431 
   18432   aix[4-9]*)
   18433     if test ia64 != "$host_cpu"; then
   18434       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18435       yes,aix,yes) ;;			# shared object as lib.so file only
   18436       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18437       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18438       esac
   18439     fi
   18440     ;;
   18441   esac
   18442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18443 $as_echo "$enable_shared" >&6; }
   18444 
   18445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18446 $as_echo_n "checking whether to build static libraries... " >&6; }
   18447   # Make sure either enable_shared or enable_static is yes.
   18448   test yes = "$enable_shared" || enable_static=yes
   18449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18450 $as_echo "$enable_static" >&6; }
   18451 
   18452 
   18453 
   18454 
   18455 fi
   18456 ac_ext=c
   18457 ac_cpp='$CPP $CPPFLAGS'
   18458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18461 
   18462 CC=$lt_save_CC
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478         ac_config_commands="$ac_config_commands libtool"
   18479 
   18480 
   18481 
   18482 
   18483 # Only expand once:
   18484 
   18485 
   18486 
   18487 if test "x$GCC" = "xyes"; then
   18488 	CPPFLAGS="$CPPFLAGS -Wall"
   18489 fi
   18490 
   18491 
   18492 
   18493 # Define a configure option for an alternate module directory
   18494 
   18495 # Check whether --with-xorg-module-dir was given.
   18496 if test "${with_xorg_module_dir+set}" = set; then :
   18497   withval=$with_xorg_module_dir; moduledir="$withval"
   18498 else
   18499   moduledir="$libdir/xorg/modules"
   18500 fi
   18501 
   18502 
   18503 # Check whether --enable-dri was given.
   18504 if test "${enable_dri+set}" = set; then :
   18505   enableval=$enable_dri; DRI="$enableval"
   18506 else
   18507   DRI=auto
   18508 fi
   18509 
   18510 
   18511 # Check whether --enable-exa was given.
   18512 if test "${enable_exa+set}" = set; then :
   18513   enableval=$enable_exa; EXA="$enableval"
   18514 else
   18515   EXA=yes
   18516 fi
   18517 
   18518 
   18519 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18520 
   18521 
   18522 	SAVE_CFLAGS="$CFLAGS"
   18523 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18524 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18525 /* end confdefs.h.  */
   18526 
   18527 #include "xorg-server.h"
   18528 #if !defined RANDR
   18529 #error RANDR not defined
   18530 #endif
   18531 
   18532 int
   18533 main ()
   18534 {
   18535 
   18536   ;
   18537   return 0;
   18538 }
   18539 _ACEOF
   18540 if ac_fn_c_try_compile "$LINENO"; then :
   18541   _EXT_CHECK=yes
   18542 else
   18543   _EXT_CHECK=no
   18544 fi
   18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18546 	CFLAGS="$SAVE_CFLAGS"
   18547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18548 $as_echo_n "checking if RANDR is defined... " >&6; }
   18549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18550 $as_echo "$_EXT_CHECK" >&6; }
   18551 	if test "$_EXT_CHECK" != no; then
   18552 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18553 	fi
   18554 
   18555 
   18556 
   18557 	SAVE_CFLAGS="$CFLAGS"
   18558 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18559 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18560 /* end confdefs.h.  */
   18561 
   18562 #include "xorg-server.h"
   18563 #if !defined RENDER
   18564 #error RENDER not defined
   18565 #endif
   18566 
   18567 int
   18568 main ()
   18569 {
   18570 
   18571   ;
   18572   return 0;
   18573 }
   18574 _ACEOF
   18575 if ac_fn_c_try_compile "$LINENO"; then :
   18576   _EXT_CHECK=yes
   18577 else
   18578   _EXT_CHECK=no
   18579 fi
   18580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18581 	CFLAGS="$SAVE_CFLAGS"
   18582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18583 $as_echo_n "checking if RENDER is defined... " >&6; }
   18584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18585 $as_echo "$_EXT_CHECK" >&6; }
   18586 	if test "$_EXT_CHECK" != no; then
   18587 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18588 	fi
   18589 
   18590 
   18591 
   18592 	SAVE_CFLAGS="$CFLAGS"
   18593 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18594 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18595 /* end confdefs.h.  */
   18596 
   18597 #include "xorg-server.h"
   18598 #if !defined XV
   18599 #error XV not defined
   18600 #endif
   18601 
   18602 int
   18603 main ()
   18604 {
   18605 
   18606   ;
   18607   return 0;
   18608 }
   18609 _ACEOF
   18610 if ac_fn_c_try_compile "$LINENO"; then :
   18611   _EXT_CHECK=yes
   18612 else
   18613   _EXT_CHECK=no
   18614 fi
   18615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18616 	CFLAGS="$SAVE_CFLAGS"
   18617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18618 $as_echo_n "checking if XV is defined... " >&6; }
   18619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18620 $as_echo "$_EXT_CHECK" >&6; }
   18621 	if test "$_EXT_CHECK" != no; then
   18622 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18623 	fi
   18624 
   18625 
   18626 
   18627 	SAVE_CFLAGS="$CFLAGS"
   18628 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18629 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18630 /* end confdefs.h.  */
   18631 
   18632 #include "xorg-server.h"
   18633 #if !defined XF86MISC
   18634 #error XF86MISC not defined
   18635 #endif
   18636 
   18637 int
   18638 main ()
   18639 {
   18640 
   18641   ;
   18642   return 0;
   18643 }
   18644 _ACEOF
   18645 if ac_fn_c_try_compile "$LINENO"; then :
   18646   _EXT_CHECK=yes
   18647 else
   18648   _EXT_CHECK=no
   18649 fi
   18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18651 	CFLAGS="$SAVE_CFLAGS"
   18652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XF86MISC is defined" >&5
   18653 $as_echo_n "checking if XF86MISC is defined... " >&6; }
   18654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18655 $as_echo "$_EXT_CHECK" >&6; }
   18656 	if test "$_EXT_CHECK" != no; then
   18657 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   18658 	fi
   18659 
   18660 
   18661 
   18662 	SAVE_CFLAGS="$CFLAGS"
   18663 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18664 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18665 /* end confdefs.h.  */
   18666 
   18667 #include "xorg-server.h"
   18668 #if !defined DPMSExtension
   18669 #error DPMSExtension not defined
   18670 #endif
   18671 
   18672 int
   18673 main ()
   18674 {
   18675 
   18676   ;
   18677   return 0;
   18678 }
   18679 _ACEOF
   18680 if ac_fn_c_try_compile "$LINENO"; then :
   18681   _EXT_CHECK=yes
   18682 else
   18683   _EXT_CHECK=no
   18684 fi
   18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18686 	CFLAGS="$SAVE_CFLAGS"
   18687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18688 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18690 $as_echo "$_EXT_CHECK" >&6; }
   18691 	if test "$_EXT_CHECK" != no; then
   18692 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18693 	fi
   18694 
   18695 
   18696 # Obtain compiler/linker options for the driver dependencies
   18697 
   18698 pkg_failed=no
   18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18700 $as_echo_n "checking for XORG... " >&6; }
   18701 
   18702 if test -n "$XORG_CFLAGS"; then
   18703     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18704  elif test -n "$PKG_CONFIG"; then
   18705     if test -n "$PKG_CONFIG" && \
   18706     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18707   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18708   ac_status=$?
   18709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18710   test $ac_status = 0; }; then
   18711   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18712 		      test "x$?" != "x0" && pkg_failed=yes
   18713 else
   18714   pkg_failed=yes
   18715 fi
   18716  else
   18717     pkg_failed=untried
   18718 fi
   18719 if test -n "$XORG_LIBS"; then
   18720     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18721  elif test -n "$PKG_CONFIG"; then
   18722     if test -n "$PKG_CONFIG" && \
   18723     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18724   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18725   ac_status=$?
   18726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18727   test $ac_status = 0; }; then
   18728   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18729 		      test "x$?" != "x0" && pkg_failed=yes
   18730 else
   18731   pkg_failed=yes
   18732 fi
   18733  else
   18734     pkg_failed=untried
   18735 fi
   18736 
   18737 
   18738 
   18739 if test $pkg_failed = yes; then
   18740    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18741 $as_echo "no" >&6; }
   18742 
   18743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18744         _pkg_short_errors_supported=yes
   18745 else
   18746         _pkg_short_errors_supported=no
   18747 fi
   18748         if test $_pkg_short_errors_supported = yes; then
   18749 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18750         else
   18751 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18752         fi
   18753 	# Put the nasty error message in config.log where it belongs
   18754 	echo "$XORG_PKG_ERRORS" >&5
   18755 
   18756 	as_fn_error $? "Package requirements (xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES) were not met:
   18757 
   18758 $XORG_PKG_ERRORS
   18759 
   18760 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18761 installed software in a non-standard prefix.
   18762 
   18763 Alternatively, you may set the environment variables XORG_CFLAGS
   18764 and XORG_LIBS to avoid the need to call pkg-config.
   18765 See the pkg-config man page for more details." "$LINENO" 5
   18766 elif test $pkg_failed = untried; then
   18767      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18768 $as_echo "no" >&6; }
   18769 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18771 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18772 is in your PATH or set the PKG_CONFIG environment variable to the full
   18773 path to pkg-config.
   18774 
   18775 Alternatively, you may set the environment variables XORG_CFLAGS
   18776 and XORG_LIBS to avoid the need to call pkg-config.
   18777 See the pkg-config man page for more details.
   18778 
   18779 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18780 See \`config.log' for more details" "$LINENO" 5; }
   18781 else
   18782 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18783 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18785 $as_echo "yes" >&6; }
   18786 
   18787 fi
   18788 
   18789 pkg_failed=no
   18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18791 $as_echo_n "checking for XEXT... " >&6; }
   18792 
   18793 if test -n "$XEXT_CFLAGS"; then
   18794     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18795  elif test -n "$PKG_CONFIG"; then
   18796     if test -n "$PKG_CONFIG" && \
   18797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18798   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18799   ac_status=$?
   18800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18801   test $ac_status = 0; }; then
   18802   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18803 		      test "x$?" != "x0" && pkg_failed=yes
   18804 else
   18805   pkg_failed=yes
   18806 fi
   18807  else
   18808     pkg_failed=untried
   18809 fi
   18810 if test -n "$XEXT_LIBS"; then
   18811     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18812  elif test -n "$PKG_CONFIG"; then
   18813     if test -n "$PKG_CONFIG" && \
   18814     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18815   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18816   ac_status=$?
   18817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18818   test $ac_status = 0; }; then
   18819   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18820 		      test "x$?" != "x0" && pkg_failed=yes
   18821 else
   18822   pkg_failed=yes
   18823 fi
   18824  else
   18825     pkg_failed=untried
   18826 fi
   18827 
   18828 
   18829 
   18830 if test $pkg_failed = yes; then
   18831    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18832 $as_echo "no" >&6; }
   18833 
   18834 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18835         _pkg_short_errors_supported=yes
   18836 else
   18837         _pkg_short_errors_supported=no
   18838 fi
   18839         if test $_pkg_short_errors_supported = yes; then
   18840 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18841         else
   18842 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18843         fi
   18844 	# Put the nasty error message in config.log where it belongs
   18845 	echo "$XEXT_PKG_ERRORS" >&5
   18846 
   18847 	HAVE_XEXTPROTO_71="no"
   18848 elif test $pkg_failed = untried; then
   18849      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18850 $as_echo "no" >&6; }
   18851 	HAVE_XEXTPROTO_71="no"
   18852 else
   18853 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18854 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18855         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18856 $as_echo "yes" >&6; }
   18857 	HAVE_XEXTPROTO_71="yes";
   18858 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18859 
   18860 fi
   18861  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18862   HAVE_XEXTPROTO_71_TRUE=
   18863   HAVE_XEXTPROTO_71_FALSE='#'
   18864 else
   18865   HAVE_XEXTPROTO_71_TRUE='#'
   18866   HAVE_XEXTPROTO_71_FALSE=
   18867 fi
   18868 
   18869 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18870 
   18871 # Checks for libraries.
   18872 
   18873 if test "$DRI" != no; then
   18874 	as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18876 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18877 if eval \${$as_ac_File+:} false; then :
   18878   $as_echo_n "(cached) " >&6
   18879 else
   18880   test "$cross_compiling" = yes &&
   18881   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18882 if test -r "${sdkdir}/dri.h"; then
   18883   eval "$as_ac_File=yes"
   18884 else
   18885   eval "$as_ac_File=no"
   18886 fi
   18887 fi
   18888 eval ac_res=\$$as_ac_File
   18889 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18890 $as_echo "$ac_res" >&6; }
   18891 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18892   have_dri_h="yes"
   18893 else
   18894   have_dri_h="no"
   18895 fi
   18896 
   18897 	as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18899 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18900 if eval \${$as_ac_File+:} false; then :
   18901   $as_echo_n "(cached) " >&6
   18902 else
   18903   test "$cross_compiling" = yes &&
   18904   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18905 if test -r "${sdkdir}/sarea.h"; then
   18906   eval "$as_ac_File=yes"
   18907 else
   18908   eval "$as_ac_File=no"
   18909 fi
   18910 fi
   18911 eval ac_res=\$$as_ac_File
   18912 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18913 $as_echo "$ac_res" >&6; }
   18914 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18915   have_sarea_h="yes"
   18916 else
   18917   have_sarea_h="no"
   18918 fi
   18919 
   18920 	as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18922 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18923 if eval \${$as_ac_File+:} false; then :
   18924   $as_echo_n "(cached) " >&6
   18925 else
   18926   test "$cross_compiling" = yes &&
   18927   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18928 if test -r "${sdkdir}/dristruct.h"; then
   18929   eval "$as_ac_File=yes"
   18930 else
   18931   eval "$as_ac_File=no"
   18932 fi
   18933 fi
   18934 eval ac_res=\$$as_ac_File
   18935 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18936 $as_echo "$ac_res" >&6; }
   18937 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18938   have_dristruct_h="yes"
   18939 else
   18940   have_dristruct_h="no"
   18941 fi
   18942 
   18943 	as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/damage.h" >&5
   18945 $as_echo_n "checking for ${sdkdir}/damage.h... " >&6; }
   18946 if eval \${$as_ac_File+:} false; then :
   18947   $as_echo_n "(cached) " >&6
   18948 else
   18949   test "$cross_compiling" = yes &&
   18950   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18951 if test -r "${sdkdir}/damage.h"; then
   18952   eval "$as_ac_File=yes"
   18953 else
   18954   eval "$as_ac_File=no"
   18955 fi
   18956 fi
   18957 eval ac_res=\$$as_ac_File
   18958 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18959 $as_echo "$ac_res" >&6; }
   18960 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18961   have_damage_h="yes"
   18962 else
   18963   have_damage_h="no"
   18964 fi
   18965 
   18966 fi
   18967 
   18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18969 $as_echo_n "checking whether to include DRI support... " >&6; }
   18970 if test x$DRI = xauto; then
   18971 	if test "$have_dri_h" = yes -a \
   18972                 "$have_sarea_h" = yes -a \
   18973                 "$have_dristruct_h" = yes; then
   18974 		DRI="yes"
   18975 	else
   18976 		DRI="no"
   18977 	fi
   18978 fi
   18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18980 $as_echo "$DRI" >&6; }
   18981 
   18982  if test x$DRI = xyes; then
   18983   DRI_TRUE=
   18984   DRI_FALSE='#'
   18985 else
   18986   DRI_TRUE='#'
   18987   DRI_FALSE=
   18988 fi
   18989 
   18990 if test "$DRI" = yes; then
   18991 
   18992 pkg_failed=no
   18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18994 $as_echo_n "checking for DRI... " >&6; }
   18995 
   18996 if test -n "$DRI_CFLAGS"; then
   18997     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18998  elif test -n "$PKG_CONFIG"; then
   18999     if test -n "$PKG_CONFIG" && \
   19000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   19001   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   19002   ac_status=$?
   19003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19004   test $ac_status = 0; }; then
   19005   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   19006 		      test "x$?" != "x0" && pkg_failed=yes
   19007 else
   19008   pkg_failed=yes
   19009 fi
   19010  else
   19011     pkg_failed=untried
   19012 fi
   19013 if test -n "$DRI_LIBS"; then
   19014     pkg_cv_DRI_LIBS="$DRI_LIBS"
   19015  elif test -n "$PKG_CONFIG"; then
   19016     if test -n "$PKG_CONFIG" && \
   19017     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   19018   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   19019   ac_status=$?
   19020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19021   test $ac_status = 0; }; then
   19022   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   19023 		      test "x$?" != "x0" && pkg_failed=yes
   19024 else
   19025   pkg_failed=yes
   19026 fi
   19027  else
   19028     pkg_failed=untried
   19029 fi
   19030 
   19031 
   19032 
   19033 if test $pkg_failed = yes; then
   19034    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19035 $as_echo "no" >&6; }
   19036 
   19037 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19038         _pkg_short_errors_supported=yes
   19039 else
   19040         _pkg_short_errors_supported=no
   19041 fi
   19042         if test $_pkg_short_errors_supported = yes; then
   19043 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   19044         else
   19045 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   19046         fi
   19047 	# Put the nasty error message in config.log where it belongs
   19048 	echo "$DRI_PKG_ERRORS" >&5
   19049 
   19050 	as_fn_error $? "Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   19051 
   19052 $DRI_PKG_ERRORS
   19053 
   19054 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19055 installed software in a non-standard prefix.
   19056 
   19057 Alternatively, you may set the environment variables DRI_CFLAGS
   19058 and DRI_LIBS to avoid the need to call pkg-config.
   19059 See the pkg-config man page for more details." "$LINENO" 5
   19060 elif test $pkg_failed = untried; then
   19061      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19062 $as_echo "no" >&6; }
   19063 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19065 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19066 is in your PATH or set the PKG_CONFIG environment variable to the full
   19067 path to pkg-config.
   19068 
   19069 Alternatively, you may set the environment variables DRI_CFLAGS
   19070 and DRI_LIBS to avoid the need to call pkg-config.
   19071 See the pkg-config man page for more details.
   19072 
   19073 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19074 See \`config.log' for more details" "$LINENO" 5; }
   19075 else
   19076 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   19077 	DRI_LIBS=$pkg_cv_DRI_LIBS
   19078         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19079 $as_echo "yes" >&6; }
   19080 
   19081 fi
   19082 
   19083 $as_echo "#define R128DRI 1" >>confdefs.h
   19084 
   19085 
   19086 $as_echo "#define R128DRI_DEVEL 1" >>confdefs.h
   19087 
   19088 fi
   19089 
   19090 SAVE_CPPFLAGS="$CPPFLAGS"
   19091 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19092 # Properly handle EXA.
   19093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable EXA support" >&5
   19094 $as_echo_n "checking whether to enable EXA support... " >&6; }
   19095 if test "x$EXA" = xyes; then
   19096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19097 $as_echo "yes" >&6; }
   19098         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/exa.h" | $as_tr_sh`
   19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/exa.h" >&5
   19100 $as_echo_n "checking for ${sdkdir}/exa.h... " >&6; }
   19101 if eval \${$as_ac_File+:} false; then :
   19102   $as_echo_n "(cached) " >&6
   19103 else
   19104   test "$cross_compiling" = yes &&
   19105   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19106 if test -r "${sdkdir}/exa.h"; then
   19107   eval "$as_ac_File=yes"
   19108 else
   19109   eval "$as_ac_File=no"
   19110 fi
   19111 fi
   19112 eval ac_res=\$$as_ac_File
   19113 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19114 $as_echo "$ac_res" >&6; }
   19115 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   19116   have_exa_h="yes"
   19117 else
   19118   have_exa_h="no"
   19119 fi
   19120 
   19121 else
   19122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19123 $as_echo "no" >&6; }
   19124 fi
   19125 
   19126 SAVE_CPPFLAGS="$CPPFLAGS"
   19127 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19128 if test "x$have_exa_h" = xyes; then
   19129         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether EXA version is at least 2.0.0" >&5
   19130 $as_echo_n "checking whether EXA version is at least 2.0.0... " >&6; }
   19131         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19132 /* end confdefs.h.  */
   19133 
   19134 #include "xorg-server.h"
   19135 #include "exa.h"
   19136 #if EXA_VERSION_MAJOR < 2
   19137 #error OLD EXA!
   19138 #endif
   19139 
   19140 int
   19141 main ()
   19142 {
   19143 
   19144   ;
   19145   return 0;
   19146 }
   19147 _ACEOF
   19148 if ac_fn_c_try_cpp "$LINENO"; then :
   19149   USE_EXA=yes
   19150 else
   19151   USE_EXA=no
   19152 fi
   19153 rm -f conftest.err conftest.i conftest.$ac_ext
   19154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_EXA" >&5
   19155 $as_echo "$USE_EXA" >&6; }
   19156 
   19157         if test "x$USE_EXA" = xyes; then
   19158 
   19159 $as_echo "#define USE_EXA 1" >>confdefs.h
   19160 
   19161         fi
   19162 fi
   19163 
   19164 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19165 "
   19166 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   19167   XSERVER_LIBPCIACCESS=yes
   19168 else
   19169   XSERVER_LIBPCIACCESS=no
   19170 fi
   19171 
   19172 CPPFLAGS="$SAVE_CPPFLAGS"
   19173 
   19174 # Check whether --enable-xaa was given.
   19175 if test "${enable_xaa+set}" = set; then :
   19176   enableval=$enable_xaa; XAA="$enableval"
   19177 else
   19178   XAA=auto
   19179 fi
   19180 
   19181 if test "x$XAA" != xno; then
   19182         save_CFLAGS=$CFLAGS
   19183         save_CPPFLAGS=$CPPFLAGS
   19184         CFLAGS=$XORG_CFLAGS
   19185         CPPFLAGS="$XORG_CFLAGS"
   19186         for ac_header in xaa.h
   19187 do :
   19188   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19189 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19190   cat >>confdefs.h <<_ACEOF
   19191 #define HAVE_XAA_H 1
   19192 _ACEOF
   19193  XAA=yes
   19194 else
   19195   XAA=no
   19196 fi
   19197 
   19198 done
   19199 
   19200         CFLAGS=$save_CFLAGS
   19201         CPPFLAGS=$save_CPPFLAGS
   19202 fi
   19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19204 $as_echo_n "checking whether to include XAA support... " >&6; }
   19205  if test "x$XAA" = xyes; then
   19206   XAA_TRUE=
   19207   XAA_FALSE='#'
   19208 else
   19209   XAA_TRUE='#'
   19210   XAA_FALSE=
   19211 fi
   19212 
   19213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19214 $as_echo "$XAA" >&6; }
   19215 
   19216  if test "x$USE_EXA" = xyes; then
   19217   USE_EXA_TRUE=
   19218   USE_EXA_FALSE='#'
   19219 else
   19220   USE_EXA_TRUE='#'
   19221   USE_EXA_FALSE=
   19222 fi
   19223 
   19224 
   19225 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19226 
   19227 pkg_failed=no
   19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19229 $as_echo_n "checking for PCIACCESS... " >&6; }
   19230 
   19231 if test -n "$PCIACCESS_CFLAGS"; then
   19232     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19233  elif test -n "$PKG_CONFIG"; then
   19234     if test -n "$PKG_CONFIG" && \
   19235     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19236   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19237   ac_status=$?
   19238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19239   test $ac_status = 0; }; then
   19240   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   19241 		      test "x$?" != "x0" && pkg_failed=yes
   19242 else
   19243   pkg_failed=yes
   19244 fi
   19245  else
   19246     pkg_failed=untried
   19247 fi
   19248 if test -n "$PCIACCESS_LIBS"; then
   19249     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19250  elif test -n "$PKG_CONFIG"; then
   19251     if test -n "$PKG_CONFIG" && \
   19252     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   19253   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   19254   ac_status=$?
   19255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19256   test $ac_status = 0; }; then
   19257   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19258 		      test "x$?" != "x0" && pkg_failed=yes
   19259 else
   19260   pkg_failed=yes
   19261 fi
   19262  else
   19263     pkg_failed=untried
   19264 fi
   19265 
   19266 
   19267 
   19268 if test $pkg_failed = yes; then
   19269    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19270 $as_echo "no" >&6; }
   19271 
   19272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19273         _pkg_short_errors_supported=yes
   19274 else
   19275         _pkg_short_errors_supported=no
   19276 fi
   19277         if test $_pkg_short_errors_supported = yes; then
   19278 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19279         else
   19280 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19281         fi
   19282 	# Put the nasty error message in config.log where it belongs
   19283 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19284 
   19285 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19286 
   19287 $PCIACCESS_PKG_ERRORS
   19288 
   19289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19290 installed software in a non-standard prefix.
   19291 
   19292 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19293 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19294 See the pkg-config man page for more details." "$LINENO" 5
   19295 elif test $pkg_failed = untried; then
   19296      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19297 $as_echo "no" >&6; }
   19298 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19300 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19301 is in your PATH or set the PKG_CONFIG environment variable to the full
   19302 path to pkg-config.
   19303 
   19304 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19305 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19306 See the pkg-config man page for more details.
   19307 
   19308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19309 See \`config.log' for more details" "$LINENO" 5; }
   19310 else
   19311 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19312 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19313         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19314 $as_echo "yes" >&6; }
   19315 
   19316 fi
   19317     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19318 fi
   19319  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19320   XSERVER_LIBPCIACCESS_TRUE=
   19321   XSERVER_LIBPCIACCESS_FALSE='#'
   19322 else
   19323   XSERVER_LIBPCIACCESS_TRUE='#'
   19324   XSERVER_LIBPCIACCESS_FALSE=
   19325 fi
   19326 
   19327 
   19328 # Checks for headers/macros for byte swapping
   19329 # Known variants:
   19330 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   19331 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   19332 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   19333 #	and a fallback to local macros if none of the above are found
   19334 
   19335 # if <byteswap.h> is found, assume it's the correct version
   19336 for ac_header in byteswap.h
   19337 do :
   19338   ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   19339 if test "x$ac_cv_header_byteswap_h" = xyes; then :
   19340   cat >>confdefs.h <<_ACEOF
   19341 #define HAVE_BYTESWAP_H 1
   19342 _ACEOF
   19343 
   19344 fi
   19345 
   19346 done
   19347 
   19348 
   19349 # if <sys/endian.h> is found, have to check which version
   19350 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   19351 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
   19352   HAVE_SYS_ENDIAN_H="yes"
   19353 else
   19354   HAVE_SYS_ENDIAN_H="no"
   19355 fi
   19356 
   19357 
   19358 
   19359 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   19360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   19361 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19362 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19363 /* end confdefs.h.  */
   19364 
   19365 #include <sys/types.h>
   19366 #include <sys/endian.h>
   19367 
   19368 int
   19369 main ()
   19370 {
   19371 
   19372 int a = 1, b;
   19373 b = __swap16(a);
   19374 
   19375   ;
   19376   return 0;
   19377 }
   19378 
   19379 _ACEOF
   19380 if ac_fn_c_try_link "$LINENO"; then :
   19381   SYS_ENDIAN__SWAP='yes'
   19382 else
   19383   SYS_ENDIAN__SWAP='no'
   19384 fi
   19385 rm -f core conftest.err conftest.$ac_objext \
   19386     conftest$ac_exeext conftest.$ac_ext
   19387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   19388 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   19389 
   19390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   19391 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   19392 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19393 /* end confdefs.h.  */
   19394 
   19395 #include <sys/types.h>
   19396 #include <sys/endian.h>
   19397 
   19398 int
   19399 main ()
   19400 {
   19401 
   19402 int a = 1, b;
   19403 b = bswap16(a);
   19404 
   19405   ;
   19406   return 0;
   19407 }
   19408 
   19409 _ACEOF
   19410 if ac_fn_c_try_link "$LINENO"; then :
   19411   SYS_ENDIAN_BSWAP='yes'
   19412 else
   19413   SYS_ENDIAN_BSWAP='no'
   19414 fi
   19415 rm -f core conftest.err conftest.$ac_objext \
   19416     conftest$ac_exeext conftest.$ac_ext
   19417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   19418 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   19419 
   19420 	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   19421 		USE_SYS_ENDIAN_H=yes
   19422 		BSWAP=bswap
   19423 	else
   19424 		if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   19425 			USE_SYS_ENDIAN_H=yes
   19426 			BSWAP=__swap
   19427 		else
   19428 			USE_SYS_ENDIAN_H=no
   19429 		fi
   19430 	fi
   19431 
   19432 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   19433 
   19434 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   19435 
   19436 
   19437 cat >>confdefs.h <<_ACEOF
   19438 #define bswap_16 ${BSWAP}16
   19439 _ACEOF
   19440 
   19441 
   19442 cat >>confdefs.h <<_ACEOF
   19443 #define bswap_32 ${BSWAP}32
   19444 _ACEOF
   19445 
   19446 
   19447 cat >>confdefs.h <<_ACEOF
   19448 #define bswap_64 ${BSWAP}64
   19449 _ACEOF
   19450 
   19451 	fi
   19452 fi
   19453 
   19454 
   19455 
   19456 DRIVER_NAME=r128
   19457 
   19458 
   19459 { $as_echo "$as_me:${as_lineno-$LINENO}: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   19460 the ati wrapper as well:
   19461     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   19462 " >&5
   19463 $as_echo "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   19464 the ati wrapper as well:
   19465     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   19466 " >&6;}
   19467 
   19468 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19469 
   19470 cat >confcache <<\_ACEOF
   19471 # This file is a shell script that caches the results of configure
   19472 # tests run on this system so they can be shared between configure
   19473 # scripts and configure runs, see configure's option --config-cache.
   19474 # It is not useful on other systems.  If it contains results you don't
   19475 # want to keep, you may remove or edit it.
   19476 #
   19477 # config.status only pays attention to the cache file if you give it
   19478 # the --recheck option to rerun configure.
   19479 #
   19480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19482 # following values.
   19483 
   19484 _ACEOF
   19485 
   19486 # The following way of writing the cache mishandles newlines in values,
   19487 # but we know of no workaround that is simple, portable, and efficient.
   19488 # So, we kill variables containing newlines.
   19489 # Ultrix sh set writes to stderr and can't be redirected directly,
   19490 # and sets the high bit in the cache file unless we assign to the vars.
   19491 (
   19492   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19493     eval ac_val=\$$ac_var
   19494     case $ac_val in #(
   19495     *${as_nl}*)
   19496       case $ac_var in #(
   19497       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19498 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19499       esac
   19500       case $ac_var in #(
   19501       _ | IFS | as_nl) ;; #(
   19502       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19503       *) { eval $ac_var=; unset $ac_var;} ;;
   19504       esac ;;
   19505     esac
   19506   done
   19507 
   19508   (set) 2>&1 |
   19509     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19510     *${as_nl}ac_space=\ *)
   19511       # `set' does not quote correctly, so add quotes: double-quote
   19512       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19513       sed -n \
   19514 	"s/'/'\\\\''/g;
   19515 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19516       ;; #(
   19517     *)
   19518       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19519       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19520       ;;
   19521     esac |
   19522     sort
   19523 ) |
   19524   sed '
   19525      /^ac_cv_env_/b end
   19526      t clear
   19527      :clear
   19528      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19529      t end
   19530      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19531      :end' >>confcache
   19532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19533   if test -w "$cache_file"; then
   19534     if test "x$cache_file" != "x/dev/null"; then
   19535       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19536 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19537       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19538 	cat confcache >"$cache_file"
   19539       else
   19540         case $cache_file in #(
   19541         */* | ?:*)
   19542 	  mv -f confcache "$cache_file"$$ &&
   19543 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19544         *)
   19545 	  mv -f confcache "$cache_file" ;;
   19546 	esac
   19547       fi
   19548     fi
   19549   else
   19550     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19551 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19552   fi
   19553 fi
   19554 rm -f confcache
   19555 
   19556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19557 # Let make expand exec_prefix.
   19558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19559 
   19560 DEFS=-DHAVE_CONFIG_H
   19561 
   19562 ac_libobjs=
   19563 ac_ltlibobjs=
   19564 U=
   19565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19566   # 1. Remove the extension, and $U if already installed.
   19567   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19568   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19569   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19570   #    will be set to the directory where LIBOBJS objects are built.
   19571   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19572   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19573 done
   19574 LIBOBJS=$ac_libobjs
   19575 
   19576 LTLIBOBJS=$ac_ltlibobjs
   19577 
   19578 
   19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19580 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19581    if test -n "$am_sleep_pid"; then
   19582      # Hide warnings about reused PIDs.
   19583      wait $am_sleep_pid 2>/dev/null
   19584    fi
   19585    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19586 $as_echo "done" >&6; }
   19587  if test -n "$EXEEXT"; then
   19588   am__EXEEXT_TRUE=
   19589   am__EXEEXT_FALSE='#'
   19590 else
   19591   am__EXEEXT_TRUE='#'
   19592   am__EXEEXT_FALSE=
   19593 fi
   19594 
   19595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19596   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19598 fi
   19599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19600   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19602 fi
   19603 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19604   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19606 fi
   19607 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19608   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19610 fi
   19611 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19612   as_fn_error $? "conditional \"DRI\" was never defined.
   19613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19614 fi
   19615 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19616   as_fn_error $? "conditional \"XAA\" was never defined.
   19617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19618 fi
   19619 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   19620   as_fn_error $? "conditional \"USE_EXA\" was never defined.
   19621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19622 fi
   19623 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19624   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19626 fi
   19627 
   19628 : "${CONFIG_STATUS=./config.status}"
   19629 ac_write_fail=0
   19630 ac_clean_files_save=$ac_clean_files
   19631 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19633 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19634 as_write_fail=0
   19635 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19636 #! $SHELL
   19637 # Generated by $as_me.
   19638 # Run this file to recreate the current configuration.
   19639 # Compiler output produced by configure, useful for debugging
   19640 # configure, is in config.log if it exists.
   19641 
   19642 debug=false
   19643 ac_cs_recheck=false
   19644 ac_cs_silent=false
   19645 
   19646 SHELL=\${CONFIG_SHELL-$SHELL}
   19647 export SHELL
   19648 _ASEOF
   19649 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19650 ## -------------------- ##
   19651 ## M4sh Initialization. ##
   19652 ## -------------------- ##
   19653 
   19654 # Be more Bourne compatible
   19655 DUALCASE=1; export DUALCASE # for MKS sh
   19656 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19657   emulate sh
   19658   NULLCMD=:
   19659   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19660   # is contrary to our usage.  Disable this feature.
   19661   alias -g '${1+"$@"}'='"$@"'
   19662   setopt NO_GLOB_SUBST
   19663 else
   19664   case `(set -o) 2>/dev/null` in #(
   19665   *posix*) :
   19666     set -o posix ;; #(
   19667   *) :
   19668      ;;
   19669 esac
   19670 fi
   19671 
   19672 
   19673 as_nl='
   19674 '
   19675 export as_nl
   19676 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19677 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19678 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19680 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19681 # but without wasting forks for bash or zsh.
   19682 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19683     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19684   as_echo='print -r --'
   19685   as_echo_n='print -rn --'
   19686 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19687   as_echo='printf %s\n'
   19688   as_echo_n='printf %s'
   19689 else
   19690   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19691     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19692     as_echo_n='/usr/ucb/echo -n'
   19693   else
   19694     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19695     as_echo_n_body='eval
   19696       arg=$1;
   19697       case $arg in #(
   19698       *"$as_nl"*)
   19699 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19700 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19701       esac;
   19702       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19703     '
   19704     export as_echo_n_body
   19705     as_echo_n='sh -c $as_echo_n_body as_echo'
   19706   fi
   19707   export as_echo_body
   19708   as_echo='sh -c $as_echo_body as_echo'
   19709 fi
   19710 
   19711 # The user is always right.
   19712 if test "${PATH_SEPARATOR+set}" != set; then
   19713   PATH_SEPARATOR=:
   19714   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19715     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19716       PATH_SEPARATOR=';'
   19717   }
   19718 fi
   19719 
   19720 
   19721 # IFS
   19722 # We need space, tab and new line, in precisely that order.  Quoting is
   19723 # there to prevent editors from complaining about space-tab.
   19724 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19725 # splitting by setting IFS to empty value.)
   19726 IFS=" ""	$as_nl"
   19727 
   19728 # Find who we are.  Look in the path if we contain no directory separator.
   19729 as_myself=
   19730 case $0 in #((
   19731   *[\\/]* ) as_myself=$0 ;;
   19732   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19733 for as_dir in $PATH
   19734 do
   19735   IFS=$as_save_IFS
   19736   test -z "$as_dir" && as_dir=.
   19737     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19738   done
   19739 IFS=$as_save_IFS
   19740 
   19741      ;;
   19742 esac
   19743 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19744 # in which case we are not to be found in the path.
   19745 if test "x$as_myself" = x; then
   19746   as_myself=$0
   19747 fi
   19748 if test ! -f "$as_myself"; then
   19749   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19750   exit 1
   19751 fi
   19752 
   19753 # Unset variables that we do not need and which cause bugs (e.g. in
   19754 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19755 # suppresses any "Segmentation fault" message there.  '((' could
   19756 # trigger a bug in pdksh 5.2.14.
   19757 for as_var in BASH_ENV ENV MAIL MAILPATH
   19758 do eval test x\${$as_var+set} = xset \
   19759   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19760 done
   19761 PS1='$ '
   19762 PS2='> '
   19763 PS4='+ '
   19764 
   19765 # NLS nuisances.
   19766 LC_ALL=C
   19767 export LC_ALL
   19768 LANGUAGE=C
   19769 export LANGUAGE
   19770 
   19771 # CDPATH.
   19772 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19773 
   19774 
   19775 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19776 # ----------------------------------------
   19777 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19778 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19779 # script with STATUS, using 1 if that was 0.
   19780 as_fn_error ()
   19781 {
   19782   as_status=$1; test $as_status -eq 0 && as_status=1
   19783   if test "$4"; then
   19784     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19785     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19786   fi
   19787   $as_echo "$as_me: error: $2" >&2
   19788   as_fn_exit $as_status
   19789 } # as_fn_error
   19790 
   19791 
   19792 # as_fn_set_status STATUS
   19793 # -----------------------
   19794 # Set $? to STATUS, without forking.
   19795 as_fn_set_status ()
   19796 {
   19797   return $1
   19798 } # as_fn_set_status
   19799 
   19800 # as_fn_exit STATUS
   19801 # -----------------
   19802 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19803 as_fn_exit ()
   19804 {
   19805   set +e
   19806   as_fn_set_status $1
   19807   exit $1
   19808 } # as_fn_exit
   19809 
   19810 # as_fn_unset VAR
   19811 # ---------------
   19812 # Portably unset VAR.
   19813 as_fn_unset ()
   19814 {
   19815   { eval $1=; unset $1;}
   19816 }
   19817 as_unset=as_fn_unset
   19818 # as_fn_append VAR VALUE
   19819 # ----------------------
   19820 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19821 # advantage of any shell optimizations that allow amortized linear growth over
   19822 # repeated appends, instead of the typical quadratic growth present in naive
   19823 # implementations.
   19824 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19825   eval 'as_fn_append ()
   19826   {
   19827     eval $1+=\$2
   19828   }'
   19829 else
   19830   as_fn_append ()
   19831   {
   19832     eval $1=\$$1\$2
   19833   }
   19834 fi # as_fn_append
   19835 
   19836 # as_fn_arith ARG...
   19837 # ------------------
   19838 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19839 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19840 # must be portable across $(()) and expr.
   19841 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19842   eval 'as_fn_arith ()
   19843   {
   19844     as_val=$(( $* ))
   19845   }'
   19846 else
   19847   as_fn_arith ()
   19848   {
   19849     as_val=`expr "$@" || test $? -eq 1`
   19850   }
   19851 fi # as_fn_arith
   19852 
   19853 
   19854 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19855    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19856   as_expr=expr
   19857 else
   19858   as_expr=false
   19859 fi
   19860 
   19861 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19862   as_basename=basename
   19863 else
   19864   as_basename=false
   19865 fi
   19866 
   19867 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19868   as_dirname=dirname
   19869 else
   19870   as_dirname=false
   19871 fi
   19872 
   19873 as_me=`$as_basename -- "$0" ||
   19874 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19875 	 X"$0" : 'X\(//\)$' \| \
   19876 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19877 $as_echo X/"$0" |
   19878     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19879 	    s//\1/
   19880 	    q
   19881 	  }
   19882 	  /^X\/\(\/\/\)$/{
   19883 	    s//\1/
   19884 	    q
   19885 	  }
   19886 	  /^X\/\(\/\).*/{
   19887 	    s//\1/
   19888 	    q
   19889 	  }
   19890 	  s/.*/./; q'`
   19891 
   19892 # Avoid depending upon Character Ranges.
   19893 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19894 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19895 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19896 as_cr_digits='0123456789'
   19897 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19898 
   19899 ECHO_C= ECHO_N= ECHO_T=
   19900 case `echo -n x` in #(((((
   19901 -n*)
   19902   case `echo 'xy\c'` in
   19903   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19904   xy)  ECHO_C='\c';;
   19905   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19906        ECHO_T='	';;
   19907   esac;;
   19908 *)
   19909   ECHO_N='-n';;
   19910 esac
   19911 
   19912 rm -f conf$$ conf$$.exe conf$$.file
   19913 if test -d conf$$.dir; then
   19914   rm -f conf$$.dir/conf$$.file
   19915 else
   19916   rm -f conf$$.dir
   19917   mkdir conf$$.dir 2>/dev/null
   19918 fi
   19919 if (echo >conf$$.file) 2>/dev/null; then
   19920   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19921     as_ln_s='ln -s'
   19922     # ... but there are two gotchas:
   19923     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19924     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19925     # In both cases, we have to default to `cp -pR'.
   19926     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19927       as_ln_s='cp -pR'
   19928   elif ln conf$$.file conf$$ 2>/dev/null; then
   19929     as_ln_s=ln
   19930   else
   19931     as_ln_s='cp -pR'
   19932   fi
   19933 else
   19934   as_ln_s='cp -pR'
   19935 fi
   19936 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19937 rmdir conf$$.dir 2>/dev/null
   19938 
   19939 
   19940 # as_fn_mkdir_p
   19941 # -------------
   19942 # Create "$as_dir" as a directory, including parents if necessary.
   19943 as_fn_mkdir_p ()
   19944 {
   19945 
   19946   case $as_dir in #(
   19947   -*) as_dir=./$as_dir;;
   19948   esac
   19949   test -d "$as_dir" || eval $as_mkdir_p || {
   19950     as_dirs=
   19951     while :; do
   19952       case $as_dir in #(
   19953       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19954       *) as_qdir=$as_dir;;
   19955       esac
   19956       as_dirs="'$as_qdir' $as_dirs"
   19957       as_dir=`$as_dirname -- "$as_dir" ||
   19958 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19959 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19960 	 X"$as_dir" : 'X\(//\)$' \| \
   19961 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19962 $as_echo X"$as_dir" |
   19963     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19964 	    s//\1/
   19965 	    q
   19966 	  }
   19967 	  /^X\(\/\/\)[^/].*/{
   19968 	    s//\1/
   19969 	    q
   19970 	  }
   19971 	  /^X\(\/\/\)$/{
   19972 	    s//\1/
   19973 	    q
   19974 	  }
   19975 	  /^X\(\/\).*/{
   19976 	    s//\1/
   19977 	    q
   19978 	  }
   19979 	  s/.*/./; q'`
   19980       test -d "$as_dir" && break
   19981     done
   19982     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19983   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19984 
   19985 
   19986 } # as_fn_mkdir_p
   19987 if mkdir -p . 2>/dev/null; then
   19988   as_mkdir_p='mkdir -p "$as_dir"'
   19989 else
   19990   test -d ./-p && rmdir ./-p
   19991   as_mkdir_p=false
   19992 fi
   19993 
   19994 
   19995 # as_fn_executable_p FILE
   19996 # -----------------------
   19997 # Test if FILE is an executable regular file.
   19998 as_fn_executable_p ()
   19999 {
   20000   test -f "$1" && test -x "$1"
   20001 } # as_fn_executable_p
   20002 as_test_x='test -x'
   20003 as_executable_p=as_fn_executable_p
   20004 
   20005 # Sed expression to map a string onto a valid CPP name.
   20006 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20007 
   20008 # Sed expression to map a string onto a valid variable name.
   20009 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20010 
   20011 
   20012 exec 6>&1
   20013 ## ----------------------------------- ##
   20014 ## Main body of $CONFIG_STATUS script. ##
   20015 ## ----------------------------------- ##
   20016 _ASEOF
   20017 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20018 
   20019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20020 # Save the log message, to keep $0 and so on meaningful, and to
   20021 # report actual input values of CONFIG_FILES etc. instead of their
   20022 # values after options handling.
   20023 ac_log="
   20024 This file was extended by xf86-video-r128 $as_me 6.10.0, which was
   20025 generated by GNU Autoconf 2.69.  Invocation command line was
   20026 
   20027   CONFIG_FILES    = $CONFIG_FILES
   20028   CONFIG_HEADERS  = $CONFIG_HEADERS
   20029   CONFIG_LINKS    = $CONFIG_LINKS
   20030   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20031   $ $0 $@
   20032 
   20033 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20034 "
   20035 
   20036 _ACEOF
   20037 
   20038 case $ac_config_files in *"
   20039 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20040 esac
   20041 
   20042 case $ac_config_headers in *"
   20043 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20044 esac
   20045 
   20046 
   20047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20048 # Files that config.status was made for.
   20049 config_files="$ac_config_files"
   20050 config_headers="$ac_config_headers"
   20051 config_commands="$ac_config_commands"
   20052 
   20053 _ACEOF
   20054 
   20055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20056 ac_cs_usage="\
   20057 \`$as_me' instantiates files and other configuration actions
   20058 from templates according to the current configuration.  Unless the files
   20059 and actions are specified as TAGs, all are instantiated by default.
   20060 
   20061 Usage: $0 [OPTION]... [TAG]...
   20062 
   20063   -h, --help       print this help, then exit
   20064   -V, --version    print version number and configuration settings, then exit
   20065       --config     print configuration, then exit
   20066   -q, --quiet, --silent
   20067                    do not print progress messages
   20068   -d, --debug      don't remove temporary files
   20069       --recheck    update $as_me by reconfiguring in the same conditions
   20070       --file=FILE[:TEMPLATE]
   20071                    instantiate the configuration file FILE
   20072       --header=FILE[:TEMPLATE]
   20073                    instantiate the configuration header FILE
   20074 
   20075 Configuration files:
   20076 $config_files
   20077 
   20078 Configuration headers:
   20079 $config_headers
   20080 
   20081 Configuration commands:
   20082 $config_commands
   20083 
   20084 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20085 
   20086 _ACEOF
   20087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20088 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20089 ac_cs_version="\\
   20090 xf86-video-r128 config.status 6.10.0
   20091 configured by $0, generated by GNU Autoconf 2.69,
   20092   with options \\"\$ac_cs_config\\"
   20093 
   20094 Copyright (C) 2012 Free Software Foundation, Inc.
   20095 This config.status script is free software; the Free Software Foundation
   20096 gives unlimited permission to copy, distribute and modify it."
   20097 
   20098 ac_pwd='$ac_pwd'
   20099 srcdir='$srcdir'
   20100 INSTALL='$INSTALL'
   20101 MKDIR_P='$MKDIR_P'
   20102 AWK='$AWK'
   20103 test -n "\$AWK" || AWK=awk
   20104 _ACEOF
   20105 
   20106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20107 # The default lists apply if the user does not specify any file.
   20108 ac_need_defaults=:
   20109 while test $# != 0
   20110 do
   20111   case $1 in
   20112   --*=?*)
   20113     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20114     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20115     ac_shift=:
   20116     ;;
   20117   --*=)
   20118     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20119     ac_optarg=
   20120     ac_shift=:
   20121     ;;
   20122   *)
   20123     ac_option=$1
   20124     ac_optarg=$2
   20125     ac_shift=shift
   20126     ;;
   20127   esac
   20128 
   20129   case $ac_option in
   20130   # Handling of the options.
   20131   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20132     ac_cs_recheck=: ;;
   20133   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20134     $as_echo "$ac_cs_version"; exit ;;
   20135   --config | --confi | --conf | --con | --co | --c )
   20136     $as_echo "$ac_cs_config"; exit ;;
   20137   --debug | --debu | --deb | --de | --d | -d )
   20138     debug=: ;;
   20139   --file | --fil | --fi | --f )
   20140     $ac_shift
   20141     case $ac_optarg in
   20142     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20143     '') as_fn_error $? "missing file argument" ;;
   20144     esac
   20145     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20146     ac_need_defaults=false;;
   20147   --header | --heade | --head | --hea )
   20148     $ac_shift
   20149     case $ac_optarg in
   20150     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20151     esac
   20152     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20153     ac_need_defaults=false;;
   20154   --he | --h)
   20155     # Conflict between --help and --header
   20156     as_fn_error $? "ambiguous option: \`$1'
   20157 Try \`$0 --help' for more information.";;
   20158   --help | --hel | -h )
   20159     $as_echo "$ac_cs_usage"; exit ;;
   20160   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20161   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20162     ac_cs_silent=: ;;
   20163 
   20164   # This is an error.
   20165   -*) as_fn_error $? "unrecognized option: \`$1'
   20166 Try \`$0 --help' for more information." ;;
   20167 
   20168   *) as_fn_append ac_config_targets " $1"
   20169      ac_need_defaults=false ;;
   20170 
   20171   esac
   20172   shift
   20173 done
   20174 
   20175 ac_configure_extra_args=
   20176 
   20177 if $ac_cs_silent; then
   20178   exec 6>/dev/null
   20179   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20180 fi
   20181 
   20182 _ACEOF
   20183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20184 if \$ac_cs_recheck; then
   20185   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20186   shift
   20187   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20188   CONFIG_SHELL='$SHELL'
   20189   export CONFIG_SHELL
   20190   exec "\$@"
   20191 fi
   20192 
   20193 _ACEOF
   20194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20195 exec 5>>config.log
   20196 {
   20197   echo
   20198   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20199 ## Running $as_me. ##
   20200 _ASBOX
   20201   $as_echo "$ac_log"
   20202 } >&5
   20203 
   20204 _ACEOF
   20205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20206 #
   20207 # INIT-COMMANDS
   20208 #
   20209 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20210 
   20211 
   20212 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20213 # if CDPATH is set.
   20214 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20215 
   20216 sed_quote_subst='$sed_quote_subst'
   20217 double_quote_subst='$double_quote_subst'
   20218 delay_variable_subst='$delay_variable_subst'
   20219 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20220 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20221 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20222 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20223 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20224 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20225 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20226 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20227 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20228 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20229 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20230 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20231 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20232 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20233 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20234 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20235 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20236 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20237 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20238 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20239 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20240 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20241 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20242 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20243 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20244 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20245 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20246 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20247 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20248 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20249 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20250 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20251 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20252 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20253 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20254 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20255 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20256 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20257 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20258 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20259 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20260 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20261 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20262 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20263 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20264 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20265 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20266 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20267 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20268 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20269 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20270 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20271 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20272 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20273 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20274 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20275 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20276 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20277 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"`'
   20278 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20279 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20280 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20281 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20282 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20283 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20284 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20285 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20286 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20287 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20288 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20289 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20290 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20291 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20292 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20293 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20294 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20295 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20296 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20297 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20298 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20299 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20300 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20301 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20302 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20303 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20304 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20305 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20306 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20307 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20308 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20309 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20310 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20311 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20312 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20313 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20314 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20315 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20316 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20317 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20318 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20319 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20320 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20321 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20322 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20323 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20324 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20325 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20326 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20327 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20328 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20329 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20330 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20331 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20332 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20333 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20334 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20335 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20336 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20337 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20338 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20339 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20340 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20341 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20342 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20343 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20344 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20345 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20346 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20347 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20348 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20349 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20350 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20351 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20352 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20353 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20354 
   20355 LTCC='$LTCC'
   20356 LTCFLAGS='$LTCFLAGS'
   20357 compiler='$compiler_DEFAULT'
   20358 
   20359 # A function that is used when there is no print builtin or printf.
   20360 func_fallback_echo ()
   20361 {
   20362   eval 'cat <<_LTECHO_EOF
   20363 \$1
   20364 _LTECHO_EOF'
   20365 }
   20366 
   20367 # Quote evaled strings.
   20368 for var in SHELL \
   20369 ECHO \
   20370 PATH_SEPARATOR \
   20371 SED \
   20372 GREP \
   20373 EGREP \
   20374 FGREP \
   20375 LD \
   20376 NM \
   20377 LN_S \
   20378 lt_SP2NL \
   20379 lt_NL2SP \
   20380 reload_flag \
   20381 OBJDUMP \
   20382 deplibs_check_method \
   20383 file_magic_cmd \
   20384 file_magic_glob \
   20385 want_nocaseglob \
   20386 DLLTOOL \
   20387 sharedlib_from_linklib_cmd \
   20388 AR \
   20389 AR_FLAGS \
   20390 archiver_list_spec \
   20391 STRIP \
   20392 RANLIB \
   20393 CC \
   20394 CFLAGS \
   20395 compiler \
   20396 lt_cv_sys_global_symbol_pipe \
   20397 lt_cv_sys_global_symbol_to_cdecl \
   20398 lt_cv_sys_global_symbol_to_import \
   20399 lt_cv_sys_global_symbol_to_c_name_address \
   20400 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20401 lt_cv_nm_interface \
   20402 nm_file_list_spec \
   20403 lt_cv_truncate_bin \
   20404 lt_prog_compiler_no_builtin_flag \
   20405 lt_prog_compiler_pic \
   20406 lt_prog_compiler_wl \
   20407 lt_prog_compiler_static \
   20408 lt_cv_prog_compiler_c_o \
   20409 need_locks \
   20410 MANIFEST_TOOL \
   20411 DSYMUTIL \
   20412 NMEDIT \
   20413 LIPO \
   20414 OTOOL \
   20415 OTOOL64 \
   20416 shrext_cmds \
   20417 export_dynamic_flag_spec \
   20418 whole_archive_flag_spec \
   20419 compiler_needs_object \
   20420 with_gnu_ld \
   20421 allow_undefined_flag \
   20422 no_undefined_flag \
   20423 hardcode_libdir_flag_spec \
   20424 hardcode_libdir_separator \
   20425 exclude_expsyms \
   20426 include_expsyms \
   20427 file_list_spec \
   20428 variables_saved_for_relink \
   20429 libname_spec \
   20430 library_names_spec \
   20431 soname_spec \
   20432 install_override_mode \
   20433 finish_eval \
   20434 old_striplib \
   20435 striplib; do
   20436     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20437     *[\\\\\\\`\\"\\\$]*)
   20438       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20439       ;;
   20440     *)
   20441       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20442       ;;
   20443     esac
   20444 done
   20445 
   20446 # Double-quote double-evaled strings.
   20447 for var in reload_cmds \
   20448 old_postinstall_cmds \
   20449 old_postuninstall_cmds \
   20450 old_archive_cmds \
   20451 extract_expsyms_cmds \
   20452 old_archive_from_new_cmds \
   20453 old_archive_from_expsyms_cmds \
   20454 archive_cmds \
   20455 archive_expsym_cmds \
   20456 module_cmds \
   20457 module_expsym_cmds \
   20458 export_symbols_cmds \
   20459 prelink_cmds \
   20460 postlink_cmds \
   20461 postinstall_cmds \
   20462 postuninstall_cmds \
   20463 finish_cmds \
   20464 sys_lib_search_path_spec \
   20465 configure_time_dlsearch_path \
   20466 configure_time_lt_sys_library_path; do
   20467     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20468     *[\\\\\\\`\\"\\\$]*)
   20469       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20470       ;;
   20471     *)
   20472       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20473       ;;
   20474     esac
   20475 done
   20476 
   20477 ac_aux_dir='$ac_aux_dir'
   20478 
   20479 # See if we are running on zsh, and set the options that allow our
   20480 # commands through without removal of \ escapes INIT.
   20481 if test -n "\${ZSH_VERSION+set}"; then
   20482    setopt NO_GLOB_SUBST
   20483 fi
   20484 
   20485 
   20486     PACKAGE='$PACKAGE'
   20487     VERSION='$VERSION'
   20488     RM='$RM'
   20489     ofile='$ofile'
   20490 
   20491 
   20492 
   20493 
   20494 _ACEOF
   20495 
   20496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20497 
   20498 # Handling of arguments.
   20499 for ac_config_target in $ac_config_targets
   20500 do
   20501   case $ac_config_target in
   20502     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20503     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20504     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20505     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20506     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20507     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20508 
   20509   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20510   esac
   20511 done
   20512 
   20513 
   20514 # If the user did not use the arguments to specify the items to instantiate,
   20515 # then the envvar interface is used.  Set only those that are not.
   20516 # We use the long form for the default assignment because of an extremely
   20517 # bizarre bug on SunOS 4.1.3.
   20518 if $ac_need_defaults; then
   20519   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20520   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20521   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20522 fi
   20523 
   20524 # Have a temporary directory for convenience.  Make it in the build tree
   20525 # simply because there is no reason against having it here, and in addition,
   20526 # creating and moving files from /tmp can sometimes cause problems.
   20527 # Hook for its removal unless debugging.
   20528 # Note that there is a small window in which the directory will not be cleaned:
   20529 # after its creation but before its name has been assigned to `$tmp'.
   20530 $debug ||
   20531 {
   20532   tmp= ac_tmp=
   20533   trap 'exit_status=$?
   20534   : "${ac_tmp:=$tmp}"
   20535   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20536 ' 0
   20537   trap 'as_fn_exit 1' 1 2 13 15
   20538 }
   20539 # Create a (secure) tmp directory for tmp files.
   20540 
   20541 {
   20542   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20543   test -d "$tmp"
   20544 }  ||
   20545 {
   20546   tmp=./conf$$-$RANDOM
   20547   (umask 077 && mkdir "$tmp")
   20548 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20549 ac_tmp=$tmp
   20550 
   20551 # Set up the scripts for CONFIG_FILES section.
   20552 # No need to generate them if there are no CONFIG_FILES.
   20553 # This happens for instance with `./config.status config.h'.
   20554 if test -n "$CONFIG_FILES"; then
   20555 
   20556 
   20557 ac_cr=`echo X | tr X '\015'`
   20558 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20559 # But we know of no other shell where ac_cr would be empty at this
   20560 # point, so we can use a bashism as a fallback.
   20561 if test "x$ac_cr" = x; then
   20562   eval ac_cr=\$\'\\r\'
   20563 fi
   20564 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20565 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20566   ac_cs_awk_cr='\\r'
   20567 else
   20568   ac_cs_awk_cr=$ac_cr
   20569 fi
   20570 
   20571 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20572 _ACEOF
   20573 
   20574 
   20575 {
   20576   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20577   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20578   echo "_ACEOF"
   20579 } >conf$$subs.sh ||
   20580   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20581 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20582 ac_delim='%!_!# '
   20583 for ac_last_try in false false false false false :; do
   20584   . ./conf$$subs.sh ||
   20585     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20586 
   20587   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20588   if test $ac_delim_n = $ac_delim_num; then
   20589     break
   20590   elif $ac_last_try; then
   20591     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20592   else
   20593     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20594   fi
   20595 done
   20596 rm -f conf$$subs.sh
   20597 
   20598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20599 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20600 _ACEOF
   20601 sed -n '
   20602 h
   20603 s/^/S["/; s/!.*/"]=/
   20604 p
   20605 g
   20606 s/^[^!]*!//
   20607 :repl
   20608 t repl
   20609 s/'"$ac_delim"'$//
   20610 t delim
   20611 :nl
   20612 h
   20613 s/\(.\{148\}\)..*/\1/
   20614 t more1
   20615 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20616 p
   20617 n
   20618 b repl
   20619 :more1
   20620 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20621 p
   20622 g
   20623 s/.\{148\}//
   20624 t nl
   20625 :delim
   20626 h
   20627 s/\(.\{148\}\)..*/\1/
   20628 t more2
   20629 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20630 p
   20631 b
   20632 :more2
   20633 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20634 p
   20635 g
   20636 s/.\{148\}//
   20637 t delim
   20638 ' <conf$$subs.awk | sed '
   20639 /^[^""]/{
   20640   N
   20641   s/\n//
   20642 }
   20643 ' >>$CONFIG_STATUS || ac_write_fail=1
   20644 rm -f conf$$subs.awk
   20645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20646 _ACAWK
   20647 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20648   for (key in S) S_is_set[key] = 1
   20649   FS = ""
   20650 
   20651 }
   20652 {
   20653   line = $ 0
   20654   nfields = split(line, field, "@")
   20655   substed = 0
   20656   len = length(field[1])
   20657   for (i = 2; i < nfields; i++) {
   20658     key = field[i]
   20659     keylen = length(key)
   20660     if (S_is_set[key]) {
   20661       value = S[key]
   20662       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20663       len += length(value) + length(field[++i])
   20664       substed = 1
   20665     } else
   20666       len += 1 + keylen
   20667   }
   20668 
   20669   print line
   20670 }
   20671 
   20672 _ACAWK
   20673 _ACEOF
   20674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20675 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20676   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20677 else
   20678   cat
   20679 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20680   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20681 _ACEOF
   20682 
   20683 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20684 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20685 # trailing colons and then remove the whole line if VPATH becomes empty
   20686 # (actually we leave an empty line to preserve line numbers).
   20687 if test "x$srcdir" = x.; then
   20688   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20689 h
   20690 s///
   20691 s/^/:/
   20692 s/[	 ]*$/:/
   20693 s/:\$(srcdir):/:/g
   20694 s/:\${srcdir}:/:/g
   20695 s/:@srcdir@:/:/g
   20696 s/^:*//
   20697 s/:*$//
   20698 x
   20699 s/\(=[	 ]*\).*/\1/
   20700 G
   20701 s/\n//
   20702 s/^[^=]*=[	 ]*$//
   20703 }'
   20704 fi
   20705 
   20706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20707 fi # test -n "$CONFIG_FILES"
   20708 
   20709 # Set up the scripts for CONFIG_HEADERS section.
   20710 # No need to generate them if there are no CONFIG_HEADERS.
   20711 # This happens for instance with `./config.status Makefile'.
   20712 if test -n "$CONFIG_HEADERS"; then
   20713 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20714 BEGIN {
   20715 _ACEOF
   20716 
   20717 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20718 # here-document in config.status, that substitutes the proper values into
   20719 # config.h.in to produce config.h.
   20720 
   20721 # Create a delimiter string that does not exist in confdefs.h, to ease
   20722 # handling of long lines.
   20723 ac_delim='%!_!# '
   20724 for ac_last_try in false false :; do
   20725   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20726   if test -z "$ac_tt"; then
   20727     break
   20728   elif $ac_last_try; then
   20729     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20730   else
   20731     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20732   fi
   20733 done
   20734 
   20735 # For the awk script, D is an array of macro values keyed by name,
   20736 # likewise P contains macro parameters if any.  Preserve backslash
   20737 # newline sequences.
   20738 
   20739 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20740 sed -n '
   20741 s/.\{148\}/&'"$ac_delim"'/g
   20742 t rset
   20743 :rset
   20744 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20745 t def
   20746 d
   20747 :def
   20748 s/\\$//
   20749 t bsnl
   20750 s/["\\]/\\&/g
   20751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20752 D["\1"]=" \3"/p
   20753 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20754 d
   20755 :bsnl
   20756 s/["\\]/\\&/g
   20757 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20758 D["\1"]=" \3\\\\\\n"\\/p
   20759 t cont
   20760 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20761 t cont
   20762 d
   20763 :cont
   20764 n
   20765 s/.\{148\}/&'"$ac_delim"'/g
   20766 t clear
   20767 :clear
   20768 s/\\$//
   20769 t bsnlc
   20770 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20771 d
   20772 :bsnlc
   20773 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20774 b cont
   20775 ' <confdefs.h | sed '
   20776 s/'"$ac_delim"'/"\\\
   20777 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20778 
   20779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20780   for (key in D) D_is_set[key] = 1
   20781   FS = ""
   20782 }
   20783 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20784   line = \$ 0
   20785   split(line, arg, " ")
   20786   if (arg[1] == "#") {
   20787     defundef = arg[2]
   20788     mac1 = arg[3]
   20789   } else {
   20790     defundef = substr(arg[1], 2)
   20791     mac1 = arg[2]
   20792   }
   20793   split(mac1, mac2, "(") #)
   20794   macro = mac2[1]
   20795   prefix = substr(line, 1, index(line, defundef) - 1)
   20796   if (D_is_set[macro]) {
   20797     # Preserve the white space surrounding the "#".
   20798     print prefix "define", macro P[macro] D[macro]
   20799     next
   20800   } else {
   20801     # Replace #undef with comments.  This is necessary, for example,
   20802     # in the case of _POSIX_SOURCE, which is predefined and required
   20803     # on some systems where configure will not decide to define it.
   20804     if (defundef == "undef") {
   20805       print "/*", prefix defundef, macro, "*/"
   20806       next
   20807     }
   20808   }
   20809 }
   20810 { print }
   20811 _ACAWK
   20812 _ACEOF
   20813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20814   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20815 fi # test -n "$CONFIG_HEADERS"
   20816 
   20817 
   20818 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20819 shift
   20820 for ac_tag
   20821 do
   20822   case $ac_tag in
   20823   :[FHLC]) ac_mode=$ac_tag; continue;;
   20824   esac
   20825   case $ac_mode$ac_tag in
   20826   :[FHL]*:*);;
   20827   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20828   :[FH]-) ac_tag=-:-;;
   20829   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20830   esac
   20831   ac_save_IFS=$IFS
   20832   IFS=:
   20833   set x $ac_tag
   20834   IFS=$ac_save_IFS
   20835   shift
   20836   ac_file=$1
   20837   shift
   20838 
   20839   case $ac_mode in
   20840   :L) ac_source=$1;;
   20841   :[FH])
   20842     ac_file_inputs=
   20843     for ac_f
   20844     do
   20845       case $ac_f in
   20846       -) ac_f="$ac_tmp/stdin";;
   20847       *) # Look for the file first in the build tree, then in the source tree
   20848 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20849 	 # because $ac_f cannot contain `:'.
   20850 	 test -f "$ac_f" ||
   20851 	   case $ac_f in
   20852 	   [\\/$]*) false;;
   20853 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20854 	   esac ||
   20855 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20856       esac
   20857       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20858       as_fn_append ac_file_inputs " '$ac_f'"
   20859     done
   20860 
   20861     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20862     # use $as_me), people would be surprised to read:
   20863     #    /* config.h.  Generated by config.status.  */
   20864     configure_input='Generated from '`
   20865 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20866 	`' by configure.'
   20867     if test x"$ac_file" != x-; then
   20868       configure_input="$ac_file.  $configure_input"
   20869       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20870 $as_echo "$as_me: creating $ac_file" >&6;}
   20871     fi
   20872     # Neutralize special characters interpreted by sed in replacement strings.
   20873     case $configure_input in #(
   20874     *\&* | *\|* | *\\* )
   20875        ac_sed_conf_input=`$as_echo "$configure_input" |
   20876        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20877     *) ac_sed_conf_input=$configure_input;;
   20878     esac
   20879 
   20880     case $ac_tag in
   20881     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20882       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20883     esac
   20884     ;;
   20885   esac
   20886 
   20887   ac_dir=`$as_dirname -- "$ac_file" ||
   20888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20889 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20890 	 X"$ac_file" : 'X\(//\)$' \| \
   20891 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20892 $as_echo X"$ac_file" |
   20893     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20894 	    s//\1/
   20895 	    q
   20896 	  }
   20897 	  /^X\(\/\/\)[^/].*/{
   20898 	    s//\1/
   20899 	    q
   20900 	  }
   20901 	  /^X\(\/\/\)$/{
   20902 	    s//\1/
   20903 	    q
   20904 	  }
   20905 	  /^X\(\/\).*/{
   20906 	    s//\1/
   20907 	    q
   20908 	  }
   20909 	  s/.*/./; q'`
   20910   as_dir="$ac_dir"; as_fn_mkdir_p
   20911   ac_builddir=.
   20912 
   20913 case "$ac_dir" in
   20914 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20915 *)
   20916   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20917   # A ".." for each directory in $ac_dir_suffix.
   20918   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20919   case $ac_top_builddir_sub in
   20920   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20921   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20922   esac ;;
   20923 esac
   20924 ac_abs_top_builddir=$ac_pwd
   20925 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20926 # for backward compatibility:
   20927 ac_top_builddir=$ac_top_build_prefix
   20928 
   20929 case $srcdir in
   20930   .)  # We are building in place.
   20931     ac_srcdir=.
   20932     ac_top_srcdir=$ac_top_builddir_sub
   20933     ac_abs_top_srcdir=$ac_pwd ;;
   20934   [\\/]* | ?:[\\/]* )  # Absolute name.
   20935     ac_srcdir=$srcdir$ac_dir_suffix;
   20936     ac_top_srcdir=$srcdir
   20937     ac_abs_top_srcdir=$srcdir ;;
   20938   *) # Relative name.
   20939     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20940     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20941     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20942 esac
   20943 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20944 
   20945 
   20946   case $ac_mode in
   20947   :F)
   20948   #
   20949   # CONFIG_FILE
   20950   #
   20951 
   20952   case $INSTALL in
   20953   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20954   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20955   esac
   20956   ac_MKDIR_P=$MKDIR_P
   20957   case $MKDIR_P in
   20958   [\\/$]* | ?:[\\/]* ) ;;
   20959   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20960   esac
   20961 _ACEOF
   20962 
   20963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20964 # If the template does not know about datarootdir, expand it.
   20965 # FIXME: This hack should be removed a few years after 2.60.
   20966 ac_datarootdir_hack=; ac_datarootdir_seen=
   20967 ac_sed_dataroot='
   20968 /datarootdir/ {
   20969   p
   20970   q
   20971 }
   20972 /@datadir@/p
   20973 /@docdir@/p
   20974 /@infodir@/p
   20975 /@localedir@/p
   20976 /@mandir@/p'
   20977 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20978 *datarootdir*) ac_datarootdir_seen=yes;;
   20979 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20980   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20981 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20982 _ACEOF
   20983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20984   ac_datarootdir_hack='
   20985   s&@datadir@&$datadir&g
   20986   s&@docdir@&$docdir&g
   20987   s&@infodir@&$infodir&g
   20988   s&@localedir@&$localedir&g
   20989   s&@mandir@&$mandir&g
   20990   s&\\\${datarootdir}&$datarootdir&g' ;;
   20991 esac
   20992 _ACEOF
   20993 
   20994 # Neutralize VPATH when `$srcdir' = `.'.
   20995 # Shell code in configure.ac might set extrasub.
   20996 # FIXME: do we really want to maintain this feature?
   20997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20998 ac_sed_extra="$ac_vpsub
   20999 $extrasub
   21000 _ACEOF
   21001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21002 :t
   21003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21004 s|@configure_input@|$ac_sed_conf_input|;t t
   21005 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21006 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21007 s&@srcdir@&$ac_srcdir&;t t
   21008 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21009 s&@top_srcdir@&$ac_top_srcdir&;t t
   21010 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21011 s&@builddir@&$ac_builddir&;t t
   21012 s&@abs_builddir@&$ac_abs_builddir&;t t
   21013 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21014 s&@INSTALL@&$ac_INSTALL&;t t
   21015 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21016 $ac_datarootdir_hack
   21017 "
   21018 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21019   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21020 
   21021 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21022   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21023   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21024       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21025   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21026 which seems to be undefined.  Please make sure it is defined" >&5
   21027 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21028 which seems to be undefined.  Please make sure it is defined" >&2;}
   21029 
   21030   rm -f "$ac_tmp/stdin"
   21031   case $ac_file in
   21032   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21033   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21034   esac \
   21035   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21036  ;;
   21037   :H)
   21038   #
   21039   # CONFIG_HEADER
   21040   #
   21041   if test x"$ac_file" != x-; then
   21042     {
   21043       $as_echo "/* $configure_input  */" \
   21044       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21045     } >"$ac_tmp/config.h" \
   21046       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21047     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21048       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21049 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21050     else
   21051       rm -f "$ac_file"
   21052       mv "$ac_tmp/config.h" "$ac_file" \
   21053 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21054     fi
   21055   else
   21056     $as_echo "/* $configure_input  */" \
   21057       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21058       || as_fn_error $? "could not create -" "$LINENO" 5
   21059   fi
   21060 # Compute "$ac_file"'s index in $config_headers.
   21061 _am_arg="$ac_file"
   21062 _am_stamp_count=1
   21063 for _am_header in $config_headers :; do
   21064   case $_am_header in
   21065     $_am_arg | $_am_arg:* )
   21066       break ;;
   21067     * )
   21068       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21069   esac
   21070 done
   21071 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21072 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21073 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21074 	 X"$_am_arg" : 'X\(//\)$' \| \
   21075 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21076 $as_echo X"$_am_arg" |
   21077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21078 	    s//\1/
   21079 	    q
   21080 	  }
   21081 	  /^X\(\/\/\)[^/].*/{
   21082 	    s//\1/
   21083 	    q
   21084 	  }
   21085 	  /^X\(\/\/\)$/{
   21086 	    s//\1/
   21087 	    q
   21088 	  }
   21089 	  /^X\(\/\).*/{
   21090 	    s//\1/
   21091 	    q
   21092 	  }
   21093 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21094  ;;
   21095 
   21096   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21097 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21098  ;;
   21099   esac
   21100 
   21101 
   21102   case $ac_file$ac_mode in
   21103     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21104   # Older Autoconf quotes --file arguments for eval, but not when files
   21105   # are listed without --file.  Let's play safe and only enable the eval
   21106   # if we detect the quoting.
   21107   case $CONFIG_FILES in
   21108   *\'*) eval set x "$CONFIG_FILES" ;;
   21109   *)   set x $CONFIG_FILES ;;
   21110   esac
   21111   shift
   21112   for mf
   21113   do
   21114     # Strip MF so we end up with the name of the file.
   21115     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21116     # Check whether this is an Automake generated Makefile or not.
   21117     # We used to match only the files named 'Makefile.in', but
   21118     # some people rename them; so instead we look at the file content.
   21119     # Grep'ing the first line is not enough: some people post-process
   21120     # each Makefile.in and add a new line on top of each file to say so.
   21121     # Grep'ing the whole file is not good either: AIX grep has a line
   21122     # limit of 2048, but all sed's we know have understand at least 4000.
   21123     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21124       dirpart=`$as_dirname -- "$mf" ||
   21125 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21126 	 X"$mf" : 'X\(//\)[^/]' \| \
   21127 	 X"$mf" : 'X\(//\)$' \| \
   21128 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21129 $as_echo X"$mf" |
   21130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21131 	    s//\1/
   21132 	    q
   21133 	  }
   21134 	  /^X\(\/\/\)[^/].*/{
   21135 	    s//\1/
   21136 	    q
   21137 	  }
   21138 	  /^X\(\/\/\)$/{
   21139 	    s//\1/
   21140 	    q
   21141 	  }
   21142 	  /^X\(\/\).*/{
   21143 	    s//\1/
   21144 	    q
   21145 	  }
   21146 	  s/.*/./; q'`
   21147     else
   21148       continue
   21149     fi
   21150     # Extract the definition of DEPDIR, am__include, and am__quote
   21151     # from the Makefile without running 'make'.
   21152     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21153     test -z "$DEPDIR" && continue
   21154     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21155     test -z "$am__include" && continue
   21156     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21157     # Find all dependency output files, they are included files with
   21158     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21159     # simplest approach to changing $(DEPDIR) to its actual value in the
   21160     # expansion.
   21161     for file in `sed -n "
   21162       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21163 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21164       # Make sure the directory exists.
   21165       test -f "$dirpart/$file" && continue
   21166       fdir=`$as_dirname -- "$file" ||
   21167 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21168 	 X"$file" : 'X\(//\)[^/]' \| \
   21169 	 X"$file" : 'X\(//\)$' \| \
   21170 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21171 $as_echo X"$file" |
   21172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21173 	    s//\1/
   21174 	    q
   21175 	  }
   21176 	  /^X\(\/\/\)[^/].*/{
   21177 	    s//\1/
   21178 	    q
   21179 	  }
   21180 	  /^X\(\/\/\)$/{
   21181 	    s//\1/
   21182 	    q
   21183 	  }
   21184 	  /^X\(\/\).*/{
   21185 	    s//\1/
   21186 	    q
   21187 	  }
   21188 	  s/.*/./; q'`
   21189       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21190       # echo "creating $dirpart/$file"
   21191       echo '# dummy' > "$dirpart/$file"
   21192     done
   21193   done
   21194 }
   21195  ;;
   21196     "libtool":C)
   21197 
   21198     # See if we are running on zsh, and set the options that allow our
   21199     # commands through without removal of \ escapes.
   21200     if test -n "${ZSH_VERSION+set}"; then
   21201       setopt NO_GLOB_SUBST
   21202     fi
   21203 
   21204     cfgfile=${ofile}T
   21205     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21206     $RM "$cfgfile"
   21207 
   21208     cat <<_LT_EOF >> "$cfgfile"
   21209 #! $SHELL
   21210 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21212 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21213 
   21214 # Provide generalized library-building support services.
   21215 # Written by Gordon Matzigkeit, 1996
   21216 
   21217 # Copyright (C) 2014 Free Software Foundation, Inc.
   21218 # This is free software; see the source for copying conditions.  There is NO
   21219 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21220 
   21221 # GNU Libtool is free software; you can redistribute it and/or modify
   21222 # it under the terms of the GNU General Public License as published by
   21223 # the Free Software Foundation; either version 2 of of the License, or
   21224 # (at your option) any later version.
   21225 #
   21226 # As a special exception to the GNU General Public License, if you
   21227 # distribute this file as part of a program or library that is built
   21228 # using GNU Libtool, you may include this file under the  same
   21229 # distribution terms that you use for the rest of that program.
   21230 #
   21231 # GNU Libtool is distributed in the hope that it will be useful, but
   21232 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21233 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21234 # GNU General Public License for more details.
   21235 #
   21236 # You should have received a copy of the GNU General Public License
   21237 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21238 
   21239 
   21240 # The names of the tagged configurations supported by this script.
   21241 available_tags=''
   21242 
   21243 # Configured defaults for sys_lib_dlsearch_path munging.
   21244 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21245 
   21246 # ### BEGIN LIBTOOL CONFIG
   21247 
   21248 # Whether or not to build static libraries.
   21249 build_old_libs=$enable_static
   21250 
   21251 # Which release of libtool.m4 was used?
   21252 macro_version=$macro_version
   21253 macro_revision=$macro_revision
   21254 
   21255 # Whether or not to build shared libraries.
   21256 build_libtool_libs=$enable_shared
   21257 
   21258 # What type of objects to build.
   21259 pic_mode=$pic_mode
   21260 
   21261 # Whether or not to optimize for fast installation.
   21262 fast_install=$enable_fast_install
   21263 
   21264 # Shared archive member basename,for filename based shared library versioning on AIX.
   21265 shared_archive_member_spec=$shared_archive_member_spec
   21266 
   21267 # Shell to use when invoking shell scripts.
   21268 SHELL=$lt_SHELL
   21269 
   21270 # An echo program that protects backslashes.
   21271 ECHO=$lt_ECHO
   21272 
   21273 # The PATH separator for the build system.
   21274 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21275 
   21276 # The host system.
   21277 host_alias=$host_alias
   21278 host=$host
   21279 host_os=$host_os
   21280 
   21281 # The build system.
   21282 build_alias=$build_alias
   21283 build=$build
   21284 build_os=$build_os
   21285 
   21286 # A sed program that does not truncate output.
   21287 SED=$lt_SED
   21288 
   21289 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21290 Xsed="\$SED -e 1s/^X//"
   21291 
   21292 # A grep program that handles long lines.
   21293 GREP=$lt_GREP
   21294 
   21295 # An ERE matcher.
   21296 EGREP=$lt_EGREP
   21297 
   21298 # A literal string matcher.
   21299 FGREP=$lt_FGREP
   21300 
   21301 # A BSD- or MS-compatible name lister.
   21302 NM=$lt_NM
   21303 
   21304 # Whether we need soft or hard links.
   21305 LN_S=$lt_LN_S
   21306 
   21307 # What is the maximum length of a command?
   21308 max_cmd_len=$max_cmd_len
   21309 
   21310 # Object file suffix (normally "o").
   21311 objext=$ac_objext
   21312 
   21313 # Executable file suffix (normally "").
   21314 exeext=$exeext
   21315 
   21316 # whether the shell understands "unset".
   21317 lt_unset=$lt_unset
   21318 
   21319 # turn spaces into newlines.
   21320 SP2NL=$lt_lt_SP2NL
   21321 
   21322 # turn newlines into spaces.
   21323 NL2SP=$lt_lt_NL2SP
   21324 
   21325 # convert \$build file names to \$host format.
   21326 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21327 
   21328 # convert \$build files to toolchain format.
   21329 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21330 
   21331 # An object symbol dumper.
   21332 OBJDUMP=$lt_OBJDUMP
   21333 
   21334 # Method to check whether dependent libraries are shared objects.
   21335 deplibs_check_method=$lt_deplibs_check_method
   21336 
   21337 # Command to use when deplibs_check_method = "file_magic".
   21338 file_magic_cmd=$lt_file_magic_cmd
   21339 
   21340 # How to find potential files when deplibs_check_method = "file_magic".
   21341 file_magic_glob=$lt_file_magic_glob
   21342 
   21343 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21344 want_nocaseglob=$lt_want_nocaseglob
   21345 
   21346 # DLL creation program.
   21347 DLLTOOL=$lt_DLLTOOL
   21348 
   21349 # Command to associate shared and link libraries.
   21350 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21351 
   21352 # The archiver.
   21353 AR=$lt_AR
   21354 
   21355 # Flags to create an archive.
   21356 AR_FLAGS=$lt_AR_FLAGS
   21357 
   21358 # How to feed a file listing to the archiver.
   21359 archiver_list_spec=$lt_archiver_list_spec
   21360 
   21361 # A symbol stripping program.
   21362 STRIP=$lt_STRIP
   21363 
   21364 # Commands used to install an old-style archive.
   21365 RANLIB=$lt_RANLIB
   21366 old_postinstall_cmds=$lt_old_postinstall_cmds
   21367 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21368 
   21369 # Whether to use a lock for old archive extraction.
   21370 lock_old_archive_extraction=$lock_old_archive_extraction
   21371 
   21372 # A C compiler.
   21373 LTCC=$lt_CC
   21374 
   21375 # LTCC compiler flags.
   21376 LTCFLAGS=$lt_CFLAGS
   21377 
   21378 # Take the output of nm and produce a listing of raw symbols and C names.
   21379 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21380 
   21381 # Transform the output of nm in a proper C declaration.
   21382 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21383 
   21384 # Transform the output of nm into a list of symbols to manually relocate.
   21385 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21386 
   21387 # Transform the output of nm in a C name address pair.
   21388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21389 
   21390 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21392 
   21393 # The name lister interface.
   21394 nm_interface=$lt_lt_cv_nm_interface
   21395 
   21396 # Specify filename containing input files for \$NM.
   21397 nm_file_list_spec=$lt_nm_file_list_spec
   21398 
   21399 # The root where to search for dependent libraries,and where our libraries should be installed.
   21400 lt_sysroot=$lt_sysroot
   21401 
   21402 # Command to truncate a binary pipe.
   21403 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21404 
   21405 # The name of the directory that contains temporary libtool files.
   21406 objdir=$objdir
   21407 
   21408 # Used to examine libraries when file_magic_cmd begins with "file".
   21409 MAGIC_CMD=$MAGIC_CMD
   21410 
   21411 # Must we lock files when doing compilation?
   21412 need_locks=$lt_need_locks
   21413 
   21414 # Manifest tool.
   21415 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21416 
   21417 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21418 DSYMUTIL=$lt_DSYMUTIL
   21419 
   21420 # Tool to change global to local symbols on Mac OS X.
   21421 NMEDIT=$lt_NMEDIT
   21422 
   21423 # Tool to manipulate fat objects and archives on Mac OS X.
   21424 LIPO=$lt_LIPO
   21425 
   21426 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21427 OTOOL=$lt_OTOOL
   21428 
   21429 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21430 OTOOL64=$lt_OTOOL64
   21431 
   21432 # Old archive suffix (normally "a").
   21433 libext=$libext
   21434 
   21435 # Shared library suffix (normally ".so").
   21436 shrext_cmds=$lt_shrext_cmds
   21437 
   21438 # The commands to extract the exported symbol list from a shared archive.
   21439 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21440 
   21441 # Variables whose values should be saved in libtool wrapper scripts and
   21442 # restored at link time.
   21443 variables_saved_for_relink=$lt_variables_saved_for_relink
   21444 
   21445 # Do we need the "lib" prefix for modules?
   21446 need_lib_prefix=$need_lib_prefix
   21447 
   21448 # Do we need a version for libraries?
   21449 need_version=$need_version
   21450 
   21451 # Library versioning type.
   21452 version_type=$version_type
   21453 
   21454 # Shared library runtime path variable.
   21455 runpath_var=$runpath_var
   21456 
   21457 # Shared library path variable.
   21458 shlibpath_var=$shlibpath_var
   21459 
   21460 # Is shlibpath searched before the hard-coded library search path?
   21461 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21462 
   21463 # Format of library name prefix.
   21464 libname_spec=$lt_libname_spec
   21465 
   21466 # List of archive names.  First name is the real one, the rest are links.
   21467 # The last name is the one that the linker finds with -lNAME
   21468 library_names_spec=$lt_library_names_spec
   21469 
   21470 # The coded name of the library, if different from the real name.
   21471 soname_spec=$lt_soname_spec
   21472 
   21473 # Permission mode override for installation of shared libraries.
   21474 install_override_mode=$lt_install_override_mode
   21475 
   21476 # Command to use after installation of a shared archive.
   21477 postinstall_cmds=$lt_postinstall_cmds
   21478 
   21479 # Command to use after uninstallation of a shared archive.
   21480 postuninstall_cmds=$lt_postuninstall_cmds
   21481 
   21482 # Commands used to finish a libtool library installation in a directory.
   21483 finish_cmds=$lt_finish_cmds
   21484 
   21485 # As "finish_cmds", except a single script fragment to be evaled but
   21486 # not shown.
   21487 finish_eval=$lt_finish_eval
   21488 
   21489 # Whether we should hardcode library paths into libraries.
   21490 hardcode_into_libs=$hardcode_into_libs
   21491 
   21492 # Compile-time system search path for libraries.
   21493 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21494 
   21495 # Detected run-time system search path for libraries.
   21496 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21497 
   21498 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21499 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21500 
   21501 # Whether dlopen is supported.
   21502 dlopen_support=$enable_dlopen
   21503 
   21504 # Whether dlopen of programs is supported.
   21505 dlopen_self=$enable_dlopen_self
   21506 
   21507 # Whether dlopen of statically linked programs is supported.
   21508 dlopen_self_static=$enable_dlopen_self_static
   21509 
   21510 # Commands to strip libraries.
   21511 old_striplib=$lt_old_striplib
   21512 striplib=$lt_striplib
   21513 
   21514 
   21515 # The linker used to build libraries.
   21516 LD=$lt_LD
   21517 
   21518 # How to create reloadable object files.
   21519 reload_flag=$lt_reload_flag
   21520 reload_cmds=$lt_reload_cmds
   21521 
   21522 # Commands used to build an old-style archive.
   21523 old_archive_cmds=$lt_old_archive_cmds
   21524 
   21525 # A language specific compiler.
   21526 CC=$lt_compiler
   21527 
   21528 # Is the compiler the GNU compiler?
   21529 with_gcc=$GCC
   21530 
   21531 # Compiler flag to turn off builtin functions.
   21532 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21533 
   21534 # Additional compiler flags for building library objects.
   21535 pic_flag=$lt_lt_prog_compiler_pic
   21536 
   21537 # How to pass a linker flag through the compiler.
   21538 wl=$lt_lt_prog_compiler_wl
   21539 
   21540 # Compiler flag to prevent dynamic linking.
   21541 link_static_flag=$lt_lt_prog_compiler_static
   21542 
   21543 # Does compiler simultaneously support -c and -o options?
   21544 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21545 
   21546 # Whether or not to add -lc for building shared libraries.
   21547 build_libtool_need_lc=$archive_cmds_need_lc
   21548 
   21549 # Whether or not to disallow shared libs when runtime libs are static.
   21550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21551 
   21552 # Compiler flag to allow reflexive dlopens.
   21553 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21554 
   21555 # Compiler flag to generate shared objects directly from archives.
   21556 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21557 
   21558 # Whether the compiler copes with passing no objects directly.
   21559 compiler_needs_object=$lt_compiler_needs_object
   21560 
   21561 # Create an old-style archive from a shared archive.
   21562 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21563 
   21564 # Create a temporary old-style archive to link instead of a shared archive.
   21565 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21566 
   21567 # Commands used to build a shared archive.
   21568 archive_cmds=$lt_archive_cmds
   21569 archive_expsym_cmds=$lt_archive_expsym_cmds
   21570 
   21571 # Commands used to build a loadable module if different from building
   21572 # a shared archive.
   21573 module_cmds=$lt_module_cmds
   21574 module_expsym_cmds=$lt_module_expsym_cmds
   21575 
   21576 # Whether we are building with GNU ld or not.
   21577 with_gnu_ld=$lt_with_gnu_ld
   21578 
   21579 # Flag that allows shared libraries with undefined symbols to be built.
   21580 allow_undefined_flag=$lt_allow_undefined_flag
   21581 
   21582 # Flag that enforces no undefined symbols.
   21583 no_undefined_flag=$lt_no_undefined_flag
   21584 
   21585 # Flag to hardcode \$libdir into a binary during linking.
   21586 # This must work even if \$libdir does not exist
   21587 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21588 
   21589 # Whether we need a single "-rpath" flag with a separated argument.
   21590 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21591 
   21592 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21593 # DIR into the resulting binary.
   21594 hardcode_direct=$hardcode_direct
   21595 
   21596 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21597 # DIR into the resulting binary and the resulting library dependency is
   21598 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21599 # library is relocated.
   21600 hardcode_direct_absolute=$hardcode_direct_absolute
   21601 
   21602 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21603 # into the resulting binary.
   21604 hardcode_minus_L=$hardcode_minus_L
   21605 
   21606 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21607 # into the resulting binary.
   21608 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21609 
   21610 # Set to "yes" if building a shared library automatically hardcodes DIR
   21611 # into the library and all subsequent libraries and executables linked
   21612 # against it.
   21613 hardcode_automatic=$hardcode_automatic
   21614 
   21615 # Set to yes if linker adds runtime paths of dependent libraries
   21616 # to runtime path list.
   21617 inherit_rpath=$inherit_rpath
   21618 
   21619 # Whether libtool must link a program against all its dependency libraries.
   21620 link_all_deplibs=$link_all_deplibs
   21621 
   21622 # Set to "yes" if exported symbols are required.
   21623 always_export_symbols=$always_export_symbols
   21624 
   21625 # The commands to list exported symbols.
   21626 export_symbols_cmds=$lt_export_symbols_cmds
   21627 
   21628 # Symbols that should not be listed in the preloaded symbols.
   21629 exclude_expsyms=$lt_exclude_expsyms
   21630 
   21631 # Symbols that must always be exported.
   21632 include_expsyms=$lt_include_expsyms
   21633 
   21634 # Commands necessary for linking programs (against libraries) with templates.
   21635 prelink_cmds=$lt_prelink_cmds
   21636 
   21637 # Commands necessary for finishing linking programs.
   21638 postlink_cmds=$lt_postlink_cmds
   21639 
   21640 # Specify filename containing input files.
   21641 file_list_spec=$lt_file_list_spec
   21642 
   21643 # How to hardcode a shared library path into an executable.
   21644 hardcode_action=$hardcode_action
   21645 
   21646 # ### END LIBTOOL CONFIG
   21647 
   21648 _LT_EOF
   21649 
   21650     cat <<'_LT_EOF' >> "$cfgfile"
   21651 
   21652 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21653 
   21654 # func_munge_path_list VARIABLE PATH
   21655 # -----------------------------------
   21656 # VARIABLE is name of variable containing _space_ separated list of
   21657 # directories to be munged by the contents of PATH, which is string
   21658 # having a format:
   21659 # "DIR[:DIR]:"
   21660 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21661 # ":DIR[:DIR]"
   21662 #       string "DIR[ DIR]" will be appended to VARIABLE
   21663 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21664 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21665 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21666 # "DIR[:DIR]"
   21667 #       VARIABLE will be replaced by "DIR[ DIR]"
   21668 func_munge_path_list ()
   21669 {
   21670     case x$2 in
   21671     x)
   21672         ;;
   21673     *:)
   21674         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21675         ;;
   21676     x:*)
   21677         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21678         ;;
   21679     *::*)
   21680         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21681         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21682         ;;
   21683     *)
   21684         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21685         ;;
   21686     esac
   21687 }
   21688 
   21689 
   21690 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21691 func_cc_basename ()
   21692 {
   21693     for cc_temp in $*""; do
   21694       case $cc_temp in
   21695         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21696         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21697         \-*) ;;
   21698         *) break;;
   21699       esac
   21700     done
   21701     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21702 }
   21703 
   21704 
   21705 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21706 
   21707 _LT_EOF
   21708 
   21709   case $host_os in
   21710   aix3*)
   21711     cat <<\_LT_EOF >> "$cfgfile"
   21712 # AIX sometimes has problems with the GCC collect2 program.  For some
   21713 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21714 # vanish in a puff of smoke.
   21715 if test set != "${COLLECT_NAMES+set}"; then
   21716   COLLECT_NAMES=
   21717   export COLLECT_NAMES
   21718 fi
   21719 _LT_EOF
   21720     ;;
   21721   esac
   21722 
   21723 
   21724 ltmain=$ac_aux_dir/ltmain.sh
   21725 
   21726 
   21727   # We use sed instead of cat because bash on DJGPP gets confused if
   21728   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21729   # text mode, it properly converts lines to CR/LF.  This bash problem
   21730   # is reportedly fixed, but why not run on old versions too?
   21731   sed '$q' "$ltmain" >> "$cfgfile" \
   21732      || (rm -f "$cfgfile"; exit 1)
   21733 
   21734    mv -f "$cfgfile" "$ofile" ||
   21735     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21736   chmod +x "$ofile"
   21737 
   21738  ;;
   21739 
   21740   esac
   21741 done # for ac_tag
   21742 
   21743 
   21744 as_fn_exit 0
   21745 _ACEOF
   21746 ac_clean_files=$ac_clean_files_save
   21747 
   21748 test $ac_write_fail = 0 ||
   21749   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21750 
   21751 
   21752 # configure is writing to config.log, and then calls config.status.
   21753 # config.status does its own redirection, appending to config.log.
   21754 # Unfortunately, on DOS this fails, as config.log is still kept open
   21755 # by configure, so config.status won't be able to write to it; its
   21756 # output is simply discarded.  So we exec the FD to /dev/null,
   21757 # effectively closing config.log, so it can be properly (re)opened and
   21758 # appended to by config.status.  When coming back to configure, we
   21759 # need to make the FD available again.
   21760 if test "$no_create" != yes; then
   21761   ac_cs_success=:
   21762   ac_config_status_args=
   21763   test "$silent" = yes &&
   21764     ac_config_status_args="$ac_config_status_args --quiet"
   21765   exec 5>/dev/null
   21766   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21767   exec 5>>config.log
   21768   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21769   # would make configure fail if this is the last instruction.
   21770   $ac_cs_success || as_fn_exit 1
   21771 fi
   21772 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21773   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21774 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21775 fi
   21776 
   21777