Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xrandr 1.4.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xrandr'
    583 PACKAGE_TARNAME='xrandr'
    584 PACKAGE_VERSION='1.4.2'
    585 PACKAGE_STRING='xrandr 1.4.2'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XRANDR_LIBS
    631 XRANDR_CFLAGS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG_LIBDIR
    657 PKG_CONFIG_PATH
    658 PKG_CONFIG
    659 CHANGELOG_CMD
    660 STRICT_CFLAGS
    661 CWARNFLAGS
    662 BASE_CFLAGS
    663 EGREP
    664 GREP
    665 CPP
    666 am__fastdepCC_FALSE
    667 am__fastdepCC_TRUE
    668 CCDEPMODE
    669 am__nodep
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 AM_BACKSLASH
    684 AM_DEFAULT_VERBOSITY
    685 AM_DEFAULT_V
    686 AM_V
    687 am__untar
    688 am__tar
    689 AMTAR
    690 am__leading_dot
    691 SET_MAKE
    692 AWK
    693 mkdir_p
    694 MKDIR_P
    695 INSTALL_STRIP_PROGRAM
    696 STRIP
    697 install_sh
    698 MAKEINFO
    699 AUTOHEADER
    700 AUTOMAKE
    701 AUTOCONF
    702 ACLOCAL
    703 VERSION
    704 PACKAGE
    705 CYGPATH_W
    706 am__isrc
    707 INSTALL_DATA
    708 INSTALL_SCRIPT
    709 INSTALL_PROGRAM
    710 target_alias
    711 host_alias
    712 build_alias
    713 LIBS
    714 ECHO_T
    715 ECHO_N
    716 ECHO_C
    717 DEFS
    718 mandir
    719 localedir
    720 libdir
    721 psdir
    722 pdfdir
    723 dvidir
    724 htmldir
    725 infodir
    726 docdir
    727 oldincludedir
    728 includedir
    729 localstatedir
    730 sharedstatedir
    731 sysconfdir
    732 datadir
    733 datarootdir
    734 libexecdir
    735 sbindir
    736 bindir
    737 program_transform_name
    738 prefix
    739 exec_prefix
    740 PACKAGE_URL
    741 PACKAGE_BUGREPORT
    742 PACKAGE_STRING
    743 PACKAGE_VERSION
    744 PACKAGE_TARNAME
    745 PACKAGE_NAME
    746 PATH_SEPARATOR
    747 SHELL'
    748 ac_subst_files=''
    749 ac_user_opts='
    750 enable_option_checking
    751 enable_silent_rules
    752 enable_dependency_tracking
    753 enable_selective_werror
    754 enable_strict_compilation
    755 '
    756       ac_precious_vars='build_alias
    757 host_alias
    758 target_alias
    759 CC
    760 CFLAGS
    761 LDFLAGS
    762 LIBS
    763 CPPFLAGS
    764 CPP
    765 PKG_CONFIG
    766 PKG_CONFIG_PATH
    767 PKG_CONFIG_LIBDIR
    768 XRANDR_CFLAGS
    769 XRANDR_LIBS'
    770 
    771 
    772 # Initialize some variables set by options.
    773 ac_init_help=
    774 ac_init_version=false
    775 ac_unrecognized_opts=
    776 ac_unrecognized_sep=
    777 # The variables have the same names as the options, with
    778 # dashes changed to underlines.
    779 cache_file=/dev/null
    780 exec_prefix=NONE
    781 no_create=
    782 no_recursion=
    783 prefix=NONE
    784 program_prefix=NONE
    785 program_suffix=NONE
    786 program_transform_name=s,x,x,
    787 silent=
    788 site=
    789 srcdir=
    790 verbose=
    791 x_includes=NONE
    792 x_libraries=NONE
    793 
    794 # Installation directory options.
    795 # These are left unexpanded so users can "make install exec_prefix=/foo"
    796 # and all the variables that are supposed to be based on exec_prefix
    797 # by default will actually change.
    798 # Use braces instead of parens because sh, perl, etc. also accept them.
    799 # (The list follows the same order as the GNU Coding Standards.)
    800 bindir='${exec_prefix}/bin'
    801 sbindir='${exec_prefix}/sbin'
    802 libexecdir='${exec_prefix}/libexec'
    803 datarootdir='${prefix}/share'
    804 datadir='${datarootdir}'
    805 sysconfdir='${prefix}/etc'
    806 sharedstatedir='${prefix}/com'
    807 localstatedir='${prefix}/var'
    808 includedir='${prefix}/include'
    809 oldincludedir='/usr/include'
    810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    811 infodir='${datarootdir}/info'
    812 htmldir='${docdir}'
    813 dvidir='${docdir}'
    814 pdfdir='${docdir}'
    815 psdir='${docdir}'
    816 libdir='${exec_prefix}/lib'
    817 localedir='${datarootdir}/locale'
    818 mandir='${datarootdir}/man'
    819 
    820 ac_prev=
    821 ac_dashdash=
    822 for ac_option
    823 do
    824   # If the previous option needs an argument, assign it.
    825   if test -n "$ac_prev"; then
    826     eval $ac_prev=\$ac_option
    827     ac_prev=
    828     continue
    829   fi
    830 
    831   case $ac_option in
    832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    833   *=)   ac_optarg= ;;
    834   *)    ac_optarg=yes ;;
    835   esac
    836 
    837   # Accept the important Cygnus configure options, so we can diagnose typos.
    838 
    839   case $ac_dashdash$ac_option in
    840   --)
    841     ac_dashdash=yes ;;
    842 
    843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    844     ac_prev=bindir ;;
    845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    846     bindir=$ac_optarg ;;
    847 
    848   -build | --build | --buil | --bui | --bu)
    849     ac_prev=build_alias ;;
    850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    851     build_alias=$ac_optarg ;;
    852 
    853   -cache-file | --cache-file | --cache-fil | --cache-fi \
    854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    855     ac_prev=cache_file ;;
    856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    858     cache_file=$ac_optarg ;;
    859 
    860   --config-cache | -C)
    861     cache_file=config.cache ;;
    862 
    863   -datadir | --datadir | --datadi | --datad)
    864     ac_prev=datadir ;;
    865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    866     datadir=$ac_optarg ;;
    867 
    868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    869   | --dataroo | --dataro | --datar)
    870     ac_prev=datarootdir ;;
    871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    873     datarootdir=$ac_optarg ;;
    874 
    875   -disable-* | --disable-*)
    876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877     # Reject names that are not valid shell variable names.
    878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    879       as_fn_error $? "invalid feature name: $ac_useropt"
    880     ac_useropt_orig=$ac_useropt
    881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    882     case $ac_user_opts in
    883       *"
    884 "enable_$ac_useropt"
    885 "*) ;;
    886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    887 	 ac_unrecognized_sep=', ';;
    888     esac
    889     eval enable_$ac_useropt=no ;;
    890 
    891   -docdir | --docdir | --docdi | --doc | --do)
    892     ac_prev=docdir ;;
    893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    894     docdir=$ac_optarg ;;
    895 
    896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    897     ac_prev=dvidir ;;
    898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    899     dvidir=$ac_optarg ;;
    900 
    901   -enable-* | --enable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=\$ac_optarg ;;
    916 
    917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    919   | --exec | --exe | --ex)
    920     ac_prev=exec_prefix ;;
    921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    923   | --exec=* | --exe=* | --ex=*)
    924     exec_prefix=$ac_optarg ;;
    925 
    926   -gas | --gas | --ga | --g)
    927     # Obsolete; use --with-gas.
    928     with_gas=yes ;;
    929 
    930   -help | --help | --hel | --he | -h)
    931     ac_init_help=long ;;
    932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    933     ac_init_help=recursive ;;
    934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    935     ac_init_help=short ;;
    936 
    937   -host | --host | --hos | --ho)
    938     ac_prev=host_alias ;;
    939   -host=* | --host=* | --hos=* | --ho=*)
    940     host_alias=$ac_optarg ;;
    941 
    942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    943     ac_prev=htmldir ;;
    944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    945   | --ht=*)
    946     htmldir=$ac_optarg ;;
    947 
    948   -includedir | --includedir | --includedi | --included | --include \
    949   | --includ | --inclu | --incl | --inc)
    950     ac_prev=includedir ;;
    951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    952   | --includ=* | --inclu=* | --incl=* | --inc=*)
    953     includedir=$ac_optarg ;;
    954 
    955   -infodir | --infodir | --infodi | --infod | --info | --inf)
    956     ac_prev=infodir ;;
    957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    958     infodir=$ac_optarg ;;
    959 
    960   -libdir | --libdir | --libdi | --libd)
    961     ac_prev=libdir ;;
    962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    963     libdir=$ac_optarg ;;
    964 
    965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    966   | --libexe | --libex | --libe)
    967     ac_prev=libexecdir ;;
    968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    969   | --libexe=* | --libex=* | --libe=*)
    970     libexecdir=$ac_optarg ;;
    971 
    972   -localedir | --localedir | --localedi | --localed | --locale)
    973     ac_prev=localedir ;;
    974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    975     localedir=$ac_optarg ;;
    976 
    977   -localstatedir | --localstatedir | --localstatedi | --localstated \
    978   | --localstate | --localstat | --localsta | --localst | --locals)
    979     ac_prev=localstatedir ;;
    980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    982     localstatedir=$ac_optarg ;;
    983 
    984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    985     ac_prev=mandir ;;
    986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    987     mandir=$ac_optarg ;;
    988 
    989   -nfp | --nfp | --nf)
    990     # Obsolete; use --without-fp.
    991     with_fp=no ;;
    992 
    993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    994   | --no-cr | --no-c | -n)
    995     no_create=yes ;;
    996 
    997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    999     no_recursion=yes ;;
   1000 
   1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1003   | --oldin | --oldi | --old | --ol | --o)
   1004     ac_prev=oldincludedir ;;
   1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1008     oldincludedir=$ac_optarg ;;
   1009 
   1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1011     ac_prev=prefix ;;
   1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1013     prefix=$ac_optarg ;;
   1014 
   1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1016   | --program-pre | --program-pr | --program-p)
   1017     ac_prev=program_prefix ;;
   1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1020     program_prefix=$ac_optarg ;;
   1021 
   1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1023   | --program-suf | --program-su | --program-s)
   1024     ac_prev=program_suffix ;;
   1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1027     program_suffix=$ac_optarg ;;
   1028 
   1029   -program-transform-name | --program-transform-name \
   1030   | --program-transform-nam | --program-transform-na \
   1031   | --program-transform-n | --program-transform- \
   1032   | --program-transform | --program-transfor \
   1033   | --program-transfo | --program-transf \
   1034   | --program-trans | --program-tran \
   1035   | --progr-tra | --program-tr | --program-t)
   1036     ac_prev=program_transform_name ;;
   1037   -program-transform-name=* | --program-transform-name=* \
   1038   | --program-transform-nam=* | --program-transform-na=* \
   1039   | --program-transform-n=* | --program-transform-=* \
   1040   | --program-transform=* | --program-transfor=* \
   1041   | --program-transfo=* | --program-transf=* \
   1042   | --program-trans=* | --program-tran=* \
   1043   | --progr-tra=* | --program-tr=* | --program-t=*)
   1044     program_transform_name=$ac_optarg ;;
   1045 
   1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1047     ac_prev=pdfdir ;;
   1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1049     pdfdir=$ac_optarg ;;
   1050 
   1051   -psdir | --psdir | --psdi | --psd | --ps)
   1052     ac_prev=psdir ;;
   1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1054     psdir=$ac_optarg ;;
   1055 
   1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1057   | -silent | --silent | --silen | --sile | --sil)
   1058     silent=yes ;;
   1059 
   1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1061     ac_prev=sbindir ;;
   1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1063   | --sbi=* | --sb=*)
   1064     sbindir=$ac_optarg ;;
   1065 
   1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1068   | --sharedst | --shareds | --shared | --share | --shar \
   1069   | --sha | --sh)
   1070     ac_prev=sharedstatedir ;;
   1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1074   | --sha=* | --sh=*)
   1075     sharedstatedir=$ac_optarg ;;
   1076 
   1077   -site | --site | --sit)
   1078     ac_prev=site ;;
   1079   -site=* | --site=* | --sit=*)
   1080     site=$ac_optarg ;;
   1081 
   1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1083     ac_prev=srcdir ;;
   1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1085     srcdir=$ac_optarg ;;
   1086 
   1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1088   | --syscon | --sysco | --sysc | --sys | --sy)
   1089     ac_prev=sysconfdir ;;
   1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1092     sysconfdir=$ac_optarg ;;
   1093 
   1094   -target | --target | --targe | --targ | --tar | --ta | --t)
   1095     ac_prev=target_alias ;;
   1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1097     target_alias=$ac_optarg ;;
   1098 
   1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1100     verbose=yes ;;
   1101 
   1102   -version | --version | --versio | --versi | --vers | -V)
   1103     ac_init_version=: ;;
   1104 
   1105   -with-* | --with-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -without-* | --without-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=no ;;
   1136 
   1137   --x)
   1138     # Obsolete; use --with-x.
   1139     with_x=yes ;;
   1140 
   1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1142   | --x-incl | --x-inc | --x-in | --x-i)
   1143     ac_prev=x_includes ;;
   1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1146     x_includes=$ac_optarg ;;
   1147 
   1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1150     ac_prev=x_libraries ;;
   1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1153     x_libraries=$ac_optarg ;;
   1154 
   1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1156 Try \`$0 --help' for more information"
   1157     ;;
   1158 
   1159   *=*)
   1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1161     # Reject names that are not valid shell variable names.
   1162     case $ac_envvar in #(
   1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1165     esac
   1166     eval $ac_envvar=\$ac_optarg
   1167     export $ac_envvar ;;
   1168 
   1169   *)
   1170     # FIXME: should be removed in autoconf 3.0.
   1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1175     ;;
   1176 
   1177   esac
   1178 done
   1179 
   1180 if test -n "$ac_prev"; then
   1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1182   as_fn_error $? "missing argument to $ac_option"
   1183 fi
   1184 
   1185 if test -n "$ac_unrecognized_opts"; then
   1186   case $enable_option_checking in
   1187     no) ;;
   1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1190   esac
   1191 fi
   1192 
   1193 # Check all directory arguments for consistency.
   1194 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1195 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1196 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1197 		libdir localedir mandir
   1198 do
   1199   eval ac_val=\$$ac_var
   1200   # Remove trailing slashes.
   1201   case $ac_val in
   1202     */ )
   1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1204       eval $ac_var=\$ac_val;;
   1205   esac
   1206   # Be sure to have absolute directory names.
   1207   case $ac_val in
   1208     [\\/$]* | ?:[\\/]* )  continue;;
   1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1210   esac
   1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1212 done
   1213 
   1214 # There might be people who depend on the old broken behavior: `$host'
   1215 # used to hold the argument of --host etc.
   1216 # FIXME: To remove some day.
   1217 build=$build_alias
   1218 host=$host_alias
   1219 target=$target_alias
   1220 
   1221 # FIXME: To remove some day.
   1222 if test "x$host_alias" != x; then
   1223   if test "x$build_alias" = x; then
   1224     cross_compiling=maybe
   1225   elif test "x$build_alias" != "x$host_alias"; then
   1226     cross_compiling=yes
   1227   fi
   1228 fi
   1229 
   1230 ac_tool_prefix=
   1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1232 
   1233 test "$silent" = yes && exec 6>/dev/null
   1234 
   1235 
   1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1237 ac_ls_di=`ls -di .` &&
   1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1239   as_fn_error $? "working directory cannot be determined"
   1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1241   as_fn_error $? "pwd does not report name of working directory"
   1242 
   1243 
   1244 # Find the source files, if location was not specified.
   1245 if test -z "$srcdir"; then
   1246   ac_srcdir_defaulted=yes
   1247   # Try the directory containing this script, then the parent directory.
   1248   ac_confdir=`$as_dirname -- "$as_myself" ||
   1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1250 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1251 	 X"$as_myself" : 'X\(//\)$' \| \
   1252 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1253 $as_echo X"$as_myself" |
   1254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)[^/].*/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\).*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  s/.*/./; q'`
   1271   srcdir=$ac_confdir
   1272   if test ! -r "$srcdir/$ac_unique_file"; then
   1273     srcdir=..
   1274   fi
   1275 else
   1276   ac_srcdir_defaulted=no
   1277 fi
   1278 if test ! -r "$srcdir/$ac_unique_file"; then
   1279   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1280   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1281 fi
   1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1283 ac_abs_confdir=`(
   1284 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1285 	pwd)`
   1286 # When building in place, set srcdir=.
   1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1288   srcdir=.
   1289 fi
   1290 # Remove unnecessary trailing slashes from srcdir.
   1291 # Double slashes in file names in object file debugging info
   1292 # mess up M-x gdb in Emacs.
   1293 case $srcdir in
   1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1295 esac
   1296 for ac_var in $ac_precious_vars; do
   1297   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_env_${ac_var}_value=\$${ac_var}
   1299   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1301 done
   1302 
   1303 #
   1304 # Report the --help message.
   1305 #
   1306 if test "$ac_init_help" = "long"; then
   1307   # Omit some internal or obsolete options to make the list less imposing.
   1308   # This message is too long to be a string in the A/UX 3.1 sh.
   1309   cat <<_ACEOF
   1310 \`configure' configures xrandr 1.4.2 to adapt to many kinds of systems.
   1311 
   1312 Usage: $0 [OPTION]... [VAR=VALUE]...
   1313 
   1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1315 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1316 
   1317 Defaults for the options are specified in brackets.
   1318 
   1319 Configuration:
   1320   -h, --help              display this help and exit
   1321       --help=short        display options specific to this package
   1322       --help=recursive    display the short help of all the included packages
   1323   -V, --version           display version information and exit
   1324   -q, --quiet, --silent   do not print \`checking ...' messages
   1325       --cache-file=FILE   cache test results in FILE [disabled]
   1326   -C, --config-cache      alias for \`--cache-file=config.cache'
   1327   -n, --no-create         do not create output files
   1328       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1329 
   1330 Installation directories:
   1331   --prefix=PREFIX         install architecture-independent files in PREFIX
   1332                           [$ac_default_prefix]
   1333   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1334                           [PREFIX]
   1335 
   1336 By default, \`make install' will install all the files in
   1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1339 for instance \`--prefix=\$HOME'.
   1340 
   1341 For better control, use the options below.
   1342 
   1343 Fine tuning of the installation directories:
   1344   --bindir=DIR            user executables [EPREFIX/bin]
   1345   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1346   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1347   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1348   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1349   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1350   --libdir=DIR            object code libraries [EPREFIX/lib]
   1351   --includedir=DIR        C header files [PREFIX/include]
   1352   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1353   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1354   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1355   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1356   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1357   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1358   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrandr]
   1359   --htmldir=DIR           html documentation [DOCDIR]
   1360   --dvidir=DIR            dvi documentation [DOCDIR]
   1361   --pdfdir=DIR            pdf documentation [DOCDIR]
   1362   --psdir=DIR             ps documentation [DOCDIR]
   1363 _ACEOF
   1364 
   1365   cat <<\_ACEOF
   1366 
   1367 Program names:
   1368   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1369   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1370   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1371 
   1372 System types:
   1373   --build=BUILD     configure for building on BUILD [guessed]
   1374   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1375 _ACEOF
   1376 fi
   1377 
   1378 if test -n "$ac_init_help"; then
   1379   case $ac_init_help in
   1380      short | recursive ) echo "Configuration of xrandr 1.4.2:";;
   1381    esac
   1382   cat <<\_ACEOF
   1383 
   1384 Optional Features:
   1385   --disable-option-checking  ignore unrecognized --enable/--with options
   1386   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1387   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1388   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1389   --disable-silent-rules  verbose build output (undo: "make V=0")
   1390   --enable-dependency-tracking
   1391                           do not reject slow dependency extractors
   1392   --disable-dependency-tracking
   1393                           speeds up one-time build
   1394   --disable-selective-werror
   1395                           Turn off selective compiler errors. (default:
   1396                           enabled)
   1397   --enable-strict-compilation
   1398                           Enable all warnings from compiler and make them
   1399                           errors (default: disabled)
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   PKG_CONFIG_PATH
   1412               directories to add to pkg-config's search path
   1413   PKG_CONFIG_LIBDIR
   1414               path overriding pkg-config's built-in search path
   1415   XRANDR_CFLAGS
   1416               C compiler flags for XRANDR, overriding pkg-config
   1417   XRANDR_LIBS linker flags for XRANDR, overriding pkg-config
   1418 
   1419 Use these variables to override the choices made by `configure' or to help
   1420 it to find libraries and programs with nonstandard names/locations.
   1421 
   1422 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1423 _ACEOF
   1424 ac_status=$?
   1425 fi
   1426 
   1427 if test "$ac_init_help" = "recursive"; then
   1428   # If there are subdirs, report their specific --help.
   1429   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1430     test -d "$ac_dir" ||
   1431       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1432       continue
   1433     ac_builddir=.
   1434 
   1435 case "$ac_dir" in
   1436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1437 *)
   1438   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1439   # A ".." for each directory in $ac_dir_suffix.
   1440   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1441   case $ac_top_builddir_sub in
   1442   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1443   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1444   esac ;;
   1445 esac
   1446 ac_abs_top_builddir=$ac_pwd
   1447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1448 # for backward compatibility:
   1449 ac_top_builddir=$ac_top_build_prefix
   1450 
   1451 case $srcdir in
   1452   .)  # We are building in place.
   1453     ac_srcdir=.
   1454     ac_top_srcdir=$ac_top_builddir_sub
   1455     ac_abs_top_srcdir=$ac_pwd ;;
   1456   [\\/]* | ?:[\\/]* )  # Absolute name.
   1457     ac_srcdir=$srcdir$ac_dir_suffix;
   1458     ac_top_srcdir=$srcdir
   1459     ac_abs_top_srcdir=$srcdir ;;
   1460   *) # Relative name.
   1461     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1462     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1463     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1464 esac
   1465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1466 
   1467     cd "$ac_dir" || { ac_status=$?; continue; }
   1468     # Check for guested configure.
   1469     if test -f "$ac_srcdir/configure.gnu"; then
   1470       echo &&
   1471       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1472     elif test -f "$ac_srcdir/configure"; then
   1473       echo &&
   1474       $SHELL "$ac_srcdir/configure" --help=recursive
   1475     else
   1476       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1477     fi || ac_status=$?
   1478     cd "$ac_pwd" || { ac_status=$?; break; }
   1479   done
   1480 fi
   1481 
   1482 test -n "$ac_init_help" && exit $ac_status
   1483 if $ac_init_version; then
   1484   cat <<\_ACEOF
   1485 xrandr configure 1.4.2
   1486 generated by GNU Autoconf 2.69
   1487 
   1488 Copyright (C) 2012 Free Software Foundation, Inc.
   1489 This configure script is free software; the Free Software Foundation
   1490 gives unlimited permission to copy, distribute and modify it.
   1491 _ACEOF
   1492   exit
   1493 fi
   1494 
   1495 ## ------------------------ ##
   1496 ## Autoconf initialization. ##
   1497 ## ------------------------ ##
   1498 
   1499 # ac_fn_c_try_compile LINENO
   1500 # --------------------------
   1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1502 ac_fn_c_try_compile ()
   1503 {
   1504   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1505   rm -f conftest.$ac_objext
   1506   if { { ac_try="$ac_compile"
   1507 case "(($ac_try" in
   1508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1509   *) ac_try_echo=$ac_try;;
   1510 esac
   1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1512 $as_echo "$ac_try_echo"; } >&5
   1513   (eval "$ac_compile") 2>conftest.err
   1514   ac_status=$?
   1515   if test -s conftest.err; then
   1516     grep -v '^ *+' conftest.err >conftest.er1
   1517     cat conftest.er1 >&5
   1518     mv -f conftest.er1 conftest.err
   1519   fi
   1520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1521   test $ac_status = 0; } && {
   1522 	 test -z "$ac_c_werror_flag" ||
   1523 	 test ! -s conftest.err
   1524        } && test -s conftest.$ac_objext; then :
   1525   ac_retval=0
   1526 else
   1527   $as_echo "$as_me: failed program was:" >&5
   1528 sed 's/^/| /' conftest.$ac_ext >&5
   1529 
   1530 	ac_retval=1
   1531 fi
   1532   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1533   as_fn_set_status $ac_retval
   1534 
   1535 } # ac_fn_c_try_compile
   1536 
   1537 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1538 # ---------------------------------------------
   1539 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1540 # accordingly.
   1541 ac_fn_c_check_decl ()
   1542 {
   1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1544   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1545   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1547 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1548 if eval \${$3+:} false; then :
   1549   $as_echo_n "(cached) " >&6
   1550 else
   1551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1552 /* end confdefs.h.  */
   1553 $4
   1554 int
   1555 main ()
   1556 {
   1557 #ifndef $as_decl_name
   1558 #ifdef __cplusplus
   1559   (void) $as_decl_use;
   1560 #else
   1561   (void) $as_decl_name;
   1562 #endif
   1563 #endif
   1564 
   1565   ;
   1566   return 0;
   1567 }
   1568 _ACEOF
   1569 if ac_fn_c_try_compile "$LINENO"; then :
   1570   eval "$3=yes"
   1571 else
   1572   eval "$3=no"
   1573 fi
   1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1575 fi
   1576 eval ac_res=\$$3
   1577 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1578 $as_echo "$ac_res" >&6; }
   1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1580 
   1581 } # ac_fn_c_check_decl
   1582 
   1583 # ac_fn_c_try_cpp LINENO
   1584 # ----------------------
   1585 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1586 ac_fn_c_try_cpp ()
   1587 {
   1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1589   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1590 case "(($ac_try" in
   1591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1592   *) ac_try_echo=$ac_try;;
   1593 esac
   1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1595 $as_echo "$ac_try_echo"; } >&5
   1596   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1597   ac_status=$?
   1598   if test -s conftest.err; then
   1599     grep -v '^ *+' conftest.err >conftest.er1
   1600     cat conftest.er1 >&5
   1601     mv -f conftest.er1 conftest.err
   1602   fi
   1603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1604   test $ac_status = 0; } > conftest.i && {
   1605 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1606 	 test ! -s conftest.err
   1607        }; then :
   1608   ac_retval=0
   1609 else
   1610   $as_echo "$as_me: failed program was:" >&5
   1611 sed 's/^/| /' conftest.$ac_ext >&5
   1612 
   1613     ac_retval=1
   1614 fi
   1615   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1616   as_fn_set_status $ac_retval
   1617 
   1618 } # ac_fn_c_try_cpp
   1619 
   1620 # ac_fn_c_try_run LINENO
   1621 # ----------------------
   1622 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1623 # that executables *can* be run.
   1624 ac_fn_c_try_run ()
   1625 {
   1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1627   if { { ac_try="$ac_link"
   1628 case "(($ac_try" in
   1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1630   *) ac_try_echo=$ac_try;;
   1631 esac
   1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1633 $as_echo "$ac_try_echo"; } >&5
   1634   (eval "$ac_link") 2>&5
   1635   ac_status=$?
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1638   { { case "(($ac_try" in
   1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1640   *) ac_try_echo=$ac_try;;
   1641 esac
   1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1643 $as_echo "$ac_try_echo"; } >&5
   1644   (eval "$ac_try") 2>&5
   1645   ac_status=$?
   1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1647   test $ac_status = 0; }; }; then :
   1648   ac_retval=0
   1649 else
   1650   $as_echo "$as_me: program exited with status $ac_status" >&5
   1651        $as_echo "$as_me: failed program was:" >&5
   1652 sed 's/^/| /' conftest.$ac_ext >&5
   1653 
   1654        ac_retval=$ac_status
   1655 fi
   1656   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1658   as_fn_set_status $ac_retval
   1659 
   1660 } # ac_fn_c_try_run
   1661 
   1662 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1663 # -------------------------------------------------------
   1664 # Tests whether HEADER exists and can be compiled using the include files in
   1665 # INCLUDES, setting the cache variable VAR accordingly.
   1666 ac_fn_c_check_header_compile ()
   1667 {
   1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1670 $as_echo_n "checking for $2... " >&6; }
   1671 if eval \${$3+:} false; then :
   1672   $as_echo_n "(cached) " >&6
   1673 else
   1674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1675 /* end confdefs.h.  */
   1676 $4
   1677 #include <$2>
   1678 _ACEOF
   1679 if ac_fn_c_try_compile "$LINENO"; then :
   1680   eval "$3=yes"
   1681 else
   1682   eval "$3=no"
   1683 fi
   1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1685 fi
   1686 eval ac_res=\$$3
   1687 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1688 $as_echo "$ac_res" >&6; }
   1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1690 
   1691 } # ac_fn_c_check_header_compile
   1692 
   1693 # ac_fn_c_try_link LINENO
   1694 # -----------------------
   1695 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1696 ac_fn_c_try_link ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   rm -f conftest.$ac_objext conftest$ac_exeext
   1700   if { { ac_try="$ac_link"
   1701 case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_link") 2>conftest.err
   1708   ac_status=$?
   1709   if test -s conftest.err; then
   1710     grep -v '^ *+' conftest.err >conftest.er1
   1711     cat conftest.er1 >&5
   1712     mv -f conftest.er1 conftest.err
   1713   fi
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; } && {
   1716 	 test -z "$ac_c_werror_flag" ||
   1717 	 test ! -s conftest.err
   1718        } && test -s conftest$ac_exeext && {
   1719 	 test "$cross_compiling" = yes ||
   1720 	 test -x conftest$ac_exeext
   1721        }; then :
   1722   ac_retval=0
   1723 else
   1724   $as_echo "$as_me: failed program was:" >&5
   1725 sed 's/^/| /' conftest.$ac_ext >&5
   1726 
   1727 	ac_retval=1
   1728 fi
   1729   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1730   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1731   # interfere with the next link command; also delete a directory that is
   1732   # left behind by Apple's compiler.  We do this before executing the actions.
   1733   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1735   as_fn_set_status $ac_retval
   1736 
   1737 } # ac_fn_c_try_link
   1738 cat >config.log <<_ACEOF
   1739 This file contains any messages produced by compilers while
   1740 running configure, to aid debugging if configure makes a mistake.
   1741 
   1742 It was created by xrandr $as_me 1.4.2, which was
   1743 generated by GNU Autoconf 2.69.  Invocation command line was
   1744 
   1745   $ $0 $@
   1746 
   1747 _ACEOF
   1748 exec 5>>config.log
   1749 {
   1750 cat <<_ASUNAME
   1751 ## --------- ##
   1752 ## Platform. ##
   1753 ## --------- ##
   1754 
   1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1760 
   1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1762 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1763 
   1764 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1765 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1767 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1768 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1769 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1770 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1771 
   1772 _ASUNAME
   1773 
   1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1775 for as_dir in $PATH
   1776 do
   1777   IFS=$as_save_IFS
   1778   test -z "$as_dir" && as_dir=.
   1779     $as_echo "PATH: $as_dir"
   1780   done
   1781 IFS=$as_save_IFS
   1782 
   1783 } >&5
   1784 
   1785 cat >&5 <<_ACEOF
   1786 
   1787 
   1788 ## ----------- ##
   1789 ## Core tests. ##
   1790 ## ----------- ##
   1791 
   1792 _ACEOF
   1793 
   1794 
   1795 # Keep a trace of the command line.
   1796 # Strip out --no-create and --no-recursion so they do not pile up.
   1797 # Strip out --silent because we don't want to record it for future runs.
   1798 # Also quote any args containing shell meta-characters.
   1799 # Make two passes to allow for proper duplicate-argument suppression.
   1800 ac_configure_args=
   1801 ac_configure_args0=
   1802 ac_configure_args1=
   1803 ac_must_keep_next=false
   1804 for ac_pass in 1 2
   1805 do
   1806   for ac_arg
   1807   do
   1808     case $ac_arg in
   1809     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1810     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1811     | -silent | --silent | --silen | --sile | --sil)
   1812       continue ;;
   1813     *\'*)
   1814       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1815     esac
   1816     case $ac_pass in
   1817     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1818     2)
   1819       as_fn_append ac_configure_args1 " '$ac_arg'"
   1820       if test $ac_must_keep_next = true; then
   1821 	ac_must_keep_next=false # Got value, back to normal.
   1822       else
   1823 	case $ac_arg in
   1824 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1825 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1826 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1827 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1828 	    case "$ac_configure_args0 " in
   1829 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1830 	    esac
   1831 	    ;;
   1832 	  -* ) ac_must_keep_next=true ;;
   1833 	esac
   1834       fi
   1835       as_fn_append ac_configure_args " '$ac_arg'"
   1836       ;;
   1837     esac
   1838   done
   1839 done
   1840 { ac_configure_args0=; unset ac_configure_args0;}
   1841 { ac_configure_args1=; unset ac_configure_args1;}
   1842 
   1843 # When interrupted or exit'd, cleanup temporary files, and complete
   1844 # config.log.  We remove comments because anyway the quotes in there
   1845 # would cause problems or look ugly.
   1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1848 trap 'exit_status=$?
   1849   # Save into config.log some information that might help in debugging.
   1850   {
   1851     echo
   1852 
   1853     $as_echo "## ---------------- ##
   1854 ## Cache variables. ##
   1855 ## ---------------- ##"
   1856     echo
   1857     # The following way of writing the cache mishandles newlines in values,
   1858 (
   1859   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1860     eval ac_val=\$$ac_var
   1861     case $ac_val in #(
   1862     *${as_nl}*)
   1863       case $ac_var in #(
   1864       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1866       esac
   1867       case $ac_var in #(
   1868       _ | IFS | as_nl) ;; #(
   1869       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1870       *) { eval $ac_var=; unset $ac_var;} ;;
   1871       esac ;;
   1872     esac
   1873   done
   1874   (set) 2>&1 |
   1875     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1876     *${as_nl}ac_space=\ *)
   1877       sed -n \
   1878 	"s/'\''/'\''\\\\'\'''\''/g;
   1879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1880       ;; #(
   1881     *)
   1882       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1883       ;;
   1884     esac |
   1885     sort
   1886 )
   1887     echo
   1888 
   1889     $as_echo "## ----------------- ##
   1890 ## Output variables. ##
   1891 ## ----------------- ##"
   1892     echo
   1893     for ac_var in $ac_subst_vars
   1894     do
   1895       eval ac_val=\$$ac_var
   1896       case $ac_val in
   1897       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1898       esac
   1899       $as_echo "$ac_var='\''$ac_val'\''"
   1900     done | sort
   1901     echo
   1902 
   1903     if test -n "$ac_subst_files"; then
   1904       $as_echo "## ------------------- ##
   1905 ## File substitutions. ##
   1906 ## ------------------- ##"
   1907       echo
   1908       for ac_var in $ac_subst_files
   1909       do
   1910 	eval ac_val=\$$ac_var
   1911 	case $ac_val in
   1912 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1913 	esac
   1914 	$as_echo "$ac_var='\''$ac_val'\''"
   1915       done | sort
   1916       echo
   1917     fi
   1918 
   1919     if test -s confdefs.h; then
   1920       $as_echo "## ----------- ##
   1921 ## confdefs.h. ##
   1922 ## ----------- ##"
   1923       echo
   1924       cat confdefs.h
   1925       echo
   1926     fi
   1927     test "$ac_signal" != 0 &&
   1928       $as_echo "$as_me: caught signal $ac_signal"
   1929     $as_echo "$as_me: exit $exit_status"
   1930   } >&5
   1931   rm -f core *.core core.conftest.* &&
   1932     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1933     exit $exit_status
   1934 ' 0
   1935 for ac_signal in 1 2 13 15; do
   1936   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1937 done
   1938 ac_signal=0
   1939 
   1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1941 rm -f -r conftest* confdefs.h
   1942 
   1943 $as_echo "/* confdefs.h */" > confdefs.h
   1944 
   1945 # Predefined preprocessor variables.
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_NAME "$PACKAGE_NAME"
   1949 _ACEOF
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1953 _ACEOF
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1957 _ACEOF
   1958 
   1959 cat >>confdefs.h <<_ACEOF
   1960 #define PACKAGE_STRING "$PACKAGE_STRING"
   1961 _ACEOF
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1965 _ACEOF
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_URL "$PACKAGE_URL"
   1969 _ACEOF
   1970 
   1971 
   1972 # Let the site file select an alternate cache file if it wants to.
   1973 # Prefer an explicitly selected file to automatically selected ones.
   1974 ac_site_file1=NONE
   1975 ac_site_file2=NONE
   1976 if test -n "$CONFIG_SITE"; then
   1977   # We do not want a PATH search for config.site.
   1978   case $CONFIG_SITE in #((
   1979     -*)  ac_site_file1=./$CONFIG_SITE;;
   1980     */*) ac_site_file1=$CONFIG_SITE;;
   1981     *)   ac_site_file1=./$CONFIG_SITE;;
   1982   esac
   1983 elif test "x$prefix" != xNONE; then
   1984   ac_site_file1=$prefix/share/config.site
   1985   ac_site_file2=$prefix/etc/config.site
   1986 else
   1987   ac_site_file1=$ac_default_prefix/share/config.site
   1988   ac_site_file2=$ac_default_prefix/etc/config.site
   1989 fi
   1990 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1991 do
   1992   test "x$ac_site_file" = xNONE && continue
   1993   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1994     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1995 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1996     sed 's/^/| /' "$ac_site_file" >&5
   1997     . "$ac_site_file" \
   1998       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2000 as_fn_error $? "failed to load site script $ac_site_file
   2001 See \`config.log' for more details" "$LINENO" 5; }
   2002   fi
   2003 done
   2004 
   2005 if test -r "$cache_file"; then
   2006   # Some versions of bash will fail to source /dev/null (special files
   2007   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2008   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2009     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2010 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2011     case $cache_file in
   2012       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2013       *)                      . "./$cache_file";;
   2014     esac
   2015   fi
   2016 else
   2017   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2018 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2019   >$cache_file
   2020 fi
   2021 
   2022 # Check that the precious variables saved in the cache have kept the same
   2023 # value.
   2024 ac_cache_corrupted=false
   2025 for ac_var in $ac_precious_vars; do
   2026   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2027   eval ac_new_set=\$ac_env_${ac_var}_set
   2028   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2029   eval ac_new_val=\$ac_env_${ac_var}_value
   2030   case $ac_old_set,$ac_new_set in
   2031     set,)
   2032       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2033 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2034       ac_cache_corrupted=: ;;
   2035     ,set)
   2036       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2037 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2038       ac_cache_corrupted=: ;;
   2039     ,);;
   2040     *)
   2041       if test "x$ac_old_val" != "x$ac_new_val"; then
   2042 	# differences in whitespace do not lead to failure.
   2043 	ac_old_val_w=`echo x $ac_old_val`
   2044 	ac_new_val_w=`echo x $ac_new_val`
   2045 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2046 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2047 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2048 	  ac_cache_corrupted=:
   2049 	else
   2050 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2051 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2052 	  eval $ac_var=\$ac_old_val
   2053 	fi
   2054 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2055 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2056 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2057 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2058       fi;;
   2059   esac
   2060   # Pass precious variables to config.status.
   2061   if test "$ac_new_set" = set; then
   2062     case $ac_new_val in
   2063     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2064     *) ac_arg=$ac_var=$ac_new_val ;;
   2065     esac
   2066     case " $ac_configure_args " in
   2067       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2068       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2069     esac
   2070   fi
   2071 done
   2072 if $ac_cache_corrupted; then
   2073   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2075   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2076 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2077   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2078 fi
   2079 ## -------------------- ##
   2080 ## Main body of script. ##
   2081 ## -------------------- ##
   2082 
   2083 ac_ext=c
   2084 ac_cpp='$CPP $CPPFLAGS'
   2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2088 
   2089 
   2090 
   2091 ac_config_headers="$ac_config_headers config.h"
   2092 
   2093 
   2094 # Initialize Automake
   2095 am__api_version='1.14'
   2096 
   2097 ac_aux_dir=
   2098 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2099   if test -f "$ac_dir/install-sh"; then
   2100     ac_aux_dir=$ac_dir
   2101     ac_install_sh="$ac_aux_dir/install-sh -c"
   2102     break
   2103   elif test -f "$ac_dir/install.sh"; then
   2104     ac_aux_dir=$ac_dir
   2105     ac_install_sh="$ac_aux_dir/install.sh -c"
   2106     break
   2107   elif test -f "$ac_dir/shtool"; then
   2108     ac_aux_dir=$ac_dir
   2109     ac_install_sh="$ac_aux_dir/shtool install -c"
   2110     break
   2111   fi
   2112 done
   2113 if test -z "$ac_aux_dir"; then
   2114   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2115 fi
   2116 
   2117 # These three variables are undocumented and unsupported,
   2118 # and are intended to be withdrawn in a future Autoconf release.
   2119 # They can cause serious problems if a builder's source tree is in a directory
   2120 # whose full name contains unusual characters.
   2121 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2122 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2123 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2124 
   2125 
   2126 # Find a good install program.  We prefer a C program (faster),
   2127 # so one script is as good as another.  But avoid the broken or
   2128 # incompatible versions:
   2129 # SysV /etc/install, /usr/sbin/install
   2130 # SunOS /usr/etc/install
   2131 # IRIX /sbin/install
   2132 # AIX /bin/install
   2133 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2134 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2135 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2137 # OS/2's system install, which has a completely different semantic
   2138 # ./install, which can be erroneously created by make from ./install.sh.
   2139 # Reject install programs that cannot install multiple files.
   2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2141 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2142 if test -z "$INSTALL"; then
   2143 if ${ac_cv_path_install+:} false; then :
   2144   $as_echo_n "(cached) " >&6
   2145 else
   2146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2147 for as_dir in $PATH
   2148 do
   2149   IFS=$as_save_IFS
   2150   test -z "$as_dir" && as_dir=.
   2151     # Account for people who put trailing slashes in PATH elements.
   2152 case $as_dir/ in #((
   2153   ./ | .// | /[cC]/* | \
   2154   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2155   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2156   /usr/ucb/* ) ;;
   2157   *)
   2158     # OSF1 and SCO ODT 3.0 have their own names for install.
   2159     # Don't use installbsd from OSF since it installs stuff as root
   2160     # by default.
   2161     for ac_prog in ginstall scoinst install; do
   2162       for ac_exec_ext in '' $ac_executable_extensions; do
   2163 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2164 	  if test $ac_prog = install &&
   2165 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2166 	    # AIX install.  It has an incompatible calling convention.
   2167 	    :
   2168 	  elif test $ac_prog = install &&
   2169 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2170 	    # program-specific install script used by HP pwplus--don't use.
   2171 	    :
   2172 	  else
   2173 	    rm -rf conftest.one conftest.two conftest.dir
   2174 	    echo one > conftest.one
   2175 	    echo two > conftest.two
   2176 	    mkdir conftest.dir
   2177 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2178 	      test -s conftest.one && test -s conftest.two &&
   2179 	      test -s conftest.dir/conftest.one &&
   2180 	      test -s conftest.dir/conftest.two
   2181 	    then
   2182 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2183 	      break 3
   2184 	    fi
   2185 	  fi
   2186 	fi
   2187       done
   2188     done
   2189     ;;
   2190 esac
   2191 
   2192   done
   2193 IFS=$as_save_IFS
   2194 
   2195 rm -rf conftest.one conftest.two conftest.dir
   2196 
   2197 fi
   2198   if test "${ac_cv_path_install+set}" = set; then
   2199     INSTALL=$ac_cv_path_install
   2200   else
   2201     # As a last resort, use the slow shell script.  Don't cache a
   2202     # value for INSTALL within a source directory, because that will
   2203     # break other packages using the cache if that directory is
   2204     # removed, or if the value is a relative name.
   2205     INSTALL=$ac_install_sh
   2206   fi
   2207 fi
   2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2209 $as_echo "$INSTALL" >&6; }
   2210 
   2211 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2212 # It thinks the first close brace ends the variable substitution.
   2213 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2214 
   2215 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2216 
   2217 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2218 
   2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2220 $as_echo_n "checking whether build environment is sane... " >&6; }
   2221 # Reject unsafe characters in $srcdir or the absolute working directory
   2222 # name.  Accept space and tab only in the latter.
   2223 am_lf='
   2224 '
   2225 case `pwd` in
   2226   *[\\\"\#\$\&\'\`$am_lf]*)
   2227     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2228 esac
   2229 case $srcdir in
   2230   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2231     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2232 esac
   2233 
   2234 # Do 'set' in a subshell so we don't clobber the current shell's
   2235 # arguments.  Must try -L first in case configure is actually a
   2236 # symlink; some systems play weird games with the mod time of symlinks
   2237 # (eg FreeBSD returns the mod time of the symlink's containing
   2238 # directory).
   2239 if (
   2240    am_has_slept=no
   2241    for am_try in 1 2; do
   2242      echo "timestamp, slept: $am_has_slept" > conftest.file
   2243      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2244      if test "$*" = "X"; then
   2245 	# -L didn't work.
   2246 	set X `ls -t "$srcdir/configure" conftest.file`
   2247      fi
   2248      if test "$*" != "X $srcdir/configure conftest.file" \
   2249 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2250 
   2251 	# If neither matched, then we have a broken ls.  This can happen
   2252 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2253 	# broken ls alias from the environment.  This has actually
   2254 	# happened.  Such a system could not be considered "sane".
   2255 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2256   alias in your environment" "$LINENO" 5
   2257      fi
   2258      if test "$2" = conftest.file || test $am_try -eq 2; then
   2259        break
   2260      fi
   2261      # Just in case.
   2262      sleep 1
   2263      am_has_slept=yes
   2264    done
   2265    test "$2" = conftest.file
   2266    )
   2267 then
   2268    # Ok.
   2269    :
   2270 else
   2271    as_fn_error $? "newly created file is older than distributed files!
   2272 Check your system clock" "$LINENO" 5
   2273 fi
   2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2275 $as_echo "yes" >&6; }
   2276 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2277 # generated files are strictly newer.
   2278 am_sleep_pid=
   2279 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2280   ( sleep 1 ) &
   2281   am_sleep_pid=$!
   2282 fi
   2283 
   2284 rm -f conftest.file
   2285 
   2286 test "$program_prefix" != NONE &&
   2287   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2288 # Use a double $ so make ignores it.
   2289 test "$program_suffix" != NONE &&
   2290   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2291 # Double any \ or $.
   2292 # By default was `s,x,x', remove it if useless.
   2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2295 
   2296 # expand $ac_aux_dir to an absolute path
   2297 am_aux_dir=`cd $ac_aux_dir && pwd`
   2298 
   2299 if test x"${MISSING+set}" != xset; then
   2300   case $am_aux_dir in
   2301   *\ * | *\	*)
   2302     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2303   *)
   2304     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2305   esac
   2306 fi
   2307 # Use eval to expand $SHELL
   2308 if eval "$MISSING --is-lightweight"; then
   2309   am_missing_run="$MISSING "
   2310 else
   2311   am_missing_run=
   2312   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2313 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2314 fi
   2315 
   2316 if test x"${install_sh}" != xset; then
   2317   case $am_aux_dir in
   2318   *\ * | *\	*)
   2319     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2320   *)
   2321     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2322   esac
   2323 fi
   2324 
   2325 # Installed binaries are usually stripped using 'strip' when the user
   2326 # run "make install-strip".  However 'strip' might not be the right
   2327 # tool to use in cross-compilation environments, therefore Automake
   2328 # will honor the 'STRIP' environment variable to overrule this program.
   2329 if test "$cross_compiling" != no; then
   2330   if test -n "$ac_tool_prefix"; then
   2331   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2332 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2334 $as_echo_n "checking for $ac_word... " >&6; }
   2335 if ${ac_cv_prog_STRIP+:} false; then :
   2336   $as_echo_n "(cached) " >&6
   2337 else
   2338   if test -n "$STRIP"; then
   2339   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2340 else
   2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2342 for as_dir in $PATH
   2343 do
   2344   IFS=$as_save_IFS
   2345   test -z "$as_dir" && as_dir=.
   2346     for ac_exec_ext in '' $ac_executable_extensions; do
   2347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2348     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2350     break 2
   2351   fi
   2352 done
   2353   done
   2354 IFS=$as_save_IFS
   2355 
   2356 fi
   2357 fi
   2358 STRIP=$ac_cv_prog_STRIP
   2359 if test -n "$STRIP"; then
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2361 $as_echo "$STRIP" >&6; }
   2362 else
   2363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2364 $as_echo "no" >&6; }
   2365 fi
   2366 
   2367 
   2368 fi
   2369 if test -z "$ac_cv_prog_STRIP"; then
   2370   ac_ct_STRIP=$STRIP
   2371   # Extract the first word of "strip", so it can be a program name with args.
   2372 set dummy strip; ac_word=$2
   2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2374 $as_echo_n "checking for $ac_word... " >&6; }
   2375 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   if test -n "$ac_ct_STRIP"; then
   2379   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2380 else
   2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386     for ac_exec_ext in '' $ac_executable_extensions; do
   2387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2388     ac_cv_prog_ac_ct_STRIP="strip"
   2389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2390     break 2
   2391   fi
   2392 done
   2393   done
   2394 IFS=$as_save_IFS
   2395 
   2396 fi
   2397 fi
   2398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2399 if test -n "$ac_ct_STRIP"; then
   2400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2401 $as_echo "$ac_ct_STRIP" >&6; }
   2402 else
   2403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2404 $as_echo "no" >&6; }
   2405 fi
   2406 
   2407   if test "x$ac_ct_STRIP" = x; then
   2408     STRIP=":"
   2409   else
   2410     case $cross_compiling:$ac_tool_warned in
   2411 yes:)
   2412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2414 ac_tool_warned=yes ;;
   2415 esac
   2416     STRIP=$ac_ct_STRIP
   2417   fi
   2418 else
   2419   STRIP="$ac_cv_prog_STRIP"
   2420 fi
   2421 
   2422 fi
   2423 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2424 
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2426 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2427 if test -z "$MKDIR_P"; then
   2428   if ${ac_cv_path_mkdir+:} false; then :
   2429   $as_echo_n "(cached) " >&6
   2430 else
   2431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2432 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2433 do
   2434   IFS=$as_save_IFS
   2435   test -z "$as_dir" && as_dir=.
   2436     for ac_prog in mkdir gmkdir; do
   2437 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2438 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2439 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2440 	     'mkdir (GNU coreutils) '* | \
   2441 	     'mkdir (coreutils) '* | \
   2442 	     'mkdir (fileutils) '4.1*)
   2443 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2444 	       break 3;;
   2445 	   esac
   2446 	 done
   2447        done
   2448   done
   2449 IFS=$as_save_IFS
   2450 
   2451 fi
   2452 
   2453   test -d ./--version && rmdir ./--version
   2454   if test "${ac_cv_path_mkdir+set}" = set; then
   2455     MKDIR_P="$ac_cv_path_mkdir -p"
   2456   else
   2457     # As a last resort, use the slow shell script.  Don't cache a
   2458     # value for MKDIR_P within a source directory, because that will
   2459     # break other packages using the cache if that directory is
   2460     # removed, or if the value is a relative name.
   2461     MKDIR_P="$ac_install_sh -d"
   2462   fi
   2463 fi
   2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2465 $as_echo "$MKDIR_P" >&6; }
   2466 
   2467 for ac_prog in gawk mawk nawk awk
   2468 do
   2469   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2470 set dummy $ac_prog; ac_word=$2
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2472 $as_echo_n "checking for $ac_word... " >&6; }
   2473 if ${ac_cv_prog_AWK+:} false; then :
   2474   $as_echo_n "(cached) " >&6
   2475 else
   2476   if test -n "$AWK"; then
   2477   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2478 else
   2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2480 for as_dir in $PATH
   2481 do
   2482   IFS=$as_save_IFS
   2483   test -z "$as_dir" && as_dir=.
   2484     for ac_exec_ext in '' $ac_executable_extensions; do
   2485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2486     ac_cv_prog_AWK="$ac_prog"
   2487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2488     break 2
   2489   fi
   2490 done
   2491   done
   2492 IFS=$as_save_IFS
   2493 
   2494 fi
   2495 fi
   2496 AWK=$ac_cv_prog_AWK
   2497 if test -n "$AWK"; then
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2499 $as_echo "$AWK" >&6; }
   2500 else
   2501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2502 $as_echo "no" >&6; }
   2503 fi
   2504 
   2505 
   2506   test -n "$AWK" && break
   2507 done
   2508 
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2510 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2511 set x ${MAKE-make}
   2512 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2513 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2514   $as_echo_n "(cached) " >&6
   2515 else
   2516   cat >conftest.make <<\_ACEOF
   2517 SHELL = /bin/sh
   2518 all:
   2519 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2520 _ACEOF
   2521 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2522 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2523   *@@@%%%=?*=@@@%%%*)
   2524     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2525   *)
   2526     eval ac_cv_prog_make_${ac_make}_set=no;;
   2527 esac
   2528 rm -f conftest.make
   2529 fi
   2530 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2532 $as_echo "yes" >&6; }
   2533   SET_MAKE=
   2534 else
   2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2536 $as_echo "no" >&6; }
   2537   SET_MAKE="MAKE=${MAKE-make}"
   2538 fi
   2539 
   2540 rm -rf .tst 2>/dev/null
   2541 mkdir .tst 2>/dev/null
   2542 if test -d .tst; then
   2543   am__leading_dot=.
   2544 else
   2545   am__leading_dot=_
   2546 fi
   2547 rmdir .tst 2>/dev/null
   2548 
   2549 # Check whether --enable-silent-rules was given.
   2550 if test "${enable_silent_rules+set}" = set; then :
   2551   enableval=$enable_silent_rules;
   2552 fi
   2553 
   2554 case $enable_silent_rules in # (((
   2555   yes) AM_DEFAULT_VERBOSITY=0;;
   2556    no) AM_DEFAULT_VERBOSITY=1;;
   2557     *) AM_DEFAULT_VERBOSITY=1;;
   2558 esac
   2559 am_make=${MAKE-make}
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2561 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2562 if ${am_cv_make_support_nested_variables+:} false; then :
   2563   $as_echo_n "(cached) " >&6
   2564 else
   2565   if $as_echo 'TRUE=$(BAR$(V))
   2566 BAR0=false
   2567 BAR1=true
   2568 V=1
   2569 am__doit:
   2570 	@$(TRUE)
   2571 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2572   am_cv_make_support_nested_variables=yes
   2573 else
   2574   am_cv_make_support_nested_variables=no
   2575 fi
   2576 fi
   2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2578 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2579 if test $am_cv_make_support_nested_variables = yes; then
   2580     AM_V='$(V)'
   2581   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2582 else
   2583   AM_V=$AM_DEFAULT_VERBOSITY
   2584   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2585 fi
   2586 AM_BACKSLASH='\'
   2587 
   2588 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2589   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2590   # is not polluted with repeated "-I."
   2591   am__isrc=' -I$(srcdir)'
   2592   # test to see if srcdir already configured
   2593   if test -f $srcdir/config.status; then
   2594     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2595   fi
   2596 fi
   2597 
   2598 # test whether we have cygpath
   2599 if test -z "$CYGPATH_W"; then
   2600   if (cygpath --version) >/dev/null 2>/dev/null; then
   2601     CYGPATH_W='cygpath -w'
   2602   else
   2603     CYGPATH_W=echo
   2604   fi
   2605 fi
   2606 
   2607 
   2608 # Define the identity of the package.
   2609  PACKAGE='xrandr'
   2610  VERSION='1.4.2'
   2611 
   2612 
   2613 cat >>confdefs.h <<_ACEOF
   2614 #define PACKAGE "$PACKAGE"
   2615 _ACEOF
   2616 
   2617 
   2618 cat >>confdefs.h <<_ACEOF
   2619 #define VERSION "$VERSION"
   2620 _ACEOF
   2621 
   2622 # Some tools Automake needs.
   2623 
   2624 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2625 
   2626 
   2627 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2628 
   2629 
   2630 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2631 
   2632 
   2633 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2634 
   2635 
   2636 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2637 
   2638 # For better backward compatibility.  To be removed once Automake 1.9.x
   2639 # dies out for good.  For more background, see:
   2640 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2641 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2642 mkdir_p='$(MKDIR_P)'
   2643 
   2644 # We need awk for the "check" target.  The system "awk" is bad on
   2645 # some platforms.
   2646 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2647 # in the wild :-(  We should find a proper way to deprecate it ...
   2648 AMTAR='$${TAR-tar}'
   2649 
   2650 
   2651 # We'll loop over all known methods to create a tar archive until one works.
   2652 _am_tools='gnutar  pax cpio none'
   2653 
   2654 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 
   2661 # POSIX will say in a future version that running "rm -f" with no argument
   2662 # is OK; and we want to be able to make that assumption in our Makefile
   2663 # recipes.  So use an aggressive probe to check that the usage we want is
   2664 # actually supported "in the wild" to an acceptable degree.
   2665 # See automake bug#10828.
   2666 # To make any issue more visible, cause the running configure to be aborted
   2667 # by default if the 'rm' program in use doesn't match our expectations; the
   2668 # user can still override this though.
   2669 if rm -f && rm -fr && rm -rf; then : OK; else
   2670   cat >&2 <<'END'
   2671 Oops!
   2672 
   2673 Your 'rm' program seems unable to run without file operands specified
   2674 on the command line, even when the '-f' option is present.  This is contrary
   2675 to the behaviour of most rm programs out there, and not conforming with
   2676 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2677 
   2678 Please tell bug-automake@gnu.org about your system, including the value
   2679 of your $PATH and any error possibly output before this message.  This
   2680 can help us improve future automake versions.
   2681 
   2682 END
   2683   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2684     echo 'Configuration will proceed anyway, since you have set the' >&2
   2685     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2686     echo >&2
   2687   else
   2688     cat >&2 <<'END'
   2689 Aborting the configuration process, to ensure you take notice of the issue.
   2690 
   2691 You can download and install GNU coreutils to get an 'rm' implementation
   2692 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2693 
   2694 If you want to complete the configuration process using your problematic
   2695 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2696 to "yes", and re-run configure.
   2697 
   2698 END
   2699     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2700   fi
   2701 fi
   2702 
   2703 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 
   2713 
   2714 
   2715 DEPDIR="${am__leading_dot}deps"
   2716 
   2717 ac_config_commands="$ac_config_commands depfiles"
   2718 
   2719 
   2720 am_make=${MAKE-make}
   2721 cat > confinc << 'END'
   2722 am__doit:
   2723 	@echo this is the am__doit target
   2724 .PHONY: am__doit
   2725 END
   2726 # If we don't find an include directive, just comment out the code.
   2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2728 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2729 am__include="#"
   2730 am__quote=
   2731 _am_result=none
   2732 # First try GNU make style include.
   2733 echo "include confinc" > confmf
   2734 # Ignore all kinds of additional output from 'make'.
   2735 case `$am_make -s -f confmf 2> /dev/null` in #(
   2736 *the\ am__doit\ target*)
   2737   am__include=include
   2738   am__quote=
   2739   _am_result=GNU
   2740   ;;
   2741 esac
   2742 # Now try BSD make style include.
   2743 if test "$am__include" = "#"; then
   2744    echo '.include "confinc"' > confmf
   2745    case `$am_make -s -f confmf 2> /dev/null` in #(
   2746    *the\ am__doit\ target*)
   2747      am__include=.include
   2748      am__quote="\""
   2749      _am_result=BSD
   2750      ;;
   2751    esac
   2752 fi
   2753 
   2754 
   2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2756 $as_echo "$_am_result" >&6; }
   2757 rm -f confinc confmf
   2758 
   2759 # Check whether --enable-dependency-tracking was given.
   2760 if test "${enable_dependency_tracking+set}" = set; then :
   2761   enableval=$enable_dependency_tracking;
   2762 fi
   2763 
   2764 if test "x$enable_dependency_tracking" != xno; then
   2765   am_depcomp="$ac_aux_dir/depcomp"
   2766   AMDEPBACKSLASH='\'
   2767   am__nodep='_no'
   2768 fi
   2769  if test "x$enable_dependency_tracking" != xno; then
   2770   AMDEP_TRUE=
   2771   AMDEP_FALSE='#'
   2772 else
   2773   AMDEP_TRUE='#'
   2774   AMDEP_FALSE=
   2775 fi
   2776 
   2777 
   2778 ac_ext=c
   2779 ac_cpp='$CPP $CPPFLAGS'
   2780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2783 if test -n "$ac_tool_prefix"; then
   2784   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2785 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2787 $as_echo_n "checking for $ac_word... " >&6; }
   2788 if ${ac_cv_prog_CC+:} false; then :
   2789   $as_echo_n "(cached) " >&6
   2790 else
   2791   if test -n "$CC"; then
   2792   ac_cv_prog_CC="$CC" # Let the user override the test.
   2793 else
   2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2795 for as_dir in $PATH
   2796 do
   2797   IFS=$as_save_IFS
   2798   test -z "$as_dir" && as_dir=.
   2799     for ac_exec_ext in '' $ac_executable_extensions; do
   2800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2801     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2803     break 2
   2804   fi
   2805 done
   2806   done
   2807 IFS=$as_save_IFS
   2808 
   2809 fi
   2810 fi
   2811 CC=$ac_cv_prog_CC
   2812 if test -n "$CC"; then
   2813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2814 $as_echo "$CC" >&6; }
   2815 else
   2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2817 $as_echo "no" >&6; }
   2818 fi
   2819 
   2820 
   2821 fi
   2822 if test -z "$ac_cv_prog_CC"; then
   2823   ac_ct_CC=$CC
   2824   # Extract the first word of "gcc", so it can be a program name with args.
   2825 set dummy gcc; ac_word=$2
   2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2827 $as_echo_n "checking for $ac_word... " >&6; }
   2828 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2829   $as_echo_n "(cached) " >&6
   2830 else
   2831   if test -n "$ac_ct_CC"; then
   2832   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2833 else
   2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2835 for as_dir in $PATH
   2836 do
   2837   IFS=$as_save_IFS
   2838   test -z "$as_dir" && as_dir=.
   2839     for ac_exec_ext in '' $ac_executable_extensions; do
   2840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2841     ac_cv_prog_ac_ct_CC="gcc"
   2842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2843     break 2
   2844   fi
   2845 done
   2846   done
   2847 IFS=$as_save_IFS
   2848 
   2849 fi
   2850 fi
   2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2852 if test -n "$ac_ct_CC"; then
   2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2854 $as_echo "$ac_ct_CC" >&6; }
   2855 else
   2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2857 $as_echo "no" >&6; }
   2858 fi
   2859 
   2860   if test "x$ac_ct_CC" = x; then
   2861     CC=""
   2862   else
   2863     case $cross_compiling:$ac_tool_warned in
   2864 yes:)
   2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2867 ac_tool_warned=yes ;;
   2868 esac
   2869     CC=$ac_ct_CC
   2870   fi
   2871 else
   2872   CC="$ac_cv_prog_CC"
   2873 fi
   2874 
   2875 if test -z "$CC"; then
   2876           if test -n "$ac_tool_prefix"; then
   2877     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2878 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2880 $as_echo_n "checking for $ac_word... " >&6; }
   2881 if ${ac_cv_prog_CC+:} false; then :
   2882   $as_echo_n "(cached) " >&6
   2883 else
   2884   if test -n "$CC"; then
   2885   ac_cv_prog_CC="$CC" # Let the user override the test.
   2886 else
   2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2888 for as_dir in $PATH
   2889 do
   2890   IFS=$as_save_IFS
   2891   test -z "$as_dir" && as_dir=.
   2892     for ac_exec_ext in '' $ac_executable_extensions; do
   2893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2894     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2896     break 2
   2897   fi
   2898 done
   2899   done
   2900 IFS=$as_save_IFS
   2901 
   2902 fi
   2903 fi
   2904 CC=$ac_cv_prog_CC
   2905 if test -n "$CC"; then
   2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2907 $as_echo "$CC" >&6; }
   2908 else
   2909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2910 $as_echo "no" >&6; }
   2911 fi
   2912 
   2913 
   2914   fi
   2915 fi
   2916 if test -z "$CC"; then
   2917   # Extract the first word of "cc", so it can be a program name with args.
   2918 set dummy cc; ac_word=$2
   2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2920 $as_echo_n "checking for $ac_word... " >&6; }
   2921 if ${ac_cv_prog_CC+:} false; then :
   2922   $as_echo_n "(cached) " >&6
   2923 else
   2924   if test -n "$CC"; then
   2925   ac_cv_prog_CC="$CC" # Let the user override the test.
   2926 else
   2927   ac_prog_rejected=no
   2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2929 for as_dir in $PATH
   2930 do
   2931   IFS=$as_save_IFS
   2932   test -z "$as_dir" && as_dir=.
   2933     for ac_exec_ext in '' $ac_executable_extensions; do
   2934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2935     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2936        ac_prog_rejected=yes
   2937        continue
   2938      fi
   2939     ac_cv_prog_CC="cc"
   2940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2941     break 2
   2942   fi
   2943 done
   2944   done
   2945 IFS=$as_save_IFS
   2946 
   2947 if test $ac_prog_rejected = yes; then
   2948   # We found a bogon in the path, so make sure we never use it.
   2949   set dummy $ac_cv_prog_CC
   2950   shift
   2951   if test $# != 0; then
   2952     # We chose a different compiler from the bogus one.
   2953     # However, it has the same basename, so the bogon will be chosen
   2954     # first if we set CC to just the basename; use the full file name.
   2955     shift
   2956     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2957   fi
   2958 fi
   2959 fi
   2960 fi
   2961 CC=$ac_cv_prog_CC
   2962 if test -n "$CC"; then
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2964 $as_echo "$CC" >&6; }
   2965 else
   2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2967 $as_echo "no" >&6; }
   2968 fi
   2969 
   2970 
   2971 fi
   2972 if test -z "$CC"; then
   2973   if test -n "$ac_tool_prefix"; then
   2974   for ac_prog in cl.exe
   2975   do
   2976     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2979 $as_echo_n "checking for $ac_word... " >&6; }
   2980 if ${ac_cv_prog_CC+:} false; then :
   2981   $as_echo_n "(cached) " >&6
   2982 else
   2983   if test -n "$CC"; then
   2984   ac_cv_prog_CC="$CC" # Let the user override the test.
   2985 else
   2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2987 for as_dir in $PATH
   2988 do
   2989   IFS=$as_save_IFS
   2990   test -z "$as_dir" && as_dir=.
   2991     for ac_exec_ext in '' $ac_executable_extensions; do
   2992   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2993     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998   done
   2999 IFS=$as_save_IFS
   3000 
   3001 fi
   3002 fi
   3003 CC=$ac_cv_prog_CC
   3004 if test -n "$CC"; then
   3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3006 $as_echo "$CC" >&6; }
   3007 else
   3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3009 $as_echo "no" >&6; }
   3010 fi
   3011 
   3012 
   3013     test -n "$CC" && break
   3014   done
   3015 fi
   3016 if test -z "$CC"; then
   3017   ac_ct_CC=$CC
   3018   for ac_prog in cl.exe
   3019 do
   3020   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3021 set dummy $ac_prog; ac_word=$2
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3023 $as_echo_n "checking for $ac_word... " >&6; }
   3024 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3025   $as_echo_n "(cached) " >&6
   3026 else
   3027   if test -n "$ac_ct_CC"; then
   3028   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3029 else
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035     for ac_exec_ext in '' $ac_executable_extensions; do
   3036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3037     ac_cv_prog_ac_ct_CC="$ac_prog"
   3038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3039     break 2
   3040   fi
   3041 done
   3042   done
   3043 IFS=$as_save_IFS
   3044 
   3045 fi
   3046 fi
   3047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3048 if test -n "$ac_ct_CC"; then
   3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3050 $as_echo "$ac_ct_CC" >&6; }
   3051 else
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3053 $as_echo "no" >&6; }
   3054 fi
   3055 
   3056 
   3057   test -n "$ac_ct_CC" && break
   3058 done
   3059 
   3060   if test "x$ac_ct_CC" = x; then
   3061     CC=""
   3062   else
   3063     case $cross_compiling:$ac_tool_warned in
   3064 yes:)
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3067 ac_tool_warned=yes ;;
   3068 esac
   3069     CC=$ac_ct_CC
   3070   fi
   3071 fi
   3072 
   3073 fi
   3074 
   3075 
   3076 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3078 as_fn_error $? "no acceptable C compiler found in \$PATH
   3079 See \`config.log' for more details" "$LINENO" 5; }
   3080 
   3081 # Provide some information about the compiler.
   3082 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3083 set X $ac_compile
   3084 ac_compiler=$2
   3085 for ac_option in --version -v -V -qversion; do
   3086   { { ac_try="$ac_compiler $ac_option >&5"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3092 $as_echo "$ac_try_echo"; } >&5
   3093   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3094   ac_status=$?
   3095   if test -s conftest.err; then
   3096     sed '10a\
   3097 ... rest of stderr output deleted ...
   3098          10q' conftest.err >conftest.er1
   3099     cat conftest.er1 >&5
   3100   fi
   3101   rm -f conftest.er1 conftest.err
   3102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3103   test $ac_status = 0; }
   3104 done
   3105 
   3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3107 /* end confdefs.h.  */
   3108 
   3109 int
   3110 main ()
   3111 {
   3112 
   3113   ;
   3114   return 0;
   3115 }
   3116 _ACEOF
   3117 ac_clean_files_save=$ac_clean_files
   3118 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3119 # Try to create an executable without -o first, disregard a.out.
   3120 # It will help us diagnose broken compilers, and finding out an intuition
   3121 # of exeext.
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3123 $as_echo_n "checking whether the C compiler works... " >&6; }
   3124 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3125 
   3126 # The possible output files:
   3127 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3128 
   3129 ac_rmfiles=
   3130 for ac_file in $ac_files
   3131 do
   3132   case $ac_file in
   3133     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3134     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3135   esac
   3136 done
   3137 rm -f $ac_rmfiles
   3138 
   3139 if { { ac_try="$ac_link_default"
   3140 case "(($ac_try" in
   3141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3142   *) ac_try_echo=$ac_try;;
   3143 esac
   3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3145 $as_echo "$ac_try_echo"; } >&5
   3146   (eval "$ac_link_default") 2>&5
   3147   ac_status=$?
   3148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3149   test $ac_status = 0; }; then :
   3150   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3152 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3153 # so that the user can short-circuit this test for compilers unknown to
   3154 # Autoconf.
   3155 for ac_file in $ac_files ''
   3156 do
   3157   test -f "$ac_file" || continue
   3158   case $ac_file in
   3159     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3160 	;;
   3161     [ab].out )
   3162 	# We found the default executable, but exeext='' is most
   3163 	# certainly right.
   3164 	break;;
   3165     *.* )
   3166 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3167 	then :; else
   3168 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3169 	fi
   3170 	# We set ac_cv_exeext here because the later test for it is not
   3171 	# safe: cross compilers may not add the suffix if given an `-o'
   3172 	# argument, so we may need to know it at that point already.
   3173 	# Even if this section looks crufty: it has the advantage of
   3174 	# actually working.
   3175 	break;;
   3176     * )
   3177 	break;;
   3178   esac
   3179 done
   3180 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3181 
   3182 else
   3183   ac_file=''
   3184 fi
   3185 if test -z "$ac_file"; then :
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3187 $as_echo "no" >&6; }
   3188 $as_echo "$as_me: failed program was:" >&5
   3189 sed 's/^/| /' conftest.$ac_ext >&5
   3190 
   3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3193 as_fn_error 77 "C compiler cannot create executables
   3194 See \`config.log' for more details" "$LINENO" 5; }
   3195 else
   3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3197 $as_echo "yes" >&6; }
   3198 fi
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3200 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3202 $as_echo "$ac_file" >&6; }
   3203 ac_exeext=$ac_cv_exeext
   3204 
   3205 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3206 ac_clean_files=$ac_clean_files_save
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3208 $as_echo_n "checking for suffix of executables... " >&6; }
   3209 if { { ac_try="$ac_link"
   3210 case "(($ac_try" in
   3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3212   *) ac_try_echo=$ac_try;;
   3213 esac
   3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3215 $as_echo "$ac_try_echo"; } >&5
   3216   (eval "$ac_link") 2>&5
   3217   ac_status=$?
   3218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3219   test $ac_status = 0; }; then :
   3220   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3221 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3222 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3223 # `rm'.
   3224 for ac_file in conftest.exe conftest conftest.*; do
   3225   test -f "$ac_file" || continue
   3226   case $ac_file in
   3227     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3228     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3229 	  break;;
   3230     * ) break;;
   3231   esac
   3232 done
   3233 else
   3234   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3236 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3237 See \`config.log' for more details" "$LINENO" 5; }
   3238 fi
   3239 rm -f conftest conftest$ac_cv_exeext
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3241 $as_echo "$ac_cv_exeext" >&6; }
   3242 
   3243 rm -f conftest.$ac_ext
   3244 EXEEXT=$ac_cv_exeext
   3245 ac_exeext=$EXEEXT
   3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3247 /* end confdefs.h.  */
   3248 #include <stdio.h>
   3249 int
   3250 main ()
   3251 {
   3252 FILE *f = fopen ("conftest.out", "w");
   3253  return ferror (f) || fclose (f) != 0;
   3254 
   3255   ;
   3256   return 0;
   3257 }
   3258 _ACEOF
   3259 ac_clean_files="$ac_clean_files conftest.out"
   3260 # Check that the compiler produces executables we can run.  If not, either
   3261 # the compiler is broken, or we cross compile.
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3263 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3264 if test "$cross_compiling" != yes; then
   3265   { { ac_try="$ac_link"
   3266 case "(($ac_try" in
   3267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3268   *) ac_try_echo=$ac_try;;
   3269 esac
   3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3271 $as_echo "$ac_try_echo"; } >&5
   3272   (eval "$ac_link") 2>&5
   3273   ac_status=$?
   3274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3275   test $ac_status = 0; }
   3276   if { ac_try='./conftest$ac_cv_exeext'
   3277   { { case "(($ac_try" in
   3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3279   *) ac_try_echo=$ac_try;;
   3280 esac
   3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3282 $as_echo "$ac_try_echo"; } >&5
   3283   (eval "$ac_try") 2>&5
   3284   ac_status=$?
   3285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3286   test $ac_status = 0; }; }; then
   3287     cross_compiling=no
   3288   else
   3289     if test "$cross_compiling" = maybe; then
   3290 	cross_compiling=yes
   3291     else
   3292 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3294 as_fn_error $? "cannot run C compiled programs.
   3295 If you meant to cross compile, use \`--host'.
   3296 See \`config.log' for more details" "$LINENO" 5; }
   3297     fi
   3298   fi
   3299 fi
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3301 $as_echo "$cross_compiling" >&6; }
   3302 
   3303 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3304 ac_clean_files=$ac_clean_files_save
   3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3306 $as_echo_n "checking for suffix of object files... " >&6; }
   3307 if ${ac_cv_objext+:} false; then :
   3308   $as_echo_n "(cached) " >&6
   3309 else
   3310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3311 /* end confdefs.h.  */
   3312 
   3313 int
   3314 main ()
   3315 {
   3316 
   3317   ;
   3318   return 0;
   3319 }
   3320 _ACEOF
   3321 rm -f conftest.o conftest.obj
   3322 if { { ac_try="$ac_compile"
   3323 case "(($ac_try" in
   3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3325   *) ac_try_echo=$ac_try;;
   3326 esac
   3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3328 $as_echo "$ac_try_echo"; } >&5
   3329   (eval "$ac_compile") 2>&5
   3330   ac_status=$?
   3331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3332   test $ac_status = 0; }; then :
   3333   for ac_file in conftest.o conftest.obj conftest.*; do
   3334   test -f "$ac_file" || continue;
   3335   case $ac_file in
   3336     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3337     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3338        break;;
   3339   esac
   3340 done
   3341 else
   3342   $as_echo "$as_me: failed program was:" >&5
   3343 sed 's/^/| /' conftest.$ac_ext >&5
   3344 
   3345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3347 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3348 See \`config.log' for more details" "$LINENO" 5; }
   3349 fi
   3350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3351 fi
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3353 $as_echo "$ac_cv_objext" >&6; }
   3354 OBJEXT=$ac_cv_objext
   3355 ac_objext=$OBJEXT
   3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3357 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3358 if ${ac_cv_c_compiler_gnu+:} false; then :
   3359   $as_echo_n "(cached) " >&6
   3360 else
   3361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3362 /* end confdefs.h.  */
   3363 
   3364 int
   3365 main ()
   3366 {
   3367 #ifndef __GNUC__
   3368        choke me
   3369 #endif
   3370 
   3371   ;
   3372   return 0;
   3373 }
   3374 _ACEOF
   3375 if ac_fn_c_try_compile "$LINENO"; then :
   3376   ac_compiler_gnu=yes
   3377 else
   3378   ac_compiler_gnu=no
   3379 fi
   3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3382 
   3383 fi
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3385 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3386 if test $ac_compiler_gnu = yes; then
   3387   GCC=yes
   3388 else
   3389   GCC=
   3390 fi
   3391 ac_test_CFLAGS=${CFLAGS+set}
   3392 ac_save_CFLAGS=$CFLAGS
   3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3394 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3395 if ${ac_cv_prog_cc_g+:} false; then :
   3396   $as_echo_n "(cached) " >&6
   3397 else
   3398   ac_save_c_werror_flag=$ac_c_werror_flag
   3399    ac_c_werror_flag=yes
   3400    ac_cv_prog_cc_g=no
   3401    CFLAGS="-g"
   3402    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3403 /* end confdefs.h.  */
   3404 
   3405 int
   3406 main ()
   3407 {
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 if ac_fn_c_try_compile "$LINENO"; then :
   3414   ac_cv_prog_cc_g=yes
   3415 else
   3416   CFLAGS=""
   3417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 if ac_fn_c_try_compile "$LINENO"; then :
   3429 
   3430 else
   3431   ac_c_werror_flag=$ac_save_c_werror_flag
   3432 	 CFLAGS="-g"
   3433 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3434 /* end confdefs.h.  */
   3435 
   3436 int
   3437 main ()
   3438 {
   3439 
   3440   ;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 if ac_fn_c_try_compile "$LINENO"; then :
   3445   ac_cv_prog_cc_g=yes
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450 fi
   3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3452    ac_c_werror_flag=$ac_save_c_werror_flag
   3453 fi
   3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3455 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3456 if test "$ac_test_CFLAGS" = set; then
   3457   CFLAGS=$ac_save_CFLAGS
   3458 elif test $ac_cv_prog_cc_g = yes; then
   3459   if test "$GCC" = yes; then
   3460     CFLAGS="-g -O2"
   3461   else
   3462     CFLAGS="-g"
   3463   fi
   3464 else
   3465   if test "$GCC" = yes; then
   3466     CFLAGS="-O2"
   3467   else
   3468     CFLAGS=
   3469   fi
   3470 fi
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3472 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3473 if ${ac_cv_prog_cc_c89+:} false; then :
   3474   $as_echo_n "(cached) " >&6
   3475 else
   3476   ac_cv_prog_cc_c89=no
   3477 ac_save_CC=$CC
   3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3479 /* end confdefs.h.  */
   3480 #include <stdarg.h>
   3481 #include <stdio.h>
   3482 struct stat;
   3483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3484 struct buf { int x; };
   3485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3486 static char *e (p, i)
   3487      char **p;
   3488      int i;
   3489 {
   3490   return p[i];
   3491 }
   3492 static char *f (char * (*g) (char **, int), char **p, ...)
   3493 {
   3494   char *s;
   3495   va_list v;
   3496   va_start (v,p);
   3497   s = g (p, va_arg (v,int));
   3498   va_end (v);
   3499   return s;
   3500 }
   3501 
   3502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3503    function prototypes and stuff, but not '\xHH' hex character constants.
   3504    These don't provoke an error unfortunately, instead are silently treated
   3505    as 'x'.  The following induces an error, until -std is added to get
   3506    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3507    array size at least.  It's necessary to write '\x00'==0 to get something
   3508    that's true only with -std.  */
   3509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3510 
   3511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3512    inside strings and character constants.  */
   3513 #define FOO(x) 'x'
   3514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3515 
   3516 int test (int i, double x);
   3517 struct s1 {int (*f) (int a);};
   3518 struct s2 {int (*f) (double a);};
   3519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3520 int argc;
   3521 char **argv;
   3522 int
   3523 main ()
   3524 {
   3525 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3526   ;
   3527   return 0;
   3528 }
   3529 _ACEOF
   3530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3531 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3532 do
   3533   CC="$ac_save_CC $ac_arg"
   3534   if ac_fn_c_try_compile "$LINENO"; then :
   3535   ac_cv_prog_cc_c89=$ac_arg
   3536 fi
   3537 rm -f core conftest.err conftest.$ac_objext
   3538   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3539 done
   3540 rm -f conftest.$ac_ext
   3541 CC=$ac_save_CC
   3542 
   3543 fi
   3544 # AC_CACHE_VAL
   3545 case "x$ac_cv_prog_cc_c89" in
   3546   x)
   3547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3548 $as_echo "none needed" >&6; } ;;
   3549   xno)
   3550     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3551 $as_echo "unsupported" >&6; } ;;
   3552   *)
   3553     CC="$CC $ac_cv_prog_cc_c89"
   3554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3556 esac
   3557 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3558 
   3559 fi
   3560 
   3561 ac_ext=c
   3562 ac_cpp='$CPP $CPPFLAGS'
   3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3566 
   3567 ac_ext=c
   3568 ac_cpp='$CPP $CPPFLAGS'
   3569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3573 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3574 if ${am_cv_prog_cc_c_o+:} false; then :
   3575   $as_echo_n "(cached) " >&6
   3576 else
   3577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3578 /* end confdefs.h.  */
   3579 
   3580 int
   3581 main ()
   3582 {
   3583 
   3584   ;
   3585   return 0;
   3586 }
   3587 _ACEOF
   3588   # Make sure it works both with $CC and with simple cc.
   3589   # Following AC_PROG_CC_C_O, we do the test twice because some
   3590   # compilers refuse to overwrite an existing .o file with -o,
   3591   # though they will create one.
   3592   am_cv_prog_cc_c_o=yes
   3593   for am_i in 1 2; do
   3594     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3595    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3596    ac_status=$?
   3597    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3598    (exit $ac_status); } \
   3599          && test -f conftest2.$ac_objext; then
   3600       : OK
   3601     else
   3602       am_cv_prog_cc_c_o=no
   3603       break
   3604     fi
   3605   done
   3606   rm -f core conftest*
   3607   unset am_i
   3608 fi
   3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3610 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3611 if test "$am_cv_prog_cc_c_o" != yes; then
   3612    # Losing compiler, so override with the script.
   3613    # FIXME: It is wrong to rewrite CC.
   3614    # But if we don't then we get into trouble of one sort or another.
   3615    # A longer-term fix would be to have automake use am__CC in this case,
   3616    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3617    CC="$am_aux_dir/compile $CC"
   3618 fi
   3619 ac_ext=c
   3620 ac_cpp='$CPP $CPPFLAGS'
   3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3624 
   3625 
   3626 depcc="$CC"   am_compiler_list=
   3627 
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3629 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3630 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3634   # We make a subdir and do the tests there.  Otherwise we can end up
   3635   # making bogus files that we don't know about and never remove.  For
   3636   # instance it was reported that on HP-UX the gcc test will end up
   3637   # making a dummy file named 'D' -- because '-MD' means "put the output
   3638   # in D".
   3639   rm -rf conftest.dir
   3640   mkdir conftest.dir
   3641   # Copy depcomp to subdir because otherwise we won't find it if we're
   3642   # using a relative directory.
   3643   cp "$am_depcomp" conftest.dir
   3644   cd conftest.dir
   3645   # We will build objects and dependencies in a subdirectory because
   3646   # it helps to detect inapplicable dependency modes.  For instance
   3647   # both Tru64's cc and ICC support -MD to output dependencies as a
   3648   # side effect of compilation, but ICC will put the dependencies in
   3649   # the current directory while Tru64 will put them in the object
   3650   # directory.
   3651   mkdir sub
   3652 
   3653   am_cv_CC_dependencies_compiler_type=none
   3654   if test "$am_compiler_list" = ""; then
   3655      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3656   fi
   3657   am__universal=false
   3658   case " $depcc " in #(
   3659      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3660      esac
   3661 
   3662   for depmode in $am_compiler_list; do
   3663     # Setup a source with many dependencies, because some compilers
   3664     # like to wrap large dependency lists on column 80 (with \), and
   3665     # we should not choose a depcomp mode which is confused by this.
   3666     #
   3667     # We need to recreate these files for each test, as the compiler may
   3668     # overwrite some of them when testing with obscure command lines.
   3669     # This happens at least with the AIX C compiler.
   3670     : > sub/conftest.c
   3671     for i in 1 2 3 4 5 6; do
   3672       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3673       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3674       # Solaris 10 /bin/sh.
   3675       echo '/* dummy */' > sub/conftst$i.h
   3676     done
   3677     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3678 
   3679     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3680     # mode.  It turns out that the SunPro C++ compiler does not properly
   3681     # handle '-M -o', and we need to detect this.  Also, some Intel
   3682     # versions had trouble with output in subdirs.
   3683     am__obj=sub/conftest.${OBJEXT-o}
   3684     am__minus_obj="-o $am__obj"
   3685     case $depmode in
   3686     gcc)
   3687       # This depmode causes a compiler race in universal mode.
   3688       test "$am__universal" = false || continue
   3689       ;;
   3690     nosideeffect)
   3691       # After this tag, mechanisms are not by side-effect, so they'll
   3692       # only be used when explicitly requested.
   3693       if test "x$enable_dependency_tracking" = xyes; then
   3694 	continue
   3695       else
   3696 	break
   3697       fi
   3698       ;;
   3699     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3700       # This compiler won't grok '-c -o', but also, the minuso test has
   3701       # not run yet.  These depmodes are late enough in the game, and
   3702       # so weak that their functioning should not be impacted.
   3703       am__obj=conftest.${OBJEXT-o}
   3704       am__minus_obj=
   3705       ;;
   3706     none) break ;;
   3707     esac
   3708     if depmode=$depmode \
   3709        source=sub/conftest.c object=$am__obj \
   3710        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3711        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3712          >/dev/null 2>conftest.err &&
   3713        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3714        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3715        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3716        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3717       # icc doesn't choke on unknown options, it will just issue warnings
   3718       # or remarks (even with -Werror).  So we grep stderr for any message
   3719       # that says an option was ignored or not supported.
   3720       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3721       #   icc: Command line warning: ignoring option '-M'; no argument required
   3722       # The diagnosis changed in icc 8.0:
   3723       #   icc: Command line remark: option '-MP' not supported
   3724       if (grep 'ignoring option' conftest.err ||
   3725           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3726         am_cv_CC_dependencies_compiler_type=$depmode
   3727         break
   3728       fi
   3729     fi
   3730   done
   3731 
   3732   cd ..
   3733   rm -rf conftest.dir
   3734 else
   3735   am_cv_CC_dependencies_compiler_type=none
   3736 fi
   3737 
   3738 fi
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3740 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3741 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3742 
   3743  if
   3744   test "x$enable_dependency_tracking" != xno \
   3745   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3746   am__fastdepCC_TRUE=
   3747   am__fastdepCC_FALSE='#'
   3748 else
   3749   am__fastdepCC_TRUE='#'
   3750   am__fastdepCC_FALSE=
   3751 fi
   3752 
   3753 
   3754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3755 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3756 if ${ac_cv_prog_cc_c99+:} false; then :
   3757   $as_echo_n "(cached) " >&6
   3758 else
   3759   ac_cv_prog_cc_c99=no
   3760 ac_save_CC=$CC
   3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3762 /* end confdefs.h.  */
   3763 #include <stdarg.h>
   3764 #include <stdbool.h>
   3765 #include <stdlib.h>
   3766 #include <wchar.h>
   3767 #include <stdio.h>
   3768 
   3769 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3770 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3771 #define showlist(...) puts (#__VA_ARGS__)
   3772 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3773 static void
   3774 test_varargs_macros (void)
   3775 {
   3776   int x = 1234;
   3777   int y = 5678;
   3778   debug ("Flag");
   3779   debug ("X = %d\n", x);
   3780   showlist (The first, second, and third items.);
   3781   report (x>y, "x is %d but y is %d", x, y);
   3782 }
   3783 
   3784 // Check long long types.
   3785 #define BIG64 18446744073709551615ull
   3786 #define BIG32 4294967295ul
   3787 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3788 #if !BIG_OK
   3789   your preprocessor is broken;
   3790 #endif
   3791 #if BIG_OK
   3792 #else
   3793   your preprocessor is broken;
   3794 #endif
   3795 static long long int bignum = -9223372036854775807LL;
   3796 static unsigned long long int ubignum = BIG64;
   3797 
   3798 struct incomplete_array
   3799 {
   3800   int datasize;
   3801   double data[];
   3802 };
   3803 
   3804 struct named_init {
   3805   int number;
   3806   const wchar_t *name;
   3807   double average;
   3808 };
   3809 
   3810 typedef const char *ccp;
   3811 
   3812 static inline int
   3813 test_restrict (ccp restrict text)
   3814 {
   3815   // See if C++-style comments work.
   3816   // Iterate through items via the restricted pointer.
   3817   // Also check for declarations in for loops.
   3818   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3819     continue;
   3820   return 0;
   3821 }
   3822 
   3823 // Check varargs and va_copy.
   3824 static void
   3825 test_varargs (const char *format, ...)
   3826 {
   3827   va_list args;
   3828   va_start (args, format);
   3829   va_list args_copy;
   3830   va_copy (args_copy, args);
   3831 
   3832   const char *str;
   3833   int number;
   3834   float fnumber;
   3835 
   3836   while (*format)
   3837     {
   3838       switch (*format++)
   3839 	{
   3840 	case 's': // string
   3841 	  str = va_arg (args_copy, const char *);
   3842 	  break;
   3843 	case 'd': // int
   3844 	  number = va_arg (args_copy, int);
   3845 	  break;
   3846 	case 'f': // float
   3847 	  fnumber = va_arg (args_copy, double);
   3848 	  break;
   3849 	default:
   3850 	  break;
   3851 	}
   3852     }
   3853   va_end (args_copy);
   3854   va_end (args);
   3855 }
   3856 
   3857 int
   3858 main ()
   3859 {
   3860 
   3861   // Check bool.
   3862   _Bool success = false;
   3863 
   3864   // Check restrict.
   3865   if (test_restrict ("String literal") == 0)
   3866     success = true;
   3867   char *restrict newvar = "Another string";
   3868 
   3869   // Check varargs.
   3870   test_varargs ("s, d' f .", "string", 65, 34.234);
   3871   test_varargs_macros ();
   3872 
   3873   // Check flexible array members.
   3874   struct incomplete_array *ia =
   3875     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3876   ia->datasize = 10;
   3877   for (int i = 0; i < ia->datasize; ++i)
   3878     ia->data[i] = i * 1.234;
   3879 
   3880   // Check named initializers.
   3881   struct named_init ni = {
   3882     .number = 34,
   3883     .name = L"Test wide string",
   3884     .average = 543.34343,
   3885   };
   3886 
   3887   ni.number = 58;
   3888 
   3889   int dynamic_array[ni.number];
   3890   dynamic_array[ni.number - 1] = 543;
   3891 
   3892   // work around unused variable warnings
   3893   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3894 	  || dynamic_array[ni.number - 1] != 543);
   3895 
   3896   ;
   3897   return 0;
   3898 }
   3899 _ACEOF
   3900 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3901 do
   3902   CC="$ac_save_CC $ac_arg"
   3903   if ac_fn_c_try_compile "$LINENO"; then :
   3904   ac_cv_prog_cc_c99=$ac_arg
   3905 fi
   3906 rm -f core conftest.err conftest.$ac_objext
   3907   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3908 done
   3909 rm -f conftest.$ac_ext
   3910 CC=$ac_save_CC
   3911 
   3912 fi
   3913 # AC_CACHE_VAL
   3914 case "x$ac_cv_prog_cc_c99" in
   3915   x)
   3916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3917 $as_echo "none needed" >&6; } ;;
   3918   xno)
   3919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3920 $as_echo "unsupported" >&6; } ;;
   3921   *)
   3922     CC="$CC $ac_cv_prog_cc_c99"
   3923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3924 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3925 esac
   3926 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3927 
   3928 fi
   3929 
   3930 
   3931 
   3932 ac_ext=c
   3933 ac_cpp='$CPP $CPPFLAGS'
   3934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3938 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3939 # On Suns, sometimes $CPP names a directory.
   3940 if test -n "$CPP" && test -d "$CPP"; then
   3941   CPP=
   3942 fi
   3943 if test -z "$CPP"; then
   3944   if ${ac_cv_prog_CPP+:} false; then :
   3945   $as_echo_n "(cached) " >&6
   3946 else
   3947       # Double quotes because CPP needs to be expanded
   3948     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3949     do
   3950       ac_preproc_ok=false
   3951 for ac_c_preproc_warn_flag in '' yes
   3952 do
   3953   # Use a header file that comes with gcc, so configuring glibc
   3954   # with a fresh cross-compiler works.
   3955   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3956   # <limits.h> exists even on freestanding compilers.
   3957   # On the NeXT, cc -E runs the code through the compiler's parser,
   3958   # not just through cpp. "Syntax error" is here to catch this case.
   3959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3960 /* end confdefs.h.  */
   3961 #ifdef __STDC__
   3962 # include <limits.h>
   3963 #else
   3964 # include <assert.h>
   3965 #endif
   3966 		     Syntax error
   3967 _ACEOF
   3968 if ac_fn_c_try_cpp "$LINENO"; then :
   3969 
   3970 else
   3971   # Broken: fails on valid input.
   3972 continue
   3973 fi
   3974 rm -f conftest.err conftest.i conftest.$ac_ext
   3975 
   3976   # OK, works on sane cases.  Now check whether nonexistent headers
   3977   # can be detected and how.
   3978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3979 /* end confdefs.h.  */
   3980 #include <ac_nonexistent.h>
   3981 _ACEOF
   3982 if ac_fn_c_try_cpp "$LINENO"; then :
   3983   # Broken: success on invalid input.
   3984 continue
   3985 else
   3986   # Passes both tests.
   3987 ac_preproc_ok=:
   3988 break
   3989 fi
   3990 rm -f conftest.err conftest.i conftest.$ac_ext
   3991 
   3992 done
   3993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3994 rm -f conftest.i conftest.err conftest.$ac_ext
   3995 if $ac_preproc_ok; then :
   3996   break
   3997 fi
   3998 
   3999     done
   4000     ac_cv_prog_CPP=$CPP
   4001 
   4002 fi
   4003   CPP=$ac_cv_prog_CPP
   4004 else
   4005   ac_cv_prog_CPP=$CPP
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4008 $as_echo "$CPP" >&6; }
   4009 ac_preproc_ok=false
   4010 for ac_c_preproc_warn_flag in '' yes
   4011 do
   4012   # Use a header file that comes with gcc, so configuring glibc
   4013   # with a fresh cross-compiler works.
   4014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4015   # <limits.h> exists even on freestanding compilers.
   4016   # On the NeXT, cc -E runs the code through the compiler's parser,
   4017   # not just through cpp. "Syntax error" is here to catch this case.
   4018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4019 /* end confdefs.h.  */
   4020 #ifdef __STDC__
   4021 # include <limits.h>
   4022 #else
   4023 # include <assert.h>
   4024 #endif
   4025 		     Syntax error
   4026 _ACEOF
   4027 if ac_fn_c_try_cpp "$LINENO"; then :
   4028 
   4029 else
   4030   # Broken: fails on valid input.
   4031 continue
   4032 fi
   4033 rm -f conftest.err conftest.i conftest.$ac_ext
   4034 
   4035   # OK, works on sane cases.  Now check whether nonexistent headers
   4036   # can be detected and how.
   4037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 #include <ac_nonexistent.h>
   4040 _ACEOF
   4041 if ac_fn_c_try_cpp "$LINENO"; then :
   4042   # Broken: success on invalid input.
   4043 continue
   4044 else
   4045   # Passes both tests.
   4046 ac_preproc_ok=:
   4047 break
   4048 fi
   4049 rm -f conftest.err conftest.i conftest.$ac_ext
   4050 
   4051 done
   4052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4053 rm -f conftest.i conftest.err conftest.$ac_ext
   4054 if $ac_preproc_ok; then :
   4055 
   4056 else
   4057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4059 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4060 See \`config.log' for more details" "$LINENO" 5; }
   4061 fi
   4062 
   4063 ac_ext=c
   4064 ac_cpp='$CPP $CPPFLAGS'
   4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4068 
   4069 
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4071 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4072 if ${ac_cv_path_GREP+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075   if test -z "$GREP"; then
   4076   ac_path_GREP_found=false
   4077   # Loop through the user's path and test for each of PROGNAME-LIST
   4078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4080 do
   4081   IFS=$as_save_IFS
   4082   test -z "$as_dir" && as_dir=.
   4083     for ac_prog in grep ggrep; do
   4084     for ac_exec_ext in '' $ac_executable_extensions; do
   4085       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4086       as_fn_executable_p "$ac_path_GREP" || continue
   4087 # Check for GNU ac_path_GREP and select it if it is found.
   4088   # Check for GNU $ac_path_GREP
   4089 case `"$ac_path_GREP" --version 2>&1` in
   4090 *GNU*)
   4091   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4092 *)
   4093   ac_count=0
   4094   $as_echo_n 0123456789 >"conftest.in"
   4095   while :
   4096   do
   4097     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4098     mv "conftest.tmp" "conftest.in"
   4099     cp "conftest.in" "conftest.nl"
   4100     $as_echo 'GREP' >> "conftest.nl"
   4101     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4102     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4103     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4104     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4105       # Best one so far, save it but keep looking for a better one
   4106       ac_cv_path_GREP="$ac_path_GREP"
   4107       ac_path_GREP_max=$ac_count
   4108     fi
   4109     # 10*(2^10) chars as input seems more than enough
   4110     test $ac_count -gt 10 && break
   4111   done
   4112   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4113 esac
   4114 
   4115       $ac_path_GREP_found && break 3
   4116     done
   4117   done
   4118   done
   4119 IFS=$as_save_IFS
   4120   if test -z "$ac_cv_path_GREP"; then
   4121     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4122   fi
   4123 else
   4124   ac_cv_path_GREP=$GREP
   4125 fi
   4126 
   4127 fi
   4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4129 $as_echo "$ac_cv_path_GREP" >&6; }
   4130  GREP="$ac_cv_path_GREP"
   4131 
   4132 
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4134 $as_echo_n "checking for egrep... " >&6; }
   4135 if ${ac_cv_path_EGREP+:} false; then :
   4136   $as_echo_n "(cached) " >&6
   4137 else
   4138   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4139    then ac_cv_path_EGREP="$GREP -E"
   4140    else
   4141      if test -z "$EGREP"; then
   4142   ac_path_EGREP_found=false
   4143   # Loop through the user's path and test for each of PROGNAME-LIST
   4144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4146 do
   4147   IFS=$as_save_IFS
   4148   test -z "$as_dir" && as_dir=.
   4149     for ac_prog in egrep; do
   4150     for ac_exec_ext in '' $ac_executable_extensions; do
   4151       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4152       as_fn_executable_p "$ac_path_EGREP" || continue
   4153 # Check for GNU ac_path_EGREP and select it if it is found.
   4154   # Check for GNU $ac_path_EGREP
   4155 case `"$ac_path_EGREP" --version 2>&1` in
   4156 *GNU*)
   4157   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4158 *)
   4159   ac_count=0
   4160   $as_echo_n 0123456789 >"conftest.in"
   4161   while :
   4162   do
   4163     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4164     mv "conftest.tmp" "conftest.in"
   4165     cp "conftest.in" "conftest.nl"
   4166     $as_echo 'EGREP' >> "conftest.nl"
   4167     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4168     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4169     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4170     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4171       # Best one so far, save it but keep looking for a better one
   4172       ac_cv_path_EGREP="$ac_path_EGREP"
   4173       ac_path_EGREP_max=$ac_count
   4174     fi
   4175     # 10*(2^10) chars as input seems more than enough
   4176     test $ac_count -gt 10 && break
   4177   done
   4178   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4179 esac
   4180 
   4181       $ac_path_EGREP_found && break 3
   4182     done
   4183   done
   4184   done
   4185 IFS=$as_save_IFS
   4186   if test -z "$ac_cv_path_EGREP"; then
   4187     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4188   fi
   4189 else
   4190   ac_cv_path_EGREP=$EGREP
   4191 fi
   4192 
   4193    fi
   4194 fi
   4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4196 $as_echo "$ac_cv_path_EGREP" >&6; }
   4197  EGREP="$ac_cv_path_EGREP"
   4198 
   4199 
   4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4201 $as_echo_n "checking for ANSI C header files... " >&6; }
   4202 if ${ac_cv_header_stdc+:} false; then :
   4203   $as_echo_n "(cached) " >&6
   4204 else
   4205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4206 /* end confdefs.h.  */
   4207 #include <stdlib.h>
   4208 #include <stdarg.h>
   4209 #include <string.h>
   4210 #include <float.h>
   4211 
   4212 int
   4213 main ()
   4214 {
   4215 
   4216   ;
   4217   return 0;
   4218 }
   4219 _ACEOF
   4220 if ac_fn_c_try_compile "$LINENO"; then :
   4221   ac_cv_header_stdc=yes
   4222 else
   4223   ac_cv_header_stdc=no
   4224 fi
   4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4226 
   4227 if test $ac_cv_header_stdc = yes; then
   4228   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4230 /* end confdefs.h.  */
   4231 #include <string.h>
   4232 
   4233 _ACEOF
   4234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4235   $EGREP "memchr" >/dev/null 2>&1; then :
   4236 
   4237 else
   4238   ac_cv_header_stdc=no
   4239 fi
   4240 rm -f conftest*
   4241 
   4242 fi
   4243 
   4244 if test $ac_cv_header_stdc = yes; then
   4245   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 #include <stdlib.h>
   4249 
   4250 _ACEOF
   4251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4252   $EGREP "free" >/dev/null 2>&1; then :
   4253 
   4254 else
   4255   ac_cv_header_stdc=no
   4256 fi
   4257 rm -f conftest*
   4258 
   4259 fi
   4260 
   4261 if test $ac_cv_header_stdc = yes; then
   4262   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4263   if test "$cross_compiling" = yes; then :
   4264   :
   4265 else
   4266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4267 /* end confdefs.h.  */
   4268 #include <ctype.h>
   4269 #include <stdlib.h>
   4270 #if ((' ' & 0x0FF) == 0x020)
   4271 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4272 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4273 #else
   4274 # define ISLOWER(c) \
   4275 		   (('a' <= (c) && (c) <= 'i') \
   4276 		     || ('j' <= (c) && (c) <= 'r') \
   4277 		     || ('s' <= (c) && (c) <= 'z'))
   4278 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4279 #endif
   4280 
   4281 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4282 int
   4283 main ()
   4284 {
   4285   int i;
   4286   for (i = 0; i < 256; i++)
   4287     if (XOR (islower (i), ISLOWER (i))
   4288 	|| toupper (i) != TOUPPER (i))
   4289       return 2;
   4290   return 0;
   4291 }
   4292 _ACEOF
   4293 if ac_fn_c_try_run "$LINENO"; then :
   4294 
   4295 else
   4296   ac_cv_header_stdc=no
   4297 fi
   4298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4299   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4300 fi
   4301 
   4302 fi
   4303 fi
   4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4305 $as_echo "$ac_cv_header_stdc" >&6; }
   4306 if test $ac_cv_header_stdc = yes; then
   4307 
   4308 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4309 
   4310 fi
   4311 
   4312 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4313 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4314 		  inttypes.h stdint.h unistd.h
   4315 do :
   4316   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4317 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4318 "
   4319 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4320   cat >>confdefs.h <<_ACEOF
   4321 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4322 _ACEOF
   4323 
   4324 fi
   4325 
   4326 done
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4334 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4335   CLANGCC="yes"
   4336 else
   4337   CLANGCC="no"
   4338 fi
   4339 
   4340 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4341 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4342   INTELCC="yes"
   4343 else
   4344   INTELCC="no"
   4345 fi
   4346 
   4347 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4348 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4349   SUNCC="yes"
   4350 else
   4351   SUNCC="no"
   4352 fi
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4363 	if test -n "$ac_tool_prefix"; then
   4364   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4365 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4367 $as_echo_n "checking for $ac_word... " >&6; }
   4368 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4369   $as_echo_n "(cached) " >&6
   4370 else
   4371   case $PKG_CONFIG in
   4372   [\\/]* | ?:[\\/]*)
   4373   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4374   ;;
   4375   *)
   4376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4377 for as_dir in $PATH
   4378 do
   4379   IFS=$as_save_IFS
   4380   test -z "$as_dir" && as_dir=.
   4381     for ac_exec_ext in '' $ac_executable_extensions; do
   4382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4383     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4385     break 2
   4386   fi
   4387 done
   4388   done
   4389 IFS=$as_save_IFS
   4390 
   4391   ;;
   4392 esac
   4393 fi
   4394 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4395 if test -n "$PKG_CONFIG"; then
   4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4397 $as_echo "$PKG_CONFIG" >&6; }
   4398 else
   4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4400 $as_echo "no" >&6; }
   4401 fi
   4402 
   4403 
   4404 fi
   4405 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4406   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4407   # Extract the first word of "pkg-config", so it can be a program name with args.
   4408 set dummy pkg-config; ac_word=$2
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4410 $as_echo_n "checking for $ac_word... " >&6; }
   4411 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   case $ac_pt_PKG_CONFIG in
   4415   [\\/]* | ?:[\\/]*)
   4416   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4417   ;;
   4418   *)
   4419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4420 for as_dir in $PATH
   4421 do
   4422   IFS=$as_save_IFS
   4423   test -z "$as_dir" && as_dir=.
   4424     for ac_exec_ext in '' $ac_executable_extensions; do
   4425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4426     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4428     break 2
   4429   fi
   4430 done
   4431   done
   4432 IFS=$as_save_IFS
   4433 
   4434   ;;
   4435 esac
   4436 fi
   4437 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4438 if test -n "$ac_pt_PKG_CONFIG"; then
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4440 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4441 else
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 $as_echo "no" >&6; }
   4444 fi
   4445 
   4446   if test "x$ac_pt_PKG_CONFIG" = x; then
   4447     PKG_CONFIG=""
   4448   else
   4449     case $cross_compiling:$ac_tool_warned in
   4450 yes:)
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4453 ac_tool_warned=yes ;;
   4454 esac
   4455     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4456   fi
   4457 else
   4458   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4459 fi
   4460 
   4461 fi
   4462 if test -n "$PKG_CONFIG"; then
   4463 	_pkg_min_version=0.9.0
   4464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4465 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4466 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4468 $as_echo "yes" >&6; }
   4469 	else
   4470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4471 $as_echo "no" >&6; }
   4472 		PKG_CONFIG=""
   4473 	fi
   4474 fi
   4475 # Make sure we can run config.sub.
   4476 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4477   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4478 
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4480 $as_echo_n "checking build system type... " >&6; }
   4481 if ${ac_cv_build+:} false; then :
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   ac_build_alias=$build_alias
   4485 test "x$ac_build_alias" = x &&
   4486   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4487 test "x$ac_build_alias" = x &&
   4488   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4489 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4490   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4491 
   4492 fi
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4494 $as_echo "$ac_cv_build" >&6; }
   4495 case $ac_cv_build in
   4496 *-*-*) ;;
   4497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4498 esac
   4499 build=$ac_cv_build
   4500 ac_save_IFS=$IFS; IFS='-'
   4501 set x $ac_cv_build
   4502 shift
   4503 build_cpu=$1
   4504 build_vendor=$2
   4505 shift; shift
   4506 # Remember, the first character of IFS is used to create $*,
   4507 # except with old shells:
   4508 build_os=$*
   4509 IFS=$ac_save_IFS
   4510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4511 
   4512 
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4514 $as_echo_n "checking host system type... " >&6; }
   4515 if ${ac_cv_host+:} false; then :
   4516   $as_echo_n "(cached) " >&6
   4517 else
   4518   if test "x$host_alias" = x; then
   4519   ac_cv_host=$ac_cv_build
   4520 else
   4521   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4522     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4523 fi
   4524 
   4525 fi
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4527 $as_echo "$ac_cv_host" >&6; }
   4528 case $ac_cv_host in
   4529 *-*-*) ;;
   4530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4531 esac
   4532 host=$ac_cv_host
   4533 ac_save_IFS=$IFS; IFS='-'
   4534 set x $ac_cv_host
   4535 shift
   4536 host_cpu=$1
   4537 host_vendor=$2
   4538 shift; shift
   4539 # Remember, the first character of IFS is used to create $*,
   4540 # except with old shells:
   4541 host_os=$*
   4542 IFS=$ac_save_IFS
   4543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4544 
   4545 
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4547 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4548 if ${ac_cv_path_SED+:} false; then :
   4549   $as_echo_n "(cached) " >&6
   4550 else
   4551             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4552      for ac_i in 1 2 3 4 5 6 7; do
   4553        ac_script="$ac_script$as_nl$ac_script"
   4554      done
   4555      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4556      { ac_script=; unset ac_script;}
   4557      if test -z "$SED"; then
   4558   ac_path_SED_found=false
   4559   # Loop through the user's path and test for each of PROGNAME-LIST
   4560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4561 for as_dir in $PATH
   4562 do
   4563   IFS=$as_save_IFS
   4564   test -z "$as_dir" && as_dir=.
   4565     for ac_prog in sed gsed; do
   4566     for ac_exec_ext in '' $ac_executable_extensions; do
   4567       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4568       as_fn_executable_p "$ac_path_SED" || continue
   4569 # Check for GNU ac_path_SED and select it if it is found.
   4570   # Check for GNU $ac_path_SED
   4571 case `"$ac_path_SED" --version 2>&1` in
   4572 *GNU*)
   4573   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4574 *)
   4575   ac_count=0
   4576   $as_echo_n 0123456789 >"conftest.in"
   4577   while :
   4578   do
   4579     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4580     mv "conftest.tmp" "conftest.in"
   4581     cp "conftest.in" "conftest.nl"
   4582     $as_echo '' >> "conftest.nl"
   4583     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4584     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4585     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4586     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4587       # Best one so far, save it but keep looking for a better one
   4588       ac_cv_path_SED="$ac_path_SED"
   4589       ac_path_SED_max=$ac_count
   4590     fi
   4591     # 10*(2^10) chars as input seems more than enough
   4592     test $ac_count -gt 10 && break
   4593   done
   4594   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4595 esac
   4596 
   4597       $ac_path_SED_found && break 3
   4598     done
   4599   done
   4600   done
   4601 IFS=$as_save_IFS
   4602   if test -z "$ac_cv_path_SED"; then
   4603     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4604   fi
   4605 else
   4606   ac_cv_path_SED=$SED
   4607 fi
   4608 
   4609 fi
   4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4611 $as_echo "$ac_cv_path_SED" >&6; }
   4612  SED="$ac_cv_path_SED"
   4613   rm -f conftest.sed
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 # Check whether --enable-selective-werror was given.
   4621 if test "${enable_selective_werror+set}" = set; then :
   4622   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4623 else
   4624   SELECTIVE_WERROR=yes
   4625 fi
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4632 if test "x$SUNCC" = "xyes"; then
   4633     BASE_CFLAGS="-v"
   4634 else
   4635     BASE_CFLAGS=""
   4636 fi
   4637 
   4638 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 xorg_testset_save_CFLAGS="$CFLAGS"
   4653 
   4654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4662 /* end confdefs.h.  */
   4663 int i;
   4664 _ACEOF
   4665 if ac_fn_c_try_compile "$LINENO"; then :
   4666   xorg_cv_cc_flag_unknown_warning_option=yes
   4667 else
   4668   xorg_cv_cc_flag_unknown_warning_option=no
   4669 fi
   4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4671 fi
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4675 	CFLAGS="$xorg_testset_save_CFLAGS"
   4676 fi
   4677 
   4678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4681 	fi
   4682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4686   $as_echo_n "(cached) " >&6
   4687 else
   4688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4689 /* end confdefs.h.  */
   4690 int i;
   4691 _ACEOF
   4692 if ac_fn_c_try_compile "$LINENO"; then :
   4693   xorg_cv_cc_flag_unused_command_line_argument=yes
   4694 else
   4695   xorg_cv_cc_flag_unused_command_line_argument=no
   4696 fi
   4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4698 fi
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4702 	CFLAGS="$xorg_testset_save_CFLAGS"
   4703 fi
   4704 
   4705 found="no"
   4706 
   4707 	if test $found = "no" ; then
   4708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4710 		fi
   4711 
   4712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4714 		fi
   4715 
   4716 		CFLAGS="$CFLAGS -Wall"
   4717 
   4718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4719 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4720 		cacheid=xorg_cv_cc_flag__Wall
   4721 		if eval \${$cacheid+:} false; then :
   4722   $as_echo_n "(cached) " >&6
   4723 else
   4724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4725 /* end confdefs.h.  */
   4726 int i;
   4727 int
   4728 main ()
   4729 {
   4730 
   4731   ;
   4732   return 0;
   4733 }
   4734 _ACEOF
   4735 if ac_fn_c_try_link "$LINENO"; then :
   4736   eval $cacheid=yes
   4737 else
   4738   eval $cacheid=no
   4739 fi
   4740 rm -f core conftest.err conftest.$ac_objext \
   4741     conftest$ac_exeext conftest.$ac_ext
   4742 fi
   4743 
   4744 
   4745 		CFLAGS="$xorg_testset_save_CFLAGS"
   4746 
   4747 		eval supported=\$$cacheid
   4748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4749 $as_echo "$supported" >&6; }
   4750 		if test "$supported" = "yes" ; then
   4751 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4752 			found="yes"
   4753 		fi
   4754 	fi
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 xorg_testset_save_CFLAGS="$CFLAGS"
   4771 
   4772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 int i;
   4782 _ACEOF
   4783 if ac_fn_c_try_compile "$LINENO"; then :
   4784   xorg_cv_cc_flag_unknown_warning_option=yes
   4785 else
   4786   xorg_cv_cc_flag_unknown_warning_option=no
   4787 fi
   4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4789 fi
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4793 	CFLAGS="$xorg_testset_save_CFLAGS"
   4794 fi
   4795 
   4796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4799 	fi
   4800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4804   $as_echo_n "(cached) " >&6
   4805 else
   4806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4807 /* end confdefs.h.  */
   4808 int i;
   4809 _ACEOF
   4810 if ac_fn_c_try_compile "$LINENO"; then :
   4811   xorg_cv_cc_flag_unused_command_line_argument=yes
   4812 else
   4813   xorg_cv_cc_flag_unused_command_line_argument=no
   4814 fi
   4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4816 fi
   4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4820 	CFLAGS="$xorg_testset_save_CFLAGS"
   4821 fi
   4822 
   4823 found="no"
   4824 
   4825 	if test $found = "no" ; then
   4826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4828 		fi
   4829 
   4830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4832 		fi
   4833 
   4834 		CFLAGS="$CFLAGS -Wpointer-arith"
   4835 
   4836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4837 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4838 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4839 		if eval \${$cacheid+:} false; then :
   4840   $as_echo_n "(cached) " >&6
   4841 else
   4842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4843 /* end confdefs.h.  */
   4844 int i;
   4845 int
   4846 main ()
   4847 {
   4848 
   4849   ;
   4850   return 0;
   4851 }
   4852 _ACEOF
   4853 if ac_fn_c_try_link "$LINENO"; then :
   4854   eval $cacheid=yes
   4855 else
   4856   eval $cacheid=no
   4857 fi
   4858 rm -f core conftest.err conftest.$ac_objext \
   4859     conftest$ac_exeext conftest.$ac_ext
   4860 fi
   4861 
   4862 
   4863 		CFLAGS="$xorg_testset_save_CFLAGS"
   4864 
   4865 		eval supported=\$$cacheid
   4866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4867 $as_echo "$supported" >&6; }
   4868 		if test "$supported" = "yes" ; then
   4869 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4870 			found="yes"
   4871 		fi
   4872 	fi
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 xorg_testset_save_CFLAGS="$CFLAGS"
   4889 
   4890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4895   $as_echo_n "(cached) " >&6
   4896 else
   4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 int i;
   4900 _ACEOF
   4901 if ac_fn_c_try_compile "$LINENO"; then :
   4902   xorg_cv_cc_flag_unknown_warning_option=yes
   4903 else
   4904   xorg_cv_cc_flag_unknown_warning_option=no
   4905 fi
   4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4907 fi
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4911 	CFLAGS="$xorg_testset_save_CFLAGS"
   4912 fi
   4913 
   4914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4917 	fi
   4918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4922   $as_echo_n "(cached) " >&6
   4923 else
   4924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4925 /* end confdefs.h.  */
   4926 int i;
   4927 _ACEOF
   4928 if ac_fn_c_try_compile "$LINENO"; then :
   4929   xorg_cv_cc_flag_unused_command_line_argument=yes
   4930 else
   4931   xorg_cv_cc_flag_unused_command_line_argument=no
   4932 fi
   4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4934 fi
   4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4938 	CFLAGS="$xorg_testset_save_CFLAGS"
   4939 fi
   4940 
   4941 found="no"
   4942 
   4943 	if test $found = "no" ; then
   4944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4946 		fi
   4947 
   4948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4950 		fi
   4951 
   4952 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4953 
   4954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4955 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4956 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4957 		if eval \${$cacheid+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 int i;
   4963 int
   4964 main ()
   4965 {
   4966 
   4967   ;
   4968   return 0;
   4969 }
   4970 _ACEOF
   4971 if ac_fn_c_try_link "$LINENO"; then :
   4972   eval $cacheid=yes
   4973 else
   4974   eval $cacheid=no
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext \
   4977     conftest$ac_exeext conftest.$ac_ext
   4978 fi
   4979 
   4980 
   4981 		CFLAGS="$xorg_testset_save_CFLAGS"
   4982 
   4983 		eval supported=\$$cacheid
   4984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4985 $as_echo "$supported" >&6; }
   4986 		if test "$supported" = "yes" ; then
   4987 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4988 			found="yes"
   4989 		fi
   4990 	fi
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 xorg_testset_save_CFLAGS="$CFLAGS"
   5007 
   5008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5016 /* end confdefs.h.  */
   5017 int i;
   5018 _ACEOF
   5019 if ac_fn_c_try_compile "$LINENO"; then :
   5020   xorg_cv_cc_flag_unknown_warning_option=yes
   5021 else
   5022   xorg_cv_cc_flag_unknown_warning_option=no
   5023 fi
   5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5025 fi
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5029 	CFLAGS="$xorg_testset_save_CFLAGS"
   5030 fi
   5031 
   5032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5035 	fi
   5036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5040   $as_echo_n "(cached) " >&6
   5041 else
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 _ACEOF
   5046 if ac_fn_c_try_compile "$LINENO"; then :
   5047   xorg_cv_cc_flag_unused_command_line_argument=yes
   5048 else
   5049   xorg_cv_cc_flag_unused_command_line_argument=no
   5050 fi
   5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5052 fi
   5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5056 	CFLAGS="$xorg_testset_save_CFLAGS"
   5057 fi
   5058 
   5059 found="no"
   5060 
   5061 	if test $found = "no" ; then
   5062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 		fi
   5065 
   5066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5068 		fi
   5069 
   5070 		CFLAGS="$CFLAGS -Wformat=2"
   5071 
   5072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5073 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5074 		cacheid=xorg_cv_cc_flag__Wformat_2
   5075 		if eval \${$cacheid+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 int i;
   5081 int
   5082 main ()
   5083 {
   5084 
   5085   ;
   5086   return 0;
   5087 }
   5088 _ACEOF
   5089 if ac_fn_c_try_link "$LINENO"; then :
   5090   eval $cacheid=yes
   5091 else
   5092   eval $cacheid=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext \
   5095     conftest$ac_exeext conftest.$ac_ext
   5096 fi
   5097 
   5098 
   5099 		CFLAGS="$xorg_testset_save_CFLAGS"
   5100 
   5101 		eval supported=\$$cacheid
   5102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5103 $as_echo "$supported" >&6; }
   5104 		if test "$supported" = "yes" ; then
   5105 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5106 			found="yes"
   5107 		fi
   5108 	fi
   5109 
   5110 	if test $found = "no" ; then
   5111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 		fi
   5114 
   5115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5117 		fi
   5118 
   5119 		CFLAGS="$CFLAGS -Wformat"
   5120 
   5121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5122 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5123 		cacheid=xorg_cv_cc_flag__Wformat
   5124 		if eval \${$cacheid+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 int i;
   5130 int
   5131 main ()
   5132 {
   5133 
   5134   ;
   5135   return 0;
   5136 }
   5137 _ACEOF
   5138 if ac_fn_c_try_link "$LINENO"; then :
   5139   eval $cacheid=yes
   5140 else
   5141   eval $cacheid=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext \
   5144     conftest$ac_exeext conftest.$ac_ext
   5145 fi
   5146 
   5147 
   5148 		CFLAGS="$xorg_testset_save_CFLAGS"
   5149 
   5150 		eval supported=\$$cacheid
   5151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5152 $as_echo "$supported" >&6; }
   5153 		if test "$supported" = "yes" ; then
   5154 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5155 			found="yes"
   5156 		fi
   5157 	fi
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 xorg_testset_save_CFLAGS="$CFLAGS"
   5176 
   5177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5185 /* end confdefs.h.  */
   5186 int i;
   5187 _ACEOF
   5188 if ac_fn_c_try_compile "$LINENO"; then :
   5189   xorg_cv_cc_flag_unknown_warning_option=yes
   5190 else
   5191   xorg_cv_cc_flag_unknown_warning_option=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5194 fi
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5198 	CFLAGS="$xorg_testset_save_CFLAGS"
   5199 fi
   5200 
   5201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5204 	fi
   5205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5209   $as_echo_n "(cached) " >&6
   5210 else
   5211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5212 /* end confdefs.h.  */
   5213 int i;
   5214 _ACEOF
   5215 if ac_fn_c_try_compile "$LINENO"; then :
   5216   xorg_cv_cc_flag_unused_command_line_argument=yes
   5217 else
   5218   xorg_cv_cc_flag_unused_command_line_argument=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221 fi
   5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 found="no"
   5229 
   5230 	if test $found = "no" ; then
   5231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5233 		fi
   5234 
   5235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5237 		fi
   5238 
   5239 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5240 
   5241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5242 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5243 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5244 		if eval \${$cacheid+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5248 /* end confdefs.h.  */
   5249 int i;
   5250 int
   5251 main ()
   5252 {
   5253 
   5254   ;
   5255   return 0;
   5256 }
   5257 _ACEOF
   5258 if ac_fn_c_try_link "$LINENO"; then :
   5259   eval $cacheid=yes
   5260 else
   5261   eval $cacheid=no
   5262 fi
   5263 rm -f core conftest.err conftest.$ac_objext \
   5264     conftest$ac_exeext conftest.$ac_ext
   5265 fi
   5266 
   5267 
   5268 		CFLAGS="$xorg_testset_save_CFLAGS"
   5269 
   5270 		eval supported=\$$cacheid
   5271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5272 $as_echo "$supported" >&6; }
   5273 		if test "$supported" = "yes" ; then
   5274 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5275 			found="yes"
   5276 		fi
   5277 	fi
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 xorg_testset_save_CFLAGS="$CFLAGS"
   5294 
   5295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 int i;
   5305 _ACEOF
   5306 if ac_fn_c_try_compile "$LINENO"; then :
   5307   xorg_cv_cc_flag_unknown_warning_option=yes
   5308 else
   5309   xorg_cv_cc_flag_unknown_warning_option=no
   5310 fi
   5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5312 fi
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5316 	CFLAGS="$xorg_testset_save_CFLAGS"
   5317 fi
   5318 
   5319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5322 	fi
   5323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5327   $as_echo_n "(cached) " >&6
   5328 else
   5329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5330 /* end confdefs.h.  */
   5331 int i;
   5332 _ACEOF
   5333 if ac_fn_c_try_compile "$LINENO"; then :
   5334   xorg_cv_cc_flag_unused_command_line_argument=yes
   5335 else
   5336   xorg_cv_cc_flag_unused_command_line_argument=no
   5337 fi
   5338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5339 fi
   5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5343 	CFLAGS="$xorg_testset_save_CFLAGS"
   5344 fi
   5345 
   5346 found="no"
   5347 
   5348 	if test $found = "no" ; then
   5349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5351 		fi
   5352 
   5353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 		fi
   5356 
   5357 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5358 
   5359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5360 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5361 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5362 		if eval \${$cacheid+:} false; then :
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5366 /* end confdefs.h.  */
   5367 int i;
   5368 int
   5369 main ()
   5370 {
   5371 
   5372   ;
   5373   return 0;
   5374 }
   5375 _ACEOF
   5376 if ac_fn_c_try_link "$LINENO"; then :
   5377   eval $cacheid=yes
   5378 else
   5379   eval $cacheid=no
   5380 fi
   5381 rm -f core conftest.err conftest.$ac_objext \
   5382     conftest$ac_exeext conftest.$ac_ext
   5383 fi
   5384 
   5385 
   5386 		CFLAGS="$xorg_testset_save_CFLAGS"
   5387 
   5388 		eval supported=\$$cacheid
   5389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5390 $as_echo "$supported" >&6; }
   5391 		if test "$supported" = "yes" ; then
   5392 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5393 			found="yes"
   5394 		fi
   5395 	fi
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 xorg_testset_save_CFLAGS="$CFLAGS"
   5412 
   5413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 _ACEOF
   5424 if ac_fn_c_try_compile "$LINENO"; then :
   5425   xorg_cv_cc_flag_unknown_warning_option=yes
   5426 else
   5427   xorg_cv_cc_flag_unknown_warning_option=no
   5428 fi
   5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5430 fi
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5434 	CFLAGS="$xorg_testset_save_CFLAGS"
   5435 fi
   5436 
   5437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5440 	fi
   5441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5445   $as_echo_n "(cached) " >&6
   5446 else
   5447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5448 /* end confdefs.h.  */
   5449 int i;
   5450 _ACEOF
   5451 if ac_fn_c_try_compile "$LINENO"; then :
   5452   xorg_cv_cc_flag_unused_command_line_argument=yes
   5453 else
   5454   xorg_cv_cc_flag_unused_command_line_argument=no
   5455 fi
   5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5457 fi
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5461 	CFLAGS="$xorg_testset_save_CFLAGS"
   5462 fi
   5463 
   5464 found="no"
   5465 
   5466 	if test $found = "no" ; then
   5467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5469 		fi
   5470 
   5471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5473 		fi
   5474 
   5475 		CFLAGS="$CFLAGS -Wnested-externs"
   5476 
   5477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5478 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5479 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5480 		if eval \${$cacheid+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5484 /* end confdefs.h.  */
   5485 int i;
   5486 int
   5487 main ()
   5488 {
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 if ac_fn_c_try_link "$LINENO"; then :
   5495   eval $cacheid=yes
   5496 else
   5497   eval $cacheid=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext \
   5500     conftest$ac_exeext conftest.$ac_ext
   5501 fi
   5502 
   5503 
   5504 		CFLAGS="$xorg_testset_save_CFLAGS"
   5505 
   5506 		eval supported=\$$cacheid
   5507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5508 $as_echo "$supported" >&6; }
   5509 		if test "$supported" = "yes" ; then
   5510 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5511 			found="yes"
   5512 		fi
   5513 	fi
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 xorg_testset_save_CFLAGS="$CFLAGS"
   5530 
   5531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 _ACEOF
   5542 if ac_fn_c_try_compile "$LINENO"; then :
   5543   xorg_cv_cc_flag_unknown_warning_option=yes
   5544 else
   5545   xorg_cv_cc_flag_unknown_warning_option=no
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5548 fi
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5552 	CFLAGS="$xorg_testset_save_CFLAGS"
   5553 fi
   5554 
   5555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5558 	fi
   5559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5563   $as_echo_n "(cached) " >&6
   5564 else
   5565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5566 /* end confdefs.h.  */
   5567 int i;
   5568 _ACEOF
   5569 if ac_fn_c_try_compile "$LINENO"; then :
   5570   xorg_cv_cc_flag_unused_command_line_argument=yes
   5571 else
   5572   xorg_cv_cc_flag_unused_command_line_argument=no
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5575 fi
   5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5579 	CFLAGS="$xorg_testset_save_CFLAGS"
   5580 fi
   5581 
   5582 found="no"
   5583 
   5584 	if test $found = "no" ; then
   5585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 		fi
   5588 
   5589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5591 		fi
   5592 
   5593 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5594 
   5595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5596 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5597 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5598 		if eval \${$cacheid+:} false; then :
   5599   $as_echo_n "(cached) " >&6
   5600 else
   5601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5602 /* end confdefs.h.  */
   5603 int i;
   5604 int
   5605 main ()
   5606 {
   5607 
   5608   ;
   5609   return 0;
   5610 }
   5611 _ACEOF
   5612 if ac_fn_c_try_link "$LINENO"; then :
   5613   eval $cacheid=yes
   5614 else
   5615   eval $cacheid=no
   5616 fi
   5617 rm -f core conftest.err conftest.$ac_objext \
   5618     conftest$ac_exeext conftest.$ac_ext
   5619 fi
   5620 
   5621 
   5622 		CFLAGS="$xorg_testset_save_CFLAGS"
   5623 
   5624 		eval supported=\$$cacheid
   5625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5626 $as_echo "$supported" >&6; }
   5627 		if test "$supported" = "yes" ; then
   5628 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5629 			found="yes"
   5630 		fi
   5631 	fi
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 xorg_testset_save_CFLAGS="$CFLAGS"
   5648 
   5649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 _ACEOF
   5660 if ac_fn_c_try_compile "$LINENO"; then :
   5661   xorg_cv_cc_flag_unknown_warning_option=yes
   5662 else
   5663   xorg_cv_cc_flag_unknown_warning_option=no
   5664 fi
   5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5666 fi
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5670 	CFLAGS="$xorg_testset_save_CFLAGS"
   5671 fi
   5672 
   5673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5676 	fi
   5677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5681   $as_echo_n "(cached) " >&6
   5682 else
   5683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5684 /* end confdefs.h.  */
   5685 int i;
   5686 _ACEOF
   5687 if ac_fn_c_try_compile "$LINENO"; then :
   5688   xorg_cv_cc_flag_unused_command_line_argument=yes
   5689 else
   5690   xorg_cv_cc_flag_unused_command_line_argument=no
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5693 fi
   5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5697 	CFLAGS="$xorg_testset_save_CFLAGS"
   5698 fi
   5699 
   5700 found="no"
   5701 
   5702 	if test $found = "no" ; then
   5703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 		fi
   5706 
   5707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5709 		fi
   5710 
   5711 		CFLAGS="$CFLAGS -Wold-style-definition"
   5712 
   5713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5714 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5715 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5716 		if eval \${$cacheid+:} false; then :
   5717   $as_echo_n "(cached) " >&6
   5718 else
   5719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 int
   5723 main ()
   5724 {
   5725 
   5726   ;
   5727   return 0;
   5728 }
   5729 _ACEOF
   5730 if ac_fn_c_try_link "$LINENO"; then :
   5731   eval $cacheid=yes
   5732 else
   5733   eval $cacheid=no
   5734 fi
   5735 rm -f core conftest.err conftest.$ac_objext \
   5736     conftest$ac_exeext conftest.$ac_ext
   5737 fi
   5738 
   5739 
   5740 		CFLAGS="$xorg_testset_save_CFLAGS"
   5741 
   5742 		eval supported=\$$cacheid
   5743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5744 $as_echo "$supported" >&6; }
   5745 		if test "$supported" = "yes" ; then
   5746 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5747 			found="yes"
   5748 		fi
   5749 	fi
   5750 
   5751 	if test $found = "no" ; then
   5752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 		fi
   5755 
   5756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5758 		fi
   5759 
   5760 		CFLAGS="$CFLAGS -fd"
   5761 
   5762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5763 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5764 		cacheid=xorg_cv_cc_flag__fd
   5765 		if eval \${$cacheid+:} false; then :
   5766   $as_echo_n "(cached) " >&6
   5767 else
   5768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5769 /* end confdefs.h.  */
   5770 int i;
   5771 int
   5772 main ()
   5773 {
   5774 
   5775   ;
   5776   return 0;
   5777 }
   5778 _ACEOF
   5779 if ac_fn_c_try_link "$LINENO"; then :
   5780   eval $cacheid=yes
   5781 else
   5782   eval $cacheid=no
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext \
   5785     conftest$ac_exeext conftest.$ac_ext
   5786 fi
   5787 
   5788 
   5789 		CFLAGS="$xorg_testset_save_CFLAGS"
   5790 
   5791 		eval supported=\$$cacheid
   5792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5793 $as_echo "$supported" >&6; }
   5794 		if test "$supported" = "yes" ; then
   5795 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5796 			found="yes"
   5797 		fi
   5798 	fi
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 xorg_testset_save_CFLAGS="$CFLAGS"
   5815 
   5816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 _ACEOF
   5827 if ac_fn_c_try_compile "$LINENO"; then :
   5828   xorg_cv_cc_flag_unknown_warning_option=yes
   5829 else
   5830   xorg_cv_cc_flag_unknown_warning_option=no
   5831 fi
   5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5833 fi
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5837 	CFLAGS="$xorg_testset_save_CFLAGS"
   5838 fi
   5839 
   5840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5843 	fi
   5844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 _ACEOF
   5854 if ac_fn_c_try_compile "$LINENO"; then :
   5855   xorg_cv_cc_flag_unused_command_line_argument=yes
   5856 else
   5857   xorg_cv_cc_flag_unused_command_line_argument=no
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5860 fi
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5864 	CFLAGS="$xorg_testset_save_CFLAGS"
   5865 fi
   5866 
   5867 found="no"
   5868 
   5869 	if test $found = "no" ; then
   5870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 		fi
   5873 
   5874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5876 		fi
   5877 
   5878 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5879 
   5880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5881 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5882 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5883 		if eval \${$cacheid+:} false; then :
   5884   $as_echo_n "(cached) " >&6
   5885 else
   5886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5887 /* end confdefs.h.  */
   5888 int i;
   5889 int
   5890 main ()
   5891 {
   5892 
   5893   ;
   5894   return 0;
   5895 }
   5896 _ACEOF
   5897 if ac_fn_c_try_link "$LINENO"; then :
   5898   eval $cacheid=yes
   5899 else
   5900   eval $cacheid=no
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext \
   5903     conftest$ac_exeext conftest.$ac_ext
   5904 fi
   5905 
   5906 
   5907 		CFLAGS="$xorg_testset_save_CFLAGS"
   5908 
   5909 		eval supported=\$$cacheid
   5910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5911 $as_echo "$supported" >&6; }
   5912 		if test "$supported" = "yes" ; then
   5913 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5914 			found="yes"
   5915 		fi
   5916 	fi
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 # This chunk adds additional warnings that could catch undesired effects.
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 xorg_testset_save_CFLAGS="$CFLAGS"
   5937 
   5938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5941 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5942 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5943   $as_echo_n "(cached) " >&6
   5944 else
   5945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5946 /* end confdefs.h.  */
   5947 int i;
   5948 _ACEOF
   5949 if ac_fn_c_try_compile "$LINENO"; then :
   5950   xorg_cv_cc_flag_unknown_warning_option=yes
   5951 else
   5952   xorg_cv_cc_flag_unknown_warning_option=no
   5953 fi
   5954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5955 fi
   5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5957 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5959 	CFLAGS="$xorg_testset_save_CFLAGS"
   5960 fi
   5961 
   5962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5965 	fi
   5966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5968 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5969 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5970   $as_echo_n "(cached) " >&6
   5971 else
   5972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5973 /* end confdefs.h.  */
   5974 int i;
   5975 _ACEOF
   5976 if ac_fn_c_try_compile "$LINENO"; then :
   5977   xorg_cv_cc_flag_unused_command_line_argument=yes
   5978 else
   5979   xorg_cv_cc_flag_unused_command_line_argument=no
   5980 fi
   5981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5982 fi
   5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5984 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5986 	CFLAGS="$xorg_testset_save_CFLAGS"
   5987 fi
   5988 
   5989 found="no"
   5990 
   5991 	if test $found = "no" ; then
   5992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5994 		fi
   5995 
   5996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5998 		fi
   5999 
   6000 		CFLAGS="$CFLAGS -Wunused"
   6001 
   6002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6003 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6004 		cacheid=xorg_cv_cc_flag__Wunused
   6005 		if eval \${$cacheid+:} false; then :
   6006   $as_echo_n "(cached) " >&6
   6007 else
   6008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 int
   6012 main ()
   6013 {
   6014 
   6015   ;
   6016   return 0;
   6017 }
   6018 _ACEOF
   6019 if ac_fn_c_try_link "$LINENO"; then :
   6020   eval $cacheid=yes
   6021 else
   6022   eval $cacheid=no
   6023 fi
   6024 rm -f core conftest.err conftest.$ac_objext \
   6025     conftest$ac_exeext conftest.$ac_ext
   6026 fi
   6027 
   6028 
   6029 		CFLAGS="$xorg_testset_save_CFLAGS"
   6030 
   6031 		eval supported=\$$cacheid
   6032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6033 $as_echo "$supported" >&6; }
   6034 		if test "$supported" = "yes" ; then
   6035 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6036 			found="yes"
   6037 		fi
   6038 	fi
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 xorg_testset_save_CFLAGS="$CFLAGS"
   6055 
   6056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6061   $as_echo_n "(cached) " >&6
   6062 else
   6063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6064 /* end confdefs.h.  */
   6065 int i;
   6066 _ACEOF
   6067 if ac_fn_c_try_compile "$LINENO"; then :
   6068   xorg_cv_cc_flag_unknown_warning_option=yes
   6069 else
   6070   xorg_cv_cc_flag_unknown_warning_option=no
   6071 fi
   6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6073 fi
   6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6077 	CFLAGS="$xorg_testset_save_CFLAGS"
   6078 fi
   6079 
   6080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 	fi
   6084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6088   $as_echo_n "(cached) " >&6
   6089 else
   6090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6091 /* end confdefs.h.  */
   6092 int i;
   6093 _ACEOF
   6094 if ac_fn_c_try_compile "$LINENO"; then :
   6095   xorg_cv_cc_flag_unused_command_line_argument=yes
   6096 else
   6097   xorg_cv_cc_flag_unused_command_line_argument=no
   6098 fi
   6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6100 fi
   6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6104 	CFLAGS="$xorg_testset_save_CFLAGS"
   6105 fi
   6106 
   6107 found="no"
   6108 
   6109 	if test $found = "no" ; then
   6110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 		fi
   6113 
   6114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6116 		fi
   6117 
   6118 		CFLAGS="$CFLAGS -Wuninitialized"
   6119 
   6120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6121 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6122 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6123 		if eval \${$cacheid+:} false; then :
   6124   $as_echo_n "(cached) " >&6
   6125 else
   6126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 int
   6130 main ()
   6131 {
   6132 
   6133   ;
   6134   return 0;
   6135 }
   6136 _ACEOF
   6137 if ac_fn_c_try_link "$LINENO"; then :
   6138   eval $cacheid=yes
   6139 else
   6140   eval $cacheid=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext \
   6143     conftest$ac_exeext conftest.$ac_ext
   6144 fi
   6145 
   6146 
   6147 		CFLAGS="$xorg_testset_save_CFLAGS"
   6148 
   6149 		eval supported=\$$cacheid
   6150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6151 $as_echo "$supported" >&6; }
   6152 		if test "$supported" = "yes" ; then
   6153 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6154 			found="yes"
   6155 		fi
   6156 	fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 xorg_testset_save_CFLAGS="$CFLAGS"
   6173 
   6174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6179   $as_echo_n "(cached) " >&6
   6180 else
   6181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6182 /* end confdefs.h.  */
   6183 int i;
   6184 _ACEOF
   6185 if ac_fn_c_try_compile "$LINENO"; then :
   6186   xorg_cv_cc_flag_unknown_warning_option=yes
   6187 else
   6188   xorg_cv_cc_flag_unknown_warning_option=no
   6189 fi
   6190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6191 fi
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6195 	CFLAGS="$xorg_testset_save_CFLAGS"
   6196 fi
   6197 
   6198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6201 	fi
   6202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6206   $as_echo_n "(cached) " >&6
   6207 else
   6208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6209 /* end confdefs.h.  */
   6210 int i;
   6211 _ACEOF
   6212 if ac_fn_c_try_compile "$LINENO"; then :
   6213   xorg_cv_cc_flag_unused_command_line_argument=yes
   6214 else
   6215   xorg_cv_cc_flag_unused_command_line_argument=no
   6216 fi
   6217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6218 fi
   6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6222 	CFLAGS="$xorg_testset_save_CFLAGS"
   6223 fi
   6224 
   6225 found="no"
   6226 
   6227 	if test $found = "no" ; then
   6228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6230 		fi
   6231 
   6232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6234 		fi
   6235 
   6236 		CFLAGS="$CFLAGS -Wshadow"
   6237 
   6238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6239 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6240 		cacheid=xorg_cv_cc_flag__Wshadow
   6241 		if eval \${$cacheid+:} false; then :
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6245 /* end confdefs.h.  */
   6246 int i;
   6247 int
   6248 main ()
   6249 {
   6250 
   6251   ;
   6252   return 0;
   6253 }
   6254 _ACEOF
   6255 if ac_fn_c_try_link "$LINENO"; then :
   6256   eval $cacheid=yes
   6257 else
   6258   eval $cacheid=no
   6259 fi
   6260 rm -f core conftest.err conftest.$ac_objext \
   6261     conftest$ac_exeext conftest.$ac_ext
   6262 fi
   6263 
   6264 
   6265 		CFLAGS="$xorg_testset_save_CFLAGS"
   6266 
   6267 		eval supported=\$$cacheid
   6268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6269 $as_echo "$supported" >&6; }
   6270 		if test "$supported" = "yes" ; then
   6271 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6272 			found="yes"
   6273 		fi
   6274 	fi
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 xorg_testset_save_CFLAGS="$CFLAGS"
   6291 
   6292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6300 /* end confdefs.h.  */
   6301 int i;
   6302 _ACEOF
   6303 if ac_fn_c_try_compile "$LINENO"; then :
   6304   xorg_cv_cc_flag_unknown_warning_option=yes
   6305 else
   6306   xorg_cv_cc_flag_unknown_warning_option=no
   6307 fi
   6308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6309 fi
   6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6313 	CFLAGS="$xorg_testset_save_CFLAGS"
   6314 fi
   6315 
   6316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 	fi
   6320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6324   $as_echo_n "(cached) " >&6
   6325 else
   6326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 _ACEOF
   6330 if ac_fn_c_try_compile "$LINENO"; then :
   6331   xorg_cv_cc_flag_unused_command_line_argument=yes
   6332 else
   6333   xorg_cv_cc_flag_unused_command_line_argument=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6336 fi
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6340 	CFLAGS="$xorg_testset_save_CFLAGS"
   6341 fi
   6342 
   6343 found="no"
   6344 
   6345 	if test $found = "no" ; then
   6346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 		fi
   6349 
   6350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6352 		fi
   6353 
   6354 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6355 
   6356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6357 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6358 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6359 		if eval \${$cacheid+:} false; then :
   6360   $as_echo_n "(cached) " >&6
   6361 else
   6362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 int
   6366 main ()
   6367 {
   6368 
   6369   ;
   6370   return 0;
   6371 }
   6372 _ACEOF
   6373 if ac_fn_c_try_link "$LINENO"; then :
   6374   eval $cacheid=yes
   6375 else
   6376   eval $cacheid=no
   6377 fi
   6378 rm -f core conftest.err conftest.$ac_objext \
   6379     conftest$ac_exeext conftest.$ac_ext
   6380 fi
   6381 
   6382 
   6383 		CFLAGS="$xorg_testset_save_CFLAGS"
   6384 
   6385 		eval supported=\$$cacheid
   6386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6387 $as_echo "$supported" >&6; }
   6388 		if test "$supported" = "yes" ; then
   6389 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6390 			found="yes"
   6391 		fi
   6392 	fi
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 xorg_testset_save_CFLAGS="$CFLAGS"
   6409 
   6410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6415   $as_echo_n "(cached) " >&6
   6416 else
   6417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6418 /* end confdefs.h.  */
   6419 int i;
   6420 _ACEOF
   6421 if ac_fn_c_try_compile "$LINENO"; then :
   6422   xorg_cv_cc_flag_unknown_warning_option=yes
   6423 else
   6424   xorg_cv_cc_flag_unknown_warning_option=no
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6427 fi
   6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6431 	CFLAGS="$xorg_testset_save_CFLAGS"
   6432 fi
   6433 
   6434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6437 	fi
   6438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6442   $as_echo_n "(cached) " >&6
   6443 else
   6444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6445 /* end confdefs.h.  */
   6446 int i;
   6447 _ACEOF
   6448 if ac_fn_c_try_compile "$LINENO"; then :
   6449   xorg_cv_cc_flag_unused_command_line_argument=yes
   6450 else
   6451   xorg_cv_cc_flag_unused_command_line_argument=no
   6452 fi
   6453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6454 fi
   6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6458 	CFLAGS="$xorg_testset_save_CFLAGS"
   6459 fi
   6460 
   6461 found="no"
   6462 
   6463 	if test $found = "no" ; then
   6464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6466 		fi
   6467 
   6468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6470 		fi
   6471 
   6472 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6473 
   6474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6475 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6476 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6477 		if eval \${$cacheid+:} false; then :
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6481 /* end confdefs.h.  */
   6482 int i;
   6483 int
   6484 main ()
   6485 {
   6486 
   6487   ;
   6488   return 0;
   6489 }
   6490 _ACEOF
   6491 if ac_fn_c_try_link "$LINENO"; then :
   6492   eval $cacheid=yes
   6493 else
   6494   eval $cacheid=no
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext \
   6497     conftest$ac_exeext conftest.$ac_ext
   6498 fi
   6499 
   6500 
   6501 		CFLAGS="$xorg_testset_save_CFLAGS"
   6502 
   6503 		eval supported=\$$cacheid
   6504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6505 $as_echo "$supported" >&6; }
   6506 		if test "$supported" = "yes" ; then
   6507 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6508 			found="yes"
   6509 		fi
   6510 	fi
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 xorg_testset_save_CFLAGS="$CFLAGS"
   6527 
   6528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6533   $as_echo_n "(cached) " >&6
   6534 else
   6535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6536 /* end confdefs.h.  */
   6537 int i;
   6538 _ACEOF
   6539 if ac_fn_c_try_compile "$LINENO"; then :
   6540   xorg_cv_cc_flag_unknown_warning_option=yes
   6541 else
   6542   xorg_cv_cc_flag_unknown_warning_option=no
   6543 fi
   6544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6545 fi
   6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6549 	CFLAGS="$xorg_testset_save_CFLAGS"
   6550 fi
   6551 
   6552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6555 	fi
   6556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6560   $as_echo_n "(cached) " >&6
   6561 else
   6562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6563 /* end confdefs.h.  */
   6564 int i;
   6565 _ACEOF
   6566 if ac_fn_c_try_compile "$LINENO"; then :
   6567   xorg_cv_cc_flag_unused_command_line_argument=yes
   6568 else
   6569   xorg_cv_cc_flag_unused_command_line_argument=no
   6570 fi
   6571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6572 fi
   6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6576 	CFLAGS="$xorg_testset_save_CFLAGS"
   6577 fi
   6578 
   6579 found="no"
   6580 
   6581 	if test $found = "no" ; then
   6582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6584 		fi
   6585 
   6586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6588 		fi
   6589 
   6590 		CFLAGS="$CFLAGS -Wredundant-decls"
   6591 
   6592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6593 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6594 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6595 		if eval \${$cacheid+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6599 /* end confdefs.h.  */
   6600 int i;
   6601 int
   6602 main ()
   6603 {
   6604 
   6605   ;
   6606   return 0;
   6607 }
   6608 _ACEOF
   6609 if ac_fn_c_try_link "$LINENO"; then :
   6610   eval $cacheid=yes
   6611 else
   6612   eval $cacheid=no
   6613 fi
   6614 rm -f core conftest.err conftest.$ac_objext \
   6615     conftest$ac_exeext conftest.$ac_ext
   6616 fi
   6617 
   6618 
   6619 		CFLAGS="$xorg_testset_save_CFLAGS"
   6620 
   6621 		eval supported=\$$cacheid
   6622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6623 $as_echo "$supported" >&6; }
   6624 		if test "$supported" = "yes" ; then
   6625 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6626 			found="yes"
   6627 		fi
   6628 	fi
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 xorg_testset_save_CFLAGS="$CFLAGS"
   6645 
   6646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6654 /* end confdefs.h.  */
   6655 int i;
   6656 _ACEOF
   6657 if ac_fn_c_try_compile "$LINENO"; then :
   6658   xorg_cv_cc_flag_unknown_warning_option=yes
   6659 else
   6660   xorg_cv_cc_flag_unknown_warning_option=no
   6661 fi
   6662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6663 fi
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6667 	CFLAGS="$xorg_testset_save_CFLAGS"
   6668 fi
   6669 
   6670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6673 	fi
   6674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6678   $as_echo_n "(cached) " >&6
   6679 else
   6680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6681 /* end confdefs.h.  */
   6682 int i;
   6683 _ACEOF
   6684 if ac_fn_c_try_compile "$LINENO"; then :
   6685   xorg_cv_cc_flag_unused_command_line_argument=yes
   6686 else
   6687   xorg_cv_cc_flag_unused_command_line_argument=no
   6688 fi
   6689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6690 fi
   6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6694 	CFLAGS="$xorg_testset_save_CFLAGS"
   6695 fi
   6696 
   6697 found="no"
   6698 
   6699 	if test $found = "no" ; then
   6700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6702 		fi
   6703 
   6704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6706 		fi
   6707 
   6708 		CFLAGS="$CFLAGS -Wlogical-op"
   6709 
   6710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6711 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6712 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6713 		if eval \${$cacheid+:} false; then :
   6714   $as_echo_n "(cached) " >&6
   6715 else
   6716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6717 /* end confdefs.h.  */
   6718 int i;
   6719 int
   6720 main ()
   6721 {
   6722 
   6723   ;
   6724   return 0;
   6725 }
   6726 _ACEOF
   6727 if ac_fn_c_try_link "$LINENO"; then :
   6728   eval $cacheid=yes
   6729 else
   6730   eval $cacheid=no
   6731 fi
   6732 rm -f core conftest.err conftest.$ac_objext \
   6733     conftest$ac_exeext conftest.$ac_ext
   6734 fi
   6735 
   6736 
   6737 		CFLAGS="$xorg_testset_save_CFLAGS"
   6738 
   6739 		eval supported=\$$cacheid
   6740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6741 $as_echo "$supported" >&6; }
   6742 		if test "$supported" = "yes" ; then
   6743 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6744 			found="yes"
   6745 		fi
   6746 	fi
   6747 
   6748 
   6749 
   6750 # These are currently disabled because they are noisy.  They will be enabled
   6751 # in the future once the codebase is sufficiently modernized to silence
   6752 # them.  For now, I don't want them to drown out the other warnings.
   6753 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6754 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6755 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6756 
   6757 # Turn some warnings into errors, so we don't accidently get successful builds
   6758 # when there are problems that should be fixed.
   6759 
   6760 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 xorg_testset_save_CFLAGS="$CFLAGS"
   6775 
   6776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6779 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6780 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"; then :
   6788   xorg_cv_cc_flag_unknown_warning_option=yes
   6789 else
   6790   xorg_cv_cc_flag_unknown_warning_option=no
   6791 fi
   6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6793 fi
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6795 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6797 	CFLAGS="$xorg_testset_save_CFLAGS"
   6798 fi
   6799 
   6800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6803 	fi
   6804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6806 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6807 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6808   $as_echo_n "(cached) " >&6
   6809 else
   6810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6811 /* end confdefs.h.  */
   6812 int i;
   6813 _ACEOF
   6814 if ac_fn_c_try_compile "$LINENO"; then :
   6815   xorg_cv_cc_flag_unused_command_line_argument=yes
   6816 else
   6817   xorg_cv_cc_flag_unused_command_line_argument=no
   6818 fi
   6819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6820 fi
   6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6822 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6824 	CFLAGS="$xorg_testset_save_CFLAGS"
   6825 fi
   6826 
   6827 found="no"
   6828 
   6829 	if test $found = "no" ; then
   6830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6832 		fi
   6833 
   6834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6836 		fi
   6837 
   6838 		CFLAGS="$CFLAGS -Werror=implicit"
   6839 
   6840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6841 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6842 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6843 		if eval \${$cacheid+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6847 /* end confdefs.h.  */
   6848 int i;
   6849 int
   6850 main ()
   6851 {
   6852 
   6853   ;
   6854   return 0;
   6855 }
   6856 _ACEOF
   6857 if ac_fn_c_try_link "$LINENO"; then :
   6858   eval $cacheid=yes
   6859 else
   6860   eval $cacheid=no
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext \
   6863     conftest$ac_exeext conftest.$ac_ext
   6864 fi
   6865 
   6866 
   6867 		CFLAGS="$xorg_testset_save_CFLAGS"
   6868 
   6869 		eval supported=\$$cacheid
   6870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6871 $as_echo "$supported" >&6; }
   6872 		if test "$supported" = "yes" ; then
   6873 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6874 			found="yes"
   6875 		fi
   6876 	fi
   6877 
   6878 	if test $found = "no" ; then
   6879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6881 		fi
   6882 
   6883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6885 		fi
   6886 
   6887 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6888 
   6889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6890 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6891 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6892 		if eval \${$cacheid+:} false; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6896 /* end confdefs.h.  */
   6897 int i;
   6898 int
   6899 main ()
   6900 {
   6901 
   6902   ;
   6903   return 0;
   6904 }
   6905 _ACEOF
   6906 if ac_fn_c_try_link "$LINENO"; then :
   6907   eval $cacheid=yes
   6908 else
   6909   eval $cacheid=no
   6910 fi
   6911 rm -f core conftest.err conftest.$ac_objext \
   6912     conftest$ac_exeext conftest.$ac_ext
   6913 fi
   6914 
   6915 
   6916 		CFLAGS="$xorg_testset_save_CFLAGS"
   6917 
   6918 		eval supported=\$$cacheid
   6919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6920 $as_echo "$supported" >&6; }
   6921 		if test "$supported" = "yes" ; then
   6922 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6923 			found="yes"
   6924 		fi
   6925 	fi
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 xorg_testset_save_CFLAGS="$CFLAGS"
   6942 
   6943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6946 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6947 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6951 /* end confdefs.h.  */
   6952 int i;
   6953 _ACEOF
   6954 if ac_fn_c_try_compile "$LINENO"; then :
   6955   xorg_cv_cc_flag_unknown_warning_option=yes
   6956 else
   6957   xorg_cv_cc_flag_unknown_warning_option=no
   6958 fi
   6959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6960 fi
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6962 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6964 	CFLAGS="$xorg_testset_save_CFLAGS"
   6965 fi
   6966 
   6967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6970 	fi
   6971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6973 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6974 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6975   $as_echo_n "(cached) " >&6
   6976 else
   6977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6978 /* end confdefs.h.  */
   6979 int i;
   6980 _ACEOF
   6981 if ac_fn_c_try_compile "$LINENO"; then :
   6982   xorg_cv_cc_flag_unused_command_line_argument=yes
   6983 else
   6984   xorg_cv_cc_flag_unused_command_line_argument=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6987 fi
   6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6989 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6991 	CFLAGS="$xorg_testset_save_CFLAGS"
   6992 fi
   6993 
   6994 found="no"
   6995 
   6996 	if test $found = "no" ; then
   6997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 		fi
   7000 
   7001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7003 		fi
   7004 
   7005 		CFLAGS="$CFLAGS -Werror=nonnull"
   7006 
   7007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7008 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7009 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7010 		if eval \${$cacheid+:} false; then :
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7014 /* end confdefs.h.  */
   7015 int i;
   7016 int
   7017 main ()
   7018 {
   7019 
   7020   ;
   7021   return 0;
   7022 }
   7023 _ACEOF
   7024 if ac_fn_c_try_link "$LINENO"; then :
   7025   eval $cacheid=yes
   7026 else
   7027   eval $cacheid=no
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext \
   7030     conftest$ac_exeext conftest.$ac_ext
   7031 fi
   7032 
   7033 
   7034 		CFLAGS="$xorg_testset_save_CFLAGS"
   7035 
   7036 		eval supported=\$$cacheid
   7037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7038 $as_echo "$supported" >&6; }
   7039 		if test "$supported" = "yes" ; then
   7040 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7041 			found="yes"
   7042 		fi
   7043 	fi
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 xorg_testset_save_CFLAGS="$CFLAGS"
   7060 
   7061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7065 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 _ACEOF
   7072 if ac_fn_c_try_compile "$LINENO"; then :
   7073   xorg_cv_cc_flag_unknown_warning_option=yes
   7074 else
   7075   xorg_cv_cc_flag_unknown_warning_option=no
   7076 fi
   7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7078 fi
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7082 	CFLAGS="$xorg_testset_save_CFLAGS"
   7083 fi
   7084 
   7085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7088 	fi
   7089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7093   $as_echo_n "(cached) " >&6
   7094 else
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 _ACEOF
   7099 if ac_fn_c_try_compile "$LINENO"; then :
   7100   xorg_cv_cc_flag_unused_command_line_argument=yes
   7101 else
   7102   xorg_cv_cc_flag_unused_command_line_argument=no
   7103 fi
   7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7105 fi
   7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7109 	CFLAGS="$xorg_testset_save_CFLAGS"
   7110 fi
   7111 
   7112 found="no"
   7113 
   7114 	if test $found = "no" ; then
   7115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 		fi
   7118 
   7119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7121 		fi
   7122 
   7123 		CFLAGS="$CFLAGS -Werror=init-self"
   7124 
   7125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7126 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7127 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7128 		if eval \${$cacheid+:} false; then :
   7129   $as_echo_n "(cached) " >&6
   7130 else
   7131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 int
   7135 main ()
   7136 {
   7137 
   7138   ;
   7139   return 0;
   7140 }
   7141 _ACEOF
   7142 if ac_fn_c_try_link "$LINENO"; then :
   7143   eval $cacheid=yes
   7144 else
   7145   eval $cacheid=no
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext \
   7148     conftest$ac_exeext conftest.$ac_ext
   7149 fi
   7150 
   7151 
   7152 		CFLAGS="$xorg_testset_save_CFLAGS"
   7153 
   7154 		eval supported=\$$cacheid
   7155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7156 $as_echo "$supported" >&6; }
   7157 		if test "$supported" = "yes" ; then
   7158 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7159 			found="yes"
   7160 		fi
   7161 	fi
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 xorg_testset_save_CFLAGS="$CFLAGS"
   7178 
   7179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7182 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7183 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7187 /* end confdefs.h.  */
   7188 int i;
   7189 _ACEOF
   7190 if ac_fn_c_try_compile "$LINENO"; then :
   7191   xorg_cv_cc_flag_unknown_warning_option=yes
   7192 else
   7193   xorg_cv_cc_flag_unknown_warning_option=no
   7194 fi
   7195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7196 fi
   7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7198 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7200 	CFLAGS="$xorg_testset_save_CFLAGS"
   7201 fi
   7202 
   7203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7206 	fi
   7207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7209 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7210 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7211   $as_echo_n "(cached) " >&6
   7212 else
   7213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 int i;
   7216 _ACEOF
   7217 if ac_fn_c_try_compile "$LINENO"; then :
   7218   xorg_cv_cc_flag_unused_command_line_argument=yes
   7219 else
   7220   xorg_cv_cc_flag_unused_command_line_argument=no
   7221 fi
   7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7223 fi
   7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7225 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7227 	CFLAGS="$xorg_testset_save_CFLAGS"
   7228 fi
   7229 
   7230 found="no"
   7231 
   7232 	if test $found = "no" ; then
   7233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7235 		fi
   7236 
   7237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7239 		fi
   7240 
   7241 		CFLAGS="$CFLAGS -Werror=main"
   7242 
   7243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7244 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7245 		cacheid=xorg_cv_cc_flag__Werror_main
   7246 		if eval \${$cacheid+:} false; then :
   7247   $as_echo_n "(cached) " >&6
   7248 else
   7249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7250 /* end confdefs.h.  */
   7251 int i;
   7252 int
   7253 main ()
   7254 {
   7255 
   7256   ;
   7257   return 0;
   7258 }
   7259 _ACEOF
   7260 if ac_fn_c_try_link "$LINENO"; then :
   7261   eval $cacheid=yes
   7262 else
   7263   eval $cacheid=no
   7264 fi
   7265 rm -f core conftest.err conftest.$ac_objext \
   7266     conftest$ac_exeext conftest.$ac_ext
   7267 fi
   7268 
   7269 
   7270 		CFLAGS="$xorg_testset_save_CFLAGS"
   7271 
   7272 		eval supported=\$$cacheid
   7273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7274 $as_echo "$supported" >&6; }
   7275 		if test "$supported" = "yes" ; then
   7276 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7277 			found="yes"
   7278 		fi
   7279 	fi
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 xorg_testset_save_CFLAGS="$CFLAGS"
   7296 
   7297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 int i;
   7307 _ACEOF
   7308 if ac_fn_c_try_compile "$LINENO"; then :
   7309   xorg_cv_cc_flag_unknown_warning_option=yes
   7310 else
   7311   xorg_cv_cc_flag_unknown_warning_option=no
   7312 fi
   7313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7314 fi
   7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7318 	CFLAGS="$xorg_testset_save_CFLAGS"
   7319 fi
   7320 
   7321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7324 	fi
   7325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7329   $as_echo_n "(cached) " >&6
   7330 else
   7331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7332 /* end confdefs.h.  */
   7333 int i;
   7334 _ACEOF
   7335 if ac_fn_c_try_compile "$LINENO"; then :
   7336   xorg_cv_cc_flag_unused_command_line_argument=yes
   7337 else
   7338   xorg_cv_cc_flag_unused_command_line_argument=no
   7339 fi
   7340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7341 fi
   7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7345 	CFLAGS="$xorg_testset_save_CFLAGS"
   7346 fi
   7347 
   7348 found="no"
   7349 
   7350 	if test $found = "no" ; then
   7351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7353 		fi
   7354 
   7355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7357 		fi
   7358 
   7359 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7360 
   7361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7362 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7363 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7364 		if eval \${$cacheid+:} false; then :
   7365   $as_echo_n "(cached) " >&6
   7366 else
   7367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7368 /* end confdefs.h.  */
   7369 int i;
   7370 int
   7371 main ()
   7372 {
   7373 
   7374   ;
   7375   return 0;
   7376 }
   7377 _ACEOF
   7378 if ac_fn_c_try_link "$LINENO"; then :
   7379   eval $cacheid=yes
   7380 else
   7381   eval $cacheid=no
   7382 fi
   7383 rm -f core conftest.err conftest.$ac_objext \
   7384     conftest$ac_exeext conftest.$ac_ext
   7385 fi
   7386 
   7387 
   7388 		CFLAGS="$xorg_testset_save_CFLAGS"
   7389 
   7390 		eval supported=\$$cacheid
   7391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7392 $as_echo "$supported" >&6; }
   7393 		if test "$supported" = "yes" ; then
   7394 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7395 			found="yes"
   7396 		fi
   7397 	fi
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 xorg_testset_save_CFLAGS="$CFLAGS"
   7414 
   7415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7420   $as_echo_n "(cached) " >&6
   7421 else
   7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7423 /* end confdefs.h.  */
   7424 int i;
   7425 _ACEOF
   7426 if ac_fn_c_try_compile "$LINENO"; then :
   7427   xorg_cv_cc_flag_unknown_warning_option=yes
   7428 else
   7429   xorg_cv_cc_flag_unknown_warning_option=no
   7430 fi
   7431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7432 fi
   7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7436 	CFLAGS="$xorg_testset_save_CFLAGS"
   7437 fi
   7438 
   7439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7442 	fi
   7443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7447   $as_echo_n "(cached) " >&6
   7448 else
   7449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7450 /* end confdefs.h.  */
   7451 int i;
   7452 _ACEOF
   7453 if ac_fn_c_try_compile "$LINENO"; then :
   7454   xorg_cv_cc_flag_unused_command_line_argument=yes
   7455 else
   7456   xorg_cv_cc_flag_unused_command_line_argument=no
   7457 fi
   7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7459 fi
   7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7463 	CFLAGS="$xorg_testset_save_CFLAGS"
   7464 fi
   7465 
   7466 found="no"
   7467 
   7468 	if test $found = "no" ; then
   7469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7471 		fi
   7472 
   7473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7475 		fi
   7476 
   7477 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7478 
   7479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7480 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7481 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7482 		if eval \${$cacheid+:} false; then :
   7483   $as_echo_n "(cached) " >&6
   7484 else
   7485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 int i;
   7488 int
   7489 main ()
   7490 {
   7491 
   7492   ;
   7493   return 0;
   7494 }
   7495 _ACEOF
   7496 if ac_fn_c_try_link "$LINENO"; then :
   7497   eval $cacheid=yes
   7498 else
   7499   eval $cacheid=no
   7500 fi
   7501 rm -f core conftest.err conftest.$ac_objext \
   7502     conftest$ac_exeext conftest.$ac_ext
   7503 fi
   7504 
   7505 
   7506 		CFLAGS="$xorg_testset_save_CFLAGS"
   7507 
   7508 		eval supported=\$$cacheid
   7509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7510 $as_echo "$supported" >&6; }
   7511 		if test "$supported" = "yes" ; then
   7512 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7513 			found="yes"
   7514 		fi
   7515 	fi
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 xorg_testset_save_CFLAGS="$CFLAGS"
   7532 
   7533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7541 /* end confdefs.h.  */
   7542 int i;
   7543 _ACEOF
   7544 if ac_fn_c_try_compile "$LINENO"; then :
   7545   xorg_cv_cc_flag_unknown_warning_option=yes
   7546 else
   7547   xorg_cv_cc_flag_unknown_warning_option=no
   7548 fi
   7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7550 fi
   7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7554 	CFLAGS="$xorg_testset_save_CFLAGS"
   7555 fi
   7556 
   7557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 	fi
   7561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7565   $as_echo_n "(cached) " >&6
   7566 else
   7567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7568 /* end confdefs.h.  */
   7569 int i;
   7570 _ACEOF
   7571 if ac_fn_c_try_compile "$LINENO"; then :
   7572   xorg_cv_cc_flag_unused_command_line_argument=yes
   7573 else
   7574   xorg_cv_cc_flag_unused_command_line_argument=no
   7575 fi
   7576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7577 fi
   7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7581 	CFLAGS="$xorg_testset_save_CFLAGS"
   7582 fi
   7583 
   7584 found="no"
   7585 
   7586 	if test $found = "no" ; then
   7587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 		fi
   7590 
   7591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7593 		fi
   7594 
   7595 		CFLAGS="$CFLAGS -Werror=return-type"
   7596 
   7597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7598 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7599 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7600 		if eval \${$cacheid+:} false; then :
   7601   $as_echo_n "(cached) " >&6
   7602 else
   7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7604 /* end confdefs.h.  */
   7605 int i;
   7606 int
   7607 main ()
   7608 {
   7609 
   7610   ;
   7611   return 0;
   7612 }
   7613 _ACEOF
   7614 if ac_fn_c_try_link "$LINENO"; then :
   7615   eval $cacheid=yes
   7616 else
   7617   eval $cacheid=no
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext \
   7620     conftest$ac_exeext conftest.$ac_ext
   7621 fi
   7622 
   7623 
   7624 		CFLAGS="$xorg_testset_save_CFLAGS"
   7625 
   7626 		eval supported=\$$cacheid
   7627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7628 $as_echo "$supported" >&6; }
   7629 		if test "$supported" = "yes" ; then
   7630 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7631 			found="yes"
   7632 		fi
   7633 	fi
   7634 
   7635 	if test $found = "no" ; then
   7636 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 		fi
   7639 
   7640 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7642 		fi
   7643 
   7644 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7645 
   7646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7647 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7648 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7649 		if eval \${$cacheid+:} false; then :
   7650   $as_echo_n "(cached) " >&6
   7651 else
   7652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 int
   7656 main ()
   7657 {
   7658 
   7659   ;
   7660   return 0;
   7661 }
   7662 _ACEOF
   7663 if ac_fn_c_try_link "$LINENO"; then :
   7664   eval $cacheid=yes
   7665 else
   7666   eval $cacheid=no
   7667 fi
   7668 rm -f core conftest.err conftest.$ac_objext \
   7669     conftest$ac_exeext conftest.$ac_ext
   7670 fi
   7671 
   7672 
   7673 		CFLAGS="$xorg_testset_save_CFLAGS"
   7674 
   7675 		eval supported=\$$cacheid
   7676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7677 $as_echo "$supported" >&6; }
   7678 		if test "$supported" = "yes" ; then
   7679 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7680 			found="yes"
   7681 		fi
   7682 	fi
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 xorg_testset_save_CFLAGS="$CFLAGS"
   7699 
   7700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7703 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7704 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7705   $as_echo_n "(cached) " >&6
   7706 else
   7707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7708 /* end confdefs.h.  */
   7709 int i;
   7710 _ACEOF
   7711 if ac_fn_c_try_compile "$LINENO"; then :
   7712   xorg_cv_cc_flag_unknown_warning_option=yes
   7713 else
   7714   xorg_cv_cc_flag_unknown_warning_option=no
   7715 fi
   7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7717 fi
   7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7719 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7721 	CFLAGS="$xorg_testset_save_CFLAGS"
   7722 fi
   7723 
   7724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7727 	fi
   7728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7730 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7731 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7732   $as_echo_n "(cached) " >&6
   7733 else
   7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7735 /* end confdefs.h.  */
   7736 int i;
   7737 _ACEOF
   7738 if ac_fn_c_try_compile "$LINENO"; then :
   7739   xorg_cv_cc_flag_unused_command_line_argument=yes
   7740 else
   7741   xorg_cv_cc_flag_unused_command_line_argument=no
   7742 fi
   7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7744 fi
   7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7746 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7748 	CFLAGS="$xorg_testset_save_CFLAGS"
   7749 fi
   7750 
   7751 found="no"
   7752 
   7753 	if test $found = "no" ; then
   7754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 		fi
   7757 
   7758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7760 		fi
   7761 
   7762 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7763 
   7764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7765 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7766 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7767 		if eval \${$cacheid+:} false; then :
   7768   $as_echo_n "(cached) " >&6
   7769 else
   7770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7771 /* end confdefs.h.  */
   7772 int i;
   7773 int
   7774 main ()
   7775 {
   7776 
   7777   ;
   7778   return 0;
   7779 }
   7780 _ACEOF
   7781 if ac_fn_c_try_link "$LINENO"; then :
   7782   eval $cacheid=yes
   7783 else
   7784   eval $cacheid=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext \
   7787     conftest$ac_exeext conftest.$ac_ext
   7788 fi
   7789 
   7790 
   7791 		CFLAGS="$xorg_testset_save_CFLAGS"
   7792 
   7793 		eval supported=\$$cacheid
   7794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7795 $as_echo "$supported" >&6; }
   7796 		if test "$supported" = "yes" ; then
   7797 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7798 			found="yes"
   7799 		fi
   7800 	fi
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 xorg_testset_save_CFLAGS="$CFLAGS"
   7817 
   7818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7826 /* end confdefs.h.  */
   7827 int i;
   7828 _ACEOF
   7829 if ac_fn_c_try_compile "$LINENO"; then :
   7830   xorg_cv_cc_flag_unknown_warning_option=yes
   7831 else
   7832   xorg_cv_cc_flag_unknown_warning_option=no
   7833 fi
   7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7835 fi
   7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7839 	CFLAGS="$xorg_testset_save_CFLAGS"
   7840 fi
   7841 
   7842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7845 	fi
   7846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7850   $as_echo_n "(cached) " >&6
   7851 else
   7852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7853 /* end confdefs.h.  */
   7854 int i;
   7855 _ACEOF
   7856 if ac_fn_c_try_compile "$LINENO"; then :
   7857   xorg_cv_cc_flag_unused_command_line_argument=yes
   7858 else
   7859   xorg_cv_cc_flag_unused_command_line_argument=no
   7860 fi
   7861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7862 fi
   7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7866 	CFLAGS="$xorg_testset_save_CFLAGS"
   7867 fi
   7868 
   7869 found="no"
   7870 
   7871 	if test $found = "no" ; then
   7872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7874 		fi
   7875 
   7876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7878 		fi
   7879 
   7880 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7881 
   7882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7883 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7884 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7885 		if eval \${$cacheid+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 int
   7892 main ()
   7893 {
   7894 
   7895   ;
   7896   return 0;
   7897 }
   7898 _ACEOF
   7899 if ac_fn_c_try_link "$LINENO"; then :
   7900   eval $cacheid=yes
   7901 else
   7902   eval $cacheid=no
   7903 fi
   7904 rm -f core conftest.err conftest.$ac_objext \
   7905     conftest$ac_exeext conftest.$ac_ext
   7906 fi
   7907 
   7908 
   7909 		CFLAGS="$xorg_testset_save_CFLAGS"
   7910 
   7911 		eval supported=\$$cacheid
   7912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7913 $as_echo "$supported" >&6; }
   7914 		if test "$supported" = "yes" ; then
   7915 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7916 			found="yes"
   7917 		fi
   7918 	fi
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 xorg_testset_save_CFLAGS="$CFLAGS"
   7935 
   7936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7941   $as_echo_n "(cached) " >&6
   7942 else
   7943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7944 /* end confdefs.h.  */
   7945 int i;
   7946 _ACEOF
   7947 if ac_fn_c_try_compile "$LINENO"; then :
   7948   xorg_cv_cc_flag_unknown_warning_option=yes
   7949 else
   7950   xorg_cv_cc_flag_unknown_warning_option=no
   7951 fi
   7952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7953 fi
   7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7957 	CFLAGS="$xorg_testset_save_CFLAGS"
   7958 fi
   7959 
   7960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7963 	fi
   7964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7968   $as_echo_n "(cached) " >&6
   7969 else
   7970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7971 /* end confdefs.h.  */
   7972 int i;
   7973 _ACEOF
   7974 if ac_fn_c_try_compile "$LINENO"; then :
   7975   xorg_cv_cc_flag_unused_command_line_argument=yes
   7976 else
   7977   xorg_cv_cc_flag_unused_command_line_argument=no
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7980 fi
   7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7984 	CFLAGS="$xorg_testset_save_CFLAGS"
   7985 fi
   7986 
   7987 found="no"
   7988 
   7989 	if test $found = "no" ; then
   7990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7992 		fi
   7993 
   7994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7996 		fi
   7997 
   7998 		CFLAGS="$CFLAGS -Werror=write-strings"
   7999 
   8000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8001 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8002 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8003 		if eval \${$cacheid+:} false; then :
   8004   $as_echo_n "(cached) " >&6
   8005 else
   8006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8007 /* end confdefs.h.  */
   8008 int i;
   8009 int
   8010 main ()
   8011 {
   8012 
   8013   ;
   8014   return 0;
   8015 }
   8016 _ACEOF
   8017 if ac_fn_c_try_link "$LINENO"; then :
   8018   eval $cacheid=yes
   8019 else
   8020   eval $cacheid=no
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext \
   8023     conftest$ac_exeext conftest.$ac_ext
   8024 fi
   8025 
   8026 
   8027 		CFLAGS="$xorg_testset_save_CFLAGS"
   8028 
   8029 		eval supported=\$$cacheid
   8030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8031 $as_echo "$supported" >&6; }
   8032 		if test "$supported" = "yes" ; then
   8033 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8034 			found="yes"
   8035 		fi
   8036 	fi
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 xorg_testset_save_CFLAGS="$CFLAGS"
   8053 
   8054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8059   $as_echo_n "(cached) " >&6
   8060 else
   8061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8062 /* end confdefs.h.  */
   8063 int i;
   8064 _ACEOF
   8065 if ac_fn_c_try_compile "$LINENO"; then :
   8066   xorg_cv_cc_flag_unknown_warning_option=yes
   8067 else
   8068   xorg_cv_cc_flag_unknown_warning_option=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8071 fi
   8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8075 	CFLAGS="$xorg_testset_save_CFLAGS"
   8076 fi
   8077 
   8078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8081 	fi
   8082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8086   $as_echo_n "(cached) " >&6
   8087 else
   8088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8089 /* end confdefs.h.  */
   8090 int i;
   8091 _ACEOF
   8092 if ac_fn_c_try_compile "$LINENO"; then :
   8093   xorg_cv_cc_flag_unused_command_line_argument=yes
   8094 else
   8095   xorg_cv_cc_flag_unused_command_line_argument=no
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8098 fi
   8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8102 	CFLAGS="$xorg_testset_save_CFLAGS"
   8103 fi
   8104 
   8105 found="no"
   8106 
   8107 	if test $found = "no" ; then
   8108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8110 		fi
   8111 
   8112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8114 		fi
   8115 
   8116 		CFLAGS="$CFLAGS -Werror=address"
   8117 
   8118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8119 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8120 		cacheid=xorg_cv_cc_flag__Werror_address
   8121 		if eval \${$cacheid+:} false; then :
   8122   $as_echo_n "(cached) " >&6
   8123 else
   8124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8125 /* end confdefs.h.  */
   8126 int i;
   8127 int
   8128 main ()
   8129 {
   8130 
   8131   ;
   8132   return 0;
   8133 }
   8134 _ACEOF
   8135 if ac_fn_c_try_link "$LINENO"; then :
   8136   eval $cacheid=yes
   8137 else
   8138   eval $cacheid=no
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext \
   8141     conftest$ac_exeext conftest.$ac_ext
   8142 fi
   8143 
   8144 
   8145 		CFLAGS="$xorg_testset_save_CFLAGS"
   8146 
   8147 		eval supported=\$$cacheid
   8148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8149 $as_echo "$supported" >&6; }
   8150 		if test "$supported" = "yes" ; then
   8151 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8152 			found="yes"
   8153 		fi
   8154 	fi
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 xorg_testset_save_CFLAGS="$CFLAGS"
   8171 
   8172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8177   $as_echo_n "(cached) " >&6
   8178 else
   8179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 int i;
   8182 _ACEOF
   8183 if ac_fn_c_try_compile "$LINENO"; then :
   8184   xorg_cv_cc_flag_unknown_warning_option=yes
   8185 else
   8186   xorg_cv_cc_flag_unknown_warning_option=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8189 fi
   8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8193 	CFLAGS="$xorg_testset_save_CFLAGS"
   8194 fi
   8195 
   8196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 	fi
   8200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8204   $as_echo_n "(cached) " >&6
   8205 else
   8206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8207 /* end confdefs.h.  */
   8208 int i;
   8209 _ACEOF
   8210 if ac_fn_c_try_compile "$LINENO"; then :
   8211   xorg_cv_cc_flag_unused_command_line_argument=yes
   8212 else
   8213   xorg_cv_cc_flag_unused_command_line_argument=no
   8214 fi
   8215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8216 fi
   8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8220 	CFLAGS="$xorg_testset_save_CFLAGS"
   8221 fi
   8222 
   8223 found="no"
   8224 
   8225 	if test $found = "no" ; then
   8226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 		fi
   8229 
   8230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8232 		fi
   8233 
   8234 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8235 
   8236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8237 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8238 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8239 		if eval \${$cacheid+:} false; then :
   8240   $as_echo_n "(cached) " >&6
   8241 else
   8242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8243 /* end confdefs.h.  */
   8244 int i;
   8245 int
   8246 main ()
   8247 {
   8248 
   8249   ;
   8250   return 0;
   8251 }
   8252 _ACEOF
   8253 if ac_fn_c_try_link "$LINENO"; then :
   8254   eval $cacheid=yes
   8255 else
   8256   eval $cacheid=no
   8257 fi
   8258 rm -f core conftest.err conftest.$ac_objext \
   8259     conftest$ac_exeext conftest.$ac_ext
   8260 fi
   8261 
   8262 
   8263 		CFLAGS="$xorg_testset_save_CFLAGS"
   8264 
   8265 		eval supported=\$$cacheid
   8266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8267 $as_echo "$supported" >&6; }
   8268 		if test "$supported" = "yes" ; then
   8269 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8270 			found="yes"
   8271 		fi
   8272 	fi
   8273 
   8274 	if test $found = "no" ; then
   8275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 		fi
   8278 
   8279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8281 		fi
   8282 
   8283 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8284 
   8285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8286 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8287 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8288 		if eval \${$cacheid+:} false; then :
   8289   $as_echo_n "(cached) " >&6
   8290 else
   8291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8292 /* end confdefs.h.  */
   8293 int i;
   8294 int
   8295 main ()
   8296 {
   8297 
   8298   ;
   8299   return 0;
   8300 }
   8301 _ACEOF
   8302 if ac_fn_c_try_link "$LINENO"; then :
   8303   eval $cacheid=yes
   8304 else
   8305   eval $cacheid=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext \
   8308     conftest$ac_exeext conftest.$ac_ext
   8309 fi
   8310 
   8311 
   8312 		CFLAGS="$xorg_testset_save_CFLAGS"
   8313 
   8314 		eval supported=\$$cacheid
   8315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8316 $as_echo "$supported" >&6; }
   8317 		if test "$supported" = "yes" ; then
   8318 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8319 			found="yes"
   8320 		fi
   8321 	fi
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 xorg_testset_save_CFLAGS="$CFLAGS"
   8338 
   8339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8344   $as_echo_n "(cached) " >&6
   8345 else
   8346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8347 /* end confdefs.h.  */
   8348 int i;
   8349 _ACEOF
   8350 if ac_fn_c_try_compile "$LINENO"; then :
   8351   xorg_cv_cc_flag_unknown_warning_option=yes
   8352 else
   8353   xorg_cv_cc_flag_unknown_warning_option=no
   8354 fi
   8355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8356 fi
   8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8360 	CFLAGS="$xorg_testset_save_CFLAGS"
   8361 fi
   8362 
   8363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8366 	fi
   8367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8371   $as_echo_n "(cached) " >&6
   8372 else
   8373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8374 /* end confdefs.h.  */
   8375 int i;
   8376 _ACEOF
   8377 if ac_fn_c_try_compile "$LINENO"; then :
   8378   xorg_cv_cc_flag_unused_command_line_argument=yes
   8379 else
   8380   xorg_cv_cc_flag_unused_command_line_argument=no
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8383 fi
   8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8387 	CFLAGS="$xorg_testset_save_CFLAGS"
   8388 fi
   8389 
   8390 found="no"
   8391 
   8392 	if test $found = "no" ; then
   8393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8395 		fi
   8396 
   8397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8399 		fi
   8400 
   8401 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8402 
   8403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8404 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8405 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8406 		if eval \${$cacheid+:} false; then :
   8407   $as_echo_n "(cached) " >&6
   8408 else
   8409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8410 /* end confdefs.h.  */
   8411 int i;
   8412 int
   8413 main ()
   8414 {
   8415 
   8416   ;
   8417   return 0;
   8418 }
   8419 _ACEOF
   8420 if ac_fn_c_try_link "$LINENO"; then :
   8421   eval $cacheid=yes
   8422 else
   8423   eval $cacheid=no
   8424 fi
   8425 rm -f core conftest.err conftest.$ac_objext \
   8426     conftest$ac_exeext conftest.$ac_ext
   8427 fi
   8428 
   8429 
   8430 		CFLAGS="$xorg_testset_save_CFLAGS"
   8431 
   8432 		eval supported=\$$cacheid
   8433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8434 $as_echo "$supported" >&6; }
   8435 		if test "$supported" = "yes" ; then
   8436 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8437 			found="yes"
   8438 		fi
   8439 	fi
   8440 
   8441  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8442 else
   8443 { $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
   8444 $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;}
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 xorg_testset_save_CFLAGS="$CFLAGS"
   8459 
   8460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8465   $as_echo_n "(cached) " >&6
   8466 else
   8467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8468 /* end confdefs.h.  */
   8469 int i;
   8470 _ACEOF
   8471 if ac_fn_c_try_compile "$LINENO"; then :
   8472   xorg_cv_cc_flag_unknown_warning_option=yes
   8473 else
   8474   xorg_cv_cc_flag_unknown_warning_option=no
   8475 fi
   8476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8477 fi
   8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8481 	CFLAGS="$xorg_testset_save_CFLAGS"
   8482 fi
   8483 
   8484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8487 	fi
   8488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8492   $as_echo_n "(cached) " >&6
   8493 else
   8494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8495 /* end confdefs.h.  */
   8496 int i;
   8497 _ACEOF
   8498 if ac_fn_c_try_compile "$LINENO"; then :
   8499   xorg_cv_cc_flag_unused_command_line_argument=yes
   8500 else
   8501   xorg_cv_cc_flag_unused_command_line_argument=no
   8502 fi
   8503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8504 fi
   8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8508 	CFLAGS="$xorg_testset_save_CFLAGS"
   8509 fi
   8510 
   8511 found="no"
   8512 
   8513 	if test $found = "no" ; then
   8514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8516 		fi
   8517 
   8518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8520 		fi
   8521 
   8522 		CFLAGS="$CFLAGS -Wimplicit"
   8523 
   8524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8525 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8526 		cacheid=xorg_cv_cc_flag__Wimplicit
   8527 		if eval \${$cacheid+:} false; then :
   8528   $as_echo_n "(cached) " >&6
   8529 else
   8530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8531 /* end confdefs.h.  */
   8532 int i;
   8533 int
   8534 main ()
   8535 {
   8536 
   8537   ;
   8538   return 0;
   8539 }
   8540 _ACEOF
   8541 if ac_fn_c_try_link "$LINENO"; then :
   8542   eval $cacheid=yes
   8543 else
   8544   eval $cacheid=no
   8545 fi
   8546 rm -f core conftest.err conftest.$ac_objext \
   8547     conftest$ac_exeext conftest.$ac_ext
   8548 fi
   8549 
   8550 
   8551 		CFLAGS="$xorg_testset_save_CFLAGS"
   8552 
   8553 		eval supported=\$$cacheid
   8554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8555 $as_echo "$supported" >&6; }
   8556 		if test "$supported" = "yes" ; then
   8557 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8558 			found="yes"
   8559 		fi
   8560 	fi
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 xorg_testset_save_CFLAGS="$CFLAGS"
   8577 
   8578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8583   $as_echo_n "(cached) " >&6
   8584 else
   8585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8586 /* end confdefs.h.  */
   8587 int i;
   8588 _ACEOF
   8589 if ac_fn_c_try_compile "$LINENO"; then :
   8590   xorg_cv_cc_flag_unknown_warning_option=yes
   8591 else
   8592   xorg_cv_cc_flag_unknown_warning_option=no
   8593 fi
   8594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8595 fi
   8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8599 	CFLAGS="$xorg_testset_save_CFLAGS"
   8600 fi
   8601 
   8602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 	fi
   8606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8610   $as_echo_n "(cached) " >&6
   8611 else
   8612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8613 /* end confdefs.h.  */
   8614 int i;
   8615 _ACEOF
   8616 if ac_fn_c_try_compile "$LINENO"; then :
   8617   xorg_cv_cc_flag_unused_command_line_argument=yes
   8618 else
   8619   xorg_cv_cc_flag_unused_command_line_argument=no
   8620 fi
   8621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8622 fi
   8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8626 	CFLAGS="$xorg_testset_save_CFLAGS"
   8627 fi
   8628 
   8629 found="no"
   8630 
   8631 	if test $found = "no" ; then
   8632 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8634 		fi
   8635 
   8636 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8638 		fi
   8639 
   8640 		CFLAGS="$CFLAGS -Wnonnull"
   8641 
   8642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8643 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8644 		cacheid=xorg_cv_cc_flag__Wnonnull
   8645 		if eval \${$cacheid+:} false; then :
   8646   $as_echo_n "(cached) " >&6
   8647 else
   8648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8649 /* end confdefs.h.  */
   8650 int i;
   8651 int
   8652 main ()
   8653 {
   8654 
   8655   ;
   8656   return 0;
   8657 }
   8658 _ACEOF
   8659 if ac_fn_c_try_link "$LINENO"; then :
   8660   eval $cacheid=yes
   8661 else
   8662   eval $cacheid=no
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext \
   8665     conftest$ac_exeext conftest.$ac_ext
   8666 fi
   8667 
   8668 
   8669 		CFLAGS="$xorg_testset_save_CFLAGS"
   8670 
   8671 		eval supported=\$$cacheid
   8672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8673 $as_echo "$supported" >&6; }
   8674 		if test "$supported" = "yes" ; then
   8675 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8676 			found="yes"
   8677 		fi
   8678 	fi
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 xorg_testset_save_CFLAGS="$CFLAGS"
   8695 
   8696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8701   $as_echo_n "(cached) " >&6
   8702 else
   8703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8704 /* end confdefs.h.  */
   8705 int i;
   8706 _ACEOF
   8707 if ac_fn_c_try_compile "$LINENO"; then :
   8708   xorg_cv_cc_flag_unknown_warning_option=yes
   8709 else
   8710   xorg_cv_cc_flag_unknown_warning_option=no
   8711 fi
   8712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8713 fi
   8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8717 	CFLAGS="$xorg_testset_save_CFLAGS"
   8718 fi
   8719 
   8720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8723 	fi
   8724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8728   $as_echo_n "(cached) " >&6
   8729 else
   8730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8731 /* end confdefs.h.  */
   8732 int i;
   8733 _ACEOF
   8734 if ac_fn_c_try_compile "$LINENO"; then :
   8735   xorg_cv_cc_flag_unused_command_line_argument=yes
   8736 else
   8737   xorg_cv_cc_flag_unused_command_line_argument=no
   8738 fi
   8739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8740 fi
   8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8744 	CFLAGS="$xorg_testset_save_CFLAGS"
   8745 fi
   8746 
   8747 found="no"
   8748 
   8749 	if test $found = "no" ; then
   8750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8752 		fi
   8753 
   8754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8756 		fi
   8757 
   8758 		CFLAGS="$CFLAGS -Winit-self"
   8759 
   8760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8761 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8762 		cacheid=xorg_cv_cc_flag__Winit_self
   8763 		if eval \${$cacheid+:} false; then :
   8764   $as_echo_n "(cached) " >&6
   8765 else
   8766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8767 /* end confdefs.h.  */
   8768 int i;
   8769 int
   8770 main ()
   8771 {
   8772 
   8773   ;
   8774   return 0;
   8775 }
   8776 _ACEOF
   8777 if ac_fn_c_try_link "$LINENO"; then :
   8778   eval $cacheid=yes
   8779 else
   8780   eval $cacheid=no
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext \
   8783     conftest$ac_exeext conftest.$ac_ext
   8784 fi
   8785 
   8786 
   8787 		CFLAGS="$xorg_testset_save_CFLAGS"
   8788 
   8789 		eval supported=\$$cacheid
   8790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8791 $as_echo "$supported" >&6; }
   8792 		if test "$supported" = "yes" ; then
   8793 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8794 			found="yes"
   8795 		fi
   8796 	fi
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 xorg_testset_save_CFLAGS="$CFLAGS"
   8813 
   8814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8819   $as_echo_n "(cached) " >&6
   8820 else
   8821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8822 /* end confdefs.h.  */
   8823 int i;
   8824 _ACEOF
   8825 if ac_fn_c_try_compile "$LINENO"; then :
   8826   xorg_cv_cc_flag_unknown_warning_option=yes
   8827 else
   8828   xorg_cv_cc_flag_unknown_warning_option=no
   8829 fi
   8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8831 fi
   8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8835 	CFLAGS="$xorg_testset_save_CFLAGS"
   8836 fi
   8837 
   8838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8841 	fi
   8842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8846   $as_echo_n "(cached) " >&6
   8847 else
   8848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8849 /* end confdefs.h.  */
   8850 int i;
   8851 _ACEOF
   8852 if ac_fn_c_try_compile "$LINENO"; then :
   8853   xorg_cv_cc_flag_unused_command_line_argument=yes
   8854 else
   8855   xorg_cv_cc_flag_unused_command_line_argument=no
   8856 fi
   8857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8858 fi
   8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8862 	CFLAGS="$xorg_testset_save_CFLAGS"
   8863 fi
   8864 
   8865 found="no"
   8866 
   8867 	if test $found = "no" ; then
   8868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8870 		fi
   8871 
   8872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8874 		fi
   8875 
   8876 		CFLAGS="$CFLAGS -Wmain"
   8877 
   8878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8879 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8880 		cacheid=xorg_cv_cc_flag__Wmain
   8881 		if eval \${$cacheid+:} false; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8885 /* end confdefs.h.  */
   8886 int i;
   8887 int
   8888 main ()
   8889 {
   8890 
   8891   ;
   8892   return 0;
   8893 }
   8894 _ACEOF
   8895 if ac_fn_c_try_link "$LINENO"; then :
   8896   eval $cacheid=yes
   8897 else
   8898   eval $cacheid=no
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext \
   8901     conftest$ac_exeext conftest.$ac_ext
   8902 fi
   8903 
   8904 
   8905 		CFLAGS="$xorg_testset_save_CFLAGS"
   8906 
   8907 		eval supported=\$$cacheid
   8908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8909 $as_echo "$supported" >&6; }
   8910 		if test "$supported" = "yes" ; then
   8911 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8912 			found="yes"
   8913 		fi
   8914 	fi
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 xorg_testset_save_CFLAGS="$CFLAGS"
   8931 
   8932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8935 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8936 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8937   $as_echo_n "(cached) " >&6
   8938 else
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 _ACEOF
   8943 if ac_fn_c_try_compile "$LINENO"; then :
   8944   xorg_cv_cc_flag_unknown_warning_option=yes
   8945 else
   8946   xorg_cv_cc_flag_unknown_warning_option=no
   8947 fi
   8948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8949 fi
   8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8951 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8953 	CFLAGS="$xorg_testset_save_CFLAGS"
   8954 fi
   8955 
   8956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8959 	fi
   8960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8962 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8963 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8964   $as_echo_n "(cached) " >&6
   8965 else
   8966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8967 /* end confdefs.h.  */
   8968 int i;
   8969 _ACEOF
   8970 if ac_fn_c_try_compile "$LINENO"; then :
   8971   xorg_cv_cc_flag_unused_command_line_argument=yes
   8972 else
   8973   xorg_cv_cc_flag_unused_command_line_argument=no
   8974 fi
   8975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8976 fi
   8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8978 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8980 	CFLAGS="$xorg_testset_save_CFLAGS"
   8981 fi
   8982 
   8983 found="no"
   8984 
   8985 	if test $found = "no" ; then
   8986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8988 		fi
   8989 
   8990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8992 		fi
   8993 
   8994 		CFLAGS="$CFLAGS -Wmissing-braces"
   8995 
   8996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8997 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8998 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8999 		if eval \${$cacheid+:} false; then :
   9000   $as_echo_n "(cached) " >&6
   9001 else
   9002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9003 /* end confdefs.h.  */
   9004 int i;
   9005 int
   9006 main ()
   9007 {
   9008 
   9009   ;
   9010   return 0;
   9011 }
   9012 _ACEOF
   9013 if ac_fn_c_try_link "$LINENO"; then :
   9014   eval $cacheid=yes
   9015 else
   9016   eval $cacheid=no
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext \
   9019     conftest$ac_exeext conftest.$ac_ext
   9020 fi
   9021 
   9022 
   9023 		CFLAGS="$xorg_testset_save_CFLAGS"
   9024 
   9025 		eval supported=\$$cacheid
   9026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9027 $as_echo "$supported" >&6; }
   9028 		if test "$supported" = "yes" ; then
   9029 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9030 			found="yes"
   9031 		fi
   9032 	fi
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 xorg_testset_save_CFLAGS="$CFLAGS"
   9049 
   9050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9055   $as_echo_n "(cached) " >&6
   9056 else
   9057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 int i;
   9060 _ACEOF
   9061 if ac_fn_c_try_compile "$LINENO"; then :
   9062   xorg_cv_cc_flag_unknown_warning_option=yes
   9063 else
   9064   xorg_cv_cc_flag_unknown_warning_option=no
   9065 fi
   9066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9067 fi
   9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9071 	CFLAGS="$xorg_testset_save_CFLAGS"
   9072 fi
   9073 
   9074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9077 	fi
   9078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9082   $as_echo_n "(cached) " >&6
   9083 else
   9084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9085 /* end confdefs.h.  */
   9086 int i;
   9087 _ACEOF
   9088 if ac_fn_c_try_compile "$LINENO"; then :
   9089   xorg_cv_cc_flag_unused_command_line_argument=yes
   9090 else
   9091   xorg_cv_cc_flag_unused_command_line_argument=no
   9092 fi
   9093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9094 fi
   9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9098 	CFLAGS="$xorg_testset_save_CFLAGS"
   9099 fi
   9100 
   9101 found="no"
   9102 
   9103 	if test $found = "no" ; then
   9104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 		fi
   9107 
   9108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9110 		fi
   9111 
   9112 		CFLAGS="$CFLAGS -Wsequence-point"
   9113 
   9114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9115 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9116 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9117 		if eval \${$cacheid+:} false; then :
   9118   $as_echo_n "(cached) " >&6
   9119 else
   9120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9121 /* end confdefs.h.  */
   9122 int i;
   9123 int
   9124 main ()
   9125 {
   9126 
   9127   ;
   9128   return 0;
   9129 }
   9130 _ACEOF
   9131 if ac_fn_c_try_link "$LINENO"; then :
   9132   eval $cacheid=yes
   9133 else
   9134   eval $cacheid=no
   9135 fi
   9136 rm -f core conftest.err conftest.$ac_objext \
   9137     conftest$ac_exeext conftest.$ac_ext
   9138 fi
   9139 
   9140 
   9141 		CFLAGS="$xorg_testset_save_CFLAGS"
   9142 
   9143 		eval supported=\$$cacheid
   9144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9145 $as_echo "$supported" >&6; }
   9146 		if test "$supported" = "yes" ; then
   9147 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9148 			found="yes"
   9149 		fi
   9150 	fi
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 xorg_testset_save_CFLAGS="$CFLAGS"
   9167 
   9168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9173   $as_echo_n "(cached) " >&6
   9174 else
   9175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 _ACEOF
   9179 if ac_fn_c_try_compile "$LINENO"; then :
   9180   xorg_cv_cc_flag_unknown_warning_option=yes
   9181 else
   9182   xorg_cv_cc_flag_unknown_warning_option=no
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9185 fi
   9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9189 	CFLAGS="$xorg_testset_save_CFLAGS"
   9190 fi
   9191 
   9192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9195 	fi
   9196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9200   $as_echo_n "(cached) " >&6
   9201 else
   9202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9203 /* end confdefs.h.  */
   9204 int i;
   9205 _ACEOF
   9206 if ac_fn_c_try_compile "$LINENO"; then :
   9207   xorg_cv_cc_flag_unused_command_line_argument=yes
   9208 else
   9209   xorg_cv_cc_flag_unused_command_line_argument=no
   9210 fi
   9211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9212 fi
   9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9216 	CFLAGS="$xorg_testset_save_CFLAGS"
   9217 fi
   9218 
   9219 found="no"
   9220 
   9221 	if test $found = "no" ; then
   9222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9224 		fi
   9225 
   9226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9228 		fi
   9229 
   9230 		CFLAGS="$CFLAGS -Wreturn-type"
   9231 
   9232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9233 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9234 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9235 		if eval \${$cacheid+:} false; then :
   9236   $as_echo_n "(cached) " >&6
   9237 else
   9238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9239 /* end confdefs.h.  */
   9240 int i;
   9241 int
   9242 main ()
   9243 {
   9244 
   9245   ;
   9246   return 0;
   9247 }
   9248 _ACEOF
   9249 if ac_fn_c_try_link "$LINENO"; then :
   9250   eval $cacheid=yes
   9251 else
   9252   eval $cacheid=no
   9253 fi
   9254 rm -f core conftest.err conftest.$ac_objext \
   9255     conftest$ac_exeext conftest.$ac_ext
   9256 fi
   9257 
   9258 
   9259 		CFLAGS="$xorg_testset_save_CFLAGS"
   9260 
   9261 		eval supported=\$$cacheid
   9262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9263 $as_echo "$supported" >&6; }
   9264 		if test "$supported" = "yes" ; then
   9265 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9266 			found="yes"
   9267 		fi
   9268 	fi
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 xorg_testset_save_CFLAGS="$CFLAGS"
   9285 
   9286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9291   $as_echo_n "(cached) " >&6
   9292 else
   9293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9294 /* end confdefs.h.  */
   9295 int i;
   9296 _ACEOF
   9297 if ac_fn_c_try_compile "$LINENO"; then :
   9298   xorg_cv_cc_flag_unknown_warning_option=yes
   9299 else
   9300   xorg_cv_cc_flag_unknown_warning_option=no
   9301 fi
   9302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9303 fi
   9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9307 	CFLAGS="$xorg_testset_save_CFLAGS"
   9308 fi
   9309 
   9310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9313 	fi
   9314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9318   $as_echo_n "(cached) " >&6
   9319 else
   9320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9321 /* end confdefs.h.  */
   9322 int i;
   9323 _ACEOF
   9324 if ac_fn_c_try_compile "$LINENO"; then :
   9325   xorg_cv_cc_flag_unused_command_line_argument=yes
   9326 else
   9327   xorg_cv_cc_flag_unused_command_line_argument=no
   9328 fi
   9329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9330 fi
   9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9334 	CFLAGS="$xorg_testset_save_CFLAGS"
   9335 fi
   9336 
   9337 found="no"
   9338 
   9339 	if test $found = "no" ; then
   9340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 		fi
   9343 
   9344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9346 		fi
   9347 
   9348 		CFLAGS="$CFLAGS -Wtrigraphs"
   9349 
   9350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9351 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9352 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9353 		if eval \${$cacheid+:} false; then :
   9354   $as_echo_n "(cached) " >&6
   9355 else
   9356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9357 /* end confdefs.h.  */
   9358 int i;
   9359 int
   9360 main ()
   9361 {
   9362 
   9363   ;
   9364   return 0;
   9365 }
   9366 _ACEOF
   9367 if ac_fn_c_try_link "$LINENO"; then :
   9368   eval $cacheid=yes
   9369 else
   9370   eval $cacheid=no
   9371 fi
   9372 rm -f core conftest.err conftest.$ac_objext \
   9373     conftest$ac_exeext conftest.$ac_ext
   9374 fi
   9375 
   9376 
   9377 		CFLAGS="$xorg_testset_save_CFLAGS"
   9378 
   9379 		eval supported=\$$cacheid
   9380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9381 $as_echo "$supported" >&6; }
   9382 		if test "$supported" = "yes" ; then
   9383 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9384 			found="yes"
   9385 		fi
   9386 	fi
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 xorg_testset_save_CFLAGS="$CFLAGS"
   9403 
   9404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9409   $as_echo_n "(cached) " >&6
   9410 else
   9411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9412 /* end confdefs.h.  */
   9413 int i;
   9414 _ACEOF
   9415 if ac_fn_c_try_compile "$LINENO"; then :
   9416   xorg_cv_cc_flag_unknown_warning_option=yes
   9417 else
   9418   xorg_cv_cc_flag_unknown_warning_option=no
   9419 fi
   9420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9421 fi
   9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9425 	CFLAGS="$xorg_testset_save_CFLAGS"
   9426 fi
   9427 
   9428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9431 	fi
   9432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9436   $as_echo_n "(cached) " >&6
   9437 else
   9438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9439 /* end confdefs.h.  */
   9440 int i;
   9441 _ACEOF
   9442 if ac_fn_c_try_compile "$LINENO"; then :
   9443   xorg_cv_cc_flag_unused_command_line_argument=yes
   9444 else
   9445   xorg_cv_cc_flag_unused_command_line_argument=no
   9446 fi
   9447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9448 fi
   9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9452 	CFLAGS="$xorg_testset_save_CFLAGS"
   9453 fi
   9454 
   9455 found="no"
   9456 
   9457 	if test $found = "no" ; then
   9458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9460 		fi
   9461 
   9462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9464 		fi
   9465 
   9466 		CFLAGS="$CFLAGS -Warray-bounds"
   9467 
   9468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9469 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9470 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9471 		if eval \${$cacheid+:} false; then :
   9472   $as_echo_n "(cached) " >&6
   9473 else
   9474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9475 /* end confdefs.h.  */
   9476 int i;
   9477 int
   9478 main ()
   9479 {
   9480 
   9481   ;
   9482   return 0;
   9483 }
   9484 _ACEOF
   9485 if ac_fn_c_try_link "$LINENO"; then :
   9486   eval $cacheid=yes
   9487 else
   9488   eval $cacheid=no
   9489 fi
   9490 rm -f core conftest.err conftest.$ac_objext \
   9491     conftest$ac_exeext conftest.$ac_ext
   9492 fi
   9493 
   9494 
   9495 		CFLAGS="$xorg_testset_save_CFLAGS"
   9496 
   9497 		eval supported=\$$cacheid
   9498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9499 $as_echo "$supported" >&6; }
   9500 		if test "$supported" = "yes" ; then
   9501 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9502 			found="yes"
   9503 		fi
   9504 	fi
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 xorg_testset_save_CFLAGS="$CFLAGS"
   9521 
   9522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9527   $as_echo_n "(cached) " >&6
   9528 else
   9529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9530 /* end confdefs.h.  */
   9531 int i;
   9532 _ACEOF
   9533 if ac_fn_c_try_compile "$LINENO"; then :
   9534   xorg_cv_cc_flag_unknown_warning_option=yes
   9535 else
   9536   xorg_cv_cc_flag_unknown_warning_option=no
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9539 fi
   9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9543 	CFLAGS="$xorg_testset_save_CFLAGS"
   9544 fi
   9545 
   9546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9549 	fi
   9550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9554   $as_echo_n "(cached) " >&6
   9555 else
   9556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9557 /* end confdefs.h.  */
   9558 int i;
   9559 _ACEOF
   9560 if ac_fn_c_try_compile "$LINENO"; then :
   9561   xorg_cv_cc_flag_unused_command_line_argument=yes
   9562 else
   9563   xorg_cv_cc_flag_unused_command_line_argument=no
   9564 fi
   9565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9566 fi
   9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9570 	CFLAGS="$xorg_testset_save_CFLAGS"
   9571 fi
   9572 
   9573 found="no"
   9574 
   9575 	if test $found = "no" ; then
   9576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9578 		fi
   9579 
   9580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9582 		fi
   9583 
   9584 		CFLAGS="$CFLAGS -Wwrite-strings"
   9585 
   9586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9587 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9588 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9589 		if eval \${$cacheid+:} false; then :
   9590   $as_echo_n "(cached) " >&6
   9591 else
   9592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9593 /* end confdefs.h.  */
   9594 int i;
   9595 int
   9596 main ()
   9597 {
   9598 
   9599   ;
   9600   return 0;
   9601 }
   9602 _ACEOF
   9603 if ac_fn_c_try_link "$LINENO"; then :
   9604   eval $cacheid=yes
   9605 else
   9606   eval $cacheid=no
   9607 fi
   9608 rm -f core conftest.err conftest.$ac_objext \
   9609     conftest$ac_exeext conftest.$ac_ext
   9610 fi
   9611 
   9612 
   9613 		CFLAGS="$xorg_testset_save_CFLAGS"
   9614 
   9615 		eval supported=\$$cacheid
   9616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9617 $as_echo "$supported" >&6; }
   9618 		if test "$supported" = "yes" ; then
   9619 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9620 			found="yes"
   9621 		fi
   9622 	fi
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 xorg_testset_save_CFLAGS="$CFLAGS"
   9639 
   9640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9643 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9644 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9645   $as_echo_n "(cached) " >&6
   9646 else
   9647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 _ACEOF
   9651 if ac_fn_c_try_compile "$LINENO"; then :
   9652   xorg_cv_cc_flag_unknown_warning_option=yes
   9653 else
   9654   xorg_cv_cc_flag_unknown_warning_option=no
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9657 fi
   9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9659 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9661 	CFLAGS="$xorg_testset_save_CFLAGS"
   9662 fi
   9663 
   9664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9667 	fi
   9668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9670 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9671 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9672   $as_echo_n "(cached) " >&6
   9673 else
   9674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9675 /* end confdefs.h.  */
   9676 int i;
   9677 _ACEOF
   9678 if ac_fn_c_try_compile "$LINENO"; then :
   9679   xorg_cv_cc_flag_unused_command_line_argument=yes
   9680 else
   9681   xorg_cv_cc_flag_unused_command_line_argument=no
   9682 fi
   9683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9684 fi
   9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9686 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9688 	CFLAGS="$xorg_testset_save_CFLAGS"
   9689 fi
   9690 
   9691 found="no"
   9692 
   9693 	if test $found = "no" ; then
   9694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 		fi
   9697 
   9698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9700 		fi
   9701 
   9702 		CFLAGS="$CFLAGS -Waddress"
   9703 
   9704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9705 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9706 		cacheid=xorg_cv_cc_flag__Waddress
   9707 		if eval \${$cacheid+:} false; then :
   9708   $as_echo_n "(cached) " >&6
   9709 else
   9710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9711 /* end confdefs.h.  */
   9712 int i;
   9713 int
   9714 main ()
   9715 {
   9716 
   9717   ;
   9718   return 0;
   9719 }
   9720 _ACEOF
   9721 if ac_fn_c_try_link "$LINENO"; then :
   9722   eval $cacheid=yes
   9723 else
   9724   eval $cacheid=no
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext \
   9727     conftest$ac_exeext conftest.$ac_ext
   9728 fi
   9729 
   9730 
   9731 		CFLAGS="$xorg_testset_save_CFLAGS"
   9732 
   9733 		eval supported=\$$cacheid
   9734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9735 $as_echo "$supported" >&6; }
   9736 		if test "$supported" = "yes" ; then
   9737 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9738 			found="yes"
   9739 		fi
   9740 	fi
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 xorg_testset_save_CFLAGS="$CFLAGS"
   9757 
   9758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9763   $as_echo_n "(cached) " >&6
   9764 else
   9765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9766 /* end confdefs.h.  */
   9767 int i;
   9768 _ACEOF
   9769 if ac_fn_c_try_compile "$LINENO"; then :
   9770   xorg_cv_cc_flag_unknown_warning_option=yes
   9771 else
   9772   xorg_cv_cc_flag_unknown_warning_option=no
   9773 fi
   9774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9775 fi
   9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9779 	CFLAGS="$xorg_testset_save_CFLAGS"
   9780 fi
   9781 
   9782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9785 	fi
   9786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9790   $as_echo_n "(cached) " >&6
   9791 else
   9792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9793 /* end confdefs.h.  */
   9794 int i;
   9795 _ACEOF
   9796 if ac_fn_c_try_compile "$LINENO"; then :
   9797   xorg_cv_cc_flag_unused_command_line_argument=yes
   9798 else
   9799   xorg_cv_cc_flag_unused_command_line_argument=no
   9800 fi
   9801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9802 fi
   9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9806 	CFLAGS="$xorg_testset_save_CFLAGS"
   9807 fi
   9808 
   9809 found="no"
   9810 
   9811 	if test $found = "no" ; then
   9812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 		fi
   9815 
   9816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9818 		fi
   9819 
   9820 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9821 
   9822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9823 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9824 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9825 		if eval \${$cacheid+:} false; then :
   9826   $as_echo_n "(cached) " >&6
   9827 else
   9828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9829 /* end confdefs.h.  */
   9830 int i;
   9831 int
   9832 main ()
   9833 {
   9834 
   9835   ;
   9836   return 0;
   9837 }
   9838 _ACEOF
   9839 if ac_fn_c_try_link "$LINENO"; then :
   9840   eval $cacheid=yes
   9841 else
   9842   eval $cacheid=no
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext \
   9845     conftest$ac_exeext conftest.$ac_ext
   9846 fi
   9847 
   9848 
   9849 		CFLAGS="$xorg_testset_save_CFLAGS"
   9850 
   9851 		eval supported=\$$cacheid
   9852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9853 $as_echo "$supported" >&6; }
   9854 		if test "$supported" = "yes" ; then
   9855 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9856 			found="yes"
   9857 		fi
   9858 	fi
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 xorg_testset_save_CFLAGS="$CFLAGS"
   9875 
   9876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9879 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9880 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9881   $as_echo_n "(cached) " >&6
   9882 else
   9883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int i;
   9886 _ACEOF
   9887 if ac_fn_c_try_compile "$LINENO"; then :
   9888   xorg_cv_cc_flag_unknown_warning_option=yes
   9889 else
   9890   xorg_cv_cc_flag_unknown_warning_option=no
   9891 fi
   9892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9893 fi
   9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9895 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9897 	CFLAGS="$xorg_testset_save_CFLAGS"
   9898 fi
   9899 
   9900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9903 	fi
   9904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9906 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9907 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9908   $as_echo_n "(cached) " >&6
   9909 else
   9910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 int i;
   9913 _ACEOF
   9914 if ac_fn_c_try_compile "$LINENO"; then :
   9915   xorg_cv_cc_flag_unused_command_line_argument=yes
   9916 else
   9917   xorg_cv_cc_flag_unused_command_line_argument=no
   9918 fi
   9919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9920 fi
   9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9922 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9924 	CFLAGS="$xorg_testset_save_CFLAGS"
   9925 fi
   9926 
   9927 found="no"
   9928 
   9929 	if test $found = "no" ; then
   9930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 		fi
   9933 
   9934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9936 		fi
   9937 
   9938 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9939 
   9940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9941 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9942 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9943 		if eval \${$cacheid+:} false; then :
   9944   $as_echo_n "(cached) " >&6
   9945 else
   9946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9947 /* end confdefs.h.  */
   9948 int i;
   9949 int
   9950 main ()
   9951 {
   9952 
   9953   ;
   9954   return 0;
   9955 }
   9956 _ACEOF
   9957 if ac_fn_c_try_link "$LINENO"; then :
   9958   eval $cacheid=yes
   9959 else
   9960   eval $cacheid=no
   9961 fi
   9962 rm -f core conftest.err conftest.$ac_objext \
   9963     conftest$ac_exeext conftest.$ac_ext
   9964 fi
   9965 
   9966 
   9967 		CFLAGS="$xorg_testset_save_CFLAGS"
   9968 
   9969 		eval supported=\$$cacheid
   9970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9971 $as_echo "$supported" >&6; }
   9972 		if test "$supported" = "yes" ; then
   9973 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9974 			found="yes"
   9975 		fi
   9976 	fi
   9977 
   9978 
   9979 fi
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 		CWARNFLAGS="$BASE_CFLAGS"
   9988 		if  test "x$GCC" = xyes ; then
   9989 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9990 		fi
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 # Check whether --enable-strict-compilation was given.
   10000 if test "${enable_strict_compilation+set}" = set; then :
   10001   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10002 else
   10003   STRICT_COMPILE=no
   10004 fi
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 STRICT_CFLAGS=""
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 xorg_testset_save_CFLAGS="$CFLAGS"
   10026 
   10027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10032   $as_echo_n "(cached) " >&6
   10033 else
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 _ACEOF
   10038 if ac_fn_c_try_compile "$LINENO"; then :
   10039   xorg_cv_cc_flag_unknown_warning_option=yes
   10040 else
   10041   xorg_cv_cc_flag_unknown_warning_option=no
   10042 fi
   10043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10044 fi
   10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10048 	CFLAGS="$xorg_testset_save_CFLAGS"
   10049 fi
   10050 
   10051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10054 	fi
   10055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 _ACEOF
   10065 if ac_fn_c_try_compile "$LINENO"; then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else
   10068   xorg_cv_cc_flag_unused_command_line_argument=no
   10069 fi
   10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10071 fi
   10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 found="no"
   10079 
   10080 	if test $found = "no" ; then
   10081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10083 		fi
   10084 
   10085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10087 		fi
   10088 
   10089 		CFLAGS="$CFLAGS -pedantic"
   10090 
   10091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10092 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10093 		cacheid=xorg_cv_cc_flag__pedantic
   10094 		if eval \${$cacheid+:} false; then :
   10095   $as_echo_n "(cached) " >&6
   10096 else
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 int
   10101 main ()
   10102 {
   10103 
   10104   ;
   10105   return 0;
   10106 }
   10107 _ACEOF
   10108 if ac_fn_c_try_link "$LINENO"; then :
   10109   eval $cacheid=yes
   10110 else
   10111   eval $cacheid=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext \
   10114     conftest$ac_exeext conftest.$ac_ext
   10115 fi
   10116 
   10117 
   10118 		CFLAGS="$xorg_testset_save_CFLAGS"
   10119 
   10120 		eval supported=\$$cacheid
   10121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10122 $as_echo "$supported" >&6; }
   10123 		if test "$supported" = "yes" ; then
   10124 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10125 			found="yes"
   10126 		fi
   10127 	fi
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 xorg_testset_save_CFLAGS="$CFLAGS"
   10144 
   10145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10150   $as_echo_n "(cached) " >&6
   10151 else
   10152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10153 /* end confdefs.h.  */
   10154 int i;
   10155 _ACEOF
   10156 if ac_fn_c_try_compile "$LINENO"; then :
   10157   xorg_cv_cc_flag_unknown_warning_option=yes
   10158 else
   10159   xorg_cv_cc_flag_unknown_warning_option=no
   10160 fi
   10161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10162 fi
   10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10166 	CFLAGS="$xorg_testset_save_CFLAGS"
   10167 fi
   10168 
   10169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 	fi
   10173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 _ACEOF
   10183 if ac_fn_c_try_compile "$LINENO"; then :
   10184   xorg_cv_cc_flag_unused_command_line_argument=yes
   10185 else
   10186   xorg_cv_cc_flag_unused_command_line_argument=no
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10189 fi
   10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10193 	CFLAGS="$xorg_testset_save_CFLAGS"
   10194 fi
   10195 
   10196 found="no"
   10197 
   10198 	if test $found = "no" ; then
   10199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 		fi
   10202 
   10203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10205 		fi
   10206 
   10207 		CFLAGS="$CFLAGS -Werror"
   10208 
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10210 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10211 		cacheid=xorg_cv_cc_flag__Werror
   10212 		if eval \${$cacheid+:} false; then :
   10213   $as_echo_n "(cached) " >&6
   10214 else
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 int
   10219 main ()
   10220 {
   10221 
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 if ac_fn_c_try_link "$LINENO"; then :
   10227   eval $cacheid=yes
   10228 else
   10229   eval $cacheid=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext \
   10232     conftest$ac_exeext conftest.$ac_ext
   10233 fi
   10234 
   10235 
   10236 		CFLAGS="$xorg_testset_save_CFLAGS"
   10237 
   10238 		eval supported=\$$cacheid
   10239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10240 $as_echo "$supported" >&6; }
   10241 		if test "$supported" = "yes" ; then
   10242 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10243 			found="yes"
   10244 		fi
   10245 	fi
   10246 
   10247 	if test $found = "no" ; then
   10248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 		fi
   10251 
   10252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10254 		fi
   10255 
   10256 		CFLAGS="$CFLAGS -errwarn"
   10257 
   10258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10259 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10260 		cacheid=xorg_cv_cc_flag__errwarn
   10261 		if eval \${$cacheid+:} false; then :
   10262   $as_echo_n "(cached) " >&6
   10263 else
   10264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10265 /* end confdefs.h.  */
   10266 int i;
   10267 int
   10268 main ()
   10269 {
   10270 
   10271   ;
   10272   return 0;
   10273 }
   10274 _ACEOF
   10275 if ac_fn_c_try_link "$LINENO"; then :
   10276   eval $cacheid=yes
   10277 else
   10278   eval $cacheid=no
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext \
   10281     conftest$ac_exeext conftest.$ac_ext
   10282 fi
   10283 
   10284 
   10285 		CFLAGS="$xorg_testset_save_CFLAGS"
   10286 
   10287 		eval supported=\$$cacheid
   10288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10289 $as_echo "$supported" >&6; }
   10290 		if test "$supported" = "yes" ; then
   10291 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10292 			found="yes"
   10293 		fi
   10294 	fi
   10295 
   10296 
   10297 
   10298 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10299 # activate it with -Werror, so we add it here explicitly.
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 xorg_testset_save_CFLAGS="$CFLAGS"
   10314 
   10315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10320   $as_echo_n "(cached) " >&6
   10321 else
   10322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10323 /* end confdefs.h.  */
   10324 int i;
   10325 _ACEOF
   10326 if ac_fn_c_try_compile "$LINENO"; then :
   10327   xorg_cv_cc_flag_unknown_warning_option=yes
   10328 else
   10329   xorg_cv_cc_flag_unknown_warning_option=no
   10330 fi
   10331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10332 fi
   10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10336 	CFLAGS="$xorg_testset_save_CFLAGS"
   10337 fi
   10338 
   10339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10342 	fi
   10343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10347   $as_echo_n "(cached) " >&6
   10348 else
   10349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10350 /* end confdefs.h.  */
   10351 int i;
   10352 _ACEOF
   10353 if ac_fn_c_try_compile "$LINENO"; then :
   10354   xorg_cv_cc_flag_unused_command_line_argument=yes
   10355 else
   10356   xorg_cv_cc_flag_unused_command_line_argument=no
   10357 fi
   10358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10359 fi
   10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10363 	CFLAGS="$xorg_testset_save_CFLAGS"
   10364 fi
   10365 
   10366 found="no"
   10367 
   10368 	if test $found = "no" ; then
   10369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10371 		fi
   10372 
   10373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10375 		fi
   10376 
   10377 		CFLAGS="$CFLAGS -Werror=attributes"
   10378 
   10379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10380 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10381 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10382 		if eval \${$cacheid+:} false; then :
   10383   $as_echo_n "(cached) " >&6
   10384 else
   10385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10386 /* end confdefs.h.  */
   10387 int i;
   10388 int
   10389 main ()
   10390 {
   10391 
   10392   ;
   10393   return 0;
   10394 }
   10395 _ACEOF
   10396 if ac_fn_c_try_link "$LINENO"; then :
   10397   eval $cacheid=yes
   10398 else
   10399   eval $cacheid=no
   10400 fi
   10401 rm -f core conftest.err conftest.$ac_objext \
   10402     conftest$ac_exeext conftest.$ac_ext
   10403 fi
   10404 
   10405 
   10406 		CFLAGS="$xorg_testset_save_CFLAGS"
   10407 
   10408 		eval supported=\$$cacheid
   10409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10410 $as_echo "$supported" >&6; }
   10411 		if test "$supported" = "yes" ; then
   10412 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10413 			found="yes"
   10414 		fi
   10415 	fi
   10416 
   10417 
   10418 
   10419 if test "x$STRICT_COMPILE" = "xyes"; then
   10420     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10421     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10422 fi
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 cat >>confdefs.h <<_ACEOF
   10430 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10431 _ACEOF
   10432 
   10433 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10434 	if test "x$PVM" = "x"; then
   10435 		PVM="0"
   10436 	fi
   10437 
   10438 cat >>confdefs.h <<_ACEOF
   10439 #define PACKAGE_VERSION_MINOR $PVM
   10440 _ACEOF
   10441 
   10442 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10443 	if test "x$PVP" = "x"; then
   10444 		PVP="0"
   10445 	fi
   10446 
   10447 cat >>confdefs.h <<_ACEOF
   10448 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10449 _ACEOF
   10450 
   10451 
   10452 
   10453 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10454 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10455 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10456 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10457 
   10458 
   10459 
   10460 
   10461 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10462 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10463 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10464 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10465 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 if test x$APP_MAN_SUFFIX = x    ; then
   10473     APP_MAN_SUFFIX=1
   10474 fi
   10475 if test x$APP_MAN_DIR = x    ; then
   10476     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10477 fi
   10478 
   10479 if test x$LIB_MAN_SUFFIX = x    ; then
   10480     LIB_MAN_SUFFIX=3
   10481 fi
   10482 if test x$LIB_MAN_DIR = x    ; then
   10483     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10484 fi
   10485 
   10486 if test x$FILE_MAN_SUFFIX = x    ; then
   10487     case $host_os in
   10488 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10489 	*)		FILE_MAN_SUFFIX=5  ;;
   10490     esac
   10491 fi
   10492 if test x$FILE_MAN_DIR = x    ; then
   10493     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10494 fi
   10495 
   10496 if test x$MISC_MAN_SUFFIX = x    ; then
   10497     case $host_os in
   10498 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10499 	*)		MISC_MAN_SUFFIX=7  ;;
   10500     esac
   10501 fi
   10502 if test x$MISC_MAN_DIR = x    ; then
   10503     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10504 fi
   10505 
   10506 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10507     case $host_os in
   10508 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10509 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10510     esac
   10511 fi
   10512 if test x$DRIVER_MAN_DIR = x    ; then
   10513     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10514 fi
   10515 
   10516 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10517     case $host_os in
   10518 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10519 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10520     esac
   10521 fi
   10522 if test x$ADMIN_MAN_DIR = x    ; then
   10523     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10524 fi
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 XORG_MAN_PAGE="X Version 11"
   10541 
   10542 MAN_SUBSTS="\
   10543 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10544 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10545 	-e 's|__xservername__|Xorg|g' \
   10546 	-e 's|__xconfigfile__|xorg.conf|g' \
   10547 	-e 's|__projectroot__|\$(prefix)|g' \
   10548 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10549 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10550 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10551 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10552 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10553 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10554 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10555 
   10556 
   10557 
   10558 # Check whether --enable-silent-rules was given.
   10559 if test "${enable_silent_rules+set}" = set; then :
   10560   enableval=$enable_silent_rules;
   10561 fi
   10562 
   10563 case $enable_silent_rules in # (((
   10564   yes) AM_DEFAULT_VERBOSITY=0;;
   10565    no) AM_DEFAULT_VERBOSITY=1;;
   10566     *) AM_DEFAULT_VERBOSITY=0;;
   10567 esac
   10568 am_make=${MAKE-make}
   10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10570 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10571 if ${am_cv_make_support_nested_variables+:} false; then :
   10572   $as_echo_n "(cached) " >&6
   10573 else
   10574   if $as_echo 'TRUE=$(BAR$(V))
   10575 BAR0=false
   10576 BAR1=true
   10577 V=1
   10578 am__doit:
   10579 	@$(TRUE)
   10580 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10581   am_cv_make_support_nested_variables=yes
   10582 else
   10583   am_cv_make_support_nested_variables=no
   10584 fi
   10585 fi
   10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10587 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10588 if test $am_cv_make_support_nested_variables = yes; then
   10589     AM_V='$(V)'
   10590   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10591 else
   10592   AM_V=$AM_DEFAULT_VERBOSITY
   10593   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10594 fi
   10595 AM_BACKSLASH='\'
   10596 
   10597 
   10598 
   10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
   10600 $as_echo_n "checking for floor in -lm... " >&6; }
   10601 if ${ac_cv_lib_m_floor+:} false; then :
   10602   $as_echo_n "(cached) " >&6
   10603 else
   10604   ac_check_lib_save_LIBS=$LIBS
   10605 LIBS="-lm  $LIBS"
   10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 
   10609 /* Override any GCC internal prototype to avoid an error.
   10610    Use char because int might match the return type of a GCC
   10611    builtin and then its argument prototype would still apply.  */
   10612 #ifdef __cplusplus
   10613 extern "C"
   10614 #endif
   10615 char floor ();
   10616 int
   10617 main ()
   10618 {
   10619 return floor ();
   10620   ;
   10621   return 0;
   10622 }
   10623 _ACEOF
   10624 if ac_fn_c_try_link "$LINENO"; then :
   10625   ac_cv_lib_m_floor=yes
   10626 else
   10627   ac_cv_lib_m_floor=no
   10628 fi
   10629 rm -f core conftest.err conftest.$ac_objext \
   10630     conftest$ac_exeext conftest.$ac_ext
   10631 LIBS=$ac_check_lib_save_LIBS
   10632 fi
   10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
   10634 $as_echo "$ac_cv_lib_m_floor" >&6; }
   10635 if test "x$ac_cv_lib_m_floor" = xyes; then :
   10636   cat >>confdefs.h <<_ACEOF
   10637 #define HAVE_LIBM 1
   10638 _ACEOF
   10639 
   10640   LIBS="-lm $LIBS"
   10641 
   10642 fi
   10643 
   10644 
   10645 # Checks for pkg-config packages
   10646 
   10647 pkg_failed=no
   10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR" >&5
   10649 $as_echo_n "checking for XRANDR... " >&6; }
   10650 
   10651 if test -n "$XRANDR_CFLAGS"; then
   10652     pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS"
   10653  elif test -n "$PKG_CONFIG"; then
   10654     if test -n "$PKG_CONFIG" && \
   10655     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.4 xrender x11 xproto >= 7.0.17\""; } >&5
   10656   ($PKG_CONFIG --exists --print-errors "xrandr >= 1.4 xrender x11 xproto >= 7.0.17") 2>&5
   10657   ac_status=$?
   10658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10659   test $ac_status = 0; }; then
   10660   pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>/dev/null`
   10661 		      test "x$?" != "x0" && pkg_failed=yes
   10662 else
   10663   pkg_failed=yes
   10664 fi
   10665  else
   10666     pkg_failed=untried
   10667 fi
   10668 if test -n "$XRANDR_LIBS"; then
   10669     pkg_cv_XRANDR_LIBS="$XRANDR_LIBS"
   10670  elif test -n "$PKG_CONFIG"; then
   10671     if test -n "$PKG_CONFIG" && \
   10672     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.4 xrender x11 xproto >= 7.0.17\""; } >&5
   10673   ($PKG_CONFIG --exists --print-errors "xrandr >= 1.4 xrender x11 xproto >= 7.0.17") 2>&5
   10674   ac_status=$?
   10675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10676   test $ac_status = 0; }; then
   10677   pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>/dev/null`
   10678 		      test "x$?" != "x0" && pkg_failed=yes
   10679 else
   10680   pkg_failed=yes
   10681 fi
   10682  else
   10683     pkg_failed=untried
   10684 fi
   10685 
   10686 
   10687 
   10688 if test $pkg_failed = yes; then
   10689    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10690 $as_echo "no" >&6; }
   10691 
   10692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10693         _pkg_short_errors_supported=yes
   10694 else
   10695         _pkg_short_errors_supported=no
   10696 fi
   10697         if test $_pkg_short_errors_supported = yes; then
   10698 	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>&1`
   10699         else
   10700 	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrandr >= 1.4 xrender x11 xproto >= 7.0.17" 2>&1`
   10701         fi
   10702 	# Put the nasty error message in config.log where it belongs
   10703 	echo "$XRANDR_PKG_ERRORS" >&5
   10704 
   10705 	as_fn_error $? "Package requirements (xrandr >= 1.4 xrender x11 xproto >= 7.0.17) were not met:
   10706 
   10707 $XRANDR_PKG_ERRORS
   10708 
   10709 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10710 installed software in a non-standard prefix.
   10711 
   10712 Alternatively, you may set the environment variables XRANDR_CFLAGS
   10713 and XRANDR_LIBS to avoid the need to call pkg-config.
   10714 See the pkg-config man page for more details." "$LINENO" 5
   10715 elif test $pkg_failed = untried; then
   10716      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10717 $as_echo "no" >&6; }
   10718 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10720 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10721 is in your PATH or set the PKG_CONFIG environment variable to the full
   10722 path to pkg-config.
   10723 
   10724 Alternatively, you may set the environment variables XRANDR_CFLAGS
   10725 and XRANDR_LIBS to avoid the need to call pkg-config.
   10726 See the pkg-config man page for more details.
   10727 
   10728 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10729 See \`config.log' for more details" "$LINENO" 5; }
   10730 else
   10731 	XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS
   10732 	XRANDR_LIBS=$pkg_cv_XRANDR_LIBS
   10733         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10734 $as_echo "yes" >&6; }
   10735 
   10736 fi
   10737 
   10738 ac_config_files="$ac_config_files Makefile man/Makefile"
   10739 
   10740 cat >confcache <<\_ACEOF
   10741 # This file is a shell script that caches the results of configure
   10742 # tests run on this system so they can be shared between configure
   10743 # scripts and configure runs, see configure's option --config-cache.
   10744 # It is not useful on other systems.  If it contains results you don't
   10745 # want to keep, you may remove or edit it.
   10746 #
   10747 # config.status only pays attention to the cache file if you give it
   10748 # the --recheck option to rerun configure.
   10749 #
   10750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10752 # following values.
   10753 
   10754 _ACEOF
   10755 
   10756 # The following way of writing the cache mishandles newlines in values,
   10757 # but we know of no workaround that is simple, portable, and efficient.
   10758 # So, we kill variables containing newlines.
   10759 # Ultrix sh set writes to stderr and can't be redirected directly,
   10760 # and sets the high bit in the cache file unless we assign to the vars.
   10761 (
   10762   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10763     eval ac_val=\$$ac_var
   10764     case $ac_val in #(
   10765     *${as_nl}*)
   10766       case $ac_var in #(
   10767       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10768 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10769       esac
   10770       case $ac_var in #(
   10771       _ | IFS | as_nl) ;; #(
   10772       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10773       *) { eval $ac_var=; unset $ac_var;} ;;
   10774       esac ;;
   10775     esac
   10776   done
   10777 
   10778   (set) 2>&1 |
   10779     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10780     *${as_nl}ac_space=\ *)
   10781       # `set' does not quote correctly, so add quotes: double-quote
   10782       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10783       sed -n \
   10784 	"s/'/'\\\\''/g;
   10785 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10786       ;; #(
   10787     *)
   10788       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10789       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10790       ;;
   10791     esac |
   10792     sort
   10793 ) |
   10794   sed '
   10795      /^ac_cv_env_/b end
   10796      t clear
   10797      :clear
   10798      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10799      t end
   10800      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10801      :end' >>confcache
   10802 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10803   if test -w "$cache_file"; then
   10804     if test "x$cache_file" != "x/dev/null"; then
   10805       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10806 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10807       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10808 	cat confcache >"$cache_file"
   10809       else
   10810         case $cache_file in #(
   10811         */* | ?:*)
   10812 	  mv -f confcache "$cache_file"$$ &&
   10813 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10814         *)
   10815 	  mv -f confcache "$cache_file" ;;
   10816 	esac
   10817       fi
   10818     fi
   10819   else
   10820     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10821 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10822   fi
   10823 fi
   10824 rm -f confcache
   10825 
   10826 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10827 # Let make expand exec_prefix.
   10828 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10829 
   10830 DEFS=-DHAVE_CONFIG_H
   10831 
   10832 ac_libobjs=
   10833 ac_ltlibobjs=
   10834 U=
   10835 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10836   # 1. Remove the extension, and $U if already installed.
   10837   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10838   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10839   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10840   #    will be set to the directory where LIBOBJS objects are built.
   10841   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10842   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10843 done
   10844 LIBOBJS=$ac_libobjs
   10845 
   10846 LTLIBOBJS=$ac_ltlibobjs
   10847 
   10848 
   10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10850 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10851    if test -n "$am_sleep_pid"; then
   10852      # Hide warnings about reused PIDs.
   10853      wait $am_sleep_pid 2>/dev/null
   10854    fi
   10855    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10856 $as_echo "done" >&6; }
   10857  if test -n "$EXEEXT"; then
   10858   am__EXEEXT_TRUE=
   10859   am__EXEEXT_FALSE='#'
   10860 else
   10861   am__EXEEXT_TRUE='#'
   10862   am__EXEEXT_FALSE=
   10863 fi
   10864 
   10865 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10866   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10868 fi
   10869 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10870   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10872 fi
   10873 
   10874 : "${CONFIG_STATUS=./config.status}"
   10875 ac_write_fail=0
   10876 ac_clean_files_save=$ac_clean_files
   10877 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10879 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10880 as_write_fail=0
   10881 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10882 #! $SHELL
   10883 # Generated by $as_me.
   10884 # Run this file to recreate the current configuration.
   10885 # Compiler output produced by configure, useful for debugging
   10886 # configure, is in config.log if it exists.
   10887 
   10888 debug=false
   10889 ac_cs_recheck=false
   10890 ac_cs_silent=false
   10891 
   10892 SHELL=\${CONFIG_SHELL-$SHELL}
   10893 export SHELL
   10894 _ASEOF
   10895 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10896 ## -------------------- ##
   10897 ## M4sh Initialization. ##
   10898 ## -------------------- ##
   10899 
   10900 # Be more Bourne compatible
   10901 DUALCASE=1; export DUALCASE # for MKS sh
   10902 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10903   emulate sh
   10904   NULLCMD=:
   10905   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10906   # is contrary to our usage.  Disable this feature.
   10907   alias -g '${1+"$@"}'='"$@"'
   10908   setopt NO_GLOB_SUBST
   10909 else
   10910   case `(set -o) 2>/dev/null` in #(
   10911   *posix*) :
   10912     set -o posix ;; #(
   10913   *) :
   10914      ;;
   10915 esac
   10916 fi
   10917 
   10918 
   10919 as_nl='
   10920 '
   10921 export as_nl
   10922 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10923 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10924 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10925 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10926 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10927 # but without wasting forks for bash or zsh.
   10928 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10929     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10930   as_echo='print -r --'
   10931   as_echo_n='print -rn --'
   10932 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10933   as_echo='printf %s\n'
   10934   as_echo_n='printf %s'
   10935 else
   10936   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10937     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10938     as_echo_n='/usr/ucb/echo -n'
   10939   else
   10940     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10941     as_echo_n_body='eval
   10942       arg=$1;
   10943       case $arg in #(
   10944       *"$as_nl"*)
   10945 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10946 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10947       esac;
   10948       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10949     '
   10950     export as_echo_n_body
   10951     as_echo_n='sh -c $as_echo_n_body as_echo'
   10952   fi
   10953   export as_echo_body
   10954   as_echo='sh -c $as_echo_body as_echo'
   10955 fi
   10956 
   10957 # The user is always right.
   10958 if test "${PATH_SEPARATOR+set}" != set; then
   10959   PATH_SEPARATOR=:
   10960   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10961     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10962       PATH_SEPARATOR=';'
   10963   }
   10964 fi
   10965 
   10966 
   10967 # IFS
   10968 # We need space, tab and new line, in precisely that order.  Quoting is
   10969 # there to prevent editors from complaining about space-tab.
   10970 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10971 # splitting by setting IFS to empty value.)
   10972 IFS=" ""	$as_nl"
   10973 
   10974 # Find who we are.  Look in the path if we contain no directory separator.
   10975 as_myself=
   10976 case $0 in #((
   10977   *[\\/]* ) as_myself=$0 ;;
   10978   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10979 for as_dir in $PATH
   10980 do
   10981   IFS=$as_save_IFS
   10982   test -z "$as_dir" && as_dir=.
   10983     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10984   done
   10985 IFS=$as_save_IFS
   10986 
   10987      ;;
   10988 esac
   10989 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10990 # in which case we are not to be found in the path.
   10991 if test "x$as_myself" = x; then
   10992   as_myself=$0
   10993 fi
   10994 if test ! -f "$as_myself"; then
   10995   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10996   exit 1
   10997 fi
   10998 
   10999 # Unset variables that we do not need and which cause bugs (e.g. in
   11000 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11001 # suppresses any "Segmentation fault" message there.  '((' could
   11002 # trigger a bug in pdksh 5.2.14.
   11003 for as_var in BASH_ENV ENV MAIL MAILPATH
   11004 do eval test x\${$as_var+set} = xset \
   11005   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11006 done
   11007 PS1='$ '
   11008 PS2='> '
   11009 PS4='+ '
   11010 
   11011 # NLS nuisances.
   11012 LC_ALL=C
   11013 export LC_ALL
   11014 LANGUAGE=C
   11015 export LANGUAGE
   11016 
   11017 # CDPATH.
   11018 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11019 
   11020 
   11021 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11022 # ----------------------------------------
   11023 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11024 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11025 # script with STATUS, using 1 if that was 0.
   11026 as_fn_error ()
   11027 {
   11028   as_status=$1; test $as_status -eq 0 && as_status=1
   11029   if test "$4"; then
   11030     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11031     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11032   fi
   11033   $as_echo "$as_me: error: $2" >&2
   11034   as_fn_exit $as_status
   11035 } # as_fn_error
   11036 
   11037 
   11038 # as_fn_set_status STATUS
   11039 # -----------------------
   11040 # Set $? to STATUS, without forking.
   11041 as_fn_set_status ()
   11042 {
   11043   return $1
   11044 } # as_fn_set_status
   11045 
   11046 # as_fn_exit STATUS
   11047 # -----------------
   11048 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11049 as_fn_exit ()
   11050 {
   11051   set +e
   11052   as_fn_set_status $1
   11053   exit $1
   11054 } # as_fn_exit
   11055 
   11056 # as_fn_unset VAR
   11057 # ---------------
   11058 # Portably unset VAR.
   11059 as_fn_unset ()
   11060 {
   11061   { eval $1=; unset $1;}
   11062 }
   11063 as_unset=as_fn_unset
   11064 # as_fn_append VAR VALUE
   11065 # ----------------------
   11066 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11067 # advantage of any shell optimizations that allow amortized linear growth over
   11068 # repeated appends, instead of the typical quadratic growth present in naive
   11069 # implementations.
   11070 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11071   eval 'as_fn_append ()
   11072   {
   11073     eval $1+=\$2
   11074   }'
   11075 else
   11076   as_fn_append ()
   11077   {
   11078     eval $1=\$$1\$2
   11079   }
   11080 fi # as_fn_append
   11081 
   11082 # as_fn_arith ARG...
   11083 # ------------------
   11084 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11085 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11086 # must be portable across $(()) and expr.
   11087 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11088   eval 'as_fn_arith ()
   11089   {
   11090     as_val=$(( $* ))
   11091   }'
   11092 else
   11093   as_fn_arith ()
   11094   {
   11095     as_val=`expr "$@" || test $? -eq 1`
   11096   }
   11097 fi # as_fn_arith
   11098 
   11099 
   11100 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11101    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11102   as_expr=expr
   11103 else
   11104   as_expr=false
   11105 fi
   11106 
   11107 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11108   as_basename=basename
   11109 else
   11110   as_basename=false
   11111 fi
   11112 
   11113 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11114   as_dirname=dirname
   11115 else
   11116   as_dirname=false
   11117 fi
   11118 
   11119 as_me=`$as_basename -- "$0" ||
   11120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11121 	 X"$0" : 'X\(//\)$' \| \
   11122 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11123 $as_echo X/"$0" |
   11124     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11125 	    s//\1/
   11126 	    q
   11127 	  }
   11128 	  /^X\/\(\/\/\)$/{
   11129 	    s//\1/
   11130 	    q
   11131 	  }
   11132 	  /^X\/\(\/\).*/{
   11133 	    s//\1/
   11134 	    q
   11135 	  }
   11136 	  s/.*/./; q'`
   11137 
   11138 # Avoid depending upon Character Ranges.
   11139 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11140 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11141 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11142 as_cr_digits='0123456789'
   11143 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11144 
   11145 ECHO_C= ECHO_N= ECHO_T=
   11146 case `echo -n x` in #(((((
   11147 -n*)
   11148   case `echo 'xy\c'` in
   11149   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11150   xy)  ECHO_C='\c';;
   11151   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11152        ECHO_T='	';;
   11153   esac;;
   11154 *)
   11155   ECHO_N='-n';;
   11156 esac
   11157 
   11158 rm -f conf$$ conf$$.exe conf$$.file
   11159 if test -d conf$$.dir; then
   11160   rm -f conf$$.dir/conf$$.file
   11161 else
   11162   rm -f conf$$.dir
   11163   mkdir conf$$.dir 2>/dev/null
   11164 fi
   11165 if (echo >conf$$.file) 2>/dev/null; then
   11166   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11167     as_ln_s='ln -s'
   11168     # ... but there are two gotchas:
   11169     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11170     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11171     # In both cases, we have to default to `cp -pR'.
   11172     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11173       as_ln_s='cp -pR'
   11174   elif ln conf$$.file conf$$ 2>/dev/null; then
   11175     as_ln_s=ln
   11176   else
   11177     as_ln_s='cp -pR'
   11178   fi
   11179 else
   11180   as_ln_s='cp -pR'
   11181 fi
   11182 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11183 rmdir conf$$.dir 2>/dev/null
   11184 
   11185 
   11186 # as_fn_mkdir_p
   11187 # -------------
   11188 # Create "$as_dir" as a directory, including parents if necessary.
   11189 as_fn_mkdir_p ()
   11190 {
   11191 
   11192   case $as_dir in #(
   11193   -*) as_dir=./$as_dir;;
   11194   esac
   11195   test -d "$as_dir" || eval $as_mkdir_p || {
   11196     as_dirs=
   11197     while :; do
   11198       case $as_dir in #(
   11199       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11200       *) as_qdir=$as_dir;;
   11201       esac
   11202       as_dirs="'$as_qdir' $as_dirs"
   11203       as_dir=`$as_dirname -- "$as_dir" ||
   11204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11205 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11206 	 X"$as_dir" : 'X\(//\)$' \| \
   11207 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11208 $as_echo X"$as_dir" |
   11209     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11210 	    s//\1/
   11211 	    q
   11212 	  }
   11213 	  /^X\(\/\/\)[^/].*/{
   11214 	    s//\1/
   11215 	    q
   11216 	  }
   11217 	  /^X\(\/\/\)$/{
   11218 	    s//\1/
   11219 	    q
   11220 	  }
   11221 	  /^X\(\/\).*/{
   11222 	    s//\1/
   11223 	    q
   11224 	  }
   11225 	  s/.*/./; q'`
   11226       test -d "$as_dir" && break
   11227     done
   11228     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11229   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11230 
   11231 
   11232 } # as_fn_mkdir_p
   11233 if mkdir -p . 2>/dev/null; then
   11234   as_mkdir_p='mkdir -p "$as_dir"'
   11235 else
   11236   test -d ./-p && rmdir ./-p
   11237   as_mkdir_p=false
   11238 fi
   11239 
   11240 
   11241 # as_fn_executable_p FILE
   11242 # -----------------------
   11243 # Test if FILE is an executable regular file.
   11244 as_fn_executable_p ()
   11245 {
   11246   test -f "$1" && test -x "$1"
   11247 } # as_fn_executable_p
   11248 as_test_x='test -x'
   11249 as_executable_p=as_fn_executable_p
   11250 
   11251 # Sed expression to map a string onto a valid CPP name.
   11252 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11253 
   11254 # Sed expression to map a string onto a valid variable name.
   11255 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11256 
   11257 
   11258 exec 6>&1
   11259 ## ----------------------------------- ##
   11260 ## Main body of $CONFIG_STATUS script. ##
   11261 ## ----------------------------------- ##
   11262 _ASEOF
   11263 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11264 
   11265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11266 # Save the log message, to keep $0 and so on meaningful, and to
   11267 # report actual input values of CONFIG_FILES etc. instead of their
   11268 # values after options handling.
   11269 ac_log="
   11270 This file was extended by xrandr $as_me 1.4.2, which was
   11271 generated by GNU Autoconf 2.69.  Invocation command line was
   11272 
   11273   CONFIG_FILES    = $CONFIG_FILES
   11274   CONFIG_HEADERS  = $CONFIG_HEADERS
   11275   CONFIG_LINKS    = $CONFIG_LINKS
   11276   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11277   $ $0 $@
   11278 
   11279 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11280 "
   11281 
   11282 _ACEOF
   11283 
   11284 case $ac_config_files in *"
   11285 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11286 esac
   11287 
   11288 case $ac_config_headers in *"
   11289 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11290 esac
   11291 
   11292 
   11293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11294 # Files that config.status was made for.
   11295 config_files="$ac_config_files"
   11296 config_headers="$ac_config_headers"
   11297 config_commands="$ac_config_commands"
   11298 
   11299 _ACEOF
   11300 
   11301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11302 ac_cs_usage="\
   11303 \`$as_me' instantiates files and other configuration actions
   11304 from templates according to the current configuration.  Unless the files
   11305 and actions are specified as TAGs, all are instantiated by default.
   11306 
   11307 Usage: $0 [OPTION]... [TAG]...
   11308 
   11309   -h, --help       print this help, then exit
   11310   -V, --version    print version number and configuration settings, then exit
   11311       --config     print configuration, then exit
   11312   -q, --quiet, --silent
   11313                    do not print progress messages
   11314   -d, --debug      don't remove temporary files
   11315       --recheck    update $as_me by reconfiguring in the same conditions
   11316       --file=FILE[:TEMPLATE]
   11317                    instantiate the configuration file FILE
   11318       --header=FILE[:TEMPLATE]
   11319                    instantiate the configuration header FILE
   11320 
   11321 Configuration files:
   11322 $config_files
   11323 
   11324 Configuration headers:
   11325 $config_headers
   11326 
   11327 Configuration commands:
   11328 $config_commands
   11329 
   11330 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11331 
   11332 _ACEOF
   11333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11334 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11335 ac_cs_version="\\
   11336 xrandr config.status 1.4.2
   11337 configured by $0, generated by GNU Autoconf 2.69,
   11338   with options \\"\$ac_cs_config\\"
   11339 
   11340 Copyright (C) 2012 Free Software Foundation, Inc.
   11341 This config.status script is free software; the Free Software Foundation
   11342 gives unlimited permission to copy, distribute and modify it."
   11343 
   11344 ac_pwd='$ac_pwd'
   11345 srcdir='$srcdir'
   11346 INSTALL='$INSTALL'
   11347 MKDIR_P='$MKDIR_P'
   11348 AWK='$AWK'
   11349 test -n "\$AWK" || AWK=awk
   11350 _ACEOF
   11351 
   11352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11353 # The default lists apply if the user does not specify any file.
   11354 ac_need_defaults=:
   11355 while test $# != 0
   11356 do
   11357   case $1 in
   11358   --*=?*)
   11359     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11360     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11361     ac_shift=:
   11362     ;;
   11363   --*=)
   11364     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11365     ac_optarg=
   11366     ac_shift=:
   11367     ;;
   11368   *)
   11369     ac_option=$1
   11370     ac_optarg=$2
   11371     ac_shift=shift
   11372     ;;
   11373   esac
   11374 
   11375   case $ac_option in
   11376   # Handling of the options.
   11377   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11378     ac_cs_recheck=: ;;
   11379   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11380     $as_echo "$ac_cs_version"; exit ;;
   11381   --config | --confi | --conf | --con | --co | --c )
   11382     $as_echo "$ac_cs_config"; exit ;;
   11383   --debug | --debu | --deb | --de | --d | -d )
   11384     debug=: ;;
   11385   --file | --fil | --fi | --f )
   11386     $ac_shift
   11387     case $ac_optarg in
   11388     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11389     '') as_fn_error $? "missing file argument" ;;
   11390     esac
   11391     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11392     ac_need_defaults=false;;
   11393   --header | --heade | --head | --hea )
   11394     $ac_shift
   11395     case $ac_optarg in
   11396     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11397     esac
   11398     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11399     ac_need_defaults=false;;
   11400   --he | --h)
   11401     # Conflict between --help and --header
   11402     as_fn_error $? "ambiguous option: \`$1'
   11403 Try \`$0 --help' for more information.";;
   11404   --help | --hel | -h )
   11405     $as_echo "$ac_cs_usage"; exit ;;
   11406   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11407   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11408     ac_cs_silent=: ;;
   11409 
   11410   # This is an error.
   11411   -*) as_fn_error $? "unrecognized option: \`$1'
   11412 Try \`$0 --help' for more information." ;;
   11413 
   11414   *) as_fn_append ac_config_targets " $1"
   11415      ac_need_defaults=false ;;
   11416 
   11417   esac
   11418   shift
   11419 done
   11420 
   11421 ac_configure_extra_args=
   11422 
   11423 if $ac_cs_silent; then
   11424   exec 6>/dev/null
   11425   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11426 fi
   11427 
   11428 _ACEOF
   11429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11430 if \$ac_cs_recheck; then
   11431   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11432   shift
   11433   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11434   CONFIG_SHELL='$SHELL'
   11435   export CONFIG_SHELL
   11436   exec "\$@"
   11437 fi
   11438 
   11439 _ACEOF
   11440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11441 exec 5>>config.log
   11442 {
   11443   echo
   11444   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11445 ## Running $as_me. ##
   11446 _ASBOX
   11447   $as_echo "$ac_log"
   11448 } >&5
   11449 
   11450 _ACEOF
   11451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11452 #
   11453 # INIT-COMMANDS
   11454 #
   11455 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11456 
   11457 _ACEOF
   11458 
   11459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11460 
   11461 # Handling of arguments.
   11462 for ac_config_target in $ac_config_targets
   11463 do
   11464   case $ac_config_target in
   11465     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11466     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11467     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11468     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11469 
   11470   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11471   esac
   11472 done
   11473 
   11474 
   11475 # If the user did not use the arguments to specify the items to instantiate,
   11476 # then the envvar interface is used.  Set only those that are not.
   11477 # We use the long form for the default assignment because of an extremely
   11478 # bizarre bug on SunOS 4.1.3.
   11479 if $ac_need_defaults; then
   11480   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11481   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11482   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11483 fi
   11484 
   11485 # Have a temporary directory for convenience.  Make it in the build tree
   11486 # simply because there is no reason against having it here, and in addition,
   11487 # creating and moving files from /tmp can sometimes cause problems.
   11488 # Hook for its removal unless debugging.
   11489 # Note that there is a small window in which the directory will not be cleaned:
   11490 # after its creation but before its name has been assigned to `$tmp'.
   11491 $debug ||
   11492 {
   11493   tmp= ac_tmp=
   11494   trap 'exit_status=$?
   11495   : "${ac_tmp:=$tmp}"
   11496   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11497 ' 0
   11498   trap 'as_fn_exit 1' 1 2 13 15
   11499 }
   11500 # Create a (secure) tmp directory for tmp files.
   11501 
   11502 {
   11503   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11504   test -d "$tmp"
   11505 }  ||
   11506 {
   11507   tmp=./conf$$-$RANDOM
   11508   (umask 077 && mkdir "$tmp")
   11509 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11510 ac_tmp=$tmp
   11511 
   11512 # Set up the scripts for CONFIG_FILES section.
   11513 # No need to generate them if there are no CONFIG_FILES.
   11514 # This happens for instance with `./config.status config.h'.
   11515 if test -n "$CONFIG_FILES"; then
   11516 
   11517 
   11518 ac_cr=`echo X | tr X '\015'`
   11519 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11520 # But we know of no other shell where ac_cr would be empty at this
   11521 # point, so we can use a bashism as a fallback.
   11522 if test "x$ac_cr" = x; then
   11523   eval ac_cr=\$\'\\r\'
   11524 fi
   11525 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11526 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11527   ac_cs_awk_cr='\\r'
   11528 else
   11529   ac_cs_awk_cr=$ac_cr
   11530 fi
   11531 
   11532 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11533 _ACEOF
   11534 
   11535 
   11536 {
   11537   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11538   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11539   echo "_ACEOF"
   11540 } >conf$$subs.sh ||
   11541   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11542 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11543 ac_delim='%!_!# '
   11544 for ac_last_try in false false false false false :; do
   11545   . ./conf$$subs.sh ||
   11546     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11547 
   11548   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11549   if test $ac_delim_n = $ac_delim_num; then
   11550     break
   11551   elif $ac_last_try; then
   11552     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11553   else
   11554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11555   fi
   11556 done
   11557 rm -f conf$$subs.sh
   11558 
   11559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11560 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11561 _ACEOF
   11562 sed -n '
   11563 h
   11564 s/^/S["/; s/!.*/"]=/
   11565 p
   11566 g
   11567 s/^[^!]*!//
   11568 :repl
   11569 t repl
   11570 s/'"$ac_delim"'$//
   11571 t delim
   11572 :nl
   11573 h
   11574 s/\(.\{148\}\)..*/\1/
   11575 t more1
   11576 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11577 p
   11578 n
   11579 b repl
   11580 :more1
   11581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11582 p
   11583 g
   11584 s/.\{148\}//
   11585 t nl
   11586 :delim
   11587 h
   11588 s/\(.\{148\}\)..*/\1/
   11589 t more2
   11590 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11591 p
   11592 b
   11593 :more2
   11594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11595 p
   11596 g
   11597 s/.\{148\}//
   11598 t delim
   11599 ' <conf$$subs.awk | sed '
   11600 /^[^""]/{
   11601   N
   11602   s/\n//
   11603 }
   11604 ' >>$CONFIG_STATUS || ac_write_fail=1
   11605 rm -f conf$$subs.awk
   11606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11607 _ACAWK
   11608 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11609   for (key in S) S_is_set[key] = 1
   11610   FS = ""
   11611 
   11612 }
   11613 {
   11614   line = $ 0
   11615   nfields = split(line, field, "@")
   11616   substed = 0
   11617   len = length(field[1])
   11618   for (i = 2; i < nfields; i++) {
   11619     key = field[i]
   11620     keylen = length(key)
   11621     if (S_is_set[key]) {
   11622       value = S[key]
   11623       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11624       len += length(value) + length(field[++i])
   11625       substed = 1
   11626     } else
   11627       len += 1 + keylen
   11628   }
   11629 
   11630   print line
   11631 }
   11632 
   11633 _ACAWK
   11634 _ACEOF
   11635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11636 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11637   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11638 else
   11639   cat
   11640 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11641   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11642 _ACEOF
   11643 
   11644 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11645 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11646 # trailing colons and then remove the whole line if VPATH becomes empty
   11647 # (actually we leave an empty line to preserve line numbers).
   11648 if test "x$srcdir" = x.; then
   11649   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11650 h
   11651 s///
   11652 s/^/:/
   11653 s/[	 ]*$/:/
   11654 s/:\$(srcdir):/:/g
   11655 s/:\${srcdir}:/:/g
   11656 s/:@srcdir@:/:/g
   11657 s/^:*//
   11658 s/:*$//
   11659 x
   11660 s/\(=[	 ]*\).*/\1/
   11661 G
   11662 s/\n//
   11663 s/^[^=]*=[	 ]*$//
   11664 }'
   11665 fi
   11666 
   11667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11668 fi # test -n "$CONFIG_FILES"
   11669 
   11670 # Set up the scripts for CONFIG_HEADERS section.
   11671 # No need to generate them if there are no CONFIG_HEADERS.
   11672 # This happens for instance with `./config.status Makefile'.
   11673 if test -n "$CONFIG_HEADERS"; then
   11674 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11675 BEGIN {
   11676 _ACEOF
   11677 
   11678 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11679 # here-document in config.status, that substitutes the proper values into
   11680 # config.h.in to produce config.h.
   11681 
   11682 # Create a delimiter string that does not exist in confdefs.h, to ease
   11683 # handling of long lines.
   11684 ac_delim='%!_!# '
   11685 for ac_last_try in false false :; do
   11686   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11687   if test -z "$ac_tt"; then
   11688     break
   11689   elif $ac_last_try; then
   11690     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11691   else
   11692     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11693   fi
   11694 done
   11695 
   11696 # For the awk script, D is an array of macro values keyed by name,
   11697 # likewise P contains macro parameters if any.  Preserve backslash
   11698 # newline sequences.
   11699 
   11700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11701 sed -n '
   11702 s/.\{148\}/&'"$ac_delim"'/g
   11703 t rset
   11704 :rset
   11705 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11706 t def
   11707 d
   11708 :def
   11709 s/\\$//
   11710 t bsnl
   11711 s/["\\]/\\&/g
   11712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11713 D["\1"]=" \3"/p
   11714 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11715 d
   11716 :bsnl
   11717 s/["\\]/\\&/g
   11718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11719 D["\1"]=" \3\\\\\\n"\\/p
   11720 t cont
   11721 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11722 t cont
   11723 d
   11724 :cont
   11725 n
   11726 s/.\{148\}/&'"$ac_delim"'/g
   11727 t clear
   11728 :clear
   11729 s/\\$//
   11730 t bsnlc
   11731 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11732 d
   11733 :bsnlc
   11734 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11735 b cont
   11736 ' <confdefs.h | sed '
   11737 s/'"$ac_delim"'/"\\\
   11738 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11739 
   11740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11741   for (key in D) D_is_set[key] = 1
   11742   FS = ""
   11743 }
   11744 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11745   line = \$ 0
   11746   split(line, arg, " ")
   11747   if (arg[1] == "#") {
   11748     defundef = arg[2]
   11749     mac1 = arg[3]
   11750   } else {
   11751     defundef = substr(arg[1], 2)
   11752     mac1 = arg[2]
   11753   }
   11754   split(mac1, mac2, "(") #)
   11755   macro = mac2[1]
   11756   prefix = substr(line, 1, index(line, defundef) - 1)
   11757   if (D_is_set[macro]) {
   11758     # Preserve the white space surrounding the "#".
   11759     print prefix "define", macro P[macro] D[macro]
   11760     next
   11761   } else {
   11762     # Replace #undef with comments.  This is necessary, for example,
   11763     # in the case of _POSIX_SOURCE, which is predefined and required
   11764     # on some systems where configure will not decide to define it.
   11765     if (defundef == "undef") {
   11766       print "/*", prefix defundef, macro, "*/"
   11767       next
   11768     }
   11769   }
   11770 }
   11771 { print }
   11772 _ACAWK
   11773 _ACEOF
   11774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11775   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11776 fi # test -n "$CONFIG_HEADERS"
   11777 
   11778 
   11779 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11780 shift
   11781 for ac_tag
   11782 do
   11783   case $ac_tag in
   11784   :[FHLC]) ac_mode=$ac_tag; continue;;
   11785   esac
   11786   case $ac_mode$ac_tag in
   11787   :[FHL]*:*);;
   11788   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11789   :[FH]-) ac_tag=-:-;;
   11790   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11791   esac
   11792   ac_save_IFS=$IFS
   11793   IFS=:
   11794   set x $ac_tag
   11795   IFS=$ac_save_IFS
   11796   shift
   11797   ac_file=$1
   11798   shift
   11799 
   11800   case $ac_mode in
   11801   :L) ac_source=$1;;
   11802   :[FH])
   11803     ac_file_inputs=
   11804     for ac_f
   11805     do
   11806       case $ac_f in
   11807       -) ac_f="$ac_tmp/stdin";;
   11808       *) # Look for the file first in the build tree, then in the source tree
   11809 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11810 	 # because $ac_f cannot contain `:'.
   11811 	 test -f "$ac_f" ||
   11812 	   case $ac_f in
   11813 	   [\\/$]*) false;;
   11814 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11815 	   esac ||
   11816 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11817       esac
   11818       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11819       as_fn_append ac_file_inputs " '$ac_f'"
   11820     done
   11821 
   11822     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11823     # use $as_me), people would be surprised to read:
   11824     #    /* config.h.  Generated by config.status.  */
   11825     configure_input='Generated from '`
   11826 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11827 	`' by configure.'
   11828     if test x"$ac_file" != x-; then
   11829       configure_input="$ac_file.  $configure_input"
   11830       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11831 $as_echo "$as_me: creating $ac_file" >&6;}
   11832     fi
   11833     # Neutralize special characters interpreted by sed in replacement strings.
   11834     case $configure_input in #(
   11835     *\&* | *\|* | *\\* )
   11836        ac_sed_conf_input=`$as_echo "$configure_input" |
   11837        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11838     *) ac_sed_conf_input=$configure_input;;
   11839     esac
   11840 
   11841     case $ac_tag in
   11842     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11843       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11844     esac
   11845     ;;
   11846   esac
   11847 
   11848   ac_dir=`$as_dirname -- "$ac_file" ||
   11849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11850 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11851 	 X"$ac_file" : 'X\(//\)$' \| \
   11852 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11853 $as_echo X"$ac_file" |
   11854     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11855 	    s//\1/
   11856 	    q
   11857 	  }
   11858 	  /^X\(\/\/\)[^/].*/{
   11859 	    s//\1/
   11860 	    q
   11861 	  }
   11862 	  /^X\(\/\/\)$/{
   11863 	    s//\1/
   11864 	    q
   11865 	  }
   11866 	  /^X\(\/\).*/{
   11867 	    s//\1/
   11868 	    q
   11869 	  }
   11870 	  s/.*/./; q'`
   11871   as_dir="$ac_dir"; as_fn_mkdir_p
   11872   ac_builddir=.
   11873 
   11874 case "$ac_dir" in
   11875 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11876 *)
   11877   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11878   # A ".." for each directory in $ac_dir_suffix.
   11879   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11880   case $ac_top_builddir_sub in
   11881   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11882   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11883   esac ;;
   11884 esac
   11885 ac_abs_top_builddir=$ac_pwd
   11886 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11887 # for backward compatibility:
   11888 ac_top_builddir=$ac_top_build_prefix
   11889 
   11890 case $srcdir in
   11891   .)  # We are building in place.
   11892     ac_srcdir=.
   11893     ac_top_srcdir=$ac_top_builddir_sub
   11894     ac_abs_top_srcdir=$ac_pwd ;;
   11895   [\\/]* | ?:[\\/]* )  # Absolute name.
   11896     ac_srcdir=$srcdir$ac_dir_suffix;
   11897     ac_top_srcdir=$srcdir
   11898     ac_abs_top_srcdir=$srcdir ;;
   11899   *) # Relative name.
   11900     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11901     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11902     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11903 esac
   11904 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11905 
   11906 
   11907   case $ac_mode in
   11908   :F)
   11909   #
   11910   # CONFIG_FILE
   11911   #
   11912 
   11913   case $INSTALL in
   11914   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11915   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11916   esac
   11917   ac_MKDIR_P=$MKDIR_P
   11918   case $MKDIR_P in
   11919   [\\/$]* | ?:[\\/]* ) ;;
   11920   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11921   esac
   11922 _ACEOF
   11923 
   11924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11925 # If the template does not know about datarootdir, expand it.
   11926 # FIXME: This hack should be removed a few years after 2.60.
   11927 ac_datarootdir_hack=; ac_datarootdir_seen=
   11928 ac_sed_dataroot='
   11929 /datarootdir/ {
   11930   p
   11931   q
   11932 }
   11933 /@datadir@/p
   11934 /@docdir@/p
   11935 /@infodir@/p
   11936 /@localedir@/p
   11937 /@mandir@/p'
   11938 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11939 *datarootdir*) ac_datarootdir_seen=yes;;
   11940 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11941   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11942 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11943 _ACEOF
   11944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11945   ac_datarootdir_hack='
   11946   s&@datadir@&$datadir&g
   11947   s&@docdir@&$docdir&g
   11948   s&@infodir@&$infodir&g
   11949   s&@localedir@&$localedir&g
   11950   s&@mandir@&$mandir&g
   11951   s&\\\${datarootdir}&$datarootdir&g' ;;
   11952 esac
   11953 _ACEOF
   11954 
   11955 # Neutralize VPATH when `$srcdir' = `.'.
   11956 # Shell code in configure.ac might set extrasub.
   11957 # FIXME: do we really want to maintain this feature?
   11958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11959 ac_sed_extra="$ac_vpsub
   11960 $extrasub
   11961 _ACEOF
   11962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11963 :t
   11964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11965 s|@configure_input@|$ac_sed_conf_input|;t t
   11966 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11967 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11968 s&@srcdir@&$ac_srcdir&;t t
   11969 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11970 s&@top_srcdir@&$ac_top_srcdir&;t t
   11971 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11972 s&@builddir@&$ac_builddir&;t t
   11973 s&@abs_builddir@&$ac_abs_builddir&;t t
   11974 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11975 s&@INSTALL@&$ac_INSTALL&;t t
   11976 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11977 $ac_datarootdir_hack
   11978 "
   11979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11980   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11981 
   11982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11983   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11984   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11985       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11986   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11987 which seems to be undefined.  Please make sure it is defined" >&5
   11988 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11989 which seems to be undefined.  Please make sure it is defined" >&2;}
   11990 
   11991   rm -f "$ac_tmp/stdin"
   11992   case $ac_file in
   11993   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11994   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11995   esac \
   11996   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11997  ;;
   11998   :H)
   11999   #
   12000   # CONFIG_HEADER
   12001   #
   12002   if test x"$ac_file" != x-; then
   12003     {
   12004       $as_echo "/* $configure_input  */" \
   12005       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12006     } >"$ac_tmp/config.h" \
   12007       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12008     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12009       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12010 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12011     else
   12012       rm -f "$ac_file"
   12013       mv "$ac_tmp/config.h" "$ac_file" \
   12014 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12015     fi
   12016   else
   12017     $as_echo "/* $configure_input  */" \
   12018       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12019       || as_fn_error $? "could not create -" "$LINENO" 5
   12020   fi
   12021 # Compute "$ac_file"'s index in $config_headers.
   12022 _am_arg="$ac_file"
   12023 _am_stamp_count=1
   12024 for _am_header in $config_headers :; do
   12025   case $_am_header in
   12026     $_am_arg | $_am_arg:* )
   12027       break ;;
   12028     * )
   12029       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12030   esac
   12031 done
   12032 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12033 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12034 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12035 	 X"$_am_arg" : 'X\(//\)$' \| \
   12036 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12037 $as_echo X"$_am_arg" |
   12038     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12039 	    s//\1/
   12040 	    q
   12041 	  }
   12042 	  /^X\(\/\/\)[^/].*/{
   12043 	    s//\1/
   12044 	    q
   12045 	  }
   12046 	  /^X\(\/\/\)$/{
   12047 	    s//\1/
   12048 	    q
   12049 	  }
   12050 	  /^X\(\/\).*/{
   12051 	    s//\1/
   12052 	    q
   12053 	  }
   12054 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12055  ;;
   12056 
   12057   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12058 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12059  ;;
   12060   esac
   12061 
   12062 
   12063   case $ac_file$ac_mode in
   12064     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12065   # Older Autoconf quotes --file arguments for eval, but not when files
   12066   # are listed without --file.  Let's play safe and only enable the eval
   12067   # if we detect the quoting.
   12068   case $CONFIG_FILES in
   12069   *\'*) eval set x "$CONFIG_FILES" ;;
   12070   *)   set x $CONFIG_FILES ;;
   12071   esac
   12072   shift
   12073   for mf
   12074   do
   12075     # Strip MF so we end up with the name of the file.
   12076     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12077     # Check whether this is an Automake generated Makefile or not.
   12078     # We used to match only the files named 'Makefile.in', but
   12079     # some people rename them; so instead we look at the file content.
   12080     # Grep'ing the first line is not enough: some people post-process
   12081     # each Makefile.in and add a new line on top of each file to say so.
   12082     # Grep'ing the whole file is not good either: AIX grep has a line
   12083     # limit of 2048, but all sed's we know have understand at least 4000.
   12084     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12085       dirpart=`$as_dirname -- "$mf" ||
   12086 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12087 	 X"$mf" : 'X\(//\)[^/]' \| \
   12088 	 X"$mf" : 'X\(//\)$' \| \
   12089 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12090 $as_echo X"$mf" |
   12091     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12092 	    s//\1/
   12093 	    q
   12094 	  }
   12095 	  /^X\(\/\/\)[^/].*/{
   12096 	    s//\1/
   12097 	    q
   12098 	  }
   12099 	  /^X\(\/\/\)$/{
   12100 	    s//\1/
   12101 	    q
   12102 	  }
   12103 	  /^X\(\/\).*/{
   12104 	    s//\1/
   12105 	    q
   12106 	  }
   12107 	  s/.*/./; q'`
   12108     else
   12109       continue
   12110     fi
   12111     # Extract the definition of DEPDIR, am__include, and am__quote
   12112     # from the Makefile without running 'make'.
   12113     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12114     test -z "$DEPDIR" && continue
   12115     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12116     test -z "$am__include" && continue
   12117     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12118     # Find all dependency output files, they are included files with
   12119     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12120     # simplest approach to changing $(DEPDIR) to its actual value in the
   12121     # expansion.
   12122     for file in `sed -n "
   12123       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12124 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12125       # Make sure the directory exists.
   12126       test -f "$dirpart/$file" && continue
   12127       fdir=`$as_dirname -- "$file" ||
   12128 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12129 	 X"$file" : 'X\(//\)[^/]' \| \
   12130 	 X"$file" : 'X\(//\)$' \| \
   12131 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12132 $as_echo X"$file" |
   12133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12134 	    s//\1/
   12135 	    q
   12136 	  }
   12137 	  /^X\(\/\/\)[^/].*/{
   12138 	    s//\1/
   12139 	    q
   12140 	  }
   12141 	  /^X\(\/\/\)$/{
   12142 	    s//\1/
   12143 	    q
   12144 	  }
   12145 	  /^X\(\/\).*/{
   12146 	    s//\1/
   12147 	    q
   12148 	  }
   12149 	  s/.*/./; q'`
   12150       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12151       # echo "creating $dirpart/$file"
   12152       echo '# dummy' > "$dirpart/$file"
   12153     done
   12154   done
   12155 }
   12156  ;;
   12157 
   12158   esac
   12159 done # for ac_tag
   12160 
   12161 
   12162 as_fn_exit 0
   12163 _ACEOF
   12164 ac_clean_files=$ac_clean_files_save
   12165 
   12166 test $ac_write_fail = 0 ||
   12167   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12168 
   12169 
   12170 # configure is writing to config.log, and then calls config.status.
   12171 # config.status does its own redirection, appending to config.log.
   12172 # Unfortunately, on DOS this fails, as config.log is still kept open
   12173 # by configure, so config.status won't be able to write to it; its
   12174 # output is simply discarded.  So we exec the FD to /dev/null,
   12175 # effectively closing config.log, so it can be properly (re)opened and
   12176 # appended to by config.status.  When coming back to configure, we
   12177 # need to make the FD available again.
   12178 if test "$no_create" != yes; then
   12179   ac_cs_success=:
   12180   ac_config_status_args=
   12181   test "$silent" = yes &&
   12182     ac_config_status_args="$ac_config_status_args --quiet"
   12183   exec 5>/dev/null
   12184   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12185   exec 5>>config.log
   12186   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12187   # would make configure fail if this is the last instruction.
   12188   $ac_cs_success || as_fn_exit 1
   12189 fi
   12190 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12191   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12192 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12193 fi
   12194 
   12195