Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for lndir 1.0.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='lndir'
    563 PACKAGE_TARNAME='lndir'
    564 PACKAGE_VERSION='1.0.3'
    565 PACKAGE_STRING='lndir 1.0.3'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XPROTO_LIBS
    611 XPROTO_CFLAGS
    612 AM_BACKSLASH
    613 AM_DEFAULT_VERBOSITY
    614 MAN_SUBSTS
    615 XORG_MAN_PAGE
    616 ADMIN_MAN_DIR
    617 DRIVER_MAN_DIR
    618 MISC_MAN_DIR
    619 FILE_MAN_DIR
    620 LIB_MAN_DIR
    621 APP_MAN_DIR
    622 ADMIN_MAN_SUFFIX
    623 DRIVER_MAN_SUFFIX
    624 MISC_MAN_SUFFIX
    625 FILE_MAN_SUFFIX
    626 LIB_MAN_SUFFIX
    627 APP_MAN_SUFFIX
    628 SED
    629 host_os
    630 host_vendor
    631 host_cpu
    632 host
    633 build_os
    634 build_vendor
    635 build_cpu
    636 build
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 MAINT
    644 MAINTAINER_MODE_FALSE
    645 MAINTAINER_MODE_TRUE
    646 am__fastdepCC_FALSE
    647 am__fastdepCC_TRUE
    648 CCDEPMODE
    649 AMDEPBACKSLASH
    650 AMDEP_FALSE
    651 AMDEP_TRUE
    652 am__quote
    653 am__include
    654 DEPDIR
    655 am__untar
    656 am__tar
    657 AMTAR
    658 am__leading_dot
    659 SET_MAKE
    660 AWK
    661 mkdir_p
    662 MKDIR_P
    663 INSTALL_STRIP_PROGRAM
    664 STRIP
    665 install_sh
    666 MAKEINFO
    667 AUTOHEADER
    668 AUTOMAKE
    669 AUTOCONF
    670 ACLOCAL
    671 VERSION
    672 PACKAGE
    673 CYGPATH_W
    674 am__isrc
    675 INSTALL_DATA
    676 INSTALL_SCRIPT
    677 INSTALL_PROGRAM
    678 EGREP
    679 GREP
    680 CPP
    681 OBJEXT
    682 EXEEXT
    683 ac_ct_CC
    684 CPPFLAGS
    685 LDFLAGS
    686 CFLAGS
    687 CC
    688 target_alias
    689 host_alias
    690 build_alias
    691 LIBS
    692 ECHO_T
    693 ECHO_N
    694 ECHO_C
    695 DEFS
    696 mandir
    697 localedir
    698 libdir
    699 psdir
    700 pdfdir
    701 dvidir
    702 htmldir
    703 infodir
    704 docdir
    705 oldincludedir
    706 includedir
    707 localstatedir
    708 sharedstatedir
    709 sysconfdir
    710 datadir
    711 datarootdir
    712 libexecdir
    713 sbindir
    714 bindir
    715 program_transform_name
    716 prefix
    717 exec_prefix
    718 PACKAGE_URL
    719 PACKAGE_BUGREPORT
    720 PACKAGE_STRING
    721 PACKAGE_VERSION
    722 PACKAGE_TARNAME
    723 PACKAGE_NAME
    724 PATH_SEPARATOR
    725 SHELL'
    726 ac_subst_files=''
    727 ac_user_opts='
    728 enable_option_checking
    729 enable_dependency_tracking
    730 enable_maintainer_mode
    731 enable_selective_werror
    732 enable_strict_compilation
    733 enable_silent_rules
    734 enable_largefile
    735 '
    736       ac_precious_vars='build_alias
    737 host_alias
    738 target_alias
    739 CC
    740 CFLAGS
    741 LDFLAGS
    742 LIBS
    743 CPPFLAGS
    744 CPP
    745 PKG_CONFIG
    746 XPROTO_CFLAGS
    747 XPROTO_LIBS'
    748 
    749 
    750 # Initialize some variables set by options.
    751 ac_init_help=
    752 ac_init_version=false
    753 ac_unrecognized_opts=
    754 ac_unrecognized_sep=
    755 # The variables have the same names as the options, with
    756 # dashes changed to underlines.
    757 cache_file=/dev/null
    758 exec_prefix=NONE
    759 no_create=
    760 no_recursion=
    761 prefix=NONE
    762 program_prefix=NONE
    763 program_suffix=NONE
    764 program_transform_name=s,x,x,
    765 silent=
    766 site=
    767 srcdir=
    768 verbose=
    769 x_includes=NONE
    770 x_libraries=NONE
    771 
    772 # Installation directory options.
    773 # These are left unexpanded so users can "make install exec_prefix=/foo"
    774 # and all the variables that are supposed to be based on exec_prefix
    775 # by default will actually change.
    776 # Use braces instead of parens because sh, perl, etc. also accept them.
    777 # (The list follows the same order as the GNU Coding Standards.)
    778 bindir='${exec_prefix}/bin'
    779 sbindir='${exec_prefix}/sbin'
    780 libexecdir='${exec_prefix}/libexec'
    781 datarootdir='${prefix}/share'
    782 datadir='${datarootdir}'
    783 sysconfdir='${prefix}/etc'
    784 sharedstatedir='${prefix}/com'
    785 localstatedir='${prefix}/var'
    786 includedir='${prefix}/include'
    787 oldincludedir='/usr/include'
    788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    789 infodir='${datarootdir}/info'
    790 htmldir='${docdir}'
    791 dvidir='${docdir}'
    792 pdfdir='${docdir}'
    793 psdir='${docdir}'
    794 libdir='${exec_prefix}/lib'
    795 localedir='${datarootdir}/locale'
    796 mandir='${datarootdir}/man'
    797 
    798 ac_prev=
    799 ac_dashdash=
    800 for ac_option
    801 do
    802   # If the previous option needs an argument, assign it.
    803   if test -n "$ac_prev"; then
    804     eval $ac_prev=\$ac_option
    805     ac_prev=
    806     continue
    807   fi
    808 
    809   case $ac_option in
    810   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    811   *=)   ac_optarg= ;;
    812   *)    ac_optarg=yes ;;
    813   esac
    814 
    815   # Accept the important Cygnus configure options, so we can diagnose typos.
    816 
    817   case $ac_dashdash$ac_option in
    818   --)
    819     ac_dashdash=yes ;;
    820 
    821   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    822     ac_prev=bindir ;;
    823   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    824     bindir=$ac_optarg ;;
    825 
    826   -build | --build | --buil | --bui | --bu)
    827     ac_prev=build_alias ;;
    828   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    829     build_alias=$ac_optarg ;;
    830 
    831   -cache-file | --cache-file | --cache-fil | --cache-fi \
    832   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    833     ac_prev=cache_file ;;
    834   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    835   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    836     cache_file=$ac_optarg ;;
    837 
    838   --config-cache | -C)
    839     cache_file=config.cache ;;
    840 
    841   -datadir | --datadir | --datadi | --datad)
    842     ac_prev=datadir ;;
    843   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    844     datadir=$ac_optarg ;;
    845 
    846   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    847   | --dataroo | --dataro | --datar)
    848     ac_prev=datarootdir ;;
    849   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    850   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    851     datarootdir=$ac_optarg ;;
    852 
    853   -disable-* | --disable-*)
    854     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    855     # Reject names that are not valid shell variable names.
    856     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    857       as_fn_error $? "invalid feature name: $ac_useropt"
    858     ac_useropt_orig=$ac_useropt
    859     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    860     case $ac_user_opts in
    861       *"
    862 "enable_$ac_useropt"
    863 "*) ;;
    864       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    865 	 ac_unrecognized_sep=', ';;
    866     esac
    867     eval enable_$ac_useropt=no ;;
    868 
    869   -docdir | --docdir | --docdi | --doc | --do)
    870     ac_prev=docdir ;;
    871   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    872     docdir=$ac_optarg ;;
    873 
    874   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    875     ac_prev=dvidir ;;
    876   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    877     dvidir=$ac_optarg ;;
    878 
    879   -enable-* | --enable-*)
    880     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    881     # Reject names that are not valid shell variable names.
    882     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       as_fn_error $? "invalid feature name: $ac_useropt"
    884     ac_useropt_orig=$ac_useropt
    885     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    886     case $ac_user_opts in
    887       *"
    888 "enable_$ac_useropt"
    889 "*) ;;
    890       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    891 	 ac_unrecognized_sep=', ';;
    892     esac
    893     eval enable_$ac_useropt=\$ac_optarg ;;
    894 
    895   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    896   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    897   | --exec | --exe | --ex)
    898     ac_prev=exec_prefix ;;
    899   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    900   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    901   | --exec=* | --exe=* | --ex=*)
    902     exec_prefix=$ac_optarg ;;
    903 
    904   -gas | --gas | --ga | --g)
    905     # Obsolete; use --with-gas.
    906     with_gas=yes ;;
    907 
    908   -help | --help | --hel | --he | -h)
    909     ac_init_help=long ;;
    910   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    911     ac_init_help=recursive ;;
    912   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    913     ac_init_help=short ;;
    914 
    915   -host | --host | --hos | --ho)
    916     ac_prev=host_alias ;;
    917   -host=* | --host=* | --hos=* | --ho=*)
    918     host_alias=$ac_optarg ;;
    919 
    920   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    921     ac_prev=htmldir ;;
    922   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    923   | --ht=*)
    924     htmldir=$ac_optarg ;;
    925 
    926   -includedir | --includedir | --includedi | --included | --include \
    927   | --includ | --inclu | --incl | --inc)
    928     ac_prev=includedir ;;
    929   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    930   | --includ=* | --inclu=* | --incl=* | --inc=*)
    931     includedir=$ac_optarg ;;
    932 
    933   -infodir | --infodir | --infodi | --infod | --info | --inf)
    934     ac_prev=infodir ;;
    935   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    936     infodir=$ac_optarg ;;
    937 
    938   -libdir | --libdir | --libdi | --libd)
    939     ac_prev=libdir ;;
    940   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    941     libdir=$ac_optarg ;;
    942 
    943   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    944   | --libexe | --libex | --libe)
    945     ac_prev=libexecdir ;;
    946   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    947   | --libexe=* | --libex=* | --libe=*)
    948     libexecdir=$ac_optarg ;;
    949 
    950   -localedir | --localedir | --localedi | --localed | --locale)
    951     ac_prev=localedir ;;
    952   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    953     localedir=$ac_optarg ;;
    954 
    955   -localstatedir | --localstatedir | --localstatedi | --localstated \
    956   | --localstate | --localstat | --localsta | --localst | --locals)
    957     ac_prev=localstatedir ;;
    958   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    959   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    960     localstatedir=$ac_optarg ;;
    961 
    962   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    963     ac_prev=mandir ;;
    964   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    965     mandir=$ac_optarg ;;
    966 
    967   -nfp | --nfp | --nf)
    968     # Obsolete; use --without-fp.
    969     with_fp=no ;;
    970 
    971   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    972   | --no-cr | --no-c | -n)
    973     no_create=yes ;;
    974 
    975   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    976   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    977     no_recursion=yes ;;
    978 
    979   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    980   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    981   | --oldin | --oldi | --old | --ol | --o)
    982     ac_prev=oldincludedir ;;
    983   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    984   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    985   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    986     oldincludedir=$ac_optarg ;;
    987 
    988   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    989     ac_prev=prefix ;;
    990   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    991     prefix=$ac_optarg ;;
    992 
    993   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    994   | --program-pre | --program-pr | --program-p)
    995     ac_prev=program_prefix ;;
    996   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    997   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    998     program_prefix=$ac_optarg ;;
    999 
   1000   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1001   | --program-suf | --program-su | --program-s)
   1002     ac_prev=program_suffix ;;
   1003   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1004   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1005     program_suffix=$ac_optarg ;;
   1006 
   1007   -program-transform-name | --program-transform-name \
   1008   | --program-transform-nam | --program-transform-na \
   1009   | --program-transform-n | --program-transform- \
   1010   | --program-transform | --program-transfor \
   1011   | --program-transfo | --program-transf \
   1012   | --program-trans | --program-tran \
   1013   | --progr-tra | --program-tr | --program-t)
   1014     ac_prev=program_transform_name ;;
   1015   -program-transform-name=* | --program-transform-name=* \
   1016   | --program-transform-nam=* | --program-transform-na=* \
   1017   | --program-transform-n=* | --program-transform-=* \
   1018   | --program-transform=* | --program-transfor=* \
   1019   | --program-transfo=* | --program-transf=* \
   1020   | --program-trans=* | --program-tran=* \
   1021   | --progr-tra=* | --program-tr=* | --program-t=*)
   1022     program_transform_name=$ac_optarg ;;
   1023 
   1024   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1025     ac_prev=pdfdir ;;
   1026   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1027     pdfdir=$ac_optarg ;;
   1028 
   1029   -psdir | --psdir | --psdi | --psd | --ps)
   1030     ac_prev=psdir ;;
   1031   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1032     psdir=$ac_optarg ;;
   1033 
   1034   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1035   | -silent | --silent | --silen | --sile | --sil)
   1036     silent=yes ;;
   1037 
   1038   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1039     ac_prev=sbindir ;;
   1040   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1041   | --sbi=* | --sb=*)
   1042     sbindir=$ac_optarg ;;
   1043 
   1044   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1045   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1046   | --sharedst | --shareds | --shared | --share | --shar \
   1047   | --sha | --sh)
   1048     ac_prev=sharedstatedir ;;
   1049   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1050   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1051   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1052   | --sha=* | --sh=*)
   1053     sharedstatedir=$ac_optarg ;;
   1054 
   1055   -site | --site | --sit)
   1056     ac_prev=site ;;
   1057   -site=* | --site=* | --sit=*)
   1058     site=$ac_optarg ;;
   1059 
   1060   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1061     ac_prev=srcdir ;;
   1062   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1063     srcdir=$ac_optarg ;;
   1064 
   1065   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1066   | --syscon | --sysco | --sysc | --sys | --sy)
   1067     ac_prev=sysconfdir ;;
   1068   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1069   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1070     sysconfdir=$ac_optarg ;;
   1071 
   1072   -target | --target | --targe | --targ | --tar | --ta | --t)
   1073     ac_prev=target_alias ;;
   1074   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1075     target_alias=$ac_optarg ;;
   1076 
   1077   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1078     verbose=yes ;;
   1079 
   1080   -version | --version | --versio | --versi | --vers | -V)
   1081     ac_init_version=: ;;
   1082 
   1083   -with-* | --with-*)
   1084     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1085     # Reject names that are not valid shell variable names.
   1086     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1087       as_fn_error $? "invalid package name: $ac_useropt"
   1088     ac_useropt_orig=$ac_useropt
   1089     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1090     case $ac_user_opts in
   1091       *"
   1092 "with_$ac_useropt"
   1093 "*) ;;
   1094       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1095 	 ac_unrecognized_sep=', ';;
   1096     esac
   1097     eval with_$ac_useropt=\$ac_optarg ;;
   1098 
   1099   -without-* | --without-*)
   1100     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1101     # Reject names that are not valid shell variable names.
   1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1103       as_fn_error $? "invalid package name: $ac_useropt"
   1104     ac_useropt_orig=$ac_useropt
   1105     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1106     case $ac_user_opts in
   1107       *"
   1108 "with_$ac_useropt"
   1109 "*) ;;
   1110       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1111 	 ac_unrecognized_sep=', ';;
   1112     esac
   1113     eval with_$ac_useropt=no ;;
   1114 
   1115   --x)
   1116     # Obsolete; use --with-x.
   1117     with_x=yes ;;
   1118 
   1119   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1120   | --x-incl | --x-inc | --x-in | --x-i)
   1121     ac_prev=x_includes ;;
   1122   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1123   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1124     x_includes=$ac_optarg ;;
   1125 
   1126   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1127   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1128     ac_prev=x_libraries ;;
   1129   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1130   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1131     x_libraries=$ac_optarg ;;
   1132 
   1133   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1134 Try \`$0 --help' for more information"
   1135     ;;
   1136 
   1137   *=*)
   1138     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1139     # Reject names that are not valid shell variable names.
   1140     case $ac_envvar in #(
   1141       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1142       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1143     esac
   1144     eval $ac_envvar=\$ac_optarg
   1145     export $ac_envvar ;;
   1146 
   1147   *)
   1148     # FIXME: should be removed in autoconf 3.0.
   1149     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1150     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1151       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1152     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1153     ;;
   1154 
   1155   esac
   1156 done
   1157 
   1158 if test -n "$ac_prev"; then
   1159   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1160   as_fn_error $? "missing argument to $ac_option"
   1161 fi
   1162 
   1163 if test -n "$ac_unrecognized_opts"; then
   1164   case $enable_option_checking in
   1165     no) ;;
   1166     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1167     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1168   esac
   1169 fi
   1170 
   1171 # Check all directory arguments for consistency.
   1172 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1173 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1174 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1175 		libdir localedir mandir
   1176 do
   1177   eval ac_val=\$$ac_var
   1178   # Remove trailing slashes.
   1179   case $ac_val in
   1180     */ )
   1181       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1182       eval $ac_var=\$ac_val;;
   1183   esac
   1184   # Be sure to have absolute directory names.
   1185   case $ac_val in
   1186     [\\/$]* | ?:[\\/]* )  continue;;
   1187     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1188   esac
   1189   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1190 done
   1191 
   1192 # There might be people who depend on the old broken behavior: `$host'
   1193 # used to hold the argument of --host etc.
   1194 # FIXME: To remove some day.
   1195 build=$build_alias
   1196 host=$host_alias
   1197 target=$target_alias
   1198 
   1199 # FIXME: To remove some day.
   1200 if test "x$host_alias" != x; then
   1201   if test "x$build_alias" = x; then
   1202     cross_compiling=maybe
   1203     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1204     If a cross compiler is detected then cross compile mode will be used" >&2
   1205   elif test "x$build_alias" != "x$host_alias"; then
   1206     cross_compiling=yes
   1207   fi
   1208 fi
   1209 
   1210 ac_tool_prefix=
   1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1212 
   1213 test "$silent" = yes && exec 6>/dev/null
   1214 
   1215 
   1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1217 ac_ls_di=`ls -di .` &&
   1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1219   as_fn_error $? "working directory cannot be determined"
   1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1221   as_fn_error $? "pwd does not report name of working directory"
   1222 
   1223 
   1224 # Find the source files, if location was not specified.
   1225 if test -z "$srcdir"; then
   1226   ac_srcdir_defaulted=yes
   1227   # Try the directory containing this script, then the parent directory.
   1228   ac_confdir=`$as_dirname -- "$as_myself" ||
   1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1230 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1231 	 X"$as_myself" : 'X\(//\)$' \| \
   1232 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1233 $as_echo X"$as_myself" |
   1234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1235 	    s//\1/
   1236 	    q
   1237 	  }
   1238 	  /^X\(\/\/\)[^/].*/{
   1239 	    s//\1/
   1240 	    q
   1241 	  }
   1242 	  /^X\(\/\/\)$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\).*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  s/.*/./; q'`
   1251   srcdir=$ac_confdir
   1252   if test ! -r "$srcdir/$ac_unique_file"; then
   1253     srcdir=..
   1254   fi
   1255 else
   1256   ac_srcdir_defaulted=no
   1257 fi
   1258 if test ! -r "$srcdir/$ac_unique_file"; then
   1259   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1260   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1261 fi
   1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1263 ac_abs_confdir=`(
   1264 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1265 	pwd)`
   1266 # When building in place, set srcdir=.
   1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1268   srcdir=.
   1269 fi
   1270 # Remove unnecessary trailing slashes from srcdir.
   1271 # Double slashes in file names in object file debugging info
   1272 # mess up M-x gdb in Emacs.
   1273 case $srcdir in
   1274 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1275 esac
   1276 for ac_var in $ac_precious_vars; do
   1277   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1278   eval ac_env_${ac_var}_value=\$${ac_var}
   1279   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1281 done
   1282 
   1283 #
   1284 # Report the --help message.
   1285 #
   1286 if test "$ac_init_help" = "long"; then
   1287   # Omit some internal or obsolete options to make the list less imposing.
   1288   # This message is too long to be a string in the A/UX 3.1 sh.
   1289   cat <<_ACEOF
   1290 \`configure' configures lndir 1.0.3 to adapt to many kinds of systems.
   1291 
   1292 Usage: $0 [OPTION]... [VAR=VALUE]...
   1293 
   1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1295 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1296 
   1297 Defaults for the options are specified in brackets.
   1298 
   1299 Configuration:
   1300   -h, --help              display this help and exit
   1301       --help=short        display options specific to this package
   1302       --help=recursive    display the short help of all the included packages
   1303   -V, --version           display version information and exit
   1304   -q, --quiet, --silent   do not print \`checking ...' messages
   1305       --cache-file=FILE   cache test results in FILE [disabled]
   1306   -C, --config-cache      alias for \`--cache-file=config.cache'
   1307   -n, --no-create         do not create output files
   1308       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1309 
   1310 Installation directories:
   1311   --prefix=PREFIX         install architecture-independent files in PREFIX
   1312                           [$ac_default_prefix]
   1313   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1314                           [PREFIX]
   1315 
   1316 By default, \`make install' will install all the files in
   1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1319 for instance \`--prefix=\$HOME'.
   1320 
   1321 For better control, use the options below.
   1322 
   1323 Fine tuning of the installation directories:
   1324   --bindir=DIR            user executables [EPREFIX/bin]
   1325   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1326   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1327   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1328   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1329   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1330   --libdir=DIR            object code libraries [EPREFIX/lib]
   1331   --includedir=DIR        C header files [PREFIX/include]
   1332   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1333   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1334   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1335   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1336   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1337   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1338   --docdir=DIR            documentation root [DATAROOTDIR/doc/lndir]
   1339   --htmldir=DIR           html documentation [DOCDIR]
   1340   --dvidir=DIR            dvi documentation [DOCDIR]
   1341   --pdfdir=DIR            pdf documentation [DOCDIR]
   1342   --psdir=DIR             ps documentation [DOCDIR]
   1343 _ACEOF
   1344 
   1345   cat <<\_ACEOF
   1346 
   1347 Program names:
   1348   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1349   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1350   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1351 
   1352 System types:
   1353   --build=BUILD     configure for building on BUILD [guessed]
   1354   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1355 _ACEOF
   1356 fi
   1357 
   1358 if test -n "$ac_init_help"; then
   1359   case $ac_init_help in
   1360      short | recursive ) echo "Configuration of lndir 1.0.3:";;
   1361    esac
   1362   cat <<\_ACEOF
   1363 
   1364 Optional Features:
   1365   --disable-option-checking  ignore unrecognized --enable/--with options
   1366   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1367   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1368   --disable-dependency-tracking  speeds up one-time build
   1369   --enable-dependency-tracking   do not reject slow dependency extractors
   1370   --enable-maintainer-mode  enable make rules and dependencies not useful
   1371 			  (and sometimes confusing) to the casual installer
   1372   --disable-selective-werror
   1373                           Turn off selective compiler errors. (default:
   1374                           enabled)
   1375   --enable-strict-compilation
   1376                           Enable all warnings from compiler and make them
   1377                           errors (default: disabled)
   1378   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1379   --disable-silent-rules         verbose build output (undo: `make V=0')
   1380   --disable-largefile     omit support for large files
   1381 
   1382 Some influential environment variables:
   1383   CC          C compiler command
   1384   CFLAGS      C compiler flags
   1385   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1386               nonstandard directory <lib dir>
   1387   LIBS        libraries to pass to the linker, e.g. -l<library>
   1388   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1389               you have headers in a nonstandard directory <include dir>
   1390   CPP         C preprocessor
   1391   PKG_CONFIG  path to pkg-config utility
   1392   XPROTO_CFLAGS
   1393               C compiler flags for XPROTO, overriding pkg-config
   1394   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1395 
   1396 Use these variables to override the choices made by `configure' or to help
   1397 it to find libraries and programs with nonstandard names/locations.
   1398 
   1399 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1400 _ACEOF
   1401 ac_status=$?
   1402 fi
   1403 
   1404 if test "$ac_init_help" = "recursive"; then
   1405   # If there are subdirs, report their specific --help.
   1406   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1407     test -d "$ac_dir" ||
   1408       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1409       continue
   1410     ac_builddir=.
   1411 
   1412 case "$ac_dir" in
   1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1414 *)
   1415   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1416   # A ".." for each directory in $ac_dir_suffix.
   1417   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1418   case $ac_top_builddir_sub in
   1419   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1420   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1421   esac ;;
   1422 esac
   1423 ac_abs_top_builddir=$ac_pwd
   1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1425 # for backward compatibility:
   1426 ac_top_builddir=$ac_top_build_prefix
   1427 
   1428 case $srcdir in
   1429   .)  # We are building in place.
   1430     ac_srcdir=.
   1431     ac_top_srcdir=$ac_top_builddir_sub
   1432     ac_abs_top_srcdir=$ac_pwd ;;
   1433   [\\/]* | ?:[\\/]* )  # Absolute name.
   1434     ac_srcdir=$srcdir$ac_dir_suffix;
   1435     ac_top_srcdir=$srcdir
   1436     ac_abs_top_srcdir=$srcdir ;;
   1437   *) # Relative name.
   1438     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1439     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1440     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1441 esac
   1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1443 
   1444     cd "$ac_dir" || { ac_status=$?; continue; }
   1445     # Check for guested configure.
   1446     if test -f "$ac_srcdir/configure.gnu"; then
   1447       echo &&
   1448       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1449     elif test -f "$ac_srcdir/configure"; then
   1450       echo &&
   1451       $SHELL "$ac_srcdir/configure" --help=recursive
   1452     else
   1453       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1454     fi || ac_status=$?
   1455     cd "$ac_pwd" || { ac_status=$?; break; }
   1456   done
   1457 fi
   1458 
   1459 test -n "$ac_init_help" && exit $ac_status
   1460 if $ac_init_version; then
   1461   cat <<\_ACEOF
   1462 lndir configure 1.0.3
   1463 generated by GNU Autoconf 2.68
   1464 
   1465 Copyright (C) 2010 Free Software Foundation, Inc.
   1466 This configure script is free software; the Free Software Foundation
   1467 gives unlimited permission to copy, distribute and modify it.
   1468 _ACEOF
   1469   exit
   1470 fi
   1471 
   1472 ## ------------------------ ##
   1473 ## Autoconf initialization. ##
   1474 ## ------------------------ ##
   1475 
   1476 # ac_fn_c_try_compile LINENO
   1477 # --------------------------
   1478 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1479 ac_fn_c_try_compile ()
   1480 {
   1481   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1482   rm -f conftest.$ac_objext
   1483   if { { ac_try="$ac_compile"
   1484 case "(($ac_try" in
   1485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1486   *) ac_try_echo=$ac_try;;
   1487 esac
   1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1489 $as_echo "$ac_try_echo"; } >&5
   1490   (eval "$ac_compile") 2>conftest.err
   1491   ac_status=$?
   1492   if test -s conftest.err; then
   1493     grep -v '^ *+' conftest.err >conftest.er1
   1494     cat conftest.er1 >&5
   1495     mv -f conftest.er1 conftest.err
   1496   fi
   1497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1498   test $ac_status = 0; } && {
   1499 	 test -z "$ac_c_werror_flag" ||
   1500 	 test ! -s conftest.err
   1501        } && test -s conftest.$ac_objext; then :
   1502   ac_retval=0
   1503 else
   1504   $as_echo "$as_me: failed program was:" >&5
   1505 sed 's/^/| /' conftest.$ac_ext >&5
   1506 
   1507 	ac_retval=1
   1508 fi
   1509   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1510   as_fn_set_status $ac_retval
   1511 
   1512 } # ac_fn_c_try_compile
   1513 
   1514 # ac_fn_c_try_cpp LINENO
   1515 # ----------------------
   1516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1517 ac_fn_c_try_cpp ()
   1518 {
   1519   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1520   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1521 case "(($ac_try" in
   1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1523   *) ac_try_echo=$ac_try;;
   1524 esac
   1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1526 $as_echo "$ac_try_echo"; } >&5
   1527   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1528   ac_status=$?
   1529   if test -s conftest.err; then
   1530     grep -v '^ *+' conftest.err >conftest.er1
   1531     cat conftest.er1 >&5
   1532     mv -f conftest.er1 conftest.err
   1533   fi
   1534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1535   test $ac_status = 0; } > conftest.i && {
   1536 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1537 	 test ! -s conftest.err
   1538        }; then :
   1539   ac_retval=0
   1540 else
   1541   $as_echo "$as_me: failed program was:" >&5
   1542 sed 's/^/| /' conftest.$ac_ext >&5
   1543 
   1544     ac_retval=1
   1545 fi
   1546   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1547   as_fn_set_status $ac_retval
   1548 
   1549 } # ac_fn_c_try_cpp
   1550 
   1551 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1552 # -------------------------------------------------------
   1553 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1554 # the include files in INCLUDES and setting the cache variable VAR
   1555 # accordingly.
   1556 ac_fn_c_check_header_mongrel ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   if eval \${$3+:} false; then :
   1560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1561 $as_echo_n "checking for $2... " >&6; }
   1562 if eval \${$3+:} false; then :
   1563   $as_echo_n "(cached) " >&6
   1564 fi
   1565 eval ac_res=\$$3
   1566 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1567 $as_echo "$ac_res" >&6; }
   1568 else
   1569   # Is the header compilable?
   1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1571 $as_echo_n "checking $2 usability... " >&6; }
   1572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1573 /* end confdefs.h.  */
   1574 $4
   1575 #include <$2>
   1576 _ACEOF
   1577 if ac_fn_c_try_compile "$LINENO"; then :
   1578   ac_header_compiler=yes
   1579 else
   1580   ac_header_compiler=no
   1581 fi
   1582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1584 $as_echo "$ac_header_compiler" >&6; }
   1585 
   1586 # Is the header present?
   1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1588 $as_echo_n "checking $2 presence... " >&6; }
   1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1590 /* end confdefs.h.  */
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_cpp "$LINENO"; then :
   1594   ac_header_preproc=yes
   1595 else
   1596   ac_header_preproc=no
   1597 fi
   1598 rm -f conftest.err conftest.i conftest.$ac_ext
   1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1600 $as_echo "$ac_header_preproc" >&6; }
   1601 
   1602 # So?  What about this header?
   1603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1604   yes:no: )
   1605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1606 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1609     ;;
   1610   no:yes:* )
   1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1612 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1613     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1614 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1616 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1618 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1621 ( $as_echo "## ---------------------------------------------------------------------- ##
   1622 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1623 ## ---------------------------------------------------------------------- ##"
   1624      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1625     ;;
   1626 esac
   1627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1628 $as_echo_n "checking for $2... " >&6; }
   1629 if eval \${$3+:} false; then :
   1630   $as_echo_n "(cached) " >&6
   1631 else
   1632   eval "$3=\$ac_header_compiler"
   1633 fi
   1634 eval ac_res=\$$3
   1635 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1636 $as_echo "$ac_res" >&6; }
   1637 fi
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639 
   1640 } # ac_fn_c_check_header_mongrel
   1641 
   1642 # ac_fn_c_try_run LINENO
   1643 # ----------------------
   1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1645 # that executables *can* be run.
   1646 ac_fn_c_try_run ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   if { { ac_try="$ac_link"
   1650 case "(($ac_try" in
   1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1652   *) ac_try_echo=$ac_try;;
   1653 esac
   1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1655 $as_echo "$ac_try_echo"; } >&5
   1656   (eval "$ac_link") 2>&5
   1657   ac_status=$?
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1660   { { case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_try") 2>&5
   1667   ac_status=$?
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; }; }; then :
   1670   ac_retval=0
   1671 else
   1672   $as_echo "$as_me: program exited with status $ac_status" >&5
   1673        $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676        ac_retval=$ac_status
   1677 fi
   1678   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680   as_fn_set_status $ac_retval
   1681 
   1682 } # ac_fn_c_try_run
   1683 
   1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1685 # -------------------------------------------------------
   1686 # Tests whether HEADER exists and can be compiled using the include files in
   1687 # INCLUDES, setting the cache variable VAR accordingly.
   1688 ac_fn_c_check_header_compile ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1692 $as_echo_n "checking for $2... " >&6; }
   1693 if eval \${$3+:} false; then :
   1694   $as_echo_n "(cached) " >&6
   1695 else
   1696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1697 /* end confdefs.h.  */
   1698 $4
   1699 #include <$2>
   1700 _ACEOF
   1701 if ac_fn_c_try_compile "$LINENO"; then :
   1702   eval "$3=yes"
   1703 else
   1704   eval "$3=no"
   1705 fi
   1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1707 fi
   1708 eval ac_res=\$$3
   1709 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1710 $as_echo "$ac_res" >&6; }
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712 
   1713 } # ac_fn_c_check_header_compile
   1714 
   1715 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1716 # ---------------------------------------------
   1717 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1718 # accordingly.
   1719 ac_fn_c_check_decl ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1723   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1725 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1726 if eval \${$3+:} false; then :
   1727   $as_echo_n "(cached) " >&6
   1728 else
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 $4
   1732 int
   1733 main ()
   1734 {
   1735 #ifndef $as_decl_name
   1736 #ifdef __cplusplus
   1737   (void) $as_decl_use;
   1738 #else
   1739   (void) $as_decl_name;
   1740 #endif
   1741 #endif
   1742 
   1743   ;
   1744   return 0;
   1745 }
   1746 _ACEOF
   1747 if ac_fn_c_try_compile "$LINENO"; then :
   1748   eval "$3=yes"
   1749 else
   1750   eval "$3=no"
   1751 fi
   1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 $as_echo "$ac_res" >&6; }
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758 
   1759 } # ac_fn_c_check_decl
   1760 
   1761 # ac_fn_c_try_link LINENO
   1762 # -----------------------
   1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_link ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   rm -f conftest.$ac_objext conftest$ac_exeext
   1768   if { { ac_try="$ac_link"
   1769 case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 $as_echo "$ac_try_echo"; } >&5
   1775   (eval "$ac_link") 2>conftest.err
   1776   ac_status=$?
   1777   if test -s conftest.err; then
   1778     grep -v '^ *+' conftest.err >conftest.er1
   1779     cat conftest.er1 >&5
   1780     mv -f conftest.er1 conftest.err
   1781   fi
   1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1783   test $ac_status = 0; } && {
   1784 	 test -z "$ac_c_werror_flag" ||
   1785 	 test ! -s conftest.err
   1786        } && test -s conftest$ac_exeext && {
   1787 	 test "$cross_compiling" = yes ||
   1788 	 $as_test_x conftest$ac_exeext
   1789        }; then :
   1790   ac_retval=0
   1791 else
   1792   $as_echo "$as_me: failed program was:" >&5
   1793 sed 's/^/| /' conftest.$ac_ext >&5
   1794 
   1795 	ac_retval=1
   1796 fi
   1797   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1798   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1799   # interfere with the next link command; also delete a directory that is
   1800   # left behind by Apple's compiler.  We do this before executing the actions.
   1801   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1802   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1803   as_fn_set_status $ac_retval
   1804 
   1805 } # ac_fn_c_try_link
   1806 cat >config.log <<_ACEOF
   1807 This file contains any messages produced by compilers while
   1808 running configure, to aid debugging if configure makes a mistake.
   1809 
   1810 It was created by lndir $as_me 1.0.3, which was
   1811 generated by GNU Autoconf 2.68.  Invocation command line was
   1812 
   1813   $ $0 $@
   1814 
   1815 _ACEOF
   1816 exec 5>>config.log
   1817 {
   1818 cat <<_ASUNAME
   1819 ## --------- ##
   1820 ## Platform. ##
   1821 ## --------- ##
   1822 
   1823 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1824 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1825 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1826 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1827 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1828 
   1829 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1830 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1831 
   1832 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1833 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1834 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1835 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1836 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1837 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1838 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1839 
   1840 _ASUNAME
   1841 
   1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1843 for as_dir in $PATH
   1844 do
   1845   IFS=$as_save_IFS
   1846   test -z "$as_dir" && as_dir=.
   1847     $as_echo "PATH: $as_dir"
   1848   done
   1849 IFS=$as_save_IFS
   1850 
   1851 } >&5
   1852 
   1853 cat >&5 <<_ACEOF
   1854 
   1855 
   1856 ## ----------- ##
   1857 ## Core tests. ##
   1858 ## ----------- ##
   1859 
   1860 _ACEOF
   1861 
   1862 
   1863 # Keep a trace of the command line.
   1864 # Strip out --no-create and --no-recursion so they do not pile up.
   1865 # Strip out --silent because we don't want to record it for future runs.
   1866 # Also quote any args containing shell meta-characters.
   1867 # Make two passes to allow for proper duplicate-argument suppression.
   1868 ac_configure_args=
   1869 ac_configure_args0=
   1870 ac_configure_args1=
   1871 ac_must_keep_next=false
   1872 for ac_pass in 1 2
   1873 do
   1874   for ac_arg
   1875   do
   1876     case $ac_arg in
   1877     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1878     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1879     | -silent | --silent | --silen | --sile | --sil)
   1880       continue ;;
   1881     *\'*)
   1882       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1883     esac
   1884     case $ac_pass in
   1885     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1886     2)
   1887       as_fn_append ac_configure_args1 " '$ac_arg'"
   1888       if test $ac_must_keep_next = true; then
   1889 	ac_must_keep_next=false # Got value, back to normal.
   1890       else
   1891 	case $ac_arg in
   1892 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1893 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1894 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1895 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1896 	    case "$ac_configure_args0 " in
   1897 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1898 	    esac
   1899 	    ;;
   1900 	  -* ) ac_must_keep_next=true ;;
   1901 	esac
   1902       fi
   1903       as_fn_append ac_configure_args " '$ac_arg'"
   1904       ;;
   1905     esac
   1906   done
   1907 done
   1908 { ac_configure_args0=; unset ac_configure_args0;}
   1909 { ac_configure_args1=; unset ac_configure_args1;}
   1910 
   1911 # When interrupted or exit'd, cleanup temporary files, and complete
   1912 # config.log.  We remove comments because anyway the quotes in there
   1913 # would cause problems or look ugly.
   1914 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1915 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1916 trap 'exit_status=$?
   1917   # Save into config.log some information that might help in debugging.
   1918   {
   1919     echo
   1920 
   1921     $as_echo "## ---------------- ##
   1922 ## Cache variables. ##
   1923 ## ---------------- ##"
   1924     echo
   1925     # The following way of writing the cache mishandles newlines in values,
   1926 (
   1927   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1928     eval ac_val=\$$ac_var
   1929     case $ac_val in #(
   1930     *${as_nl}*)
   1931       case $ac_var in #(
   1932       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1934       esac
   1935       case $ac_var in #(
   1936       _ | IFS | as_nl) ;; #(
   1937       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1938       *) { eval $ac_var=; unset $ac_var;} ;;
   1939       esac ;;
   1940     esac
   1941   done
   1942   (set) 2>&1 |
   1943     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1944     *${as_nl}ac_space=\ *)
   1945       sed -n \
   1946 	"s/'\''/'\''\\\\'\'''\''/g;
   1947 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1948       ;; #(
   1949     *)
   1950       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1951       ;;
   1952     esac |
   1953     sort
   1954 )
   1955     echo
   1956 
   1957     $as_echo "## ----------------- ##
   1958 ## Output variables. ##
   1959 ## ----------------- ##"
   1960     echo
   1961     for ac_var in $ac_subst_vars
   1962     do
   1963       eval ac_val=\$$ac_var
   1964       case $ac_val in
   1965       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1966       esac
   1967       $as_echo "$ac_var='\''$ac_val'\''"
   1968     done | sort
   1969     echo
   1970 
   1971     if test -n "$ac_subst_files"; then
   1972       $as_echo "## ------------------- ##
   1973 ## File substitutions. ##
   1974 ## ------------------- ##"
   1975       echo
   1976       for ac_var in $ac_subst_files
   1977       do
   1978 	eval ac_val=\$$ac_var
   1979 	case $ac_val in
   1980 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1981 	esac
   1982 	$as_echo "$ac_var='\''$ac_val'\''"
   1983       done | sort
   1984       echo
   1985     fi
   1986 
   1987     if test -s confdefs.h; then
   1988       $as_echo "## ----------- ##
   1989 ## confdefs.h. ##
   1990 ## ----------- ##"
   1991       echo
   1992       cat confdefs.h
   1993       echo
   1994     fi
   1995     test "$ac_signal" != 0 &&
   1996       $as_echo "$as_me: caught signal $ac_signal"
   1997     $as_echo "$as_me: exit $exit_status"
   1998   } >&5
   1999   rm -f core *.core core.conftest.* &&
   2000     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2001     exit $exit_status
   2002 ' 0
   2003 for ac_signal in 1 2 13 15; do
   2004   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2005 done
   2006 ac_signal=0
   2007 
   2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2009 rm -f -r conftest* confdefs.h
   2010 
   2011 $as_echo "/* confdefs.h */" > confdefs.h
   2012 
   2013 # Predefined preprocessor variables.
   2014 
   2015 cat >>confdefs.h <<_ACEOF
   2016 #define PACKAGE_NAME "$PACKAGE_NAME"
   2017 _ACEOF
   2018 
   2019 cat >>confdefs.h <<_ACEOF
   2020 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2021 _ACEOF
   2022 
   2023 cat >>confdefs.h <<_ACEOF
   2024 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2025 _ACEOF
   2026 
   2027 cat >>confdefs.h <<_ACEOF
   2028 #define PACKAGE_STRING "$PACKAGE_STRING"
   2029 _ACEOF
   2030 
   2031 cat >>confdefs.h <<_ACEOF
   2032 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2033 _ACEOF
   2034 
   2035 cat >>confdefs.h <<_ACEOF
   2036 #define PACKAGE_URL "$PACKAGE_URL"
   2037 _ACEOF
   2038 
   2039 
   2040 # Let the site file select an alternate cache file if it wants to.
   2041 # Prefer an explicitly selected file to automatically selected ones.
   2042 ac_site_file1=NONE
   2043 ac_site_file2=NONE
   2044 if test -n "$CONFIG_SITE"; then
   2045   # We do not want a PATH search for config.site.
   2046   case $CONFIG_SITE in #((
   2047     -*)  ac_site_file1=./$CONFIG_SITE;;
   2048     */*) ac_site_file1=$CONFIG_SITE;;
   2049     *)   ac_site_file1=./$CONFIG_SITE;;
   2050   esac
   2051 elif test "x$prefix" != xNONE; then
   2052   ac_site_file1=$prefix/share/config.site
   2053   ac_site_file2=$prefix/etc/config.site
   2054 else
   2055   ac_site_file1=$ac_default_prefix/share/config.site
   2056   ac_site_file2=$ac_default_prefix/etc/config.site
   2057 fi
   2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2059 do
   2060   test "x$ac_site_file" = xNONE && continue
   2061   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2062     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2064     sed 's/^/| /' "$ac_site_file" >&5
   2065     . "$ac_site_file" \
   2066       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2068 as_fn_error $? "failed to load site script $ac_site_file
   2069 See \`config.log' for more details" "$LINENO" 5; }
   2070   fi
   2071 done
   2072 
   2073 if test -r "$cache_file"; then
   2074   # Some versions of bash will fail to source /dev/null (special files
   2075   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2076   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2077     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2079     case $cache_file in
   2080       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2081       *)                      . "./$cache_file";;
   2082     esac
   2083   fi
   2084 else
   2085   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2087   >$cache_file
   2088 fi
   2089 
   2090 # Check that the precious variables saved in the cache have kept the same
   2091 # value.
   2092 ac_cache_corrupted=false
   2093 for ac_var in $ac_precious_vars; do
   2094   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2095   eval ac_new_set=\$ac_env_${ac_var}_set
   2096   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2097   eval ac_new_val=\$ac_env_${ac_var}_value
   2098   case $ac_old_set,$ac_new_set in
   2099     set,)
   2100       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2101 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2102       ac_cache_corrupted=: ;;
   2103     ,set)
   2104       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2105 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2106       ac_cache_corrupted=: ;;
   2107     ,);;
   2108     *)
   2109       if test "x$ac_old_val" != "x$ac_new_val"; then
   2110 	# differences in whitespace do not lead to failure.
   2111 	ac_old_val_w=`echo x $ac_old_val`
   2112 	ac_new_val_w=`echo x $ac_new_val`
   2113 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2114 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2116 	  ac_cache_corrupted=:
   2117 	else
   2118 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2120 	  eval $ac_var=\$ac_old_val
   2121 	fi
   2122 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2123 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2124 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2125 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2126       fi;;
   2127   esac
   2128   # Pass precious variables to config.status.
   2129   if test "$ac_new_set" = set; then
   2130     case $ac_new_val in
   2131     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2132     *) ac_arg=$ac_var=$ac_new_val ;;
   2133     esac
   2134     case " $ac_configure_args " in
   2135       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2136       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2137     esac
   2138   fi
   2139 done
   2140 if $ac_cache_corrupted; then
   2141   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2143   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2145   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2146 fi
   2147 ## -------------------- ##
   2148 ## Main body of script. ##
   2149 ## -------------------- ##
   2150 
   2151 ac_ext=c
   2152 ac_cpp='$CPP $CPPFLAGS'
   2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2156 
   2157 
   2158 
   2159 ac_config_headers="$ac_config_headers config.h"
   2160 
   2161 ac_ext=c
   2162 ac_cpp='$CPP $CPPFLAGS'
   2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2166 if test -n "$ac_tool_prefix"; then
   2167   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2168 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2170 $as_echo_n "checking for $ac_word... " >&6; }
   2171 if ${ac_cv_prog_CC+:} false; then :
   2172   $as_echo_n "(cached) " >&6
   2173 else
   2174   if test -n "$CC"; then
   2175   ac_cv_prog_CC="$CC" # Let the user override the test.
   2176 else
   2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2178 for as_dir in $PATH
   2179 do
   2180   IFS=$as_save_IFS
   2181   test -z "$as_dir" && as_dir=.
   2182     for ac_exec_ext in '' $ac_executable_extensions; do
   2183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2184     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2186     break 2
   2187   fi
   2188 done
   2189   done
   2190 IFS=$as_save_IFS
   2191 
   2192 fi
   2193 fi
   2194 CC=$ac_cv_prog_CC
   2195 if test -n "$CC"; then
   2196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2197 $as_echo "$CC" >&6; }
   2198 else
   2199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2200 $as_echo "no" >&6; }
   2201 fi
   2202 
   2203 
   2204 fi
   2205 if test -z "$ac_cv_prog_CC"; then
   2206   ac_ct_CC=$CC
   2207   # Extract the first word of "gcc", so it can be a program name with args.
   2208 set dummy gcc; ac_word=$2
   2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2210 $as_echo_n "checking for $ac_word... " >&6; }
   2211 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2212   $as_echo_n "(cached) " >&6
   2213 else
   2214   if test -n "$ac_ct_CC"; then
   2215   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2216 else
   2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2218 for as_dir in $PATH
   2219 do
   2220   IFS=$as_save_IFS
   2221   test -z "$as_dir" && as_dir=.
   2222     for ac_exec_ext in '' $ac_executable_extensions; do
   2223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2224     ac_cv_prog_ac_ct_CC="gcc"
   2225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2226     break 2
   2227   fi
   2228 done
   2229   done
   2230 IFS=$as_save_IFS
   2231 
   2232 fi
   2233 fi
   2234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2235 if test -n "$ac_ct_CC"; then
   2236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2237 $as_echo "$ac_ct_CC" >&6; }
   2238 else
   2239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2240 $as_echo "no" >&6; }
   2241 fi
   2242 
   2243   if test "x$ac_ct_CC" = x; then
   2244     CC=""
   2245   else
   2246     case $cross_compiling:$ac_tool_warned in
   2247 yes:)
   2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2250 ac_tool_warned=yes ;;
   2251 esac
   2252     CC=$ac_ct_CC
   2253   fi
   2254 else
   2255   CC="$ac_cv_prog_CC"
   2256 fi
   2257 
   2258 if test -z "$CC"; then
   2259           if test -n "$ac_tool_prefix"; then
   2260     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2261 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2263 $as_echo_n "checking for $ac_word... " >&6; }
   2264 if ${ac_cv_prog_CC+:} false; then :
   2265   $as_echo_n "(cached) " >&6
   2266 else
   2267   if test -n "$CC"; then
   2268   ac_cv_prog_CC="$CC" # Let the user override the test.
   2269 else
   2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2271 for as_dir in $PATH
   2272 do
   2273   IFS=$as_save_IFS
   2274   test -z "$as_dir" && as_dir=.
   2275     for ac_exec_ext in '' $ac_executable_extensions; do
   2276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2277     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2279     break 2
   2280   fi
   2281 done
   2282   done
   2283 IFS=$as_save_IFS
   2284 
   2285 fi
   2286 fi
   2287 CC=$ac_cv_prog_CC
   2288 if test -n "$CC"; then
   2289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2290 $as_echo "$CC" >&6; }
   2291 else
   2292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2293 $as_echo "no" >&6; }
   2294 fi
   2295 
   2296 
   2297   fi
   2298 fi
   2299 if test -z "$CC"; then
   2300   # Extract the first word of "cc", so it can be a program name with args.
   2301 set dummy cc; ac_word=$2
   2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2303 $as_echo_n "checking for $ac_word... " >&6; }
   2304 if ${ac_cv_prog_CC+:} false; then :
   2305   $as_echo_n "(cached) " >&6
   2306 else
   2307   if test -n "$CC"; then
   2308   ac_cv_prog_CC="$CC" # Let the user override the test.
   2309 else
   2310   ac_prog_rejected=no
   2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2312 for as_dir in $PATH
   2313 do
   2314   IFS=$as_save_IFS
   2315   test -z "$as_dir" && as_dir=.
   2316     for ac_exec_ext in '' $ac_executable_extensions; do
   2317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2318     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2319        ac_prog_rejected=yes
   2320        continue
   2321      fi
   2322     ac_cv_prog_CC="cc"
   2323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2324     break 2
   2325   fi
   2326 done
   2327   done
   2328 IFS=$as_save_IFS
   2329 
   2330 if test $ac_prog_rejected = yes; then
   2331   # We found a bogon in the path, so make sure we never use it.
   2332   set dummy $ac_cv_prog_CC
   2333   shift
   2334   if test $# != 0; then
   2335     # We chose a different compiler from the bogus one.
   2336     # However, it has the same basename, so the bogon will be chosen
   2337     # first if we set CC to just the basename; use the full file name.
   2338     shift
   2339     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2340   fi
   2341 fi
   2342 fi
   2343 fi
   2344 CC=$ac_cv_prog_CC
   2345 if test -n "$CC"; then
   2346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2347 $as_echo "$CC" >&6; }
   2348 else
   2349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2350 $as_echo "no" >&6; }
   2351 fi
   2352 
   2353 
   2354 fi
   2355 if test -z "$CC"; then
   2356   if test -n "$ac_tool_prefix"; then
   2357   for ac_prog in cl.exe
   2358   do
   2359     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2362 $as_echo_n "checking for $ac_word... " >&6; }
   2363 if ${ac_cv_prog_CC+:} false; then :
   2364   $as_echo_n "(cached) " >&6
   2365 else
   2366   if test -n "$CC"; then
   2367   ac_cv_prog_CC="$CC" # Let the user override the test.
   2368 else
   2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2370 for as_dir in $PATH
   2371 do
   2372   IFS=$as_save_IFS
   2373   test -z "$as_dir" && as_dir=.
   2374     for ac_exec_ext in '' $ac_executable_extensions; do
   2375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2376     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2378     break 2
   2379   fi
   2380 done
   2381   done
   2382 IFS=$as_save_IFS
   2383 
   2384 fi
   2385 fi
   2386 CC=$ac_cv_prog_CC
   2387 if test -n "$CC"; then
   2388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2389 $as_echo "$CC" >&6; }
   2390 else
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2392 $as_echo "no" >&6; }
   2393 fi
   2394 
   2395 
   2396     test -n "$CC" && break
   2397   done
   2398 fi
   2399 if test -z "$CC"; then
   2400   ac_ct_CC=$CC
   2401   for ac_prog in cl.exe
   2402 do
   2403   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2404 set dummy $ac_prog; ac_word=$2
   2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2406 $as_echo_n "checking for $ac_word... " >&6; }
   2407 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2408   $as_echo_n "(cached) " >&6
   2409 else
   2410   if test -n "$ac_ct_CC"; then
   2411   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2412 else
   2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2414 for as_dir in $PATH
   2415 do
   2416   IFS=$as_save_IFS
   2417   test -z "$as_dir" && as_dir=.
   2418     for ac_exec_ext in '' $ac_executable_extensions; do
   2419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2420     ac_cv_prog_ac_ct_CC="$ac_prog"
   2421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2422     break 2
   2423   fi
   2424 done
   2425   done
   2426 IFS=$as_save_IFS
   2427 
   2428 fi
   2429 fi
   2430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2431 if test -n "$ac_ct_CC"; then
   2432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2433 $as_echo "$ac_ct_CC" >&6; }
   2434 else
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2436 $as_echo "no" >&6; }
   2437 fi
   2438 
   2439 
   2440   test -n "$ac_ct_CC" && break
   2441 done
   2442 
   2443   if test "x$ac_ct_CC" = x; then
   2444     CC=""
   2445   else
   2446     case $cross_compiling:$ac_tool_warned in
   2447 yes:)
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2450 ac_tool_warned=yes ;;
   2451 esac
   2452     CC=$ac_ct_CC
   2453   fi
   2454 fi
   2455 
   2456 fi
   2457 
   2458 
   2459 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2461 as_fn_error $? "no acceptable C compiler found in \$PATH
   2462 See \`config.log' for more details" "$LINENO" 5; }
   2463 
   2464 # Provide some information about the compiler.
   2465 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2466 set X $ac_compile
   2467 ac_compiler=$2
   2468 for ac_option in --version -v -V -qversion; do
   2469   { { ac_try="$ac_compiler $ac_option >&5"
   2470 case "(($ac_try" in
   2471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2472   *) ac_try_echo=$ac_try;;
   2473 esac
   2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2475 $as_echo "$ac_try_echo"; } >&5
   2476   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2477   ac_status=$?
   2478   if test -s conftest.err; then
   2479     sed '10a\
   2480 ... rest of stderr output deleted ...
   2481          10q' conftest.err >conftest.er1
   2482     cat conftest.er1 >&5
   2483   fi
   2484   rm -f conftest.er1 conftest.err
   2485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2486   test $ac_status = 0; }
   2487 done
   2488 
   2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2490 /* end confdefs.h.  */
   2491 
   2492 int
   2493 main ()
   2494 {
   2495 
   2496   ;
   2497   return 0;
   2498 }
   2499 _ACEOF
   2500 ac_clean_files_save=$ac_clean_files
   2501 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2502 # Try to create an executable without -o first, disregard a.out.
   2503 # It will help us diagnose broken compilers, and finding out an intuition
   2504 # of exeext.
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2506 $as_echo_n "checking whether the C compiler works... " >&6; }
   2507 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2508 
   2509 # The possible output files:
   2510 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2511 
   2512 ac_rmfiles=
   2513 for ac_file in $ac_files
   2514 do
   2515   case $ac_file in
   2516     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2517     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2518   esac
   2519 done
   2520 rm -f $ac_rmfiles
   2521 
   2522 if { { ac_try="$ac_link_default"
   2523 case "(($ac_try" in
   2524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2525   *) ac_try_echo=$ac_try;;
   2526 esac
   2527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2528 $as_echo "$ac_try_echo"; } >&5
   2529   (eval "$ac_link_default") 2>&5
   2530   ac_status=$?
   2531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2532   test $ac_status = 0; }; then :
   2533   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2534 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2535 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2536 # so that the user can short-circuit this test for compilers unknown to
   2537 # Autoconf.
   2538 for ac_file in $ac_files ''
   2539 do
   2540   test -f "$ac_file" || continue
   2541   case $ac_file in
   2542     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2543 	;;
   2544     [ab].out )
   2545 	# We found the default executable, but exeext='' is most
   2546 	# certainly right.
   2547 	break;;
   2548     *.* )
   2549 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2550 	then :; else
   2551 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2552 	fi
   2553 	# We set ac_cv_exeext here because the later test for it is not
   2554 	# safe: cross compilers may not add the suffix if given an `-o'
   2555 	# argument, so we may need to know it at that point already.
   2556 	# Even if this section looks crufty: it has the advantage of
   2557 	# actually working.
   2558 	break;;
   2559     * )
   2560 	break;;
   2561   esac
   2562 done
   2563 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2564 
   2565 else
   2566   ac_file=''
   2567 fi
   2568 if test -z "$ac_file"; then :
   2569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2570 $as_echo "no" >&6; }
   2571 $as_echo "$as_me: failed program was:" >&5
   2572 sed 's/^/| /' conftest.$ac_ext >&5
   2573 
   2574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2576 as_fn_error 77 "C compiler cannot create executables
   2577 See \`config.log' for more details" "$LINENO" 5; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2580 $as_echo "yes" >&6; }
   2581 fi
   2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2583 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2585 $as_echo "$ac_file" >&6; }
   2586 ac_exeext=$ac_cv_exeext
   2587 
   2588 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2589 ac_clean_files=$ac_clean_files_save
   2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2591 $as_echo_n "checking for suffix of executables... " >&6; }
   2592 if { { ac_try="$ac_link"
   2593 case "(($ac_try" in
   2594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2595   *) ac_try_echo=$ac_try;;
   2596 esac
   2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2598 $as_echo "$ac_try_echo"; } >&5
   2599   (eval "$ac_link") 2>&5
   2600   ac_status=$?
   2601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2602   test $ac_status = 0; }; then :
   2603   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2604 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2605 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2606 # `rm'.
   2607 for ac_file in conftest.exe conftest conftest.*; do
   2608   test -f "$ac_file" || continue
   2609   case $ac_file in
   2610     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2611     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2612 	  break;;
   2613     * ) break;;
   2614   esac
   2615 done
   2616 else
   2617   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2619 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2620 See \`config.log' for more details" "$LINENO" 5; }
   2621 fi
   2622 rm -f conftest conftest$ac_cv_exeext
   2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2624 $as_echo "$ac_cv_exeext" >&6; }
   2625 
   2626 rm -f conftest.$ac_ext
   2627 EXEEXT=$ac_cv_exeext
   2628 ac_exeext=$EXEEXT
   2629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2630 /* end confdefs.h.  */
   2631 #include <stdio.h>
   2632 int
   2633 main ()
   2634 {
   2635 FILE *f = fopen ("conftest.out", "w");
   2636  return ferror (f) || fclose (f) != 0;
   2637 
   2638   ;
   2639   return 0;
   2640 }
   2641 _ACEOF
   2642 ac_clean_files="$ac_clean_files conftest.out"
   2643 # Check that the compiler produces executables we can run.  If not, either
   2644 # the compiler is broken, or we cross compile.
   2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2646 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2647 if test "$cross_compiling" != yes; then
   2648   { { ac_try="$ac_link"
   2649 case "(($ac_try" in
   2650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2651   *) ac_try_echo=$ac_try;;
   2652 esac
   2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2654 $as_echo "$ac_try_echo"; } >&5
   2655   (eval "$ac_link") 2>&5
   2656   ac_status=$?
   2657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2658   test $ac_status = 0; }
   2659   if { ac_try='./conftest$ac_cv_exeext'
   2660   { { case "(($ac_try" in
   2661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2662   *) ac_try_echo=$ac_try;;
   2663 esac
   2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2665 $as_echo "$ac_try_echo"; } >&5
   2666   (eval "$ac_try") 2>&5
   2667   ac_status=$?
   2668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2669   test $ac_status = 0; }; }; then
   2670     cross_compiling=no
   2671   else
   2672     if test "$cross_compiling" = maybe; then
   2673 	cross_compiling=yes
   2674     else
   2675 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2677 as_fn_error $? "cannot run C compiled programs.
   2678 If you meant to cross compile, use \`--host'.
   2679 See \`config.log' for more details" "$LINENO" 5; }
   2680     fi
   2681   fi
   2682 fi
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2684 $as_echo "$cross_compiling" >&6; }
   2685 
   2686 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2687 ac_clean_files=$ac_clean_files_save
   2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2689 $as_echo_n "checking for suffix of object files... " >&6; }
   2690 if ${ac_cv_objext+:} false; then :
   2691   $as_echo_n "(cached) " >&6
   2692 else
   2693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2694 /* end confdefs.h.  */
   2695 
   2696 int
   2697 main ()
   2698 {
   2699 
   2700   ;
   2701   return 0;
   2702 }
   2703 _ACEOF
   2704 rm -f conftest.o conftest.obj
   2705 if { { ac_try="$ac_compile"
   2706 case "(($ac_try" in
   2707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2708   *) ac_try_echo=$ac_try;;
   2709 esac
   2710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2711 $as_echo "$ac_try_echo"; } >&5
   2712   (eval "$ac_compile") 2>&5
   2713   ac_status=$?
   2714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2715   test $ac_status = 0; }; then :
   2716   for ac_file in conftest.o conftest.obj conftest.*; do
   2717   test -f "$ac_file" || continue;
   2718   case $ac_file in
   2719     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2720     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2721        break;;
   2722   esac
   2723 done
   2724 else
   2725   $as_echo "$as_me: failed program was:" >&5
   2726 sed 's/^/| /' conftest.$ac_ext >&5
   2727 
   2728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2730 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2731 See \`config.log' for more details" "$LINENO" 5; }
   2732 fi
   2733 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2734 fi
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2736 $as_echo "$ac_cv_objext" >&6; }
   2737 OBJEXT=$ac_cv_objext
   2738 ac_objext=$OBJEXT
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2740 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2741 if ${ac_cv_c_compiler_gnu+:} false; then :
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2745 /* end confdefs.h.  */
   2746 
   2747 int
   2748 main ()
   2749 {
   2750 #ifndef __GNUC__
   2751        choke me
   2752 #endif
   2753 
   2754   ;
   2755   return 0;
   2756 }
   2757 _ACEOF
   2758 if ac_fn_c_try_compile "$LINENO"; then :
   2759   ac_compiler_gnu=yes
   2760 else
   2761   ac_compiler_gnu=no
   2762 fi
   2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2764 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2765 
   2766 fi
   2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2768 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2769 if test $ac_compiler_gnu = yes; then
   2770   GCC=yes
   2771 else
   2772   GCC=
   2773 fi
   2774 ac_test_CFLAGS=${CFLAGS+set}
   2775 ac_save_CFLAGS=$CFLAGS
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2777 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2778 if ${ac_cv_prog_cc_g+:} false; then :
   2779   $as_echo_n "(cached) " >&6
   2780 else
   2781   ac_save_c_werror_flag=$ac_c_werror_flag
   2782    ac_c_werror_flag=yes
   2783    ac_cv_prog_cc_g=no
   2784    CFLAGS="-g"
   2785    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2786 /* end confdefs.h.  */
   2787 
   2788 int
   2789 main ()
   2790 {
   2791 
   2792   ;
   2793   return 0;
   2794 }
   2795 _ACEOF
   2796 if ac_fn_c_try_compile "$LINENO"; then :
   2797   ac_cv_prog_cc_g=yes
   2798 else
   2799   CFLAGS=""
   2800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2801 /* end confdefs.h.  */
   2802 
   2803 int
   2804 main ()
   2805 {
   2806 
   2807   ;
   2808   return 0;
   2809 }
   2810 _ACEOF
   2811 if ac_fn_c_try_compile "$LINENO"; then :
   2812 
   2813 else
   2814   ac_c_werror_flag=$ac_save_c_werror_flag
   2815 	 CFLAGS="-g"
   2816 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2817 /* end confdefs.h.  */
   2818 
   2819 int
   2820 main ()
   2821 {
   2822 
   2823   ;
   2824   return 0;
   2825 }
   2826 _ACEOF
   2827 if ac_fn_c_try_compile "$LINENO"; then :
   2828   ac_cv_prog_cc_g=yes
   2829 fi
   2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2831 fi
   2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2833 fi
   2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2835    ac_c_werror_flag=$ac_save_c_werror_flag
   2836 fi
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2838 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2839 if test "$ac_test_CFLAGS" = set; then
   2840   CFLAGS=$ac_save_CFLAGS
   2841 elif test $ac_cv_prog_cc_g = yes; then
   2842   if test "$GCC" = yes; then
   2843     CFLAGS="-g -O2"
   2844   else
   2845     CFLAGS="-g"
   2846   fi
   2847 else
   2848   if test "$GCC" = yes; then
   2849     CFLAGS="-O2"
   2850   else
   2851     CFLAGS=
   2852   fi
   2853 fi
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2855 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2856 if ${ac_cv_prog_cc_c89+:} false; then :
   2857   $as_echo_n "(cached) " >&6
   2858 else
   2859   ac_cv_prog_cc_c89=no
   2860 ac_save_CC=$CC
   2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2862 /* end confdefs.h.  */
   2863 #include <stdarg.h>
   2864 #include <stdio.h>
   2865 #include <sys/types.h>
   2866 #include <sys/stat.h>
   2867 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2868 struct buf { int x; };
   2869 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2870 static char *e (p, i)
   2871      char **p;
   2872      int i;
   2873 {
   2874   return p[i];
   2875 }
   2876 static char *f (char * (*g) (char **, int), char **p, ...)
   2877 {
   2878   char *s;
   2879   va_list v;
   2880   va_start (v,p);
   2881   s = g (p, va_arg (v,int));
   2882   va_end (v);
   2883   return s;
   2884 }
   2885 
   2886 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2887    function prototypes and stuff, but not '\xHH' hex character constants.
   2888    These don't provoke an error unfortunately, instead are silently treated
   2889    as 'x'.  The following induces an error, until -std is added to get
   2890    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2891    array size at least.  It's necessary to write '\x00'==0 to get something
   2892    that's true only with -std.  */
   2893 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2894 
   2895 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2896    inside strings and character constants.  */
   2897 #define FOO(x) 'x'
   2898 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2899 
   2900 int test (int i, double x);
   2901 struct s1 {int (*f) (int a);};
   2902 struct s2 {int (*f) (double a);};
   2903 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2904 int argc;
   2905 char **argv;
   2906 int
   2907 main ()
   2908 {
   2909 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2910   ;
   2911   return 0;
   2912 }
   2913 _ACEOF
   2914 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2915 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2916 do
   2917   CC="$ac_save_CC $ac_arg"
   2918   if ac_fn_c_try_compile "$LINENO"; then :
   2919   ac_cv_prog_cc_c89=$ac_arg
   2920 fi
   2921 rm -f core conftest.err conftest.$ac_objext
   2922   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2923 done
   2924 rm -f conftest.$ac_ext
   2925 CC=$ac_save_CC
   2926 
   2927 fi
   2928 # AC_CACHE_VAL
   2929 case "x$ac_cv_prog_cc_c89" in
   2930   x)
   2931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   2932 $as_echo "none needed" >&6; } ;;
   2933   xno)
   2934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   2935 $as_echo "unsupported" >&6; } ;;
   2936   *)
   2937     CC="$CC $ac_cv_prog_cc_c89"
   2938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   2939 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   2940 esac
   2941 if test "x$ac_cv_prog_cc_c89" != xno; then :
   2942 
   2943 fi
   2944 
   2945 ac_ext=c
   2946 ac_cpp='$CPP $CPPFLAGS'
   2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2950 
   2951 
   2952 ac_ext=c
   2953 ac_cpp='$CPP $CPPFLAGS'
   2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   2958 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   2959 # On Suns, sometimes $CPP names a directory.
   2960 if test -n "$CPP" && test -d "$CPP"; then
   2961   CPP=
   2962 fi
   2963 if test -z "$CPP"; then
   2964   if ${ac_cv_prog_CPP+:} false; then :
   2965   $as_echo_n "(cached) " >&6
   2966 else
   2967       # Double quotes because CPP needs to be expanded
   2968     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2969     do
   2970       ac_preproc_ok=false
   2971 for ac_c_preproc_warn_flag in '' yes
   2972 do
   2973   # Use a header file that comes with gcc, so configuring glibc
   2974   # with a fresh cross-compiler works.
   2975   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2976   # <limits.h> exists even on freestanding compilers.
   2977   # On the NeXT, cc -E runs the code through the compiler's parser,
   2978   # not just through cpp. "Syntax error" is here to catch this case.
   2979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2980 /* end confdefs.h.  */
   2981 #ifdef __STDC__
   2982 # include <limits.h>
   2983 #else
   2984 # include <assert.h>
   2985 #endif
   2986 		     Syntax error
   2987 _ACEOF
   2988 if ac_fn_c_try_cpp "$LINENO"; then :
   2989 
   2990 else
   2991   # Broken: fails on valid input.
   2992 continue
   2993 fi
   2994 rm -f conftest.err conftest.i conftest.$ac_ext
   2995 
   2996   # OK, works on sane cases.  Now check whether nonexistent headers
   2997   # can be detected and how.
   2998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2999 /* end confdefs.h.  */
   3000 #include <ac_nonexistent.h>
   3001 _ACEOF
   3002 if ac_fn_c_try_cpp "$LINENO"; then :
   3003   # Broken: success on invalid input.
   3004 continue
   3005 else
   3006   # Passes both tests.
   3007 ac_preproc_ok=:
   3008 break
   3009 fi
   3010 rm -f conftest.err conftest.i conftest.$ac_ext
   3011 
   3012 done
   3013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3014 rm -f conftest.i conftest.err conftest.$ac_ext
   3015 if $ac_preproc_ok; then :
   3016   break
   3017 fi
   3018 
   3019     done
   3020     ac_cv_prog_CPP=$CPP
   3021 
   3022 fi
   3023   CPP=$ac_cv_prog_CPP
   3024 else
   3025   ac_cv_prog_CPP=$CPP
   3026 fi
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3028 $as_echo "$CPP" >&6; }
   3029 ac_preproc_ok=false
   3030 for ac_c_preproc_warn_flag in '' yes
   3031 do
   3032   # Use a header file that comes with gcc, so configuring glibc
   3033   # with a fresh cross-compiler works.
   3034   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3035   # <limits.h> exists even on freestanding compilers.
   3036   # On the NeXT, cc -E runs the code through the compiler's parser,
   3037   # not just through cpp. "Syntax error" is here to catch this case.
   3038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3039 /* end confdefs.h.  */
   3040 #ifdef __STDC__
   3041 # include <limits.h>
   3042 #else
   3043 # include <assert.h>
   3044 #endif
   3045 		     Syntax error
   3046 _ACEOF
   3047 if ac_fn_c_try_cpp "$LINENO"; then :
   3048 
   3049 else
   3050   # Broken: fails on valid input.
   3051 continue
   3052 fi
   3053 rm -f conftest.err conftest.i conftest.$ac_ext
   3054 
   3055   # OK, works on sane cases.  Now check whether nonexistent headers
   3056   # can be detected and how.
   3057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3058 /* end confdefs.h.  */
   3059 #include <ac_nonexistent.h>
   3060 _ACEOF
   3061 if ac_fn_c_try_cpp "$LINENO"; then :
   3062   # Broken: success on invalid input.
   3063 continue
   3064 else
   3065   # Passes both tests.
   3066 ac_preproc_ok=:
   3067 break
   3068 fi
   3069 rm -f conftest.err conftest.i conftest.$ac_ext
   3070 
   3071 done
   3072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3073 rm -f conftest.i conftest.err conftest.$ac_ext
   3074 if $ac_preproc_ok; then :
   3075 
   3076 else
   3077   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3079 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3080 See \`config.log' for more details" "$LINENO" 5; }
   3081 fi
   3082 
   3083 ac_ext=c
   3084 ac_cpp='$CPP $CPPFLAGS'
   3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3088 
   3089 
   3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3091 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3092 if ${ac_cv_path_GREP+:} false; then :
   3093   $as_echo_n "(cached) " >&6
   3094 else
   3095   if test -z "$GREP"; then
   3096   ac_path_GREP_found=false
   3097   # Loop through the user's path and test for each of PROGNAME-LIST
   3098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3100 do
   3101   IFS=$as_save_IFS
   3102   test -z "$as_dir" && as_dir=.
   3103     for ac_prog in grep ggrep; do
   3104     for ac_exec_ext in '' $ac_executable_extensions; do
   3105       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3106       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3107 # Check for GNU ac_path_GREP and select it if it is found.
   3108   # Check for GNU $ac_path_GREP
   3109 case `"$ac_path_GREP" --version 2>&1` in
   3110 *GNU*)
   3111   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3112 *)
   3113   ac_count=0
   3114   $as_echo_n 0123456789 >"conftest.in"
   3115   while :
   3116   do
   3117     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3118     mv "conftest.tmp" "conftest.in"
   3119     cp "conftest.in" "conftest.nl"
   3120     $as_echo 'GREP' >> "conftest.nl"
   3121     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3122     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3123     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3124     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3125       # Best one so far, save it but keep looking for a better one
   3126       ac_cv_path_GREP="$ac_path_GREP"
   3127       ac_path_GREP_max=$ac_count
   3128     fi
   3129     # 10*(2^10) chars as input seems more than enough
   3130     test $ac_count -gt 10 && break
   3131   done
   3132   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3133 esac
   3134 
   3135       $ac_path_GREP_found && break 3
   3136     done
   3137   done
   3138   done
   3139 IFS=$as_save_IFS
   3140   if test -z "$ac_cv_path_GREP"; then
   3141     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3142   fi
   3143 else
   3144   ac_cv_path_GREP=$GREP
   3145 fi
   3146 
   3147 fi
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3149 $as_echo "$ac_cv_path_GREP" >&6; }
   3150  GREP="$ac_cv_path_GREP"
   3151 
   3152 
   3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3154 $as_echo_n "checking for egrep... " >&6; }
   3155 if ${ac_cv_path_EGREP+:} false; then :
   3156   $as_echo_n "(cached) " >&6
   3157 else
   3158   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3159    then ac_cv_path_EGREP="$GREP -E"
   3160    else
   3161      if test -z "$EGREP"; then
   3162   ac_path_EGREP_found=false
   3163   # Loop through the user's path and test for each of PROGNAME-LIST
   3164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3165 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3166 do
   3167   IFS=$as_save_IFS
   3168   test -z "$as_dir" && as_dir=.
   3169     for ac_prog in egrep; do
   3170     for ac_exec_ext in '' $ac_executable_extensions; do
   3171       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3172       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3173 # Check for GNU ac_path_EGREP and select it if it is found.
   3174   # Check for GNU $ac_path_EGREP
   3175 case `"$ac_path_EGREP" --version 2>&1` in
   3176 *GNU*)
   3177   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3178 *)
   3179   ac_count=0
   3180   $as_echo_n 0123456789 >"conftest.in"
   3181   while :
   3182   do
   3183     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3184     mv "conftest.tmp" "conftest.in"
   3185     cp "conftest.in" "conftest.nl"
   3186     $as_echo 'EGREP' >> "conftest.nl"
   3187     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3188     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3189     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3190     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3191       # Best one so far, save it but keep looking for a better one
   3192       ac_cv_path_EGREP="$ac_path_EGREP"
   3193       ac_path_EGREP_max=$ac_count
   3194     fi
   3195     # 10*(2^10) chars as input seems more than enough
   3196     test $ac_count -gt 10 && break
   3197   done
   3198   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3199 esac
   3200 
   3201       $ac_path_EGREP_found && break 3
   3202     done
   3203   done
   3204   done
   3205 IFS=$as_save_IFS
   3206   if test -z "$ac_cv_path_EGREP"; then
   3207     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3208   fi
   3209 else
   3210   ac_cv_path_EGREP=$EGREP
   3211 fi
   3212 
   3213    fi
   3214 fi
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3216 $as_echo "$ac_cv_path_EGREP" >&6; }
   3217  EGREP="$ac_cv_path_EGREP"
   3218 
   3219 
   3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3221 $as_echo_n "checking for ANSI C header files... " >&6; }
   3222 if ${ac_cv_header_stdc+:} false; then :
   3223   $as_echo_n "(cached) " >&6
   3224 else
   3225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3226 /* end confdefs.h.  */
   3227 #include <stdlib.h>
   3228 #include <stdarg.h>
   3229 #include <string.h>
   3230 #include <float.h>
   3231 
   3232 int
   3233 main ()
   3234 {
   3235 
   3236   ;
   3237   return 0;
   3238 }
   3239 _ACEOF
   3240 if ac_fn_c_try_compile "$LINENO"; then :
   3241   ac_cv_header_stdc=yes
   3242 else
   3243   ac_cv_header_stdc=no
   3244 fi
   3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3246 
   3247 if test $ac_cv_header_stdc = yes; then
   3248   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3250 /* end confdefs.h.  */
   3251 #include <string.h>
   3252 
   3253 _ACEOF
   3254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3255   $EGREP "memchr" >/dev/null 2>&1; then :
   3256 
   3257 else
   3258   ac_cv_header_stdc=no
   3259 fi
   3260 rm -f conftest*
   3261 
   3262 fi
   3263 
   3264 if test $ac_cv_header_stdc = yes; then
   3265   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3267 /* end confdefs.h.  */
   3268 #include <stdlib.h>
   3269 
   3270 _ACEOF
   3271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3272   $EGREP "free" >/dev/null 2>&1; then :
   3273 
   3274 else
   3275   ac_cv_header_stdc=no
   3276 fi
   3277 rm -f conftest*
   3278 
   3279 fi
   3280 
   3281 if test $ac_cv_header_stdc = yes; then
   3282   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3283   if test "$cross_compiling" = yes; then :
   3284   :
   3285 else
   3286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3287 /* end confdefs.h.  */
   3288 #include <ctype.h>
   3289 #include <stdlib.h>
   3290 #if ((' ' & 0x0FF) == 0x020)
   3291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3293 #else
   3294 # define ISLOWER(c) \
   3295 		   (('a' <= (c) && (c) <= 'i') \
   3296 		     || ('j' <= (c) && (c) <= 'r') \
   3297 		     || ('s' <= (c) && (c) <= 'z'))
   3298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3299 #endif
   3300 
   3301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3302 int
   3303 main ()
   3304 {
   3305   int i;
   3306   for (i = 0; i < 256; i++)
   3307     if (XOR (islower (i), ISLOWER (i))
   3308 	|| toupper (i) != TOUPPER (i))
   3309       return 2;
   3310   return 0;
   3311 }
   3312 _ACEOF
   3313 if ac_fn_c_try_run "$LINENO"; then :
   3314 
   3315 else
   3316   ac_cv_header_stdc=no
   3317 fi
   3318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3319   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3320 fi
   3321 
   3322 fi
   3323 fi
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3325 $as_echo "$ac_cv_header_stdc" >&6; }
   3326 if test $ac_cv_header_stdc = yes; then
   3327 
   3328 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3329 
   3330 fi
   3331 
   3332 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3333 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3334 		  inttypes.h stdint.h unistd.h
   3335 do :
   3336   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3337 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3338 "
   3339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3340   cat >>confdefs.h <<_ACEOF
   3341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3342 _ACEOF
   3343 
   3344 fi
   3345 
   3346 done
   3347 
   3348 
   3349 
   3350   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3351 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3352   MINIX=yes
   3353 else
   3354   MINIX=
   3355 fi
   3356 
   3357 
   3358   if test "$MINIX" = yes; then
   3359 
   3360 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3361 
   3362 
   3363 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3364 
   3365 
   3366 $as_echo "#define _MINIX 1" >>confdefs.h
   3367 
   3368   fi
   3369 
   3370 
   3371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3372 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3373 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3374   $as_echo_n "(cached) " >&6
   3375 else
   3376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 #	  define __EXTENSIONS__ 1
   3380 	  $ac_includes_default
   3381 int
   3382 main ()
   3383 {
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 if ac_fn_c_try_compile "$LINENO"; then :
   3390   ac_cv_safe_to_define___extensions__=yes
   3391 else
   3392   ac_cv_safe_to_define___extensions__=no
   3393 fi
   3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3395 fi
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3397 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3398   test $ac_cv_safe_to_define___extensions__ = yes &&
   3399     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3400 
   3401   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3402 
   3403   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3404 
   3405   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3406 
   3407   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3408 
   3409 
   3410 
   3411 # Initialize Automake
   3412 am__api_version='1.11'
   3413 
   3414 ac_aux_dir=
   3415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3416   if test -f "$ac_dir/install-sh"; then
   3417     ac_aux_dir=$ac_dir
   3418     ac_install_sh="$ac_aux_dir/install-sh -c"
   3419     break
   3420   elif test -f "$ac_dir/install.sh"; then
   3421     ac_aux_dir=$ac_dir
   3422     ac_install_sh="$ac_aux_dir/install.sh -c"
   3423     break
   3424   elif test -f "$ac_dir/shtool"; then
   3425     ac_aux_dir=$ac_dir
   3426     ac_install_sh="$ac_aux_dir/shtool install -c"
   3427     break
   3428   fi
   3429 done
   3430 if test -z "$ac_aux_dir"; then
   3431   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3432 fi
   3433 
   3434 # These three variables are undocumented and unsupported,
   3435 # and are intended to be withdrawn in a future Autoconf release.
   3436 # They can cause serious problems if a builder's source tree is in a directory
   3437 # whose full name contains unusual characters.
   3438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3440 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3441 
   3442 
   3443 # Find a good install program.  We prefer a C program (faster),
   3444 # so one script is as good as another.  But avoid the broken or
   3445 # incompatible versions:
   3446 # SysV /etc/install, /usr/sbin/install
   3447 # SunOS /usr/etc/install
   3448 # IRIX /sbin/install
   3449 # AIX /bin/install
   3450 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3454 # OS/2's system install, which has a completely different semantic
   3455 # ./install, which can be erroneously created by make from ./install.sh.
   3456 # Reject install programs that cannot install multiple files.
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3459 if test -z "$INSTALL"; then
   3460 if ${ac_cv_path_install+:} false; then :
   3461   $as_echo_n "(cached) " >&6
   3462 else
   3463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3464 for as_dir in $PATH
   3465 do
   3466   IFS=$as_save_IFS
   3467   test -z "$as_dir" && as_dir=.
   3468     # Account for people who put trailing slashes in PATH elements.
   3469 case $as_dir/ in #((
   3470   ./ | .// | /[cC]/* | \
   3471   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3472   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3473   /usr/ucb/* ) ;;
   3474   *)
   3475     # OSF1 and SCO ODT 3.0 have their own names for install.
   3476     # Don't use installbsd from OSF since it installs stuff as root
   3477     # by default.
   3478     for ac_prog in ginstall scoinst install; do
   3479       for ac_exec_ext in '' $ac_executable_extensions; do
   3480 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3481 	  if test $ac_prog = install &&
   3482 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3483 	    # AIX install.  It has an incompatible calling convention.
   3484 	    :
   3485 	  elif test $ac_prog = install &&
   3486 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3487 	    # program-specific install script used by HP pwplus--don't use.
   3488 	    :
   3489 	  else
   3490 	    rm -rf conftest.one conftest.two conftest.dir
   3491 	    echo one > conftest.one
   3492 	    echo two > conftest.two
   3493 	    mkdir conftest.dir
   3494 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3495 	      test -s conftest.one && test -s conftest.two &&
   3496 	      test -s conftest.dir/conftest.one &&
   3497 	      test -s conftest.dir/conftest.two
   3498 	    then
   3499 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3500 	      break 3
   3501 	    fi
   3502 	  fi
   3503 	fi
   3504       done
   3505     done
   3506     ;;
   3507 esac
   3508 
   3509   done
   3510 IFS=$as_save_IFS
   3511 
   3512 rm -rf conftest.one conftest.two conftest.dir
   3513 
   3514 fi
   3515   if test "${ac_cv_path_install+set}" = set; then
   3516     INSTALL=$ac_cv_path_install
   3517   else
   3518     # As a last resort, use the slow shell script.  Don't cache a
   3519     # value for INSTALL within a source directory, because that will
   3520     # break other packages using the cache if that directory is
   3521     # removed, or if the value is a relative name.
   3522     INSTALL=$ac_install_sh
   3523   fi
   3524 fi
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3526 $as_echo "$INSTALL" >&6; }
   3527 
   3528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3529 # It thinks the first close brace ends the variable substitution.
   3530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3531 
   3532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3533 
   3534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3535 
   3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3537 $as_echo_n "checking whether build environment is sane... " >&6; }
   3538 # Just in case
   3539 sleep 1
   3540 echo timestamp > conftest.file
   3541 # Reject unsafe characters in $srcdir or the absolute working directory
   3542 # name.  Accept space and tab only in the latter.
   3543 am_lf='
   3544 '
   3545 case `pwd` in
   3546   *[\\\"\#\$\&\'\`$am_lf]*)
   3547     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3548 esac
   3549 case $srcdir in
   3550   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3551     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3552 esac
   3553 
   3554 # Do `set' in a subshell so we don't clobber the current shell's
   3555 # arguments.  Must try -L first in case configure is actually a
   3556 # symlink; some systems play weird games with the mod time of symlinks
   3557 # (eg FreeBSD returns the mod time of the symlink's containing
   3558 # directory).
   3559 if (
   3560    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3561    if test "$*" = "X"; then
   3562       # -L didn't work.
   3563       set X `ls -t "$srcdir/configure" conftest.file`
   3564    fi
   3565    rm -f conftest.file
   3566    if test "$*" != "X $srcdir/configure conftest.file" \
   3567       && test "$*" != "X conftest.file $srcdir/configure"; then
   3568 
   3569       # If neither matched, then we have a broken ls.  This can happen
   3570       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3571       # broken ls alias from the environment.  This has actually
   3572       # happened.  Such a system could not be considered "sane".
   3573       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3574 alias in your environment" "$LINENO" 5
   3575    fi
   3576 
   3577    test "$2" = conftest.file
   3578    )
   3579 then
   3580    # Ok.
   3581    :
   3582 else
   3583    as_fn_error $? "newly created file is older than distributed files!
   3584 Check your system clock" "$LINENO" 5
   3585 fi
   3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3587 $as_echo "yes" >&6; }
   3588 test "$program_prefix" != NONE &&
   3589   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3590 # Use a double $ so make ignores it.
   3591 test "$program_suffix" != NONE &&
   3592   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3593 # Double any \ or $.
   3594 # By default was `s,x,x', remove it if useless.
   3595 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3596 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3597 
   3598 # expand $ac_aux_dir to an absolute path
   3599 am_aux_dir=`cd $ac_aux_dir && pwd`
   3600 
   3601 if test x"${MISSING+set}" != xset; then
   3602   case $am_aux_dir in
   3603   *\ * | *\	*)
   3604     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3605   *)
   3606     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3607   esac
   3608 fi
   3609 # Use eval to expand $SHELL
   3610 if eval "$MISSING --run true"; then
   3611   am_missing_run="$MISSING --run "
   3612 else
   3613   am_missing_run=
   3614   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   3615 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   3616 fi
   3617 
   3618 if test x"${install_sh}" != xset; then
   3619   case $am_aux_dir in
   3620   *\ * | *\	*)
   3621     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3622   *)
   3623     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3624   esac
   3625 fi
   3626 
   3627 # Installed binaries are usually stripped using `strip' when the user
   3628 # run `make install-strip'.  However `strip' might not be the right
   3629 # tool to use in cross-compilation environments, therefore Automake
   3630 # will honor the `STRIP' environment variable to overrule this program.
   3631 if test "$cross_compiling" != no; then
   3632   if test -n "$ac_tool_prefix"; then
   3633   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3634 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3636 $as_echo_n "checking for $ac_word... " >&6; }
   3637 if ${ac_cv_prog_STRIP+:} false; then :
   3638   $as_echo_n "(cached) " >&6
   3639 else
   3640   if test -n "$STRIP"; then
   3641   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3642 else
   3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3644 for as_dir in $PATH
   3645 do
   3646   IFS=$as_save_IFS
   3647   test -z "$as_dir" && as_dir=.
   3648     for ac_exec_ext in '' $ac_executable_extensions; do
   3649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3650     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3652     break 2
   3653   fi
   3654 done
   3655   done
   3656 IFS=$as_save_IFS
   3657 
   3658 fi
   3659 fi
   3660 STRIP=$ac_cv_prog_STRIP
   3661 if test -n "$STRIP"; then
   3662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3663 $as_echo "$STRIP" >&6; }
   3664 else
   3665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3666 $as_echo "no" >&6; }
   3667 fi
   3668 
   3669 
   3670 fi
   3671 if test -z "$ac_cv_prog_STRIP"; then
   3672   ac_ct_STRIP=$STRIP
   3673   # Extract the first word of "strip", so it can be a program name with args.
   3674 set dummy strip; ac_word=$2
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3676 $as_echo_n "checking for $ac_word... " >&6; }
   3677 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3678   $as_echo_n "(cached) " >&6
   3679 else
   3680   if test -n "$ac_ct_STRIP"; then
   3681   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3682 else
   3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3684 for as_dir in $PATH
   3685 do
   3686   IFS=$as_save_IFS
   3687   test -z "$as_dir" && as_dir=.
   3688     for ac_exec_ext in '' $ac_executable_extensions; do
   3689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3690     ac_cv_prog_ac_ct_STRIP="strip"
   3691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3692     break 2
   3693   fi
   3694 done
   3695   done
   3696 IFS=$as_save_IFS
   3697 
   3698 fi
   3699 fi
   3700 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3701 if test -n "$ac_ct_STRIP"; then
   3702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3703 $as_echo "$ac_ct_STRIP" >&6; }
   3704 else
   3705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3706 $as_echo "no" >&6; }
   3707 fi
   3708 
   3709   if test "x$ac_ct_STRIP" = x; then
   3710     STRIP=":"
   3711   else
   3712     case $cross_compiling:$ac_tool_warned in
   3713 yes:)
   3714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3716 ac_tool_warned=yes ;;
   3717 esac
   3718     STRIP=$ac_ct_STRIP
   3719   fi
   3720 else
   3721   STRIP="$ac_cv_prog_STRIP"
   3722 fi
   3723 
   3724 fi
   3725 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3726 
   3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3728 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3729 if test -z "$MKDIR_P"; then
   3730   if ${ac_cv_path_mkdir+:} false; then :
   3731   $as_echo_n "(cached) " >&6
   3732 else
   3733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3734 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3735 do
   3736   IFS=$as_save_IFS
   3737   test -z "$as_dir" && as_dir=.
   3738     for ac_prog in mkdir gmkdir; do
   3739 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3740 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3741 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3742 	     'mkdir (GNU coreutils) '* | \
   3743 	     'mkdir (coreutils) '* | \
   3744 	     'mkdir (fileutils) '4.1*)
   3745 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3746 	       break 3;;
   3747 	   esac
   3748 	 done
   3749        done
   3750   done
   3751 IFS=$as_save_IFS
   3752 
   3753 fi
   3754 
   3755   test -d ./--version && rmdir ./--version
   3756   if test "${ac_cv_path_mkdir+set}" = set; then
   3757     MKDIR_P="$ac_cv_path_mkdir -p"
   3758   else
   3759     # As a last resort, use the slow shell script.  Don't cache a
   3760     # value for MKDIR_P within a source directory, because that will
   3761     # break other packages using the cache if that directory is
   3762     # removed, or if the value is a relative name.
   3763     MKDIR_P="$ac_install_sh -d"
   3764   fi
   3765 fi
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3767 $as_echo "$MKDIR_P" >&6; }
   3768 
   3769 mkdir_p="$MKDIR_P"
   3770 case $mkdir_p in
   3771   [\\/$]* | ?:[\\/]*) ;;
   3772   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   3773 esac
   3774 
   3775 for ac_prog in gawk mawk nawk awk
   3776 do
   3777   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3778 set dummy $ac_prog; ac_word=$2
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3780 $as_echo_n "checking for $ac_word... " >&6; }
   3781 if ${ac_cv_prog_AWK+:} false; then :
   3782   $as_echo_n "(cached) " >&6
   3783 else
   3784   if test -n "$AWK"; then
   3785   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3786 else
   3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3788 for as_dir in $PATH
   3789 do
   3790   IFS=$as_save_IFS
   3791   test -z "$as_dir" && as_dir=.
   3792     for ac_exec_ext in '' $ac_executable_extensions; do
   3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3794     ac_cv_prog_AWK="$ac_prog"
   3795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3796     break 2
   3797   fi
   3798 done
   3799   done
   3800 IFS=$as_save_IFS
   3801 
   3802 fi
   3803 fi
   3804 AWK=$ac_cv_prog_AWK
   3805 if test -n "$AWK"; then
   3806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3807 $as_echo "$AWK" >&6; }
   3808 else
   3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3810 $as_echo "no" >&6; }
   3811 fi
   3812 
   3813 
   3814   test -n "$AWK" && break
   3815 done
   3816 
   3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3819 set x ${MAKE-make}
   3820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3822   $as_echo_n "(cached) " >&6
   3823 else
   3824   cat >conftest.make <<\_ACEOF
   3825 SHELL = /bin/sh
   3826 all:
   3827 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3828 _ACEOF
   3829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3831   *@@@%%%=?*=@@@%%%*)
   3832     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3833   *)
   3834     eval ac_cv_prog_make_${ac_make}_set=no;;
   3835 esac
   3836 rm -f conftest.make
   3837 fi
   3838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3840 $as_echo "yes" >&6; }
   3841   SET_MAKE=
   3842 else
   3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3844 $as_echo "no" >&6; }
   3845   SET_MAKE="MAKE=${MAKE-make}"
   3846 fi
   3847 
   3848 rm -rf .tst 2>/dev/null
   3849 mkdir .tst 2>/dev/null
   3850 if test -d .tst; then
   3851   am__leading_dot=.
   3852 else
   3853   am__leading_dot=_
   3854 fi
   3855 rmdir .tst 2>/dev/null
   3856 
   3857 DEPDIR="${am__leading_dot}deps"
   3858 
   3859 ac_config_commands="$ac_config_commands depfiles"
   3860 
   3861 
   3862 am_make=${MAKE-make}
   3863 cat > confinc << 'END'
   3864 am__doit:
   3865 	@echo this is the am__doit target
   3866 .PHONY: am__doit
   3867 END
   3868 # If we don't find an include directive, just comment out the code.
   3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3870 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3871 am__include="#"
   3872 am__quote=
   3873 _am_result=none
   3874 # First try GNU make style include.
   3875 echo "include confinc" > confmf
   3876 # Ignore all kinds of additional output from `make'.
   3877 case `$am_make -s -f confmf 2> /dev/null` in #(
   3878 *the\ am__doit\ target*)
   3879   am__include=include
   3880   am__quote=
   3881   _am_result=GNU
   3882   ;;
   3883 esac
   3884 # Now try BSD make style include.
   3885 if test "$am__include" = "#"; then
   3886    echo '.include "confinc"' > confmf
   3887    case `$am_make -s -f confmf 2> /dev/null` in #(
   3888    *the\ am__doit\ target*)
   3889      am__include=.include
   3890      am__quote="\""
   3891      _am_result=BSD
   3892      ;;
   3893    esac
   3894 fi
   3895 
   3896 
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3898 $as_echo "$_am_result" >&6; }
   3899 rm -f confinc confmf
   3900 
   3901 # Check whether --enable-dependency-tracking was given.
   3902 if test "${enable_dependency_tracking+set}" = set; then :
   3903   enableval=$enable_dependency_tracking;
   3904 fi
   3905 
   3906 if test "x$enable_dependency_tracking" != xno; then
   3907   am_depcomp="$ac_aux_dir/depcomp"
   3908   AMDEPBACKSLASH='\'
   3909 fi
   3910  if test "x$enable_dependency_tracking" != xno; then
   3911   AMDEP_TRUE=
   3912   AMDEP_FALSE='#'
   3913 else
   3914   AMDEP_TRUE='#'
   3915   AMDEP_FALSE=
   3916 fi
   3917 
   3918 
   3919 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3920   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3921   # is not polluted with repeated "-I."
   3922   am__isrc=' -I$(srcdir)'
   3923   # test to see if srcdir already configured
   3924   if test -f $srcdir/config.status; then
   3925     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3926   fi
   3927 fi
   3928 
   3929 # test whether we have cygpath
   3930 if test -z "$CYGPATH_W"; then
   3931   if (cygpath --version) >/dev/null 2>/dev/null; then
   3932     CYGPATH_W='cygpath -w'
   3933   else
   3934     CYGPATH_W=echo
   3935   fi
   3936 fi
   3937 
   3938 
   3939 # Define the identity of the package.
   3940  PACKAGE='lndir'
   3941  VERSION='1.0.3'
   3942 
   3943 
   3944 cat >>confdefs.h <<_ACEOF
   3945 #define PACKAGE "$PACKAGE"
   3946 _ACEOF
   3947 
   3948 
   3949 cat >>confdefs.h <<_ACEOF
   3950 #define VERSION "$VERSION"
   3951 _ACEOF
   3952 
   3953 # Some tools Automake needs.
   3954 
   3955 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3956 
   3957 
   3958 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3959 
   3960 
   3961 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3962 
   3963 
   3964 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3965 
   3966 
   3967 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3968 
   3969 # We need awk for the "check" target.  The system "awk" is bad on
   3970 # some platforms.
   3971 # Always define AMTAR for backward compatibility.
   3972 
   3973 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3974 
   3975 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3976 
   3977 
   3978 
   3979 
   3980 depcc="$CC"   am_compiler_list=
   3981 
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3983 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3984 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3985   $as_echo_n "(cached) " >&6
   3986 else
   3987   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3988   # We make a subdir and do the tests there.  Otherwise we can end up
   3989   # making bogus files that we don't know about and never remove.  For
   3990   # instance it was reported that on HP-UX the gcc test will end up
   3991   # making a dummy file named `D' -- because `-MD' means `put the output
   3992   # in D'.
   3993   mkdir conftest.dir
   3994   # Copy depcomp to subdir because otherwise we won't find it if we're
   3995   # using a relative directory.
   3996   cp "$am_depcomp" conftest.dir
   3997   cd conftest.dir
   3998   # We will build objects and dependencies in a subdirectory because
   3999   # it helps to detect inapplicable dependency modes.  For instance
   4000   # both Tru64's cc and ICC support -MD to output dependencies as a
   4001   # side effect of compilation, but ICC will put the dependencies in
   4002   # the current directory while Tru64 will put them in the object
   4003   # directory.
   4004   mkdir sub
   4005 
   4006   am_cv_CC_dependencies_compiler_type=none
   4007   if test "$am_compiler_list" = ""; then
   4008      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4009   fi
   4010   am__universal=false
   4011   case " $depcc " in #(
   4012      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4013      esac
   4014 
   4015   for depmode in $am_compiler_list; do
   4016     # Setup a source with many dependencies, because some compilers
   4017     # like to wrap large dependency lists on column 80 (with \), and
   4018     # we should not choose a depcomp mode which is confused by this.
   4019     #
   4020     # We need to recreate these files for each test, as the compiler may
   4021     # overwrite some of them when testing with obscure command lines.
   4022     # This happens at least with the AIX C compiler.
   4023     : > sub/conftest.c
   4024     for i in 1 2 3 4 5 6; do
   4025       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4026       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4027       # Solaris 8's {/usr,}/bin/sh.
   4028       touch sub/conftst$i.h
   4029     done
   4030     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4031 
   4032     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4033     # mode.  It turns out that the SunPro C++ compiler does not properly
   4034     # handle `-M -o', and we need to detect this.  Also, some Intel
   4035     # versions had trouble with output in subdirs
   4036     am__obj=sub/conftest.${OBJEXT-o}
   4037     am__minus_obj="-o $am__obj"
   4038     case $depmode in
   4039     gcc)
   4040       # This depmode causes a compiler race in universal mode.
   4041       test "$am__universal" = false || continue
   4042       ;;
   4043     nosideeffect)
   4044       # after this tag, mechanisms are not by side-effect, so they'll
   4045       # only be used when explicitly requested
   4046       if test "x$enable_dependency_tracking" = xyes; then
   4047 	continue
   4048       else
   4049 	break
   4050       fi
   4051       ;;
   4052     msvisualcpp | msvcmsys)
   4053       # This compiler won't grok `-c -o', but also, the minuso test has
   4054       # not run yet.  These depmodes are late enough in the game, and
   4055       # so weak that their functioning should not be impacted.
   4056       am__obj=conftest.${OBJEXT-o}
   4057       am__minus_obj=
   4058       ;;
   4059     none) break ;;
   4060     esac
   4061     if depmode=$depmode \
   4062        source=sub/conftest.c object=$am__obj \
   4063        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4064        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4065          >/dev/null 2>conftest.err &&
   4066        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4067        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4068        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4069        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4070       # icc doesn't choke on unknown options, it will just issue warnings
   4071       # or remarks (even with -Werror).  So we grep stderr for any message
   4072       # that says an option was ignored or not supported.
   4073       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4074       #   icc: Command line warning: ignoring option '-M'; no argument required
   4075       # The diagnosis changed in icc 8.0:
   4076       #   icc: Command line remark: option '-MP' not supported
   4077       if (grep 'ignoring option' conftest.err ||
   4078           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4079         am_cv_CC_dependencies_compiler_type=$depmode
   4080         break
   4081       fi
   4082     fi
   4083   done
   4084 
   4085   cd ..
   4086   rm -rf conftest.dir
   4087 else
   4088   am_cv_CC_dependencies_compiler_type=none
   4089 fi
   4090 
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4093 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4094 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4095 
   4096  if
   4097   test "x$enable_dependency_tracking" != xno \
   4098   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4099   am__fastdepCC_TRUE=
   4100   am__fastdepCC_FALSE='#'
   4101 else
   4102   am__fastdepCC_TRUE='#'
   4103   am__fastdepCC_FALSE=
   4104 fi
   4105 
   4106 
   4107 
   4108 
   4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4110 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4111     # Check whether --enable-maintainer-mode was given.
   4112 if test "${enable_maintainer_mode+set}" = set; then :
   4113   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4114 else
   4115   USE_MAINTAINER_MODE=no
   4116 fi
   4117 
   4118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4119 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4120    if test $USE_MAINTAINER_MODE = yes; then
   4121   MAINTAINER_MODE_TRUE=
   4122   MAINTAINER_MODE_FALSE='#'
   4123 else
   4124   MAINTAINER_MODE_TRUE='#'
   4125   MAINTAINER_MODE_FALSE=
   4126 fi
   4127 
   4128   MAINT=$MAINTAINER_MODE_TRUE
   4129 
   4130 
   4131 
   4132 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4133 
   4134 
   4135 
   4136 
   4137 
   4138 
   4139 
   4140 
   4141 
   4142 
   4143 
   4144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4145 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4146 if ${ac_cv_prog_cc_c99+:} false; then :
   4147   $as_echo_n "(cached) " >&6
   4148 else
   4149   ac_cv_prog_cc_c99=no
   4150 ac_save_CC=$CC
   4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4152 /* end confdefs.h.  */
   4153 #include <stdarg.h>
   4154 #include <stdbool.h>
   4155 #include <stdlib.h>
   4156 #include <wchar.h>
   4157 #include <stdio.h>
   4158 
   4159 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4160 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4161 #define showlist(...) puts (#__VA_ARGS__)
   4162 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4163 static void
   4164 test_varargs_macros (void)
   4165 {
   4166   int x = 1234;
   4167   int y = 5678;
   4168   debug ("Flag");
   4169   debug ("X = %d\n", x);
   4170   showlist (The first, second, and third items.);
   4171   report (x>y, "x is %d but y is %d", x, y);
   4172 }
   4173 
   4174 // Check long long types.
   4175 #define BIG64 18446744073709551615ull
   4176 #define BIG32 4294967295ul
   4177 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4178 #if !BIG_OK
   4179   your preprocessor is broken;
   4180 #endif
   4181 #if BIG_OK
   4182 #else
   4183   your preprocessor is broken;
   4184 #endif
   4185 static long long int bignum = -9223372036854775807LL;
   4186 static unsigned long long int ubignum = BIG64;
   4187 
   4188 struct incomplete_array
   4189 {
   4190   int datasize;
   4191   double data[];
   4192 };
   4193 
   4194 struct named_init {
   4195   int number;
   4196   const wchar_t *name;
   4197   double average;
   4198 };
   4199 
   4200 typedef const char *ccp;
   4201 
   4202 static inline int
   4203 test_restrict (ccp restrict text)
   4204 {
   4205   // See if C++-style comments work.
   4206   // Iterate through items via the restricted pointer.
   4207   // Also check for declarations in for loops.
   4208   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4209     continue;
   4210   return 0;
   4211 }
   4212 
   4213 // Check varargs and va_copy.
   4214 static void
   4215 test_varargs (const char *format, ...)
   4216 {
   4217   va_list args;
   4218   va_start (args, format);
   4219   va_list args_copy;
   4220   va_copy (args_copy, args);
   4221 
   4222   const char *str;
   4223   int number;
   4224   float fnumber;
   4225 
   4226   while (*format)
   4227     {
   4228       switch (*format++)
   4229 	{
   4230 	case 's': // string
   4231 	  str = va_arg (args_copy, const char *);
   4232 	  break;
   4233 	case 'd': // int
   4234 	  number = va_arg (args_copy, int);
   4235 	  break;
   4236 	case 'f': // float
   4237 	  fnumber = va_arg (args_copy, double);
   4238 	  break;
   4239 	default:
   4240 	  break;
   4241 	}
   4242     }
   4243   va_end (args_copy);
   4244   va_end (args);
   4245 }
   4246 
   4247 int
   4248 main ()
   4249 {
   4250 
   4251   // Check bool.
   4252   _Bool success = false;
   4253 
   4254   // Check restrict.
   4255   if (test_restrict ("String literal") == 0)
   4256     success = true;
   4257   char *restrict newvar = "Another string";
   4258 
   4259   // Check varargs.
   4260   test_varargs ("s, d' f .", "string", 65, 34.234);
   4261   test_varargs_macros ();
   4262 
   4263   // Check flexible array members.
   4264   struct incomplete_array *ia =
   4265     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4266   ia->datasize = 10;
   4267   for (int i = 0; i < ia->datasize; ++i)
   4268     ia->data[i] = i * 1.234;
   4269 
   4270   // Check named initializers.
   4271   struct named_init ni = {
   4272     .number = 34,
   4273     .name = L"Test wide string",
   4274     .average = 543.34343,
   4275   };
   4276 
   4277   ni.number = 58;
   4278 
   4279   int dynamic_array[ni.number];
   4280   dynamic_array[ni.number - 1] = 543;
   4281 
   4282   // work around unused variable warnings
   4283   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4284 	  || dynamic_array[ni.number - 1] != 543);
   4285 
   4286   ;
   4287   return 0;
   4288 }
   4289 _ACEOF
   4290 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4291 do
   4292   CC="$ac_save_CC $ac_arg"
   4293   if ac_fn_c_try_compile "$LINENO"; then :
   4294   ac_cv_prog_cc_c99=$ac_arg
   4295 fi
   4296 rm -f core conftest.err conftest.$ac_objext
   4297   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4298 done
   4299 rm -f conftest.$ac_ext
   4300 CC=$ac_save_CC
   4301 
   4302 fi
   4303 # AC_CACHE_VAL
   4304 case "x$ac_cv_prog_cc_c99" in
   4305   x)
   4306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4307 $as_echo "none needed" >&6; } ;;
   4308   xno)
   4309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4310 $as_echo "unsupported" >&6; } ;;
   4311   *)
   4312     CC="$CC $ac_cv_prog_cc_c99"
   4313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4314 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4315 esac
   4316 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4317 
   4318 fi
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4326 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4327   CLANGCC="yes"
   4328 else
   4329   CLANGCC="no"
   4330 fi
   4331 
   4332 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4333 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4334   INTELCC="yes"
   4335 else
   4336   INTELCC="no"
   4337 fi
   4338 
   4339 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4340 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4341   SUNCC="yes"
   4342 else
   4343   SUNCC="no"
   4344 fi
   4345 
   4346 
   4347 
   4348 
   4349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4350 	if test -n "$ac_tool_prefix"; then
   4351   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4352 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4354 $as_echo_n "checking for $ac_word... " >&6; }
   4355 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4356   $as_echo_n "(cached) " >&6
   4357 else
   4358   case $PKG_CONFIG in
   4359   [\\/]* | ?:[\\/]*)
   4360   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4361   ;;
   4362   *)
   4363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4364 for as_dir in $PATH
   4365 do
   4366   IFS=$as_save_IFS
   4367   test -z "$as_dir" && as_dir=.
   4368     for ac_exec_ext in '' $ac_executable_extensions; do
   4369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4370     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4372     break 2
   4373   fi
   4374 done
   4375   done
   4376 IFS=$as_save_IFS
   4377 
   4378   ;;
   4379 esac
   4380 fi
   4381 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4382 if test -n "$PKG_CONFIG"; then
   4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4384 $as_echo "$PKG_CONFIG" >&6; }
   4385 else
   4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4387 $as_echo "no" >&6; }
   4388 fi
   4389 
   4390 
   4391 fi
   4392 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4393   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4394   # Extract the first word of "pkg-config", so it can be a program name with args.
   4395 set dummy pkg-config; ac_word=$2
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4397 $as_echo_n "checking for $ac_word... " >&6; }
   4398 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4399   $as_echo_n "(cached) " >&6
   4400 else
   4401   case $ac_pt_PKG_CONFIG in
   4402   [\\/]* | ?:[\\/]*)
   4403   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4404   ;;
   4405   *)
   4406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4407 for as_dir in $PATH
   4408 do
   4409   IFS=$as_save_IFS
   4410   test -z "$as_dir" && as_dir=.
   4411     for ac_exec_ext in '' $ac_executable_extensions; do
   4412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4413     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4415     break 2
   4416   fi
   4417 done
   4418   done
   4419 IFS=$as_save_IFS
   4420 
   4421   ;;
   4422 esac
   4423 fi
   4424 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4425 if test -n "$ac_pt_PKG_CONFIG"; then
   4426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4427 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4428 else
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4430 $as_echo "no" >&6; }
   4431 fi
   4432 
   4433   if test "x$ac_pt_PKG_CONFIG" = x; then
   4434     PKG_CONFIG=""
   4435   else
   4436     case $cross_compiling:$ac_tool_warned in
   4437 yes:)
   4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4440 ac_tool_warned=yes ;;
   4441 esac
   4442     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4443   fi
   4444 else
   4445   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4446 fi
   4447 
   4448 fi
   4449 if test -n "$PKG_CONFIG"; then
   4450 	_pkg_min_version=0.9.0
   4451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4452 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4453 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4455 $as_echo "yes" >&6; }
   4456 	else
   4457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4458 $as_echo "no" >&6; }
   4459 		PKG_CONFIG=""
   4460 	fi
   4461 
   4462 fi
   4463 # Make sure we can run config.sub.
   4464 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4465   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4466 
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4468 $as_echo_n "checking build system type... " >&6; }
   4469 if ${ac_cv_build+:} false; then :
   4470   $as_echo_n "(cached) " >&6
   4471 else
   4472   ac_build_alias=$build_alias
   4473 test "x$ac_build_alias" = x &&
   4474   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4475 test "x$ac_build_alias" = x &&
   4476   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4477 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4478   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4479 
   4480 fi
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4482 $as_echo "$ac_cv_build" >&6; }
   4483 case $ac_cv_build in
   4484 *-*-*) ;;
   4485 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4486 esac
   4487 build=$ac_cv_build
   4488 ac_save_IFS=$IFS; IFS='-'
   4489 set x $ac_cv_build
   4490 shift
   4491 build_cpu=$1
   4492 build_vendor=$2
   4493 shift; shift
   4494 # Remember, the first character of IFS is used to create $*,
   4495 # except with old shells:
   4496 build_os=$*
   4497 IFS=$ac_save_IFS
   4498 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4499 
   4500 
   4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4502 $as_echo_n "checking host system type... " >&6; }
   4503 if ${ac_cv_host+:} false; then :
   4504   $as_echo_n "(cached) " >&6
   4505 else
   4506   if test "x$host_alias" = x; then
   4507   ac_cv_host=$ac_cv_build
   4508 else
   4509   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4510     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4511 fi
   4512 
   4513 fi
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4515 $as_echo "$ac_cv_host" >&6; }
   4516 case $ac_cv_host in
   4517 *-*-*) ;;
   4518 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4519 esac
   4520 host=$ac_cv_host
   4521 ac_save_IFS=$IFS; IFS='-'
   4522 set x $ac_cv_host
   4523 shift
   4524 host_cpu=$1
   4525 host_vendor=$2
   4526 shift; shift
   4527 # Remember, the first character of IFS is used to create $*,
   4528 # except with old shells:
   4529 host_os=$*
   4530 IFS=$ac_save_IFS
   4531 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4532 
   4533 
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4535 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4536 if ${ac_cv_path_SED+:} false; then :
   4537   $as_echo_n "(cached) " >&6
   4538 else
   4539             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4540      for ac_i in 1 2 3 4 5 6 7; do
   4541        ac_script="$ac_script$as_nl$ac_script"
   4542      done
   4543      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4544      { ac_script=; unset ac_script;}
   4545      if test -z "$SED"; then
   4546   ac_path_SED_found=false
   4547   # Loop through the user's path and test for each of PROGNAME-LIST
   4548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4549 for as_dir in $PATH
   4550 do
   4551   IFS=$as_save_IFS
   4552   test -z "$as_dir" && as_dir=.
   4553     for ac_prog in sed gsed; do
   4554     for ac_exec_ext in '' $ac_executable_extensions; do
   4555       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4556       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4557 # Check for GNU ac_path_SED and select it if it is found.
   4558   # Check for GNU $ac_path_SED
   4559 case `"$ac_path_SED" --version 2>&1` in
   4560 *GNU*)
   4561   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4562 *)
   4563   ac_count=0
   4564   $as_echo_n 0123456789 >"conftest.in"
   4565   while :
   4566   do
   4567     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4568     mv "conftest.tmp" "conftest.in"
   4569     cp "conftest.in" "conftest.nl"
   4570     $as_echo '' >> "conftest.nl"
   4571     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4572     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4573     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4574     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4575       # Best one so far, save it but keep looking for a better one
   4576       ac_cv_path_SED="$ac_path_SED"
   4577       ac_path_SED_max=$ac_count
   4578     fi
   4579     # 10*(2^10) chars as input seems more than enough
   4580     test $ac_count -gt 10 && break
   4581   done
   4582   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4583 esac
   4584 
   4585       $ac_path_SED_found && break 3
   4586     done
   4587   done
   4588   done
   4589 IFS=$as_save_IFS
   4590   if test -z "$ac_cv_path_SED"; then
   4591     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4592   fi
   4593 else
   4594   ac_cv_path_SED=$SED
   4595 fi
   4596 
   4597 fi
   4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4599 $as_echo "$ac_cv_path_SED" >&6; }
   4600  SED="$ac_cv_path_SED"
   4601   rm -f conftest.sed
   4602 
   4603 
   4604 
   4605 
   4606 
   4607 
   4608 # Check whether --enable-selective-werror was given.
   4609 if test "${enable_selective_werror+set}" = set; then :
   4610   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4611 else
   4612   SELECTIVE_WERROR=yes
   4613 fi
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4620 if test "x$SUNCC" = "xyes"; then
   4621     BASE_CFLAGS="-v"
   4622 else
   4623     BASE_CFLAGS=""
   4624 fi
   4625 
   4626 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 xorg_testset_save_CFLAGS="$CFLAGS"
   4639 
   4640 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4643 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4644 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4645   $as_echo_n "(cached) " >&6
   4646 else
   4647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4648 /* end confdefs.h.  */
   4649 int i;
   4650 _ACEOF
   4651 if ac_fn_c_try_compile "$LINENO"; then :
   4652   xorg_cv_compiler_flag_unknown_warning_option=yes
   4653 else
   4654   xorg_cv_compiler_flag_unknown_warning_option=no
   4655 fi
   4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4657 fi
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4659 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4660 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4661 	CFLAGS="$xorg_testset_save_CFLAGS"
   4662 fi
   4663 
   4664 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4665 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4667 	fi
   4668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4670 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4671 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4675 /* end confdefs.h.  */
   4676 int i;
   4677 _ACEOF
   4678 if ac_fn_c_try_compile "$LINENO"; then :
   4679   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4680 else
   4681   xorg_cv_compiler_flag_unused_command_line_argument=no
   4682 fi
   4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4684 fi
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4686 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4687 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4688 	CFLAGS="$xorg_testset_save_CFLAGS"
   4689 fi
   4690 
   4691 found="no"
   4692 
   4693 	if test $found = "no" ; then
   4694 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4696 		fi
   4697 
   4698 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4700 		fi
   4701 
   4702 		CFLAGS="$CFLAGS -Wall"
   4703 
   4704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4705 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4706 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   4707 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4708   $as_echo_n "(cached) " >&6
   4709 else
   4710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4711 /* end confdefs.h.  */
   4712 int i;
   4713 int
   4714 main ()
   4715 {
   4716 
   4717   ;
   4718   return 0;
   4719 }
   4720 _ACEOF
   4721 if ac_fn_c_try_link "$LINENO"; then :
   4722   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4723 else
   4724   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4725 fi
   4726 rm -f core conftest.err conftest.$ac_objext \
   4727     conftest$ac_exeext conftest.$ac_ext
   4728 fi
   4729 
   4730 
   4731 		CFLAGS="$xorg_testset_save_CFLAGS"
   4732 
   4733 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4735 $as_echo "$supported" >&6; }
   4736 		if test "$supported" = "yes" ; then
   4737 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4738 			found="yes"
   4739 		fi
   4740 	fi
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 xorg_testset_save_CFLAGS="$CFLAGS"
   4755 
   4756 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4759 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4760 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4761   $as_echo_n "(cached) " >&6
   4762 else
   4763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4764 /* end confdefs.h.  */
   4765 int i;
   4766 _ACEOF
   4767 if ac_fn_c_try_compile "$LINENO"; then :
   4768   xorg_cv_compiler_flag_unknown_warning_option=yes
   4769 else
   4770   xorg_cv_compiler_flag_unknown_warning_option=no
   4771 fi
   4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4773 fi
   4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4775 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4776 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4777 	CFLAGS="$xorg_testset_save_CFLAGS"
   4778 fi
   4779 
   4780 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4781 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4783 	fi
   4784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4786 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4787 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4788   $as_echo_n "(cached) " >&6
   4789 else
   4790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4791 /* end confdefs.h.  */
   4792 int i;
   4793 _ACEOF
   4794 if ac_fn_c_try_compile "$LINENO"; then :
   4795   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4796 else
   4797   xorg_cv_compiler_flag_unused_command_line_argument=no
   4798 fi
   4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4800 fi
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4802 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4803 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4804 	CFLAGS="$xorg_testset_save_CFLAGS"
   4805 fi
   4806 
   4807 found="no"
   4808 
   4809 	if test $found = "no" ; then
   4810 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4812 		fi
   4813 
   4814 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4816 		fi
   4817 
   4818 		CFLAGS="$CFLAGS -Wpointer-arith"
   4819 
   4820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4821 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4822 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   4823 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4827 /* end confdefs.h.  */
   4828 int i;
   4829 int
   4830 main ()
   4831 {
   4832 
   4833   ;
   4834   return 0;
   4835 }
   4836 _ACEOF
   4837 if ac_fn_c_try_link "$LINENO"; then :
   4838   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4839 else
   4840   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4841 fi
   4842 rm -f core conftest.err conftest.$ac_objext \
   4843     conftest$ac_exeext conftest.$ac_ext
   4844 fi
   4845 
   4846 
   4847 		CFLAGS="$xorg_testset_save_CFLAGS"
   4848 
   4849 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4851 $as_echo "$supported" >&6; }
   4852 		if test "$supported" = "yes" ; then
   4853 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4854 			found="yes"
   4855 		fi
   4856 	fi
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 xorg_testset_save_CFLAGS="$CFLAGS"
   4871 
   4872 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4875 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4876 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4877   $as_echo_n "(cached) " >&6
   4878 else
   4879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4880 /* end confdefs.h.  */
   4881 int i;
   4882 _ACEOF
   4883 if ac_fn_c_try_compile "$LINENO"; then :
   4884   xorg_cv_compiler_flag_unknown_warning_option=yes
   4885 else
   4886   xorg_cv_compiler_flag_unknown_warning_option=no
   4887 fi
   4888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4889 fi
   4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4891 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4892 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4893 	CFLAGS="$xorg_testset_save_CFLAGS"
   4894 fi
   4895 
   4896 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4897 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4899 	fi
   4900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4902 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4903 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4904   $as_echo_n "(cached) " >&6
   4905 else
   4906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4907 /* end confdefs.h.  */
   4908 int i;
   4909 _ACEOF
   4910 if ac_fn_c_try_compile "$LINENO"; then :
   4911   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4912 else
   4913   xorg_cv_compiler_flag_unused_command_line_argument=no
   4914 fi
   4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4916 fi
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4918 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4919 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4920 	CFLAGS="$xorg_testset_save_CFLAGS"
   4921 fi
   4922 
   4923 found="no"
   4924 
   4925 	if test $found = "no" ; then
   4926 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4928 		fi
   4929 
   4930 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4932 		fi
   4933 
   4934 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4935 
   4936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4937 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4938 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   4939 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4940   $as_echo_n "(cached) " >&6
   4941 else
   4942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4943 /* end confdefs.h.  */
   4944 int i;
   4945 int
   4946 main ()
   4947 {
   4948 
   4949   ;
   4950   return 0;
   4951 }
   4952 _ACEOF
   4953 if ac_fn_c_try_link "$LINENO"; then :
   4954   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4955 else
   4956   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4957 fi
   4958 rm -f core conftest.err conftest.$ac_objext \
   4959     conftest$ac_exeext conftest.$ac_ext
   4960 fi
   4961 
   4962 
   4963 		CFLAGS="$xorg_testset_save_CFLAGS"
   4964 
   4965 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4967 $as_echo "$supported" >&6; }
   4968 		if test "$supported" = "yes" ; then
   4969 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4970 			found="yes"
   4971 		fi
   4972 	fi
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 xorg_testset_save_CFLAGS="$CFLAGS"
   4987 
   4988 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4989 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4991 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4992 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4993   $as_echo_n "(cached) " >&6
   4994 else
   4995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4996 /* end confdefs.h.  */
   4997 int i;
   4998 _ACEOF
   4999 if ac_fn_c_try_compile "$LINENO"; then :
   5000   xorg_cv_compiler_flag_unknown_warning_option=yes
   5001 else
   5002   xorg_cv_compiler_flag_unknown_warning_option=no
   5003 fi
   5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5005 fi
   5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5007 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5008 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5009 	CFLAGS="$xorg_testset_save_CFLAGS"
   5010 fi
   5011 
   5012 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5013 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5015 	fi
   5016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5018 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5019 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5020   $as_echo_n "(cached) " >&6
   5021 else
   5022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5023 /* end confdefs.h.  */
   5024 int i;
   5025 _ACEOF
   5026 if ac_fn_c_try_compile "$LINENO"; then :
   5027   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5028 else
   5029   xorg_cv_compiler_flag_unused_command_line_argument=no
   5030 fi
   5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5032 fi
   5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5034 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5035 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5036 	CFLAGS="$xorg_testset_save_CFLAGS"
   5037 fi
   5038 
   5039 found="no"
   5040 
   5041 	if test $found = "no" ; then
   5042 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5044 		fi
   5045 
   5046 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5048 		fi
   5049 
   5050 		CFLAGS="$CFLAGS -Wformat=2"
   5051 
   5052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5053 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5054 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   5055 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5056   $as_echo_n "(cached) " >&6
   5057 else
   5058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5059 /* end confdefs.h.  */
   5060 int i;
   5061 int
   5062 main ()
   5063 {
   5064 
   5065   ;
   5066   return 0;
   5067 }
   5068 _ACEOF
   5069 if ac_fn_c_try_link "$LINENO"; then :
   5070   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5071 else
   5072   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext \
   5075     conftest$ac_exeext conftest.$ac_ext
   5076 fi
   5077 
   5078 
   5079 		CFLAGS="$xorg_testset_save_CFLAGS"
   5080 
   5081 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5083 $as_echo "$supported" >&6; }
   5084 		if test "$supported" = "yes" ; then
   5085 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5086 			found="yes"
   5087 		fi
   5088 	fi
   5089 
   5090 	if test $found = "no" ; then
   5091 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 		fi
   5094 
   5095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5097 		fi
   5098 
   5099 		CFLAGS="$CFLAGS -Wformat"
   5100 
   5101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5102 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5103 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   5104 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   5120 else
   5121   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wformat"
   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_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5158 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5159 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   5168 else
   5169   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   5174 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5175 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5180 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   5185 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5186 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   5195 else
   5196   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   5201 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5202 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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_unknown_warning_option" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5211 		fi
   5212 
   5213 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5215 		fi
   5216 
   5217 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5218 
   5219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5220 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5221 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   5222 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   5238 else
   5239   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wstrict-prototypes"
   5253 			found="yes"
   5254 		fi
   5255 	fi
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 xorg_testset_save_CFLAGS="$CFLAGS"
   5270 
   5271 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5274 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5275 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5279 /* end confdefs.h.  */
   5280 int i;
   5281 _ACEOF
   5282 if ac_fn_c_try_compile "$LINENO"; then :
   5283   xorg_cv_compiler_flag_unknown_warning_option=yes
   5284 else
   5285   xorg_cv_compiler_flag_unknown_warning_option=no
   5286 fi
   5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5288 fi
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5290 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5291 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5292 	CFLAGS="$xorg_testset_save_CFLAGS"
   5293 fi
   5294 
   5295 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5296 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5298 	fi
   5299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5301 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5302 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5303   $as_echo_n "(cached) " >&6
   5304 else
   5305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5306 /* end confdefs.h.  */
   5307 int i;
   5308 _ACEOF
   5309 if ac_fn_c_try_compile "$LINENO"; then :
   5310   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5311 else
   5312   xorg_cv_compiler_flag_unused_command_line_argument=no
   5313 fi
   5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5315 fi
   5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5317 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5318 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5319 	CFLAGS="$xorg_testset_save_CFLAGS"
   5320 fi
   5321 
   5322 found="no"
   5323 
   5324 	if test $found = "no" ; then
   5325 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5327 		fi
   5328 
   5329 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5331 		fi
   5332 
   5333 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5334 
   5335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5336 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5337 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   5338 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5342 /* end confdefs.h.  */
   5343 int i;
   5344 int
   5345 main ()
   5346 {
   5347 
   5348   ;
   5349   return 0;
   5350 }
   5351 _ACEOF
   5352 if ac_fn_c_try_link "$LINENO"; then :
   5353   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5354 else
   5355   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5356 fi
   5357 rm -f core conftest.err conftest.$ac_objext \
   5358     conftest$ac_exeext conftest.$ac_ext
   5359 fi
   5360 
   5361 
   5362 		CFLAGS="$xorg_testset_save_CFLAGS"
   5363 
   5364 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5366 $as_echo "$supported" >&6; }
   5367 		if test "$supported" = "yes" ; then
   5368 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5369 			found="yes"
   5370 		fi
   5371 	fi
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 xorg_testset_save_CFLAGS="$CFLAGS"
   5386 
   5387 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5390 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5391 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5392   $as_echo_n "(cached) " >&6
   5393 else
   5394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 _ACEOF
   5398 if ac_fn_c_try_compile "$LINENO"; then :
   5399   xorg_cv_compiler_flag_unknown_warning_option=yes
   5400 else
   5401   xorg_cv_compiler_flag_unknown_warning_option=no
   5402 fi
   5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5404 fi
   5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5406 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5407 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5408 	CFLAGS="$xorg_testset_save_CFLAGS"
   5409 fi
   5410 
   5411 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5412 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5414 	fi
   5415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5417 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5418 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"; then :
   5426   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5427 else
   5428   xorg_cv_compiler_flag_unused_command_line_argument=no
   5429 fi
   5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5431 fi
   5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5433 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5434 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5435 	CFLAGS="$xorg_testset_save_CFLAGS"
   5436 fi
   5437 
   5438 found="no"
   5439 
   5440 	if test $found = "no" ; then
   5441 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5443 		fi
   5444 
   5445 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5447 		fi
   5448 
   5449 		CFLAGS="$CFLAGS -Wnested-externs"
   5450 
   5451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5452 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5453 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   5454 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5455   $as_echo_n "(cached) " >&6
   5456 else
   5457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5458 /* end confdefs.h.  */
   5459 int i;
   5460 int
   5461 main ()
   5462 {
   5463 
   5464   ;
   5465   return 0;
   5466 }
   5467 _ACEOF
   5468 if ac_fn_c_try_link "$LINENO"; then :
   5469   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5470 else
   5471   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5472 fi
   5473 rm -f core conftest.err conftest.$ac_objext \
   5474     conftest$ac_exeext conftest.$ac_ext
   5475 fi
   5476 
   5477 
   5478 		CFLAGS="$xorg_testset_save_CFLAGS"
   5479 
   5480 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5482 $as_echo "$supported" >&6; }
   5483 		if test "$supported" = "yes" ; then
   5484 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5485 			found="yes"
   5486 		fi
   5487 	fi
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 xorg_testset_save_CFLAGS="$CFLAGS"
   5502 
   5503 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5506 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5507 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5508   $as_echo_n "(cached) " >&6
   5509 else
   5510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 int i;
   5513 _ACEOF
   5514 if ac_fn_c_try_compile "$LINENO"; then :
   5515   xorg_cv_compiler_flag_unknown_warning_option=yes
   5516 else
   5517   xorg_cv_compiler_flag_unknown_warning_option=no
   5518 fi
   5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5520 fi
   5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5522 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5523 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5524 	CFLAGS="$xorg_testset_save_CFLAGS"
   5525 fi
   5526 
   5527 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5528 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	fi
   5531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5533 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5534 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5538 /* end confdefs.h.  */
   5539 int i;
   5540 _ACEOF
   5541 if ac_fn_c_try_compile "$LINENO"; then :
   5542   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5543 else
   5544   xorg_cv_compiler_flag_unused_command_line_argument=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5547 fi
   5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5549 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5550 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5551 	CFLAGS="$xorg_testset_save_CFLAGS"
   5552 fi
   5553 
   5554 found="no"
   5555 
   5556 	if test $found = "no" ; then
   5557 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 		fi
   5560 
   5561 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5563 		fi
   5564 
   5565 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5566 
   5567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5568 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5569 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   5570 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5574 /* end confdefs.h.  */
   5575 int i;
   5576 int
   5577 main ()
   5578 {
   5579 
   5580   ;
   5581   return 0;
   5582 }
   5583 _ACEOF
   5584 if ac_fn_c_try_link "$LINENO"; then :
   5585   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5586 else
   5587   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext \
   5590     conftest$ac_exeext conftest.$ac_ext
   5591 fi
   5592 
   5593 
   5594 		CFLAGS="$xorg_testset_save_CFLAGS"
   5595 
   5596 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5598 $as_echo "$supported" >&6; }
   5599 		if test "$supported" = "yes" ; then
   5600 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5601 			found="yes"
   5602 		fi
   5603 	fi
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 xorg_testset_save_CFLAGS="$CFLAGS"
   5618 
   5619 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5622 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5623 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5627 /* end confdefs.h.  */
   5628 int i;
   5629 _ACEOF
   5630 if ac_fn_c_try_compile "$LINENO"; then :
   5631   xorg_cv_compiler_flag_unknown_warning_option=yes
   5632 else
   5633   xorg_cv_compiler_flag_unknown_warning_option=no
   5634 fi
   5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5636 fi
   5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5638 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5639 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5640 	CFLAGS="$xorg_testset_save_CFLAGS"
   5641 fi
   5642 
   5643 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5644 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5646 	fi
   5647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5649 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5650 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"; then :
   5658   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5659 else
   5660   xorg_cv_compiler_flag_unused_command_line_argument=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5663 fi
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5665 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5666 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 found="no"
   5671 
   5672 	if test $found = "no" ; then
   5673 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5675 		fi
   5676 
   5677 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5679 		fi
   5680 
   5681 		CFLAGS="$CFLAGS -Wold-style-definition"
   5682 
   5683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5684 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5685 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   5686 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 int
   5693 main ()
   5694 {
   5695 
   5696   ;
   5697   return 0;
   5698 }
   5699 _ACEOF
   5700 if ac_fn_c_try_link "$LINENO"; then :
   5701   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5702 else
   5703   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5704 fi
   5705 rm -f core conftest.err conftest.$ac_objext \
   5706     conftest$ac_exeext conftest.$ac_ext
   5707 fi
   5708 
   5709 
   5710 		CFLAGS="$xorg_testset_save_CFLAGS"
   5711 
   5712 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5714 $as_echo "$supported" >&6; }
   5715 		if test "$supported" = "yes" ; then
   5716 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5717 			found="yes"
   5718 		fi
   5719 	fi
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 xorg_testset_save_CFLAGS="$CFLAGS"
   5734 
   5735 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5738 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5739 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5743 /* end confdefs.h.  */
   5744 int i;
   5745 _ACEOF
   5746 if ac_fn_c_try_compile "$LINENO"; then :
   5747   xorg_cv_compiler_flag_unknown_warning_option=yes
   5748 else
   5749   xorg_cv_compiler_flag_unknown_warning_option=no
   5750 fi
   5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5752 fi
   5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5754 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5755 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5756 	CFLAGS="$xorg_testset_save_CFLAGS"
   5757 fi
   5758 
   5759 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5760 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5761 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5762 	fi
   5763 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5765 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5766 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5767   $as_echo_n "(cached) " >&6
   5768 else
   5769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5770 /* end confdefs.h.  */
   5771 int i;
   5772 _ACEOF
   5773 if ac_fn_c_try_compile "$LINENO"; then :
   5774   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5775 else
   5776   xorg_cv_compiler_flag_unused_command_line_argument=no
   5777 fi
   5778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5779 fi
   5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5781 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5782 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5783 	CFLAGS="$xorg_testset_save_CFLAGS"
   5784 fi
   5785 
   5786 found="no"
   5787 
   5788 	if test $found = "no" ; then
   5789 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 		fi
   5792 
   5793 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5795 		fi
   5796 
   5797 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5798 
   5799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5800 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5801 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   5802 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5803   $as_echo_n "(cached) " >&6
   5804 else
   5805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5806 /* end confdefs.h.  */
   5807 int i;
   5808 int
   5809 main ()
   5810 {
   5811 
   5812   ;
   5813   return 0;
   5814 }
   5815 _ACEOF
   5816 if ac_fn_c_try_link "$LINENO"; then :
   5817   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5818 else
   5819   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5820 fi
   5821 rm -f core conftest.err conftest.$ac_objext \
   5822     conftest$ac_exeext conftest.$ac_ext
   5823 fi
   5824 
   5825 
   5826 		CFLAGS="$xorg_testset_save_CFLAGS"
   5827 
   5828 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5830 $as_echo "$supported" >&6; }
   5831 		if test "$supported" = "yes" ; then
   5832 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5833 			found="yes"
   5834 		fi
   5835 	fi
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 # This chunk adds additional warnings that could catch undesired effects.
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 xorg_testset_save_CFLAGS="$CFLAGS"
   5854 
   5855 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5858 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5859 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5860   $as_echo_n "(cached) " >&6
   5861 else
   5862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 _ACEOF
   5866 if ac_fn_c_try_compile "$LINENO"; then :
   5867   xorg_cv_compiler_flag_unknown_warning_option=yes
   5868 else
   5869   xorg_cv_compiler_flag_unknown_warning_option=no
   5870 fi
   5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5872 fi
   5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5874 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5875 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5876 	CFLAGS="$xorg_testset_save_CFLAGS"
   5877 fi
   5878 
   5879 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5880 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5882 	fi
   5883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5885 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5886 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5890 /* end confdefs.h.  */
   5891 int i;
   5892 _ACEOF
   5893 if ac_fn_c_try_compile "$LINENO"; then :
   5894   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5895 else
   5896   xorg_cv_compiler_flag_unused_command_line_argument=no
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5899 fi
   5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5901 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5902 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5903 	CFLAGS="$xorg_testset_save_CFLAGS"
   5904 fi
   5905 
   5906 found="no"
   5907 
   5908 	if test $found = "no" ; then
   5909 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5911 		fi
   5912 
   5913 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5915 		fi
   5916 
   5917 		CFLAGS="$CFLAGS -Wunused"
   5918 
   5919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5920 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5921 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   5922 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 int
   5929 main ()
   5930 {
   5931 
   5932   ;
   5933   return 0;
   5934 }
   5935 _ACEOF
   5936 if ac_fn_c_try_link "$LINENO"; then :
   5937   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5938 else
   5939   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5940 fi
   5941 rm -f core conftest.err conftest.$ac_objext \
   5942     conftest$ac_exeext conftest.$ac_ext
   5943 fi
   5944 
   5945 
   5946 		CFLAGS="$xorg_testset_save_CFLAGS"
   5947 
   5948 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5950 $as_echo "$supported" >&6; }
   5951 		if test "$supported" = "yes" ; then
   5952 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5953 			found="yes"
   5954 		fi
   5955 	fi
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 xorg_testset_save_CFLAGS="$CFLAGS"
   5970 
   5971 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5974 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5975 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 _ACEOF
   5982 if ac_fn_c_try_compile "$LINENO"; then :
   5983   xorg_cv_compiler_flag_unknown_warning_option=yes
   5984 else
   5985   xorg_cv_compiler_flag_unknown_warning_option=no
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5988 fi
   5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5990 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5991 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5992 	CFLAGS="$xorg_testset_save_CFLAGS"
   5993 fi
   5994 
   5995 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5996 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5998 	fi
   5999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6001 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6002 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6003   $as_echo_n "(cached) " >&6
   6004 else
   6005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6006 /* end confdefs.h.  */
   6007 int i;
   6008 _ACEOF
   6009 if ac_fn_c_try_compile "$LINENO"; then :
   6010   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6011 else
   6012   xorg_cv_compiler_flag_unused_command_line_argument=no
   6013 fi
   6014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6015 fi
   6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6017 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6018 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6019 	CFLAGS="$xorg_testset_save_CFLAGS"
   6020 fi
   6021 
   6022 found="no"
   6023 
   6024 	if test $found = "no" ; then
   6025 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6027 		fi
   6028 
   6029 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6031 		fi
   6032 
   6033 		CFLAGS="$CFLAGS -Wuninitialized"
   6034 
   6035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6036 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6037 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   6038 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6039   $as_echo_n "(cached) " >&6
   6040 else
   6041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6042 /* end confdefs.h.  */
   6043 int i;
   6044 int
   6045 main ()
   6046 {
   6047 
   6048   ;
   6049   return 0;
   6050 }
   6051 _ACEOF
   6052 if ac_fn_c_try_link "$LINENO"; then :
   6053   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6054 else
   6055   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6056 fi
   6057 rm -f core conftest.err conftest.$ac_objext \
   6058     conftest$ac_exeext conftest.$ac_ext
   6059 fi
   6060 
   6061 
   6062 		CFLAGS="$xorg_testset_save_CFLAGS"
   6063 
   6064 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6066 $as_echo "$supported" >&6; }
   6067 		if test "$supported" = "yes" ; then
   6068 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6069 			found="yes"
   6070 		fi
   6071 	fi
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 xorg_testset_save_CFLAGS="$CFLAGS"
   6086 
   6087 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6090 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6091 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6092   $as_echo_n "(cached) " >&6
   6093 else
   6094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6095 /* end confdefs.h.  */
   6096 int i;
   6097 _ACEOF
   6098 if ac_fn_c_try_compile "$LINENO"; then :
   6099   xorg_cv_compiler_flag_unknown_warning_option=yes
   6100 else
   6101   xorg_cv_compiler_flag_unknown_warning_option=no
   6102 fi
   6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6104 fi
   6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6106 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6107 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6108 	CFLAGS="$xorg_testset_save_CFLAGS"
   6109 fi
   6110 
   6111 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6112 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 	fi
   6115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6117 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6118 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6119   $as_echo_n "(cached) " >&6
   6120 else
   6121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6122 /* end confdefs.h.  */
   6123 int i;
   6124 _ACEOF
   6125 if ac_fn_c_try_compile "$LINENO"; then :
   6126   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6127 else
   6128   xorg_cv_compiler_flag_unused_command_line_argument=no
   6129 fi
   6130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6131 fi
   6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6133 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6134 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6135 	CFLAGS="$xorg_testset_save_CFLAGS"
   6136 fi
   6137 
   6138 found="no"
   6139 
   6140 	if test $found = "no" ; then
   6141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6143 		fi
   6144 
   6145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6147 		fi
   6148 
   6149 		CFLAGS="$CFLAGS -Wshadow"
   6150 
   6151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6152 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6153 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   6154 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6158 /* end confdefs.h.  */
   6159 int i;
   6160 int
   6161 main ()
   6162 {
   6163 
   6164   ;
   6165   return 0;
   6166 }
   6167 _ACEOF
   6168 if ac_fn_c_try_link "$LINENO"; then :
   6169   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6170 else
   6171   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6172 fi
   6173 rm -f core conftest.err conftest.$ac_objext \
   6174     conftest$ac_exeext conftest.$ac_ext
   6175 fi
   6176 
   6177 
   6178 		CFLAGS="$xorg_testset_save_CFLAGS"
   6179 
   6180 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6182 $as_echo "$supported" >&6; }
   6183 		if test "$supported" = "yes" ; then
   6184 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6185 			found="yes"
   6186 		fi
   6187 	fi
   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_unknown_warning_option" = "x" ; then
   6204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6206 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6207 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   6216 else
   6217   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   6222 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6223 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6228 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   6233 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6234 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   6243 else
   6244   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   6249 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6250 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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_unknown_warning_option" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 		fi
   6260 
   6261 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6263 		fi
   6264 
   6265 		CFLAGS="$CFLAGS -Wcast-qual"
   6266 
   6267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6268 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6269 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   6270 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   6286 else
   6287   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wcast-qual"
   6301 			found="yes"
   6302 		fi
   6303 	fi
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 xorg_testset_save_CFLAGS="$CFLAGS"
   6318 
   6319 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6322 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6323 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6324   $as_echo_n "(cached) " >&6
   6325 else
   6326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 _ACEOF
   6330 if ac_fn_c_try_compile "$LINENO"; then :
   6331   xorg_cv_compiler_flag_unknown_warning_option=yes
   6332 else
   6333   xorg_cv_compiler_flag_unknown_warning_option=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6336 fi
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6338 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6339 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6340 	CFLAGS="$xorg_testset_save_CFLAGS"
   6341 fi
   6342 
   6343 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6344 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 	fi
   6347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6349 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6350 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6351   $as_echo_n "(cached) " >&6
   6352 else
   6353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6354 /* end confdefs.h.  */
   6355 int i;
   6356 _ACEOF
   6357 if ac_fn_c_try_compile "$LINENO"; then :
   6358   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6359 else
   6360   xorg_cv_compiler_flag_unused_command_line_argument=no
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6363 fi
   6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6365 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6366 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6367 	CFLAGS="$xorg_testset_save_CFLAGS"
   6368 fi
   6369 
   6370 found="no"
   6371 
   6372 	if test $found = "no" ; then
   6373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6375 		fi
   6376 
   6377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6379 		fi
   6380 
   6381 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6382 
   6383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6384 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6385 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   6386 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6390 /* end confdefs.h.  */
   6391 int i;
   6392 int
   6393 main ()
   6394 {
   6395 
   6396   ;
   6397   return 0;
   6398 }
   6399 _ACEOF
   6400 if ac_fn_c_try_link "$LINENO"; then :
   6401   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6402 else
   6403   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6404 fi
   6405 rm -f core conftest.err conftest.$ac_objext \
   6406     conftest$ac_exeext conftest.$ac_ext
   6407 fi
   6408 
   6409 
   6410 		CFLAGS="$xorg_testset_save_CFLAGS"
   6411 
   6412 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6414 $as_echo "$supported" >&6; }
   6415 		if test "$supported" = "yes" ; then
   6416 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6417 			found="yes"
   6418 		fi
   6419 	fi
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 xorg_testset_save_CFLAGS="$CFLAGS"
   6434 
   6435 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6438 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6439 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 _ACEOF
   6446 if ac_fn_c_try_compile "$LINENO"; then :
   6447   xorg_cv_compiler_flag_unknown_warning_option=yes
   6448 else
   6449   xorg_cv_compiler_flag_unknown_warning_option=no
   6450 fi
   6451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6452 fi
   6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6454 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6455 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6456 	CFLAGS="$xorg_testset_save_CFLAGS"
   6457 fi
   6458 
   6459 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6460 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6462 	fi
   6463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6465 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6466 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6467   $as_echo_n "(cached) " >&6
   6468 else
   6469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 _ACEOF
   6473 if ac_fn_c_try_compile "$LINENO"; then :
   6474   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6475 else
   6476   xorg_cv_compiler_flag_unused_command_line_argument=no
   6477 fi
   6478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6479 fi
   6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6481 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6482 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6483 	CFLAGS="$xorg_testset_save_CFLAGS"
   6484 fi
   6485 
   6486 found="no"
   6487 
   6488 	if test $found = "no" ; then
   6489 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6491 		fi
   6492 
   6493 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6495 		fi
   6496 
   6497 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6498 
   6499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6500 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6501 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   6502 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 int
   6509 main ()
   6510 {
   6511 
   6512   ;
   6513   return 0;
   6514 }
   6515 _ACEOF
   6516 if ac_fn_c_try_link "$LINENO"; then :
   6517   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6518 else
   6519   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6520 fi
   6521 rm -f core conftest.err conftest.$ac_objext \
   6522     conftest$ac_exeext conftest.$ac_ext
   6523 fi
   6524 
   6525 
   6526 		CFLAGS="$xorg_testset_save_CFLAGS"
   6527 
   6528 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6530 $as_echo "$supported" >&6; }
   6531 		if test "$supported" = "yes" ; then
   6532 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6533 			found="yes"
   6534 		fi
   6535 	fi
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 xorg_testset_save_CFLAGS="$CFLAGS"
   6550 
   6551 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6554 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6555 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6556   $as_echo_n "(cached) " >&6
   6557 else
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"; then :
   6563   xorg_cv_compiler_flag_unknown_warning_option=yes
   6564 else
   6565   xorg_cv_compiler_flag_unknown_warning_option=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6568 fi
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6570 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6571 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6576 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	fi
   6579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6581 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6582 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6583   $as_echo_n "(cached) " >&6
   6584 else
   6585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6586 /* end confdefs.h.  */
   6587 int i;
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"; then :
   6590   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6591 else
   6592   xorg_cv_compiler_flag_unused_command_line_argument=no
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6595 fi
   6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6597 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6598 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6599 	CFLAGS="$xorg_testset_save_CFLAGS"
   6600 fi
   6601 
   6602 found="no"
   6603 
   6604 	if test $found = "no" ; then
   6605 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 		fi
   6608 
   6609 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6611 		fi
   6612 
   6613 		CFLAGS="$CFLAGS -Wredundant-decls"
   6614 
   6615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6616 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6617 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   6618 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6622 /* end confdefs.h.  */
   6623 int i;
   6624 int
   6625 main ()
   6626 {
   6627 
   6628   ;
   6629   return 0;
   6630 }
   6631 _ACEOF
   6632 if ac_fn_c_try_link "$LINENO"; then :
   6633   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6634 else
   6635   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6636 fi
   6637 rm -f core conftest.err conftest.$ac_objext \
   6638     conftest$ac_exeext conftest.$ac_ext
   6639 fi
   6640 
   6641 
   6642 		CFLAGS="$xorg_testset_save_CFLAGS"
   6643 
   6644 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6646 $as_echo "$supported" >&6; }
   6647 		if test "$supported" = "yes" ; then
   6648 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6649 			found="yes"
   6650 		fi
   6651 	fi
   6652 
   6653 
   6654 
   6655 # These are currently disabled because they are noisy.  They will be enabled
   6656 # in the future once the codebase is sufficiently modernized to silence
   6657 # them.  For now, I don't want them to drown out the other warnings.
   6658 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6659 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6660 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6661 
   6662 # Turn some warnings into errors, so we don't accidently get successful builds
   6663 # when there are problems that should be fixed.
   6664 
   6665 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 xorg_testset_save_CFLAGS="$CFLAGS"
   6678 
   6679 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6682 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6683 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 _ACEOF
   6690 if ac_fn_c_try_compile "$LINENO"; then :
   6691   xorg_cv_compiler_flag_unknown_warning_option=yes
   6692 else
   6693   xorg_cv_compiler_flag_unknown_warning_option=no
   6694 fi
   6695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6696 fi
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6698 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6699 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6700 	CFLAGS="$xorg_testset_save_CFLAGS"
   6701 fi
   6702 
   6703 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6704 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 	fi
   6707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6709 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6710 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6714 /* end confdefs.h.  */
   6715 int i;
   6716 _ACEOF
   6717 if ac_fn_c_try_compile "$LINENO"; then :
   6718   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6719 else
   6720   xorg_cv_compiler_flag_unused_command_line_argument=no
   6721 fi
   6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6723 fi
   6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6725 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6726 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6727 	CFLAGS="$xorg_testset_save_CFLAGS"
   6728 fi
   6729 
   6730 found="no"
   6731 
   6732 	if test $found = "no" ; then
   6733 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 		fi
   6736 
   6737 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6739 		fi
   6740 
   6741 		CFLAGS="$CFLAGS -Werror=implicit"
   6742 
   6743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6744 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6745 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   6746 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6747   $as_echo_n "(cached) " >&6
   6748 else
   6749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6750 /* end confdefs.h.  */
   6751 int i;
   6752 int
   6753 main ()
   6754 {
   6755 
   6756   ;
   6757   return 0;
   6758 }
   6759 _ACEOF
   6760 if ac_fn_c_try_link "$LINENO"; then :
   6761   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6762 else
   6763   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext \
   6766     conftest$ac_exeext conftest.$ac_ext
   6767 fi
   6768 
   6769 
   6770 		CFLAGS="$xorg_testset_save_CFLAGS"
   6771 
   6772 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6774 $as_echo "$supported" >&6; }
   6775 		if test "$supported" = "yes" ; then
   6776 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6777 			found="yes"
   6778 		fi
   6779 	fi
   6780 
   6781 	if test $found = "no" ; then
   6782 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 		fi
   6785 
   6786 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6788 		fi
   6789 
   6790 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6791 
   6792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6793 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6794 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   6795 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 int i;
   6801 int
   6802 main ()
   6803 {
   6804 
   6805   ;
   6806   return 0;
   6807 }
   6808 _ACEOF
   6809 if ac_fn_c_try_link "$LINENO"; then :
   6810   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6811 else
   6812   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext \
   6815     conftest$ac_exeext conftest.$ac_ext
   6816 fi
   6817 
   6818 
   6819 		CFLAGS="$xorg_testset_save_CFLAGS"
   6820 
   6821 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6823 $as_echo "$supported" >&6; }
   6824 		if test "$supported" = "yes" ; then
   6825 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6826 			found="yes"
   6827 		fi
   6828 	fi
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 xorg_testset_save_CFLAGS="$CFLAGS"
   6843 
   6844 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6847 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6848 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6849   $as_echo_n "(cached) " >&6
   6850 else
   6851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6852 /* end confdefs.h.  */
   6853 int i;
   6854 _ACEOF
   6855 if ac_fn_c_try_compile "$LINENO"; then :
   6856   xorg_cv_compiler_flag_unknown_warning_option=yes
   6857 else
   6858   xorg_cv_compiler_flag_unknown_warning_option=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6861 fi
   6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6863 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6864 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6865 	CFLAGS="$xorg_testset_save_CFLAGS"
   6866 fi
   6867 
   6868 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6869 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6871 	fi
   6872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6874 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6875 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6876   $as_echo_n "(cached) " >&6
   6877 else
   6878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6879 /* end confdefs.h.  */
   6880 int i;
   6881 _ACEOF
   6882 if ac_fn_c_try_compile "$LINENO"; then :
   6883   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6884 else
   6885   xorg_cv_compiler_flag_unused_command_line_argument=no
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6888 fi
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6890 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6891 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6892 	CFLAGS="$xorg_testset_save_CFLAGS"
   6893 fi
   6894 
   6895 found="no"
   6896 
   6897 	if test $found = "no" ; then
   6898 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6900 		fi
   6901 
   6902 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6904 		fi
   6905 
   6906 		CFLAGS="$CFLAGS -Werror=nonnull"
   6907 
   6908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6909 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6910 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   6911 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6915 /* end confdefs.h.  */
   6916 int i;
   6917 int
   6918 main ()
   6919 {
   6920 
   6921   ;
   6922   return 0;
   6923 }
   6924 _ACEOF
   6925 if ac_fn_c_try_link "$LINENO"; then :
   6926   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6927 else
   6928   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6929 fi
   6930 rm -f core conftest.err conftest.$ac_objext \
   6931     conftest$ac_exeext conftest.$ac_ext
   6932 fi
   6933 
   6934 
   6935 		CFLAGS="$xorg_testset_save_CFLAGS"
   6936 
   6937 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6939 $as_echo "$supported" >&6; }
   6940 		if test "$supported" = "yes" ; then
   6941 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6942 			found="yes"
   6943 		fi
   6944 	fi
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 xorg_testset_save_CFLAGS="$CFLAGS"
   6959 
   6960 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6963 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6964 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6965   $as_echo_n "(cached) " >&6
   6966 else
   6967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6968 /* end confdefs.h.  */
   6969 int i;
   6970 _ACEOF
   6971 if ac_fn_c_try_compile "$LINENO"; then :
   6972   xorg_cv_compiler_flag_unknown_warning_option=yes
   6973 else
   6974   xorg_cv_compiler_flag_unknown_warning_option=no
   6975 fi
   6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6977 fi
   6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6979 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6980 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6981 	CFLAGS="$xorg_testset_save_CFLAGS"
   6982 fi
   6983 
   6984 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6985 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 	fi
   6988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6990 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6991 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6992   $as_echo_n "(cached) " >&6
   6993 else
   6994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 int i;
   6997 _ACEOF
   6998 if ac_fn_c_try_compile "$LINENO"; then :
   6999   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7000 else
   7001   xorg_cv_compiler_flag_unused_command_line_argument=no
   7002 fi
   7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7004 fi
   7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7006 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7007 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7008 	CFLAGS="$xorg_testset_save_CFLAGS"
   7009 fi
   7010 
   7011 found="no"
   7012 
   7013 	if test $found = "no" ; then
   7014 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 		fi
   7017 
   7018 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7020 		fi
   7021 
   7022 		CFLAGS="$CFLAGS -Werror=init-self"
   7023 
   7024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7025 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7026 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   7027 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7031 /* end confdefs.h.  */
   7032 int i;
   7033 int
   7034 main ()
   7035 {
   7036 
   7037   ;
   7038   return 0;
   7039 }
   7040 _ACEOF
   7041 if ac_fn_c_try_link "$LINENO"; then :
   7042   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7043 else
   7044   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7045 fi
   7046 rm -f core conftest.err conftest.$ac_objext \
   7047     conftest$ac_exeext conftest.$ac_ext
   7048 fi
   7049 
   7050 
   7051 		CFLAGS="$xorg_testset_save_CFLAGS"
   7052 
   7053 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7055 $as_echo "$supported" >&6; }
   7056 		if test "$supported" = "yes" ; then
   7057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7058 			found="yes"
   7059 		fi
   7060 	fi
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 xorg_testset_save_CFLAGS="$CFLAGS"
   7075 
   7076 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7079 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7080 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 _ACEOF
   7087 if ac_fn_c_try_compile "$LINENO"; then :
   7088   xorg_cv_compiler_flag_unknown_warning_option=yes
   7089 else
   7090   xorg_cv_compiler_flag_unknown_warning_option=no
   7091 fi
   7092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7093 fi
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7095 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7096 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7097 	CFLAGS="$xorg_testset_save_CFLAGS"
   7098 fi
   7099 
   7100 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7101 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7103 	fi
   7104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7106 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7107 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7108   $as_echo_n "(cached) " >&6
   7109 else
   7110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7111 /* end confdefs.h.  */
   7112 int i;
   7113 _ACEOF
   7114 if ac_fn_c_try_compile "$LINENO"; then :
   7115   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7116 else
   7117   xorg_cv_compiler_flag_unused_command_line_argument=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7120 fi
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7122 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7123 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7124 	CFLAGS="$xorg_testset_save_CFLAGS"
   7125 fi
   7126 
   7127 found="no"
   7128 
   7129 	if test $found = "no" ; then
   7130 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7132 		fi
   7133 
   7134 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7136 		fi
   7137 
   7138 		CFLAGS="$CFLAGS -Werror=main"
   7139 
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7141 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7142 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   7143 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7144   $as_echo_n "(cached) " >&6
   7145 else
   7146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7147 /* end confdefs.h.  */
   7148 int i;
   7149 int
   7150 main ()
   7151 {
   7152 
   7153   ;
   7154   return 0;
   7155 }
   7156 _ACEOF
   7157 if ac_fn_c_try_link "$LINENO"; then :
   7158   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7159 else
   7160   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7161 fi
   7162 rm -f core conftest.err conftest.$ac_objext \
   7163     conftest$ac_exeext conftest.$ac_ext
   7164 fi
   7165 
   7166 
   7167 		CFLAGS="$xorg_testset_save_CFLAGS"
   7168 
   7169 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7171 $as_echo "$supported" >&6; }
   7172 		if test "$supported" = "yes" ; then
   7173 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7174 			found="yes"
   7175 		fi
   7176 	fi
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 xorg_testset_save_CFLAGS="$CFLAGS"
   7191 
   7192 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7195 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7196 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7200 /* end confdefs.h.  */
   7201 int i;
   7202 _ACEOF
   7203 if ac_fn_c_try_compile "$LINENO"; then :
   7204   xorg_cv_compiler_flag_unknown_warning_option=yes
   7205 else
   7206   xorg_cv_compiler_flag_unknown_warning_option=no
   7207 fi
   7208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7209 fi
   7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7211 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7212 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7213 	CFLAGS="$xorg_testset_save_CFLAGS"
   7214 fi
   7215 
   7216 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7217 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7219 	fi
   7220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7222 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7223 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 int i;
   7229 _ACEOF
   7230 if ac_fn_c_try_compile "$LINENO"; then :
   7231   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7232 else
   7233   xorg_cv_compiler_flag_unused_command_line_argument=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7236 fi
   7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7238 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7239 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 found="no"
   7244 
   7245 	if test $found = "no" ; then
   7246 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 		fi
   7249 
   7250 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7252 		fi
   7253 
   7254 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7255 
   7256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7257 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7258 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   7259 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7260   $as_echo_n "(cached) " >&6
   7261 else
   7262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 int
   7266 main ()
   7267 {
   7268 
   7269   ;
   7270   return 0;
   7271 }
   7272 _ACEOF
   7273 if ac_fn_c_try_link "$LINENO"; then :
   7274   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7275 else
   7276   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7277 fi
   7278 rm -f core conftest.err conftest.$ac_objext \
   7279     conftest$ac_exeext conftest.$ac_ext
   7280 fi
   7281 
   7282 
   7283 		CFLAGS="$xorg_testset_save_CFLAGS"
   7284 
   7285 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7287 $as_echo "$supported" >&6; }
   7288 		if test "$supported" = "yes" ; then
   7289 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7290 			found="yes"
   7291 		fi
   7292 	fi
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 xorg_testset_save_CFLAGS="$CFLAGS"
   7307 
   7308 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7311 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7312 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"; then :
   7320   xorg_cv_compiler_flag_unknown_warning_option=yes
   7321 else
   7322   xorg_cv_compiler_flag_unknown_warning_option=no
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7325 fi
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7327 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7328 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7333 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	fi
   7336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7338 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7339 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7340   $as_echo_n "(cached) " >&6
   7341 else
   7342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7343 /* end confdefs.h.  */
   7344 int i;
   7345 _ACEOF
   7346 if ac_fn_c_try_compile "$LINENO"; then :
   7347   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7348 else
   7349   xorg_cv_compiler_flag_unused_command_line_argument=no
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7352 fi
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7354 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7355 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7356 	CFLAGS="$xorg_testset_save_CFLAGS"
   7357 fi
   7358 
   7359 found="no"
   7360 
   7361 	if test $found = "no" ; then
   7362 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 		fi
   7365 
   7366 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7368 		fi
   7369 
   7370 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7371 
   7372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7373 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7374 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   7375 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7376   $as_echo_n "(cached) " >&6
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 int
   7382 main ()
   7383 {
   7384 
   7385   ;
   7386   return 0;
   7387 }
   7388 _ACEOF
   7389 if ac_fn_c_try_link "$LINENO"; then :
   7390   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7391 else
   7392   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7393 fi
   7394 rm -f core conftest.err conftest.$ac_objext \
   7395     conftest$ac_exeext conftest.$ac_ext
   7396 fi
   7397 
   7398 
   7399 		CFLAGS="$xorg_testset_save_CFLAGS"
   7400 
   7401 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7403 $as_echo "$supported" >&6; }
   7404 		if test "$supported" = "yes" ; then
   7405 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7406 			found="yes"
   7407 		fi
   7408 	fi
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 xorg_testset_save_CFLAGS="$CFLAGS"
   7423 
   7424 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7427 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7428 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7429   $as_echo_n "(cached) " >&6
   7430 else
   7431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7432 /* end confdefs.h.  */
   7433 int i;
   7434 _ACEOF
   7435 if ac_fn_c_try_compile "$LINENO"; then :
   7436   xorg_cv_compiler_flag_unknown_warning_option=yes
   7437 else
   7438   xorg_cv_compiler_flag_unknown_warning_option=no
   7439 fi
   7440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7441 fi
   7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7443 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7444 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7445 	CFLAGS="$xorg_testset_save_CFLAGS"
   7446 fi
   7447 
   7448 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7449 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7451 	fi
   7452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7454 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7455 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 _ACEOF
   7462 if ac_fn_c_try_compile "$LINENO"; then :
   7463   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7464 else
   7465   xorg_cv_compiler_flag_unused_command_line_argument=no
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7468 fi
   7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7470 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7471 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7472 	CFLAGS="$xorg_testset_save_CFLAGS"
   7473 fi
   7474 
   7475 found="no"
   7476 
   7477 	if test $found = "no" ; then
   7478 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7480 		fi
   7481 
   7482 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7484 		fi
   7485 
   7486 		CFLAGS="$CFLAGS -Werror=return-type"
   7487 
   7488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7489 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7490 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   7491 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7492   $as_echo_n "(cached) " >&6
   7493 else
   7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7495 /* end confdefs.h.  */
   7496 int i;
   7497 int
   7498 main ()
   7499 {
   7500 
   7501   ;
   7502   return 0;
   7503 }
   7504 _ACEOF
   7505 if ac_fn_c_try_link "$LINENO"; then :
   7506   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7507 else
   7508   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7509 fi
   7510 rm -f core conftest.err conftest.$ac_objext \
   7511     conftest$ac_exeext conftest.$ac_ext
   7512 fi
   7513 
   7514 
   7515 		CFLAGS="$xorg_testset_save_CFLAGS"
   7516 
   7517 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7519 $as_echo "$supported" >&6; }
   7520 		if test "$supported" = "yes" ; then
   7521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7522 			found="yes"
   7523 		fi
   7524 	fi
   7525 
   7526 	if test $found = "no" ; then
   7527 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7529 		fi
   7530 
   7531 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7533 		fi
   7534 
   7535 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7536 
   7537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7538 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7539 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   7540 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7541   $as_echo_n "(cached) " >&6
   7542 else
   7543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7544 /* end confdefs.h.  */
   7545 int i;
   7546 int
   7547 main ()
   7548 {
   7549 
   7550   ;
   7551   return 0;
   7552 }
   7553 _ACEOF
   7554 if ac_fn_c_try_link "$LINENO"; then :
   7555   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7556 else
   7557   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7558 fi
   7559 rm -f core conftest.err conftest.$ac_objext \
   7560     conftest$ac_exeext conftest.$ac_ext
   7561 fi
   7562 
   7563 
   7564 		CFLAGS="$xorg_testset_save_CFLAGS"
   7565 
   7566 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7568 $as_echo "$supported" >&6; }
   7569 		if test "$supported" = "yes" ; then
   7570 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7571 			found="yes"
   7572 		fi
   7573 	fi
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 xorg_testset_save_CFLAGS="$CFLAGS"
   7588 
   7589 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7592 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7593 if ${xorg_cv_compiler_flag_unknown_warning_option+:} 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_compiler_flag_unknown_warning_option=yes
   7602 else
   7603   xorg_cv_compiler_flag_unknown_warning_option=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_compiler_flag_unknown_warning_option" >&5
   7608 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7609 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7614 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7616 	fi
   7617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7619 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7620 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7621   $as_echo_n "(cached) " >&6
   7622 else
   7623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7624 /* end confdefs.h.  */
   7625 int i;
   7626 _ACEOF
   7627 if ac_fn_c_try_compile "$LINENO"; then :
   7628   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7629 else
   7630   xorg_cv_compiler_flag_unused_command_line_argument=no
   7631 fi
   7632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7633 fi
   7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7635 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7636 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7637 	CFLAGS="$xorg_testset_save_CFLAGS"
   7638 fi
   7639 
   7640 found="no"
   7641 
   7642 	if test $found = "no" ; then
   7643 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7645 		fi
   7646 
   7647 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7649 		fi
   7650 
   7651 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7652 
   7653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7654 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7655 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   7656 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 int
   7663 main ()
   7664 {
   7665 
   7666   ;
   7667   return 0;
   7668 }
   7669 _ACEOF
   7670 if ac_fn_c_try_link "$LINENO"; then :
   7671   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7672 else
   7673   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext \
   7676     conftest$ac_exeext conftest.$ac_ext
   7677 fi
   7678 
   7679 
   7680 		CFLAGS="$xorg_testset_save_CFLAGS"
   7681 
   7682 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7684 $as_echo "$supported" >&6; }
   7685 		if test "$supported" = "yes" ; then
   7686 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7687 			found="yes"
   7688 		fi
   7689 	fi
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 xorg_testset_save_CFLAGS="$CFLAGS"
   7704 
   7705 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7708 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7709 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7710   $as_echo_n "(cached) " >&6
   7711 else
   7712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7713 /* end confdefs.h.  */
   7714 int i;
   7715 _ACEOF
   7716 if ac_fn_c_try_compile "$LINENO"; then :
   7717   xorg_cv_compiler_flag_unknown_warning_option=yes
   7718 else
   7719   xorg_cv_compiler_flag_unknown_warning_option=no
   7720 fi
   7721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7722 fi
   7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7724 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7725 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7726 	CFLAGS="$xorg_testset_save_CFLAGS"
   7727 fi
   7728 
   7729 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7730 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7732 	fi
   7733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7735 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7736 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7737   $as_echo_n "(cached) " >&6
   7738 else
   7739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7740 /* end confdefs.h.  */
   7741 int i;
   7742 _ACEOF
   7743 if ac_fn_c_try_compile "$LINENO"; then :
   7744   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7745 else
   7746   xorg_cv_compiler_flag_unused_command_line_argument=no
   7747 fi
   7748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7749 fi
   7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7751 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7752 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7753 	CFLAGS="$xorg_testset_save_CFLAGS"
   7754 fi
   7755 
   7756 found="no"
   7757 
   7758 	if test $found = "no" ; then
   7759 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7761 		fi
   7762 
   7763 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7765 		fi
   7766 
   7767 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7768 
   7769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7770 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7771 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   7772 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7773   $as_echo_n "(cached) " >&6
   7774 else
   7775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7776 /* end confdefs.h.  */
   7777 int i;
   7778 int
   7779 main ()
   7780 {
   7781 
   7782   ;
   7783   return 0;
   7784 }
   7785 _ACEOF
   7786 if ac_fn_c_try_link "$LINENO"; then :
   7787   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7788 else
   7789   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7790 fi
   7791 rm -f core conftest.err conftest.$ac_objext \
   7792     conftest$ac_exeext conftest.$ac_ext
   7793 fi
   7794 
   7795 
   7796 		CFLAGS="$xorg_testset_save_CFLAGS"
   7797 
   7798 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7800 $as_echo "$supported" >&6; }
   7801 		if test "$supported" = "yes" ; then
   7802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7803 			found="yes"
   7804 		fi
   7805 	fi
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 xorg_testset_save_CFLAGS="$CFLAGS"
   7820 
   7821 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7824 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7825 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7829 /* end confdefs.h.  */
   7830 int i;
   7831 _ACEOF
   7832 if ac_fn_c_try_compile "$LINENO"; then :
   7833   xorg_cv_compiler_flag_unknown_warning_option=yes
   7834 else
   7835   xorg_cv_compiler_flag_unknown_warning_option=no
   7836 fi
   7837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7838 fi
   7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7840 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7841 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7842 	CFLAGS="$xorg_testset_save_CFLAGS"
   7843 fi
   7844 
   7845 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7846 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7848 	fi
   7849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7851 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7852 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7853   $as_echo_n "(cached) " >&6
   7854 else
   7855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 int i;
   7858 _ACEOF
   7859 if ac_fn_c_try_compile "$LINENO"; then :
   7860   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7861 else
   7862   xorg_cv_compiler_flag_unused_command_line_argument=no
   7863 fi
   7864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7865 fi
   7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7867 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7868 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7869 	CFLAGS="$xorg_testset_save_CFLAGS"
   7870 fi
   7871 
   7872 found="no"
   7873 
   7874 	if test $found = "no" ; then
   7875 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7877 		fi
   7878 
   7879 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7881 		fi
   7882 
   7883 		CFLAGS="$CFLAGS -Werror=write-strings"
   7884 
   7885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7886 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7887 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   7888 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7889   $as_echo_n "(cached) " >&6
   7890 else
   7891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7892 /* end confdefs.h.  */
   7893 int i;
   7894 int
   7895 main ()
   7896 {
   7897 
   7898   ;
   7899   return 0;
   7900 }
   7901 _ACEOF
   7902 if ac_fn_c_try_link "$LINENO"; then :
   7903   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7904 else
   7905   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7906 fi
   7907 rm -f core conftest.err conftest.$ac_objext \
   7908     conftest$ac_exeext conftest.$ac_ext
   7909 fi
   7910 
   7911 
   7912 		CFLAGS="$xorg_testset_save_CFLAGS"
   7913 
   7914 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7916 $as_echo "$supported" >&6; }
   7917 		if test "$supported" = "yes" ; then
   7918 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7919 			found="yes"
   7920 		fi
   7921 	fi
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 xorg_testset_save_CFLAGS="$CFLAGS"
   7936 
   7937 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7940 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7941 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7942   $as_echo_n "(cached) " >&6
   7943 else
   7944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7945 /* end confdefs.h.  */
   7946 int i;
   7947 _ACEOF
   7948 if ac_fn_c_try_compile "$LINENO"; then :
   7949   xorg_cv_compiler_flag_unknown_warning_option=yes
   7950 else
   7951   xorg_cv_compiler_flag_unknown_warning_option=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7956 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7957 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7958 	CFLAGS="$xorg_testset_save_CFLAGS"
   7959 fi
   7960 
   7961 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7962 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 	fi
   7965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7967 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7968 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 _ACEOF
   7975 if ac_fn_c_try_compile "$LINENO"; then :
   7976   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7977 else
   7978   xorg_cv_compiler_flag_unused_command_line_argument=no
   7979 fi
   7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7981 fi
   7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7983 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7984 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7985 	CFLAGS="$xorg_testset_save_CFLAGS"
   7986 fi
   7987 
   7988 found="no"
   7989 
   7990 	if test $found = "no" ; then
   7991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 		fi
   7994 
   7995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7997 		fi
   7998 
   7999 		CFLAGS="$CFLAGS -Werror=address"
   8000 
   8001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8002 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8003 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   8004 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8005   $as_echo_n "(cached) " >&6
   8006 else
   8007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 int
   8011 main ()
   8012 {
   8013 
   8014   ;
   8015   return 0;
   8016 }
   8017 _ACEOF
   8018 if ac_fn_c_try_link "$LINENO"; then :
   8019   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8020 else
   8021   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8022 fi
   8023 rm -f core conftest.err conftest.$ac_objext \
   8024     conftest$ac_exeext conftest.$ac_ext
   8025 fi
   8026 
   8027 
   8028 		CFLAGS="$xorg_testset_save_CFLAGS"
   8029 
   8030 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8032 $as_echo "$supported" >&6; }
   8033 		if test "$supported" = "yes" ; then
   8034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8035 			found="yes"
   8036 		fi
   8037 	fi
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 xorg_testset_save_CFLAGS="$CFLAGS"
   8052 
   8053 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8056 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8057 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8058   $as_echo_n "(cached) " >&6
   8059 else
   8060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8061 /* end confdefs.h.  */
   8062 int i;
   8063 _ACEOF
   8064 if ac_fn_c_try_compile "$LINENO"; then :
   8065   xorg_cv_compiler_flag_unknown_warning_option=yes
   8066 else
   8067   xorg_cv_compiler_flag_unknown_warning_option=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8070 fi
   8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8072 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8073 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8074 	CFLAGS="$xorg_testset_save_CFLAGS"
   8075 fi
   8076 
   8077 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8078 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 	fi
   8081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8083 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8084 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8085   $as_echo_n "(cached) " >&6
   8086 else
   8087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8088 /* end confdefs.h.  */
   8089 int i;
   8090 _ACEOF
   8091 if ac_fn_c_try_compile "$LINENO"; then :
   8092   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8093 else
   8094   xorg_cv_compiler_flag_unused_command_line_argument=no
   8095 fi
   8096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8097 fi
   8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8099 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8100 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8101 	CFLAGS="$xorg_testset_save_CFLAGS"
   8102 fi
   8103 
   8104 found="no"
   8105 
   8106 	if test $found = "no" ; then
   8107 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8109 		fi
   8110 
   8111 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8113 		fi
   8114 
   8115 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8116 
   8117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8118 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8119 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   8120 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8121   $as_echo_n "(cached) " >&6
   8122 else
   8123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8124 /* end confdefs.h.  */
   8125 int i;
   8126 int
   8127 main ()
   8128 {
   8129 
   8130   ;
   8131   return 0;
   8132 }
   8133 _ACEOF
   8134 if ac_fn_c_try_link "$LINENO"; then :
   8135   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8136 else
   8137   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8138 fi
   8139 rm -f core conftest.err conftest.$ac_objext \
   8140     conftest$ac_exeext conftest.$ac_ext
   8141 fi
   8142 
   8143 
   8144 		CFLAGS="$xorg_testset_save_CFLAGS"
   8145 
   8146 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8148 $as_echo "$supported" >&6; }
   8149 		if test "$supported" = "yes" ; then
   8150 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8151 			found="yes"
   8152 		fi
   8153 	fi
   8154 
   8155 	if test $found = "no" ; then
   8156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8158 		fi
   8159 
   8160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8162 		fi
   8163 
   8164 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8165 
   8166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8167 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8168 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   8169 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8170   $as_echo_n "(cached) " >&6
   8171 else
   8172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8173 /* end confdefs.h.  */
   8174 int i;
   8175 int
   8176 main ()
   8177 {
   8178 
   8179   ;
   8180   return 0;
   8181 }
   8182 _ACEOF
   8183 if ac_fn_c_try_link "$LINENO"; then :
   8184   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8185 else
   8186   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext \
   8189     conftest$ac_exeext conftest.$ac_ext
   8190 fi
   8191 
   8192 
   8193 		CFLAGS="$xorg_testset_save_CFLAGS"
   8194 
   8195 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8197 $as_echo "$supported" >&6; }
   8198 		if test "$supported" = "yes" ; then
   8199 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8200 			found="yes"
   8201 		fi
   8202 	fi
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 xorg_testset_save_CFLAGS="$CFLAGS"
   8217 
   8218 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8221 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8222 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8223   $as_echo_n "(cached) " >&6
   8224 else
   8225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8226 /* end confdefs.h.  */
   8227 int i;
   8228 _ACEOF
   8229 if ac_fn_c_try_compile "$LINENO"; then :
   8230   xorg_cv_compiler_flag_unknown_warning_option=yes
   8231 else
   8232   xorg_cv_compiler_flag_unknown_warning_option=no
   8233 fi
   8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8235 fi
   8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8237 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8238 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8239 	CFLAGS="$xorg_testset_save_CFLAGS"
   8240 fi
   8241 
   8242 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8243 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8245 	fi
   8246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8248 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8249 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 int i;
   8255 _ACEOF
   8256 if ac_fn_c_try_compile "$LINENO"; then :
   8257   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8258 else
   8259   xorg_cv_compiler_flag_unused_command_line_argument=no
   8260 fi
   8261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8262 fi
   8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8264 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8265 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8266 	CFLAGS="$xorg_testset_save_CFLAGS"
   8267 fi
   8268 
   8269 found="no"
   8270 
   8271 	if test $found = "no" ; then
   8272 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 		fi
   8275 
   8276 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8278 		fi
   8279 
   8280 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8281 
   8282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8283 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8284 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   8285 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8286   $as_echo_n "(cached) " >&6
   8287 else
   8288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8289 /* end confdefs.h.  */
   8290 int i;
   8291 int
   8292 main ()
   8293 {
   8294 
   8295   ;
   8296   return 0;
   8297 }
   8298 _ACEOF
   8299 if ac_fn_c_try_link "$LINENO"; then :
   8300   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8301 else
   8302   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext \
   8305     conftest$ac_exeext conftest.$ac_ext
   8306 fi
   8307 
   8308 
   8309 		CFLAGS="$xorg_testset_save_CFLAGS"
   8310 
   8311 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8313 $as_echo "$supported" >&6; }
   8314 		if test "$supported" = "yes" ; then
   8315 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8316 			found="yes"
   8317 		fi
   8318 	fi
   8319 
   8320  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8321 else
   8322 { $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
   8323 $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;}
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 xorg_testset_save_CFLAGS="$CFLAGS"
   8336 
   8337 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8340 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8341 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8342   $as_echo_n "(cached) " >&6
   8343 else
   8344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8345 /* end confdefs.h.  */
   8346 int i;
   8347 _ACEOF
   8348 if ac_fn_c_try_compile "$LINENO"; then :
   8349   xorg_cv_compiler_flag_unknown_warning_option=yes
   8350 else
   8351   xorg_cv_compiler_flag_unknown_warning_option=no
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8354 fi
   8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8356 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8357 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8358 	CFLAGS="$xorg_testset_save_CFLAGS"
   8359 fi
   8360 
   8361 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8362 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8364 	fi
   8365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8367 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8368 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8369   $as_echo_n "(cached) " >&6
   8370 else
   8371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 int i;
   8374 _ACEOF
   8375 if ac_fn_c_try_compile "$LINENO"; then :
   8376   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8377 else
   8378   xorg_cv_compiler_flag_unused_command_line_argument=no
   8379 fi
   8380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8381 fi
   8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8383 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8384 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8385 	CFLAGS="$xorg_testset_save_CFLAGS"
   8386 fi
   8387 
   8388 found="no"
   8389 
   8390 	if test $found = "no" ; then
   8391 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8393 		fi
   8394 
   8395 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8397 		fi
   8398 
   8399 		CFLAGS="$CFLAGS -Wimplicit"
   8400 
   8401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8402 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8403 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   8404 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8408 /* end confdefs.h.  */
   8409 int i;
   8410 int
   8411 main ()
   8412 {
   8413 
   8414   ;
   8415   return 0;
   8416 }
   8417 _ACEOF
   8418 if ac_fn_c_try_link "$LINENO"; then :
   8419   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8420 else
   8421   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8422 fi
   8423 rm -f core conftest.err conftest.$ac_objext \
   8424     conftest$ac_exeext conftest.$ac_ext
   8425 fi
   8426 
   8427 
   8428 		CFLAGS="$xorg_testset_save_CFLAGS"
   8429 
   8430 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8432 $as_echo "$supported" >&6; }
   8433 		if test "$supported" = "yes" ; then
   8434 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8435 			found="yes"
   8436 		fi
   8437 	fi
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 xorg_testset_save_CFLAGS="$CFLAGS"
   8452 
   8453 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8456 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8457 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8458   $as_echo_n "(cached) " >&6
   8459 else
   8460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8461 /* end confdefs.h.  */
   8462 int i;
   8463 _ACEOF
   8464 if ac_fn_c_try_compile "$LINENO"; then :
   8465   xorg_cv_compiler_flag_unknown_warning_option=yes
   8466 else
   8467   xorg_cv_compiler_flag_unknown_warning_option=no
   8468 fi
   8469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8470 fi
   8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8472 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8473 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8474 	CFLAGS="$xorg_testset_save_CFLAGS"
   8475 fi
   8476 
   8477 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8478 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8480 	fi
   8481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8483 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8484 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8485   $as_echo_n "(cached) " >&6
   8486 else
   8487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8488 /* end confdefs.h.  */
   8489 int i;
   8490 _ACEOF
   8491 if ac_fn_c_try_compile "$LINENO"; then :
   8492   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8493 else
   8494   xorg_cv_compiler_flag_unused_command_line_argument=no
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8497 fi
   8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8499 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8500 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8501 	CFLAGS="$xorg_testset_save_CFLAGS"
   8502 fi
   8503 
   8504 found="no"
   8505 
   8506 	if test $found = "no" ; then
   8507 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8509 		fi
   8510 
   8511 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8513 		fi
   8514 
   8515 		CFLAGS="$CFLAGS -Wnonnull"
   8516 
   8517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8518 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8519 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   8520 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8521   $as_echo_n "(cached) " >&6
   8522 else
   8523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8524 /* end confdefs.h.  */
   8525 int i;
   8526 int
   8527 main ()
   8528 {
   8529 
   8530   ;
   8531   return 0;
   8532 }
   8533 _ACEOF
   8534 if ac_fn_c_try_link "$LINENO"; then :
   8535   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8536 else
   8537   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8538 fi
   8539 rm -f core conftest.err conftest.$ac_objext \
   8540     conftest$ac_exeext conftest.$ac_ext
   8541 fi
   8542 
   8543 
   8544 		CFLAGS="$xorg_testset_save_CFLAGS"
   8545 
   8546 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8548 $as_echo "$supported" >&6; }
   8549 		if test "$supported" = "yes" ; then
   8550 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8551 			found="yes"
   8552 		fi
   8553 	fi
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 xorg_testset_save_CFLAGS="$CFLAGS"
   8568 
   8569 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8572 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8573 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8574   $as_echo_n "(cached) " >&6
   8575 else
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 _ACEOF
   8580 if ac_fn_c_try_compile "$LINENO"; then :
   8581   xorg_cv_compiler_flag_unknown_warning_option=yes
   8582 else
   8583   xorg_cv_compiler_flag_unknown_warning_option=no
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8586 fi
   8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8588 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8589 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8590 	CFLAGS="$xorg_testset_save_CFLAGS"
   8591 fi
   8592 
   8593 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8594 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8596 	fi
   8597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8599 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8600 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8601   $as_echo_n "(cached) " >&6
   8602 else
   8603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8604 /* end confdefs.h.  */
   8605 int i;
   8606 _ACEOF
   8607 if ac_fn_c_try_compile "$LINENO"; then :
   8608   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8609 else
   8610   xorg_cv_compiler_flag_unused_command_line_argument=no
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8613 fi
   8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8615 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8616 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8617 	CFLAGS="$xorg_testset_save_CFLAGS"
   8618 fi
   8619 
   8620 found="no"
   8621 
   8622 	if test $found = "no" ; then
   8623 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8625 		fi
   8626 
   8627 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8629 		fi
   8630 
   8631 		CFLAGS="$CFLAGS -Winit-self"
   8632 
   8633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8634 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8635 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   8636 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8637   $as_echo_n "(cached) " >&6
   8638 else
   8639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8640 /* end confdefs.h.  */
   8641 int i;
   8642 int
   8643 main ()
   8644 {
   8645 
   8646   ;
   8647   return 0;
   8648 }
   8649 _ACEOF
   8650 if ac_fn_c_try_link "$LINENO"; then :
   8651   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8652 else
   8653   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8654 fi
   8655 rm -f core conftest.err conftest.$ac_objext \
   8656     conftest$ac_exeext conftest.$ac_ext
   8657 fi
   8658 
   8659 
   8660 		CFLAGS="$xorg_testset_save_CFLAGS"
   8661 
   8662 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8664 $as_echo "$supported" >&6; }
   8665 		if test "$supported" = "yes" ; then
   8666 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8667 			found="yes"
   8668 		fi
   8669 	fi
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 xorg_testset_save_CFLAGS="$CFLAGS"
   8684 
   8685 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8688 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8689 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8690   $as_echo_n "(cached) " >&6
   8691 else
   8692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8693 /* end confdefs.h.  */
   8694 int i;
   8695 _ACEOF
   8696 if ac_fn_c_try_compile "$LINENO"; then :
   8697   xorg_cv_compiler_flag_unknown_warning_option=yes
   8698 else
   8699   xorg_cv_compiler_flag_unknown_warning_option=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8702 fi
   8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8704 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8705 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8706 	CFLAGS="$xorg_testset_save_CFLAGS"
   8707 fi
   8708 
   8709 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8710 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8712 	fi
   8713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8715 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8716 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8717   $as_echo_n "(cached) " >&6
   8718 else
   8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8720 /* end confdefs.h.  */
   8721 int i;
   8722 _ACEOF
   8723 if ac_fn_c_try_compile "$LINENO"; then :
   8724   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8725 else
   8726   xorg_cv_compiler_flag_unused_command_line_argument=no
   8727 fi
   8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8729 fi
   8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8731 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8732 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8733 	CFLAGS="$xorg_testset_save_CFLAGS"
   8734 fi
   8735 
   8736 found="no"
   8737 
   8738 	if test $found = "no" ; then
   8739 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 		fi
   8742 
   8743 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8745 		fi
   8746 
   8747 		CFLAGS="$CFLAGS -Wmain"
   8748 
   8749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8750 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8751 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   8752 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8756 /* end confdefs.h.  */
   8757 int i;
   8758 int
   8759 main ()
   8760 {
   8761 
   8762   ;
   8763   return 0;
   8764 }
   8765 _ACEOF
   8766 if ac_fn_c_try_link "$LINENO"; then :
   8767   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8768 else
   8769   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8770 fi
   8771 rm -f core conftest.err conftest.$ac_objext \
   8772     conftest$ac_exeext conftest.$ac_ext
   8773 fi
   8774 
   8775 
   8776 		CFLAGS="$xorg_testset_save_CFLAGS"
   8777 
   8778 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8780 $as_echo "$supported" >&6; }
   8781 		if test "$supported" = "yes" ; then
   8782 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8783 			found="yes"
   8784 		fi
   8785 	fi
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 xorg_testset_save_CFLAGS="$CFLAGS"
   8800 
   8801 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8804 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8805 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8806   $as_echo_n "(cached) " >&6
   8807 else
   8808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8809 /* end confdefs.h.  */
   8810 int i;
   8811 _ACEOF
   8812 if ac_fn_c_try_compile "$LINENO"; then :
   8813   xorg_cv_compiler_flag_unknown_warning_option=yes
   8814 else
   8815   xorg_cv_compiler_flag_unknown_warning_option=no
   8816 fi
   8817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8818 fi
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8820 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8821 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8822 	CFLAGS="$xorg_testset_save_CFLAGS"
   8823 fi
   8824 
   8825 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8826 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8828 	fi
   8829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8831 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8832 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8833   $as_echo_n "(cached) " >&6
   8834 else
   8835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8836 /* end confdefs.h.  */
   8837 int i;
   8838 _ACEOF
   8839 if ac_fn_c_try_compile "$LINENO"; then :
   8840   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8841 else
   8842   xorg_cv_compiler_flag_unused_command_line_argument=no
   8843 fi
   8844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8845 fi
   8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8847 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8848 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8849 	CFLAGS="$xorg_testset_save_CFLAGS"
   8850 fi
   8851 
   8852 found="no"
   8853 
   8854 	if test $found = "no" ; then
   8855 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8857 		fi
   8858 
   8859 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8861 		fi
   8862 
   8863 		CFLAGS="$CFLAGS -Wmissing-braces"
   8864 
   8865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8866 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8867 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   8868 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8869   $as_echo_n "(cached) " >&6
   8870 else
   8871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8872 /* end confdefs.h.  */
   8873 int i;
   8874 int
   8875 main ()
   8876 {
   8877 
   8878   ;
   8879   return 0;
   8880 }
   8881 _ACEOF
   8882 if ac_fn_c_try_link "$LINENO"; then :
   8883   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8884 else
   8885   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8886 fi
   8887 rm -f core conftest.err conftest.$ac_objext \
   8888     conftest$ac_exeext conftest.$ac_ext
   8889 fi
   8890 
   8891 
   8892 		CFLAGS="$xorg_testset_save_CFLAGS"
   8893 
   8894 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8896 $as_echo "$supported" >&6; }
   8897 		if test "$supported" = "yes" ; then
   8898 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8899 			found="yes"
   8900 		fi
   8901 	fi
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 xorg_testset_save_CFLAGS="$CFLAGS"
   8916 
   8917 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8920 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8921 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 _ACEOF
   8928 if ac_fn_c_try_compile "$LINENO"; then :
   8929   xorg_cv_compiler_flag_unknown_warning_option=yes
   8930 else
   8931   xorg_cv_compiler_flag_unknown_warning_option=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8934 fi
   8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8936 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8937 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8938 	CFLAGS="$xorg_testset_save_CFLAGS"
   8939 fi
   8940 
   8941 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8942 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	fi
   8945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8947 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8948 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8949   $as_echo_n "(cached) " >&6
   8950 else
   8951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 int i;
   8954 _ACEOF
   8955 if ac_fn_c_try_compile "$LINENO"; then :
   8956   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8957 else
   8958   xorg_cv_compiler_flag_unused_command_line_argument=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8961 fi
   8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8963 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8964 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 found="no"
   8969 
   8970 	if test $found = "no" ; then
   8971 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 		fi
   8974 
   8975 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 		fi
   8978 
   8979 		CFLAGS="$CFLAGS -Wsequence-point"
   8980 
   8981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8982 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8983 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   8984 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 int
   8991 main ()
   8992 {
   8993 
   8994   ;
   8995   return 0;
   8996 }
   8997 _ACEOF
   8998 if ac_fn_c_try_link "$LINENO"; then :
   8999   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9000 else
   9001   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext \
   9004     conftest$ac_exeext conftest.$ac_ext
   9005 fi
   9006 
   9007 
   9008 		CFLAGS="$xorg_testset_save_CFLAGS"
   9009 
   9010 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9012 $as_echo "$supported" >&6; }
   9013 		if test "$supported" = "yes" ; then
   9014 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9015 			found="yes"
   9016 		fi
   9017 	fi
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 xorg_testset_save_CFLAGS="$CFLAGS"
   9032 
   9033 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9036 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9037 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 _ACEOF
   9044 if ac_fn_c_try_compile "$LINENO"; then :
   9045   xorg_cv_compiler_flag_unknown_warning_option=yes
   9046 else
   9047   xorg_cv_compiler_flag_unknown_warning_option=no
   9048 fi
   9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9050 fi
   9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9052 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9053 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9054 	CFLAGS="$xorg_testset_save_CFLAGS"
   9055 fi
   9056 
   9057 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9058 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9060 	fi
   9061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9063 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9064 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 _ACEOF
   9071 if ac_fn_c_try_compile "$LINENO"; then :
   9072   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9073 else
   9074   xorg_cv_compiler_flag_unused_command_line_argument=no
   9075 fi
   9076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9077 fi
   9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9079 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9080 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9081 	CFLAGS="$xorg_testset_save_CFLAGS"
   9082 fi
   9083 
   9084 found="no"
   9085 
   9086 	if test $found = "no" ; then
   9087 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 		fi
   9090 
   9091 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9093 		fi
   9094 
   9095 		CFLAGS="$CFLAGS -Wreturn-type"
   9096 
   9097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9098 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9099 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   9100 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9101   $as_echo_n "(cached) " >&6
   9102 else
   9103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9104 /* end confdefs.h.  */
   9105 int i;
   9106 int
   9107 main ()
   9108 {
   9109 
   9110   ;
   9111   return 0;
   9112 }
   9113 _ACEOF
   9114 if ac_fn_c_try_link "$LINENO"; then :
   9115   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9116 else
   9117   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9118 fi
   9119 rm -f core conftest.err conftest.$ac_objext \
   9120     conftest$ac_exeext conftest.$ac_ext
   9121 fi
   9122 
   9123 
   9124 		CFLAGS="$xorg_testset_save_CFLAGS"
   9125 
   9126 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9128 $as_echo "$supported" >&6; }
   9129 		if test "$supported" = "yes" ; then
   9130 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9131 			found="yes"
   9132 		fi
   9133 	fi
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 xorg_testset_save_CFLAGS="$CFLAGS"
   9148 
   9149 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9152 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9153 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9154   $as_echo_n "(cached) " >&6
   9155 else
   9156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9157 /* end confdefs.h.  */
   9158 int i;
   9159 _ACEOF
   9160 if ac_fn_c_try_compile "$LINENO"; then :
   9161   xorg_cv_compiler_flag_unknown_warning_option=yes
   9162 else
   9163   xorg_cv_compiler_flag_unknown_warning_option=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9166 fi
   9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9168 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9169 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9174 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 	fi
   9177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9179 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9180 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9181   $as_echo_n "(cached) " >&6
   9182 else
   9183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9184 /* end confdefs.h.  */
   9185 int i;
   9186 _ACEOF
   9187 if ac_fn_c_try_compile "$LINENO"; then :
   9188   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9189 else
   9190   xorg_cv_compiler_flag_unused_command_line_argument=no
   9191 fi
   9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9193 fi
   9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9195 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9196 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9197 	CFLAGS="$xorg_testset_save_CFLAGS"
   9198 fi
   9199 
   9200 found="no"
   9201 
   9202 	if test $found = "no" ; then
   9203 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9205 		fi
   9206 
   9207 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9209 		fi
   9210 
   9211 		CFLAGS="$CFLAGS -Wtrigraphs"
   9212 
   9213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9214 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9215 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   9216 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9217   $as_echo_n "(cached) " >&6
   9218 else
   9219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int i;
   9222 int
   9223 main ()
   9224 {
   9225 
   9226   ;
   9227   return 0;
   9228 }
   9229 _ACEOF
   9230 if ac_fn_c_try_link "$LINENO"; then :
   9231   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9232 else
   9233   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9234 fi
   9235 rm -f core conftest.err conftest.$ac_objext \
   9236     conftest$ac_exeext conftest.$ac_ext
   9237 fi
   9238 
   9239 
   9240 		CFLAGS="$xorg_testset_save_CFLAGS"
   9241 
   9242 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9244 $as_echo "$supported" >&6; }
   9245 		if test "$supported" = "yes" ; then
   9246 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9247 			found="yes"
   9248 		fi
   9249 	fi
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 xorg_testset_save_CFLAGS="$CFLAGS"
   9264 
   9265 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9268 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9269 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9270   $as_echo_n "(cached) " >&6
   9271 else
   9272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9273 /* end confdefs.h.  */
   9274 int i;
   9275 _ACEOF
   9276 if ac_fn_c_try_compile "$LINENO"; then :
   9277   xorg_cv_compiler_flag_unknown_warning_option=yes
   9278 else
   9279   xorg_cv_compiler_flag_unknown_warning_option=no
   9280 fi
   9281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9282 fi
   9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9284 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9285 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9286 	CFLAGS="$xorg_testset_save_CFLAGS"
   9287 fi
   9288 
   9289 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9290 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9292 	fi
   9293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9295 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9296 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9297   $as_echo_n "(cached) " >&6
   9298 else
   9299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int i;
   9302 _ACEOF
   9303 if ac_fn_c_try_compile "$LINENO"; then :
   9304   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9305 else
   9306   xorg_cv_compiler_flag_unused_command_line_argument=no
   9307 fi
   9308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9309 fi
   9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9311 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9312 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9313 	CFLAGS="$xorg_testset_save_CFLAGS"
   9314 fi
   9315 
   9316 found="no"
   9317 
   9318 	if test $found = "no" ; then
   9319 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 		fi
   9322 
   9323 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9325 		fi
   9326 
   9327 		CFLAGS="$CFLAGS -Warray-bounds"
   9328 
   9329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9330 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9331 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   9332 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9333   $as_echo_n "(cached) " >&6
   9334 else
   9335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 int i;
   9338 int
   9339 main ()
   9340 {
   9341 
   9342   ;
   9343   return 0;
   9344 }
   9345 _ACEOF
   9346 if ac_fn_c_try_link "$LINENO"; then :
   9347   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9348 else
   9349   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9350 fi
   9351 rm -f core conftest.err conftest.$ac_objext \
   9352     conftest$ac_exeext conftest.$ac_ext
   9353 fi
   9354 
   9355 
   9356 		CFLAGS="$xorg_testset_save_CFLAGS"
   9357 
   9358 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9360 $as_echo "$supported" >&6; }
   9361 		if test "$supported" = "yes" ; then
   9362 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9363 			found="yes"
   9364 		fi
   9365 	fi
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 xorg_testset_save_CFLAGS="$CFLAGS"
   9380 
   9381 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9384 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9385 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9386   $as_echo_n "(cached) " >&6
   9387 else
   9388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9389 /* end confdefs.h.  */
   9390 int i;
   9391 _ACEOF
   9392 if ac_fn_c_try_compile "$LINENO"; then :
   9393   xorg_cv_compiler_flag_unknown_warning_option=yes
   9394 else
   9395   xorg_cv_compiler_flag_unknown_warning_option=no
   9396 fi
   9397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9398 fi
   9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9400 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9401 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9402 	CFLAGS="$xorg_testset_save_CFLAGS"
   9403 fi
   9404 
   9405 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9406 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	fi
   9409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9411 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9412 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9413   $as_echo_n "(cached) " >&6
   9414 else
   9415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9416 /* end confdefs.h.  */
   9417 int i;
   9418 _ACEOF
   9419 if ac_fn_c_try_compile "$LINENO"; then :
   9420   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9421 else
   9422   xorg_cv_compiler_flag_unused_command_line_argument=no
   9423 fi
   9424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9425 fi
   9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9427 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9428 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9429 	CFLAGS="$xorg_testset_save_CFLAGS"
   9430 fi
   9431 
   9432 found="no"
   9433 
   9434 	if test $found = "no" ; then
   9435 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9437 		fi
   9438 
   9439 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9441 		fi
   9442 
   9443 		CFLAGS="$CFLAGS -Wwrite-strings"
   9444 
   9445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9446 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9447 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   9448 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9449   $as_echo_n "(cached) " >&6
   9450 else
   9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 int
   9455 main ()
   9456 {
   9457 
   9458   ;
   9459   return 0;
   9460 }
   9461 _ACEOF
   9462 if ac_fn_c_try_link "$LINENO"; then :
   9463   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9464 else
   9465   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9466 fi
   9467 rm -f core conftest.err conftest.$ac_objext \
   9468     conftest$ac_exeext conftest.$ac_ext
   9469 fi
   9470 
   9471 
   9472 		CFLAGS="$xorg_testset_save_CFLAGS"
   9473 
   9474 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9476 $as_echo "$supported" >&6; }
   9477 		if test "$supported" = "yes" ; then
   9478 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9479 			found="yes"
   9480 		fi
   9481 	fi
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 xorg_testset_save_CFLAGS="$CFLAGS"
   9496 
   9497 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9500 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9501 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9502   $as_echo_n "(cached) " >&6
   9503 else
   9504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9505 /* end confdefs.h.  */
   9506 int i;
   9507 _ACEOF
   9508 if ac_fn_c_try_compile "$LINENO"; then :
   9509   xorg_cv_compiler_flag_unknown_warning_option=yes
   9510 else
   9511   xorg_cv_compiler_flag_unknown_warning_option=no
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9514 fi
   9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9516 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9517 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9518 	CFLAGS="$xorg_testset_save_CFLAGS"
   9519 fi
   9520 
   9521 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9522 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 	fi
   9525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9527 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9528 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9529   $as_echo_n "(cached) " >&6
   9530 else
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"; then :
   9536   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9537 else
   9538   xorg_cv_compiler_flag_unused_command_line_argument=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9543 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9544 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9545 	CFLAGS="$xorg_testset_save_CFLAGS"
   9546 fi
   9547 
   9548 found="no"
   9549 
   9550 	if test $found = "no" ; then
   9551 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 		fi
   9554 
   9555 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9557 		fi
   9558 
   9559 		CFLAGS="$CFLAGS -Waddress"
   9560 
   9561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9562 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9563 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   9564 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9568 /* end confdefs.h.  */
   9569 int i;
   9570 int
   9571 main ()
   9572 {
   9573 
   9574   ;
   9575   return 0;
   9576 }
   9577 _ACEOF
   9578 if ac_fn_c_try_link "$LINENO"; then :
   9579   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9580 else
   9581   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9582 fi
   9583 rm -f core conftest.err conftest.$ac_objext \
   9584     conftest$ac_exeext conftest.$ac_ext
   9585 fi
   9586 
   9587 
   9588 		CFLAGS="$xorg_testset_save_CFLAGS"
   9589 
   9590 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9592 $as_echo "$supported" >&6; }
   9593 		if test "$supported" = "yes" ; then
   9594 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9595 			found="yes"
   9596 		fi
   9597 	fi
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 xorg_testset_save_CFLAGS="$CFLAGS"
   9612 
   9613 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9616 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9617 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9618   $as_echo_n "(cached) " >&6
   9619 else
   9620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9621 /* end confdefs.h.  */
   9622 int i;
   9623 _ACEOF
   9624 if ac_fn_c_try_compile "$LINENO"; then :
   9625   xorg_cv_compiler_flag_unknown_warning_option=yes
   9626 else
   9627   xorg_cv_compiler_flag_unknown_warning_option=no
   9628 fi
   9629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9630 fi
   9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9632 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9633 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9634 	CFLAGS="$xorg_testset_save_CFLAGS"
   9635 fi
   9636 
   9637 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9638 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	fi
   9641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9643 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9644 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9645   $as_echo_n "(cached) " >&6
   9646 else
   9647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 _ACEOF
   9651 if ac_fn_c_try_compile "$LINENO"; then :
   9652   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9653 else
   9654   xorg_cv_compiler_flag_unused_command_line_argument=no
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9657 fi
   9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9659 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9660 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9661 	CFLAGS="$xorg_testset_save_CFLAGS"
   9662 fi
   9663 
   9664 found="no"
   9665 
   9666 	if test $found = "no" ; then
   9667 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 		fi
   9670 
   9671 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9673 		fi
   9674 
   9675 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9676 
   9677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9678 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9679 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   9680 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9681   $as_echo_n "(cached) " >&6
   9682 else
   9683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9684 /* end confdefs.h.  */
   9685 int i;
   9686 int
   9687 main ()
   9688 {
   9689 
   9690   ;
   9691   return 0;
   9692 }
   9693 _ACEOF
   9694 if ac_fn_c_try_link "$LINENO"; then :
   9695   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9696 else
   9697   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9698 fi
   9699 rm -f core conftest.err conftest.$ac_objext \
   9700     conftest$ac_exeext conftest.$ac_ext
   9701 fi
   9702 
   9703 
   9704 		CFLAGS="$xorg_testset_save_CFLAGS"
   9705 
   9706 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9708 $as_echo "$supported" >&6; }
   9709 		if test "$supported" = "yes" ; then
   9710 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9711 			found="yes"
   9712 		fi
   9713 	fi
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 xorg_testset_save_CFLAGS="$CFLAGS"
   9728 
   9729 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9732 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9733 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9734   $as_echo_n "(cached) " >&6
   9735 else
   9736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9737 /* end confdefs.h.  */
   9738 int i;
   9739 _ACEOF
   9740 if ac_fn_c_try_compile "$LINENO"; then :
   9741   xorg_cv_compiler_flag_unknown_warning_option=yes
   9742 else
   9743   xorg_cv_compiler_flag_unknown_warning_option=no
   9744 fi
   9745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9746 fi
   9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9748 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9749 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9750 	CFLAGS="$xorg_testset_save_CFLAGS"
   9751 fi
   9752 
   9753 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9754 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9756 	fi
   9757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9759 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9760 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 _ACEOF
   9767 if ac_fn_c_try_compile "$LINENO"; then :
   9768   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9769 else
   9770   xorg_cv_compiler_flag_unused_command_line_argument=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9773 fi
   9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9775 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9776 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9777 	CFLAGS="$xorg_testset_save_CFLAGS"
   9778 fi
   9779 
   9780 found="no"
   9781 
   9782 	if test $found = "no" ; then
   9783 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9785 		fi
   9786 
   9787 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9789 		fi
   9790 
   9791 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9792 
   9793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9794 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9795 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   9796 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9797   $as_echo_n "(cached) " >&6
   9798 else
   9799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9800 /* end confdefs.h.  */
   9801 int i;
   9802 int
   9803 main ()
   9804 {
   9805 
   9806   ;
   9807   return 0;
   9808 }
   9809 _ACEOF
   9810 if ac_fn_c_try_link "$LINENO"; then :
   9811   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9812 else
   9813   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9814 fi
   9815 rm -f core conftest.err conftest.$ac_objext \
   9816     conftest$ac_exeext conftest.$ac_ext
   9817 fi
   9818 
   9819 
   9820 		CFLAGS="$xorg_testset_save_CFLAGS"
   9821 
   9822 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9824 $as_echo "$supported" >&6; }
   9825 		if test "$supported" = "yes" ; then
   9826 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9827 			found="yes"
   9828 		fi
   9829 	fi
   9830 
   9831 
   9832 fi
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 		CWARNFLAGS="$BASE_CFLAGS"
   9841 		if  test "x$GCC" = xyes ; then
   9842 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9843 		fi
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 # Check whether --enable-strict-compilation was given.
   9853 if test "${enable_strict_compilation+set}" = set; then :
   9854   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9855 else
   9856   STRICT_COMPILE=no
   9857 fi
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 STRICT_CFLAGS=""
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 xorg_testset_save_CFLAGS="$CFLAGS"
   9877 
   9878 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9881 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9882 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9883   $as_echo_n "(cached) " >&6
   9884 else
   9885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 _ACEOF
   9889 if ac_fn_c_try_compile "$LINENO"; then :
   9890   xorg_cv_compiler_flag_unknown_warning_option=yes
   9891 else
   9892   xorg_cv_compiler_flag_unknown_warning_option=no
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9895 fi
   9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9897 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9898 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9899 	CFLAGS="$xorg_testset_save_CFLAGS"
   9900 fi
   9901 
   9902 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9903 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9905 	fi
   9906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9908 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9909 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} 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_compiler_flag_unused_command_line_argument=yes
   9918 else
   9919   xorg_cv_compiler_flag_unused_command_line_argument=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_compiler_flag_unused_command_line_argument" >&5
   9924 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9925 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 found="no"
   9930 
   9931 	if test $found = "no" ; then
   9932 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 		fi
   9935 
   9936 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 		fi
   9939 
   9940 		CFLAGS="$CFLAGS -pedantic"
   9941 
   9942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9943 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9944 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   9945 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 int
   9952 main ()
   9953 {
   9954 
   9955   ;
   9956   return 0;
   9957 }
   9958 _ACEOF
   9959 if ac_fn_c_try_link "$LINENO"; then :
   9960   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9961 else
   9962   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9963 fi
   9964 rm -f core conftest.err conftest.$ac_objext \
   9965     conftest$ac_exeext conftest.$ac_ext
   9966 fi
   9967 
   9968 
   9969 		CFLAGS="$xorg_testset_save_CFLAGS"
   9970 
   9971 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9973 $as_echo "$supported" >&6; }
   9974 		if test "$supported" = "yes" ; then
   9975 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9976 			found="yes"
   9977 		fi
   9978 	fi
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 xorg_testset_save_CFLAGS="$CFLAGS"
   9993 
   9994 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9997 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9998 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9999   $as_echo_n "(cached) " >&6
   10000 else
   10001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10002 /* end confdefs.h.  */
   10003 int i;
   10004 _ACEOF
   10005 if ac_fn_c_try_compile "$LINENO"; then :
   10006   xorg_cv_compiler_flag_unknown_warning_option=yes
   10007 else
   10008   xorg_cv_compiler_flag_unknown_warning_option=no
   10009 fi
   10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10011 fi
   10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   10013 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   10014 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   10015 	CFLAGS="$xorg_testset_save_CFLAGS"
   10016 fi
   10017 
   10018 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   10019 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10021 	fi
   10022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   10024 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   10025 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   10026   $as_echo_n "(cached) " >&6
   10027 else
   10028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10029 /* end confdefs.h.  */
   10030 int i;
   10031 _ACEOF
   10032 if ac_fn_c_try_compile "$LINENO"; then :
   10033   xorg_cv_compiler_flag_unused_command_line_argument=yes
   10034 else
   10035   xorg_cv_compiler_flag_unused_command_line_argument=no
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10038 fi
   10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   10040 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   10041 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   10042 	CFLAGS="$xorg_testset_save_CFLAGS"
   10043 fi
   10044 
   10045 found="no"
   10046 
   10047 	if test $found = "no" ; then
   10048 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 		fi
   10051 
   10052 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 		fi
   10055 
   10056 		CFLAGS="$CFLAGS -Werror"
   10057 
   10058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10059 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10060 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   10061 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10062   $as_echo_n "(cached) " >&6
   10063 else
   10064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10065 /* end confdefs.h.  */
   10066 int i;
   10067 int
   10068 main ()
   10069 {
   10070 
   10071   ;
   10072   return 0;
   10073 }
   10074 _ACEOF
   10075 if ac_fn_c_try_link "$LINENO"; then :
   10076   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10077 else
   10078   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10079 fi
   10080 rm -f core conftest.err conftest.$ac_objext \
   10081     conftest$ac_exeext conftest.$ac_ext
   10082 fi
   10083 
   10084 
   10085 		CFLAGS="$xorg_testset_save_CFLAGS"
   10086 
   10087 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10089 $as_echo "$supported" >&6; }
   10090 		if test "$supported" = "yes" ; then
   10091 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10092 			found="yes"
   10093 		fi
   10094 	fi
   10095 
   10096 	if test $found = "no" ; then
   10097 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 		fi
   10100 
   10101 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10103 		fi
   10104 
   10105 		CFLAGS="$CFLAGS -errwarn"
   10106 
   10107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10108 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10109 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   10110 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10111   $as_echo_n "(cached) " >&6
   10112 else
   10113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10114 /* end confdefs.h.  */
   10115 int i;
   10116 int
   10117 main ()
   10118 {
   10119 
   10120   ;
   10121   return 0;
   10122 }
   10123 _ACEOF
   10124 if ac_fn_c_try_link "$LINENO"; then :
   10125   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10126 else
   10127   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext \
   10130     conftest$ac_exeext conftest.$ac_ext
   10131 fi
   10132 
   10133 
   10134 		CFLAGS="$xorg_testset_save_CFLAGS"
   10135 
   10136 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10138 $as_echo "$supported" >&6; }
   10139 		if test "$supported" = "yes" ; then
   10140 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10141 			found="yes"
   10142 		fi
   10143 	fi
   10144 
   10145 
   10146 
   10147 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10148 # activate it with -Werror, so we add it here explicitly.
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 xorg_testset_save_CFLAGS="$CFLAGS"
   10161 
   10162 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   10163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   10165 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   10166 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   10167   $as_echo_n "(cached) " >&6
   10168 else
   10169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10170 /* end confdefs.h.  */
   10171 int i;
   10172 _ACEOF
   10173 if ac_fn_c_try_compile "$LINENO"; then :
   10174   xorg_cv_compiler_flag_unknown_warning_option=yes
   10175 else
   10176   xorg_cv_compiler_flag_unknown_warning_option=no
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10179 fi
   10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   10181 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   10182 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   10183 	CFLAGS="$xorg_testset_save_CFLAGS"
   10184 fi
   10185 
   10186 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   10187 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 	fi
   10190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   10192 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   10193 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   10194   $as_echo_n "(cached) " >&6
   10195 else
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"; then :
   10201   xorg_cv_compiler_flag_unused_command_line_argument=yes
   10202 else
   10203   xorg_cv_compiler_flag_unused_command_line_argument=no
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10206 fi
   10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   10208 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   10209 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   10210 	CFLAGS="$xorg_testset_save_CFLAGS"
   10211 fi
   10212 
   10213 found="no"
   10214 
   10215 	if test $found = "no" ; then
   10216 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10218 		fi
   10219 
   10220 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10222 		fi
   10223 
   10224 		CFLAGS="$CFLAGS -Werror=attributes"
   10225 
   10226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10227 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10228 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   10229 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10233 /* end confdefs.h.  */
   10234 int i;
   10235 int
   10236 main ()
   10237 {
   10238 
   10239   ;
   10240   return 0;
   10241 }
   10242 _ACEOF
   10243 if ac_fn_c_try_link "$LINENO"; then :
   10244   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10245 else
   10246   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext \
   10249     conftest$ac_exeext conftest.$ac_ext
   10250 fi
   10251 
   10252 
   10253 		CFLAGS="$xorg_testset_save_CFLAGS"
   10254 
   10255 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10257 $as_echo "$supported" >&6; }
   10258 		if test "$supported" = "yes" ; then
   10259 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10260 			found="yes"
   10261 		fi
   10262 	fi
   10263 
   10264 
   10265 
   10266 if test "x$STRICT_COMPILE" = "xyes"; then
   10267     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10268     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10269 fi
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 cat >>confdefs.h <<_ACEOF
   10277 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10278 _ACEOF
   10279 
   10280 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10281 	if test "x$PVM" = "x"; then
   10282 		PVM="0"
   10283 	fi
   10284 
   10285 cat >>confdefs.h <<_ACEOF
   10286 #define PACKAGE_VERSION_MINOR $PVM
   10287 _ACEOF
   10288 
   10289 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10290 	if test "x$PVP" = "x"; then
   10291 		PVP="0"
   10292 	fi
   10293 
   10294 cat >>confdefs.h <<_ACEOF
   10295 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10296 _ACEOF
   10297 
   10298 
   10299 
   10300 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10301 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10302 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10303 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10304 
   10305 
   10306 
   10307 
   10308 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10309 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10310 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10311 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10312 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 if test x$APP_MAN_SUFFIX = x    ; then
   10320     APP_MAN_SUFFIX=1
   10321 fi
   10322 if test x$APP_MAN_DIR = x    ; then
   10323     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10324 fi
   10325 
   10326 if test x$LIB_MAN_SUFFIX = x    ; then
   10327     LIB_MAN_SUFFIX=3
   10328 fi
   10329 if test x$LIB_MAN_DIR = x    ; then
   10330     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10331 fi
   10332 
   10333 if test x$FILE_MAN_SUFFIX = x    ; then
   10334     case $host_os in
   10335 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10336 	*)		FILE_MAN_SUFFIX=5  ;;
   10337     esac
   10338 fi
   10339 if test x$FILE_MAN_DIR = x    ; then
   10340     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10341 fi
   10342 
   10343 if test x$MISC_MAN_SUFFIX = x    ; then
   10344     case $host_os in
   10345 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10346 	*)		MISC_MAN_SUFFIX=7  ;;
   10347     esac
   10348 fi
   10349 if test x$MISC_MAN_DIR = x    ; then
   10350     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10351 fi
   10352 
   10353 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10354     case $host_os in
   10355 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10356 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10357     esac
   10358 fi
   10359 if test x$DRIVER_MAN_DIR = x    ; then
   10360     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10361 fi
   10362 
   10363 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10364     case $host_os in
   10365 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10366 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10367     esac
   10368 fi
   10369 if test x$ADMIN_MAN_DIR = x    ; then
   10370     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10371 fi
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 XORG_MAN_PAGE="X Version 11"
   10388 
   10389 MAN_SUBSTS="\
   10390 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10391 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10392 	-e 's|__xservername__|Xorg|g' \
   10393 	-e 's|__xconfigfile__|xorg.conf|g' \
   10394 	-e 's|__projectroot__|\$(prefix)|g' \
   10395 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10396 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10397 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10398 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10399 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10400 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10401 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10402 
   10403 
   10404 
   10405 # Check whether --enable-silent-rules was given.
   10406 if test "${enable_silent_rules+set}" = set; then :
   10407   enableval=$enable_silent_rules;
   10408 fi
   10409 
   10410 case $enable_silent_rules in
   10411 yes) AM_DEFAULT_VERBOSITY=0;;
   10412 no)  AM_DEFAULT_VERBOSITY=1;;
   10413 *)   AM_DEFAULT_VERBOSITY=0;;
   10414 esac
   10415 AM_BACKSLASH='\'
   10416 
   10417 
   10418 
   10419 # Avoid stat() failures if a file has a size that doesn't fit in 32-bits
   10420 # Check whether --enable-largefile was given.
   10421 if test "${enable_largefile+set}" = set; then :
   10422   enableval=$enable_largefile;
   10423 fi
   10424 
   10425 if test "$enable_largefile" != no; then
   10426 
   10427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   10428 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   10429 if ${ac_cv_sys_largefile_CC+:} false; then :
   10430   $as_echo_n "(cached) " >&6
   10431 else
   10432   ac_cv_sys_largefile_CC=no
   10433      if test "$GCC" != yes; then
   10434        ac_save_CC=$CC
   10435        while :; do
   10436 	 # IRIX 6.2 and later do not support large files by default,
   10437 	 # so use the C compiler's -n32 option if that helps.
   10438 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10439 /* end confdefs.h.  */
   10440 #include <sys/types.h>
   10441  /* Check that off_t can represent 2**63 - 1 correctly.
   10442     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10443     since some C++ compilers masquerading as C compilers
   10444     incorrectly reject 9223372036854775807.  */
   10445 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10446   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10447 		       && LARGE_OFF_T % 2147483647 == 1)
   10448 		      ? 1 : -1];
   10449 int
   10450 main ()
   10451 {
   10452 
   10453   ;
   10454   return 0;
   10455 }
   10456 _ACEOF
   10457 	 if ac_fn_c_try_compile "$LINENO"; then :
   10458   break
   10459 fi
   10460 rm -f core conftest.err conftest.$ac_objext
   10461 	 CC="$CC -n32"
   10462 	 if ac_fn_c_try_compile "$LINENO"; then :
   10463   ac_cv_sys_largefile_CC=' -n32'; break
   10464 fi
   10465 rm -f core conftest.err conftest.$ac_objext
   10466 	 break
   10467        done
   10468        CC=$ac_save_CC
   10469        rm -f conftest.$ac_ext
   10470     fi
   10471 fi
   10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   10473 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   10474   if test "$ac_cv_sys_largefile_CC" != no; then
   10475     CC=$CC$ac_cv_sys_largefile_CC
   10476   fi
   10477 
   10478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   10479 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   10480 if ${ac_cv_sys_file_offset_bits+:} false; then :
   10481   $as_echo_n "(cached) " >&6
   10482 else
   10483   while :; do
   10484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 #include <sys/types.h>
   10487  /* Check that off_t can represent 2**63 - 1 correctly.
   10488     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10489     since some C++ compilers masquerading as C compilers
   10490     incorrectly reject 9223372036854775807.  */
   10491 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10492   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10493 		       && LARGE_OFF_T % 2147483647 == 1)
   10494 		      ? 1 : -1];
   10495 int
   10496 main ()
   10497 {
   10498 
   10499   ;
   10500   return 0;
   10501 }
   10502 _ACEOF
   10503 if ac_fn_c_try_compile "$LINENO"; then :
   10504   ac_cv_sys_file_offset_bits=no; break
   10505 fi
   10506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10508 /* end confdefs.h.  */
   10509 #define _FILE_OFFSET_BITS 64
   10510 #include <sys/types.h>
   10511  /* Check that off_t can represent 2**63 - 1 correctly.
   10512     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10513     since some C++ compilers masquerading as C compilers
   10514     incorrectly reject 9223372036854775807.  */
   10515 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10516   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10517 		       && LARGE_OFF_T % 2147483647 == 1)
   10518 		      ? 1 : -1];
   10519 int
   10520 main ()
   10521 {
   10522 
   10523   ;
   10524   return 0;
   10525 }
   10526 _ACEOF
   10527 if ac_fn_c_try_compile "$LINENO"; then :
   10528   ac_cv_sys_file_offset_bits=64; break
   10529 fi
   10530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10531   ac_cv_sys_file_offset_bits=unknown
   10532   break
   10533 done
   10534 fi
   10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   10536 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   10537 case $ac_cv_sys_file_offset_bits in #(
   10538   no | unknown) ;;
   10539   *)
   10540 cat >>confdefs.h <<_ACEOF
   10541 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   10542 _ACEOF
   10543 ;;
   10544 esac
   10545 rm -rf conftest*
   10546   if test $ac_cv_sys_file_offset_bits = unknown; then
   10547     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   10548 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   10549 if ${ac_cv_sys_large_files+:} false; then :
   10550   $as_echo_n "(cached) " >&6
   10551 else
   10552   while :; do
   10553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10554 /* end confdefs.h.  */
   10555 #include <sys/types.h>
   10556  /* Check that off_t can represent 2**63 - 1 correctly.
   10557     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10558     since some C++ compilers masquerading as C compilers
   10559     incorrectly reject 9223372036854775807.  */
   10560 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10561   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10562 		       && LARGE_OFF_T % 2147483647 == 1)
   10563 		      ? 1 : -1];
   10564 int
   10565 main ()
   10566 {
   10567 
   10568   ;
   10569   return 0;
   10570 }
   10571 _ACEOF
   10572 if ac_fn_c_try_compile "$LINENO"; then :
   10573   ac_cv_sys_large_files=no; break
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10577 /* end confdefs.h.  */
   10578 #define _LARGE_FILES 1
   10579 #include <sys/types.h>
   10580  /* Check that off_t can represent 2**63 - 1 correctly.
   10581     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10582     since some C++ compilers masquerading as C compilers
   10583     incorrectly reject 9223372036854775807.  */
   10584 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10585   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10586 		       && LARGE_OFF_T % 2147483647 == 1)
   10587 		      ? 1 : -1];
   10588 int
   10589 main ()
   10590 {
   10591 
   10592   ;
   10593   return 0;
   10594 }
   10595 _ACEOF
   10596 if ac_fn_c_try_compile "$LINENO"; then :
   10597   ac_cv_sys_large_files=1; break
   10598 fi
   10599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10600   ac_cv_sys_large_files=unknown
   10601   break
   10602 done
   10603 fi
   10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   10605 $as_echo "$ac_cv_sys_large_files" >&6; }
   10606 case $ac_cv_sys_large_files in #(
   10607   no | unknown) ;;
   10608   *)
   10609 cat >>confdefs.h <<_ACEOF
   10610 #define _LARGE_FILES $ac_cv_sys_large_files
   10611 _ACEOF
   10612 ;;
   10613 esac
   10614 rm -rf conftest*
   10615   fi
   10616 fi
   10617 
   10618 
   10619 # Checks for pkg-config packages
   10620 
   10621 pkg_failed=no
   10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   10623 $as_echo_n "checking for XPROTO... " >&6; }
   10624 
   10625 if test -n "$XPROTO_CFLAGS"; then
   10626     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   10627  elif test -n "$PKG_CONFIG"; then
   10628     if test -n "$PKG_CONFIG" && \
   10629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10630   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10631   ac_status=$?
   10632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10633   test $ac_status = 0; }; then
   10634   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17" 2>/dev/null`
   10635 else
   10636   pkg_failed=yes
   10637 fi
   10638  else
   10639     pkg_failed=untried
   10640 fi
   10641 if test -n "$XPROTO_LIBS"; then
   10642     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   10643  elif test -n "$PKG_CONFIG"; then
   10644     if test -n "$PKG_CONFIG" && \
   10645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10646   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10647   ac_status=$?
   10648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10649   test $ac_status = 0; }; then
   10650   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17" 2>/dev/null`
   10651 else
   10652   pkg_failed=yes
   10653 fi
   10654  else
   10655     pkg_failed=untried
   10656 fi
   10657 
   10658 
   10659 
   10660 if test $pkg_failed = yes; then
   10661 
   10662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10663         _pkg_short_errors_supported=yes
   10664 else
   10665         _pkg_short_errors_supported=no
   10666 fi
   10667         if test $_pkg_short_errors_supported = yes; then
   10668 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17" 2>&1`
   10669         else
   10670 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17" 2>&1`
   10671         fi
   10672 	# Put the nasty error message in config.log where it belongs
   10673 	echo "$XPROTO_PKG_ERRORS" >&5
   10674 
   10675 	as_fn_error $? "Package requirements (xproto >= 7.0.17) were not met:
   10676 
   10677 $XPROTO_PKG_ERRORS
   10678 
   10679 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10680 installed software in a non-standard prefix.
   10681 
   10682 Alternatively, you may set the environment variables XPROTO_CFLAGS
   10683 and XPROTO_LIBS to avoid the need to call pkg-config.
   10684 See the pkg-config man page for more details.
   10685 " "$LINENO" 5
   10686 elif test $pkg_failed = untried; then
   10687 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10689 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10690 is in your PATH or set the PKG_CONFIG environment variable to the full
   10691 path to pkg-config.
   10692 
   10693 Alternatively, you may set the environment variables XPROTO_CFLAGS
   10694 and XPROTO_LIBS to avoid the need to call pkg-config.
   10695 See the pkg-config man page for more details.
   10696 
   10697 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10698 See \`config.log' for more details" "$LINENO" 5; }
   10699 else
   10700 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   10701 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   10702         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10703 $as_echo "yes" >&6; }
   10704 	:
   10705 fi
   10706 
   10707 ac_config_files="$ac_config_files Makefile"
   10708 
   10709 cat >confcache <<\_ACEOF
   10710 # This file is a shell script that caches the results of configure
   10711 # tests run on this system so they can be shared between configure
   10712 # scripts and configure runs, see configure's option --config-cache.
   10713 # It is not useful on other systems.  If it contains results you don't
   10714 # want to keep, you may remove or edit it.
   10715 #
   10716 # config.status only pays attention to the cache file if you give it
   10717 # the --recheck option to rerun configure.
   10718 #
   10719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10721 # following values.
   10722 
   10723 _ACEOF
   10724 
   10725 # The following way of writing the cache mishandles newlines in values,
   10726 # but we know of no workaround that is simple, portable, and efficient.
   10727 # So, we kill variables containing newlines.
   10728 # Ultrix sh set writes to stderr and can't be redirected directly,
   10729 # and sets the high bit in the cache file unless we assign to the vars.
   10730 (
   10731   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10732     eval ac_val=\$$ac_var
   10733     case $ac_val in #(
   10734     *${as_nl}*)
   10735       case $ac_var in #(
   10736       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10738       esac
   10739       case $ac_var in #(
   10740       _ | IFS | as_nl) ;; #(
   10741       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10742       *) { eval $ac_var=; unset $ac_var;} ;;
   10743       esac ;;
   10744     esac
   10745   done
   10746 
   10747   (set) 2>&1 |
   10748     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10749     *${as_nl}ac_space=\ *)
   10750       # `set' does not quote correctly, so add quotes: double-quote
   10751       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10752       sed -n \
   10753 	"s/'/'\\\\''/g;
   10754 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10755       ;; #(
   10756     *)
   10757       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10758       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10759       ;;
   10760     esac |
   10761     sort
   10762 ) |
   10763   sed '
   10764      /^ac_cv_env_/b end
   10765      t clear
   10766      :clear
   10767      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10768      t end
   10769      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10770      :end' >>confcache
   10771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10772   if test -w "$cache_file"; then
   10773     if test "x$cache_file" != "x/dev/null"; then
   10774       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10775 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10776       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10777 	cat confcache >"$cache_file"
   10778       else
   10779         case $cache_file in #(
   10780         */* | ?:*)
   10781 	  mv -f confcache "$cache_file"$$ &&
   10782 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10783         *)
   10784 	  mv -f confcache "$cache_file" ;;
   10785 	esac
   10786       fi
   10787     fi
   10788   else
   10789     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10790 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10791   fi
   10792 fi
   10793 rm -f confcache
   10794 
   10795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10796 # Let make expand exec_prefix.
   10797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10798 
   10799 DEFS=-DHAVE_CONFIG_H
   10800 
   10801 ac_libobjs=
   10802 ac_ltlibobjs=
   10803 U=
   10804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10805   # 1. Remove the extension, and $U if already installed.
   10806   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10807   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10808   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10809   #    will be set to the directory where LIBOBJS objects are built.
   10810   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10811   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10812 done
   10813 LIBOBJS=$ac_libobjs
   10814 
   10815 LTLIBOBJS=$ac_ltlibobjs
   10816 
   10817 
   10818 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10819   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10821 fi
   10822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10823   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10825 fi
   10826  if test -n "$EXEEXT"; then
   10827   am__EXEEXT_TRUE=
   10828   am__EXEEXT_FALSE='#'
   10829 else
   10830   am__EXEEXT_TRUE='#'
   10831   am__EXEEXT_FALSE=
   10832 fi
   10833 
   10834 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10835   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10837 fi
   10838 
   10839 : "${CONFIG_STATUS=./config.status}"
   10840 ac_write_fail=0
   10841 ac_clean_files_save=$ac_clean_files
   10842 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10844 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10845 as_write_fail=0
   10846 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10847 #! $SHELL
   10848 # Generated by $as_me.
   10849 # Run this file to recreate the current configuration.
   10850 # Compiler output produced by configure, useful for debugging
   10851 # configure, is in config.log if it exists.
   10852 
   10853 debug=false
   10854 ac_cs_recheck=false
   10855 ac_cs_silent=false
   10856 
   10857 SHELL=\${CONFIG_SHELL-$SHELL}
   10858 export SHELL
   10859 _ASEOF
   10860 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10861 ## -------------------- ##
   10862 ## M4sh Initialization. ##
   10863 ## -------------------- ##
   10864 
   10865 # Be more Bourne compatible
   10866 DUALCASE=1; export DUALCASE # for MKS sh
   10867 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10868   emulate sh
   10869   NULLCMD=:
   10870   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10871   # is contrary to our usage.  Disable this feature.
   10872   alias -g '${1+"$@"}'='"$@"'
   10873   setopt NO_GLOB_SUBST
   10874 else
   10875   case `(set -o) 2>/dev/null` in #(
   10876   *posix*) :
   10877     set -o posix ;; #(
   10878   *) :
   10879      ;;
   10880 esac
   10881 fi
   10882 
   10883 
   10884 as_nl='
   10885 '
   10886 export as_nl
   10887 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10888 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10890 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10891 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10892 # but without wasting forks for bash or zsh.
   10893 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10894     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10895   as_echo='print -r --'
   10896   as_echo_n='print -rn --'
   10897 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10898   as_echo='printf %s\n'
   10899   as_echo_n='printf %s'
   10900 else
   10901   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10902     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10903     as_echo_n='/usr/ucb/echo -n'
   10904   else
   10905     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10906     as_echo_n_body='eval
   10907       arg=$1;
   10908       case $arg in #(
   10909       *"$as_nl"*)
   10910 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10911 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10912       esac;
   10913       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10914     '
   10915     export as_echo_n_body
   10916     as_echo_n='sh -c $as_echo_n_body as_echo'
   10917   fi
   10918   export as_echo_body
   10919   as_echo='sh -c $as_echo_body as_echo'
   10920 fi
   10921 
   10922 # The user is always right.
   10923 if test "${PATH_SEPARATOR+set}" != set; then
   10924   PATH_SEPARATOR=:
   10925   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10926     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10927       PATH_SEPARATOR=';'
   10928   }
   10929 fi
   10930 
   10931 
   10932 # IFS
   10933 # We need space, tab and new line, in precisely that order.  Quoting is
   10934 # there to prevent editors from complaining about space-tab.
   10935 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10936 # splitting by setting IFS to empty value.)
   10937 IFS=" ""	$as_nl"
   10938 
   10939 # Find who we are.  Look in the path if we contain no directory separator.
   10940 as_myself=
   10941 case $0 in #((
   10942   *[\\/]* ) as_myself=$0 ;;
   10943   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10944 for as_dir in $PATH
   10945 do
   10946   IFS=$as_save_IFS
   10947   test -z "$as_dir" && as_dir=.
   10948     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10949   done
   10950 IFS=$as_save_IFS
   10951 
   10952      ;;
   10953 esac
   10954 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10955 # in which case we are not to be found in the path.
   10956 if test "x$as_myself" = x; then
   10957   as_myself=$0
   10958 fi
   10959 if test ! -f "$as_myself"; then
   10960   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10961   exit 1
   10962 fi
   10963 
   10964 # Unset variables that we do not need and which cause bugs (e.g. in
   10965 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10966 # suppresses any "Segmentation fault" message there.  '((' could
   10967 # trigger a bug in pdksh 5.2.14.
   10968 for as_var in BASH_ENV ENV MAIL MAILPATH
   10969 do eval test x\${$as_var+set} = xset \
   10970   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10971 done
   10972 PS1='$ '
   10973 PS2='> '
   10974 PS4='+ '
   10975 
   10976 # NLS nuisances.
   10977 LC_ALL=C
   10978 export LC_ALL
   10979 LANGUAGE=C
   10980 export LANGUAGE
   10981 
   10982 # CDPATH.
   10983 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10984 
   10985 
   10986 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10987 # ----------------------------------------
   10988 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10989 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10990 # script with STATUS, using 1 if that was 0.
   10991 as_fn_error ()
   10992 {
   10993   as_status=$1; test $as_status -eq 0 && as_status=1
   10994   if test "$4"; then
   10995     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10996     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10997   fi
   10998   $as_echo "$as_me: error: $2" >&2
   10999   as_fn_exit $as_status
   11000 } # as_fn_error
   11001 
   11002 
   11003 # as_fn_set_status STATUS
   11004 # -----------------------
   11005 # Set $? to STATUS, without forking.
   11006 as_fn_set_status ()
   11007 {
   11008   return $1
   11009 } # as_fn_set_status
   11010 
   11011 # as_fn_exit STATUS
   11012 # -----------------
   11013 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11014 as_fn_exit ()
   11015 {
   11016   set +e
   11017   as_fn_set_status $1
   11018   exit $1
   11019 } # as_fn_exit
   11020 
   11021 # as_fn_unset VAR
   11022 # ---------------
   11023 # Portably unset VAR.
   11024 as_fn_unset ()
   11025 {
   11026   { eval $1=; unset $1;}
   11027 }
   11028 as_unset=as_fn_unset
   11029 # as_fn_append VAR VALUE
   11030 # ----------------------
   11031 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11032 # advantage of any shell optimizations that allow amortized linear growth over
   11033 # repeated appends, instead of the typical quadratic growth present in naive
   11034 # implementations.
   11035 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11036   eval 'as_fn_append ()
   11037   {
   11038     eval $1+=\$2
   11039   }'
   11040 else
   11041   as_fn_append ()
   11042   {
   11043     eval $1=\$$1\$2
   11044   }
   11045 fi # as_fn_append
   11046 
   11047 # as_fn_arith ARG...
   11048 # ------------------
   11049 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11050 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11051 # must be portable across $(()) and expr.
   11052 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11053   eval 'as_fn_arith ()
   11054   {
   11055     as_val=$(( $* ))
   11056   }'
   11057 else
   11058   as_fn_arith ()
   11059   {
   11060     as_val=`expr "$@" || test $? -eq 1`
   11061   }
   11062 fi # as_fn_arith
   11063 
   11064 
   11065 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11066    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11067   as_expr=expr
   11068 else
   11069   as_expr=false
   11070 fi
   11071 
   11072 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11073   as_basename=basename
   11074 else
   11075   as_basename=false
   11076 fi
   11077 
   11078 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11079   as_dirname=dirname
   11080 else
   11081   as_dirname=false
   11082 fi
   11083 
   11084 as_me=`$as_basename -- "$0" ||
   11085 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11086 	 X"$0" : 'X\(//\)$' \| \
   11087 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11088 $as_echo X/"$0" |
   11089     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11090 	    s//\1/
   11091 	    q
   11092 	  }
   11093 	  /^X\/\(\/\/\)$/{
   11094 	    s//\1/
   11095 	    q
   11096 	  }
   11097 	  /^X\/\(\/\).*/{
   11098 	    s//\1/
   11099 	    q
   11100 	  }
   11101 	  s/.*/./; q'`
   11102 
   11103 # Avoid depending upon Character Ranges.
   11104 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11105 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11106 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11107 as_cr_digits='0123456789'
   11108 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11109 
   11110 ECHO_C= ECHO_N= ECHO_T=
   11111 case `echo -n x` in #(((((
   11112 -n*)
   11113   case `echo 'xy\c'` in
   11114   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11115   xy)  ECHO_C='\c';;
   11116   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11117        ECHO_T='	';;
   11118   esac;;
   11119 *)
   11120   ECHO_N='-n';;
   11121 esac
   11122 
   11123 rm -f conf$$ conf$$.exe conf$$.file
   11124 if test -d conf$$.dir; then
   11125   rm -f conf$$.dir/conf$$.file
   11126 else
   11127   rm -f conf$$.dir
   11128   mkdir conf$$.dir 2>/dev/null
   11129 fi
   11130 if (echo >conf$$.file) 2>/dev/null; then
   11131   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11132     as_ln_s='ln -s'
   11133     # ... but there are two gotchas:
   11134     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11135     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11136     # In both cases, we have to default to `cp -p'.
   11137     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11138       as_ln_s='cp -p'
   11139   elif ln conf$$.file conf$$ 2>/dev/null; then
   11140     as_ln_s=ln
   11141   else
   11142     as_ln_s='cp -p'
   11143   fi
   11144 else
   11145   as_ln_s='cp -p'
   11146 fi
   11147 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11148 rmdir conf$$.dir 2>/dev/null
   11149 
   11150 
   11151 # as_fn_mkdir_p
   11152 # -------------
   11153 # Create "$as_dir" as a directory, including parents if necessary.
   11154 as_fn_mkdir_p ()
   11155 {
   11156 
   11157   case $as_dir in #(
   11158   -*) as_dir=./$as_dir;;
   11159   esac
   11160   test -d "$as_dir" || eval $as_mkdir_p || {
   11161     as_dirs=
   11162     while :; do
   11163       case $as_dir in #(
   11164       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11165       *) as_qdir=$as_dir;;
   11166       esac
   11167       as_dirs="'$as_qdir' $as_dirs"
   11168       as_dir=`$as_dirname -- "$as_dir" ||
   11169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11170 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11171 	 X"$as_dir" : 'X\(//\)$' \| \
   11172 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11173 $as_echo X"$as_dir" |
   11174     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11175 	    s//\1/
   11176 	    q
   11177 	  }
   11178 	  /^X\(\/\/\)[^/].*/{
   11179 	    s//\1/
   11180 	    q
   11181 	  }
   11182 	  /^X\(\/\/\)$/{
   11183 	    s//\1/
   11184 	    q
   11185 	  }
   11186 	  /^X\(\/\).*/{
   11187 	    s//\1/
   11188 	    q
   11189 	  }
   11190 	  s/.*/./; q'`
   11191       test -d "$as_dir" && break
   11192     done
   11193     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11194   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11195 
   11196 
   11197 } # as_fn_mkdir_p
   11198 if mkdir -p . 2>/dev/null; then
   11199   as_mkdir_p='mkdir -p "$as_dir"'
   11200 else
   11201   test -d ./-p && rmdir ./-p
   11202   as_mkdir_p=false
   11203 fi
   11204 
   11205 if test -x / >/dev/null 2>&1; then
   11206   as_test_x='test -x'
   11207 else
   11208   if ls -dL / >/dev/null 2>&1; then
   11209     as_ls_L_option=L
   11210   else
   11211     as_ls_L_option=
   11212   fi
   11213   as_test_x='
   11214     eval sh -c '\''
   11215       if test -d "$1"; then
   11216 	test -d "$1/.";
   11217       else
   11218 	case $1 in #(
   11219 	-*)set "./$1";;
   11220 	esac;
   11221 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11222 	???[sx]*):;;*)false;;esac;fi
   11223     '\'' sh
   11224   '
   11225 fi
   11226 as_executable_p=$as_test_x
   11227 
   11228 # Sed expression to map a string onto a valid CPP name.
   11229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11230 
   11231 # Sed expression to map a string onto a valid variable name.
   11232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11233 
   11234 
   11235 exec 6>&1
   11236 ## ----------------------------------- ##
   11237 ## Main body of $CONFIG_STATUS script. ##
   11238 ## ----------------------------------- ##
   11239 _ASEOF
   11240 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11241 
   11242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11243 # Save the log message, to keep $0 and so on meaningful, and to
   11244 # report actual input values of CONFIG_FILES etc. instead of their
   11245 # values after options handling.
   11246 ac_log="
   11247 This file was extended by lndir $as_me 1.0.3, which was
   11248 generated by GNU Autoconf 2.68.  Invocation command line was
   11249 
   11250   CONFIG_FILES    = $CONFIG_FILES
   11251   CONFIG_HEADERS  = $CONFIG_HEADERS
   11252   CONFIG_LINKS    = $CONFIG_LINKS
   11253   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11254   $ $0 $@
   11255 
   11256 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11257 "
   11258 
   11259 _ACEOF
   11260 
   11261 case $ac_config_files in *"
   11262 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11263 esac
   11264 
   11265 case $ac_config_headers in *"
   11266 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11267 esac
   11268 
   11269 
   11270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11271 # Files that config.status was made for.
   11272 config_files="$ac_config_files"
   11273 config_headers="$ac_config_headers"
   11274 config_commands="$ac_config_commands"
   11275 
   11276 _ACEOF
   11277 
   11278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11279 ac_cs_usage="\
   11280 \`$as_me' instantiates files and other configuration actions
   11281 from templates according to the current configuration.  Unless the files
   11282 and actions are specified as TAGs, all are instantiated by default.
   11283 
   11284 Usage: $0 [OPTION]... [TAG]...
   11285 
   11286   -h, --help       print this help, then exit
   11287   -V, --version    print version number and configuration settings, then exit
   11288       --config     print configuration, then exit
   11289   -q, --quiet, --silent
   11290                    do not print progress messages
   11291   -d, --debug      don't remove temporary files
   11292       --recheck    update $as_me by reconfiguring in the same conditions
   11293       --file=FILE[:TEMPLATE]
   11294                    instantiate the configuration file FILE
   11295       --header=FILE[:TEMPLATE]
   11296                    instantiate the configuration header FILE
   11297 
   11298 Configuration files:
   11299 $config_files
   11300 
   11301 Configuration headers:
   11302 $config_headers
   11303 
   11304 Configuration commands:
   11305 $config_commands
   11306 
   11307 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11308 
   11309 _ACEOF
   11310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11311 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11312 ac_cs_version="\\
   11313 lndir config.status 1.0.3
   11314 configured by $0, generated by GNU Autoconf 2.68,
   11315   with options \\"\$ac_cs_config\\"
   11316 
   11317 Copyright (C) 2010 Free Software Foundation, Inc.
   11318 This config.status script is free software; the Free Software Foundation
   11319 gives unlimited permission to copy, distribute and modify it."
   11320 
   11321 ac_pwd='$ac_pwd'
   11322 srcdir='$srcdir'
   11323 INSTALL='$INSTALL'
   11324 MKDIR_P='$MKDIR_P'
   11325 AWK='$AWK'
   11326 test -n "\$AWK" || AWK=awk
   11327 _ACEOF
   11328 
   11329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11330 # The default lists apply if the user does not specify any file.
   11331 ac_need_defaults=:
   11332 while test $# != 0
   11333 do
   11334   case $1 in
   11335   --*=?*)
   11336     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11337     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11338     ac_shift=:
   11339     ;;
   11340   --*=)
   11341     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11342     ac_optarg=
   11343     ac_shift=:
   11344     ;;
   11345   *)
   11346     ac_option=$1
   11347     ac_optarg=$2
   11348     ac_shift=shift
   11349     ;;
   11350   esac
   11351 
   11352   case $ac_option in
   11353   # Handling of the options.
   11354   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11355     ac_cs_recheck=: ;;
   11356   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11357     $as_echo "$ac_cs_version"; exit ;;
   11358   --config | --confi | --conf | --con | --co | --c )
   11359     $as_echo "$ac_cs_config"; exit ;;
   11360   --debug | --debu | --deb | --de | --d | -d )
   11361     debug=: ;;
   11362   --file | --fil | --fi | --f )
   11363     $ac_shift
   11364     case $ac_optarg in
   11365     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11366     '') as_fn_error $? "missing file argument" ;;
   11367     esac
   11368     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11369     ac_need_defaults=false;;
   11370   --header | --heade | --head | --hea )
   11371     $ac_shift
   11372     case $ac_optarg in
   11373     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11374     esac
   11375     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11376     ac_need_defaults=false;;
   11377   --he | --h)
   11378     # Conflict between --help and --header
   11379     as_fn_error $? "ambiguous option: \`$1'
   11380 Try \`$0 --help' for more information.";;
   11381   --help | --hel | -h )
   11382     $as_echo "$ac_cs_usage"; exit ;;
   11383   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11384   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11385     ac_cs_silent=: ;;
   11386 
   11387   # This is an error.
   11388   -*) as_fn_error $? "unrecognized option: \`$1'
   11389 Try \`$0 --help' for more information." ;;
   11390 
   11391   *) as_fn_append ac_config_targets " $1"
   11392      ac_need_defaults=false ;;
   11393 
   11394   esac
   11395   shift
   11396 done
   11397 
   11398 ac_configure_extra_args=
   11399 
   11400 if $ac_cs_silent; then
   11401   exec 6>/dev/null
   11402   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11403 fi
   11404 
   11405 _ACEOF
   11406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11407 if \$ac_cs_recheck; then
   11408   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11409   shift
   11410   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11411   CONFIG_SHELL='$SHELL'
   11412   export CONFIG_SHELL
   11413   exec "\$@"
   11414 fi
   11415 
   11416 _ACEOF
   11417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11418 exec 5>>config.log
   11419 {
   11420   echo
   11421   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11422 ## Running $as_me. ##
   11423 _ASBOX
   11424   $as_echo "$ac_log"
   11425 } >&5
   11426 
   11427 _ACEOF
   11428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11429 #
   11430 # INIT-COMMANDS
   11431 #
   11432 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11433 
   11434 _ACEOF
   11435 
   11436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11437 
   11438 # Handling of arguments.
   11439 for ac_config_target in $ac_config_targets
   11440 do
   11441   case $ac_config_target in
   11442     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11443     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11444     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11445 
   11446   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11447   esac
   11448 done
   11449 
   11450 
   11451 # If the user did not use the arguments to specify the items to instantiate,
   11452 # then the envvar interface is used.  Set only those that are not.
   11453 # We use the long form for the default assignment because of an extremely
   11454 # bizarre bug on SunOS 4.1.3.
   11455 if $ac_need_defaults; then
   11456   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11457   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11458   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11459 fi
   11460 
   11461 # Have a temporary directory for convenience.  Make it in the build tree
   11462 # simply because there is no reason against having it here, and in addition,
   11463 # creating and moving files from /tmp can sometimes cause problems.
   11464 # Hook for its removal unless debugging.
   11465 # Note that there is a small window in which the directory will not be cleaned:
   11466 # after its creation but before its name has been assigned to `$tmp'.
   11467 $debug ||
   11468 {
   11469   tmp= ac_tmp=
   11470   trap 'exit_status=$?
   11471   : "${ac_tmp:=$tmp}"
   11472   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11473 ' 0
   11474   trap 'as_fn_exit 1' 1 2 13 15
   11475 }
   11476 # Create a (secure) tmp directory for tmp files.
   11477 
   11478 {
   11479   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11480   test -d "$tmp"
   11481 }  ||
   11482 {
   11483   tmp=./conf$$-$RANDOM
   11484   (umask 077 && mkdir "$tmp")
   11485 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11486 ac_tmp=$tmp
   11487 
   11488 # Set up the scripts for CONFIG_FILES section.
   11489 # No need to generate them if there are no CONFIG_FILES.
   11490 # This happens for instance with `./config.status config.h'.
   11491 if test -n "$CONFIG_FILES"; then
   11492 
   11493 
   11494 ac_cr=`echo X | tr X '\015'`
   11495 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11496 # But we know of no other shell where ac_cr would be empty at this
   11497 # point, so we can use a bashism as a fallback.
   11498 if test "x$ac_cr" = x; then
   11499   eval ac_cr=\$\'\\r\'
   11500 fi
   11501 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11502 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11503   ac_cs_awk_cr='\\r'
   11504 else
   11505   ac_cs_awk_cr=$ac_cr
   11506 fi
   11507 
   11508 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11509 _ACEOF
   11510 
   11511 
   11512 {
   11513   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11514   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11515   echo "_ACEOF"
   11516 } >conf$$subs.sh ||
   11517   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11518 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11519 ac_delim='%!_!# '
   11520 for ac_last_try in false false false false false :; do
   11521   . ./conf$$subs.sh ||
   11522     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11523 
   11524   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11525   if test $ac_delim_n = $ac_delim_num; then
   11526     break
   11527   elif $ac_last_try; then
   11528     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11529   else
   11530     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11531   fi
   11532 done
   11533 rm -f conf$$subs.sh
   11534 
   11535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11536 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11537 _ACEOF
   11538 sed -n '
   11539 h
   11540 s/^/S["/; s/!.*/"]=/
   11541 p
   11542 g
   11543 s/^[^!]*!//
   11544 :repl
   11545 t repl
   11546 s/'"$ac_delim"'$//
   11547 t delim
   11548 :nl
   11549 h
   11550 s/\(.\{148\}\)..*/\1/
   11551 t more1
   11552 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11553 p
   11554 n
   11555 b repl
   11556 :more1
   11557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11558 p
   11559 g
   11560 s/.\{148\}//
   11561 t nl
   11562 :delim
   11563 h
   11564 s/\(.\{148\}\)..*/\1/
   11565 t more2
   11566 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11567 p
   11568 b
   11569 :more2
   11570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11571 p
   11572 g
   11573 s/.\{148\}//
   11574 t delim
   11575 ' <conf$$subs.awk | sed '
   11576 /^[^""]/{
   11577   N
   11578   s/\n//
   11579 }
   11580 ' >>$CONFIG_STATUS || ac_write_fail=1
   11581 rm -f conf$$subs.awk
   11582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11583 _ACAWK
   11584 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11585   for (key in S) S_is_set[key] = 1
   11586   FS = ""
   11587 
   11588 }
   11589 {
   11590   line = $ 0
   11591   nfields = split(line, field, "@")
   11592   substed = 0
   11593   len = length(field[1])
   11594   for (i = 2; i < nfields; i++) {
   11595     key = field[i]
   11596     keylen = length(key)
   11597     if (S_is_set[key]) {
   11598       value = S[key]
   11599       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11600       len += length(value) + length(field[++i])
   11601       substed = 1
   11602     } else
   11603       len += 1 + keylen
   11604   }
   11605 
   11606   print line
   11607 }
   11608 
   11609 _ACAWK
   11610 _ACEOF
   11611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11612 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11613   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11614 else
   11615   cat
   11616 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11617   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11618 _ACEOF
   11619 
   11620 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11621 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11622 # trailing colons and then remove the whole line if VPATH becomes empty
   11623 # (actually we leave an empty line to preserve line numbers).
   11624 if test "x$srcdir" = x.; then
   11625   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11626 h
   11627 s///
   11628 s/^/:/
   11629 s/[	 ]*$/:/
   11630 s/:\$(srcdir):/:/g
   11631 s/:\${srcdir}:/:/g
   11632 s/:@srcdir@:/:/g
   11633 s/^:*//
   11634 s/:*$//
   11635 x
   11636 s/\(=[	 ]*\).*/\1/
   11637 G
   11638 s/\n//
   11639 s/^[^=]*=[	 ]*$//
   11640 }'
   11641 fi
   11642 
   11643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11644 fi # test -n "$CONFIG_FILES"
   11645 
   11646 # Set up the scripts for CONFIG_HEADERS section.
   11647 # No need to generate them if there are no CONFIG_HEADERS.
   11648 # This happens for instance with `./config.status Makefile'.
   11649 if test -n "$CONFIG_HEADERS"; then
   11650 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11651 BEGIN {
   11652 _ACEOF
   11653 
   11654 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11655 # here-document in config.status, that substitutes the proper values into
   11656 # config.h.in to produce config.h.
   11657 
   11658 # Create a delimiter string that does not exist in confdefs.h, to ease
   11659 # handling of long lines.
   11660 ac_delim='%!_!# '
   11661 for ac_last_try in false false :; do
   11662   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11663   if test -z "$ac_tt"; then
   11664     break
   11665   elif $ac_last_try; then
   11666     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11667   else
   11668     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11669   fi
   11670 done
   11671 
   11672 # For the awk script, D is an array of macro values keyed by name,
   11673 # likewise P contains macro parameters if any.  Preserve backslash
   11674 # newline sequences.
   11675 
   11676 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11677 sed -n '
   11678 s/.\{148\}/&'"$ac_delim"'/g
   11679 t rset
   11680 :rset
   11681 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11682 t def
   11683 d
   11684 :def
   11685 s/\\$//
   11686 t bsnl
   11687 s/["\\]/\\&/g
   11688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11689 D["\1"]=" \3"/p
   11690 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11691 d
   11692 :bsnl
   11693 s/["\\]/\\&/g
   11694 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11695 D["\1"]=" \3\\\\\\n"\\/p
   11696 t cont
   11697 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11698 t cont
   11699 d
   11700 :cont
   11701 n
   11702 s/.\{148\}/&'"$ac_delim"'/g
   11703 t clear
   11704 :clear
   11705 s/\\$//
   11706 t bsnlc
   11707 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11708 d
   11709 :bsnlc
   11710 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11711 b cont
   11712 ' <confdefs.h | sed '
   11713 s/'"$ac_delim"'/"\\\
   11714 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11715 
   11716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11717   for (key in D) D_is_set[key] = 1
   11718   FS = ""
   11719 }
   11720 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11721   line = \$ 0
   11722   split(line, arg, " ")
   11723   if (arg[1] == "#") {
   11724     defundef = arg[2]
   11725     mac1 = arg[3]
   11726   } else {
   11727     defundef = substr(arg[1], 2)
   11728     mac1 = arg[2]
   11729   }
   11730   split(mac1, mac2, "(") #)
   11731   macro = mac2[1]
   11732   prefix = substr(line, 1, index(line, defundef) - 1)
   11733   if (D_is_set[macro]) {
   11734     # Preserve the white space surrounding the "#".
   11735     print prefix "define", macro P[macro] D[macro]
   11736     next
   11737   } else {
   11738     # Replace #undef with comments.  This is necessary, for example,
   11739     # in the case of _POSIX_SOURCE, which is predefined and required
   11740     # on some systems where configure will not decide to define it.
   11741     if (defundef == "undef") {
   11742       print "/*", prefix defundef, macro, "*/"
   11743       next
   11744     }
   11745   }
   11746 }
   11747 { print }
   11748 _ACAWK
   11749 _ACEOF
   11750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11751   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11752 fi # test -n "$CONFIG_HEADERS"
   11753 
   11754 
   11755 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11756 shift
   11757 for ac_tag
   11758 do
   11759   case $ac_tag in
   11760   :[FHLC]) ac_mode=$ac_tag; continue;;
   11761   esac
   11762   case $ac_mode$ac_tag in
   11763   :[FHL]*:*);;
   11764   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11765   :[FH]-) ac_tag=-:-;;
   11766   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11767   esac
   11768   ac_save_IFS=$IFS
   11769   IFS=:
   11770   set x $ac_tag
   11771   IFS=$ac_save_IFS
   11772   shift
   11773   ac_file=$1
   11774   shift
   11775 
   11776   case $ac_mode in
   11777   :L) ac_source=$1;;
   11778   :[FH])
   11779     ac_file_inputs=
   11780     for ac_f
   11781     do
   11782       case $ac_f in
   11783       -) ac_f="$ac_tmp/stdin";;
   11784       *) # Look for the file first in the build tree, then in the source tree
   11785 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11786 	 # because $ac_f cannot contain `:'.
   11787 	 test -f "$ac_f" ||
   11788 	   case $ac_f in
   11789 	   [\\/$]*) false;;
   11790 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11791 	   esac ||
   11792 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11793       esac
   11794       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11795       as_fn_append ac_file_inputs " '$ac_f'"
   11796     done
   11797 
   11798     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11799     # use $as_me), people would be surprised to read:
   11800     #    /* config.h.  Generated by config.status.  */
   11801     configure_input='Generated from '`
   11802 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11803 	`' by configure.'
   11804     if test x"$ac_file" != x-; then
   11805       configure_input="$ac_file.  $configure_input"
   11806       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11807 $as_echo "$as_me: creating $ac_file" >&6;}
   11808     fi
   11809     # Neutralize special characters interpreted by sed in replacement strings.
   11810     case $configure_input in #(
   11811     *\&* | *\|* | *\\* )
   11812        ac_sed_conf_input=`$as_echo "$configure_input" |
   11813        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11814     *) ac_sed_conf_input=$configure_input;;
   11815     esac
   11816 
   11817     case $ac_tag in
   11818     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11819       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11820     esac
   11821     ;;
   11822   esac
   11823 
   11824   ac_dir=`$as_dirname -- "$ac_file" ||
   11825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11826 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11827 	 X"$ac_file" : 'X\(//\)$' \| \
   11828 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11829 $as_echo X"$ac_file" |
   11830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11831 	    s//\1/
   11832 	    q
   11833 	  }
   11834 	  /^X\(\/\/\)[^/].*/{
   11835 	    s//\1/
   11836 	    q
   11837 	  }
   11838 	  /^X\(\/\/\)$/{
   11839 	    s//\1/
   11840 	    q
   11841 	  }
   11842 	  /^X\(\/\).*/{
   11843 	    s//\1/
   11844 	    q
   11845 	  }
   11846 	  s/.*/./; q'`
   11847   as_dir="$ac_dir"; as_fn_mkdir_p
   11848   ac_builddir=.
   11849 
   11850 case "$ac_dir" in
   11851 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11852 *)
   11853   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11854   # A ".." for each directory in $ac_dir_suffix.
   11855   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11856   case $ac_top_builddir_sub in
   11857   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11858   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11859   esac ;;
   11860 esac
   11861 ac_abs_top_builddir=$ac_pwd
   11862 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11863 # for backward compatibility:
   11864 ac_top_builddir=$ac_top_build_prefix
   11865 
   11866 case $srcdir in
   11867   .)  # We are building in place.
   11868     ac_srcdir=.
   11869     ac_top_srcdir=$ac_top_builddir_sub
   11870     ac_abs_top_srcdir=$ac_pwd ;;
   11871   [\\/]* | ?:[\\/]* )  # Absolute name.
   11872     ac_srcdir=$srcdir$ac_dir_suffix;
   11873     ac_top_srcdir=$srcdir
   11874     ac_abs_top_srcdir=$srcdir ;;
   11875   *) # Relative name.
   11876     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11877     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11878     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11879 esac
   11880 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11881 
   11882 
   11883   case $ac_mode in
   11884   :F)
   11885   #
   11886   # CONFIG_FILE
   11887   #
   11888 
   11889   case $INSTALL in
   11890   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11891   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11892   esac
   11893   ac_MKDIR_P=$MKDIR_P
   11894   case $MKDIR_P in
   11895   [\\/$]* | ?:[\\/]* ) ;;
   11896   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11897   esac
   11898 _ACEOF
   11899 
   11900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11901 # If the template does not know about datarootdir, expand it.
   11902 # FIXME: This hack should be removed a few years after 2.60.
   11903 ac_datarootdir_hack=; ac_datarootdir_seen=
   11904 ac_sed_dataroot='
   11905 /datarootdir/ {
   11906   p
   11907   q
   11908 }
   11909 /@datadir@/p
   11910 /@docdir@/p
   11911 /@infodir@/p
   11912 /@localedir@/p
   11913 /@mandir@/p'
   11914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11915 *datarootdir*) ac_datarootdir_seen=yes;;
   11916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11917   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11919 _ACEOF
   11920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11921   ac_datarootdir_hack='
   11922   s&@datadir@&$datadir&g
   11923   s&@docdir@&$docdir&g
   11924   s&@infodir@&$infodir&g
   11925   s&@localedir@&$localedir&g
   11926   s&@mandir@&$mandir&g
   11927   s&\\\${datarootdir}&$datarootdir&g' ;;
   11928 esac
   11929 _ACEOF
   11930 
   11931 # Neutralize VPATH when `$srcdir' = `.'.
   11932 # Shell code in configure.ac might set extrasub.
   11933 # FIXME: do we really want to maintain this feature?
   11934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11935 ac_sed_extra="$ac_vpsub
   11936 $extrasub
   11937 _ACEOF
   11938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11939 :t
   11940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11941 s|@configure_input@|$ac_sed_conf_input|;t t
   11942 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11944 s&@srcdir@&$ac_srcdir&;t t
   11945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11946 s&@top_srcdir@&$ac_top_srcdir&;t t
   11947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11948 s&@builddir@&$ac_builddir&;t t
   11949 s&@abs_builddir@&$ac_abs_builddir&;t t
   11950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11951 s&@INSTALL@&$ac_INSTALL&;t t
   11952 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11953 $ac_datarootdir_hack
   11954 "
   11955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11956   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11957 
   11958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11959   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11960   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11961       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11962   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11963 which seems to be undefined.  Please make sure it is defined" >&5
   11964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11965 which seems to be undefined.  Please make sure it is defined" >&2;}
   11966 
   11967   rm -f "$ac_tmp/stdin"
   11968   case $ac_file in
   11969   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11970   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11971   esac \
   11972   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11973  ;;
   11974   :H)
   11975   #
   11976   # CONFIG_HEADER
   11977   #
   11978   if test x"$ac_file" != x-; then
   11979     {
   11980       $as_echo "/* $configure_input  */" \
   11981       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11982     } >"$ac_tmp/config.h" \
   11983       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11984     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11985       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11987     else
   11988       rm -f "$ac_file"
   11989       mv "$ac_tmp/config.h" "$ac_file" \
   11990 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11991     fi
   11992   else
   11993     $as_echo "/* $configure_input  */" \
   11994       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11995       || as_fn_error $? "could not create -" "$LINENO" 5
   11996   fi
   11997 # Compute "$ac_file"'s index in $config_headers.
   11998 _am_arg="$ac_file"
   11999 _am_stamp_count=1
   12000 for _am_header in $config_headers :; do
   12001   case $_am_header in
   12002     $_am_arg | $_am_arg:* )
   12003       break ;;
   12004     * )
   12005       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12006   esac
   12007 done
   12008 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12009 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12010 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12011 	 X"$_am_arg" : 'X\(//\)$' \| \
   12012 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12013 $as_echo X"$_am_arg" |
   12014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12015 	    s//\1/
   12016 	    q
   12017 	  }
   12018 	  /^X\(\/\/\)[^/].*/{
   12019 	    s//\1/
   12020 	    q
   12021 	  }
   12022 	  /^X\(\/\/\)$/{
   12023 	    s//\1/
   12024 	    q
   12025 	  }
   12026 	  /^X\(\/\).*/{
   12027 	    s//\1/
   12028 	    q
   12029 	  }
   12030 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12031  ;;
   12032 
   12033   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12034 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12035  ;;
   12036   esac
   12037 
   12038 
   12039   case $ac_file$ac_mode in
   12040     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12041   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12042   # are listed without --file.  Let's play safe and only enable the eval
   12043   # if we detect the quoting.
   12044   case $CONFIG_FILES in
   12045   *\'*) eval set x "$CONFIG_FILES" ;;
   12046   *)   set x $CONFIG_FILES ;;
   12047   esac
   12048   shift
   12049   for mf
   12050   do
   12051     # Strip MF so we end up with the name of the file.
   12052     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12053     # Check whether this is an Automake generated Makefile or not.
   12054     # We used to match only the files named `Makefile.in', but
   12055     # some people rename them; so instead we look at the file content.
   12056     # Grep'ing the first line is not enough: some people post-process
   12057     # each Makefile.in and add a new line on top of each file to say so.
   12058     # Grep'ing the whole file is not good either: AIX grep has a line
   12059     # limit of 2048, but all sed's we know have understand at least 4000.
   12060     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12061       dirpart=`$as_dirname -- "$mf" ||
   12062 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12063 	 X"$mf" : 'X\(//\)[^/]' \| \
   12064 	 X"$mf" : 'X\(//\)$' \| \
   12065 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12066 $as_echo X"$mf" |
   12067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12068 	    s//\1/
   12069 	    q
   12070 	  }
   12071 	  /^X\(\/\/\)[^/].*/{
   12072 	    s//\1/
   12073 	    q
   12074 	  }
   12075 	  /^X\(\/\/\)$/{
   12076 	    s//\1/
   12077 	    q
   12078 	  }
   12079 	  /^X\(\/\).*/{
   12080 	    s//\1/
   12081 	    q
   12082 	  }
   12083 	  s/.*/./; q'`
   12084     else
   12085       continue
   12086     fi
   12087     # Extract the definition of DEPDIR, am__include, and am__quote
   12088     # from the Makefile without running `make'.
   12089     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12090     test -z "$DEPDIR" && continue
   12091     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12092     test -z "am__include" && continue
   12093     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12094     # When using ansi2knr, U may be empty or an underscore; expand it
   12095     U=`sed -n 's/^U = //p' < "$mf"`
   12096     # Find all dependency output files, they are included files with
   12097     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12098     # simplest approach to changing $(DEPDIR) to its actual value in the
   12099     # expansion.
   12100     for file in `sed -n "
   12101       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12102 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12103       # Make sure the directory exists.
   12104       test -f "$dirpart/$file" && continue
   12105       fdir=`$as_dirname -- "$file" ||
   12106 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12107 	 X"$file" : 'X\(//\)[^/]' \| \
   12108 	 X"$file" : 'X\(//\)$' \| \
   12109 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12110 $as_echo X"$file" |
   12111     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12112 	    s//\1/
   12113 	    q
   12114 	  }
   12115 	  /^X\(\/\/\)[^/].*/{
   12116 	    s//\1/
   12117 	    q
   12118 	  }
   12119 	  /^X\(\/\/\)$/{
   12120 	    s//\1/
   12121 	    q
   12122 	  }
   12123 	  /^X\(\/\).*/{
   12124 	    s//\1/
   12125 	    q
   12126 	  }
   12127 	  s/.*/./; q'`
   12128       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12129       # echo "creating $dirpart/$file"
   12130       echo '# dummy' > "$dirpart/$file"
   12131     done
   12132   done
   12133 }
   12134  ;;
   12135 
   12136   esac
   12137 done # for ac_tag
   12138 
   12139 
   12140 as_fn_exit 0
   12141 _ACEOF
   12142 ac_clean_files=$ac_clean_files_save
   12143 
   12144 test $ac_write_fail = 0 ||
   12145   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12146 
   12147 
   12148 # configure is writing to config.log, and then calls config.status.
   12149 # config.status does its own redirection, appending to config.log.
   12150 # Unfortunately, on DOS this fails, as config.log is still kept open
   12151 # by configure, so config.status won't be able to write to it; its
   12152 # output is simply discarded.  So we exec the FD to /dev/null,
   12153 # effectively closing config.log, so it can be properly (re)opened and
   12154 # appended to by config.status.  When coming back to configure, we
   12155 # need to make the FD available again.
   12156 if test "$no_create" != yes; then
   12157   ac_cs_success=:
   12158   ac_config_status_args=
   12159   test "$silent" = yes &&
   12160     ac_config_status_args="$ac_config_status_args --quiet"
   12161   exec 5>/dev/null
   12162   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12163   exec 5>>config.log
   12164   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12165   # would make configure fail if this is the last instruction.
   12166   $ac_cs_success || as_fn_exit 1
   12167 fi
   12168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12169   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12171 fi
   12172 
   12173