Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xrandr 1.4.0.
      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='xrandr'
    563 PACKAGE_TARNAME='xrandr'
    564 PACKAGE_VERSION='1.4.0'
    565 PACKAGE_STRING='xrandr 1.4.0'
    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 XRANDR_LIBS
    611 XRANDR_CFLAGS
    612 AM_BACKSLASH
    613 AM_DEFAULT_VERBOSITY
    614 AM_DEFAULT_V
    615 AM_V
    616 MAN_SUBSTS
    617 XORG_MAN_PAGE
    618 ADMIN_MAN_DIR
    619 DRIVER_MAN_DIR
    620 MISC_MAN_DIR
    621 FILE_MAN_DIR
    622 LIB_MAN_DIR
    623 APP_MAN_DIR
    624 ADMIN_MAN_SUFFIX
    625 DRIVER_MAN_SUFFIX
    626 MISC_MAN_SUFFIX
    627 FILE_MAN_SUFFIX
    628 LIB_MAN_SUFFIX
    629 APP_MAN_SUFFIX
    630 SED
    631 host_os
    632 host_vendor
    633 host_cpu
    634 host
    635 build_os
    636 build_vendor
    637 build_cpu
    638 build
    639 INSTALL_CMD
    640 PKG_CONFIG_LIBDIR
    641 PKG_CONFIG_PATH
    642 PKG_CONFIG
    643 CHANGELOG_CMD
    644 STRICT_CFLAGS
    645 CWARNFLAGS
    646 BASE_CFLAGS
    647 EGREP
    648 GREP
    649 CPP
    650 am__fastdepCC_FALSE
    651 am__fastdepCC_TRUE
    652 CCDEPMODE
    653 am__nodep
    654 AMDEPBACKSLASH
    655 AMDEP_FALSE
    656 AMDEP_TRUE
    657 am__quote
    658 am__include
    659 DEPDIR
    660 OBJEXT
    661 EXEEXT
    662 ac_ct_CC
    663 CPPFLAGS
    664 LDFLAGS
    665 CFLAGS
    666 CC
    667 am__untar
    668 am__tar
    669 AMTAR
    670 am__leading_dot
    671 SET_MAKE
    672 AWK
    673 mkdir_p
    674 MKDIR_P
    675 INSTALL_STRIP_PROGRAM
    676 STRIP
    677 install_sh
    678 MAKEINFO
    679 AUTOHEADER
    680 AUTOMAKE
    681 AUTOCONF
    682 ACLOCAL
    683 VERSION
    684 PACKAGE
    685 CYGPATH_W
    686 am__isrc
    687 INSTALL_DATA
    688 INSTALL_SCRIPT
    689 INSTALL_PROGRAM
    690 target_alias
    691 host_alias
    692 build_alias
    693 LIBS
    694 ECHO_T
    695 ECHO_N
    696 ECHO_C
    697 DEFS
    698 mandir
    699 localedir
    700 libdir
    701 psdir
    702 pdfdir
    703 dvidir
    704 htmldir
    705 infodir
    706 docdir
    707 oldincludedir
    708 includedir
    709 localstatedir
    710 sharedstatedir
    711 sysconfdir
    712 datadir
    713 datarootdir
    714 libexecdir
    715 sbindir
    716 bindir
    717 program_transform_name
    718 prefix
    719 exec_prefix
    720 PACKAGE_URL
    721 PACKAGE_BUGREPORT
    722 PACKAGE_STRING
    723 PACKAGE_VERSION
    724 PACKAGE_TARNAME
    725 PACKAGE_NAME
    726 PATH_SEPARATOR
    727 SHELL'
    728 ac_subst_files=''
    729 ac_user_opts='
    730 enable_option_checking
    731 enable_dependency_tracking
    732 enable_selective_werror
    733 enable_strict_compilation
    734 enable_silent_rules
    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 PKG_CONFIG_PATH
    747 PKG_CONFIG_LIBDIR
    748 XRANDR_CFLAGS
    749 XRANDR_LIBS'
    750 
    751 
    752 # Initialize some variables set by options.
    753 ac_init_help=
    754 ac_init_version=false
    755 ac_unrecognized_opts=
    756 ac_unrecognized_sep=
    757 # The variables have the same names as the options, with
    758 # dashes changed to underlines.
    759 cache_file=/dev/null
    760 exec_prefix=NONE
    761 no_create=
    762 no_recursion=
    763 prefix=NONE
    764 program_prefix=NONE
    765 program_suffix=NONE
    766 program_transform_name=s,x,x,
    767 silent=
    768 site=
    769 srcdir=
    770 verbose=
    771 x_includes=NONE
    772 x_libraries=NONE
    773 
    774 # Installation directory options.
    775 # These are left unexpanded so users can "make install exec_prefix=/foo"
    776 # and all the variables that are supposed to be based on exec_prefix
    777 # by default will actually change.
    778 # Use braces instead of parens because sh, perl, etc. also accept them.
    779 # (The list follows the same order as the GNU Coding Standards.)
    780 bindir='${exec_prefix}/bin'
    781 sbindir='${exec_prefix}/sbin'
    782 libexecdir='${exec_prefix}/libexec'
    783 datarootdir='${prefix}/share'
    784 datadir='${datarootdir}'
    785 sysconfdir='${prefix}/etc'
    786 sharedstatedir='${prefix}/com'
    787 localstatedir='${prefix}/var'
    788 includedir='${prefix}/include'
    789 oldincludedir='/usr/include'
    790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    791 infodir='${datarootdir}/info'
    792 htmldir='${docdir}'
    793 dvidir='${docdir}'
    794 pdfdir='${docdir}'
    795 psdir='${docdir}'
    796 libdir='${exec_prefix}/lib'
    797 localedir='${datarootdir}/locale'
    798 mandir='${datarootdir}/man'
    799 
    800 ac_prev=
    801 ac_dashdash=
    802 for ac_option
    803 do
    804   # If the previous option needs an argument, assign it.
    805   if test -n "$ac_prev"; then
    806     eval $ac_prev=\$ac_option
    807     ac_prev=
    808     continue
    809   fi
    810 
    811   case $ac_option in
    812   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    813   *=)   ac_optarg= ;;
    814   *)    ac_optarg=yes ;;
    815   esac
    816 
    817   # Accept the important Cygnus configure options, so we can diagnose typos.
    818 
    819   case $ac_dashdash$ac_option in
    820   --)
    821     ac_dashdash=yes ;;
    822 
    823   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    824     ac_prev=bindir ;;
    825   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    826     bindir=$ac_optarg ;;
    827 
    828   -build | --build | --buil | --bui | --bu)
    829     ac_prev=build_alias ;;
    830   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    831     build_alias=$ac_optarg ;;
    832 
    833   -cache-file | --cache-file | --cache-fil | --cache-fi \
    834   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    835     ac_prev=cache_file ;;
    836   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    837   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    838     cache_file=$ac_optarg ;;
    839 
    840   --config-cache | -C)
    841     cache_file=config.cache ;;
    842 
    843   -datadir | --datadir | --datadi | --datad)
    844     ac_prev=datadir ;;
    845   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    846     datadir=$ac_optarg ;;
    847 
    848   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    849   | --dataroo | --dataro | --datar)
    850     ac_prev=datarootdir ;;
    851   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    852   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    853     datarootdir=$ac_optarg ;;
    854 
    855   -disable-* | --disable-*)
    856     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    857     # Reject names that are not valid shell variable names.
    858     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    859       as_fn_error $? "invalid feature name: $ac_useropt"
    860     ac_useropt_orig=$ac_useropt
    861     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    862     case $ac_user_opts in
    863       *"
    864 "enable_$ac_useropt"
    865 "*) ;;
    866       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    867 	 ac_unrecognized_sep=', ';;
    868     esac
    869     eval enable_$ac_useropt=no ;;
    870 
    871   -docdir | --docdir | --docdi | --doc | --do)
    872     ac_prev=docdir ;;
    873   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    874     docdir=$ac_optarg ;;
    875 
    876   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    877     ac_prev=dvidir ;;
    878   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    879     dvidir=$ac_optarg ;;
    880 
    881   -enable-* | --enable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=\$ac_optarg ;;
    896 
    897   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    898   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    899   | --exec | --exe | --ex)
    900     ac_prev=exec_prefix ;;
    901   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    902   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    903   | --exec=* | --exe=* | --ex=*)
    904     exec_prefix=$ac_optarg ;;
    905 
    906   -gas | --gas | --ga | --g)
    907     # Obsolete; use --with-gas.
    908     with_gas=yes ;;
    909 
    910   -help | --help | --hel | --he | -h)
    911     ac_init_help=long ;;
    912   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    913     ac_init_help=recursive ;;
    914   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    915     ac_init_help=short ;;
    916 
    917   -host | --host | --hos | --ho)
    918     ac_prev=host_alias ;;
    919   -host=* | --host=* | --hos=* | --ho=*)
    920     host_alias=$ac_optarg ;;
    921 
    922   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    923     ac_prev=htmldir ;;
    924   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    925   | --ht=*)
    926     htmldir=$ac_optarg ;;
    927 
    928   -includedir | --includedir | --includedi | --included | --include \
    929   | --includ | --inclu | --incl | --inc)
    930     ac_prev=includedir ;;
    931   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    932   | --includ=* | --inclu=* | --incl=* | --inc=*)
    933     includedir=$ac_optarg ;;
    934 
    935   -infodir | --infodir | --infodi | --infod | --info | --inf)
    936     ac_prev=infodir ;;
    937   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    938     infodir=$ac_optarg ;;
    939 
    940   -libdir | --libdir | --libdi | --libd)
    941     ac_prev=libdir ;;
    942   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    943     libdir=$ac_optarg ;;
    944 
    945   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    946   | --libexe | --libex | --libe)
    947     ac_prev=libexecdir ;;
    948   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    949   | --libexe=* | --libex=* | --libe=*)
    950     libexecdir=$ac_optarg ;;
    951 
    952   -localedir | --localedir | --localedi | --localed | --locale)
    953     ac_prev=localedir ;;
    954   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    955     localedir=$ac_optarg ;;
    956 
    957   -localstatedir | --localstatedir | --localstatedi | --localstated \
    958   | --localstate | --localstat | --localsta | --localst | --locals)
    959     ac_prev=localstatedir ;;
    960   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    961   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    962     localstatedir=$ac_optarg ;;
    963 
    964   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    965     ac_prev=mandir ;;
    966   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    967     mandir=$ac_optarg ;;
    968 
    969   -nfp | --nfp | --nf)
    970     # Obsolete; use --without-fp.
    971     with_fp=no ;;
    972 
    973   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    974   | --no-cr | --no-c | -n)
    975     no_create=yes ;;
    976 
    977   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    978   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    979     no_recursion=yes ;;
    980 
    981   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    982   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    983   | --oldin | --oldi | --old | --ol | --o)
    984     ac_prev=oldincludedir ;;
    985   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    986   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    987   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    988     oldincludedir=$ac_optarg ;;
    989 
    990   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    991     ac_prev=prefix ;;
    992   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    993     prefix=$ac_optarg ;;
    994 
    995   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    996   | --program-pre | --program-pr | --program-p)
    997     ac_prev=program_prefix ;;
    998   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    999   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1000     program_prefix=$ac_optarg ;;
   1001 
   1002   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1003   | --program-suf | --program-su | --program-s)
   1004     ac_prev=program_suffix ;;
   1005   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1006   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1007     program_suffix=$ac_optarg ;;
   1008 
   1009   -program-transform-name | --program-transform-name \
   1010   | --program-transform-nam | --program-transform-na \
   1011   | --program-transform-n | --program-transform- \
   1012   | --program-transform | --program-transfor \
   1013   | --program-transfo | --program-transf \
   1014   | --program-trans | --program-tran \
   1015   | --progr-tra | --program-tr | --program-t)
   1016     ac_prev=program_transform_name ;;
   1017   -program-transform-name=* | --program-transform-name=* \
   1018   | --program-transform-nam=* | --program-transform-na=* \
   1019   | --program-transform-n=* | --program-transform-=* \
   1020   | --program-transform=* | --program-transfor=* \
   1021   | --program-transfo=* | --program-transf=* \
   1022   | --program-trans=* | --program-tran=* \
   1023   | --progr-tra=* | --program-tr=* | --program-t=*)
   1024     program_transform_name=$ac_optarg ;;
   1025 
   1026   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1027     ac_prev=pdfdir ;;
   1028   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1029     pdfdir=$ac_optarg ;;
   1030 
   1031   -psdir | --psdir | --psdi | --psd | --ps)
   1032     ac_prev=psdir ;;
   1033   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1034     psdir=$ac_optarg ;;
   1035 
   1036   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1037   | -silent | --silent | --silen | --sile | --sil)
   1038     silent=yes ;;
   1039 
   1040   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1041     ac_prev=sbindir ;;
   1042   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1043   | --sbi=* | --sb=*)
   1044     sbindir=$ac_optarg ;;
   1045 
   1046   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1047   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1048   | --sharedst | --shareds | --shared | --share | --shar \
   1049   | --sha | --sh)
   1050     ac_prev=sharedstatedir ;;
   1051   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1052   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1053   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1054   | --sha=* | --sh=*)
   1055     sharedstatedir=$ac_optarg ;;
   1056 
   1057   -site | --site | --sit)
   1058     ac_prev=site ;;
   1059   -site=* | --site=* | --sit=*)
   1060     site=$ac_optarg ;;
   1061 
   1062   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1063     ac_prev=srcdir ;;
   1064   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1065     srcdir=$ac_optarg ;;
   1066 
   1067   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1068   | --syscon | --sysco | --sysc | --sys | --sy)
   1069     ac_prev=sysconfdir ;;
   1070   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1071   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1072     sysconfdir=$ac_optarg ;;
   1073 
   1074   -target | --target | --targe | --targ | --tar | --ta | --t)
   1075     ac_prev=target_alias ;;
   1076   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1077     target_alias=$ac_optarg ;;
   1078 
   1079   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1080     verbose=yes ;;
   1081 
   1082   -version | --version | --versio | --versi | --vers | -V)
   1083     ac_init_version=: ;;
   1084 
   1085   -with-* | --with-*)
   1086     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1087     # Reject names that are not valid shell variable names.
   1088     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1089       as_fn_error $? "invalid package name: $ac_useropt"
   1090     ac_useropt_orig=$ac_useropt
   1091     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1092     case $ac_user_opts in
   1093       *"
   1094 "with_$ac_useropt"
   1095 "*) ;;
   1096       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1097 	 ac_unrecognized_sep=', ';;
   1098     esac
   1099     eval with_$ac_useropt=\$ac_optarg ;;
   1100 
   1101   -without-* | --without-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=no ;;
   1116 
   1117   --x)
   1118     # Obsolete; use --with-x.
   1119     with_x=yes ;;
   1120 
   1121   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1122   | --x-incl | --x-inc | --x-in | --x-i)
   1123     ac_prev=x_includes ;;
   1124   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1125   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1126     x_includes=$ac_optarg ;;
   1127 
   1128   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1129   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1130     ac_prev=x_libraries ;;
   1131   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1132   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1133     x_libraries=$ac_optarg ;;
   1134 
   1135   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1136 Try \`$0 --help' for more information"
   1137     ;;
   1138 
   1139   *=*)
   1140     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1141     # Reject names that are not valid shell variable names.
   1142     case $ac_envvar in #(
   1143       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1144       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1145     esac
   1146     eval $ac_envvar=\$ac_optarg
   1147     export $ac_envvar ;;
   1148 
   1149   *)
   1150     # FIXME: should be removed in autoconf 3.0.
   1151     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1152     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1153       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1154     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1155     ;;
   1156 
   1157   esac
   1158 done
   1159 
   1160 if test -n "$ac_prev"; then
   1161   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1162   as_fn_error $? "missing argument to $ac_option"
   1163 fi
   1164 
   1165 if test -n "$ac_unrecognized_opts"; then
   1166   case $enable_option_checking in
   1167     no) ;;
   1168     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1169     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1170   esac
   1171 fi
   1172 
   1173 # Check all directory arguments for consistency.
   1174 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1175 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1176 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1177 		libdir localedir mandir
   1178 do
   1179   eval ac_val=\$$ac_var
   1180   # Remove trailing slashes.
   1181   case $ac_val in
   1182     */ )
   1183       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1184       eval $ac_var=\$ac_val;;
   1185   esac
   1186   # Be sure to have absolute directory names.
   1187   case $ac_val in
   1188     [\\/$]* | ?:[\\/]* )  continue;;
   1189     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1190   esac
   1191   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1192 done
   1193 
   1194 # There might be people who depend on the old broken behavior: `$host'
   1195 # used to hold the argument of --host etc.
   1196 # FIXME: To remove some day.
   1197 build=$build_alias
   1198 host=$host_alias
   1199 target=$target_alias
   1200 
   1201 # FIXME: To remove some day.
   1202 if test "x$host_alias" != x; then
   1203   if test "x$build_alias" = x; then
   1204     cross_compiling=maybe
   1205     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1206     If a cross compiler is detected then cross compile mode will be used" >&2
   1207   elif test "x$build_alias" != "x$host_alias"; then
   1208     cross_compiling=yes
   1209   fi
   1210 fi
   1211 
   1212 ac_tool_prefix=
   1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1214 
   1215 test "$silent" = yes && exec 6>/dev/null
   1216 
   1217 
   1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1219 ac_ls_di=`ls -di .` &&
   1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1221   as_fn_error $? "working directory cannot be determined"
   1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1223   as_fn_error $? "pwd does not report name of working directory"
   1224 
   1225 
   1226 # Find the source files, if location was not specified.
   1227 if test -z "$srcdir"; then
   1228   ac_srcdir_defaulted=yes
   1229   # Try the directory containing this script, then the parent directory.
   1230   ac_confdir=`$as_dirname -- "$as_myself" ||
   1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1232 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1233 	 X"$as_myself" : 'X\(//\)$' \| \
   1234 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1235 $as_echo X"$as_myself" |
   1236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1237 	    s//\1/
   1238 	    q
   1239 	  }
   1240 	  /^X\(\/\/\)[^/].*/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)$/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\).*/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  s/.*/./; q'`
   1253   srcdir=$ac_confdir
   1254   if test ! -r "$srcdir/$ac_unique_file"; then
   1255     srcdir=..
   1256   fi
   1257 else
   1258   ac_srcdir_defaulted=no
   1259 fi
   1260 if test ! -r "$srcdir/$ac_unique_file"; then
   1261   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1262   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1263 fi
   1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1265 ac_abs_confdir=`(
   1266 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1267 	pwd)`
   1268 # When building in place, set srcdir=.
   1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1270   srcdir=.
   1271 fi
   1272 # Remove unnecessary trailing slashes from srcdir.
   1273 # Double slashes in file names in object file debugging info
   1274 # mess up M-x gdb in Emacs.
   1275 case $srcdir in
   1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1277 esac
   1278 for ac_var in $ac_precious_vars; do
   1279   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_env_${ac_var}_value=\$${ac_var}
   1281   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1282   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1283 done
   1284 
   1285 #
   1286 # Report the --help message.
   1287 #
   1288 if test "$ac_init_help" = "long"; then
   1289   # Omit some internal or obsolete options to make the list less imposing.
   1290   # This message is too long to be a string in the A/UX 3.1 sh.
   1291   cat <<_ACEOF
   1292 \`configure' configures xrandr 1.4.0 to adapt to many kinds of systems.
   1293 
   1294 Usage: $0 [OPTION]... [VAR=VALUE]...
   1295 
   1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1297 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1298 
   1299 Defaults for the options are specified in brackets.
   1300 
   1301 Configuration:
   1302   -h, --help              display this help and exit
   1303       --help=short        display options specific to this package
   1304       --help=recursive    display the short help of all the included packages
   1305   -V, --version           display version information and exit
   1306   -q, --quiet, --silent   do not print \`checking ...' messages
   1307       --cache-file=FILE   cache test results in FILE [disabled]
   1308   -C, --config-cache      alias for \`--cache-file=config.cache'
   1309   -n, --no-create         do not create output files
   1310       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1311 
   1312 Installation directories:
   1313   --prefix=PREFIX         install architecture-independent files in PREFIX
   1314                           [$ac_default_prefix]
   1315   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1316                           [PREFIX]
   1317 
   1318 By default, \`make install' will install all the files in
   1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1321 for instance \`--prefix=\$HOME'.
   1322 
   1323 For better control, use the options below.
   1324 
   1325 Fine tuning of the installation directories:
   1326   --bindir=DIR            user executables [EPREFIX/bin]
   1327   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1328   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1329   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1330   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1331   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1332   --libdir=DIR            object code libraries [EPREFIX/lib]
   1333   --includedir=DIR        C header files [PREFIX/include]
   1334   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1335   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1336   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1337   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1338   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1339   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1340   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrandr]
   1341   --htmldir=DIR           html documentation [DOCDIR]
   1342   --dvidir=DIR            dvi documentation [DOCDIR]
   1343   --pdfdir=DIR            pdf documentation [DOCDIR]
   1344   --psdir=DIR             ps documentation [DOCDIR]
   1345 _ACEOF
   1346 
   1347   cat <<\_ACEOF
   1348 
   1349 Program names:
   1350   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1351   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1352   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1353 
   1354 System types:
   1355   --build=BUILD     configure for building on BUILD [guessed]
   1356   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1357 _ACEOF
   1358 fi
   1359 
   1360 if test -n "$ac_init_help"; then
   1361   case $ac_init_help in
   1362      short | recursive ) echo "Configuration of xrandr 1.4.0:";;
   1363    esac
   1364   cat <<\_ACEOF
   1365 
   1366 Optional Features:
   1367   --disable-option-checking  ignore unrecognized --enable/--with options
   1368   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1369   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1370   --disable-dependency-tracking  speeds up one-time build
   1371   --enable-dependency-tracking   do not reject slow dependency extractors
   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 
   1381 Some influential environment variables:
   1382   CC          C compiler command
   1383   CFLAGS      C compiler flags
   1384   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1385               nonstandard directory <lib dir>
   1386   LIBS        libraries to pass to the linker, e.g. -l<library>
   1387   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1388               you have headers in a nonstandard directory <include dir>
   1389   CPP         C preprocessor
   1390   PKG_CONFIG  path to pkg-config utility
   1391   PKG_CONFIG_PATH
   1392               directories to add to pkg-config's search path
   1393   PKG_CONFIG_LIBDIR
   1394               path overriding pkg-config's built-in search path
   1395   XRANDR_CFLAGS
   1396               C compiler flags for XRANDR, overriding pkg-config
   1397   XRANDR_LIBS linker flags for XRANDR, overriding pkg-config
   1398 
   1399 Use these variables to override the choices made by `configure' or to help
   1400 it to find libraries and programs with nonstandard names/locations.
   1401 
   1402 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1403 _ACEOF
   1404 ac_status=$?
   1405 fi
   1406 
   1407 if test "$ac_init_help" = "recursive"; then
   1408   # If there are subdirs, report their specific --help.
   1409   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1410     test -d "$ac_dir" ||
   1411       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1412       continue
   1413     ac_builddir=.
   1414 
   1415 case "$ac_dir" in
   1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1417 *)
   1418   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1419   # A ".." for each directory in $ac_dir_suffix.
   1420   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1421   case $ac_top_builddir_sub in
   1422   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1423   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1424   esac ;;
   1425 esac
   1426 ac_abs_top_builddir=$ac_pwd
   1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1428 # for backward compatibility:
   1429 ac_top_builddir=$ac_top_build_prefix
   1430 
   1431 case $srcdir in
   1432   .)  # We are building in place.
   1433     ac_srcdir=.
   1434     ac_top_srcdir=$ac_top_builddir_sub
   1435     ac_abs_top_srcdir=$ac_pwd ;;
   1436   [\\/]* | ?:[\\/]* )  # Absolute name.
   1437     ac_srcdir=$srcdir$ac_dir_suffix;
   1438     ac_top_srcdir=$srcdir
   1439     ac_abs_top_srcdir=$srcdir ;;
   1440   *) # Relative name.
   1441     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1442     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1443     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1444 esac
   1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1446 
   1447     cd "$ac_dir" || { ac_status=$?; continue; }
   1448     # Check for guested configure.
   1449     if test -f "$ac_srcdir/configure.gnu"; then
   1450       echo &&
   1451       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1452     elif test -f "$ac_srcdir/configure"; then
   1453       echo &&
   1454       $SHELL "$ac_srcdir/configure" --help=recursive
   1455     else
   1456       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1457     fi || ac_status=$?
   1458     cd "$ac_pwd" || { ac_status=$?; break; }
   1459   done
   1460 fi
   1461 
   1462 test -n "$ac_init_help" && exit $ac_status
   1463 if $ac_init_version; then
   1464   cat <<\_ACEOF
   1465 xrandr configure 1.4.0
   1466 generated by GNU Autoconf 2.68
   1467 
   1468 Copyright (C) 2010 Free Software Foundation, Inc.
   1469 This configure script is free software; the Free Software Foundation
   1470 gives unlimited permission to copy, distribute and modify it.
   1471 _ACEOF
   1472   exit
   1473 fi
   1474 
   1475 ## ------------------------ ##
   1476 ## Autoconf initialization. ##
   1477 ## ------------------------ ##
   1478 
   1479 # ac_fn_c_try_compile LINENO
   1480 # --------------------------
   1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1482 ac_fn_c_try_compile ()
   1483 {
   1484   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1485   rm -f conftest.$ac_objext
   1486   if { { ac_try="$ac_compile"
   1487 case "(($ac_try" in
   1488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1489   *) ac_try_echo=$ac_try;;
   1490 esac
   1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1492 $as_echo "$ac_try_echo"; } >&5
   1493   (eval "$ac_compile") 2>conftest.err
   1494   ac_status=$?
   1495   if test -s conftest.err; then
   1496     grep -v '^ *+' conftest.err >conftest.er1
   1497     cat conftest.er1 >&5
   1498     mv -f conftest.er1 conftest.err
   1499   fi
   1500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1501   test $ac_status = 0; } && {
   1502 	 test -z "$ac_c_werror_flag" ||
   1503 	 test ! -s conftest.err
   1504        } && test -s conftest.$ac_objext; then :
   1505   ac_retval=0
   1506 else
   1507   $as_echo "$as_me: failed program was:" >&5
   1508 sed 's/^/| /' conftest.$ac_ext >&5
   1509 
   1510 	ac_retval=1
   1511 fi
   1512   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1513   as_fn_set_status $ac_retval
   1514 
   1515 } # ac_fn_c_try_compile
   1516 
   1517 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1518 # ---------------------------------------------
   1519 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1520 # accordingly.
   1521 ac_fn_c_check_decl ()
   1522 {
   1523   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1524   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1525   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1527 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1528 if eval \${$3+:} false; then :
   1529   $as_echo_n "(cached) " >&6
   1530 else
   1531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1532 /* end confdefs.h.  */
   1533 $4
   1534 int
   1535 main ()
   1536 {
   1537 #ifndef $as_decl_name
   1538 #ifdef __cplusplus
   1539   (void) $as_decl_use;
   1540 #else
   1541   (void) $as_decl_name;
   1542 #endif
   1543 #endif
   1544 
   1545   ;
   1546   return 0;
   1547 }
   1548 _ACEOF
   1549 if ac_fn_c_try_compile "$LINENO"; then :
   1550   eval "$3=yes"
   1551 else
   1552   eval "$3=no"
   1553 fi
   1554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1555 fi
   1556 eval ac_res=\$$3
   1557 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1558 $as_echo "$ac_res" >&6; }
   1559   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1560 
   1561 } # ac_fn_c_check_decl
   1562 
   1563 # ac_fn_c_try_cpp LINENO
   1564 # ----------------------
   1565 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1566 ac_fn_c_try_cpp ()
   1567 {
   1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1569   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1570 case "(($ac_try" in
   1571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1572   *) ac_try_echo=$ac_try;;
   1573 esac
   1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1575 $as_echo "$ac_try_echo"; } >&5
   1576   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1577   ac_status=$?
   1578   if test -s conftest.err; then
   1579     grep -v '^ *+' conftest.err >conftest.er1
   1580     cat conftest.er1 >&5
   1581     mv -f conftest.er1 conftest.err
   1582   fi
   1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1584   test $ac_status = 0; } > conftest.i && {
   1585 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1586 	 test ! -s conftest.err
   1587        }; then :
   1588   ac_retval=0
   1589 else
   1590   $as_echo "$as_me: failed program was:" >&5
   1591 sed 's/^/| /' conftest.$ac_ext >&5
   1592 
   1593     ac_retval=1
   1594 fi
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596   as_fn_set_status $ac_retval
   1597 
   1598 } # ac_fn_c_try_cpp
   1599 
   1600 # ac_fn_c_try_run LINENO
   1601 # ----------------------
   1602 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1603 # that executables *can* be run.
   1604 ac_fn_c_try_run ()
   1605 {
   1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1607   if { { ac_try="$ac_link"
   1608 case "(($ac_try" in
   1609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1610   *) ac_try_echo=$ac_try;;
   1611 esac
   1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1613 $as_echo "$ac_try_echo"; } >&5
   1614   (eval "$ac_link") 2>&5
   1615   ac_status=$?
   1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1617   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1618   { { case "(($ac_try" in
   1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1620   *) ac_try_echo=$ac_try;;
   1621 esac
   1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1623 $as_echo "$ac_try_echo"; } >&5
   1624   (eval "$ac_try") 2>&5
   1625   ac_status=$?
   1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1627   test $ac_status = 0; }; }; then :
   1628   ac_retval=0
   1629 else
   1630   $as_echo "$as_me: program exited with status $ac_status" >&5
   1631        $as_echo "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634        ac_retval=$ac_status
   1635 fi
   1636   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_run
   1641 
   1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1643 # -------------------------------------------------------
   1644 # Tests whether HEADER exists and can be compiled using the include files in
   1645 # INCLUDES, setting the cache variable VAR accordingly.
   1646 ac_fn_c_check_header_compile ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1650 $as_echo_n "checking for $2... " >&6; }
   1651 if eval \${$3+:} false; then :
   1652   $as_echo_n "(cached) " >&6
   1653 else
   1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1655 /* end confdefs.h.  */
   1656 $4
   1657 #include <$2>
   1658 _ACEOF
   1659 if ac_fn_c_try_compile "$LINENO"; then :
   1660   eval "$3=yes"
   1661 else
   1662   eval "$3=no"
   1663 fi
   1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1665 fi
   1666 eval ac_res=\$$3
   1667 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1668 $as_echo "$ac_res" >&6; }
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670 
   1671 } # ac_fn_c_check_header_compile
   1672 
   1673 # ac_fn_c_try_link LINENO
   1674 # -----------------------
   1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1676 ac_fn_c_try_link ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   rm -f conftest.$ac_objext conftest$ac_exeext
   1680   if { { ac_try="$ac_link"
   1681 case "(($ac_try" in
   1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1683   *) ac_try_echo=$ac_try;;
   1684 esac
   1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1686 $as_echo "$ac_try_echo"; } >&5
   1687   (eval "$ac_link") 2>conftest.err
   1688   ac_status=$?
   1689   if test -s conftest.err; then
   1690     grep -v '^ *+' conftest.err >conftest.er1
   1691     cat conftest.er1 >&5
   1692     mv -f conftest.er1 conftest.err
   1693   fi
   1694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1695   test $ac_status = 0; } && {
   1696 	 test -z "$ac_c_werror_flag" ||
   1697 	 test ! -s conftest.err
   1698        } && test -s conftest$ac_exeext && {
   1699 	 test "$cross_compiling" = yes ||
   1700 	 $as_test_x conftest$ac_exeext
   1701        }; then :
   1702   ac_retval=0
   1703 else
   1704   $as_echo "$as_me: failed program was:" >&5
   1705 sed 's/^/| /' conftest.$ac_ext >&5
   1706 
   1707 	ac_retval=1
   1708 fi
   1709   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1710   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1711   # interfere with the next link command; also delete a directory that is
   1712   # left behind by Apple's compiler.  We do this before executing the actions.
   1713   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1714   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1715   as_fn_set_status $ac_retval
   1716 
   1717 } # ac_fn_c_try_link
   1718 cat >config.log <<_ACEOF
   1719 This file contains any messages produced by compilers while
   1720 running configure, to aid debugging if configure makes a mistake.
   1721 
   1722 It was created by xrandr $as_me 1.4.0, which was
   1723 generated by GNU Autoconf 2.68.  Invocation command line was
   1724 
   1725   $ $0 $@
   1726 
   1727 _ACEOF
   1728 exec 5>>config.log
   1729 {
   1730 cat <<_ASUNAME
   1731 ## --------- ##
   1732 ## Platform. ##
   1733 ## --------- ##
   1734 
   1735 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1736 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1737 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1738 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1739 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1740 
   1741 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1742 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1743 
   1744 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1745 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1746 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1747 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1748 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1749 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1750 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1751 
   1752 _ASUNAME
   1753 
   1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1755 for as_dir in $PATH
   1756 do
   1757   IFS=$as_save_IFS
   1758   test -z "$as_dir" && as_dir=.
   1759     $as_echo "PATH: $as_dir"
   1760   done
   1761 IFS=$as_save_IFS
   1762 
   1763 } >&5
   1764 
   1765 cat >&5 <<_ACEOF
   1766 
   1767 
   1768 ## ----------- ##
   1769 ## Core tests. ##
   1770 ## ----------- ##
   1771 
   1772 _ACEOF
   1773 
   1774 
   1775 # Keep a trace of the command line.
   1776 # Strip out --no-create and --no-recursion so they do not pile up.
   1777 # Strip out --silent because we don't want to record it for future runs.
   1778 # Also quote any args containing shell meta-characters.
   1779 # Make two passes to allow for proper duplicate-argument suppression.
   1780 ac_configure_args=
   1781 ac_configure_args0=
   1782 ac_configure_args1=
   1783 ac_must_keep_next=false
   1784 for ac_pass in 1 2
   1785 do
   1786   for ac_arg
   1787   do
   1788     case $ac_arg in
   1789     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1790     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1791     | -silent | --silent | --silen | --sile | --sil)
   1792       continue ;;
   1793     *\'*)
   1794       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1795     esac
   1796     case $ac_pass in
   1797     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1798     2)
   1799       as_fn_append ac_configure_args1 " '$ac_arg'"
   1800       if test $ac_must_keep_next = true; then
   1801 	ac_must_keep_next=false # Got value, back to normal.
   1802       else
   1803 	case $ac_arg in
   1804 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1805 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1806 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1807 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1808 	    case "$ac_configure_args0 " in
   1809 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1810 	    esac
   1811 	    ;;
   1812 	  -* ) ac_must_keep_next=true ;;
   1813 	esac
   1814       fi
   1815       as_fn_append ac_configure_args " '$ac_arg'"
   1816       ;;
   1817     esac
   1818   done
   1819 done
   1820 { ac_configure_args0=; unset ac_configure_args0;}
   1821 { ac_configure_args1=; unset ac_configure_args1;}
   1822 
   1823 # When interrupted or exit'd, cleanup temporary files, and complete
   1824 # config.log.  We remove comments because anyway the quotes in there
   1825 # would cause problems or look ugly.
   1826 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1827 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1828 trap 'exit_status=$?
   1829   # Save into config.log some information that might help in debugging.
   1830   {
   1831     echo
   1832 
   1833     $as_echo "## ---------------- ##
   1834 ## Cache variables. ##
   1835 ## ---------------- ##"
   1836     echo
   1837     # The following way of writing the cache mishandles newlines in values,
   1838 (
   1839   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1840     eval ac_val=\$$ac_var
   1841     case $ac_val in #(
   1842     *${as_nl}*)
   1843       case $ac_var in #(
   1844       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1846       esac
   1847       case $ac_var in #(
   1848       _ | IFS | as_nl) ;; #(
   1849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1850       *) { eval $ac_var=; unset $ac_var;} ;;
   1851       esac ;;
   1852     esac
   1853   done
   1854   (set) 2>&1 |
   1855     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1856     *${as_nl}ac_space=\ *)
   1857       sed -n \
   1858 	"s/'\''/'\''\\\\'\'''\''/g;
   1859 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1860       ;; #(
   1861     *)
   1862       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1863       ;;
   1864     esac |
   1865     sort
   1866 )
   1867     echo
   1868 
   1869     $as_echo "## ----------------- ##
   1870 ## Output variables. ##
   1871 ## ----------------- ##"
   1872     echo
   1873     for ac_var in $ac_subst_vars
   1874     do
   1875       eval ac_val=\$$ac_var
   1876       case $ac_val in
   1877       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1878       esac
   1879       $as_echo "$ac_var='\''$ac_val'\''"
   1880     done | sort
   1881     echo
   1882 
   1883     if test -n "$ac_subst_files"; then
   1884       $as_echo "## ------------------- ##
   1885 ## File substitutions. ##
   1886 ## ------------------- ##"
   1887       echo
   1888       for ac_var in $ac_subst_files
   1889       do
   1890 	eval ac_val=\$$ac_var
   1891 	case $ac_val in
   1892 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1893 	esac
   1894 	$as_echo "$ac_var='\''$ac_val'\''"
   1895       done | sort
   1896       echo
   1897     fi
   1898 
   1899     if test -s confdefs.h; then
   1900       $as_echo "## ----------- ##
   1901 ## confdefs.h. ##
   1902 ## ----------- ##"
   1903       echo
   1904       cat confdefs.h
   1905       echo
   1906     fi
   1907     test "$ac_signal" != 0 &&
   1908       $as_echo "$as_me: caught signal $ac_signal"
   1909     $as_echo "$as_me: exit $exit_status"
   1910   } >&5
   1911   rm -f core *.core core.conftest.* &&
   1912     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1913     exit $exit_status
   1914 ' 0
   1915 for ac_signal in 1 2 13 15; do
   1916   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1917 done
   1918 ac_signal=0
   1919 
   1920 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1921 rm -f -r conftest* confdefs.h
   1922 
   1923 $as_echo "/* confdefs.h */" > confdefs.h
   1924 
   1925 # Predefined preprocessor variables.
   1926 
   1927 cat >>confdefs.h <<_ACEOF
   1928 #define PACKAGE_NAME "$PACKAGE_NAME"
   1929 _ACEOF
   1930 
   1931 cat >>confdefs.h <<_ACEOF
   1932 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1933 _ACEOF
   1934 
   1935 cat >>confdefs.h <<_ACEOF
   1936 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1937 _ACEOF
   1938 
   1939 cat >>confdefs.h <<_ACEOF
   1940 #define PACKAGE_STRING "$PACKAGE_STRING"
   1941 _ACEOF
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1945 _ACEOF
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_URL "$PACKAGE_URL"
   1949 _ACEOF
   1950 
   1951 
   1952 # Let the site file select an alternate cache file if it wants to.
   1953 # Prefer an explicitly selected file to automatically selected ones.
   1954 ac_site_file1=NONE
   1955 ac_site_file2=NONE
   1956 if test -n "$CONFIG_SITE"; then
   1957   # We do not want a PATH search for config.site.
   1958   case $CONFIG_SITE in #((
   1959     -*)  ac_site_file1=./$CONFIG_SITE;;
   1960     */*) ac_site_file1=$CONFIG_SITE;;
   1961     *)   ac_site_file1=./$CONFIG_SITE;;
   1962   esac
   1963 elif test "x$prefix" != xNONE; then
   1964   ac_site_file1=$prefix/share/config.site
   1965   ac_site_file2=$prefix/etc/config.site
   1966 else
   1967   ac_site_file1=$ac_default_prefix/share/config.site
   1968   ac_site_file2=$ac_default_prefix/etc/config.site
   1969 fi
   1970 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1971 do
   1972   test "x$ac_site_file" = xNONE && continue
   1973   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1974     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1975 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1976     sed 's/^/| /' "$ac_site_file" >&5
   1977     . "$ac_site_file" \
   1978       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1980 as_fn_error $? "failed to load site script $ac_site_file
   1981 See \`config.log' for more details" "$LINENO" 5; }
   1982   fi
   1983 done
   1984 
   1985 if test -r "$cache_file"; then
   1986   # Some versions of bash will fail to source /dev/null (special files
   1987   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1988   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1989     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1990 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1991     case $cache_file in
   1992       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1993       *)                      . "./$cache_file";;
   1994     esac
   1995   fi
   1996 else
   1997   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1998 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1999   >$cache_file
   2000 fi
   2001 
   2002 # Check that the precious variables saved in the cache have kept the same
   2003 # value.
   2004 ac_cache_corrupted=false
   2005 for ac_var in $ac_precious_vars; do
   2006   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2007   eval ac_new_set=\$ac_env_${ac_var}_set
   2008   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2009   eval ac_new_val=\$ac_env_${ac_var}_value
   2010   case $ac_old_set,$ac_new_set in
   2011     set,)
   2012       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2013 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2014       ac_cache_corrupted=: ;;
   2015     ,set)
   2016       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2017 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2018       ac_cache_corrupted=: ;;
   2019     ,);;
   2020     *)
   2021       if test "x$ac_old_val" != "x$ac_new_val"; then
   2022 	# differences in whitespace do not lead to failure.
   2023 	ac_old_val_w=`echo x $ac_old_val`
   2024 	ac_new_val_w=`echo x $ac_new_val`
   2025 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2026 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2027 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2028 	  ac_cache_corrupted=:
   2029 	else
   2030 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2031 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2032 	  eval $ac_var=\$ac_old_val
   2033 	fi
   2034 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2035 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2036 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2037 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2038       fi;;
   2039   esac
   2040   # Pass precious variables to config.status.
   2041   if test "$ac_new_set" = set; then
   2042     case $ac_new_val in
   2043     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2044     *) ac_arg=$ac_var=$ac_new_val ;;
   2045     esac
   2046     case " $ac_configure_args " in
   2047       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2048       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2049     esac
   2050   fi
   2051 done
   2052 if $ac_cache_corrupted; then
   2053   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2055   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2056 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2057   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2058 fi
   2059 ## -------------------- ##
   2060 ## Main body of script. ##
   2061 ## -------------------- ##
   2062 
   2063 ac_ext=c
   2064 ac_cpp='$CPP $CPPFLAGS'
   2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2068 
   2069 
   2070 
   2071 ac_config_headers="$ac_config_headers config.h"
   2072 
   2073 
   2074 # Initialize Automake
   2075 am__api_version='1.11'
   2076 
   2077 ac_aux_dir=
   2078 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2079   if test -f "$ac_dir/install-sh"; then
   2080     ac_aux_dir=$ac_dir
   2081     ac_install_sh="$ac_aux_dir/install-sh -c"
   2082     break
   2083   elif test -f "$ac_dir/install.sh"; then
   2084     ac_aux_dir=$ac_dir
   2085     ac_install_sh="$ac_aux_dir/install.sh -c"
   2086     break
   2087   elif test -f "$ac_dir/shtool"; then
   2088     ac_aux_dir=$ac_dir
   2089     ac_install_sh="$ac_aux_dir/shtool install -c"
   2090     break
   2091   fi
   2092 done
   2093 if test -z "$ac_aux_dir"; then
   2094   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2095 fi
   2096 
   2097 # These three variables are undocumented and unsupported,
   2098 # and are intended to be withdrawn in a future Autoconf release.
   2099 # They can cause serious problems if a builder's source tree is in a directory
   2100 # whose full name contains unusual characters.
   2101 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2102 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2103 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2104 
   2105 
   2106 # Find a good install program.  We prefer a C program (faster),
   2107 # so one script is as good as another.  But avoid the broken or
   2108 # incompatible versions:
   2109 # SysV /etc/install, /usr/sbin/install
   2110 # SunOS /usr/etc/install
   2111 # IRIX /sbin/install
   2112 # AIX /bin/install
   2113 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2114 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2115 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2116 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2117 # OS/2's system install, which has a completely different semantic
   2118 # ./install, which can be erroneously created by make from ./install.sh.
   2119 # Reject install programs that cannot install multiple files.
   2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2121 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2122 if test -z "$INSTALL"; then
   2123 if ${ac_cv_path_install+:} false; then :
   2124   $as_echo_n "(cached) " >&6
   2125 else
   2126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2127 for as_dir in $PATH
   2128 do
   2129   IFS=$as_save_IFS
   2130   test -z "$as_dir" && as_dir=.
   2131     # Account for people who put trailing slashes in PATH elements.
   2132 case $as_dir/ in #((
   2133   ./ | .// | /[cC]/* | \
   2134   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2135   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2136   /usr/ucb/* ) ;;
   2137   *)
   2138     # OSF1 and SCO ODT 3.0 have their own names for install.
   2139     # Don't use installbsd from OSF since it installs stuff as root
   2140     # by default.
   2141     for ac_prog in ginstall scoinst install; do
   2142       for ac_exec_ext in '' $ac_executable_extensions; do
   2143 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2144 	  if test $ac_prog = install &&
   2145 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2146 	    # AIX install.  It has an incompatible calling convention.
   2147 	    :
   2148 	  elif test $ac_prog = install &&
   2149 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2150 	    # program-specific install script used by HP pwplus--don't use.
   2151 	    :
   2152 	  else
   2153 	    rm -rf conftest.one conftest.two conftest.dir
   2154 	    echo one > conftest.one
   2155 	    echo two > conftest.two
   2156 	    mkdir conftest.dir
   2157 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2158 	      test -s conftest.one && test -s conftest.two &&
   2159 	      test -s conftest.dir/conftest.one &&
   2160 	      test -s conftest.dir/conftest.two
   2161 	    then
   2162 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2163 	      break 3
   2164 	    fi
   2165 	  fi
   2166 	fi
   2167       done
   2168     done
   2169     ;;
   2170 esac
   2171 
   2172   done
   2173 IFS=$as_save_IFS
   2174 
   2175 rm -rf conftest.one conftest.two conftest.dir
   2176 
   2177 fi
   2178   if test "${ac_cv_path_install+set}" = set; then
   2179     INSTALL=$ac_cv_path_install
   2180   else
   2181     # As a last resort, use the slow shell script.  Don't cache a
   2182     # value for INSTALL within a source directory, because that will
   2183     # break other packages using the cache if that directory is
   2184     # removed, or if the value is a relative name.
   2185     INSTALL=$ac_install_sh
   2186   fi
   2187 fi
   2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2189 $as_echo "$INSTALL" >&6; }
   2190 
   2191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2192 # It thinks the first close brace ends the variable substitution.
   2193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2194 
   2195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2196 
   2197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2198 
   2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2200 $as_echo_n "checking whether build environment is sane... " >&6; }
   2201 # Just in case
   2202 sleep 1
   2203 echo timestamp > conftest.file
   2204 # Reject unsafe characters in $srcdir or the absolute working directory
   2205 # name.  Accept space and tab only in the latter.
   2206 am_lf='
   2207 '
   2208 case `pwd` in
   2209   *[\\\"\#\$\&\'\`$am_lf]*)
   2210     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2211 esac
   2212 case $srcdir in
   2213   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2214     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2215 esac
   2216 
   2217 # Do `set' in a subshell so we don't clobber the current shell's
   2218 # arguments.  Must try -L first in case configure is actually a
   2219 # symlink; some systems play weird games with the mod time of symlinks
   2220 # (eg FreeBSD returns the mod time of the symlink's containing
   2221 # directory).
   2222 if (
   2223    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2224    if test "$*" = "X"; then
   2225       # -L didn't work.
   2226       set X `ls -t "$srcdir/configure" conftest.file`
   2227    fi
   2228    rm -f conftest.file
   2229    if test "$*" != "X $srcdir/configure conftest.file" \
   2230       && test "$*" != "X conftest.file $srcdir/configure"; then
   2231 
   2232       # If neither matched, then we have a broken ls.  This can happen
   2233       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2234       # broken ls alias from the environment.  This has actually
   2235       # happened.  Such a system could not be considered "sane".
   2236       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2237 alias in your environment" "$LINENO" 5
   2238    fi
   2239 
   2240    test "$2" = conftest.file
   2241    )
   2242 then
   2243    # Ok.
   2244    :
   2245 else
   2246    as_fn_error $? "newly created file is older than distributed files!
   2247 Check your system clock" "$LINENO" 5
   2248 fi
   2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2250 $as_echo "yes" >&6; }
   2251 test "$program_prefix" != NONE &&
   2252   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2253 # Use a double $ so make ignores it.
   2254 test "$program_suffix" != NONE &&
   2255   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2256 # Double any \ or $.
   2257 # By default was `s,x,x', remove it if useless.
   2258 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2259 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2260 
   2261 # expand $ac_aux_dir to an absolute path
   2262 am_aux_dir=`cd $ac_aux_dir && pwd`
   2263 
   2264 if test x"${MISSING+set}" != xset; then
   2265   case $am_aux_dir in
   2266   *\ * | *\	*)
   2267     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2268   *)
   2269     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2270   esac
   2271 fi
   2272 # Use eval to expand $SHELL
   2273 if eval "$MISSING --run true"; then
   2274   am_missing_run="$MISSING --run "
   2275 else
   2276   am_missing_run=
   2277   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2278 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2279 fi
   2280 
   2281 if test x"${install_sh}" != xset; then
   2282   case $am_aux_dir in
   2283   *\ * | *\	*)
   2284     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2285   *)
   2286     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2287   esac
   2288 fi
   2289 
   2290 # Installed binaries are usually stripped using `strip' when the user
   2291 # run `make install-strip'.  However `strip' might not be the right
   2292 # tool to use in cross-compilation environments, therefore Automake
   2293 # will honor the `STRIP' environment variable to overrule this program.
   2294 if test "$cross_compiling" != no; then
   2295   if test -n "$ac_tool_prefix"; then
   2296   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2297 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2299 $as_echo_n "checking for $ac_word... " >&6; }
   2300 if ${ac_cv_prog_STRIP+:} false; then :
   2301   $as_echo_n "(cached) " >&6
   2302 else
   2303   if test -n "$STRIP"; then
   2304   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2305 else
   2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2307 for as_dir in $PATH
   2308 do
   2309   IFS=$as_save_IFS
   2310   test -z "$as_dir" && as_dir=.
   2311     for ac_exec_ext in '' $ac_executable_extensions; do
   2312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2313     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2315     break 2
   2316   fi
   2317 done
   2318   done
   2319 IFS=$as_save_IFS
   2320 
   2321 fi
   2322 fi
   2323 STRIP=$ac_cv_prog_STRIP
   2324 if test -n "$STRIP"; then
   2325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2326 $as_echo "$STRIP" >&6; }
   2327 else
   2328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2329 $as_echo "no" >&6; }
   2330 fi
   2331 
   2332 
   2333 fi
   2334 if test -z "$ac_cv_prog_STRIP"; then
   2335   ac_ct_STRIP=$STRIP
   2336   # Extract the first word of "strip", so it can be a program name with args.
   2337 set dummy strip; ac_word=$2
   2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2339 $as_echo_n "checking for $ac_word... " >&6; }
   2340 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2341   $as_echo_n "(cached) " >&6
   2342 else
   2343   if test -n "$ac_ct_STRIP"; then
   2344   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2345 else
   2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2347 for as_dir in $PATH
   2348 do
   2349   IFS=$as_save_IFS
   2350   test -z "$as_dir" && as_dir=.
   2351     for ac_exec_ext in '' $ac_executable_extensions; do
   2352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2353     ac_cv_prog_ac_ct_STRIP="strip"
   2354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2355     break 2
   2356   fi
   2357 done
   2358   done
   2359 IFS=$as_save_IFS
   2360 
   2361 fi
   2362 fi
   2363 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2364 if test -n "$ac_ct_STRIP"; then
   2365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2366 $as_echo "$ac_ct_STRIP" >&6; }
   2367 else
   2368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2369 $as_echo "no" >&6; }
   2370 fi
   2371 
   2372   if test "x$ac_ct_STRIP" = x; then
   2373     STRIP=":"
   2374   else
   2375     case $cross_compiling:$ac_tool_warned in
   2376 yes:)
   2377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2379 ac_tool_warned=yes ;;
   2380 esac
   2381     STRIP=$ac_ct_STRIP
   2382   fi
   2383 else
   2384   STRIP="$ac_cv_prog_STRIP"
   2385 fi
   2386 
   2387 fi
   2388 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2389 
   2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2391 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2392 if test -z "$MKDIR_P"; then
   2393   if ${ac_cv_path_mkdir+:} false; then :
   2394   $as_echo_n "(cached) " >&6
   2395 else
   2396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2397 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2398 do
   2399   IFS=$as_save_IFS
   2400   test -z "$as_dir" && as_dir=.
   2401     for ac_prog in mkdir gmkdir; do
   2402 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2403 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2404 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2405 	     'mkdir (GNU coreutils) '* | \
   2406 	     'mkdir (coreutils) '* | \
   2407 	     'mkdir (fileutils) '4.1*)
   2408 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2409 	       break 3;;
   2410 	   esac
   2411 	 done
   2412        done
   2413   done
   2414 IFS=$as_save_IFS
   2415 
   2416 fi
   2417 
   2418   test -d ./--version && rmdir ./--version
   2419   if test "${ac_cv_path_mkdir+set}" = set; then
   2420     MKDIR_P="$ac_cv_path_mkdir -p"
   2421   else
   2422     # As a last resort, use the slow shell script.  Don't cache a
   2423     # value for MKDIR_P within a source directory, because that will
   2424     # break other packages using the cache if that directory is
   2425     # removed, or if the value is a relative name.
   2426     MKDIR_P="$ac_install_sh -d"
   2427   fi
   2428 fi
   2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2430 $as_echo "$MKDIR_P" >&6; }
   2431 
   2432 mkdir_p="$MKDIR_P"
   2433 case $mkdir_p in
   2434   [\\/$]* | ?:[\\/]*) ;;
   2435   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2436 esac
   2437 
   2438 for ac_prog in gawk mawk nawk awk
   2439 do
   2440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2441 set dummy $ac_prog; ac_word=$2
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2443 $as_echo_n "checking for $ac_word... " >&6; }
   2444 if ${ac_cv_prog_AWK+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   if test -n "$AWK"; then
   2448   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2449 else
   2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2451 for as_dir in $PATH
   2452 do
   2453   IFS=$as_save_IFS
   2454   test -z "$as_dir" && as_dir=.
   2455     for ac_exec_ext in '' $ac_executable_extensions; do
   2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2457     ac_cv_prog_AWK="$ac_prog"
   2458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2459     break 2
   2460   fi
   2461 done
   2462   done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 fi
   2467 AWK=$ac_cv_prog_AWK
   2468 if test -n "$AWK"; then
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2470 $as_echo "$AWK" >&6; }
   2471 else
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2473 $as_echo "no" >&6; }
   2474 fi
   2475 
   2476 
   2477   test -n "$AWK" && break
   2478 done
   2479 
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2481 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2482 set x ${MAKE-make}
   2483 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2484 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2485   $as_echo_n "(cached) " >&6
   2486 else
   2487   cat >conftest.make <<\_ACEOF
   2488 SHELL = /bin/sh
   2489 all:
   2490 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2491 _ACEOF
   2492 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2493 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2494   *@@@%%%=?*=@@@%%%*)
   2495     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2496   *)
   2497     eval ac_cv_prog_make_${ac_make}_set=no;;
   2498 esac
   2499 rm -f conftest.make
   2500 fi
   2501 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2503 $as_echo "yes" >&6; }
   2504   SET_MAKE=
   2505 else
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2507 $as_echo "no" >&6; }
   2508   SET_MAKE="MAKE=${MAKE-make}"
   2509 fi
   2510 
   2511 rm -rf .tst 2>/dev/null
   2512 mkdir .tst 2>/dev/null
   2513 if test -d .tst; then
   2514   am__leading_dot=.
   2515 else
   2516   am__leading_dot=_
   2517 fi
   2518 rmdir .tst 2>/dev/null
   2519 
   2520 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2521   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2522   # is not polluted with repeated "-I."
   2523   am__isrc=' -I$(srcdir)'
   2524   # test to see if srcdir already configured
   2525   if test -f $srcdir/config.status; then
   2526     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2527   fi
   2528 fi
   2529 
   2530 # test whether we have cygpath
   2531 if test -z "$CYGPATH_W"; then
   2532   if (cygpath --version) >/dev/null 2>/dev/null; then
   2533     CYGPATH_W='cygpath -w'
   2534   else
   2535     CYGPATH_W=echo
   2536   fi
   2537 fi
   2538 
   2539 
   2540 # Define the identity of the package.
   2541  PACKAGE='xrandr'
   2542  VERSION='1.4.0'
   2543 
   2544 
   2545 cat >>confdefs.h <<_ACEOF
   2546 #define PACKAGE "$PACKAGE"
   2547 _ACEOF
   2548 
   2549 
   2550 cat >>confdefs.h <<_ACEOF
   2551 #define VERSION "$VERSION"
   2552 _ACEOF
   2553 
   2554 # Some tools Automake needs.
   2555 
   2556 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2557 
   2558 
   2559 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2560 
   2561 
   2562 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2563 
   2564 
   2565 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2566 
   2567 
   2568 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2569 
   2570 # We need awk for the "check" target.  The system "awk" is bad on
   2571 # some platforms.
   2572 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2573 # in the wild :-(  We should find a proper way to deprecate it ...
   2574 AMTAR='$${TAR-tar}'
   2575 
   2576 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 
   2583 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2584 
   2585 
   2586 
   2587 
   2588 
   2589 
   2590 
   2591 
   2592 
   2593 
   2594 
   2595 DEPDIR="${am__leading_dot}deps"
   2596 
   2597 ac_config_commands="$ac_config_commands depfiles"
   2598 
   2599 
   2600 am_make=${MAKE-make}
   2601 cat > confinc << 'END'
   2602 am__doit:
   2603 	@echo this is the am__doit target
   2604 .PHONY: am__doit
   2605 END
   2606 # If we don't find an include directive, just comment out the code.
   2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2608 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2609 am__include="#"
   2610 am__quote=
   2611 _am_result=none
   2612 # First try GNU make style include.
   2613 echo "include confinc" > confmf
   2614 # Ignore all kinds of additional output from `make'.
   2615 case `$am_make -s -f confmf 2> /dev/null` in #(
   2616 *the\ am__doit\ target*)
   2617   am__include=include
   2618   am__quote=
   2619   _am_result=GNU
   2620   ;;
   2621 esac
   2622 # Now try BSD make style include.
   2623 if test "$am__include" = "#"; then
   2624    echo '.include "confinc"' > confmf
   2625    case `$am_make -s -f confmf 2> /dev/null` in #(
   2626    *the\ am__doit\ target*)
   2627      am__include=.include
   2628      am__quote="\""
   2629      _am_result=BSD
   2630      ;;
   2631    esac
   2632 fi
   2633 
   2634 
   2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2636 $as_echo "$_am_result" >&6; }
   2637 rm -f confinc confmf
   2638 
   2639 # Check whether --enable-dependency-tracking was given.
   2640 if test "${enable_dependency_tracking+set}" = set; then :
   2641   enableval=$enable_dependency_tracking;
   2642 fi
   2643 
   2644 if test "x$enable_dependency_tracking" != xno; then
   2645   am_depcomp="$ac_aux_dir/depcomp"
   2646   AMDEPBACKSLASH='\'
   2647   am__nodep='_no'
   2648 fi
   2649  if test "x$enable_dependency_tracking" != xno; then
   2650   AMDEP_TRUE=
   2651   AMDEP_FALSE='#'
   2652 else
   2653   AMDEP_TRUE='#'
   2654   AMDEP_FALSE=
   2655 fi
   2656 
   2657 
   2658 ac_ext=c
   2659 ac_cpp='$CPP $CPPFLAGS'
   2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2663 if test -n "$ac_tool_prefix"; then
   2664   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2665 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2667 $as_echo_n "checking for $ac_word... " >&6; }
   2668 if ${ac_cv_prog_CC+:} false; then :
   2669   $as_echo_n "(cached) " >&6
   2670 else
   2671   if test -n "$CC"; then
   2672   ac_cv_prog_CC="$CC" # Let the user override the test.
   2673 else
   2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2675 for as_dir in $PATH
   2676 do
   2677   IFS=$as_save_IFS
   2678   test -z "$as_dir" && as_dir=.
   2679     for ac_exec_ext in '' $ac_executable_extensions; do
   2680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2681     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2683     break 2
   2684   fi
   2685 done
   2686   done
   2687 IFS=$as_save_IFS
   2688 
   2689 fi
   2690 fi
   2691 CC=$ac_cv_prog_CC
   2692 if test -n "$CC"; then
   2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2694 $as_echo "$CC" >&6; }
   2695 else
   2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2697 $as_echo "no" >&6; }
   2698 fi
   2699 
   2700 
   2701 fi
   2702 if test -z "$ac_cv_prog_CC"; then
   2703   ac_ct_CC=$CC
   2704   # Extract the first word of "gcc", so it can be a program name with args.
   2705 set dummy gcc; ac_word=$2
   2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2707 $as_echo_n "checking for $ac_word... " >&6; }
   2708 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2709   $as_echo_n "(cached) " >&6
   2710 else
   2711   if test -n "$ac_ct_CC"; then
   2712   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2713 else
   2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2715 for as_dir in $PATH
   2716 do
   2717   IFS=$as_save_IFS
   2718   test -z "$as_dir" && as_dir=.
   2719     for ac_exec_ext in '' $ac_executable_extensions; do
   2720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2721     ac_cv_prog_ac_ct_CC="gcc"
   2722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2723     break 2
   2724   fi
   2725 done
   2726   done
   2727 IFS=$as_save_IFS
   2728 
   2729 fi
   2730 fi
   2731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2732 if test -n "$ac_ct_CC"; then
   2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2734 $as_echo "$ac_ct_CC" >&6; }
   2735 else
   2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2737 $as_echo "no" >&6; }
   2738 fi
   2739 
   2740   if test "x$ac_ct_CC" = x; then
   2741     CC=""
   2742   else
   2743     case $cross_compiling:$ac_tool_warned in
   2744 yes:)
   2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2747 ac_tool_warned=yes ;;
   2748 esac
   2749     CC=$ac_ct_CC
   2750   fi
   2751 else
   2752   CC="$ac_cv_prog_CC"
   2753 fi
   2754 
   2755 if test -z "$CC"; then
   2756           if test -n "$ac_tool_prefix"; then
   2757     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2758 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2760 $as_echo_n "checking for $ac_word... " >&6; }
   2761 if ${ac_cv_prog_CC+:} false; then :
   2762   $as_echo_n "(cached) " >&6
   2763 else
   2764   if test -n "$CC"; then
   2765   ac_cv_prog_CC="$CC" # Let the user override the test.
   2766 else
   2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2768 for as_dir in $PATH
   2769 do
   2770   IFS=$as_save_IFS
   2771   test -z "$as_dir" && as_dir=.
   2772     for ac_exec_ext in '' $ac_executable_extensions; do
   2773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2774     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2776     break 2
   2777   fi
   2778 done
   2779   done
   2780 IFS=$as_save_IFS
   2781 
   2782 fi
   2783 fi
   2784 CC=$ac_cv_prog_CC
   2785 if test -n "$CC"; then
   2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2787 $as_echo "$CC" >&6; }
   2788 else
   2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2790 $as_echo "no" >&6; }
   2791 fi
   2792 
   2793 
   2794   fi
   2795 fi
   2796 if test -z "$CC"; then
   2797   # Extract the first word of "cc", so it can be a program name with args.
   2798 set dummy cc; ac_word=$2
   2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2800 $as_echo_n "checking for $ac_word... " >&6; }
   2801 if ${ac_cv_prog_CC+:} false; then :
   2802   $as_echo_n "(cached) " >&6
   2803 else
   2804   if test -n "$CC"; then
   2805   ac_cv_prog_CC="$CC" # Let the user override the test.
   2806 else
   2807   ac_prog_rejected=no
   2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2809 for as_dir in $PATH
   2810 do
   2811   IFS=$as_save_IFS
   2812   test -z "$as_dir" && as_dir=.
   2813     for ac_exec_ext in '' $ac_executable_extensions; do
   2814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2815     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2816        ac_prog_rejected=yes
   2817        continue
   2818      fi
   2819     ac_cv_prog_CC="cc"
   2820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2821     break 2
   2822   fi
   2823 done
   2824   done
   2825 IFS=$as_save_IFS
   2826 
   2827 if test $ac_prog_rejected = yes; then
   2828   # We found a bogon in the path, so make sure we never use it.
   2829   set dummy $ac_cv_prog_CC
   2830   shift
   2831   if test $# != 0; then
   2832     # We chose a different compiler from the bogus one.
   2833     # However, it has the same basename, so the bogon will be chosen
   2834     # first if we set CC to just the basename; use the full file name.
   2835     shift
   2836     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2837   fi
   2838 fi
   2839 fi
   2840 fi
   2841 CC=$ac_cv_prog_CC
   2842 if test -n "$CC"; then
   2843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2844 $as_echo "$CC" >&6; }
   2845 else
   2846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2847 $as_echo "no" >&6; }
   2848 fi
   2849 
   2850 
   2851 fi
   2852 if test -z "$CC"; then
   2853   if test -n "$ac_tool_prefix"; then
   2854   for ac_prog in cl.exe
   2855   do
   2856     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2859 $as_echo_n "checking for $ac_word... " >&6; }
   2860 if ${ac_cv_prog_CC+:} false; then :
   2861   $as_echo_n "(cached) " >&6
   2862 else
   2863   if test -n "$CC"; then
   2864   ac_cv_prog_CC="$CC" # Let the user override the test.
   2865 else
   2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2867 for as_dir in $PATH
   2868 do
   2869   IFS=$as_save_IFS
   2870   test -z "$as_dir" && as_dir=.
   2871     for ac_exec_ext in '' $ac_executable_extensions; do
   2872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2873     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2875     break 2
   2876   fi
   2877 done
   2878   done
   2879 IFS=$as_save_IFS
   2880 
   2881 fi
   2882 fi
   2883 CC=$ac_cv_prog_CC
   2884 if test -n "$CC"; then
   2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2886 $as_echo "$CC" >&6; }
   2887 else
   2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2889 $as_echo "no" >&6; }
   2890 fi
   2891 
   2892 
   2893     test -n "$CC" && break
   2894   done
   2895 fi
   2896 if test -z "$CC"; then
   2897   ac_ct_CC=$CC
   2898   for ac_prog in cl.exe
   2899 do
   2900   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2901 set dummy $ac_prog; ac_word=$2
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2903 $as_echo_n "checking for $ac_word... " >&6; }
   2904 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   if test -n "$ac_ct_CC"; then
   2908   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2909 else
   2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2911 for as_dir in $PATH
   2912 do
   2913   IFS=$as_save_IFS
   2914   test -z "$as_dir" && as_dir=.
   2915     for ac_exec_ext in '' $ac_executable_extensions; do
   2916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2917     ac_cv_prog_ac_ct_CC="$ac_prog"
   2918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2919     break 2
   2920   fi
   2921 done
   2922   done
   2923 IFS=$as_save_IFS
   2924 
   2925 fi
   2926 fi
   2927 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2928 if test -n "$ac_ct_CC"; then
   2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2930 $as_echo "$ac_ct_CC" >&6; }
   2931 else
   2932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2933 $as_echo "no" >&6; }
   2934 fi
   2935 
   2936 
   2937   test -n "$ac_ct_CC" && break
   2938 done
   2939 
   2940   if test "x$ac_ct_CC" = x; then
   2941     CC=""
   2942   else
   2943     case $cross_compiling:$ac_tool_warned in
   2944 yes:)
   2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2947 ac_tool_warned=yes ;;
   2948 esac
   2949     CC=$ac_ct_CC
   2950   fi
   2951 fi
   2952 
   2953 fi
   2954 
   2955 
   2956 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2958 as_fn_error $? "no acceptable C compiler found in \$PATH
   2959 See \`config.log' for more details" "$LINENO" 5; }
   2960 
   2961 # Provide some information about the compiler.
   2962 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2963 set X $ac_compile
   2964 ac_compiler=$2
   2965 for ac_option in --version -v -V -qversion; do
   2966   { { ac_try="$ac_compiler $ac_option >&5"
   2967 case "(($ac_try" in
   2968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2969   *) ac_try_echo=$ac_try;;
   2970 esac
   2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2972 $as_echo "$ac_try_echo"; } >&5
   2973   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2974   ac_status=$?
   2975   if test -s conftest.err; then
   2976     sed '10a\
   2977 ... rest of stderr output deleted ...
   2978          10q' conftest.err >conftest.er1
   2979     cat conftest.er1 >&5
   2980   fi
   2981   rm -f conftest.er1 conftest.err
   2982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2983   test $ac_status = 0; }
   2984 done
   2985 
   2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2987 /* end confdefs.h.  */
   2988 
   2989 int
   2990 main ()
   2991 {
   2992 
   2993   ;
   2994   return 0;
   2995 }
   2996 _ACEOF
   2997 ac_clean_files_save=$ac_clean_files
   2998 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2999 # Try to create an executable without -o first, disregard a.out.
   3000 # It will help us diagnose broken compilers, and finding out an intuition
   3001 # of exeext.
   3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3003 $as_echo_n "checking whether the C compiler works... " >&6; }
   3004 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3005 
   3006 # The possible output files:
   3007 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3008 
   3009 ac_rmfiles=
   3010 for ac_file in $ac_files
   3011 do
   3012   case $ac_file in
   3013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3014     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3015   esac
   3016 done
   3017 rm -f $ac_rmfiles
   3018 
   3019 if { { ac_try="$ac_link_default"
   3020 case "(($ac_try" in
   3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3022   *) ac_try_echo=$ac_try;;
   3023 esac
   3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3025 $as_echo "$ac_try_echo"; } >&5
   3026   (eval "$ac_link_default") 2>&5
   3027   ac_status=$?
   3028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3029   test $ac_status = 0; }; then :
   3030   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3031 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3032 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3033 # so that the user can short-circuit this test for compilers unknown to
   3034 # Autoconf.
   3035 for ac_file in $ac_files ''
   3036 do
   3037   test -f "$ac_file" || continue
   3038   case $ac_file in
   3039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3040 	;;
   3041     [ab].out )
   3042 	# We found the default executable, but exeext='' is most
   3043 	# certainly right.
   3044 	break;;
   3045     *.* )
   3046 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3047 	then :; else
   3048 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3049 	fi
   3050 	# We set ac_cv_exeext here because the later test for it is not
   3051 	# safe: cross compilers may not add the suffix if given an `-o'
   3052 	# argument, so we may need to know it at that point already.
   3053 	# Even if this section looks crufty: it has the advantage of
   3054 	# actually working.
   3055 	break;;
   3056     * )
   3057 	break;;
   3058   esac
   3059 done
   3060 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3061 
   3062 else
   3063   ac_file=''
   3064 fi
   3065 if test -z "$ac_file"; then :
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 $as_echo "$as_me: failed program was:" >&5
   3069 sed 's/^/| /' conftest.$ac_ext >&5
   3070 
   3071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3073 as_fn_error 77 "C compiler cannot create executables
   3074 See \`config.log' for more details" "$LINENO" 5; }
   3075 else
   3076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3077 $as_echo "yes" >&6; }
   3078 fi
   3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3080 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3082 $as_echo "$ac_file" >&6; }
   3083 ac_exeext=$ac_cv_exeext
   3084 
   3085 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3086 ac_clean_files=$ac_clean_files_save
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3088 $as_echo_n "checking for suffix of executables... " >&6; }
   3089 if { { ac_try="$ac_link"
   3090 case "(($ac_try" in
   3091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3092   *) ac_try_echo=$ac_try;;
   3093 esac
   3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3095 $as_echo "$ac_try_echo"; } >&5
   3096   (eval "$ac_link") 2>&5
   3097   ac_status=$?
   3098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3099   test $ac_status = 0; }; then :
   3100   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3101 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3102 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3103 # `rm'.
   3104 for ac_file in conftest.exe conftest conftest.*; do
   3105   test -f "$ac_file" || continue
   3106   case $ac_file in
   3107     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3108     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3109 	  break;;
   3110     * ) break;;
   3111   esac
   3112 done
   3113 else
   3114   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3116 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3117 See \`config.log' for more details" "$LINENO" 5; }
   3118 fi
   3119 rm -f conftest conftest$ac_cv_exeext
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3121 $as_echo "$ac_cv_exeext" >&6; }
   3122 
   3123 rm -f conftest.$ac_ext
   3124 EXEEXT=$ac_cv_exeext
   3125 ac_exeext=$EXEEXT
   3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3127 /* end confdefs.h.  */
   3128 #include <stdio.h>
   3129 int
   3130 main ()
   3131 {
   3132 FILE *f = fopen ("conftest.out", "w");
   3133  return ferror (f) || fclose (f) != 0;
   3134 
   3135   ;
   3136   return 0;
   3137 }
   3138 _ACEOF
   3139 ac_clean_files="$ac_clean_files conftest.out"
   3140 # Check that the compiler produces executables we can run.  If not, either
   3141 # the compiler is broken, or we cross compile.
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3143 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3144 if test "$cross_compiling" != yes; then
   3145   { { ac_try="$ac_link"
   3146 case "(($ac_try" in
   3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3148   *) ac_try_echo=$ac_try;;
   3149 esac
   3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3151 $as_echo "$ac_try_echo"; } >&5
   3152   (eval "$ac_link") 2>&5
   3153   ac_status=$?
   3154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3155   test $ac_status = 0; }
   3156   if { ac_try='./conftest$ac_cv_exeext'
   3157   { { case "(($ac_try" in
   3158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3159   *) ac_try_echo=$ac_try;;
   3160 esac
   3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3162 $as_echo "$ac_try_echo"; } >&5
   3163   (eval "$ac_try") 2>&5
   3164   ac_status=$?
   3165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3166   test $ac_status = 0; }; }; then
   3167     cross_compiling=no
   3168   else
   3169     if test "$cross_compiling" = maybe; then
   3170 	cross_compiling=yes
   3171     else
   3172 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3174 as_fn_error $? "cannot run C compiled programs.
   3175 If you meant to cross compile, use \`--host'.
   3176 See \`config.log' for more details" "$LINENO" 5; }
   3177     fi
   3178   fi
   3179 fi
   3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3181 $as_echo "$cross_compiling" >&6; }
   3182 
   3183 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3184 ac_clean_files=$ac_clean_files_save
   3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3186 $as_echo_n "checking for suffix of object files... " >&6; }
   3187 if ${ac_cv_objext+:} false; then :
   3188   $as_echo_n "(cached) " >&6
   3189 else
   3190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3191 /* end confdefs.h.  */
   3192 
   3193 int
   3194 main ()
   3195 {
   3196 
   3197   ;
   3198   return 0;
   3199 }
   3200 _ACEOF
   3201 rm -f conftest.o conftest.obj
   3202 if { { ac_try="$ac_compile"
   3203 case "(($ac_try" in
   3204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3205   *) ac_try_echo=$ac_try;;
   3206 esac
   3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3208 $as_echo "$ac_try_echo"; } >&5
   3209   (eval "$ac_compile") 2>&5
   3210   ac_status=$?
   3211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3212   test $ac_status = 0; }; then :
   3213   for ac_file in conftest.o conftest.obj conftest.*; do
   3214   test -f "$ac_file" || continue;
   3215   case $ac_file in
   3216     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3217     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3218        break;;
   3219   esac
   3220 done
   3221 else
   3222   $as_echo "$as_me: failed program was:" >&5
   3223 sed 's/^/| /' conftest.$ac_ext >&5
   3224 
   3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3227 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3228 See \`config.log' for more details" "$LINENO" 5; }
   3229 fi
   3230 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3231 fi
   3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3233 $as_echo "$ac_cv_objext" >&6; }
   3234 OBJEXT=$ac_cv_objext
   3235 ac_objext=$OBJEXT
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3237 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3238 if ${ac_cv_c_compiler_gnu+:} false; then :
   3239   $as_echo_n "(cached) " >&6
   3240 else
   3241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3242 /* end confdefs.h.  */
   3243 
   3244 int
   3245 main ()
   3246 {
   3247 #ifndef __GNUC__
   3248        choke me
   3249 #endif
   3250 
   3251   ;
   3252   return 0;
   3253 }
   3254 _ACEOF
   3255 if ac_fn_c_try_compile "$LINENO"; then :
   3256   ac_compiler_gnu=yes
   3257 else
   3258   ac_compiler_gnu=no
   3259 fi
   3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3261 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3262 
   3263 fi
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3265 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3266 if test $ac_compiler_gnu = yes; then
   3267   GCC=yes
   3268 else
   3269   GCC=
   3270 fi
   3271 ac_test_CFLAGS=${CFLAGS+set}
   3272 ac_save_CFLAGS=$CFLAGS
   3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3274 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3275 if ${ac_cv_prog_cc_g+:} false; then :
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   ac_save_c_werror_flag=$ac_c_werror_flag
   3279    ac_c_werror_flag=yes
   3280    ac_cv_prog_cc_g=no
   3281    CFLAGS="-g"
   3282    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3283 /* end confdefs.h.  */
   3284 
   3285 int
   3286 main ()
   3287 {
   3288 
   3289   ;
   3290   return 0;
   3291 }
   3292 _ACEOF
   3293 if ac_fn_c_try_compile "$LINENO"; then :
   3294   ac_cv_prog_cc_g=yes
   3295 else
   3296   CFLAGS=""
   3297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3298 /* end confdefs.h.  */
   3299 
   3300 int
   3301 main ()
   3302 {
   3303 
   3304   ;
   3305   return 0;
   3306 }
   3307 _ACEOF
   3308 if ac_fn_c_try_compile "$LINENO"; then :
   3309 
   3310 else
   3311   ac_c_werror_flag=$ac_save_c_werror_flag
   3312 	 CFLAGS="-g"
   3313 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3314 /* end confdefs.h.  */
   3315 
   3316 int
   3317 main ()
   3318 {
   3319 
   3320   ;
   3321   return 0;
   3322 }
   3323 _ACEOF
   3324 if ac_fn_c_try_compile "$LINENO"; then :
   3325   ac_cv_prog_cc_g=yes
   3326 fi
   3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3328 fi
   3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3330 fi
   3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3332    ac_c_werror_flag=$ac_save_c_werror_flag
   3333 fi
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3335 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3336 if test "$ac_test_CFLAGS" = set; then
   3337   CFLAGS=$ac_save_CFLAGS
   3338 elif test $ac_cv_prog_cc_g = yes; then
   3339   if test "$GCC" = yes; then
   3340     CFLAGS="-g -O2"
   3341   else
   3342     CFLAGS="-g"
   3343   fi
   3344 else
   3345   if test "$GCC" = yes; then
   3346     CFLAGS="-O2"
   3347   else
   3348     CFLAGS=
   3349   fi
   3350 fi
   3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3352 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3353 if ${ac_cv_prog_cc_c89+:} false; then :
   3354   $as_echo_n "(cached) " >&6
   3355 else
   3356   ac_cv_prog_cc_c89=no
   3357 ac_save_CC=$CC
   3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 #include <stdarg.h>
   3361 #include <stdio.h>
   3362 #include <sys/types.h>
   3363 #include <sys/stat.h>
   3364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3365 struct buf { int x; };
   3366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3367 static char *e (p, i)
   3368      char **p;
   3369      int i;
   3370 {
   3371   return p[i];
   3372 }
   3373 static char *f (char * (*g) (char **, int), char **p, ...)
   3374 {
   3375   char *s;
   3376   va_list v;
   3377   va_start (v,p);
   3378   s = g (p, va_arg (v,int));
   3379   va_end (v);
   3380   return s;
   3381 }
   3382 
   3383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3384    function prototypes and stuff, but not '\xHH' hex character constants.
   3385    These don't provoke an error unfortunately, instead are silently treated
   3386    as 'x'.  The following induces an error, until -std is added to get
   3387    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3388    array size at least.  It's necessary to write '\x00'==0 to get something
   3389    that's true only with -std.  */
   3390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3391 
   3392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3393    inside strings and character constants.  */
   3394 #define FOO(x) 'x'
   3395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3396 
   3397 int test (int i, double x);
   3398 struct s1 {int (*f) (int a);};
   3399 struct s2 {int (*f) (double a);};
   3400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3401 int argc;
   3402 char **argv;
   3403 int
   3404 main ()
   3405 {
   3406 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3412 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3413 do
   3414   CC="$ac_save_CC $ac_arg"
   3415   if ac_fn_c_try_compile "$LINENO"; then :
   3416   ac_cv_prog_cc_c89=$ac_arg
   3417 fi
   3418 rm -f core conftest.err conftest.$ac_objext
   3419   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3420 done
   3421 rm -f conftest.$ac_ext
   3422 CC=$ac_save_CC
   3423 
   3424 fi
   3425 # AC_CACHE_VAL
   3426 case "x$ac_cv_prog_cc_c89" in
   3427   x)
   3428     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3429 $as_echo "none needed" >&6; } ;;
   3430   xno)
   3431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3432 $as_echo "unsupported" >&6; } ;;
   3433   *)
   3434     CC="$CC $ac_cv_prog_cc_c89"
   3435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3436 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3437 esac
   3438 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3439 
   3440 fi
   3441 
   3442 ac_ext=c
   3443 ac_cpp='$CPP $CPPFLAGS'
   3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3447 
   3448 depcc="$CC"   am_compiler_list=
   3449 
   3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3451 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3452 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3456   # We make a subdir and do the tests there.  Otherwise we can end up
   3457   # making bogus files that we don't know about and never remove.  For
   3458   # instance it was reported that on HP-UX the gcc test will end up
   3459   # making a dummy file named `D' -- because `-MD' means `put the output
   3460   # in D'.
   3461   rm -rf conftest.dir
   3462   mkdir conftest.dir
   3463   # Copy depcomp to subdir because otherwise we won't find it if we're
   3464   # using a relative directory.
   3465   cp "$am_depcomp" conftest.dir
   3466   cd conftest.dir
   3467   # We will build objects and dependencies in a subdirectory because
   3468   # it helps to detect inapplicable dependency modes.  For instance
   3469   # both Tru64's cc and ICC support -MD to output dependencies as a
   3470   # side effect of compilation, but ICC will put the dependencies in
   3471   # the current directory while Tru64 will put them in the object
   3472   # directory.
   3473   mkdir sub
   3474 
   3475   am_cv_CC_dependencies_compiler_type=none
   3476   if test "$am_compiler_list" = ""; then
   3477      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3478   fi
   3479   am__universal=false
   3480   case " $depcc " in #(
   3481      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3482      esac
   3483 
   3484   for depmode in $am_compiler_list; do
   3485     # Setup a source with many dependencies, because some compilers
   3486     # like to wrap large dependency lists on column 80 (with \), and
   3487     # we should not choose a depcomp mode which is confused by this.
   3488     #
   3489     # We need to recreate these files for each test, as the compiler may
   3490     # overwrite some of them when testing with obscure command lines.
   3491     # This happens at least with the AIX C compiler.
   3492     : > sub/conftest.c
   3493     for i in 1 2 3 4 5 6; do
   3494       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3495       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3496       # Solaris 8's {/usr,}/bin/sh.
   3497       touch sub/conftst$i.h
   3498     done
   3499     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3500 
   3501     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3502     # mode.  It turns out that the SunPro C++ compiler does not properly
   3503     # handle `-M -o', and we need to detect this.  Also, some Intel
   3504     # versions had trouble with output in subdirs
   3505     am__obj=sub/conftest.${OBJEXT-o}
   3506     am__minus_obj="-o $am__obj"
   3507     case $depmode in
   3508     gcc)
   3509       # This depmode causes a compiler race in universal mode.
   3510       test "$am__universal" = false || continue
   3511       ;;
   3512     nosideeffect)
   3513       # after this tag, mechanisms are not by side-effect, so they'll
   3514       # only be used when explicitly requested
   3515       if test "x$enable_dependency_tracking" = xyes; then
   3516 	continue
   3517       else
   3518 	break
   3519       fi
   3520       ;;
   3521     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3522       # This compiler won't grok `-c -o', but also, the minuso test has
   3523       # not run yet.  These depmodes are late enough in the game, and
   3524       # so weak that their functioning should not be impacted.
   3525       am__obj=conftest.${OBJEXT-o}
   3526       am__minus_obj=
   3527       ;;
   3528     none) break ;;
   3529     esac
   3530     if depmode=$depmode \
   3531        source=sub/conftest.c object=$am__obj \
   3532        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3533        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3534          >/dev/null 2>conftest.err &&
   3535        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3536        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3537        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3538        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3539       # icc doesn't choke on unknown options, it will just issue warnings
   3540       # or remarks (even with -Werror).  So we grep stderr for any message
   3541       # that says an option was ignored or not supported.
   3542       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3543       #   icc: Command line warning: ignoring option '-M'; no argument required
   3544       # The diagnosis changed in icc 8.0:
   3545       #   icc: Command line remark: option '-MP' not supported
   3546       if (grep 'ignoring option' conftest.err ||
   3547           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3548         am_cv_CC_dependencies_compiler_type=$depmode
   3549         break
   3550       fi
   3551     fi
   3552   done
   3553 
   3554   cd ..
   3555   rm -rf conftest.dir
   3556 else
   3557   am_cv_CC_dependencies_compiler_type=none
   3558 fi
   3559 
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3564 
   3565  if
   3566   test "x$enable_dependency_tracking" != xno \
   3567   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3568   am__fastdepCC_TRUE=
   3569   am__fastdepCC_FALSE='#'
   3570 else
   3571   am__fastdepCC_TRUE='#'
   3572   am__fastdepCC_FALSE=
   3573 fi
   3574 
   3575 
   3576    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3577 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3578 if ${ac_cv_prog_cc_c99+:} false; then :
   3579   $as_echo_n "(cached) " >&6
   3580 else
   3581   ac_cv_prog_cc_c99=no
   3582 ac_save_CC=$CC
   3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3584 /* end confdefs.h.  */
   3585 #include <stdarg.h>
   3586 #include <stdbool.h>
   3587 #include <stdlib.h>
   3588 #include <wchar.h>
   3589 #include <stdio.h>
   3590 
   3591 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3592 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3593 #define showlist(...) puts (#__VA_ARGS__)
   3594 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3595 static void
   3596 test_varargs_macros (void)
   3597 {
   3598   int x = 1234;
   3599   int y = 5678;
   3600   debug ("Flag");
   3601   debug ("X = %d\n", x);
   3602   showlist (The first, second, and third items.);
   3603   report (x>y, "x is %d but y is %d", x, y);
   3604 }
   3605 
   3606 // Check long long types.
   3607 #define BIG64 18446744073709551615ull
   3608 #define BIG32 4294967295ul
   3609 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3610 #if !BIG_OK
   3611   your preprocessor is broken;
   3612 #endif
   3613 #if BIG_OK
   3614 #else
   3615   your preprocessor is broken;
   3616 #endif
   3617 static long long int bignum = -9223372036854775807LL;
   3618 static unsigned long long int ubignum = BIG64;
   3619 
   3620 struct incomplete_array
   3621 {
   3622   int datasize;
   3623   double data[];
   3624 };
   3625 
   3626 struct named_init {
   3627   int number;
   3628   const wchar_t *name;
   3629   double average;
   3630 };
   3631 
   3632 typedef const char *ccp;
   3633 
   3634 static inline int
   3635 test_restrict (ccp restrict text)
   3636 {
   3637   // See if C++-style comments work.
   3638   // Iterate through items via the restricted pointer.
   3639   // Also check for declarations in for loops.
   3640   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3641     continue;
   3642   return 0;
   3643 }
   3644 
   3645 // Check varargs and va_copy.
   3646 static void
   3647 test_varargs (const char *format, ...)
   3648 {
   3649   va_list args;
   3650   va_start (args, format);
   3651   va_list args_copy;
   3652   va_copy (args_copy, args);
   3653 
   3654   const char *str;
   3655   int number;
   3656   float fnumber;
   3657 
   3658   while (*format)
   3659     {
   3660       switch (*format++)
   3661 	{
   3662 	case 's': // string
   3663 	  str = va_arg (args_copy, const char *);
   3664 	  break;
   3665 	case 'd': // int
   3666 	  number = va_arg (args_copy, int);
   3667 	  break;
   3668 	case 'f': // float
   3669 	  fnumber = va_arg (args_copy, double);
   3670 	  break;
   3671 	default:
   3672 	  break;
   3673 	}
   3674     }
   3675   va_end (args_copy);
   3676   va_end (args);
   3677 }
   3678 
   3679 int
   3680 main ()
   3681 {
   3682 
   3683   // Check bool.
   3684   _Bool success = false;
   3685 
   3686   // Check restrict.
   3687   if (test_restrict ("String literal") == 0)
   3688     success = true;
   3689   char *restrict newvar = "Another string";
   3690 
   3691   // Check varargs.
   3692   test_varargs ("s, d' f .", "string", 65, 34.234);
   3693   test_varargs_macros ();
   3694 
   3695   // Check flexible array members.
   3696   struct incomplete_array *ia =
   3697     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3698   ia->datasize = 10;
   3699   for (int i = 0; i < ia->datasize; ++i)
   3700     ia->data[i] = i * 1.234;
   3701 
   3702   // Check named initializers.
   3703   struct named_init ni = {
   3704     .number = 34,
   3705     .name = L"Test wide string",
   3706     .average = 543.34343,
   3707   };
   3708 
   3709   ni.number = 58;
   3710 
   3711   int dynamic_array[ni.number];
   3712   dynamic_array[ni.number - 1] = 543;
   3713 
   3714   // work around unused variable warnings
   3715   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3716 	  || dynamic_array[ni.number - 1] != 543);
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3723 do
   3724   CC="$ac_save_CC $ac_arg"
   3725   if ac_fn_c_try_compile "$LINENO"; then :
   3726   ac_cv_prog_cc_c99=$ac_arg
   3727 fi
   3728 rm -f core conftest.err conftest.$ac_objext
   3729   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3730 done
   3731 rm -f conftest.$ac_ext
   3732 CC=$ac_save_CC
   3733 
   3734 fi
   3735 # AC_CACHE_VAL
   3736 case "x$ac_cv_prog_cc_c99" in
   3737   x)
   3738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3739 $as_echo "none needed" >&6; } ;;
   3740   xno)
   3741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3742 $as_echo "unsupported" >&6; } ;;
   3743   *)
   3744     CC="$CC $ac_cv_prog_cc_c99"
   3745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3746 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3747 esac
   3748 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3749 
   3750 fi
   3751 
   3752 
   3753 
   3754 ac_ext=c
   3755 ac_cpp='$CPP $CPPFLAGS'
   3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3761 # On Suns, sometimes $CPP names a directory.
   3762 if test -n "$CPP" && test -d "$CPP"; then
   3763   CPP=
   3764 fi
   3765 if test -z "$CPP"; then
   3766   if ${ac_cv_prog_CPP+:} false; then :
   3767   $as_echo_n "(cached) " >&6
   3768 else
   3769       # Double quotes because CPP needs to be expanded
   3770     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3771     do
   3772       ac_preproc_ok=false
   3773 for ac_c_preproc_warn_flag in '' yes
   3774 do
   3775   # Use a header file that comes with gcc, so configuring glibc
   3776   # with a fresh cross-compiler works.
   3777   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3778   # <limits.h> exists even on freestanding compilers.
   3779   # On the NeXT, cc -E runs the code through the compiler's parser,
   3780   # not just through cpp. "Syntax error" is here to catch this case.
   3781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3782 /* end confdefs.h.  */
   3783 #ifdef __STDC__
   3784 # include <limits.h>
   3785 #else
   3786 # include <assert.h>
   3787 #endif
   3788 		     Syntax error
   3789 _ACEOF
   3790 if ac_fn_c_try_cpp "$LINENO"; then :
   3791 
   3792 else
   3793   # Broken: fails on valid input.
   3794 continue
   3795 fi
   3796 rm -f conftest.err conftest.i conftest.$ac_ext
   3797 
   3798   # OK, works on sane cases.  Now check whether nonexistent headers
   3799   # can be detected and how.
   3800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3801 /* end confdefs.h.  */
   3802 #include <ac_nonexistent.h>
   3803 _ACEOF
   3804 if ac_fn_c_try_cpp "$LINENO"; then :
   3805   # Broken: success on invalid input.
   3806 continue
   3807 else
   3808   # Passes both tests.
   3809 ac_preproc_ok=:
   3810 break
   3811 fi
   3812 rm -f conftest.err conftest.i conftest.$ac_ext
   3813 
   3814 done
   3815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3816 rm -f conftest.i conftest.err conftest.$ac_ext
   3817 if $ac_preproc_ok; then :
   3818   break
   3819 fi
   3820 
   3821     done
   3822     ac_cv_prog_CPP=$CPP
   3823 
   3824 fi
   3825   CPP=$ac_cv_prog_CPP
   3826 else
   3827   ac_cv_prog_CPP=$CPP
   3828 fi
   3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3830 $as_echo "$CPP" >&6; }
   3831 ac_preproc_ok=false
   3832 for ac_c_preproc_warn_flag in '' yes
   3833 do
   3834   # Use a header file that comes with gcc, so configuring glibc
   3835   # with a fresh cross-compiler works.
   3836   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3837   # <limits.h> exists even on freestanding compilers.
   3838   # On the NeXT, cc -E runs the code through the compiler's parser,
   3839   # not just through cpp. "Syntax error" is here to catch this case.
   3840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3841 /* end confdefs.h.  */
   3842 #ifdef __STDC__
   3843 # include <limits.h>
   3844 #else
   3845 # include <assert.h>
   3846 #endif
   3847 		     Syntax error
   3848 _ACEOF
   3849 if ac_fn_c_try_cpp "$LINENO"; then :
   3850 
   3851 else
   3852   # Broken: fails on valid input.
   3853 continue
   3854 fi
   3855 rm -f conftest.err conftest.i conftest.$ac_ext
   3856 
   3857   # OK, works on sane cases.  Now check whether nonexistent headers
   3858   # can be detected and how.
   3859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3860 /* end confdefs.h.  */
   3861 #include <ac_nonexistent.h>
   3862 _ACEOF
   3863 if ac_fn_c_try_cpp "$LINENO"; then :
   3864   # Broken: success on invalid input.
   3865 continue
   3866 else
   3867   # Passes both tests.
   3868 ac_preproc_ok=:
   3869 break
   3870 fi
   3871 rm -f conftest.err conftest.i conftest.$ac_ext
   3872 
   3873 done
   3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3875 rm -f conftest.i conftest.err conftest.$ac_ext
   3876 if $ac_preproc_ok; then :
   3877 
   3878 else
   3879   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3881 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3882 See \`config.log' for more details" "$LINENO" 5; }
   3883 fi
   3884 
   3885 ac_ext=c
   3886 ac_cpp='$CPP $CPPFLAGS'
   3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3890 
   3891 
   3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3893 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3894 if ${ac_cv_path_GREP+:} false; then :
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897   if test -z "$GREP"; then
   3898   ac_path_GREP_found=false
   3899   # Loop through the user's path and test for each of PROGNAME-LIST
   3900   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3902 do
   3903   IFS=$as_save_IFS
   3904   test -z "$as_dir" && as_dir=.
   3905     for ac_prog in grep ggrep; do
   3906     for ac_exec_ext in '' $ac_executable_extensions; do
   3907       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3908       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3909 # Check for GNU ac_path_GREP and select it if it is found.
   3910   # Check for GNU $ac_path_GREP
   3911 case `"$ac_path_GREP" --version 2>&1` in
   3912 *GNU*)
   3913   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3914 *)
   3915   ac_count=0
   3916   $as_echo_n 0123456789 >"conftest.in"
   3917   while :
   3918   do
   3919     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3920     mv "conftest.tmp" "conftest.in"
   3921     cp "conftest.in" "conftest.nl"
   3922     $as_echo 'GREP' >> "conftest.nl"
   3923     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3924     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3925     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3926     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3927       # Best one so far, save it but keep looking for a better one
   3928       ac_cv_path_GREP="$ac_path_GREP"
   3929       ac_path_GREP_max=$ac_count
   3930     fi
   3931     # 10*(2^10) chars as input seems more than enough
   3932     test $ac_count -gt 10 && break
   3933   done
   3934   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3935 esac
   3936 
   3937       $ac_path_GREP_found && break 3
   3938     done
   3939   done
   3940   done
   3941 IFS=$as_save_IFS
   3942   if test -z "$ac_cv_path_GREP"; then
   3943     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3944   fi
   3945 else
   3946   ac_cv_path_GREP=$GREP
   3947 fi
   3948 
   3949 fi
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3951 $as_echo "$ac_cv_path_GREP" >&6; }
   3952  GREP="$ac_cv_path_GREP"
   3953 
   3954 
   3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3956 $as_echo_n "checking for egrep... " >&6; }
   3957 if ${ac_cv_path_EGREP+:} false; then :
   3958   $as_echo_n "(cached) " >&6
   3959 else
   3960   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3961    then ac_cv_path_EGREP="$GREP -E"
   3962    else
   3963      if test -z "$EGREP"; then
   3964   ac_path_EGREP_found=false
   3965   # Loop through the user's path and test for each of PROGNAME-LIST
   3966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3968 do
   3969   IFS=$as_save_IFS
   3970   test -z "$as_dir" && as_dir=.
   3971     for ac_prog in egrep; do
   3972     for ac_exec_ext in '' $ac_executable_extensions; do
   3973       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3974       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3975 # Check for GNU ac_path_EGREP and select it if it is found.
   3976   # Check for GNU $ac_path_EGREP
   3977 case `"$ac_path_EGREP" --version 2>&1` in
   3978 *GNU*)
   3979   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3980 *)
   3981   ac_count=0
   3982   $as_echo_n 0123456789 >"conftest.in"
   3983   while :
   3984   do
   3985     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3986     mv "conftest.tmp" "conftest.in"
   3987     cp "conftest.in" "conftest.nl"
   3988     $as_echo 'EGREP' >> "conftest.nl"
   3989     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3990     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3991     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3992     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3993       # Best one so far, save it but keep looking for a better one
   3994       ac_cv_path_EGREP="$ac_path_EGREP"
   3995       ac_path_EGREP_max=$ac_count
   3996     fi
   3997     # 10*(2^10) chars as input seems more than enough
   3998     test $ac_count -gt 10 && break
   3999   done
   4000   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4001 esac
   4002 
   4003       $ac_path_EGREP_found && break 3
   4004     done
   4005   done
   4006   done
   4007 IFS=$as_save_IFS
   4008   if test -z "$ac_cv_path_EGREP"; then
   4009     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4010   fi
   4011 else
   4012   ac_cv_path_EGREP=$EGREP
   4013 fi
   4014 
   4015    fi
   4016 fi
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4018 $as_echo "$ac_cv_path_EGREP" >&6; }
   4019  EGREP="$ac_cv_path_EGREP"
   4020 
   4021 
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4023 $as_echo_n "checking for ANSI C header files... " >&6; }
   4024 if ${ac_cv_header_stdc+:} false; then :
   4025   $as_echo_n "(cached) " >&6
   4026 else
   4027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4028 /* end confdefs.h.  */
   4029 #include <stdlib.h>
   4030 #include <stdarg.h>
   4031 #include <string.h>
   4032 #include <float.h>
   4033 
   4034 int
   4035 main ()
   4036 {
   4037 
   4038   ;
   4039   return 0;
   4040 }
   4041 _ACEOF
   4042 if ac_fn_c_try_compile "$LINENO"; then :
   4043   ac_cv_header_stdc=yes
   4044 else
   4045   ac_cv_header_stdc=no
   4046 fi
   4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4048 
   4049 if test $ac_cv_header_stdc = yes; then
   4050   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4052 /* end confdefs.h.  */
   4053 #include <string.h>
   4054 
   4055 _ACEOF
   4056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4057   $EGREP "memchr" >/dev/null 2>&1; then :
   4058 
   4059 else
   4060   ac_cv_header_stdc=no
   4061 fi
   4062 rm -f conftest*
   4063 
   4064 fi
   4065 
   4066 if test $ac_cv_header_stdc = yes; then
   4067   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 #include <stdlib.h>
   4071 
   4072 _ACEOF
   4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4074   $EGREP "free" >/dev/null 2>&1; then :
   4075 
   4076 else
   4077   ac_cv_header_stdc=no
   4078 fi
   4079 rm -f conftest*
   4080 
   4081 fi
   4082 
   4083 if test $ac_cv_header_stdc = yes; then
   4084   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4085   if test "$cross_compiling" = yes; then :
   4086   :
   4087 else
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 #include <ctype.h>
   4091 #include <stdlib.h>
   4092 #if ((' ' & 0x0FF) == 0x020)
   4093 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4094 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4095 #else
   4096 # define ISLOWER(c) \
   4097 		   (('a' <= (c) && (c) <= 'i') \
   4098 		     || ('j' <= (c) && (c) <= 'r') \
   4099 		     || ('s' <= (c) && (c) <= 'z'))
   4100 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4101 #endif
   4102 
   4103 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4104 int
   4105 main ()
   4106 {
   4107   int i;
   4108   for (i = 0; i < 256; i++)
   4109     if (XOR (islower (i), ISLOWER (i))
   4110 	|| toupper (i) != TOUPPER (i))
   4111       return 2;
   4112   return 0;
   4113 }
   4114 _ACEOF
   4115 if ac_fn_c_try_run "$LINENO"; then :
   4116 
   4117 else
   4118   ac_cv_header_stdc=no
   4119 fi
   4120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4121   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4122 fi
   4123 
   4124 fi
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4127 $as_echo "$ac_cv_header_stdc" >&6; }
   4128 if test $ac_cv_header_stdc = yes; then
   4129 
   4130 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4131 
   4132 fi
   4133 
   4134 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4135 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4136 		  inttypes.h stdint.h unistd.h
   4137 do :
   4138   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4139 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4140 "
   4141 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4142   cat >>confdefs.h <<_ACEOF
   4143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4144 _ACEOF
   4145 
   4146 fi
   4147 
   4148 done
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4156 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4157   CLANGCC="yes"
   4158 else
   4159   CLANGCC="no"
   4160 fi
   4161 
   4162 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4163 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4164   INTELCC="yes"
   4165 else
   4166   INTELCC="no"
   4167 fi
   4168 
   4169 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4170 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4171   SUNCC="yes"
   4172 else
   4173   SUNCC="no"
   4174 fi
   4175 
   4176 
   4177 
   4178 
   4179 
   4180 
   4181 
   4182 
   4183 
   4184 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4185 	if test -n "$ac_tool_prefix"; then
   4186   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4187 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4189 $as_echo_n "checking for $ac_word... " >&6; }
   4190 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4191   $as_echo_n "(cached) " >&6
   4192 else
   4193   case $PKG_CONFIG in
   4194   [\\/]* | ?:[\\/]*)
   4195   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4196   ;;
   4197   *)
   4198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4199 for as_dir in $PATH
   4200 do
   4201   IFS=$as_save_IFS
   4202   test -z "$as_dir" && as_dir=.
   4203     for ac_exec_ext in '' $ac_executable_extensions; do
   4204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4205     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4207     break 2
   4208   fi
   4209 done
   4210   done
   4211 IFS=$as_save_IFS
   4212 
   4213   ;;
   4214 esac
   4215 fi
   4216 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4217 if test -n "$PKG_CONFIG"; then
   4218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4219 $as_echo "$PKG_CONFIG" >&6; }
   4220 else
   4221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4222 $as_echo "no" >&6; }
   4223 fi
   4224 
   4225 
   4226 fi
   4227 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4228   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4229   # Extract the first word of "pkg-config", so it can be a program name with args.
   4230 set dummy pkg-config; ac_word=$2
   4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4232 $as_echo_n "checking for $ac_word... " >&6; }
   4233 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4234   $as_echo_n "(cached) " >&6
   4235 else
   4236   case $ac_pt_PKG_CONFIG in
   4237   [\\/]* | ?:[\\/]*)
   4238   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4239   ;;
   4240   *)
   4241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4242 for as_dir in $PATH
   4243 do
   4244   IFS=$as_save_IFS
   4245   test -z "$as_dir" && as_dir=.
   4246     for ac_exec_ext in '' $ac_executable_extensions; do
   4247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4248     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4250     break 2
   4251   fi
   4252 done
   4253   done
   4254 IFS=$as_save_IFS
   4255 
   4256   ;;
   4257 esac
   4258 fi
   4259 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4260 if test -n "$ac_pt_PKG_CONFIG"; then
   4261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4262 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4263 else
   4264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4265 $as_echo "no" >&6; }
   4266 fi
   4267 
   4268   if test "x$ac_pt_PKG_CONFIG" = x; then
   4269     PKG_CONFIG=""
   4270   else
   4271     case $cross_compiling:$ac_tool_warned in
   4272 yes:)
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4275 ac_tool_warned=yes ;;
   4276 esac
   4277     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4278   fi
   4279 else
   4280   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4281 fi
   4282 
   4283 fi
   4284 if test -n "$PKG_CONFIG"; then
   4285 	_pkg_min_version=0.9.0
   4286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4287 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4288 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4290 $as_echo "yes" >&6; }
   4291 	else
   4292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4293 $as_echo "no" >&6; }
   4294 		PKG_CONFIG=""
   4295 	fi
   4296 fi
   4297 # Make sure we can run config.sub.
   4298 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4299   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4300 
   4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4302 $as_echo_n "checking build system type... " >&6; }
   4303 if ${ac_cv_build+:} false; then :
   4304   $as_echo_n "(cached) " >&6
   4305 else
   4306   ac_build_alias=$build_alias
   4307 test "x$ac_build_alias" = x &&
   4308   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4309 test "x$ac_build_alias" = x &&
   4310   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4311 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4312   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4313 
   4314 fi
   4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4316 $as_echo "$ac_cv_build" >&6; }
   4317 case $ac_cv_build in
   4318 *-*-*) ;;
   4319 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4320 esac
   4321 build=$ac_cv_build
   4322 ac_save_IFS=$IFS; IFS='-'
   4323 set x $ac_cv_build
   4324 shift
   4325 build_cpu=$1
   4326 build_vendor=$2
   4327 shift; shift
   4328 # Remember, the first character of IFS is used to create $*,
   4329 # except with old shells:
   4330 build_os=$*
   4331 IFS=$ac_save_IFS
   4332 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4333 
   4334 
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4336 $as_echo_n "checking host system type... " >&6; }
   4337 if ${ac_cv_host+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   if test "x$host_alias" = x; then
   4341   ac_cv_host=$ac_cv_build
   4342 else
   4343   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4344     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4345 fi
   4346 
   4347 fi
   4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4349 $as_echo "$ac_cv_host" >&6; }
   4350 case $ac_cv_host in
   4351 *-*-*) ;;
   4352 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4353 esac
   4354 host=$ac_cv_host
   4355 ac_save_IFS=$IFS; IFS='-'
   4356 set x $ac_cv_host
   4357 shift
   4358 host_cpu=$1
   4359 host_vendor=$2
   4360 shift; shift
   4361 # Remember, the first character of IFS is used to create $*,
   4362 # except with old shells:
   4363 host_os=$*
   4364 IFS=$ac_save_IFS
   4365 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4366 
   4367 
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4369 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4370 if ${ac_cv_path_SED+:} false; then :
   4371   $as_echo_n "(cached) " >&6
   4372 else
   4373             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4374      for ac_i in 1 2 3 4 5 6 7; do
   4375        ac_script="$ac_script$as_nl$ac_script"
   4376      done
   4377      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4378      { ac_script=; unset ac_script;}
   4379      if test -z "$SED"; then
   4380   ac_path_SED_found=false
   4381   # Loop through the user's path and test for each of PROGNAME-LIST
   4382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4383 for as_dir in $PATH
   4384 do
   4385   IFS=$as_save_IFS
   4386   test -z "$as_dir" && as_dir=.
   4387     for ac_prog in sed gsed; do
   4388     for ac_exec_ext in '' $ac_executable_extensions; do
   4389       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4390       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4391 # Check for GNU ac_path_SED and select it if it is found.
   4392   # Check for GNU $ac_path_SED
   4393 case `"$ac_path_SED" --version 2>&1` in
   4394 *GNU*)
   4395   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4396 *)
   4397   ac_count=0
   4398   $as_echo_n 0123456789 >"conftest.in"
   4399   while :
   4400   do
   4401     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4402     mv "conftest.tmp" "conftest.in"
   4403     cp "conftest.in" "conftest.nl"
   4404     $as_echo '' >> "conftest.nl"
   4405     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4406     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4407     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4408     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4409       # Best one so far, save it but keep looking for a better one
   4410       ac_cv_path_SED="$ac_path_SED"
   4411       ac_path_SED_max=$ac_count
   4412     fi
   4413     # 10*(2^10) chars as input seems more than enough
   4414     test $ac_count -gt 10 && break
   4415   done
   4416   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4417 esac
   4418 
   4419       $ac_path_SED_found && break 3
   4420     done
   4421   done
   4422   done
   4423 IFS=$as_save_IFS
   4424   if test -z "$ac_cv_path_SED"; then
   4425     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4426   fi
   4427 else
   4428   ac_cv_path_SED=$SED
   4429 fi
   4430 
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4433 $as_echo "$ac_cv_path_SED" >&6; }
   4434  SED="$ac_cv_path_SED"
   4435   rm -f conftest.sed
   4436 
   4437 
   4438 
   4439 
   4440 
   4441 
   4442 # Check whether --enable-selective-werror was given.
   4443 if test "${enable_selective_werror+set}" = set; then :
   4444   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4445 else
   4446   SELECTIVE_WERROR=yes
   4447 fi
   4448 
   4449 
   4450 
   4451 
   4452 
   4453 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4454 if test "x$SUNCC" = "xyes"; then
   4455     BASE_CFLAGS="-v"
   4456 else
   4457     BASE_CFLAGS=""
   4458 fi
   4459 
   4460 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 xorg_testset_save_CFLAGS="$CFLAGS"
   4475 
   4476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4481   $as_echo_n "(cached) " >&6
   4482 else
   4483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4484 /* end confdefs.h.  */
   4485 int i;
   4486 _ACEOF
   4487 if ac_fn_c_try_compile "$LINENO"; then :
   4488   xorg_cv_cc_flag_unknown_warning_option=yes
   4489 else
   4490   xorg_cv_cc_flag_unknown_warning_option=no
   4491 fi
   4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4493 fi
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4497 	CFLAGS="$xorg_testset_save_CFLAGS"
   4498 fi
   4499 
   4500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4503 	fi
   4504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4508   $as_echo_n "(cached) " >&6
   4509 else
   4510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4511 /* end confdefs.h.  */
   4512 int i;
   4513 _ACEOF
   4514 if ac_fn_c_try_compile "$LINENO"; then :
   4515   xorg_cv_cc_flag_unused_command_line_argument=yes
   4516 else
   4517   xorg_cv_cc_flag_unused_command_line_argument=no
   4518 fi
   4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4520 fi
   4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4524 	CFLAGS="$xorg_testset_save_CFLAGS"
   4525 fi
   4526 
   4527 found="no"
   4528 
   4529 	if test $found = "no" ; then
   4530 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4532 		fi
   4533 
   4534 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4536 		fi
   4537 
   4538 		CFLAGS="$CFLAGS -Wall"
   4539 
   4540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4541 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4542 		cacheid=xorg_cv_cc_flag__Wall
   4543 		if eval \${$cacheid+:} false; then :
   4544   $as_echo_n "(cached) " >&6
   4545 else
   4546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4547 /* end confdefs.h.  */
   4548 int i;
   4549 int
   4550 main ()
   4551 {
   4552 
   4553   ;
   4554   return 0;
   4555 }
   4556 _ACEOF
   4557 if ac_fn_c_try_link "$LINENO"; then :
   4558   eval $cacheid=yes
   4559 else
   4560   eval $cacheid=no
   4561 fi
   4562 rm -f core conftest.err conftest.$ac_objext \
   4563     conftest$ac_exeext conftest.$ac_ext
   4564 fi
   4565 
   4566 
   4567 		CFLAGS="$xorg_testset_save_CFLAGS"
   4568 
   4569 		eval supported=\$$cacheid
   4570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4571 $as_echo "$supported" >&6; }
   4572 		if test "$supported" = "yes" ; then
   4573 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4574 			found="yes"
   4575 		fi
   4576 	fi
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 
   4592 xorg_testset_save_CFLAGS="$CFLAGS"
   4593 
   4594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4597 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4598 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4599   $as_echo_n "(cached) " >&6
   4600 else
   4601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4602 /* end confdefs.h.  */
   4603 int i;
   4604 _ACEOF
   4605 if ac_fn_c_try_compile "$LINENO"; then :
   4606   xorg_cv_cc_flag_unknown_warning_option=yes
   4607 else
   4608   xorg_cv_cc_flag_unknown_warning_option=no
   4609 fi
   4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4611 fi
   4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4613 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4615 	CFLAGS="$xorg_testset_save_CFLAGS"
   4616 fi
   4617 
   4618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4621 	fi
   4622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4624 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4625 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4629 /* end confdefs.h.  */
   4630 int i;
   4631 _ACEOF
   4632 if ac_fn_c_try_compile "$LINENO"; then :
   4633   xorg_cv_cc_flag_unused_command_line_argument=yes
   4634 else
   4635   xorg_cv_cc_flag_unused_command_line_argument=no
   4636 fi
   4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4638 fi
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4640 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4642 	CFLAGS="$xorg_testset_save_CFLAGS"
   4643 fi
   4644 
   4645 found="no"
   4646 
   4647 	if test $found = "no" ; then
   4648 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4650 		fi
   4651 
   4652 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4654 		fi
   4655 
   4656 		CFLAGS="$CFLAGS -Wpointer-arith"
   4657 
   4658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4659 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4660 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4661 		if eval \${$cacheid+:} false; then :
   4662   $as_echo_n "(cached) " >&6
   4663 else
   4664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4665 /* end confdefs.h.  */
   4666 int i;
   4667 int
   4668 main ()
   4669 {
   4670 
   4671   ;
   4672   return 0;
   4673 }
   4674 _ACEOF
   4675 if ac_fn_c_try_link "$LINENO"; then :
   4676   eval $cacheid=yes
   4677 else
   4678   eval $cacheid=no
   4679 fi
   4680 rm -f core conftest.err conftest.$ac_objext \
   4681     conftest$ac_exeext conftest.$ac_ext
   4682 fi
   4683 
   4684 
   4685 		CFLAGS="$xorg_testset_save_CFLAGS"
   4686 
   4687 		eval supported=\$$cacheid
   4688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4689 $as_echo "$supported" >&6; }
   4690 		if test "$supported" = "yes" ; then
   4691 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4692 			found="yes"
   4693 		fi
   4694 	fi
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 xorg_testset_save_CFLAGS="$CFLAGS"
   4711 
   4712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4717   $as_echo_n "(cached) " >&6
   4718 else
   4719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4720 /* end confdefs.h.  */
   4721 int i;
   4722 _ACEOF
   4723 if ac_fn_c_try_compile "$LINENO"; then :
   4724   xorg_cv_cc_flag_unknown_warning_option=yes
   4725 else
   4726   xorg_cv_cc_flag_unknown_warning_option=no
   4727 fi
   4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4729 fi
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4733 	CFLAGS="$xorg_testset_save_CFLAGS"
   4734 fi
   4735 
   4736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4739 	fi
   4740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4747 /* end confdefs.h.  */
   4748 int i;
   4749 _ACEOF
   4750 if ac_fn_c_try_compile "$LINENO"; then :
   4751   xorg_cv_cc_flag_unused_command_line_argument=yes
   4752 else
   4753   xorg_cv_cc_flag_unused_command_line_argument=no
   4754 fi
   4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4756 fi
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4760 	CFLAGS="$xorg_testset_save_CFLAGS"
   4761 fi
   4762 
   4763 found="no"
   4764 
   4765 	if test $found = "no" ; then
   4766 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4768 		fi
   4769 
   4770 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4772 		fi
   4773 
   4774 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4775 
   4776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4777 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4778 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4779 		if eval \${$cacheid+:} false; then :
   4780   $as_echo_n "(cached) " >&6
   4781 else
   4782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4783 /* end confdefs.h.  */
   4784 int i;
   4785 int
   4786 main ()
   4787 {
   4788 
   4789   ;
   4790   return 0;
   4791 }
   4792 _ACEOF
   4793 if ac_fn_c_try_link "$LINENO"; then :
   4794   eval $cacheid=yes
   4795 else
   4796   eval $cacheid=no
   4797 fi
   4798 rm -f core conftest.err conftest.$ac_objext \
   4799     conftest$ac_exeext conftest.$ac_ext
   4800 fi
   4801 
   4802 
   4803 		CFLAGS="$xorg_testset_save_CFLAGS"
   4804 
   4805 		eval supported=\$$cacheid
   4806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4807 $as_echo "$supported" >&6; }
   4808 		if test "$supported" = "yes" ; then
   4809 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4810 			found="yes"
   4811 		fi
   4812 	fi
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 xorg_testset_save_CFLAGS="$CFLAGS"
   4829 
   4830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4835   $as_echo_n "(cached) " >&6
   4836 else
   4837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4838 /* end confdefs.h.  */
   4839 int i;
   4840 _ACEOF
   4841 if ac_fn_c_try_compile "$LINENO"; then :
   4842   xorg_cv_cc_flag_unknown_warning_option=yes
   4843 else
   4844   xorg_cv_cc_flag_unknown_warning_option=no
   4845 fi
   4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4847 fi
   4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4851 	CFLAGS="$xorg_testset_save_CFLAGS"
   4852 fi
   4853 
   4854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4857 	fi
   4858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865 /* end confdefs.h.  */
   4866 int i;
   4867 _ACEOF
   4868 if ac_fn_c_try_compile "$LINENO"; then :
   4869   xorg_cv_cc_flag_unused_command_line_argument=yes
   4870 else
   4871   xorg_cv_cc_flag_unused_command_line_argument=no
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4874 fi
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4878 	CFLAGS="$xorg_testset_save_CFLAGS"
   4879 fi
   4880 
   4881 found="no"
   4882 
   4883 	if test $found = "no" ; then
   4884 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4886 		fi
   4887 
   4888 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4890 		fi
   4891 
   4892 		CFLAGS="$CFLAGS -Wformat=2"
   4893 
   4894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4895 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4896 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4897 		if eval \${$cacheid+:} false; then :
   4898   $as_echo_n "(cached) " >&6
   4899 else
   4900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4901 /* end confdefs.h.  */
   4902 int i;
   4903 int
   4904 main ()
   4905 {
   4906 
   4907   ;
   4908   return 0;
   4909 }
   4910 _ACEOF
   4911 if ac_fn_c_try_link "$LINENO"; then :
   4912   eval $cacheid=yes
   4913 else
   4914   eval $cacheid=no
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext \
   4917     conftest$ac_exeext conftest.$ac_ext
   4918 fi
   4919 
   4920 
   4921 		CFLAGS="$xorg_testset_save_CFLAGS"
   4922 
   4923 		eval supported=\$$cacheid
   4924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4925 $as_echo "$supported" >&6; }
   4926 		if test "$supported" = "yes" ; then
   4927 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4928 			found="yes"
   4929 		fi
   4930 	fi
   4931 
   4932 	if test $found = "no" ; then
   4933 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4935 		fi
   4936 
   4937 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4939 		fi
   4940 
   4941 		CFLAGS="$CFLAGS -Wformat"
   4942 
   4943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4944 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4945 		cacheid=xorg_cv_cc_flag__Wformat
   4946 		if eval \${$cacheid+:} false; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4950 /* end confdefs.h.  */
   4951 int i;
   4952 int
   4953 main ()
   4954 {
   4955 
   4956   ;
   4957   return 0;
   4958 }
   4959 _ACEOF
   4960 if ac_fn_c_try_link "$LINENO"; then :
   4961   eval $cacheid=yes
   4962 else
   4963   eval $cacheid=no
   4964 fi
   4965 rm -f core conftest.err conftest.$ac_objext \
   4966     conftest$ac_exeext conftest.$ac_ext
   4967 fi
   4968 
   4969 
   4970 		CFLAGS="$xorg_testset_save_CFLAGS"
   4971 
   4972 		eval supported=\$$cacheid
   4973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4974 $as_echo "$supported" >&6; }
   4975 		if test "$supported" = "yes" ; then
   4976 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   4977 			found="yes"
   4978 		fi
   4979 	fi
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 xorg_testset_save_CFLAGS="$CFLAGS"
   4998 
   4999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5002 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5003 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5004   $as_echo_n "(cached) " >&6
   5005 else
   5006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5007 /* end confdefs.h.  */
   5008 int i;
   5009 _ACEOF
   5010 if ac_fn_c_try_compile "$LINENO"; then :
   5011   xorg_cv_cc_flag_unknown_warning_option=yes
   5012 else
   5013   xorg_cv_cc_flag_unknown_warning_option=no
   5014 fi
   5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5016 fi
   5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5018 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5020 	CFLAGS="$xorg_testset_save_CFLAGS"
   5021 fi
   5022 
   5023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5026 	fi
   5027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5029 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5030 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5031   $as_echo_n "(cached) " >&6
   5032 else
   5033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5034 /* end confdefs.h.  */
   5035 int i;
   5036 _ACEOF
   5037 if ac_fn_c_try_compile "$LINENO"; then :
   5038   xorg_cv_cc_flag_unused_command_line_argument=yes
   5039 else
   5040   xorg_cv_cc_flag_unused_command_line_argument=no
   5041 fi
   5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5043 fi
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5045 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5047 	CFLAGS="$xorg_testset_save_CFLAGS"
   5048 fi
   5049 
   5050 found="no"
   5051 
   5052 	if test $found = "no" ; then
   5053 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5055 		fi
   5056 
   5057 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5059 		fi
   5060 
   5061 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5062 
   5063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5064 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5065 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5066 		if eval \${$cacheid+:} false; then :
   5067   $as_echo_n "(cached) " >&6
   5068 else
   5069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5070 /* end confdefs.h.  */
   5071 int i;
   5072 int
   5073 main ()
   5074 {
   5075 
   5076   ;
   5077   return 0;
   5078 }
   5079 _ACEOF
   5080 if ac_fn_c_try_link "$LINENO"; then :
   5081   eval $cacheid=yes
   5082 else
   5083   eval $cacheid=no
   5084 fi
   5085 rm -f core conftest.err conftest.$ac_objext \
   5086     conftest$ac_exeext conftest.$ac_ext
   5087 fi
   5088 
   5089 
   5090 		CFLAGS="$xorg_testset_save_CFLAGS"
   5091 
   5092 		eval supported=\$$cacheid
   5093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5094 $as_echo "$supported" >&6; }
   5095 		if test "$supported" = "yes" ; then
   5096 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5097 			found="yes"
   5098 		fi
   5099 	fi
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 xorg_testset_save_CFLAGS="$CFLAGS"
   5116 
   5117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5120 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5121 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5122   $as_echo_n "(cached) " >&6
   5123 else
   5124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5125 /* end confdefs.h.  */
   5126 int i;
   5127 _ACEOF
   5128 if ac_fn_c_try_compile "$LINENO"; then :
   5129   xorg_cv_cc_flag_unknown_warning_option=yes
   5130 else
   5131   xorg_cv_cc_flag_unknown_warning_option=no
   5132 fi
   5133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5134 fi
   5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5136 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5138 	CFLAGS="$xorg_testset_save_CFLAGS"
   5139 fi
   5140 
   5141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5144 	fi
   5145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5147 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5148 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5149   $as_echo_n "(cached) " >&6
   5150 else
   5151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5152 /* end confdefs.h.  */
   5153 int i;
   5154 _ACEOF
   5155 if ac_fn_c_try_compile "$LINENO"; then :
   5156   xorg_cv_cc_flag_unused_command_line_argument=yes
   5157 else
   5158   xorg_cv_cc_flag_unused_command_line_argument=no
   5159 fi
   5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5161 fi
   5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5163 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5165 	CFLAGS="$xorg_testset_save_CFLAGS"
   5166 fi
   5167 
   5168 found="no"
   5169 
   5170 	if test $found = "no" ; then
   5171 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5173 		fi
   5174 
   5175 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5177 		fi
   5178 
   5179 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5180 
   5181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5182 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5183 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5184 		if eval \${$cacheid+:} false; then :
   5185   $as_echo_n "(cached) " >&6
   5186 else
   5187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5188 /* end confdefs.h.  */
   5189 int i;
   5190 int
   5191 main ()
   5192 {
   5193 
   5194   ;
   5195   return 0;
   5196 }
   5197 _ACEOF
   5198 if ac_fn_c_try_link "$LINENO"; then :
   5199   eval $cacheid=yes
   5200 else
   5201   eval $cacheid=no
   5202 fi
   5203 rm -f core conftest.err conftest.$ac_objext \
   5204     conftest$ac_exeext conftest.$ac_ext
   5205 fi
   5206 
   5207 
   5208 		CFLAGS="$xorg_testset_save_CFLAGS"
   5209 
   5210 		eval supported=\$$cacheid
   5211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5212 $as_echo "$supported" >&6; }
   5213 		if test "$supported" = "yes" ; then
   5214 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5215 			found="yes"
   5216 		fi
   5217 	fi
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 xorg_testset_save_CFLAGS="$CFLAGS"
   5234 
   5235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5240   $as_echo_n "(cached) " >&6
   5241 else
   5242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5243 /* end confdefs.h.  */
   5244 int i;
   5245 _ACEOF
   5246 if ac_fn_c_try_compile "$LINENO"; then :
   5247   xorg_cv_cc_flag_unknown_warning_option=yes
   5248 else
   5249   xorg_cv_cc_flag_unknown_warning_option=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5252 fi
   5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5256 	CFLAGS="$xorg_testset_save_CFLAGS"
   5257 fi
   5258 
   5259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 	fi
   5263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 int i;
   5272 _ACEOF
   5273 if ac_fn_c_try_compile "$LINENO"; then :
   5274   xorg_cv_cc_flag_unused_command_line_argument=yes
   5275 else
   5276   xorg_cv_cc_flag_unused_command_line_argument=no
   5277 fi
   5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5279 fi
   5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5283 	CFLAGS="$xorg_testset_save_CFLAGS"
   5284 fi
   5285 
   5286 found="no"
   5287 
   5288 	if test $found = "no" ; then
   5289 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5291 		fi
   5292 
   5293 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5295 		fi
   5296 
   5297 		CFLAGS="$CFLAGS -Wnested-externs"
   5298 
   5299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5300 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5301 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5302 		if eval \${$cacheid+:} 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 int
   5309 main ()
   5310 {
   5311 
   5312   ;
   5313   return 0;
   5314 }
   5315 _ACEOF
   5316 if ac_fn_c_try_link "$LINENO"; then :
   5317   eval $cacheid=yes
   5318 else
   5319   eval $cacheid=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext \
   5322     conftest$ac_exeext conftest.$ac_ext
   5323 fi
   5324 
   5325 
   5326 		CFLAGS="$xorg_testset_save_CFLAGS"
   5327 
   5328 		eval supported=\$$cacheid
   5329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5330 $as_echo "$supported" >&6; }
   5331 		if test "$supported" = "yes" ; then
   5332 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5333 			found="yes"
   5334 		fi
   5335 	fi
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 xorg_testset_save_CFLAGS="$CFLAGS"
   5352 
   5353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"; then :
   5365   xorg_cv_cc_flag_unknown_warning_option=yes
   5366 else
   5367   xorg_cv_cc_flag_unknown_warning_option=no
   5368 fi
   5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5370 fi
   5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5374 	CFLAGS="$xorg_testset_save_CFLAGS"
   5375 fi
   5376 
   5377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5380 	fi
   5381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 _ACEOF
   5391 if ac_fn_c_try_compile "$LINENO"; then :
   5392   xorg_cv_cc_flag_unused_command_line_argument=yes
   5393 else
   5394   xorg_cv_cc_flag_unused_command_line_argument=no
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5397 fi
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5401 	CFLAGS="$xorg_testset_save_CFLAGS"
   5402 fi
   5403 
   5404 found="no"
   5405 
   5406 	if test $found = "no" ; then
   5407 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 		fi
   5410 
   5411 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 		fi
   5414 
   5415 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5416 
   5417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5418 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5419 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5420 		if eval \${$cacheid+:} false; then :
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5424 /* end confdefs.h.  */
   5425 int i;
   5426 int
   5427 main ()
   5428 {
   5429 
   5430   ;
   5431   return 0;
   5432 }
   5433 _ACEOF
   5434 if ac_fn_c_try_link "$LINENO"; then :
   5435   eval $cacheid=yes
   5436 else
   5437   eval $cacheid=no
   5438 fi
   5439 rm -f core conftest.err conftest.$ac_objext \
   5440     conftest$ac_exeext conftest.$ac_ext
   5441 fi
   5442 
   5443 
   5444 		CFLAGS="$xorg_testset_save_CFLAGS"
   5445 
   5446 		eval supported=\$$cacheid
   5447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5448 $as_echo "$supported" >&6; }
   5449 		if test "$supported" = "yes" ; then
   5450 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5451 			found="yes"
   5452 		fi
   5453 	fi
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 xorg_testset_save_CFLAGS="$CFLAGS"
   5470 
   5471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5476   $as_echo_n "(cached) " >&6
   5477 else
   5478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 int i;
   5481 _ACEOF
   5482 if ac_fn_c_try_compile "$LINENO"; then :
   5483   xorg_cv_cc_flag_unknown_warning_option=yes
   5484 else
   5485   xorg_cv_cc_flag_unknown_warning_option=no
   5486 fi
   5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5488 fi
   5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5492 	CFLAGS="$xorg_testset_save_CFLAGS"
   5493 fi
   5494 
   5495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5498 	fi
   5499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 _ACEOF
   5509 if ac_fn_c_try_compile "$LINENO"; then :
   5510   xorg_cv_cc_flag_unused_command_line_argument=yes
   5511 else
   5512   xorg_cv_cc_flag_unused_command_line_argument=no
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5515 fi
   5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5519 	CFLAGS="$xorg_testset_save_CFLAGS"
   5520 fi
   5521 
   5522 found="no"
   5523 
   5524 	if test $found = "no" ; then
   5525 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5527 		fi
   5528 
   5529 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5531 		fi
   5532 
   5533 		CFLAGS="$CFLAGS -Wold-style-definition"
   5534 
   5535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5536 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5537 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5538 		if eval \${$cacheid+:} false; then :
   5539   $as_echo_n "(cached) " >&6
   5540 else
   5541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5542 /* end confdefs.h.  */
   5543 int i;
   5544 int
   5545 main ()
   5546 {
   5547 
   5548   ;
   5549   return 0;
   5550 }
   5551 _ACEOF
   5552 if ac_fn_c_try_link "$LINENO"; then :
   5553   eval $cacheid=yes
   5554 else
   5555   eval $cacheid=no
   5556 fi
   5557 rm -f core conftest.err conftest.$ac_objext \
   5558     conftest$ac_exeext conftest.$ac_ext
   5559 fi
   5560 
   5561 
   5562 		CFLAGS="$xorg_testset_save_CFLAGS"
   5563 
   5564 		eval supported=\$$cacheid
   5565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5566 $as_echo "$supported" >&6; }
   5567 		if test "$supported" = "yes" ; then
   5568 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5569 			found="yes"
   5570 		fi
   5571 	fi
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 xorg_testset_save_CFLAGS="$CFLAGS"
   5588 
   5589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5597 /* end confdefs.h.  */
   5598 int i;
   5599 _ACEOF
   5600 if ac_fn_c_try_compile "$LINENO"; then :
   5601   xorg_cv_cc_flag_unknown_warning_option=yes
   5602 else
   5603   xorg_cv_cc_flag_unknown_warning_option=no
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5606 fi
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5610 	CFLAGS="$xorg_testset_save_CFLAGS"
   5611 fi
   5612 
   5613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 	fi
   5617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5624 /* end confdefs.h.  */
   5625 int i;
   5626 _ACEOF
   5627 if ac_fn_c_try_compile "$LINENO"; then :
   5628   xorg_cv_cc_flag_unused_command_line_argument=yes
   5629 else
   5630   xorg_cv_cc_flag_unused_command_line_argument=no
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5633 fi
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 found="no"
   5641 
   5642 	if test $found = "no" ; then
   5643 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 		fi
   5646 
   5647 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 		fi
   5650 
   5651 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5652 
   5653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5654 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5655 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5656 		if eval \${$cacheid+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5660 /* end confdefs.h.  */
   5661 int i;
   5662 int
   5663 main ()
   5664 {
   5665 
   5666   ;
   5667   return 0;
   5668 }
   5669 _ACEOF
   5670 if ac_fn_c_try_link "$LINENO"; then :
   5671   eval $cacheid=yes
   5672 else
   5673   eval $cacheid=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext \
   5676     conftest$ac_exeext conftest.$ac_ext
   5677 fi
   5678 
   5679 
   5680 		CFLAGS="$xorg_testset_save_CFLAGS"
   5681 
   5682 		eval supported=\$$cacheid
   5683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5684 $as_echo "$supported" >&6; }
   5685 		if test "$supported" = "yes" ; then
   5686 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5687 			found="yes"
   5688 		fi
   5689 	fi
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 # This chunk adds additional warnings that could catch undesired effects.
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 xorg_testset_save_CFLAGS="$CFLAGS"
   5710 
   5711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5716   $as_echo_n "(cached) " >&6
   5717 else
   5718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5719 /* end confdefs.h.  */
   5720 int i;
   5721 _ACEOF
   5722 if ac_fn_c_try_compile "$LINENO"; then :
   5723   xorg_cv_cc_flag_unknown_warning_option=yes
   5724 else
   5725   xorg_cv_cc_flag_unknown_warning_option=no
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5728 fi
   5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5732 	CFLAGS="$xorg_testset_save_CFLAGS"
   5733 fi
   5734 
   5735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5738 	fi
   5739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5743   $as_echo_n "(cached) " >&6
   5744 else
   5745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5746 /* end confdefs.h.  */
   5747 int i;
   5748 _ACEOF
   5749 if ac_fn_c_try_compile "$LINENO"; then :
   5750   xorg_cv_cc_flag_unused_command_line_argument=yes
   5751 else
   5752   xorg_cv_cc_flag_unused_command_line_argument=no
   5753 fi
   5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5755 fi
   5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5759 	CFLAGS="$xorg_testset_save_CFLAGS"
   5760 fi
   5761 
   5762 found="no"
   5763 
   5764 	if test $found = "no" ; then
   5765 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5767 		fi
   5768 
   5769 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5771 		fi
   5772 
   5773 		CFLAGS="$CFLAGS -Wunused"
   5774 
   5775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5776 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5777 		cacheid=xorg_cv_cc_flag__Wunused
   5778 		if eval \${$cacheid+:} false; then :
   5779   $as_echo_n "(cached) " >&6
   5780 else
   5781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5782 /* end confdefs.h.  */
   5783 int i;
   5784 int
   5785 main ()
   5786 {
   5787 
   5788   ;
   5789   return 0;
   5790 }
   5791 _ACEOF
   5792 if ac_fn_c_try_link "$LINENO"; then :
   5793   eval $cacheid=yes
   5794 else
   5795   eval $cacheid=no
   5796 fi
   5797 rm -f core conftest.err conftest.$ac_objext \
   5798     conftest$ac_exeext conftest.$ac_ext
   5799 fi
   5800 
   5801 
   5802 		CFLAGS="$xorg_testset_save_CFLAGS"
   5803 
   5804 		eval supported=\$$cacheid
   5805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5806 $as_echo "$supported" >&6; }
   5807 		if test "$supported" = "yes" ; then
   5808 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5809 			found="yes"
   5810 		fi
   5811 	fi
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 xorg_testset_save_CFLAGS="$CFLAGS"
   5828 
   5829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5834   $as_echo_n "(cached) " >&6
   5835 else
   5836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5837 /* end confdefs.h.  */
   5838 int i;
   5839 _ACEOF
   5840 if ac_fn_c_try_compile "$LINENO"; then :
   5841   xorg_cv_cc_flag_unknown_warning_option=yes
   5842 else
   5843   xorg_cv_cc_flag_unknown_warning_option=no
   5844 fi
   5845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5846 fi
   5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5850 	CFLAGS="$xorg_testset_save_CFLAGS"
   5851 fi
   5852 
   5853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5856 	fi
   5857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5861   $as_echo_n "(cached) " >&6
   5862 else
   5863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5864 /* end confdefs.h.  */
   5865 int i;
   5866 _ACEOF
   5867 if ac_fn_c_try_compile "$LINENO"; then :
   5868   xorg_cv_cc_flag_unused_command_line_argument=yes
   5869 else
   5870   xorg_cv_cc_flag_unused_command_line_argument=no
   5871 fi
   5872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5873 fi
   5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5877 	CFLAGS="$xorg_testset_save_CFLAGS"
   5878 fi
   5879 
   5880 found="no"
   5881 
   5882 	if test $found = "no" ; then
   5883 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5885 		fi
   5886 
   5887 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5889 		fi
   5890 
   5891 		CFLAGS="$CFLAGS -Wuninitialized"
   5892 
   5893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5894 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5895 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5896 		if eval \${$cacheid+:} false; then :
   5897   $as_echo_n "(cached) " >&6
   5898 else
   5899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5900 /* end confdefs.h.  */
   5901 int i;
   5902 int
   5903 main ()
   5904 {
   5905 
   5906   ;
   5907   return 0;
   5908 }
   5909 _ACEOF
   5910 if ac_fn_c_try_link "$LINENO"; then :
   5911   eval $cacheid=yes
   5912 else
   5913   eval $cacheid=no
   5914 fi
   5915 rm -f core conftest.err conftest.$ac_objext \
   5916     conftest$ac_exeext conftest.$ac_ext
   5917 fi
   5918 
   5919 
   5920 		CFLAGS="$xorg_testset_save_CFLAGS"
   5921 
   5922 		eval supported=\$$cacheid
   5923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5924 $as_echo "$supported" >&6; }
   5925 		if test "$supported" = "yes" ; then
   5926 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5927 			found="yes"
   5928 		fi
   5929 	fi
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 xorg_testset_save_CFLAGS="$CFLAGS"
   5946 
   5947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5952   $as_echo_n "(cached) " >&6
   5953 else
   5954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5955 /* end confdefs.h.  */
   5956 int i;
   5957 _ACEOF
   5958 if ac_fn_c_try_compile "$LINENO"; then :
   5959   xorg_cv_cc_flag_unknown_warning_option=yes
   5960 else
   5961   xorg_cv_cc_flag_unknown_warning_option=no
   5962 fi
   5963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5964 fi
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5968 	CFLAGS="$xorg_testset_save_CFLAGS"
   5969 fi
   5970 
   5971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5974 	fi
   5975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5979   $as_echo_n "(cached) " >&6
   5980 else
   5981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5982 /* end confdefs.h.  */
   5983 int i;
   5984 _ACEOF
   5985 if ac_fn_c_try_compile "$LINENO"; then :
   5986   xorg_cv_cc_flag_unused_command_line_argument=yes
   5987 else
   5988   xorg_cv_cc_flag_unused_command_line_argument=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5991 fi
   5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 found="no"
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -Wshadow"
   6010 
   6011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6012 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__Wshadow
   6014 		if eval \${$cacheid+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6018 /* end confdefs.h.  */
   6019 int i;
   6020 int
   6021 main ()
   6022 {
   6023 
   6024   ;
   6025   return 0;
   6026 }
   6027 _ACEOF
   6028 if ac_fn_c_try_link "$LINENO"; then :
   6029   eval $cacheid=yes
   6030 else
   6031   eval $cacheid=no
   6032 fi
   6033 rm -f core conftest.err conftest.$ac_objext \
   6034     conftest$ac_exeext conftest.$ac_ext
   6035 fi
   6036 
   6037 
   6038 		CFLAGS="$xorg_testset_save_CFLAGS"
   6039 
   6040 		eval supported=\$$cacheid
   6041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6042 $as_echo "$supported" >&6; }
   6043 		if test "$supported" = "yes" ; then
   6044 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6045 			found="yes"
   6046 		fi
   6047 	fi
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 xorg_testset_save_CFLAGS="$CFLAGS"
   6064 
   6065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6073 /* end confdefs.h.  */
   6074 int i;
   6075 _ACEOF
   6076 if ac_fn_c_try_compile "$LINENO"; then :
   6077   xorg_cv_cc_flag_unknown_warning_option=yes
   6078 else
   6079   xorg_cv_cc_flag_unknown_warning_option=no
   6080 fi
   6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6082 fi
   6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6086 	CFLAGS="$xorg_testset_save_CFLAGS"
   6087 fi
   6088 
   6089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	fi
   6093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 _ACEOF
   6103 if ac_fn_c_try_compile "$LINENO"; then :
   6104   xorg_cv_cc_flag_unused_command_line_argument=yes
   6105 else
   6106   xorg_cv_cc_flag_unused_command_line_argument=no
   6107 fi
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 found="no"
   6117 
   6118 	if test $found = "no" ; then
   6119 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 		fi
   6122 
   6123 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6125 		fi
   6126 
   6127 		CFLAGS="$CFLAGS -Wcast-qual"
   6128 
   6129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6130 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6131 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6132 		if eval \${$cacheid+:} false; then :
   6133   $as_echo_n "(cached) " >&6
   6134 else
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 int
   6139 main ()
   6140 {
   6141 
   6142   ;
   6143   return 0;
   6144 }
   6145 _ACEOF
   6146 if ac_fn_c_try_link "$LINENO"; then :
   6147   eval $cacheid=yes
   6148 else
   6149   eval $cacheid=no
   6150 fi
   6151 rm -f core conftest.err conftest.$ac_objext \
   6152     conftest$ac_exeext conftest.$ac_ext
   6153 fi
   6154 
   6155 
   6156 		CFLAGS="$xorg_testset_save_CFLAGS"
   6157 
   6158 		eval supported=\$$cacheid
   6159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6160 $as_echo "$supported" >&6; }
   6161 		if test "$supported" = "yes" ; then
   6162 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6163 			found="yes"
   6164 		fi
   6165 	fi
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 xorg_testset_save_CFLAGS="$CFLAGS"
   6182 
   6183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6188   $as_echo_n "(cached) " >&6
   6189 else
   6190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6191 /* end confdefs.h.  */
   6192 int i;
   6193 _ACEOF
   6194 if ac_fn_c_try_compile "$LINENO"; then :
   6195   xorg_cv_cc_flag_unknown_warning_option=yes
   6196 else
   6197   xorg_cv_cc_flag_unknown_warning_option=no
   6198 fi
   6199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6200 fi
   6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6204 	CFLAGS="$xorg_testset_save_CFLAGS"
   6205 fi
   6206 
   6207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6210 	fi
   6211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6215   $as_echo_n "(cached) " >&6
   6216 else
   6217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6218 /* end confdefs.h.  */
   6219 int i;
   6220 _ACEOF
   6221 if ac_fn_c_try_compile "$LINENO"; then :
   6222   xorg_cv_cc_flag_unused_command_line_argument=yes
   6223 else
   6224   xorg_cv_cc_flag_unused_command_line_argument=no
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6227 fi
   6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6231 	CFLAGS="$xorg_testset_save_CFLAGS"
   6232 fi
   6233 
   6234 found="no"
   6235 
   6236 	if test $found = "no" ; then
   6237 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6239 		fi
   6240 
   6241 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6243 		fi
   6244 
   6245 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6246 
   6247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6248 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6249 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6250 		if eval \${$cacheid+:} false; then :
   6251   $as_echo_n "(cached) " >&6
   6252 else
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 int i;
   6256 int
   6257 main ()
   6258 {
   6259 
   6260   ;
   6261   return 0;
   6262 }
   6263 _ACEOF
   6264 if ac_fn_c_try_link "$LINENO"; then :
   6265   eval $cacheid=yes
   6266 else
   6267   eval $cacheid=no
   6268 fi
   6269 rm -f core conftest.err conftest.$ac_objext \
   6270     conftest$ac_exeext conftest.$ac_ext
   6271 fi
   6272 
   6273 
   6274 		CFLAGS="$xorg_testset_save_CFLAGS"
   6275 
   6276 		eval supported=\$$cacheid
   6277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6278 $as_echo "$supported" >&6; }
   6279 		if test "$supported" = "yes" ; then
   6280 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6281 			found="yes"
   6282 		fi
   6283 	fi
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 xorg_testset_save_CFLAGS="$CFLAGS"
   6300 
   6301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6306   $as_echo_n "(cached) " >&6
   6307 else
   6308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6309 /* end confdefs.h.  */
   6310 int i;
   6311 _ACEOF
   6312 if ac_fn_c_try_compile "$LINENO"; then :
   6313   xorg_cv_cc_flag_unknown_warning_option=yes
   6314 else
   6315   xorg_cv_cc_flag_unknown_warning_option=no
   6316 fi
   6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6318 fi
   6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6322 	CFLAGS="$xorg_testset_save_CFLAGS"
   6323 fi
   6324 
   6325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 	fi
   6329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6336 /* end confdefs.h.  */
   6337 int i;
   6338 _ACEOF
   6339 if ac_fn_c_try_compile "$LINENO"; then :
   6340   xorg_cv_cc_flag_unused_command_line_argument=yes
   6341 else
   6342   xorg_cv_cc_flag_unused_command_line_argument=no
   6343 fi
   6344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6345 fi
   6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6349 	CFLAGS="$xorg_testset_save_CFLAGS"
   6350 fi
   6351 
   6352 found="no"
   6353 
   6354 	if test $found = "no" ; then
   6355 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6357 		fi
   6358 
   6359 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6361 		fi
   6362 
   6363 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6364 
   6365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6366 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6367 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6368 		if eval \${$cacheid+:} false; then :
   6369   $as_echo_n "(cached) " >&6
   6370 else
   6371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6372 /* end confdefs.h.  */
   6373 int i;
   6374 int
   6375 main ()
   6376 {
   6377 
   6378   ;
   6379   return 0;
   6380 }
   6381 _ACEOF
   6382 if ac_fn_c_try_link "$LINENO"; then :
   6383   eval $cacheid=yes
   6384 else
   6385   eval $cacheid=no
   6386 fi
   6387 rm -f core conftest.err conftest.$ac_objext \
   6388     conftest$ac_exeext conftest.$ac_ext
   6389 fi
   6390 
   6391 
   6392 		CFLAGS="$xorg_testset_save_CFLAGS"
   6393 
   6394 		eval supported=\$$cacheid
   6395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6396 $as_echo "$supported" >&6; }
   6397 		if test "$supported" = "yes" ; then
   6398 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6399 			found="yes"
   6400 		fi
   6401 	fi
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 xorg_testset_save_CFLAGS="$CFLAGS"
   6418 
   6419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6424   $as_echo_n "(cached) " >&6
   6425 else
   6426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6427 /* end confdefs.h.  */
   6428 int i;
   6429 _ACEOF
   6430 if ac_fn_c_try_compile "$LINENO"; then :
   6431   xorg_cv_cc_flag_unknown_warning_option=yes
   6432 else
   6433   xorg_cv_cc_flag_unknown_warning_option=no
   6434 fi
   6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6436 fi
   6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6440 	CFLAGS="$xorg_testset_save_CFLAGS"
   6441 fi
   6442 
   6443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	fi
   6447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6451   $as_echo_n "(cached) " >&6
   6452 else
   6453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6454 /* end confdefs.h.  */
   6455 int i;
   6456 _ACEOF
   6457 if ac_fn_c_try_compile "$LINENO"; then :
   6458   xorg_cv_cc_flag_unused_command_line_argument=yes
   6459 else
   6460   xorg_cv_cc_flag_unused_command_line_argument=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6463 fi
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6467 	CFLAGS="$xorg_testset_save_CFLAGS"
   6468 fi
   6469 
   6470 found="no"
   6471 
   6472 	if test $found = "no" ; then
   6473 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 		fi
   6476 
   6477 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6479 		fi
   6480 
   6481 		CFLAGS="$CFLAGS -Wredundant-decls"
   6482 
   6483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6484 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6485 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6486 		if eval \${$cacheid+:} false; then :
   6487   $as_echo_n "(cached) " >&6
   6488 else
   6489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 int i;
   6492 int
   6493 main ()
   6494 {
   6495 
   6496   ;
   6497   return 0;
   6498 }
   6499 _ACEOF
   6500 if ac_fn_c_try_link "$LINENO"; then :
   6501   eval $cacheid=yes
   6502 else
   6503   eval $cacheid=no
   6504 fi
   6505 rm -f core conftest.err conftest.$ac_objext \
   6506     conftest$ac_exeext conftest.$ac_ext
   6507 fi
   6508 
   6509 
   6510 		CFLAGS="$xorg_testset_save_CFLAGS"
   6511 
   6512 		eval supported=\$$cacheid
   6513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6514 $as_echo "$supported" >&6; }
   6515 		if test "$supported" = "yes" ; then
   6516 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6517 			found="yes"
   6518 		fi
   6519 	fi
   6520 
   6521 
   6522 
   6523 # These are currently disabled because they are noisy.  They will be enabled
   6524 # in the future once the codebase is sufficiently modernized to silence
   6525 # them.  For now, I don't want them to drown out the other warnings.
   6526 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6527 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6528 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6529 
   6530 # Turn some warnings into errors, so we don't accidently get successful builds
   6531 # when there are problems that should be fixed.
   6532 
   6533 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 xorg_testset_save_CFLAGS="$CFLAGS"
   6548 
   6549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 _ACEOF
   6560 if ac_fn_c_try_compile "$LINENO"; then :
   6561   xorg_cv_cc_flag_unknown_warning_option=yes
   6562 else
   6563   xorg_cv_cc_flag_unknown_warning_option=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6566 fi
   6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6570 	CFLAGS="$xorg_testset_save_CFLAGS"
   6571 fi
   6572 
   6573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 	fi
   6577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 _ACEOF
   6587 if ac_fn_c_try_compile "$LINENO"; then :
   6588   xorg_cv_cc_flag_unused_command_line_argument=yes
   6589 else
   6590   xorg_cv_cc_flag_unused_command_line_argument=no
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6593 fi
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6597 	CFLAGS="$xorg_testset_save_CFLAGS"
   6598 fi
   6599 
   6600 found="no"
   6601 
   6602 	if test $found = "no" ; then
   6603 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 		fi
   6606 
   6607 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6609 		fi
   6610 
   6611 		CFLAGS="$CFLAGS -Werror=implicit"
   6612 
   6613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6614 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6615 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6616 		if eval \${$cacheid+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 int i;
   6622 int
   6623 main ()
   6624 {
   6625 
   6626   ;
   6627   return 0;
   6628 }
   6629 _ACEOF
   6630 if ac_fn_c_try_link "$LINENO"; then :
   6631   eval $cacheid=yes
   6632 else
   6633   eval $cacheid=no
   6634 fi
   6635 rm -f core conftest.err conftest.$ac_objext \
   6636     conftest$ac_exeext conftest.$ac_ext
   6637 fi
   6638 
   6639 
   6640 		CFLAGS="$xorg_testset_save_CFLAGS"
   6641 
   6642 		eval supported=\$$cacheid
   6643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6644 $as_echo "$supported" >&6; }
   6645 		if test "$supported" = "yes" ; then
   6646 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6647 			found="yes"
   6648 		fi
   6649 	fi
   6650 
   6651 	if test $found = "no" ; then
   6652 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 		fi
   6655 
   6656 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6658 		fi
   6659 
   6660 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6661 
   6662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6663 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6664 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6665 		if eval \${$cacheid+:} false; then :
   6666   $as_echo_n "(cached) " >&6
   6667 else
   6668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 int
   6672 main ()
   6673 {
   6674 
   6675   ;
   6676   return 0;
   6677 }
   6678 _ACEOF
   6679 if ac_fn_c_try_link "$LINENO"; then :
   6680   eval $cacheid=yes
   6681 else
   6682   eval $cacheid=no
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext \
   6685     conftest$ac_exeext conftest.$ac_ext
   6686 fi
   6687 
   6688 
   6689 		CFLAGS="$xorg_testset_save_CFLAGS"
   6690 
   6691 		eval supported=\$$cacheid
   6692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6693 $as_echo "$supported" >&6; }
   6694 		if test "$supported" = "yes" ; then
   6695 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6696 			found="yes"
   6697 		fi
   6698 	fi
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 xorg_testset_save_CFLAGS="$CFLAGS"
   6715 
   6716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6719 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6720 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6721   $as_echo_n "(cached) " >&6
   6722 else
   6723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6724 /* end confdefs.h.  */
   6725 int i;
   6726 _ACEOF
   6727 if ac_fn_c_try_compile "$LINENO"; then :
   6728   xorg_cv_cc_flag_unknown_warning_option=yes
   6729 else
   6730   xorg_cv_cc_flag_unknown_warning_option=no
   6731 fi
   6732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6733 fi
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6735 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6737 	CFLAGS="$xorg_testset_save_CFLAGS"
   6738 fi
   6739 
   6740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6743 	fi
   6744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6746 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6747 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6748   $as_echo_n "(cached) " >&6
   6749 else
   6750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6751 /* end confdefs.h.  */
   6752 int i;
   6753 _ACEOF
   6754 if ac_fn_c_try_compile "$LINENO"; then :
   6755   xorg_cv_cc_flag_unused_command_line_argument=yes
   6756 else
   6757   xorg_cv_cc_flag_unused_command_line_argument=no
   6758 fi
   6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6760 fi
   6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6762 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6764 	CFLAGS="$xorg_testset_save_CFLAGS"
   6765 fi
   6766 
   6767 found="no"
   6768 
   6769 	if test $found = "no" ; then
   6770 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6772 		fi
   6773 
   6774 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6776 		fi
   6777 
   6778 		CFLAGS="$CFLAGS -Werror=nonnull"
   6779 
   6780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6781 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6782 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6783 		if eval \${$cacheid+:} false; then :
   6784   $as_echo_n "(cached) " >&6
   6785 else
   6786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6787 /* end confdefs.h.  */
   6788 int i;
   6789 int
   6790 main ()
   6791 {
   6792 
   6793   ;
   6794   return 0;
   6795 }
   6796 _ACEOF
   6797 if ac_fn_c_try_link "$LINENO"; then :
   6798   eval $cacheid=yes
   6799 else
   6800   eval $cacheid=no
   6801 fi
   6802 rm -f core conftest.err conftest.$ac_objext \
   6803     conftest$ac_exeext conftest.$ac_ext
   6804 fi
   6805 
   6806 
   6807 		CFLAGS="$xorg_testset_save_CFLAGS"
   6808 
   6809 		eval supported=\$$cacheid
   6810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6811 $as_echo "$supported" >&6; }
   6812 		if test "$supported" = "yes" ; then
   6813 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6814 			found="yes"
   6815 		fi
   6816 	fi
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 xorg_testset_save_CFLAGS="$CFLAGS"
   6833 
   6834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6837 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6838 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6839   $as_echo_n "(cached) " >&6
   6840 else
   6841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6842 /* end confdefs.h.  */
   6843 int i;
   6844 _ACEOF
   6845 if ac_fn_c_try_compile "$LINENO"; then :
   6846   xorg_cv_cc_flag_unknown_warning_option=yes
   6847 else
   6848   xorg_cv_cc_flag_unknown_warning_option=no
   6849 fi
   6850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6851 fi
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6853 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6855 	CFLAGS="$xorg_testset_save_CFLAGS"
   6856 fi
   6857 
   6858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6861 	fi
   6862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6864 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6865 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6866   $as_echo_n "(cached) " >&6
   6867 else
   6868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6869 /* end confdefs.h.  */
   6870 int i;
   6871 _ACEOF
   6872 if ac_fn_c_try_compile "$LINENO"; then :
   6873   xorg_cv_cc_flag_unused_command_line_argument=yes
   6874 else
   6875   xorg_cv_cc_flag_unused_command_line_argument=no
   6876 fi
   6877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6878 fi
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6880 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6882 	CFLAGS="$xorg_testset_save_CFLAGS"
   6883 fi
   6884 
   6885 found="no"
   6886 
   6887 	if test $found = "no" ; then
   6888 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6890 		fi
   6891 
   6892 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6894 		fi
   6895 
   6896 		CFLAGS="$CFLAGS -Werror=init-self"
   6897 
   6898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6899 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6900 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6901 		if eval \${$cacheid+:} false; then :
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6905 /* end confdefs.h.  */
   6906 int i;
   6907 int
   6908 main ()
   6909 {
   6910 
   6911   ;
   6912   return 0;
   6913 }
   6914 _ACEOF
   6915 if ac_fn_c_try_link "$LINENO"; then :
   6916   eval $cacheid=yes
   6917 else
   6918   eval $cacheid=no
   6919 fi
   6920 rm -f core conftest.err conftest.$ac_objext \
   6921     conftest$ac_exeext conftest.$ac_ext
   6922 fi
   6923 
   6924 
   6925 		CFLAGS="$xorg_testset_save_CFLAGS"
   6926 
   6927 		eval supported=\$$cacheid
   6928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6929 $as_echo "$supported" >&6; }
   6930 		if test "$supported" = "yes" ; then
   6931 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6932 			found="yes"
   6933 		fi
   6934 	fi
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 xorg_testset_save_CFLAGS="$CFLAGS"
   6951 
   6952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6957   $as_echo_n "(cached) " >&6
   6958 else
   6959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 int i;
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"; then :
   6964   xorg_cv_cc_flag_unknown_warning_option=yes
   6965 else
   6966   xorg_cv_cc_flag_unknown_warning_option=no
   6967 fi
   6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6969 fi
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6973 	CFLAGS="$xorg_testset_save_CFLAGS"
   6974 fi
   6975 
   6976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6979 	fi
   6980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6984   $as_echo_n "(cached) " >&6
   6985 else
   6986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6987 /* end confdefs.h.  */
   6988 int i;
   6989 _ACEOF
   6990 if ac_fn_c_try_compile "$LINENO"; then :
   6991   xorg_cv_cc_flag_unused_command_line_argument=yes
   6992 else
   6993   xorg_cv_cc_flag_unused_command_line_argument=no
   6994 fi
   6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6996 fi
   6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7000 	CFLAGS="$xorg_testset_save_CFLAGS"
   7001 fi
   7002 
   7003 found="no"
   7004 
   7005 	if test $found = "no" ; then
   7006 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7008 		fi
   7009 
   7010 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7012 		fi
   7013 
   7014 		CFLAGS="$CFLAGS -Werror=main"
   7015 
   7016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7017 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7018 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7019 		if eval \${$cacheid+:} false; then :
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7023 /* end confdefs.h.  */
   7024 int i;
   7025 int
   7026 main ()
   7027 {
   7028 
   7029   ;
   7030   return 0;
   7031 }
   7032 _ACEOF
   7033 if ac_fn_c_try_link "$LINENO"; then :
   7034   eval $cacheid=yes
   7035 else
   7036   eval $cacheid=no
   7037 fi
   7038 rm -f core conftest.err conftest.$ac_objext \
   7039     conftest$ac_exeext conftest.$ac_ext
   7040 fi
   7041 
   7042 
   7043 		CFLAGS="$xorg_testset_save_CFLAGS"
   7044 
   7045 		eval supported=\$$cacheid
   7046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7047 $as_echo "$supported" >&6; }
   7048 		if test "$supported" = "yes" ; then
   7049 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7050 			found="yes"
   7051 		fi
   7052 	fi
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 xorg_testset_save_CFLAGS="$CFLAGS"
   7069 
   7070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7075   $as_echo_n "(cached) " >&6
   7076 else
   7077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 int i;
   7080 _ACEOF
   7081 if ac_fn_c_try_compile "$LINENO"; then :
   7082   xorg_cv_cc_flag_unknown_warning_option=yes
   7083 else
   7084   xorg_cv_cc_flag_unknown_warning_option=no
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7087 fi
   7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7091 	CFLAGS="$xorg_testset_save_CFLAGS"
   7092 fi
   7093 
   7094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 	fi
   7098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 int i;
   7107 _ACEOF
   7108 if ac_fn_c_try_compile "$LINENO"; then :
   7109   xorg_cv_cc_flag_unused_command_line_argument=yes
   7110 else
   7111   xorg_cv_cc_flag_unused_command_line_argument=no
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7114 fi
   7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7118 	CFLAGS="$xorg_testset_save_CFLAGS"
   7119 fi
   7120 
   7121 found="no"
   7122 
   7123 	if test $found = "no" ; then
   7124 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7126 		fi
   7127 
   7128 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7130 		fi
   7131 
   7132 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7133 
   7134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7135 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7136 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7137 		if eval \${$cacheid+:} false; then :
   7138   $as_echo_n "(cached) " >&6
   7139 else
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 int
   7144 main ()
   7145 {
   7146 
   7147   ;
   7148   return 0;
   7149 }
   7150 _ACEOF
   7151 if ac_fn_c_try_link "$LINENO"; then :
   7152   eval $cacheid=yes
   7153 else
   7154   eval $cacheid=no
   7155 fi
   7156 rm -f core conftest.err conftest.$ac_objext \
   7157     conftest$ac_exeext conftest.$ac_ext
   7158 fi
   7159 
   7160 
   7161 		CFLAGS="$xorg_testset_save_CFLAGS"
   7162 
   7163 		eval supported=\$$cacheid
   7164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7165 $as_echo "$supported" >&6; }
   7166 		if test "$supported" = "yes" ; then
   7167 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7168 			found="yes"
   7169 		fi
   7170 	fi
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 xorg_testset_save_CFLAGS="$CFLAGS"
   7187 
   7188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7193   $as_echo_n "(cached) " >&6
   7194 else
   7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7196 /* end confdefs.h.  */
   7197 int i;
   7198 _ACEOF
   7199 if ac_fn_c_try_compile "$LINENO"; then :
   7200   xorg_cv_cc_flag_unknown_warning_option=yes
   7201 else
   7202   xorg_cv_cc_flag_unknown_warning_option=no
   7203 fi
   7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7205 fi
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7209 	CFLAGS="$xorg_testset_save_CFLAGS"
   7210 fi
   7211 
   7212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 	fi
   7216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7220   $as_echo_n "(cached) " >&6
   7221 else
   7222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"; then :
   7227   xorg_cv_cc_flag_unused_command_line_argument=yes
   7228 else
   7229   xorg_cv_cc_flag_unused_command_line_argument=no
   7230 fi
   7231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7232 fi
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7236 	CFLAGS="$xorg_testset_save_CFLAGS"
   7237 fi
   7238 
   7239 found="no"
   7240 
   7241 	if test $found = "no" ; then
   7242 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7244 		fi
   7245 
   7246 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7248 		fi
   7249 
   7250 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7251 
   7252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7253 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7254 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7255 		if eval \${$cacheid+:} false; then :
   7256   $as_echo_n "(cached) " >&6
   7257 else
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 int
   7262 main ()
   7263 {
   7264 
   7265   ;
   7266   return 0;
   7267 }
   7268 _ACEOF
   7269 if ac_fn_c_try_link "$LINENO"; then :
   7270   eval $cacheid=yes
   7271 else
   7272   eval $cacheid=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext \
   7275     conftest$ac_exeext conftest.$ac_ext
   7276 fi
   7277 
   7278 
   7279 		CFLAGS="$xorg_testset_save_CFLAGS"
   7280 
   7281 		eval supported=\$$cacheid
   7282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7283 $as_echo "$supported" >&6; }
   7284 		if test "$supported" = "yes" ; then
   7285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7286 			found="yes"
   7287 		fi
   7288 	fi
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 xorg_testset_save_CFLAGS="$CFLAGS"
   7305 
   7306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7311   $as_echo_n "(cached) " >&6
   7312 else
   7313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7314 /* end confdefs.h.  */
   7315 int i;
   7316 _ACEOF
   7317 if ac_fn_c_try_compile "$LINENO"; then :
   7318   xorg_cv_cc_flag_unknown_warning_option=yes
   7319 else
   7320   xorg_cv_cc_flag_unknown_warning_option=no
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7323 fi
   7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7327 	CFLAGS="$xorg_testset_save_CFLAGS"
   7328 fi
   7329 
   7330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 	fi
   7334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7341 /* end confdefs.h.  */
   7342 int i;
   7343 _ACEOF
   7344 if ac_fn_c_try_compile "$LINENO"; then :
   7345   xorg_cv_cc_flag_unused_command_line_argument=yes
   7346 else
   7347   xorg_cv_cc_flag_unused_command_line_argument=no
   7348 fi
   7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7350 fi
   7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7354 	CFLAGS="$xorg_testset_save_CFLAGS"
   7355 fi
   7356 
   7357 found="no"
   7358 
   7359 	if test $found = "no" ; then
   7360 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7362 		fi
   7363 
   7364 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 		fi
   7367 
   7368 		CFLAGS="$CFLAGS -Werror=return-type"
   7369 
   7370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7371 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7372 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7373 		if eval \${$cacheid+:} false; then :
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 int
   7380 main ()
   7381 {
   7382 
   7383   ;
   7384   return 0;
   7385 }
   7386 _ACEOF
   7387 if ac_fn_c_try_link "$LINENO"; then :
   7388   eval $cacheid=yes
   7389 else
   7390   eval $cacheid=no
   7391 fi
   7392 rm -f core conftest.err conftest.$ac_objext \
   7393     conftest$ac_exeext conftest.$ac_ext
   7394 fi
   7395 
   7396 
   7397 		CFLAGS="$xorg_testset_save_CFLAGS"
   7398 
   7399 		eval supported=\$$cacheid
   7400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7401 $as_echo "$supported" >&6; }
   7402 		if test "$supported" = "yes" ; then
   7403 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7404 			found="yes"
   7405 		fi
   7406 	fi
   7407 
   7408 	if test $found = "no" ; then
   7409 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7411 		fi
   7412 
   7413 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7415 		fi
   7416 
   7417 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7418 
   7419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7420 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7421 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7422 		if eval \${$cacheid+:} false; then :
   7423   $as_echo_n "(cached) " >&6
   7424 else
   7425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7426 /* end confdefs.h.  */
   7427 int i;
   7428 int
   7429 main ()
   7430 {
   7431 
   7432   ;
   7433   return 0;
   7434 }
   7435 _ACEOF
   7436 if ac_fn_c_try_link "$LINENO"; then :
   7437   eval $cacheid=yes
   7438 else
   7439   eval $cacheid=no
   7440 fi
   7441 rm -f core conftest.err conftest.$ac_objext \
   7442     conftest$ac_exeext conftest.$ac_ext
   7443 fi
   7444 
   7445 
   7446 		CFLAGS="$xorg_testset_save_CFLAGS"
   7447 
   7448 		eval supported=\$$cacheid
   7449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7450 $as_echo "$supported" >&6; }
   7451 		if test "$supported" = "yes" ; then
   7452 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7453 			found="yes"
   7454 		fi
   7455 	fi
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 xorg_testset_save_CFLAGS="$CFLAGS"
   7472 
   7473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7478   $as_echo_n "(cached) " >&6
   7479 else
   7480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7481 /* end confdefs.h.  */
   7482 int i;
   7483 _ACEOF
   7484 if ac_fn_c_try_compile "$LINENO"; then :
   7485   xorg_cv_cc_flag_unknown_warning_option=yes
   7486 else
   7487   xorg_cv_cc_flag_unknown_warning_option=no
   7488 fi
   7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7490 fi
   7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7494 	CFLAGS="$xorg_testset_save_CFLAGS"
   7495 fi
   7496 
   7497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 	fi
   7501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7505   $as_echo_n "(cached) " >&6
   7506 else
   7507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 _ACEOF
   7511 if ac_fn_c_try_compile "$LINENO"; then :
   7512   xorg_cv_cc_flag_unused_command_line_argument=yes
   7513 else
   7514   xorg_cv_cc_flag_unused_command_line_argument=no
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7517 fi
   7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7521 	CFLAGS="$xorg_testset_save_CFLAGS"
   7522 fi
   7523 
   7524 found="no"
   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 -Werror=trigraphs"
   7536 
   7537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7538 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7539 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7540 		if eval \${$cacheid+:} 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 $cacheid=yes
   7556 else
   7557   eval $cacheid=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=\$$cacheid
   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 -Werror=trigraphs"
   7571 			found="yes"
   7572 		fi
   7573 	fi
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 xorg_testset_save_CFLAGS="$CFLAGS"
   7590 
   7591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7596   $as_echo_n "(cached) " >&6
   7597 else
   7598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7599 /* end confdefs.h.  */
   7600 int i;
   7601 _ACEOF
   7602 if ac_fn_c_try_compile "$LINENO"; then :
   7603   xorg_cv_cc_flag_unknown_warning_option=yes
   7604 else
   7605   xorg_cv_cc_flag_unknown_warning_option=no
   7606 fi
   7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7608 fi
   7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7612 	CFLAGS="$xorg_testset_save_CFLAGS"
   7613 fi
   7614 
   7615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 	fi
   7619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7623   $as_echo_n "(cached) " >&6
   7624 else
   7625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7626 /* end confdefs.h.  */
   7627 int i;
   7628 _ACEOF
   7629 if ac_fn_c_try_compile "$LINENO"; then :
   7630   xorg_cv_cc_flag_unused_command_line_argument=yes
   7631 else
   7632   xorg_cv_cc_flag_unused_command_line_argument=no
   7633 fi
   7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7635 fi
   7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7639 	CFLAGS="$xorg_testset_save_CFLAGS"
   7640 fi
   7641 
   7642 found="no"
   7643 
   7644 	if test $found = "no" ; then
   7645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7647 		fi
   7648 
   7649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7651 		fi
   7652 
   7653 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7654 
   7655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7656 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7657 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7658 		if eval \${$cacheid+:} false; then :
   7659   $as_echo_n "(cached) " >&6
   7660 else
   7661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7662 /* end confdefs.h.  */
   7663 int i;
   7664 int
   7665 main ()
   7666 {
   7667 
   7668   ;
   7669   return 0;
   7670 }
   7671 _ACEOF
   7672 if ac_fn_c_try_link "$LINENO"; then :
   7673   eval $cacheid=yes
   7674 else
   7675   eval $cacheid=no
   7676 fi
   7677 rm -f core conftest.err conftest.$ac_objext \
   7678     conftest$ac_exeext conftest.$ac_ext
   7679 fi
   7680 
   7681 
   7682 		CFLAGS="$xorg_testset_save_CFLAGS"
   7683 
   7684 		eval supported=\$$cacheid
   7685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7686 $as_echo "$supported" >&6; }
   7687 		if test "$supported" = "yes" ; then
   7688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7689 			found="yes"
   7690 		fi
   7691 	fi
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 xorg_testset_save_CFLAGS="$CFLAGS"
   7708 
   7709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7714   $as_echo_n "(cached) " >&6
   7715 else
   7716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 _ACEOF
   7720 if ac_fn_c_try_compile "$LINENO"; then :
   7721   xorg_cv_cc_flag_unknown_warning_option=yes
   7722 else
   7723   xorg_cv_cc_flag_unknown_warning_option=no
   7724 fi
   7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7726 fi
   7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7730 	CFLAGS="$xorg_testset_save_CFLAGS"
   7731 fi
   7732 
   7733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 	fi
   7737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7741   $as_echo_n "(cached) " >&6
   7742 else
   7743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7744 /* end confdefs.h.  */
   7745 int i;
   7746 _ACEOF
   7747 if ac_fn_c_try_compile "$LINENO"; then :
   7748   xorg_cv_cc_flag_unused_command_line_argument=yes
   7749 else
   7750   xorg_cv_cc_flag_unused_command_line_argument=no
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7753 fi
   7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7757 	CFLAGS="$xorg_testset_save_CFLAGS"
   7758 fi
   7759 
   7760 found="no"
   7761 
   7762 	if test $found = "no" ; then
   7763 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7765 		fi
   7766 
   7767 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7769 		fi
   7770 
   7771 		CFLAGS="$CFLAGS -Werror=write-strings"
   7772 
   7773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7774 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7775 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7776 		if eval \${$cacheid+:} false; then :
   7777   $as_echo_n "(cached) " >&6
   7778 else
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 int
   7783 main ()
   7784 {
   7785 
   7786   ;
   7787   return 0;
   7788 }
   7789 _ACEOF
   7790 if ac_fn_c_try_link "$LINENO"; then :
   7791   eval $cacheid=yes
   7792 else
   7793   eval $cacheid=no
   7794 fi
   7795 rm -f core conftest.err conftest.$ac_objext \
   7796     conftest$ac_exeext conftest.$ac_ext
   7797 fi
   7798 
   7799 
   7800 		CFLAGS="$xorg_testset_save_CFLAGS"
   7801 
   7802 		eval supported=\$$cacheid
   7803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7804 $as_echo "$supported" >&6; }
   7805 		if test "$supported" = "yes" ; then
   7806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7807 			found="yes"
   7808 		fi
   7809 	fi
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 xorg_testset_save_CFLAGS="$CFLAGS"
   7826 
   7827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7832   $as_echo_n "(cached) " >&6
   7833 else
   7834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7835 /* end confdefs.h.  */
   7836 int i;
   7837 _ACEOF
   7838 if ac_fn_c_try_compile "$LINENO"; then :
   7839   xorg_cv_cc_flag_unknown_warning_option=yes
   7840 else
   7841   xorg_cv_cc_flag_unknown_warning_option=no
   7842 fi
   7843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7844 fi
   7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7848 	CFLAGS="$xorg_testset_save_CFLAGS"
   7849 fi
   7850 
   7851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 	fi
   7855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7859   $as_echo_n "(cached) " >&6
   7860 else
   7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 _ACEOF
   7865 if ac_fn_c_try_compile "$LINENO"; then :
   7866   xorg_cv_cc_flag_unused_command_line_argument=yes
   7867 else
   7868   xorg_cv_cc_flag_unused_command_line_argument=no
   7869 fi
   7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7871 fi
   7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7875 	CFLAGS="$xorg_testset_save_CFLAGS"
   7876 fi
   7877 
   7878 found="no"
   7879 
   7880 	if test $found = "no" ; then
   7881 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7883 		fi
   7884 
   7885 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7887 		fi
   7888 
   7889 		CFLAGS="$CFLAGS -Werror=address"
   7890 
   7891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7892 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7893 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7894 		if eval \${$cacheid+:} false; then :
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 int
   7901 main ()
   7902 {
   7903 
   7904   ;
   7905   return 0;
   7906 }
   7907 _ACEOF
   7908 if ac_fn_c_try_link "$LINENO"; then :
   7909   eval $cacheid=yes
   7910 else
   7911   eval $cacheid=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext \
   7914     conftest$ac_exeext conftest.$ac_ext
   7915 fi
   7916 
   7917 
   7918 		CFLAGS="$xorg_testset_save_CFLAGS"
   7919 
   7920 		eval supported=\$$cacheid
   7921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7922 $as_echo "$supported" >&6; }
   7923 		if test "$supported" = "yes" ; then
   7924 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7925 			found="yes"
   7926 		fi
   7927 	fi
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 xorg_testset_save_CFLAGS="$CFLAGS"
   7944 
   7945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7950   $as_echo_n "(cached) " >&6
   7951 else
   7952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7953 /* end confdefs.h.  */
   7954 int i;
   7955 _ACEOF
   7956 if ac_fn_c_try_compile "$LINENO"; then :
   7957   xorg_cv_cc_flag_unknown_warning_option=yes
   7958 else
   7959   xorg_cv_cc_flag_unknown_warning_option=no
   7960 fi
   7961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7962 fi
   7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7966 	CFLAGS="$xorg_testset_save_CFLAGS"
   7967 fi
   7968 
   7969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 	fi
   7973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7977   $as_echo_n "(cached) " >&6
   7978 else
   7979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980 /* end confdefs.h.  */
   7981 int i;
   7982 _ACEOF
   7983 if ac_fn_c_try_compile "$LINENO"; then :
   7984   xorg_cv_cc_flag_unused_command_line_argument=yes
   7985 else
   7986   xorg_cv_cc_flag_unused_command_line_argument=no
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7989 fi
   7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7993 	CFLAGS="$xorg_testset_save_CFLAGS"
   7994 fi
   7995 
   7996 found="no"
   7997 
   7998 	if test $found = "no" ; then
   7999 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8001 		fi
   8002 
   8003 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8005 		fi
   8006 
   8007 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8008 
   8009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8010 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8011 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8012 		if eval \${$cacheid+:} false; then :
   8013   $as_echo_n "(cached) " >&6
   8014 else
   8015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8016 /* end confdefs.h.  */
   8017 int i;
   8018 int
   8019 main ()
   8020 {
   8021 
   8022   ;
   8023   return 0;
   8024 }
   8025 _ACEOF
   8026 if ac_fn_c_try_link "$LINENO"; then :
   8027   eval $cacheid=yes
   8028 else
   8029   eval $cacheid=no
   8030 fi
   8031 rm -f core conftest.err conftest.$ac_objext \
   8032     conftest$ac_exeext conftest.$ac_ext
   8033 fi
   8034 
   8035 
   8036 		CFLAGS="$xorg_testset_save_CFLAGS"
   8037 
   8038 		eval supported=\$$cacheid
   8039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8040 $as_echo "$supported" >&6; }
   8041 		if test "$supported" = "yes" ; then
   8042 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8043 			found="yes"
   8044 		fi
   8045 	fi
   8046 
   8047 	if test $found = "no" ; then
   8048 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8050 		fi
   8051 
   8052 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8054 		fi
   8055 
   8056 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8057 
   8058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8059 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8060 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8061 		if eval \${$cacheid+:} false; then :
   8062   $as_echo_n "(cached) " >&6
   8063 else
   8064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8065 /* end confdefs.h.  */
   8066 int i;
   8067 int
   8068 main ()
   8069 {
   8070 
   8071   ;
   8072   return 0;
   8073 }
   8074 _ACEOF
   8075 if ac_fn_c_try_link "$LINENO"; then :
   8076   eval $cacheid=yes
   8077 else
   8078   eval $cacheid=no
   8079 fi
   8080 rm -f core conftest.err conftest.$ac_objext \
   8081     conftest$ac_exeext conftest.$ac_ext
   8082 fi
   8083 
   8084 
   8085 		CFLAGS="$xorg_testset_save_CFLAGS"
   8086 
   8087 		eval supported=\$$cacheid
   8088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8089 $as_echo "$supported" >&6; }
   8090 		if test "$supported" = "yes" ; then
   8091 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8092 			found="yes"
   8093 		fi
   8094 	fi
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 xorg_testset_save_CFLAGS="$CFLAGS"
   8111 
   8112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8116 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8117   $as_echo_n "(cached) " >&6
   8118 else
   8119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8120 /* end confdefs.h.  */
   8121 int i;
   8122 _ACEOF
   8123 if ac_fn_c_try_compile "$LINENO"; then :
   8124   xorg_cv_cc_flag_unknown_warning_option=yes
   8125 else
   8126   xorg_cv_cc_flag_unknown_warning_option=no
   8127 fi
   8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8129 fi
   8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8131 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8133 	CFLAGS="$xorg_testset_save_CFLAGS"
   8134 fi
   8135 
   8136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 	fi
   8140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8142 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8143 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8144   $as_echo_n "(cached) " >&6
   8145 else
   8146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8147 /* end confdefs.h.  */
   8148 int i;
   8149 _ACEOF
   8150 if ac_fn_c_try_compile "$LINENO"; then :
   8151   xorg_cv_cc_flag_unused_command_line_argument=yes
   8152 else
   8153   xorg_cv_cc_flag_unused_command_line_argument=no
   8154 fi
   8155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8156 fi
   8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8158 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8160 	CFLAGS="$xorg_testset_save_CFLAGS"
   8161 fi
   8162 
   8163 found="no"
   8164 
   8165 	if test $found = "no" ; then
   8166 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8168 		fi
   8169 
   8170 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8172 		fi
   8173 
   8174 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8175 
   8176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8177 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8178 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8179 		if eval \${$cacheid+:} false; then :
   8180   $as_echo_n "(cached) " >&6
   8181 else
   8182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8183 /* end confdefs.h.  */
   8184 int i;
   8185 int
   8186 main ()
   8187 {
   8188 
   8189   ;
   8190   return 0;
   8191 }
   8192 _ACEOF
   8193 if ac_fn_c_try_link "$LINENO"; then :
   8194   eval $cacheid=yes
   8195 else
   8196   eval $cacheid=no
   8197 fi
   8198 rm -f core conftest.err conftest.$ac_objext \
   8199     conftest$ac_exeext conftest.$ac_ext
   8200 fi
   8201 
   8202 
   8203 		CFLAGS="$xorg_testset_save_CFLAGS"
   8204 
   8205 		eval supported=\$$cacheid
   8206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8207 $as_echo "$supported" >&6; }
   8208 		if test "$supported" = "yes" ; then
   8209 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8210 			found="yes"
   8211 		fi
   8212 	fi
   8213 
   8214  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8215 else
   8216 { $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
   8217 $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;}
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 xorg_testset_save_CFLAGS="$CFLAGS"
   8232 
   8233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 _ACEOF
   8244 if ac_fn_c_try_compile "$LINENO"; then :
   8245   xorg_cv_cc_flag_unknown_warning_option=yes
   8246 else
   8247   xorg_cv_cc_flag_unknown_warning_option=no
   8248 fi
   8249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8250 fi
   8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8254 	CFLAGS="$xorg_testset_save_CFLAGS"
   8255 fi
   8256 
   8257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8260 	fi
   8261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8265   $as_echo_n "(cached) " >&6
   8266 else
   8267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8268 /* end confdefs.h.  */
   8269 int i;
   8270 _ACEOF
   8271 if ac_fn_c_try_compile "$LINENO"; then :
   8272   xorg_cv_cc_flag_unused_command_line_argument=yes
   8273 else
   8274   xorg_cv_cc_flag_unused_command_line_argument=no
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8277 fi
   8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8281 	CFLAGS="$xorg_testset_save_CFLAGS"
   8282 fi
   8283 
   8284 found="no"
   8285 
   8286 	if test $found = "no" ; then
   8287 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 		fi
   8290 
   8291 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8293 		fi
   8294 
   8295 		CFLAGS="$CFLAGS -Wimplicit"
   8296 
   8297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8298 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8299 		cacheid=xorg_cv_cc_flag__Wimplicit
   8300 		if eval \${$cacheid+:} false; then :
   8301   $as_echo_n "(cached) " >&6
   8302 else
   8303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8304 /* end confdefs.h.  */
   8305 int i;
   8306 int
   8307 main ()
   8308 {
   8309 
   8310   ;
   8311   return 0;
   8312 }
   8313 _ACEOF
   8314 if ac_fn_c_try_link "$LINENO"; then :
   8315   eval $cacheid=yes
   8316 else
   8317   eval $cacheid=no
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext \
   8320     conftest$ac_exeext conftest.$ac_ext
   8321 fi
   8322 
   8323 
   8324 		CFLAGS="$xorg_testset_save_CFLAGS"
   8325 
   8326 		eval supported=\$$cacheid
   8327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8328 $as_echo "$supported" >&6; }
   8329 		if test "$supported" = "yes" ; then
   8330 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8331 			found="yes"
   8332 		fi
   8333 	fi
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 xorg_testset_save_CFLAGS="$CFLAGS"
   8350 
   8351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"; then :
   8363   xorg_cv_cc_flag_unknown_warning_option=yes
   8364 else
   8365   xorg_cv_cc_flag_unknown_warning_option=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8368 fi
   8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8378 	fi
   8379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8383   $as_echo_n "(cached) " >&6
   8384 else
   8385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8386 /* end confdefs.h.  */
   8387 int i;
   8388 _ACEOF
   8389 if ac_fn_c_try_compile "$LINENO"; then :
   8390   xorg_cv_cc_flag_unused_command_line_argument=yes
   8391 else
   8392   xorg_cv_cc_flag_unused_command_line_argument=no
   8393 fi
   8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8395 fi
   8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8399 	CFLAGS="$xorg_testset_save_CFLAGS"
   8400 fi
   8401 
   8402 found="no"
   8403 
   8404 	if test $found = "no" ; then
   8405 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 		fi
   8408 
   8409 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8411 		fi
   8412 
   8413 		CFLAGS="$CFLAGS -Wnonnull"
   8414 
   8415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8416 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8417 		cacheid=xorg_cv_cc_flag__Wnonnull
   8418 		if eval \${$cacheid+:} false; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 int
   8425 main ()
   8426 {
   8427 
   8428   ;
   8429   return 0;
   8430 }
   8431 _ACEOF
   8432 if ac_fn_c_try_link "$LINENO"; then :
   8433   eval $cacheid=yes
   8434 else
   8435   eval $cacheid=no
   8436 fi
   8437 rm -f core conftest.err conftest.$ac_objext \
   8438     conftest$ac_exeext conftest.$ac_ext
   8439 fi
   8440 
   8441 
   8442 		CFLAGS="$xorg_testset_save_CFLAGS"
   8443 
   8444 		eval supported=\$$cacheid
   8445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8446 $as_echo "$supported" >&6; }
   8447 		if test "$supported" = "yes" ; then
   8448 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8449 			found="yes"
   8450 		fi
   8451 	fi
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 xorg_testset_save_CFLAGS="$CFLAGS"
   8468 
   8469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8474   $as_echo_n "(cached) " >&6
   8475 else
   8476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 _ACEOF
   8480 if ac_fn_c_try_compile "$LINENO"; then :
   8481   xorg_cv_cc_flag_unknown_warning_option=yes
   8482 else
   8483   xorg_cv_cc_flag_unknown_warning_option=no
   8484 fi
   8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8486 fi
   8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8490 	CFLAGS="$xorg_testset_save_CFLAGS"
   8491 fi
   8492 
   8493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8496 	fi
   8497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8501   $as_echo_n "(cached) " >&6
   8502 else
   8503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8504 /* end confdefs.h.  */
   8505 int i;
   8506 _ACEOF
   8507 if ac_fn_c_try_compile "$LINENO"; then :
   8508   xorg_cv_cc_flag_unused_command_line_argument=yes
   8509 else
   8510   xorg_cv_cc_flag_unused_command_line_argument=no
   8511 fi
   8512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8513 fi
   8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8517 	CFLAGS="$xorg_testset_save_CFLAGS"
   8518 fi
   8519 
   8520 found="no"
   8521 
   8522 	if test $found = "no" ; then
   8523 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8525 		fi
   8526 
   8527 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8529 		fi
   8530 
   8531 		CFLAGS="$CFLAGS -Winit-self"
   8532 
   8533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8534 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8535 		cacheid=xorg_cv_cc_flag__Winit_self
   8536 		if eval \${$cacheid+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8540 /* end confdefs.h.  */
   8541 int i;
   8542 int
   8543 main ()
   8544 {
   8545 
   8546   ;
   8547   return 0;
   8548 }
   8549 _ACEOF
   8550 if ac_fn_c_try_link "$LINENO"; then :
   8551   eval $cacheid=yes
   8552 else
   8553   eval $cacheid=no
   8554 fi
   8555 rm -f core conftest.err conftest.$ac_objext \
   8556     conftest$ac_exeext conftest.$ac_ext
   8557 fi
   8558 
   8559 
   8560 		CFLAGS="$xorg_testset_save_CFLAGS"
   8561 
   8562 		eval supported=\$$cacheid
   8563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8564 $as_echo "$supported" >&6; }
   8565 		if test "$supported" = "yes" ; then
   8566 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8567 			found="yes"
   8568 		fi
   8569 	fi
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 xorg_testset_save_CFLAGS="$CFLAGS"
   8586 
   8587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 _ACEOF
   8598 if ac_fn_c_try_compile "$LINENO"; then :
   8599   xorg_cv_cc_flag_unknown_warning_option=yes
   8600 else
   8601   xorg_cv_cc_flag_unknown_warning_option=no
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8608 	CFLAGS="$xorg_testset_save_CFLAGS"
   8609 fi
   8610 
   8611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8614 	fi
   8615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8619   $as_echo_n "(cached) " >&6
   8620 else
   8621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 _ACEOF
   8625 if ac_fn_c_try_compile "$LINENO"; then :
   8626   xorg_cv_cc_flag_unused_command_line_argument=yes
   8627 else
   8628   xorg_cv_cc_flag_unused_command_line_argument=no
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8631 fi
   8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8635 	CFLAGS="$xorg_testset_save_CFLAGS"
   8636 fi
   8637 
   8638 found="no"
   8639 
   8640 	if test $found = "no" ; then
   8641 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8643 		fi
   8644 
   8645 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8647 		fi
   8648 
   8649 		CFLAGS="$CFLAGS -Wmain"
   8650 
   8651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8652 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8653 		cacheid=xorg_cv_cc_flag__Wmain
   8654 		if eval \${$cacheid+:} false; then :
   8655   $as_echo_n "(cached) " >&6
   8656 else
   8657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 int
   8661 main ()
   8662 {
   8663 
   8664   ;
   8665   return 0;
   8666 }
   8667 _ACEOF
   8668 if ac_fn_c_try_link "$LINENO"; then :
   8669   eval $cacheid=yes
   8670 else
   8671   eval $cacheid=no
   8672 fi
   8673 rm -f core conftest.err conftest.$ac_objext \
   8674     conftest$ac_exeext conftest.$ac_ext
   8675 fi
   8676 
   8677 
   8678 		CFLAGS="$xorg_testset_save_CFLAGS"
   8679 
   8680 		eval supported=\$$cacheid
   8681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8682 $as_echo "$supported" >&6; }
   8683 		if test "$supported" = "yes" ; then
   8684 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8685 			found="yes"
   8686 		fi
   8687 	fi
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 xorg_testset_save_CFLAGS="$CFLAGS"
   8704 
   8705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8710   $as_echo_n "(cached) " >&6
   8711 else
   8712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8713 /* end confdefs.h.  */
   8714 int i;
   8715 _ACEOF
   8716 if ac_fn_c_try_compile "$LINENO"; then :
   8717   xorg_cv_cc_flag_unknown_warning_option=yes
   8718 else
   8719   xorg_cv_cc_flag_unknown_warning_option=no
   8720 fi
   8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8722 fi
   8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8726 	CFLAGS="$xorg_testset_save_CFLAGS"
   8727 fi
   8728 
   8729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	fi
   8733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8737   $as_echo_n "(cached) " >&6
   8738 else
   8739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8740 /* end confdefs.h.  */
   8741 int i;
   8742 _ACEOF
   8743 if ac_fn_c_try_compile "$LINENO"; then :
   8744   xorg_cv_cc_flag_unused_command_line_argument=yes
   8745 else
   8746   xorg_cv_cc_flag_unused_command_line_argument=no
   8747 fi
   8748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8749 fi
   8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8753 	CFLAGS="$xorg_testset_save_CFLAGS"
   8754 fi
   8755 
   8756 found="no"
   8757 
   8758 	if test $found = "no" ; then
   8759 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8761 		fi
   8762 
   8763 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 		fi
   8766 
   8767 		CFLAGS="$CFLAGS -Wmissing-braces"
   8768 
   8769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8770 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8771 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8772 		if eval \${$cacheid+:} false; then :
   8773   $as_echo_n "(cached) " >&6
   8774 else
   8775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8776 /* end confdefs.h.  */
   8777 int i;
   8778 int
   8779 main ()
   8780 {
   8781 
   8782   ;
   8783   return 0;
   8784 }
   8785 _ACEOF
   8786 if ac_fn_c_try_link "$LINENO"; then :
   8787   eval $cacheid=yes
   8788 else
   8789   eval $cacheid=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext \
   8792     conftest$ac_exeext conftest.$ac_ext
   8793 fi
   8794 
   8795 
   8796 		CFLAGS="$xorg_testset_save_CFLAGS"
   8797 
   8798 		eval supported=\$$cacheid
   8799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8800 $as_echo "$supported" >&6; }
   8801 		if test "$supported" = "yes" ; then
   8802 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8803 			found="yes"
   8804 		fi
   8805 	fi
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 xorg_testset_save_CFLAGS="$CFLAGS"
   8822 
   8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8828   $as_echo_n "(cached) " >&6
   8829 else
   8830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8831 /* end confdefs.h.  */
   8832 int i;
   8833 _ACEOF
   8834 if ac_fn_c_try_compile "$LINENO"; then :
   8835   xorg_cv_cc_flag_unknown_warning_option=yes
   8836 else
   8837   xorg_cv_cc_flag_unknown_warning_option=no
   8838 fi
   8839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8840 fi
   8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8844 	CFLAGS="$xorg_testset_save_CFLAGS"
   8845 fi
   8846 
   8847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8850 	fi
   8851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8855   $as_echo_n "(cached) " >&6
   8856 else
   8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8858 /* end confdefs.h.  */
   8859 int i;
   8860 _ACEOF
   8861 if ac_fn_c_try_compile "$LINENO"; then :
   8862   xorg_cv_cc_flag_unused_command_line_argument=yes
   8863 else
   8864   xorg_cv_cc_flag_unused_command_line_argument=no
   8865 fi
   8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8867 fi
   8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8871 	CFLAGS="$xorg_testset_save_CFLAGS"
   8872 fi
   8873 
   8874 found="no"
   8875 
   8876 	if test $found = "no" ; then
   8877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8879 		fi
   8880 
   8881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8883 		fi
   8884 
   8885 		CFLAGS="$CFLAGS -Wsequence-point"
   8886 
   8887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8888 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8889 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8890 		if eval \${$cacheid+:} false; then :
   8891   $as_echo_n "(cached) " >&6
   8892 else
   8893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8894 /* end confdefs.h.  */
   8895 int i;
   8896 int
   8897 main ()
   8898 {
   8899 
   8900   ;
   8901   return 0;
   8902 }
   8903 _ACEOF
   8904 if ac_fn_c_try_link "$LINENO"; then :
   8905   eval $cacheid=yes
   8906 else
   8907   eval $cacheid=no
   8908 fi
   8909 rm -f core conftest.err conftest.$ac_objext \
   8910     conftest$ac_exeext conftest.$ac_ext
   8911 fi
   8912 
   8913 
   8914 		CFLAGS="$xorg_testset_save_CFLAGS"
   8915 
   8916 		eval supported=\$$cacheid
   8917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8918 $as_echo "$supported" >&6; }
   8919 		if test "$supported" = "yes" ; then
   8920 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8921 			found="yes"
   8922 		fi
   8923 	fi
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 xorg_testset_save_CFLAGS="$CFLAGS"
   8940 
   8941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8946   $as_echo_n "(cached) " >&6
   8947 else
   8948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8949 /* end confdefs.h.  */
   8950 int i;
   8951 _ACEOF
   8952 if ac_fn_c_try_compile "$LINENO"; then :
   8953   xorg_cv_cc_flag_unknown_warning_option=yes
   8954 else
   8955   xorg_cv_cc_flag_unknown_warning_option=no
   8956 fi
   8957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8958 fi
   8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8962 	CFLAGS="$xorg_testset_save_CFLAGS"
   8963 fi
   8964 
   8965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 	fi
   8969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8973   $as_echo_n "(cached) " >&6
   8974 else
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 _ACEOF
   8979 if ac_fn_c_try_compile "$LINENO"; then :
   8980   xorg_cv_cc_flag_unused_command_line_argument=yes
   8981 else
   8982   xorg_cv_cc_flag_unused_command_line_argument=no
   8983 fi
   8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8985 fi
   8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8989 	CFLAGS="$xorg_testset_save_CFLAGS"
   8990 fi
   8991 
   8992 found="no"
   8993 
   8994 	if test $found = "no" ; then
   8995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 		fi
   8998 
   8999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9001 		fi
   9002 
   9003 		CFLAGS="$CFLAGS -Wreturn-type"
   9004 
   9005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9006 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9007 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9008 		if eval \${$cacheid+:} false; then :
   9009   $as_echo_n "(cached) " >&6
   9010 else
   9011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 int
   9015 main ()
   9016 {
   9017 
   9018   ;
   9019   return 0;
   9020 }
   9021 _ACEOF
   9022 if ac_fn_c_try_link "$LINENO"; then :
   9023   eval $cacheid=yes
   9024 else
   9025   eval $cacheid=no
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext \
   9028     conftest$ac_exeext conftest.$ac_ext
   9029 fi
   9030 
   9031 
   9032 		CFLAGS="$xorg_testset_save_CFLAGS"
   9033 
   9034 		eval supported=\$$cacheid
   9035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9036 $as_echo "$supported" >&6; }
   9037 		if test "$supported" = "yes" ; then
   9038 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9039 			found="yes"
   9040 		fi
   9041 	fi
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 xorg_testset_save_CFLAGS="$CFLAGS"
   9058 
   9059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9064   $as_echo_n "(cached) " >&6
   9065 else
   9066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9067 /* end confdefs.h.  */
   9068 int i;
   9069 _ACEOF
   9070 if ac_fn_c_try_compile "$LINENO"; then :
   9071   xorg_cv_cc_flag_unknown_warning_option=yes
   9072 else
   9073   xorg_cv_cc_flag_unknown_warning_option=no
   9074 fi
   9075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9076 fi
   9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9080 	CFLAGS="$xorg_testset_save_CFLAGS"
   9081 fi
   9082 
   9083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 	fi
   9087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9094 /* end confdefs.h.  */
   9095 int i;
   9096 _ACEOF
   9097 if ac_fn_c_try_compile "$LINENO"; then :
   9098   xorg_cv_cc_flag_unused_command_line_argument=yes
   9099 else
   9100   xorg_cv_cc_flag_unused_command_line_argument=no
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9103 fi
   9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9107 	CFLAGS="$xorg_testset_save_CFLAGS"
   9108 fi
   9109 
   9110 found="no"
   9111 
   9112 	if test $found = "no" ; then
   9113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9115 		fi
   9116 
   9117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9119 		fi
   9120 
   9121 		CFLAGS="$CFLAGS -Wtrigraphs"
   9122 
   9123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9124 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9125 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9126 		if eval \${$cacheid+:} false; then :
   9127   $as_echo_n "(cached) " >&6
   9128 else
   9129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 int
   9133 main ()
   9134 {
   9135 
   9136   ;
   9137   return 0;
   9138 }
   9139 _ACEOF
   9140 if ac_fn_c_try_link "$LINENO"; then :
   9141   eval $cacheid=yes
   9142 else
   9143   eval $cacheid=no
   9144 fi
   9145 rm -f core conftest.err conftest.$ac_objext \
   9146     conftest$ac_exeext conftest.$ac_ext
   9147 fi
   9148 
   9149 
   9150 		CFLAGS="$xorg_testset_save_CFLAGS"
   9151 
   9152 		eval supported=\$$cacheid
   9153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9154 $as_echo "$supported" >&6; }
   9155 		if test "$supported" = "yes" ; then
   9156 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9157 			found="yes"
   9158 		fi
   9159 	fi
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 xorg_testset_save_CFLAGS="$CFLAGS"
   9176 
   9177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9182   $as_echo_n "(cached) " >&6
   9183 else
   9184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9185 /* end confdefs.h.  */
   9186 int i;
   9187 _ACEOF
   9188 if ac_fn_c_try_compile "$LINENO"; then :
   9189   xorg_cv_cc_flag_unknown_warning_option=yes
   9190 else
   9191   xorg_cv_cc_flag_unknown_warning_option=no
   9192 fi
   9193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9194 fi
   9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9198 	CFLAGS="$xorg_testset_save_CFLAGS"
   9199 fi
   9200 
   9201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 	fi
   9205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9209   $as_echo_n "(cached) " >&6
   9210 else
   9211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9212 /* end confdefs.h.  */
   9213 int i;
   9214 _ACEOF
   9215 if ac_fn_c_try_compile "$LINENO"; then :
   9216   xorg_cv_cc_flag_unused_command_line_argument=yes
   9217 else
   9218   xorg_cv_cc_flag_unused_command_line_argument=no
   9219 fi
   9220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9221 fi
   9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9225 	CFLAGS="$xorg_testset_save_CFLAGS"
   9226 fi
   9227 
   9228 found="no"
   9229 
   9230 	if test $found = "no" ; then
   9231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9233 		fi
   9234 
   9235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9237 		fi
   9238 
   9239 		CFLAGS="$CFLAGS -Warray-bounds"
   9240 
   9241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9242 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9243 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9244 		if eval \${$cacheid+:} false; then :
   9245   $as_echo_n "(cached) " >&6
   9246 else
   9247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9248 /* end confdefs.h.  */
   9249 int i;
   9250 int
   9251 main ()
   9252 {
   9253 
   9254   ;
   9255   return 0;
   9256 }
   9257 _ACEOF
   9258 if ac_fn_c_try_link "$LINENO"; then :
   9259   eval $cacheid=yes
   9260 else
   9261   eval $cacheid=no
   9262 fi
   9263 rm -f core conftest.err conftest.$ac_objext \
   9264     conftest$ac_exeext conftest.$ac_ext
   9265 fi
   9266 
   9267 
   9268 		CFLAGS="$xorg_testset_save_CFLAGS"
   9269 
   9270 		eval supported=\$$cacheid
   9271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9272 $as_echo "$supported" >&6; }
   9273 		if test "$supported" = "yes" ; then
   9274 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9275 			found="yes"
   9276 		fi
   9277 	fi
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 xorg_testset_save_CFLAGS="$CFLAGS"
   9294 
   9295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9300   $as_echo_n "(cached) " >&6
   9301 else
   9302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9303 /* end confdefs.h.  */
   9304 int i;
   9305 _ACEOF
   9306 if ac_fn_c_try_compile "$LINENO"; then :
   9307   xorg_cv_cc_flag_unknown_warning_option=yes
   9308 else
   9309   xorg_cv_cc_flag_unknown_warning_option=no
   9310 fi
   9311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9312 fi
   9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9316 	CFLAGS="$xorg_testset_save_CFLAGS"
   9317 fi
   9318 
   9319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 	fi
   9323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9327   $as_echo_n "(cached) " >&6
   9328 else
   9329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9330 /* end confdefs.h.  */
   9331 int i;
   9332 _ACEOF
   9333 if ac_fn_c_try_compile "$LINENO"; then :
   9334   xorg_cv_cc_flag_unused_command_line_argument=yes
   9335 else
   9336   xorg_cv_cc_flag_unused_command_line_argument=no
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9339 fi
   9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9343 	CFLAGS="$xorg_testset_save_CFLAGS"
   9344 fi
   9345 
   9346 found="no"
   9347 
   9348 	if test $found = "no" ; then
   9349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 		fi
   9352 
   9353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 		fi
   9356 
   9357 		CFLAGS="$CFLAGS -Wwrite-strings"
   9358 
   9359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9360 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9361 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9362 		if eval \${$cacheid+:} false; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 int
   9369 main ()
   9370 {
   9371 
   9372   ;
   9373   return 0;
   9374 }
   9375 _ACEOF
   9376 if ac_fn_c_try_link "$LINENO"; then :
   9377   eval $cacheid=yes
   9378 else
   9379   eval $cacheid=no
   9380 fi
   9381 rm -f core conftest.err conftest.$ac_objext \
   9382     conftest$ac_exeext conftest.$ac_ext
   9383 fi
   9384 
   9385 
   9386 		CFLAGS="$xorg_testset_save_CFLAGS"
   9387 
   9388 		eval supported=\$$cacheid
   9389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9390 $as_echo "$supported" >&6; }
   9391 		if test "$supported" = "yes" ; then
   9392 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9393 			found="yes"
   9394 		fi
   9395 	fi
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 xorg_testset_save_CFLAGS="$CFLAGS"
   9412 
   9413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9418   $as_echo_n "(cached) " >&6
   9419 else
   9420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int i;
   9423 _ACEOF
   9424 if ac_fn_c_try_compile "$LINENO"; then :
   9425   xorg_cv_cc_flag_unknown_warning_option=yes
   9426 else
   9427   xorg_cv_cc_flag_unknown_warning_option=no
   9428 fi
   9429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9430 fi
   9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9434 	CFLAGS="$xorg_testset_save_CFLAGS"
   9435 fi
   9436 
   9437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 	fi
   9441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9445   $as_echo_n "(cached) " >&6
   9446 else
   9447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9448 /* end confdefs.h.  */
   9449 int i;
   9450 _ACEOF
   9451 if ac_fn_c_try_compile "$LINENO"; then :
   9452   xorg_cv_cc_flag_unused_command_line_argument=yes
   9453 else
   9454   xorg_cv_cc_flag_unused_command_line_argument=no
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9457 fi
   9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9461 	CFLAGS="$xorg_testset_save_CFLAGS"
   9462 fi
   9463 
   9464 found="no"
   9465 
   9466 	if test $found = "no" ; then
   9467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 		fi
   9470 
   9471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9473 		fi
   9474 
   9475 		CFLAGS="$CFLAGS -Waddress"
   9476 
   9477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9478 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9479 		cacheid=xorg_cv_cc_flag__Waddress
   9480 		if eval \${$cacheid+:} false; then :
   9481   $as_echo_n "(cached) " >&6
   9482 else
   9483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9484 /* end confdefs.h.  */
   9485 int i;
   9486 int
   9487 main ()
   9488 {
   9489 
   9490   ;
   9491   return 0;
   9492 }
   9493 _ACEOF
   9494 if ac_fn_c_try_link "$LINENO"; then :
   9495   eval $cacheid=yes
   9496 else
   9497   eval $cacheid=no
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext \
   9500     conftest$ac_exeext conftest.$ac_ext
   9501 fi
   9502 
   9503 
   9504 		CFLAGS="$xorg_testset_save_CFLAGS"
   9505 
   9506 		eval supported=\$$cacheid
   9507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9508 $as_echo "$supported" >&6; }
   9509 		if test "$supported" = "yes" ; then
   9510 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9511 			found="yes"
   9512 		fi
   9513 	fi
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 xorg_testset_save_CFLAGS="$CFLAGS"
   9530 
   9531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9536   $as_echo_n "(cached) " >&6
   9537 else
   9538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9539 /* end confdefs.h.  */
   9540 int i;
   9541 _ACEOF
   9542 if ac_fn_c_try_compile "$LINENO"; then :
   9543   xorg_cv_cc_flag_unknown_warning_option=yes
   9544 else
   9545   xorg_cv_cc_flag_unknown_warning_option=no
   9546 fi
   9547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9548 fi
   9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9552 	CFLAGS="$xorg_testset_save_CFLAGS"
   9553 fi
   9554 
   9555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 	fi
   9559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9563   $as_echo_n "(cached) " >&6
   9564 else
   9565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9566 /* end confdefs.h.  */
   9567 int i;
   9568 _ACEOF
   9569 if ac_fn_c_try_compile "$LINENO"; then :
   9570   xorg_cv_cc_flag_unused_command_line_argument=yes
   9571 else
   9572   xorg_cv_cc_flag_unused_command_line_argument=no
   9573 fi
   9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9575 fi
   9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9579 	CFLAGS="$xorg_testset_save_CFLAGS"
   9580 fi
   9581 
   9582 found="no"
   9583 
   9584 	if test $found = "no" ; then
   9585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 		fi
   9588 
   9589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 		fi
   9592 
   9593 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9594 
   9595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9596 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9597 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9598 		if eval \${$cacheid+:} false; then :
   9599   $as_echo_n "(cached) " >&6
   9600 else
   9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 int i;
   9604 int
   9605 main ()
   9606 {
   9607 
   9608   ;
   9609   return 0;
   9610 }
   9611 _ACEOF
   9612 if ac_fn_c_try_link "$LINENO"; then :
   9613   eval $cacheid=yes
   9614 else
   9615   eval $cacheid=no
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext \
   9618     conftest$ac_exeext conftest.$ac_ext
   9619 fi
   9620 
   9621 
   9622 		CFLAGS="$xorg_testset_save_CFLAGS"
   9623 
   9624 		eval supported=\$$cacheid
   9625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9626 $as_echo "$supported" >&6; }
   9627 		if test "$supported" = "yes" ; then
   9628 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9629 			found="yes"
   9630 		fi
   9631 	fi
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 xorg_testset_save_CFLAGS="$CFLAGS"
   9648 
   9649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9654   $as_echo_n "(cached) " >&6
   9655 else
   9656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9657 /* end confdefs.h.  */
   9658 int i;
   9659 _ACEOF
   9660 if ac_fn_c_try_compile "$LINENO"; then :
   9661   xorg_cv_cc_flag_unknown_warning_option=yes
   9662 else
   9663   xorg_cv_cc_flag_unknown_warning_option=no
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9666 fi
   9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9670 	CFLAGS="$xorg_testset_save_CFLAGS"
   9671 fi
   9672 
   9673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 	fi
   9677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9687 if ac_fn_c_try_compile "$LINENO"; then :
   9688   xorg_cv_cc_flag_unused_command_line_argument=yes
   9689 else
   9690   xorg_cv_cc_flag_unused_command_line_argument=no
   9691 fi
   9692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9693 fi
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9697 	CFLAGS="$xorg_testset_save_CFLAGS"
   9698 fi
   9699 
   9700 found="no"
   9701 
   9702 	if test $found = "no" ; then
   9703 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9705 		fi
   9706 
   9707 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9709 		fi
   9710 
   9711 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9712 
   9713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9714 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9715 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9716 		if eval \${$cacheid+:} false; then :
   9717   $as_echo_n "(cached) " >&6
   9718 else
   9719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 int
   9723 main ()
   9724 {
   9725 
   9726   ;
   9727   return 0;
   9728 }
   9729 _ACEOF
   9730 if ac_fn_c_try_link "$LINENO"; then :
   9731   eval $cacheid=yes
   9732 else
   9733   eval $cacheid=no
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext \
   9736     conftest$ac_exeext conftest.$ac_ext
   9737 fi
   9738 
   9739 
   9740 		CFLAGS="$xorg_testset_save_CFLAGS"
   9741 
   9742 		eval supported=\$$cacheid
   9743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9744 $as_echo "$supported" >&6; }
   9745 		if test "$supported" = "yes" ; then
   9746 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9747 			found="yes"
   9748 		fi
   9749 	fi
   9750 
   9751 
   9752 fi
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 		CWARNFLAGS="$BASE_CFLAGS"
   9761 		if  test "x$GCC" = xyes ; then
   9762 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9763 		fi
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 # Check whether --enable-strict-compilation was given.
   9773 if test "${enable_strict_compilation+set}" = set; then :
   9774   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9775 else
   9776   STRICT_COMPILE=no
   9777 fi
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 STRICT_CFLAGS=""
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 xorg_testset_save_CFLAGS="$CFLAGS"
   9799 
   9800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9805   $as_echo_n "(cached) " >&6
   9806 else
   9807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9808 /* end confdefs.h.  */
   9809 int i;
   9810 _ACEOF
   9811 if ac_fn_c_try_compile "$LINENO"; then :
   9812   xorg_cv_cc_flag_unknown_warning_option=yes
   9813 else
   9814   xorg_cv_cc_flag_unknown_warning_option=no
   9815 fi
   9816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9817 fi
   9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9821 	CFLAGS="$xorg_testset_save_CFLAGS"
   9822 fi
   9823 
   9824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9827 	fi
   9828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9832   $as_echo_n "(cached) " >&6
   9833 else
   9834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9835 /* end confdefs.h.  */
   9836 int i;
   9837 _ACEOF
   9838 if ac_fn_c_try_compile "$LINENO"; then :
   9839   xorg_cv_cc_flag_unused_command_line_argument=yes
   9840 else
   9841   xorg_cv_cc_flag_unused_command_line_argument=no
   9842 fi
   9843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9844 fi
   9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9848 	CFLAGS="$xorg_testset_save_CFLAGS"
   9849 fi
   9850 
   9851 found="no"
   9852 
   9853 	if test $found = "no" ; then
   9854 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9856 		fi
   9857 
   9858 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9860 		fi
   9861 
   9862 		CFLAGS="$CFLAGS -pedantic"
   9863 
   9864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9865 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9866 		cacheid=xorg_cv_cc_flag__pedantic
   9867 		if eval \${$cacheid+:} false; then :
   9868   $as_echo_n "(cached) " >&6
   9869 else
   9870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9871 /* end confdefs.h.  */
   9872 int i;
   9873 int
   9874 main ()
   9875 {
   9876 
   9877   ;
   9878   return 0;
   9879 }
   9880 _ACEOF
   9881 if ac_fn_c_try_link "$LINENO"; then :
   9882   eval $cacheid=yes
   9883 else
   9884   eval $cacheid=no
   9885 fi
   9886 rm -f core conftest.err conftest.$ac_objext \
   9887     conftest$ac_exeext conftest.$ac_ext
   9888 fi
   9889 
   9890 
   9891 		CFLAGS="$xorg_testset_save_CFLAGS"
   9892 
   9893 		eval supported=\$$cacheid
   9894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9895 $as_echo "$supported" >&6; }
   9896 		if test "$supported" = "yes" ; then
   9897 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9898 			found="yes"
   9899 		fi
   9900 	fi
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 xorg_testset_save_CFLAGS="$CFLAGS"
   9917 
   9918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9923   $as_echo_n "(cached) " >&6
   9924 else
   9925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9926 /* end confdefs.h.  */
   9927 int i;
   9928 _ACEOF
   9929 if ac_fn_c_try_compile "$LINENO"; then :
   9930   xorg_cv_cc_flag_unknown_warning_option=yes
   9931 else
   9932   xorg_cv_cc_flag_unknown_warning_option=no
   9933 fi
   9934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9935 fi
   9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9939 	CFLAGS="$xorg_testset_save_CFLAGS"
   9940 fi
   9941 
   9942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9945 	fi
   9946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9950   $as_echo_n "(cached) " >&6
   9951 else
   9952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9953 /* end confdefs.h.  */
   9954 int i;
   9955 _ACEOF
   9956 if ac_fn_c_try_compile "$LINENO"; then :
   9957   xorg_cv_cc_flag_unused_command_line_argument=yes
   9958 else
   9959   xorg_cv_cc_flag_unused_command_line_argument=no
   9960 fi
   9961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9962 fi
   9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9966 	CFLAGS="$xorg_testset_save_CFLAGS"
   9967 fi
   9968 
   9969 found="no"
   9970 
   9971 	if test $found = "no" ; then
   9972 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9974 		fi
   9975 
   9976 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9978 		fi
   9979 
   9980 		CFLAGS="$CFLAGS -Werror"
   9981 
   9982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9983 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9984 		cacheid=xorg_cv_cc_flag__Werror
   9985 		if eval \${$cacheid+:} false; then :
   9986   $as_echo_n "(cached) " >&6
   9987 else
   9988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9989 /* end confdefs.h.  */
   9990 int i;
   9991 int
   9992 main ()
   9993 {
   9994 
   9995   ;
   9996   return 0;
   9997 }
   9998 _ACEOF
   9999 if ac_fn_c_try_link "$LINENO"; then :
   10000   eval $cacheid=yes
   10001 else
   10002   eval $cacheid=no
   10003 fi
   10004 rm -f core conftest.err conftest.$ac_objext \
   10005     conftest$ac_exeext conftest.$ac_ext
   10006 fi
   10007 
   10008 
   10009 		CFLAGS="$xorg_testset_save_CFLAGS"
   10010 
   10011 		eval supported=\$$cacheid
   10012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10013 $as_echo "$supported" >&6; }
   10014 		if test "$supported" = "yes" ; then
   10015 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10016 			found="yes"
   10017 		fi
   10018 	fi
   10019 
   10020 	if test $found = "no" ; then
   10021 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 		fi
   10024 
   10025 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10027 		fi
   10028 
   10029 		CFLAGS="$CFLAGS -errwarn"
   10030 
   10031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10032 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10033 		cacheid=xorg_cv_cc_flag__errwarn
   10034 		if eval \${$cacheid+:} false; then :
   10035   $as_echo_n "(cached) " >&6
   10036 else
   10037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10038 /* end confdefs.h.  */
   10039 int i;
   10040 int
   10041 main ()
   10042 {
   10043 
   10044   ;
   10045   return 0;
   10046 }
   10047 _ACEOF
   10048 if ac_fn_c_try_link "$LINENO"; then :
   10049   eval $cacheid=yes
   10050 else
   10051   eval $cacheid=no
   10052 fi
   10053 rm -f core conftest.err conftest.$ac_objext \
   10054     conftest$ac_exeext conftest.$ac_ext
   10055 fi
   10056 
   10057 
   10058 		CFLAGS="$xorg_testset_save_CFLAGS"
   10059 
   10060 		eval supported=\$$cacheid
   10061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10062 $as_echo "$supported" >&6; }
   10063 		if test "$supported" = "yes" ; then
   10064 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10065 			found="yes"
   10066 		fi
   10067 	fi
   10068 
   10069 
   10070 
   10071 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10072 # activate it with -Werror, so we add it here explicitly.
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 xorg_testset_save_CFLAGS="$CFLAGS"
   10087 
   10088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10093   $as_echo_n "(cached) " >&6
   10094 else
   10095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10096 /* end confdefs.h.  */
   10097 int i;
   10098 _ACEOF
   10099 if ac_fn_c_try_compile "$LINENO"; then :
   10100   xorg_cv_cc_flag_unknown_warning_option=yes
   10101 else
   10102   xorg_cv_cc_flag_unknown_warning_option=no
   10103 fi
   10104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10105 fi
   10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10109 	CFLAGS="$xorg_testset_save_CFLAGS"
   10110 fi
   10111 
   10112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 	fi
   10116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10120   $as_echo_n "(cached) " >&6
   10121 else
   10122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10123 /* end confdefs.h.  */
   10124 int i;
   10125 _ACEOF
   10126 if ac_fn_c_try_compile "$LINENO"; then :
   10127   xorg_cv_cc_flag_unused_command_line_argument=yes
   10128 else
   10129   xorg_cv_cc_flag_unused_command_line_argument=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10132 fi
   10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 found="no"
   10140 
   10141 	if test $found = "no" ; then
   10142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10144 		fi
   10145 
   10146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10148 		fi
   10149 
   10150 		CFLAGS="$CFLAGS -Werror=attributes"
   10151 
   10152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10153 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10154 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10155 		if eval \${$cacheid+:} false; then :
   10156   $as_echo_n "(cached) " >&6
   10157 else
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 int i;
   10161 int
   10162 main ()
   10163 {
   10164 
   10165   ;
   10166   return 0;
   10167 }
   10168 _ACEOF
   10169 if ac_fn_c_try_link "$LINENO"; then :
   10170   eval $cacheid=yes
   10171 else
   10172   eval $cacheid=no
   10173 fi
   10174 rm -f core conftest.err conftest.$ac_objext \
   10175     conftest$ac_exeext conftest.$ac_ext
   10176 fi
   10177 
   10178 
   10179 		CFLAGS="$xorg_testset_save_CFLAGS"
   10180 
   10181 		eval supported=\$$cacheid
   10182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10183 $as_echo "$supported" >&6; }
   10184 		if test "$supported" = "yes" ; then
   10185 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10186 			found="yes"
   10187 		fi
   10188 	fi
   10189 
   10190 
   10191 
   10192 if test "x$STRICT_COMPILE" = "xyes"; then
   10193     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10194     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10195 fi
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 cat >>confdefs.h <<_ACEOF
   10203 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10204 _ACEOF
   10205 
   10206 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10207 	if test "x$PVM" = "x"; then
   10208 		PVM="0"
   10209 	fi
   10210 
   10211 cat >>confdefs.h <<_ACEOF
   10212 #define PACKAGE_VERSION_MINOR $PVM
   10213 _ACEOF
   10214 
   10215 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10216 	if test "x$PVP" = "x"; then
   10217 		PVP="0"
   10218 	fi
   10219 
   10220 cat >>confdefs.h <<_ACEOF
   10221 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10222 _ACEOF
   10223 
   10224 
   10225 
   10226 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10227 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10228 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10229 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10230 
   10231 
   10232 
   10233 
   10234 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10235 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10236 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10237 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10238 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 if test x$APP_MAN_SUFFIX = x    ; then
   10246     APP_MAN_SUFFIX=1
   10247 fi
   10248 if test x$APP_MAN_DIR = x    ; then
   10249     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10250 fi
   10251 
   10252 if test x$LIB_MAN_SUFFIX = x    ; then
   10253     LIB_MAN_SUFFIX=3
   10254 fi
   10255 if test x$LIB_MAN_DIR = x    ; then
   10256     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10257 fi
   10258 
   10259 if test x$FILE_MAN_SUFFIX = x    ; then
   10260     case $host_os in
   10261 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10262 	*)		FILE_MAN_SUFFIX=5  ;;
   10263     esac
   10264 fi
   10265 if test x$FILE_MAN_DIR = x    ; then
   10266     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10267 fi
   10268 
   10269 if test x$MISC_MAN_SUFFIX = x    ; then
   10270     case $host_os in
   10271 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10272 	*)		MISC_MAN_SUFFIX=7  ;;
   10273     esac
   10274 fi
   10275 if test x$MISC_MAN_DIR = x    ; then
   10276     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10277 fi
   10278 
   10279 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10280     case $host_os in
   10281 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10282 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10283     esac
   10284 fi
   10285 if test x$DRIVER_MAN_DIR = x    ; then
   10286     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10287 fi
   10288 
   10289 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10290     case $host_os in
   10291 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10292 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10293     esac
   10294 fi
   10295 if test x$ADMIN_MAN_DIR = x    ; then
   10296     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10297 fi
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 XORG_MAN_PAGE="X Version 11"
   10314 
   10315 MAN_SUBSTS="\
   10316 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10317 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10318 	-e 's|__xservername__|Xorg|g' \
   10319 	-e 's|__xconfigfile__|xorg.conf|g' \
   10320 	-e 's|__projectroot__|\$(prefix)|g' \
   10321 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10322 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10323 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10324 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10325 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10326 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10327 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10328 
   10329 
   10330 
   10331 # Check whether --enable-silent-rules was given.
   10332 if test "${enable_silent_rules+set}" = set; then :
   10333   enableval=$enable_silent_rules;
   10334 fi
   10335 
   10336 case $enable_silent_rules in
   10337 yes) AM_DEFAULT_VERBOSITY=0;;
   10338 no)  AM_DEFAULT_VERBOSITY=1;;
   10339 *)   AM_DEFAULT_VERBOSITY=0;;
   10340 esac
   10341 am_make=${MAKE-make}
   10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10343 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10344 if ${am_cv_make_support_nested_variables+:} false; then :
   10345   $as_echo_n "(cached) " >&6
   10346 else
   10347   if $as_echo 'TRUE=$(BAR$(V))
   10348 BAR0=false
   10349 BAR1=true
   10350 V=1
   10351 am__doit:
   10352 	@$(TRUE)
   10353 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10354   am_cv_make_support_nested_variables=yes
   10355 else
   10356   am_cv_make_support_nested_variables=no
   10357 fi
   10358 fi
   10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10360 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10361 if test $am_cv_make_support_nested_variables = yes; then
   10362     AM_V='$(V)'
   10363   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10364 else
   10365   AM_V=$AM_DEFAULT_VERBOSITY
   10366   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10367 fi
   10368 AM_BACKSLASH='\'
   10369 
   10370 
   10371 
   10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
   10373 $as_echo_n "checking for floor in -lm... " >&6; }
   10374 if ${ac_cv_lib_m_floor+:} false; then :
   10375   $as_echo_n "(cached) " >&6
   10376 else
   10377   ac_check_lib_save_LIBS=$LIBS
   10378 LIBS="-lm  $LIBS"
   10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10380 /* end confdefs.h.  */
   10381 
   10382 /* Override any GCC internal prototype to avoid an error.
   10383    Use char because int might match the return type of a GCC
   10384    builtin and then its argument prototype would still apply.  */
   10385 #ifdef __cplusplus
   10386 extern "C"
   10387 #endif
   10388 char floor ();
   10389 int
   10390 main ()
   10391 {
   10392 return floor ();
   10393   ;
   10394   return 0;
   10395 }
   10396 _ACEOF
   10397 if ac_fn_c_try_link "$LINENO"; then :
   10398   ac_cv_lib_m_floor=yes
   10399 else
   10400   ac_cv_lib_m_floor=no
   10401 fi
   10402 rm -f core conftest.err conftest.$ac_objext \
   10403     conftest$ac_exeext conftest.$ac_ext
   10404 LIBS=$ac_check_lib_save_LIBS
   10405 fi
   10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
   10407 $as_echo "$ac_cv_lib_m_floor" >&6; }
   10408 if test "x$ac_cv_lib_m_floor" = xyes; then :
   10409   cat >>confdefs.h <<_ACEOF
   10410 #define HAVE_LIBM 1
   10411 _ACEOF
   10412 
   10413   LIBS="-lm $LIBS"
   10414 
   10415 fi
   10416 
   10417 
   10418 # Checks for pkg-config packages
   10419 
   10420 pkg_failed=no
   10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR" >&5
   10422 $as_echo_n "checking for XRANDR... " >&6; }
   10423 
   10424 if test -n "$XRANDR_CFLAGS"; then
   10425     pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS"
   10426  elif test -n "$PKG_CONFIG"; then
   10427     if test -n "$PKG_CONFIG" && \
   10428     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.4 xrender x11 xproto >= 7.0.17\""; } >&5
   10429   ($PKG_CONFIG --exists --print-errors "xrandr >= 1.4 xrender x11 xproto >= 7.0.17") 2>&5
   10430   ac_status=$?
   10431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10432   test $ac_status = 0; }; then
   10433   pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>/dev/null`
   10434 		      test "x$?" != "x0" && pkg_failed=yes
   10435 else
   10436   pkg_failed=yes
   10437 fi
   10438  else
   10439     pkg_failed=untried
   10440 fi
   10441 if test -n "$XRANDR_LIBS"; then
   10442     pkg_cv_XRANDR_LIBS="$XRANDR_LIBS"
   10443  elif test -n "$PKG_CONFIG"; then
   10444     if test -n "$PKG_CONFIG" && \
   10445     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.4 xrender x11 xproto >= 7.0.17\""; } >&5
   10446   ($PKG_CONFIG --exists --print-errors "xrandr >= 1.4 xrender x11 xproto >= 7.0.17") 2>&5
   10447   ac_status=$?
   10448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10449   test $ac_status = 0; }; then
   10450   pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>/dev/null`
   10451 		      test "x$?" != "x0" && pkg_failed=yes
   10452 else
   10453   pkg_failed=yes
   10454 fi
   10455  else
   10456     pkg_failed=untried
   10457 fi
   10458 
   10459 
   10460 
   10461 if test $pkg_failed = yes; then
   10462    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10463 $as_echo "no" >&6; }
   10464 
   10465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10466         _pkg_short_errors_supported=yes
   10467 else
   10468         _pkg_short_errors_supported=no
   10469 fi
   10470         if test $_pkg_short_errors_supported = yes; then
   10471 	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>&1`
   10472         else
   10473 	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>&1`
   10474         fi
   10475 	# Put the nasty error message in config.log where it belongs
   10476 	echo "$XRANDR_PKG_ERRORS" >&5
   10477 
   10478 	as_fn_error $? "Package requirements (xrandr >= 1.4 xrender x11 xproto >= 7.0.17) were not met:
   10479 
   10480 $XRANDR_PKG_ERRORS
   10481 
   10482 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10483 installed software in a non-standard prefix.
   10484 
   10485 Alternatively, you may set the environment variables XRANDR_CFLAGS
   10486 and XRANDR_LIBS to avoid the need to call pkg-config.
   10487 See the pkg-config man page for more details." "$LINENO" 5
   10488 elif test $pkg_failed = untried; then
   10489      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10490 $as_echo "no" >&6; }
   10491 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10493 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10494 is in your PATH or set the PKG_CONFIG environment variable to the full
   10495 path to pkg-config.
   10496 
   10497 Alternatively, you may set the environment variables XRANDR_CFLAGS
   10498 and XRANDR_LIBS to avoid the need to call pkg-config.
   10499 See the pkg-config man page for more details.
   10500 
   10501 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10502 See \`config.log' for more details" "$LINENO" 5; }
   10503 else
   10504 	XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS
   10505 	XRANDR_LIBS=$pkg_cv_XRANDR_LIBS
   10506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10507 $as_echo "yes" >&6; }
   10508 
   10509 fi
   10510 
   10511 ac_config_files="$ac_config_files Makefile man/Makefile"
   10512 
   10513 cat >confcache <<\_ACEOF
   10514 # This file is a shell script that caches the results of configure
   10515 # tests run on this system so they can be shared between configure
   10516 # scripts and configure runs, see configure's option --config-cache.
   10517 # It is not useful on other systems.  If it contains results you don't
   10518 # want to keep, you may remove or edit it.
   10519 #
   10520 # config.status only pays attention to the cache file if you give it
   10521 # the --recheck option to rerun configure.
   10522 #
   10523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10525 # following values.
   10526 
   10527 _ACEOF
   10528 
   10529 # The following way of writing the cache mishandles newlines in values,
   10530 # but we know of no workaround that is simple, portable, and efficient.
   10531 # So, we kill variables containing newlines.
   10532 # Ultrix sh set writes to stderr and can't be redirected directly,
   10533 # and sets the high bit in the cache file unless we assign to the vars.
   10534 (
   10535   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10536     eval ac_val=\$$ac_var
   10537     case $ac_val in #(
   10538     *${as_nl}*)
   10539       case $ac_var in #(
   10540       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10542       esac
   10543       case $ac_var in #(
   10544       _ | IFS | as_nl) ;; #(
   10545       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10546       *) { eval $ac_var=; unset $ac_var;} ;;
   10547       esac ;;
   10548     esac
   10549   done
   10550 
   10551   (set) 2>&1 |
   10552     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10553     *${as_nl}ac_space=\ *)
   10554       # `set' does not quote correctly, so add quotes: double-quote
   10555       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10556       sed -n \
   10557 	"s/'/'\\\\''/g;
   10558 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10559       ;; #(
   10560     *)
   10561       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10562       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10563       ;;
   10564     esac |
   10565     sort
   10566 ) |
   10567   sed '
   10568      /^ac_cv_env_/b end
   10569      t clear
   10570      :clear
   10571      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10572      t end
   10573      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10574      :end' >>confcache
   10575 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10576   if test -w "$cache_file"; then
   10577     if test "x$cache_file" != "x/dev/null"; then
   10578       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10579 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10580       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10581 	cat confcache >"$cache_file"
   10582       else
   10583         case $cache_file in #(
   10584         */* | ?:*)
   10585 	  mv -f confcache "$cache_file"$$ &&
   10586 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10587         *)
   10588 	  mv -f confcache "$cache_file" ;;
   10589 	esac
   10590       fi
   10591     fi
   10592   else
   10593     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10594 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10595   fi
   10596 fi
   10597 rm -f confcache
   10598 
   10599 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10600 # Let make expand exec_prefix.
   10601 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10602 
   10603 DEFS=-DHAVE_CONFIG_H
   10604 
   10605 ac_libobjs=
   10606 ac_ltlibobjs=
   10607 U=
   10608 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10609   # 1. Remove the extension, and $U if already installed.
   10610   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10611   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10612   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10613   #    will be set to the directory where LIBOBJS objects are built.
   10614   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10615   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10616 done
   10617 LIBOBJS=$ac_libobjs
   10618 
   10619 LTLIBOBJS=$ac_ltlibobjs
   10620 
   10621 
   10622  if test -n "$EXEEXT"; then
   10623   am__EXEEXT_TRUE=
   10624   am__EXEEXT_FALSE='#'
   10625 else
   10626   am__EXEEXT_TRUE='#'
   10627   am__EXEEXT_FALSE=
   10628 fi
   10629 
   10630 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10631   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10633 fi
   10634 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10635   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10637 fi
   10638 
   10639 : "${CONFIG_STATUS=./config.status}"
   10640 ac_write_fail=0
   10641 ac_clean_files_save=$ac_clean_files
   10642 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10644 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10645 as_write_fail=0
   10646 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10647 #! $SHELL
   10648 # Generated by $as_me.
   10649 # Run this file to recreate the current configuration.
   10650 # Compiler output produced by configure, useful for debugging
   10651 # configure, is in config.log if it exists.
   10652 
   10653 debug=false
   10654 ac_cs_recheck=false
   10655 ac_cs_silent=false
   10656 
   10657 SHELL=\${CONFIG_SHELL-$SHELL}
   10658 export SHELL
   10659 _ASEOF
   10660 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10661 ## -------------------- ##
   10662 ## M4sh Initialization. ##
   10663 ## -------------------- ##
   10664 
   10665 # Be more Bourne compatible
   10666 DUALCASE=1; export DUALCASE # for MKS sh
   10667 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10668   emulate sh
   10669   NULLCMD=:
   10670   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10671   # is contrary to our usage.  Disable this feature.
   10672   alias -g '${1+"$@"}'='"$@"'
   10673   setopt NO_GLOB_SUBST
   10674 else
   10675   case `(set -o) 2>/dev/null` in #(
   10676   *posix*) :
   10677     set -o posix ;; #(
   10678   *) :
   10679      ;;
   10680 esac
   10681 fi
   10682 
   10683 
   10684 as_nl='
   10685 '
   10686 export as_nl
   10687 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10688 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10691 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10692 # but without wasting forks for bash or zsh.
   10693 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10694     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10695   as_echo='print -r --'
   10696   as_echo_n='print -rn --'
   10697 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10698   as_echo='printf %s\n'
   10699   as_echo_n='printf %s'
   10700 else
   10701   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10702     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10703     as_echo_n='/usr/ucb/echo -n'
   10704   else
   10705     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10706     as_echo_n_body='eval
   10707       arg=$1;
   10708       case $arg in #(
   10709       *"$as_nl"*)
   10710 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10711 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10712       esac;
   10713       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10714     '
   10715     export as_echo_n_body
   10716     as_echo_n='sh -c $as_echo_n_body as_echo'
   10717   fi
   10718   export as_echo_body
   10719   as_echo='sh -c $as_echo_body as_echo'
   10720 fi
   10721 
   10722 # The user is always right.
   10723 if test "${PATH_SEPARATOR+set}" != set; then
   10724   PATH_SEPARATOR=:
   10725   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10726     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10727       PATH_SEPARATOR=';'
   10728   }
   10729 fi
   10730 
   10731 
   10732 # IFS
   10733 # We need space, tab and new line, in precisely that order.  Quoting is
   10734 # there to prevent editors from complaining about space-tab.
   10735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10736 # splitting by setting IFS to empty value.)
   10737 IFS=" ""	$as_nl"
   10738 
   10739 # Find who we are.  Look in the path if we contain no directory separator.
   10740 as_myself=
   10741 case $0 in #((
   10742   *[\\/]* ) as_myself=$0 ;;
   10743   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10744 for as_dir in $PATH
   10745 do
   10746   IFS=$as_save_IFS
   10747   test -z "$as_dir" && as_dir=.
   10748     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10749   done
   10750 IFS=$as_save_IFS
   10751 
   10752      ;;
   10753 esac
   10754 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10755 # in which case we are not to be found in the path.
   10756 if test "x$as_myself" = x; then
   10757   as_myself=$0
   10758 fi
   10759 if test ! -f "$as_myself"; then
   10760   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10761   exit 1
   10762 fi
   10763 
   10764 # Unset variables that we do not need and which cause bugs (e.g. in
   10765 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10766 # suppresses any "Segmentation fault" message there.  '((' could
   10767 # trigger a bug in pdksh 5.2.14.
   10768 for as_var in BASH_ENV ENV MAIL MAILPATH
   10769 do eval test x\${$as_var+set} = xset \
   10770   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10771 done
   10772 PS1='$ '
   10773 PS2='> '
   10774 PS4='+ '
   10775 
   10776 # NLS nuisances.
   10777 LC_ALL=C
   10778 export LC_ALL
   10779 LANGUAGE=C
   10780 export LANGUAGE
   10781 
   10782 # CDPATH.
   10783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10784 
   10785 
   10786 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10787 # ----------------------------------------
   10788 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10789 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10790 # script with STATUS, using 1 if that was 0.
   10791 as_fn_error ()
   10792 {
   10793   as_status=$1; test $as_status -eq 0 && as_status=1
   10794   if test "$4"; then
   10795     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10796     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10797   fi
   10798   $as_echo "$as_me: error: $2" >&2
   10799   as_fn_exit $as_status
   10800 } # as_fn_error
   10801 
   10802 
   10803 # as_fn_set_status STATUS
   10804 # -----------------------
   10805 # Set $? to STATUS, without forking.
   10806 as_fn_set_status ()
   10807 {
   10808   return $1
   10809 } # as_fn_set_status
   10810 
   10811 # as_fn_exit STATUS
   10812 # -----------------
   10813 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10814 as_fn_exit ()
   10815 {
   10816   set +e
   10817   as_fn_set_status $1
   10818   exit $1
   10819 } # as_fn_exit
   10820 
   10821 # as_fn_unset VAR
   10822 # ---------------
   10823 # Portably unset VAR.
   10824 as_fn_unset ()
   10825 {
   10826   { eval $1=; unset $1;}
   10827 }
   10828 as_unset=as_fn_unset
   10829 # as_fn_append VAR VALUE
   10830 # ----------------------
   10831 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10832 # advantage of any shell optimizations that allow amortized linear growth over
   10833 # repeated appends, instead of the typical quadratic growth present in naive
   10834 # implementations.
   10835 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10836   eval 'as_fn_append ()
   10837   {
   10838     eval $1+=\$2
   10839   }'
   10840 else
   10841   as_fn_append ()
   10842   {
   10843     eval $1=\$$1\$2
   10844   }
   10845 fi # as_fn_append
   10846 
   10847 # as_fn_arith ARG...
   10848 # ------------------
   10849 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10850 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10851 # must be portable across $(()) and expr.
   10852 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10853   eval 'as_fn_arith ()
   10854   {
   10855     as_val=$(( $* ))
   10856   }'
   10857 else
   10858   as_fn_arith ()
   10859   {
   10860     as_val=`expr "$@" || test $? -eq 1`
   10861   }
   10862 fi # as_fn_arith
   10863 
   10864 
   10865 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10866    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10867   as_expr=expr
   10868 else
   10869   as_expr=false
   10870 fi
   10871 
   10872 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10873   as_basename=basename
   10874 else
   10875   as_basename=false
   10876 fi
   10877 
   10878 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10879   as_dirname=dirname
   10880 else
   10881   as_dirname=false
   10882 fi
   10883 
   10884 as_me=`$as_basename -- "$0" ||
   10885 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10886 	 X"$0" : 'X\(//\)$' \| \
   10887 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10888 $as_echo X/"$0" |
   10889     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10890 	    s//\1/
   10891 	    q
   10892 	  }
   10893 	  /^X\/\(\/\/\)$/{
   10894 	    s//\1/
   10895 	    q
   10896 	  }
   10897 	  /^X\/\(\/\).*/{
   10898 	    s//\1/
   10899 	    q
   10900 	  }
   10901 	  s/.*/./; q'`
   10902 
   10903 # Avoid depending upon Character Ranges.
   10904 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10905 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10906 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10907 as_cr_digits='0123456789'
   10908 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10909 
   10910 ECHO_C= ECHO_N= ECHO_T=
   10911 case `echo -n x` in #(((((
   10912 -n*)
   10913   case `echo 'xy\c'` in
   10914   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10915   xy)  ECHO_C='\c';;
   10916   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10917        ECHO_T='	';;
   10918   esac;;
   10919 *)
   10920   ECHO_N='-n';;
   10921 esac
   10922 
   10923 rm -f conf$$ conf$$.exe conf$$.file
   10924 if test -d conf$$.dir; then
   10925   rm -f conf$$.dir/conf$$.file
   10926 else
   10927   rm -f conf$$.dir
   10928   mkdir conf$$.dir 2>/dev/null
   10929 fi
   10930 if (echo >conf$$.file) 2>/dev/null; then
   10931   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10932     as_ln_s='ln -s'
   10933     # ... but there are two gotchas:
   10934     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10935     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10936     # In both cases, we have to default to `cp -p'.
   10937     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10938       as_ln_s='cp -p'
   10939   elif ln conf$$.file conf$$ 2>/dev/null; then
   10940     as_ln_s=ln
   10941   else
   10942     as_ln_s='cp -p'
   10943   fi
   10944 else
   10945   as_ln_s='cp -p'
   10946 fi
   10947 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   10948 rmdir conf$$.dir 2>/dev/null
   10949 
   10950 
   10951 # as_fn_mkdir_p
   10952 # -------------
   10953 # Create "$as_dir" as a directory, including parents if necessary.
   10954 as_fn_mkdir_p ()
   10955 {
   10956 
   10957   case $as_dir in #(
   10958   -*) as_dir=./$as_dir;;
   10959   esac
   10960   test -d "$as_dir" || eval $as_mkdir_p || {
   10961     as_dirs=
   10962     while :; do
   10963       case $as_dir in #(
   10964       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   10965       *) as_qdir=$as_dir;;
   10966       esac
   10967       as_dirs="'$as_qdir' $as_dirs"
   10968       as_dir=`$as_dirname -- "$as_dir" ||
   10969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10970 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10971 	 X"$as_dir" : 'X\(//\)$' \| \
   10972 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   10973 $as_echo X"$as_dir" |
   10974     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10975 	    s//\1/
   10976 	    q
   10977 	  }
   10978 	  /^X\(\/\/\)[^/].*/{
   10979 	    s//\1/
   10980 	    q
   10981 	  }
   10982 	  /^X\(\/\/\)$/{
   10983 	    s//\1/
   10984 	    q
   10985 	  }
   10986 	  /^X\(\/\).*/{
   10987 	    s//\1/
   10988 	    q
   10989 	  }
   10990 	  s/.*/./; q'`
   10991       test -d "$as_dir" && break
   10992     done
   10993     test -z "$as_dirs" || eval "mkdir $as_dirs"
   10994   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   10995 
   10996 
   10997 } # as_fn_mkdir_p
   10998 if mkdir -p . 2>/dev/null; then
   10999   as_mkdir_p='mkdir -p "$as_dir"'
   11000 else
   11001   test -d ./-p && rmdir ./-p
   11002   as_mkdir_p=false
   11003 fi
   11004 
   11005 if test -x / >/dev/null 2>&1; then
   11006   as_test_x='test -x'
   11007 else
   11008   if ls -dL / >/dev/null 2>&1; then
   11009     as_ls_L_option=L
   11010   else
   11011     as_ls_L_option=
   11012   fi
   11013   as_test_x='
   11014     eval sh -c '\''
   11015       if test -d "$1"; then
   11016 	test -d "$1/.";
   11017       else
   11018 	case $1 in #(
   11019 	-*)set "./$1";;
   11020 	esac;
   11021 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11022 	???[sx]*):;;*)false;;esac;fi
   11023     '\'' sh
   11024   '
   11025 fi
   11026 as_executable_p=$as_test_x
   11027 
   11028 # Sed expression to map a string onto a valid CPP name.
   11029 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11030 
   11031 # Sed expression to map a string onto a valid variable name.
   11032 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11033 
   11034 
   11035 exec 6>&1
   11036 ## ----------------------------------- ##
   11037 ## Main body of $CONFIG_STATUS script. ##
   11038 ## ----------------------------------- ##
   11039 _ASEOF
   11040 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11041 
   11042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11043 # Save the log message, to keep $0 and so on meaningful, and to
   11044 # report actual input values of CONFIG_FILES etc. instead of their
   11045 # values after options handling.
   11046 ac_log="
   11047 This file was extended by xrandr $as_me 1.4.0, which was
   11048 generated by GNU Autoconf 2.68.  Invocation command line was
   11049 
   11050   CONFIG_FILES    = $CONFIG_FILES
   11051   CONFIG_HEADERS  = $CONFIG_HEADERS
   11052   CONFIG_LINKS    = $CONFIG_LINKS
   11053   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11054   $ $0 $@
   11055 
   11056 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11057 "
   11058 
   11059 _ACEOF
   11060 
   11061 case $ac_config_files in *"
   11062 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11063 esac
   11064 
   11065 case $ac_config_headers in *"
   11066 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11067 esac
   11068 
   11069 
   11070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11071 # Files that config.status was made for.
   11072 config_files="$ac_config_files"
   11073 config_headers="$ac_config_headers"
   11074 config_commands="$ac_config_commands"
   11075 
   11076 _ACEOF
   11077 
   11078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11079 ac_cs_usage="\
   11080 \`$as_me' instantiates files and other configuration actions
   11081 from templates according to the current configuration.  Unless the files
   11082 and actions are specified as TAGs, all are instantiated by default.
   11083 
   11084 Usage: $0 [OPTION]... [TAG]...
   11085 
   11086   -h, --help       print this help, then exit
   11087   -V, --version    print version number and configuration settings, then exit
   11088       --config     print configuration, then exit
   11089   -q, --quiet, --silent
   11090                    do not print progress messages
   11091   -d, --debug      don't remove temporary files
   11092       --recheck    update $as_me by reconfiguring in the same conditions
   11093       --file=FILE[:TEMPLATE]
   11094                    instantiate the configuration file FILE
   11095       --header=FILE[:TEMPLATE]
   11096                    instantiate the configuration header FILE
   11097 
   11098 Configuration files:
   11099 $config_files
   11100 
   11101 Configuration headers:
   11102 $config_headers
   11103 
   11104 Configuration commands:
   11105 $config_commands
   11106 
   11107 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11108 
   11109 _ACEOF
   11110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11111 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11112 ac_cs_version="\\
   11113 xrandr config.status 1.4.0
   11114 configured by $0, generated by GNU Autoconf 2.68,
   11115   with options \\"\$ac_cs_config\\"
   11116 
   11117 Copyright (C) 2010 Free Software Foundation, Inc.
   11118 This config.status script is free software; the Free Software Foundation
   11119 gives unlimited permission to copy, distribute and modify it."
   11120 
   11121 ac_pwd='$ac_pwd'
   11122 srcdir='$srcdir'
   11123 INSTALL='$INSTALL'
   11124 MKDIR_P='$MKDIR_P'
   11125 AWK='$AWK'
   11126 test -n "\$AWK" || AWK=awk
   11127 _ACEOF
   11128 
   11129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11130 # The default lists apply if the user does not specify any file.
   11131 ac_need_defaults=:
   11132 while test $# != 0
   11133 do
   11134   case $1 in
   11135   --*=?*)
   11136     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11137     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11138     ac_shift=:
   11139     ;;
   11140   --*=)
   11141     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11142     ac_optarg=
   11143     ac_shift=:
   11144     ;;
   11145   *)
   11146     ac_option=$1
   11147     ac_optarg=$2
   11148     ac_shift=shift
   11149     ;;
   11150   esac
   11151 
   11152   case $ac_option in
   11153   # Handling of the options.
   11154   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11155     ac_cs_recheck=: ;;
   11156   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11157     $as_echo "$ac_cs_version"; exit ;;
   11158   --config | --confi | --conf | --con | --co | --c )
   11159     $as_echo "$ac_cs_config"; exit ;;
   11160   --debug | --debu | --deb | --de | --d | -d )
   11161     debug=: ;;
   11162   --file | --fil | --fi | --f )
   11163     $ac_shift
   11164     case $ac_optarg in
   11165     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11166     '') as_fn_error $? "missing file argument" ;;
   11167     esac
   11168     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11169     ac_need_defaults=false;;
   11170   --header | --heade | --head | --hea )
   11171     $ac_shift
   11172     case $ac_optarg in
   11173     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11174     esac
   11175     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11176     ac_need_defaults=false;;
   11177   --he | --h)
   11178     # Conflict between --help and --header
   11179     as_fn_error $? "ambiguous option: \`$1'
   11180 Try \`$0 --help' for more information.";;
   11181   --help | --hel | -h )
   11182     $as_echo "$ac_cs_usage"; exit ;;
   11183   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11184   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11185     ac_cs_silent=: ;;
   11186 
   11187   # This is an error.
   11188   -*) as_fn_error $? "unrecognized option: \`$1'
   11189 Try \`$0 --help' for more information." ;;
   11190 
   11191   *) as_fn_append ac_config_targets " $1"
   11192      ac_need_defaults=false ;;
   11193 
   11194   esac
   11195   shift
   11196 done
   11197 
   11198 ac_configure_extra_args=
   11199 
   11200 if $ac_cs_silent; then
   11201   exec 6>/dev/null
   11202   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11203 fi
   11204 
   11205 _ACEOF
   11206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11207 if \$ac_cs_recheck; then
   11208   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11209   shift
   11210   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11211   CONFIG_SHELL='$SHELL'
   11212   export CONFIG_SHELL
   11213   exec "\$@"
   11214 fi
   11215 
   11216 _ACEOF
   11217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11218 exec 5>>config.log
   11219 {
   11220   echo
   11221   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11222 ## Running $as_me. ##
   11223 _ASBOX
   11224   $as_echo "$ac_log"
   11225 } >&5
   11226 
   11227 _ACEOF
   11228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11229 #
   11230 # INIT-COMMANDS
   11231 #
   11232 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11233 
   11234 _ACEOF
   11235 
   11236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11237 
   11238 # Handling of arguments.
   11239 for ac_config_target in $ac_config_targets
   11240 do
   11241   case $ac_config_target in
   11242     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11243     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11244     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11245     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11246 
   11247   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11248   esac
   11249 done
   11250 
   11251 
   11252 # If the user did not use the arguments to specify the items to instantiate,
   11253 # then the envvar interface is used.  Set only those that are not.
   11254 # We use the long form for the default assignment because of an extremely
   11255 # bizarre bug on SunOS 4.1.3.
   11256 if $ac_need_defaults; then
   11257   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11258   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11259   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11260 fi
   11261 
   11262 # Have a temporary directory for convenience.  Make it in the build tree
   11263 # simply because there is no reason against having it here, and in addition,
   11264 # creating and moving files from /tmp can sometimes cause problems.
   11265 # Hook for its removal unless debugging.
   11266 # Note that there is a small window in which the directory will not be cleaned:
   11267 # after its creation but before its name has been assigned to `$tmp'.
   11268 $debug ||
   11269 {
   11270   tmp= ac_tmp=
   11271   trap 'exit_status=$?
   11272   : "${ac_tmp:=$tmp}"
   11273   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11274 ' 0
   11275   trap 'as_fn_exit 1' 1 2 13 15
   11276 }
   11277 # Create a (secure) tmp directory for tmp files.
   11278 
   11279 {
   11280   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11281   test -d "$tmp"
   11282 }  ||
   11283 {
   11284   tmp=./conf$$-$RANDOM
   11285   (umask 077 && mkdir "$tmp")
   11286 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11287 ac_tmp=$tmp
   11288 
   11289 # Set up the scripts for CONFIG_FILES section.
   11290 # No need to generate them if there are no CONFIG_FILES.
   11291 # This happens for instance with `./config.status config.h'.
   11292 if test -n "$CONFIG_FILES"; then
   11293 
   11294 
   11295 ac_cr=`echo X | tr X '\015'`
   11296 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11297 # But we know of no other shell where ac_cr would be empty at this
   11298 # point, so we can use a bashism as a fallback.
   11299 if test "x$ac_cr" = x; then
   11300   eval ac_cr=\$\'\\r\'
   11301 fi
   11302 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11303 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11304   ac_cs_awk_cr='\\r'
   11305 else
   11306   ac_cs_awk_cr=$ac_cr
   11307 fi
   11308 
   11309 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11310 _ACEOF
   11311 
   11312 
   11313 {
   11314   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11315   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11316   echo "_ACEOF"
   11317 } >conf$$subs.sh ||
   11318   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11319 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11320 ac_delim='%!_!# '
   11321 for ac_last_try in false false false false false :; do
   11322   . ./conf$$subs.sh ||
   11323     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11324 
   11325   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11326   if test $ac_delim_n = $ac_delim_num; then
   11327     break
   11328   elif $ac_last_try; then
   11329     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11330   else
   11331     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11332   fi
   11333 done
   11334 rm -f conf$$subs.sh
   11335 
   11336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11337 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11338 _ACEOF
   11339 sed -n '
   11340 h
   11341 s/^/S["/; s/!.*/"]=/
   11342 p
   11343 g
   11344 s/^[^!]*!//
   11345 :repl
   11346 t repl
   11347 s/'"$ac_delim"'$//
   11348 t delim
   11349 :nl
   11350 h
   11351 s/\(.\{148\}\)..*/\1/
   11352 t more1
   11353 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11354 p
   11355 n
   11356 b repl
   11357 :more1
   11358 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11359 p
   11360 g
   11361 s/.\{148\}//
   11362 t nl
   11363 :delim
   11364 h
   11365 s/\(.\{148\}\)..*/\1/
   11366 t more2
   11367 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11368 p
   11369 b
   11370 :more2
   11371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11372 p
   11373 g
   11374 s/.\{148\}//
   11375 t delim
   11376 ' <conf$$subs.awk | sed '
   11377 /^[^""]/{
   11378   N
   11379   s/\n//
   11380 }
   11381 ' >>$CONFIG_STATUS || ac_write_fail=1
   11382 rm -f conf$$subs.awk
   11383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11384 _ACAWK
   11385 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11386   for (key in S) S_is_set[key] = 1
   11387   FS = ""
   11388 
   11389 }
   11390 {
   11391   line = $ 0
   11392   nfields = split(line, field, "@")
   11393   substed = 0
   11394   len = length(field[1])
   11395   for (i = 2; i < nfields; i++) {
   11396     key = field[i]
   11397     keylen = length(key)
   11398     if (S_is_set[key]) {
   11399       value = S[key]
   11400       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11401       len += length(value) + length(field[++i])
   11402       substed = 1
   11403     } else
   11404       len += 1 + keylen
   11405   }
   11406 
   11407   print line
   11408 }
   11409 
   11410 _ACAWK
   11411 _ACEOF
   11412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11413 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11414   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11415 else
   11416   cat
   11417 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11418   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11419 _ACEOF
   11420 
   11421 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11422 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11423 # trailing colons and then remove the whole line if VPATH becomes empty
   11424 # (actually we leave an empty line to preserve line numbers).
   11425 if test "x$srcdir" = x.; then
   11426   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11427 h
   11428 s///
   11429 s/^/:/
   11430 s/[	 ]*$/:/
   11431 s/:\$(srcdir):/:/g
   11432 s/:\${srcdir}:/:/g
   11433 s/:@srcdir@:/:/g
   11434 s/^:*//
   11435 s/:*$//
   11436 x
   11437 s/\(=[	 ]*\).*/\1/
   11438 G
   11439 s/\n//
   11440 s/^[^=]*=[	 ]*$//
   11441 }'
   11442 fi
   11443 
   11444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11445 fi # test -n "$CONFIG_FILES"
   11446 
   11447 # Set up the scripts for CONFIG_HEADERS section.
   11448 # No need to generate them if there are no CONFIG_HEADERS.
   11449 # This happens for instance with `./config.status Makefile'.
   11450 if test -n "$CONFIG_HEADERS"; then
   11451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11452 BEGIN {
   11453 _ACEOF
   11454 
   11455 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11456 # here-document in config.status, that substitutes the proper values into
   11457 # config.h.in to produce config.h.
   11458 
   11459 # Create a delimiter string that does not exist in confdefs.h, to ease
   11460 # handling of long lines.
   11461 ac_delim='%!_!# '
   11462 for ac_last_try in false false :; do
   11463   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11464   if test -z "$ac_tt"; then
   11465     break
   11466   elif $ac_last_try; then
   11467     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11468   else
   11469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11470   fi
   11471 done
   11472 
   11473 # For the awk script, D is an array of macro values keyed by name,
   11474 # likewise P contains macro parameters if any.  Preserve backslash
   11475 # newline sequences.
   11476 
   11477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11478 sed -n '
   11479 s/.\{148\}/&'"$ac_delim"'/g
   11480 t rset
   11481 :rset
   11482 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11483 t def
   11484 d
   11485 :def
   11486 s/\\$//
   11487 t bsnl
   11488 s/["\\]/\\&/g
   11489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11490 D["\1"]=" \3"/p
   11491 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11492 d
   11493 :bsnl
   11494 s/["\\]/\\&/g
   11495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11496 D["\1"]=" \3\\\\\\n"\\/p
   11497 t cont
   11498 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11499 t cont
   11500 d
   11501 :cont
   11502 n
   11503 s/.\{148\}/&'"$ac_delim"'/g
   11504 t clear
   11505 :clear
   11506 s/\\$//
   11507 t bsnlc
   11508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11509 d
   11510 :bsnlc
   11511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11512 b cont
   11513 ' <confdefs.h | sed '
   11514 s/'"$ac_delim"'/"\\\
   11515 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11516 
   11517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11518   for (key in D) D_is_set[key] = 1
   11519   FS = ""
   11520 }
   11521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11522   line = \$ 0
   11523   split(line, arg, " ")
   11524   if (arg[1] == "#") {
   11525     defundef = arg[2]
   11526     mac1 = arg[3]
   11527   } else {
   11528     defundef = substr(arg[1], 2)
   11529     mac1 = arg[2]
   11530   }
   11531   split(mac1, mac2, "(") #)
   11532   macro = mac2[1]
   11533   prefix = substr(line, 1, index(line, defundef) - 1)
   11534   if (D_is_set[macro]) {
   11535     # Preserve the white space surrounding the "#".
   11536     print prefix "define", macro P[macro] D[macro]
   11537     next
   11538   } else {
   11539     # Replace #undef with comments.  This is necessary, for example,
   11540     # in the case of _POSIX_SOURCE, which is predefined and required
   11541     # on some systems where configure will not decide to define it.
   11542     if (defundef == "undef") {
   11543       print "/*", prefix defundef, macro, "*/"
   11544       next
   11545     }
   11546   }
   11547 }
   11548 { print }
   11549 _ACAWK
   11550 _ACEOF
   11551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11552   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11553 fi # test -n "$CONFIG_HEADERS"
   11554 
   11555 
   11556 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11557 shift
   11558 for ac_tag
   11559 do
   11560   case $ac_tag in
   11561   :[FHLC]) ac_mode=$ac_tag; continue;;
   11562   esac
   11563   case $ac_mode$ac_tag in
   11564   :[FHL]*:*);;
   11565   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11566   :[FH]-) ac_tag=-:-;;
   11567   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11568   esac
   11569   ac_save_IFS=$IFS
   11570   IFS=:
   11571   set x $ac_tag
   11572   IFS=$ac_save_IFS
   11573   shift
   11574   ac_file=$1
   11575   shift
   11576 
   11577   case $ac_mode in
   11578   :L) ac_source=$1;;
   11579   :[FH])
   11580     ac_file_inputs=
   11581     for ac_f
   11582     do
   11583       case $ac_f in
   11584       -) ac_f="$ac_tmp/stdin";;
   11585       *) # Look for the file first in the build tree, then in the source tree
   11586 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11587 	 # because $ac_f cannot contain `:'.
   11588 	 test -f "$ac_f" ||
   11589 	   case $ac_f in
   11590 	   [\\/$]*) false;;
   11591 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11592 	   esac ||
   11593 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11594       esac
   11595       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11596       as_fn_append ac_file_inputs " '$ac_f'"
   11597     done
   11598 
   11599     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11600     # use $as_me), people would be surprised to read:
   11601     #    /* config.h.  Generated by config.status.  */
   11602     configure_input='Generated from '`
   11603 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11604 	`' by configure.'
   11605     if test x"$ac_file" != x-; then
   11606       configure_input="$ac_file.  $configure_input"
   11607       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11608 $as_echo "$as_me: creating $ac_file" >&6;}
   11609     fi
   11610     # Neutralize special characters interpreted by sed in replacement strings.
   11611     case $configure_input in #(
   11612     *\&* | *\|* | *\\* )
   11613        ac_sed_conf_input=`$as_echo "$configure_input" |
   11614        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11615     *) ac_sed_conf_input=$configure_input;;
   11616     esac
   11617 
   11618     case $ac_tag in
   11619     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11620       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11621     esac
   11622     ;;
   11623   esac
   11624 
   11625   ac_dir=`$as_dirname -- "$ac_file" ||
   11626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11627 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11628 	 X"$ac_file" : 'X\(//\)$' \| \
   11629 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11630 $as_echo X"$ac_file" |
   11631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11632 	    s//\1/
   11633 	    q
   11634 	  }
   11635 	  /^X\(\/\/\)[^/].*/{
   11636 	    s//\1/
   11637 	    q
   11638 	  }
   11639 	  /^X\(\/\/\)$/{
   11640 	    s//\1/
   11641 	    q
   11642 	  }
   11643 	  /^X\(\/\).*/{
   11644 	    s//\1/
   11645 	    q
   11646 	  }
   11647 	  s/.*/./; q'`
   11648   as_dir="$ac_dir"; as_fn_mkdir_p
   11649   ac_builddir=.
   11650 
   11651 case "$ac_dir" in
   11652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11653 *)
   11654   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11655   # A ".." for each directory in $ac_dir_suffix.
   11656   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11657   case $ac_top_builddir_sub in
   11658   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11659   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11660   esac ;;
   11661 esac
   11662 ac_abs_top_builddir=$ac_pwd
   11663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11664 # for backward compatibility:
   11665 ac_top_builddir=$ac_top_build_prefix
   11666 
   11667 case $srcdir in
   11668   .)  # We are building in place.
   11669     ac_srcdir=.
   11670     ac_top_srcdir=$ac_top_builddir_sub
   11671     ac_abs_top_srcdir=$ac_pwd ;;
   11672   [\\/]* | ?:[\\/]* )  # Absolute name.
   11673     ac_srcdir=$srcdir$ac_dir_suffix;
   11674     ac_top_srcdir=$srcdir
   11675     ac_abs_top_srcdir=$srcdir ;;
   11676   *) # Relative name.
   11677     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11678     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11679     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11680 esac
   11681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11682 
   11683 
   11684   case $ac_mode in
   11685   :F)
   11686   #
   11687   # CONFIG_FILE
   11688   #
   11689 
   11690   case $INSTALL in
   11691   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11692   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11693   esac
   11694   ac_MKDIR_P=$MKDIR_P
   11695   case $MKDIR_P in
   11696   [\\/$]* | ?:[\\/]* ) ;;
   11697   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11698   esac
   11699 _ACEOF
   11700 
   11701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11702 # If the template does not know about datarootdir, expand it.
   11703 # FIXME: This hack should be removed a few years after 2.60.
   11704 ac_datarootdir_hack=; ac_datarootdir_seen=
   11705 ac_sed_dataroot='
   11706 /datarootdir/ {
   11707   p
   11708   q
   11709 }
   11710 /@datadir@/p
   11711 /@docdir@/p
   11712 /@infodir@/p
   11713 /@localedir@/p
   11714 /@mandir@/p'
   11715 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11716 *datarootdir*) ac_datarootdir_seen=yes;;
   11717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11718   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11719 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11720 _ACEOF
   11721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11722   ac_datarootdir_hack='
   11723   s&@datadir@&$datadir&g
   11724   s&@docdir@&$docdir&g
   11725   s&@infodir@&$infodir&g
   11726   s&@localedir@&$localedir&g
   11727   s&@mandir@&$mandir&g
   11728   s&\\\${datarootdir}&$datarootdir&g' ;;
   11729 esac
   11730 _ACEOF
   11731 
   11732 # Neutralize VPATH when `$srcdir' = `.'.
   11733 # Shell code in configure.ac might set extrasub.
   11734 # FIXME: do we really want to maintain this feature?
   11735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11736 ac_sed_extra="$ac_vpsub
   11737 $extrasub
   11738 _ACEOF
   11739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11740 :t
   11741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11742 s|@configure_input@|$ac_sed_conf_input|;t t
   11743 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11744 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11745 s&@srcdir@&$ac_srcdir&;t t
   11746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11747 s&@top_srcdir@&$ac_top_srcdir&;t t
   11748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11749 s&@builddir@&$ac_builddir&;t t
   11750 s&@abs_builddir@&$ac_abs_builddir&;t t
   11751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11752 s&@INSTALL@&$ac_INSTALL&;t t
   11753 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11754 $ac_datarootdir_hack
   11755 "
   11756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11757   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11758 
   11759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11760   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11761   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11762       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11764 which seems to be undefined.  Please make sure it is defined" >&5
   11765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11766 which seems to be undefined.  Please make sure it is defined" >&2;}
   11767 
   11768   rm -f "$ac_tmp/stdin"
   11769   case $ac_file in
   11770   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11771   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11772   esac \
   11773   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11774  ;;
   11775   :H)
   11776   #
   11777   # CONFIG_HEADER
   11778   #
   11779   if test x"$ac_file" != x-; then
   11780     {
   11781       $as_echo "/* $configure_input  */" \
   11782       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11783     } >"$ac_tmp/config.h" \
   11784       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11785     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11786       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11787 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11788     else
   11789       rm -f "$ac_file"
   11790       mv "$ac_tmp/config.h" "$ac_file" \
   11791 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11792     fi
   11793   else
   11794     $as_echo "/* $configure_input  */" \
   11795       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11796       || as_fn_error $? "could not create -" "$LINENO" 5
   11797   fi
   11798 # Compute "$ac_file"'s index in $config_headers.
   11799 _am_arg="$ac_file"
   11800 _am_stamp_count=1
   11801 for _am_header in $config_headers :; do
   11802   case $_am_header in
   11803     $_am_arg | $_am_arg:* )
   11804       break ;;
   11805     * )
   11806       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11807   esac
   11808 done
   11809 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11810 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11811 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11812 	 X"$_am_arg" : 'X\(//\)$' \| \
   11813 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11814 $as_echo X"$_am_arg" |
   11815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11816 	    s//\1/
   11817 	    q
   11818 	  }
   11819 	  /^X\(\/\/\)[^/].*/{
   11820 	    s//\1/
   11821 	    q
   11822 	  }
   11823 	  /^X\(\/\/\)$/{
   11824 	    s//\1/
   11825 	    q
   11826 	  }
   11827 	  /^X\(\/\).*/{
   11828 	    s//\1/
   11829 	    q
   11830 	  }
   11831 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11832  ;;
   11833 
   11834   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11835 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11836  ;;
   11837   esac
   11838 
   11839 
   11840   case $ac_file$ac_mode in
   11841     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11842   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11843   # are listed without --file.  Let's play safe and only enable the eval
   11844   # if we detect the quoting.
   11845   case $CONFIG_FILES in
   11846   *\'*) eval set x "$CONFIG_FILES" ;;
   11847   *)   set x $CONFIG_FILES ;;
   11848   esac
   11849   shift
   11850   for mf
   11851   do
   11852     # Strip MF so we end up with the name of the file.
   11853     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11854     # Check whether this is an Automake generated Makefile or not.
   11855     # We used to match only the files named `Makefile.in', but
   11856     # some people rename them; so instead we look at the file content.
   11857     # Grep'ing the first line is not enough: some people post-process
   11858     # each Makefile.in and add a new line on top of each file to say so.
   11859     # Grep'ing the whole file is not good either: AIX grep has a line
   11860     # limit of 2048, but all sed's we know have understand at least 4000.
   11861     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11862       dirpart=`$as_dirname -- "$mf" ||
   11863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11864 	 X"$mf" : 'X\(//\)[^/]' \| \
   11865 	 X"$mf" : 'X\(//\)$' \| \
   11866 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11867 $as_echo X"$mf" |
   11868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11869 	    s//\1/
   11870 	    q
   11871 	  }
   11872 	  /^X\(\/\/\)[^/].*/{
   11873 	    s//\1/
   11874 	    q
   11875 	  }
   11876 	  /^X\(\/\/\)$/{
   11877 	    s//\1/
   11878 	    q
   11879 	  }
   11880 	  /^X\(\/\).*/{
   11881 	    s//\1/
   11882 	    q
   11883 	  }
   11884 	  s/.*/./; q'`
   11885     else
   11886       continue
   11887     fi
   11888     # Extract the definition of DEPDIR, am__include, and am__quote
   11889     # from the Makefile without running `make'.
   11890     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11891     test -z "$DEPDIR" && continue
   11892     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11893     test -z "am__include" && continue
   11894     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11895     # When using ansi2knr, U may be empty or an underscore; expand it
   11896     U=`sed -n 's/^U = //p' < "$mf"`
   11897     # Find all dependency output files, they are included files with
   11898     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11899     # simplest approach to changing $(DEPDIR) to its actual value in the
   11900     # expansion.
   11901     for file in `sed -n "
   11902       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11903 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11904       # Make sure the directory exists.
   11905       test -f "$dirpart/$file" && continue
   11906       fdir=`$as_dirname -- "$file" ||
   11907 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11908 	 X"$file" : 'X\(//\)[^/]' \| \
   11909 	 X"$file" : 'X\(//\)$' \| \
   11910 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11911 $as_echo X"$file" |
   11912     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11913 	    s//\1/
   11914 	    q
   11915 	  }
   11916 	  /^X\(\/\/\)[^/].*/{
   11917 	    s//\1/
   11918 	    q
   11919 	  }
   11920 	  /^X\(\/\/\)$/{
   11921 	    s//\1/
   11922 	    q
   11923 	  }
   11924 	  /^X\(\/\).*/{
   11925 	    s//\1/
   11926 	    q
   11927 	  }
   11928 	  s/.*/./; q'`
   11929       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11930       # echo "creating $dirpart/$file"
   11931       echo '# dummy' > "$dirpart/$file"
   11932     done
   11933   done
   11934 }
   11935  ;;
   11936 
   11937   esac
   11938 done # for ac_tag
   11939 
   11940 
   11941 as_fn_exit 0
   11942 _ACEOF
   11943 ac_clean_files=$ac_clean_files_save
   11944 
   11945 test $ac_write_fail = 0 ||
   11946   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11947 
   11948 
   11949 # configure is writing to config.log, and then calls config.status.
   11950 # config.status does its own redirection, appending to config.log.
   11951 # Unfortunately, on DOS this fails, as config.log is still kept open
   11952 # by configure, so config.status won't be able to write to it; its
   11953 # output is simply discarded.  So we exec the FD to /dev/null,
   11954 # effectively closing config.log, so it can be properly (re)opened and
   11955 # appended to by config.status.  When coming back to configure, we
   11956 # need to make the FD available again.
   11957 if test "$no_create" != yes; then
   11958   ac_cs_success=:
   11959   ac_config_status_args=
   11960   test "$silent" = yes &&
   11961     ac_config_status_args="$ac_config_status_args --quiet"
   11962   exec 5>/dev/null
   11963   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11964   exec 5>>config.log
   11965   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11966   # would make configure fail if this is the last instruction.
   11967   $ac_cs_success || as_fn_exit 1
   11968 fi
   11969 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11970   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11971 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11972 fi
   11973 
   11974