Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xprop 1.2.3.
      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='xprop'
    583 PACKAGE_TARNAME='xprop'
    584 PACKAGE_VERSION='1.2.3'
    585 PACKAGE_STRING='xprop 1.2.3'
    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 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 XPROP_LIBS
    635 XPROP_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 EGREP
    668 GREP
    669 CPP
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 AM_BACKSLASH
    688 AM_DEFAULT_VERBOSITY
    689 AM_DEFAULT_V
    690 AM_V
    691 am__untar
    692 am__tar
    693 AMTAR
    694 am__leading_dot
    695 SET_MAKE
    696 AWK
    697 mkdir_p
    698 MKDIR_P
    699 INSTALL_STRIP_PROGRAM
    700 STRIP
    701 install_sh
    702 MAKEINFO
    703 AUTOHEADER
    704 AUTOMAKE
    705 AUTOCONF
    706 ACLOCAL
    707 VERSION
    708 PACKAGE
    709 CYGPATH_W
    710 am__isrc
    711 INSTALL_DATA
    712 INSTALL_SCRIPT
    713 INSTALL_PROGRAM
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_silent_rules
    756 enable_dependency_tracking
    757 enable_selective_werror
    758 enable_strict_compilation
    759 with_lint
    760 '
    761       ac_precious_vars='build_alias
    762 host_alias
    763 target_alias
    764 CC
    765 CFLAGS
    766 LDFLAGS
    767 LIBS
    768 CPPFLAGS
    769 CPP
    770 PKG_CONFIG
    771 PKG_CONFIG_PATH
    772 PKG_CONFIG_LIBDIR
    773 XPROP_CFLAGS
    774 XPROP_LIBS
    775 LINT
    776 LINT_FLAGS'
    777 
    778 
    779 # Initialize some variables set by options.
    780 ac_init_help=
    781 ac_init_version=false
    782 ac_unrecognized_opts=
    783 ac_unrecognized_sep=
    784 # The variables have the same names as the options, with
    785 # dashes changed to underlines.
    786 cache_file=/dev/null
    787 exec_prefix=NONE
    788 no_create=
    789 no_recursion=
    790 prefix=NONE
    791 program_prefix=NONE
    792 program_suffix=NONE
    793 program_transform_name=s,x,x,
    794 silent=
    795 site=
    796 srcdir=
    797 verbose=
    798 x_includes=NONE
    799 x_libraries=NONE
    800 
    801 # Installation directory options.
    802 # These are left unexpanded so users can "make install exec_prefix=/foo"
    803 # and all the variables that are supposed to be based on exec_prefix
    804 # by default will actually change.
    805 # Use braces instead of parens because sh, perl, etc. also accept them.
    806 # (The list follows the same order as the GNU Coding Standards.)
    807 bindir='${exec_prefix}/bin'
    808 sbindir='${exec_prefix}/sbin'
    809 libexecdir='${exec_prefix}/libexec'
    810 datarootdir='${prefix}/share'
    811 datadir='${datarootdir}'
    812 sysconfdir='${prefix}/etc'
    813 sharedstatedir='${prefix}/com'
    814 localstatedir='${prefix}/var'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   # Accept the important Cygnus configure options, so we can diagnose typos.
    845 
    846   case $ac_dashdash$ac_option in
    847   --)
    848     ac_dashdash=yes ;;
    849 
    850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    851     ac_prev=bindir ;;
    852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    853     bindir=$ac_optarg ;;
    854 
    855   -build | --build | --buil | --bui | --bu)
    856     ac_prev=build_alias ;;
    857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    858     build_alias=$ac_optarg ;;
    859 
    860   -cache-file | --cache-file | --cache-fil | --cache-fi \
    861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    862     ac_prev=cache_file ;;
    863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    865     cache_file=$ac_optarg ;;
    866 
    867   --config-cache | -C)
    868     cache_file=config.cache ;;
    869 
    870   -datadir | --datadir | --datadi | --datad)
    871     ac_prev=datadir ;;
    872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    873     datadir=$ac_optarg ;;
    874 
    875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    876   | --dataroo | --dataro | --datar)
    877     ac_prev=datarootdir ;;
    878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    880     datarootdir=$ac_optarg ;;
    881 
    882   -disable-* | --disable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: $ac_useropt"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=no ;;
    897 
    898   -docdir | --docdir | --docdi | --doc | --do)
    899     ac_prev=docdir ;;
    900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    901     docdir=$ac_optarg ;;
    902 
    903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    904     ac_prev=dvidir ;;
    905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    906     dvidir=$ac_optarg ;;
    907 
    908   -enable-* | --enable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: $ac_useropt"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=\$ac_optarg ;;
    923 
    924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    926   | --exec | --exe | --ex)
    927     ac_prev=exec_prefix ;;
    928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    930   | --exec=* | --exe=* | --ex=*)
    931     exec_prefix=$ac_optarg ;;
    932 
    933   -gas | --gas | --ga | --g)
    934     # Obsolete; use --with-gas.
    935     with_gas=yes ;;
    936 
    937   -help | --help | --hel | --he | -h)
    938     ac_init_help=long ;;
    939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    940     ac_init_help=recursive ;;
    941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    942     ac_init_help=short ;;
    943 
    944   -host | --host | --hos | --ho)
    945     ac_prev=host_alias ;;
    946   -host=* | --host=* | --hos=* | --ho=*)
    947     host_alias=$ac_optarg ;;
    948 
    949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    950     ac_prev=htmldir ;;
    951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    952   | --ht=*)
    953     htmldir=$ac_optarg ;;
    954 
    955   -includedir | --includedir | --includedi | --included | --include \
    956   | --includ | --inclu | --incl | --inc)
    957     ac_prev=includedir ;;
    958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    959   | --includ=* | --inclu=* | --incl=* | --inc=*)
    960     includedir=$ac_optarg ;;
    961 
    962   -infodir | --infodir | --infodi | --infod | --info | --inf)
    963     ac_prev=infodir ;;
    964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    965     infodir=$ac_optarg ;;
    966 
    967   -libdir | --libdir | --libdi | --libd)
    968     ac_prev=libdir ;;
    969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    970     libdir=$ac_optarg ;;
    971 
    972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    973   | --libexe | --libex | --libe)
    974     ac_prev=libexecdir ;;
    975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    976   | --libexe=* | --libex=* | --libe=*)
    977     libexecdir=$ac_optarg ;;
    978 
    979   -localedir | --localedir | --localedi | --localed | --locale)
    980     ac_prev=localedir ;;
    981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    982     localedir=$ac_optarg ;;
    983 
    984   -localstatedir | --localstatedir | --localstatedi | --localstated \
    985   | --localstate | --localstat | --localsta | --localst | --locals)
    986     ac_prev=localstatedir ;;
    987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    989     localstatedir=$ac_optarg ;;
    990 
    991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    992     ac_prev=mandir ;;
    993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    994     mandir=$ac_optarg ;;
    995 
    996   -nfp | --nfp | --nf)
    997     # Obsolete; use --without-fp.
    998     with_fp=no ;;
    999 
   1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1001   | --no-cr | --no-c | -n)
   1002     no_create=yes ;;
   1003 
   1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1006     no_recursion=yes ;;
   1007 
   1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1010   | --oldin | --oldi | --old | --ol | --o)
   1011     ac_prev=oldincludedir ;;
   1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1015     oldincludedir=$ac_optarg ;;
   1016 
   1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1018     ac_prev=prefix ;;
   1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1020     prefix=$ac_optarg ;;
   1021 
   1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1023   | --program-pre | --program-pr | --program-p)
   1024     ac_prev=program_prefix ;;
   1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1027     program_prefix=$ac_optarg ;;
   1028 
   1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1030   | --program-suf | --program-su | --program-s)
   1031     ac_prev=program_suffix ;;
   1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1034     program_suffix=$ac_optarg ;;
   1035 
   1036   -program-transform-name | --program-transform-name \
   1037   | --program-transform-nam | --program-transform-na \
   1038   | --program-transform-n | --program-transform- \
   1039   | --program-transform | --program-transfor \
   1040   | --program-transfo | --program-transf \
   1041   | --program-trans | --program-tran \
   1042   | --progr-tra | --program-tr | --program-t)
   1043     ac_prev=program_transform_name ;;
   1044   -program-transform-name=* | --program-transform-name=* \
   1045   | --program-transform-nam=* | --program-transform-na=* \
   1046   | --program-transform-n=* | --program-transform-=* \
   1047   | --program-transform=* | --program-transfor=* \
   1048   | --program-transfo=* | --program-transf=* \
   1049   | --program-trans=* | --program-tran=* \
   1050   | --progr-tra=* | --program-tr=* | --program-t=*)
   1051     program_transform_name=$ac_optarg ;;
   1052 
   1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1054     ac_prev=pdfdir ;;
   1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1056     pdfdir=$ac_optarg ;;
   1057 
   1058   -psdir | --psdir | --psdi | --psd | --ps)
   1059     ac_prev=psdir ;;
   1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1061     psdir=$ac_optarg ;;
   1062 
   1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1064   | -silent | --silent | --silen | --sile | --sil)
   1065     silent=yes ;;
   1066 
   1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1068     ac_prev=sbindir ;;
   1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1070   | --sbi=* | --sb=*)
   1071     sbindir=$ac_optarg ;;
   1072 
   1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1075   | --sharedst | --shareds | --shared | --share | --shar \
   1076   | --sha | --sh)
   1077     ac_prev=sharedstatedir ;;
   1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1081   | --sha=* | --sh=*)
   1082     sharedstatedir=$ac_optarg ;;
   1083 
   1084   -site | --site | --sit)
   1085     ac_prev=site ;;
   1086   -site=* | --site=* | --sit=*)
   1087     site=$ac_optarg ;;
   1088 
   1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1090     ac_prev=srcdir ;;
   1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1092     srcdir=$ac_optarg ;;
   1093 
   1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1095   | --syscon | --sysco | --sysc | --sys | --sy)
   1096     ac_prev=sysconfdir ;;
   1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1099     sysconfdir=$ac_optarg ;;
   1100 
   1101   -target | --target | --targe | --targ | --tar | --ta | --t)
   1102     ac_prev=target_alias ;;
   1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1104     target_alias=$ac_optarg ;;
   1105 
   1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1107     verbose=yes ;;
   1108 
   1109   -version | --version | --versio | --versi | --vers | -V)
   1110     ac_init_version=: ;;
   1111 
   1112   -with-* | --with-*)
   1113     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1114     # Reject names that are not valid shell variable names.
   1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1116       as_fn_error $? "invalid package name: $ac_useropt"
   1117     ac_useropt_orig=$ac_useropt
   1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1119     case $ac_user_opts in
   1120       *"
   1121 "with_$ac_useropt"
   1122 "*) ;;
   1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1124 	 ac_unrecognized_sep=', ';;
   1125     esac
   1126     eval with_$ac_useropt=\$ac_optarg ;;
   1127 
   1128   -without-* | --without-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=no ;;
   1143 
   1144   --x)
   1145     # Obsolete; use --with-x.
   1146     with_x=yes ;;
   1147 
   1148   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1149   | --x-incl | --x-inc | --x-in | --x-i)
   1150     ac_prev=x_includes ;;
   1151   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1152   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1153     x_includes=$ac_optarg ;;
   1154 
   1155   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1156   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1157     ac_prev=x_libraries ;;
   1158   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1159   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1160     x_libraries=$ac_optarg ;;
   1161 
   1162   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1163 Try \`$0 --help' for more information"
   1164     ;;
   1165 
   1166   *=*)
   1167     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1168     # Reject names that are not valid shell variable names.
   1169     case $ac_envvar in #(
   1170       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1171       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1172     esac
   1173     eval $ac_envvar=\$ac_optarg
   1174     export $ac_envvar ;;
   1175 
   1176   *)
   1177     # FIXME: should be removed in autoconf 3.0.
   1178     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1179     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1180       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1181     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1182     ;;
   1183 
   1184   esac
   1185 done
   1186 
   1187 if test -n "$ac_prev"; then
   1188   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1189   as_fn_error $? "missing argument to $ac_option"
   1190 fi
   1191 
   1192 if test -n "$ac_unrecognized_opts"; then
   1193   case $enable_option_checking in
   1194     no) ;;
   1195     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1196     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1197   esac
   1198 fi
   1199 
   1200 # Check all directory arguments for consistency.
   1201 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1202 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1203 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1204 		libdir localedir mandir
   1205 do
   1206   eval ac_val=\$$ac_var
   1207   # Remove trailing slashes.
   1208   case $ac_val in
   1209     */ )
   1210       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1211       eval $ac_var=\$ac_val;;
   1212   esac
   1213   # Be sure to have absolute directory names.
   1214   case $ac_val in
   1215     [\\/$]* | ?:[\\/]* )  continue;;
   1216     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1217   esac
   1218   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1219 done
   1220 
   1221 # There might be people who depend on the old broken behavior: `$host'
   1222 # used to hold the argument of --host etc.
   1223 # FIXME: To remove some day.
   1224 build=$build_alias
   1225 host=$host_alias
   1226 target=$target_alias
   1227 
   1228 # FIXME: To remove some day.
   1229 if test "x$host_alias" != x; then
   1230   if test "x$build_alias" = x; then
   1231     cross_compiling=maybe
   1232   elif test "x$build_alias" != "x$host_alias"; then
   1233     cross_compiling=yes
   1234   fi
   1235 fi
   1236 
   1237 ac_tool_prefix=
   1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1239 
   1240 test "$silent" = yes && exec 6>/dev/null
   1241 
   1242 
   1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1244 ac_ls_di=`ls -di .` &&
   1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1246   as_fn_error $? "working directory cannot be determined"
   1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1248   as_fn_error $? "pwd does not report name of working directory"
   1249 
   1250 
   1251 # Find the source files, if location was not specified.
   1252 if test -z "$srcdir"; then
   1253   ac_srcdir_defaulted=yes
   1254   # Try the directory containing this script, then the parent directory.
   1255   ac_confdir=`$as_dirname -- "$as_myself" ||
   1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1257 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1258 	 X"$as_myself" : 'X\(//\)$' \| \
   1259 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1260 $as_echo X"$as_myself" |
   1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)[^/].*/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\/\)$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\).*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  s/.*/./; q'`
   1278   srcdir=$ac_confdir
   1279   if test ! -r "$srcdir/$ac_unique_file"; then
   1280     srcdir=..
   1281   fi
   1282 else
   1283   ac_srcdir_defaulted=no
   1284 fi
   1285 if test ! -r "$srcdir/$ac_unique_file"; then
   1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1287   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1288 fi
   1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1290 ac_abs_confdir=`(
   1291 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1292 	pwd)`
   1293 # When building in place, set srcdir=.
   1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1295   srcdir=.
   1296 fi
   1297 # Remove unnecessary trailing slashes from srcdir.
   1298 # Double slashes in file names in object file debugging info
   1299 # mess up M-x gdb in Emacs.
   1300 case $srcdir in
   1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1302 esac
   1303 for ac_var in $ac_precious_vars; do
   1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_env_${ac_var}_value=\$${ac_var}
   1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1308 done
   1309 
   1310 #
   1311 # Report the --help message.
   1312 #
   1313 if test "$ac_init_help" = "long"; then
   1314   # Omit some internal or obsolete options to make the list less imposing.
   1315   # This message is too long to be a string in the A/UX 3.1 sh.
   1316   cat <<_ACEOF
   1317 \`configure' configures xprop 1.2.3 to adapt to many kinds of systems.
   1318 
   1319 Usage: $0 [OPTION]... [VAR=VALUE]...
   1320 
   1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1323 
   1324 Defaults for the options are specified in brackets.
   1325 
   1326 Configuration:
   1327   -h, --help              display this help and exit
   1328       --help=short        display options specific to this package
   1329       --help=recursive    display the short help of all the included packages
   1330   -V, --version           display version information and exit
   1331   -q, --quiet, --silent   do not print \`checking ...' messages
   1332       --cache-file=FILE   cache test results in FILE [disabled]
   1333   -C, --config-cache      alias for \`--cache-file=config.cache'
   1334   -n, --no-create         do not create output files
   1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1336 
   1337 Installation directories:
   1338   --prefix=PREFIX         install architecture-independent files in PREFIX
   1339                           [$ac_default_prefix]
   1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1341                           [PREFIX]
   1342 
   1343 By default, \`make install' will install all the files in
   1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1346 for instance \`--prefix=\$HOME'.
   1347 
   1348 For better control, use the options below.
   1349 
   1350 Fine tuning of the installation directories:
   1351   --bindir=DIR            user executables [EPREFIX/bin]
   1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1357   --libdir=DIR            object code libraries [EPREFIX/lib]
   1358   --includedir=DIR        C header files [PREFIX/include]
   1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1365   --docdir=DIR            documentation root [DATAROOTDIR/doc/xprop]
   1366   --htmldir=DIR           html documentation [DOCDIR]
   1367   --dvidir=DIR            dvi documentation [DOCDIR]
   1368   --pdfdir=DIR            pdf documentation [DOCDIR]
   1369   --psdir=DIR             ps documentation [DOCDIR]
   1370 _ACEOF
   1371 
   1372   cat <<\_ACEOF
   1373 
   1374 Program names:
   1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1378 
   1379 System types:
   1380   --build=BUILD     configure for building on BUILD [guessed]
   1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1382 _ACEOF
   1383 fi
   1384 
   1385 if test -n "$ac_init_help"; then
   1386   case $ac_init_help in
   1387      short | recursive ) echo "Configuration of xprop 1.2.3:";;
   1388    esac
   1389   cat <<\_ACEOF
   1390 
   1391 Optional Features:
   1392   --disable-option-checking  ignore unrecognized --enable/--with options
   1393   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1394   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1395   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1396   --disable-silent-rules  verbose build output (undo: "make V=0")
   1397   --enable-dependency-tracking
   1398                           do not reject slow dependency extractors
   1399   --disable-dependency-tracking
   1400                           speeds up one-time build
   1401   --disable-selective-werror
   1402                           Turn off selective compiler errors. (default:
   1403                           enabled)
   1404   --enable-strict-compilation
   1405                           Enable all warnings from compiler and make them
   1406                           errors (default: disabled)
   1407 
   1408 Optional Packages:
   1409   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1410   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1411   --with-lint             Use a lint-style source code checker (default:
   1412                           disabled)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   PKG_CONFIG_PATH
   1425               directories to add to pkg-config's search path
   1426   PKG_CONFIG_LIBDIR
   1427               path overriding pkg-config's built-in search path
   1428   XPROP_CFLAGS
   1429               C compiler flags for XPROP, overriding pkg-config
   1430   XPROP_LIBS  linker flags for XPROP, overriding pkg-config
   1431   LINT        Path to a lint-style command
   1432   LINT_FLAGS  Flags for the lint-style command
   1433 
   1434 Use these variables to override the choices made by `configure' or to help
   1435 it to find libraries and programs with nonstandard names/locations.
   1436 
   1437 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1438 _ACEOF
   1439 ac_status=$?
   1440 fi
   1441 
   1442 if test "$ac_init_help" = "recursive"; then
   1443   # If there are subdirs, report their specific --help.
   1444   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1445     test -d "$ac_dir" ||
   1446       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1447       continue
   1448     ac_builddir=.
   1449 
   1450 case "$ac_dir" in
   1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1452 *)
   1453   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1454   # A ".." for each directory in $ac_dir_suffix.
   1455   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1456   case $ac_top_builddir_sub in
   1457   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1459   esac ;;
   1460 esac
   1461 ac_abs_top_builddir=$ac_pwd
   1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1463 # for backward compatibility:
   1464 ac_top_builddir=$ac_top_build_prefix
   1465 
   1466 case $srcdir in
   1467   .)  # We are building in place.
   1468     ac_srcdir=.
   1469     ac_top_srcdir=$ac_top_builddir_sub
   1470     ac_abs_top_srcdir=$ac_pwd ;;
   1471   [\\/]* | ?:[\\/]* )  # Absolute name.
   1472     ac_srcdir=$srcdir$ac_dir_suffix;
   1473     ac_top_srcdir=$srcdir
   1474     ac_abs_top_srcdir=$srcdir ;;
   1475   *) # Relative name.
   1476     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1477     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1478     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1479 esac
   1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1481 
   1482     cd "$ac_dir" || { ac_status=$?; continue; }
   1483     # Check for guested configure.
   1484     if test -f "$ac_srcdir/configure.gnu"; then
   1485       echo &&
   1486       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1487     elif test -f "$ac_srcdir/configure"; then
   1488       echo &&
   1489       $SHELL "$ac_srcdir/configure" --help=recursive
   1490     else
   1491       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1492     fi || ac_status=$?
   1493     cd "$ac_pwd" || { ac_status=$?; break; }
   1494   done
   1495 fi
   1496 
   1497 test -n "$ac_init_help" && exit $ac_status
   1498 if $ac_init_version; then
   1499   cat <<\_ACEOF
   1500 xprop configure 1.2.3
   1501 generated by GNU Autoconf 2.69
   1502 
   1503 Copyright (C) 2012 Free Software Foundation, Inc.
   1504 This configure script is free software; the Free Software Foundation
   1505 gives unlimited permission to copy, distribute and modify it.
   1506 _ACEOF
   1507   exit
   1508 fi
   1509 
   1510 ## ------------------------ ##
   1511 ## Autoconf initialization. ##
   1512 ## ------------------------ ##
   1513 
   1514 # ac_fn_c_try_compile LINENO
   1515 # --------------------------
   1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1517 ac_fn_c_try_compile ()
   1518 {
   1519   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1520   rm -f conftest.$ac_objext
   1521   if { { ac_try="$ac_compile"
   1522 case "(($ac_try" in
   1523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1524   *) ac_try_echo=$ac_try;;
   1525 esac
   1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1527 $as_echo "$ac_try_echo"; } >&5
   1528   (eval "$ac_compile") 2>conftest.err
   1529   ac_status=$?
   1530   if test -s conftest.err; then
   1531     grep -v '^ *+' conftest.err >conftest.er1
   1532     cat conftest.er1 >&5
   1533     mv -f conftest.er1 conftest.err
   1534   fi
   1535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1536   test $ac_status = 0; } && {
   1537 	 test -z "$ac_c_werror_flag" ||
   1538 	 test ! -s conftest.err
   1539        } && test -s conftest.$ac_objext; then :
   1540   ac_retval=0
   1541 else
   1542   $as_echo "$as_me: failed program was:" >&5
   1543 sed 's/^/| /' conftest.$ac_ext >&5
   1544 
   1545 	ac_retval=1
   1546 fi
   1547   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1548   as_fn_set_status $ac_retval
   1549 
   1550 } # ac_fn_c_try_compile
   1551 
   1552 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1553 # ---------------------------------------------
   1554 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1555 # accordingly.
   1556 ac_fn_c_check_decl ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1560   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1562 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1563 if eval \${$3+:} false; then :
   1564   $as_echo_n "(cached) " >&6
   1565 else
   1566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1567 /* end confdefs.h.  */
   1568 $4
   1569 int
   1570 main ()
   1571 {
   1572 #ifndef $as_decl_name
   1573 #ifdef __cplusplus
   1574   (void) $as_decl_use;
   1575 #else
   1576   (void) $as_decl_name;
   1577 #endif
   1578 #endif
   1579 
   1580   ;
   1581   return 0;
   1582 }
   1583 _ACEOF
   1584 if ac_fn_c_try_compile "$LINENO"; then :
   1585   eval "$3=yes"
   1586 else
   1587   eval "$3=no"
   1588 fi
   1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1590 fi
   1591 eval ac_res=\$$3
   1592 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1593 $as_echo "$ac_res" >&6; }
   1594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1595 
   1596 } # ac_fn_c_check_decl
   1597 
   1598 # ac_fn_c_try_cpp LINENO
   1599 # ----------------------
   1600 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1601 ac_fn_c_try_cpp ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1605 case "(($ac_try" in
   1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1607   *) ac_try_echo=$ac_try;;
   1608 esac
   1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1610 $as_echo "$ac_try_echo"; } >&5
   1611   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1612   ac_status=$?
   1613   if test -s conftest.err; then
   1614     grep -v '^ *+' conftest.err >conftest.er1
   1615     cat conftest.er1 >&5
   1616     mv -f conftest.er1 conftest.err
   1617   fi
   1618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1619   test $ac_status = 0; } > conftest.i && {
   1620 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1621 	 test ! -s conftest.err
   1622        }; then :
   1623   ac_retval=0
   1624 else
   1625   $as_echo "$as_me: failed program was:" >&5
   1626 sed 's/^/| /' conftest.$ac_ext >&5
   1627 
   1628     ac_retval=1
   1629 fi
   1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1631   as_fn_set_status $ac_retval
   1632 
   1633 } # ac_fn_c_try_cpp
   1634 
   1635 # ac_fn_c_try_run LINENO
   1636 # ----------------------
   1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1638 # that executables *can* be run.
   1639 ac_fn_c_try_run ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   if { { ac_try="$ac_link"
   1643 case "(($ac_try" in
   1644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1645   *) ac_try_echo=$ac_try;;
   1646 esac
   1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1648 $as_echo "$ac_try_echo"; } >&5
   1649   (eval "$ac_link") 2>&5
   1650   ac_status=$?
   1651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1652   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1653   { { case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_try") 2>&5
   1660   ac_status=$?
   1661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1662   test $ac_status = 0; }; }; then :
   1663   ac_retval=0
   1664 else
   1665   $as_echo "$as_me: program exited with status $ac_status" >&5
   1666        $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669        ac_retval=$ac_status
   1670 fi
   1671   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673   as_fn_set_status $ac_retval
   1674 
   1675 } # ac_fn_c_try_run
   1676 
   1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1678 # -------------------------------------------------------
   1679 # Tests whether HEADER exists and can be compiled using the include files in
   1680 # INCLUDES, setting the cache variable VAR accordingly.
   1681 ac_fn_c_check_header_compile ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1685 $as_echo_n "checking for $2... " >&6; }
   1686 if eval \${$3+:} false; then :
   1687   $as_echo_n "(cached) " >&6
   1688 else
   1689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1690 /* end confdefs.h.  */
   1691 $4
   1692 #include <$2>
   1693 _ACEOF
   1694 if ac_fn_c_try_compile "$LINENO"; then :
   1695   eval "$3=yes"
   1696 else
   1697   eval "$3=no"
   1698 fi
   1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1700 fi
   1701 eval ac_res=\$$3
   1702 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1703 $as_echo "$ac_res" >&6; }
   1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1705 
   1706 } # ac_fn_c_check_header_compile
   1707 
   1708 # ac_fn_c_try_link LINENO
   1709 # -----------------------
   1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1711 ac_fn_c_try_link ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   rm -f conftest.$ac_objext conftest$ac_exeext
   1715   if { { ac_try="$ac_link"
   1716 case "(($ac_try" in
   1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1718   *) ac_try_echo=$ac_try;;
   1719 esac
   1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1721 $as_echo "$ac_try_echo"; } >&5
   1722   (eval "$ac_link") 2>conftest.err
   1723   ac_status=$?
   1724   if test -s conftest.err; then
   1725     grep -v '^ *+' conftest.err >conftest.er1
   1726     cat conftest.er1 >&5
   1727     mv -f conftest.er1 conftest.err
   1728   fi
   1729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1730   test $ac_status = 0; } && {
   1731 	 test -z "$ac_c_werror_flag" ||
   1732 	 test ! -s conftest.err
   1733        } && test -s conftest$ac_exeext && {
   1734 	 test "$cross_compiling" = yes ||
   1735 	 test -x conftest$ac_exeext
   1736        }; then :
   1737   ac_retval=0
   1738 else
   1739   $as_echo "$as_me: failed program was:" >&5
   1740 sed 's/^/| /' conftest.$ac_ext >&5
   1741 
   1742 	ac_retval=1
   1743 fi
   1744   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1745   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1746   # interfere with the next link command; also delete a directory that is
   1747   # left behind by Apple's compiler.  We do this before executing the actions.
   1748   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1750   as_fn_set_status $ac_retval
   1751 
   1752 } # ac_fn_c_try_link
   1753 
   1754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1755 # -------------------------------------------------------
   1756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1757 # the include files in INCLUDES and setting the cache variable VAR
   1758 # accordingly.
   1759 ac_fn_c_check_header_mongrel ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   if eval \${$3+:} false; then :
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 $as_echo_n "checking for $2... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 fi
   1768 eval ac_res=\$$3
   1769 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1770 $as_echo "$ac_res" >&6; }
   1771 else
   1772   # Is the header compilable?
   1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1774 $as_echo_n "checking $2 usability... " >&6; }
   1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 $4
   1778 #include <$2>
   1779 _ACEOF
   1780 if ac_fn_c_try_compile "$LINENO"; then :
   1781   ac_header_compiler=yes
   1782 else
   1783   ac_header_compiler=no
   1784 fi
   1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1787 $as_echo "$ac_header_compiler" >&6; }
   1788 
   1789 # Is the header present?
   1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1791 $as_echo_n "checking $2 presence... " >&6; }
   1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1793 /* end confdefs.h.  */
   1794 #include <$2>
   1795 _ACEOF
   1796 if ac_fn_c_try_cpp "$LINENO"; then :
   1797   ac_header_preproc=yes
   1798 else
   1799   ac_header_preproc=no
   1800 fi
   1801 rm -f conftest.err conftest.i conftest.$ac_ext
   1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1803 $as_echo "$ac_header_preproc" >&6; }
   1804 
   1805 # So?  What about this header?
   1806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1807   yes:no: )
   1808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1812     ;;
   1813   no:yes:* )
   1814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1816     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1817 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1820     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1821 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1822     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1824 ( $as_echo "## ---------------------------------------------------------------------- ##
   1825 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1826 ## ---------------------------------------------------------------------- ##"
   1827      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1828     ;;
   1829 esac
   1830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1831 $as_echo_n "checking for $2... " >&6; }
   1832 if eval \${$3+:} false; then :
   1833   $as_echo_n "(cached) " >&6
   1834 else
   1835   eval "$3=\$ac_header_compiler"
   1836 fi
   1837 eval ac_res=\$$3
   1838 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1839 $as_echo "$ac_res" >&6; }
   1840 fi
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842 
   1843 } # ac_fn_c_check_header_mongrel
   1844 cat >config.log <<_ACEOF
   1845 This file contains any messages produced by compilers while
   1846 running configure, to aid debugging if configure makes a mistake.
   1847 
   1848 It was created by xprop $as_me 1.2.3, which was
   1849 generated by GNU Autoconf 2.69.  Invocation command line was
   1850 
   1851   $ $0 $@
   1852 
   1853 _ACEOF
   1854 exec 5>>config.log
   1855 {
   1856 cat <<_ASUNAME
   1857 ## --------- ##
   1858 ## Platform. ##
   1859 ## --------- ##
   1860 
   1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1866 
   1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1868 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1869 
   1870 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1871 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1873 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1874 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1875 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1876 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1877 
   1878 _ASUNAME
   1879 
   1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1881 for as_dir in $PATH
   1882 do
   1883   IFS=$as_save_IFS
   1884   test -z "$as_dir" && as_dir=.
   1885     $as_echo "PATH: $as_dir"
   1886   done
   1887 IFS=$as_save_IFS
   1888 
   1889 } >&5
   1890 
   1891 cat >&5 <<_ACEOF
   1892 
   1893 
   1894 ## ----------- ##
   1895 ## Core tests. ##
   1896 ## ----------- ##
   1897 
   1898 _ACEOF
   1899 
   1900 
   1901 # Keep a trace of the command line.
   1902 # Strip out --no-create and --no-recursion so they do not pile up.
   1903 # Strip out --silent because we don't want to record it for future runs.
   1904 # Also quote any args containing shell meta-characters.
   1905 # Make two passes to allow for proper duplicate-argument suppression.
   1906 ac_configure_args=
   1907 ac_configure_args0=
   1908 ac_configure_args1=
   1909 ac_must_keep_next=false
   1910 for ac_pass in 1 2
   1911 do
   1912   for ac_arg
   1913   do
   1914     case $ac_arg in
   1915     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1916     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1917     | -silent | --silent | --silen | --sile | --sil)
   1918       continue ;;
   1919     *\'*)
   1920       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1921     esac
   1922     case $ac_pass in
   1923     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1924     2)
   1925       as_fn_append ac_configure_args1 " '$ac_arg'"
   1926       if test $ac_must_keep_next = true; then
   1927 	ac_must_keep_next=false # Got value, back to normal.
   1928       else
   1929 	case $ac_arg in
   1930 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1931 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1932 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1933 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1934 	    case "$ac_configure_args0 " in
   1935 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1936 	    esac
   1937 	    ;;
   1938 	  -* ) ac_must_keep_next=true ;;
   1939 	esac
   1940       fi
   1941       as_fn_append ac_configure_args " '$ac_arg'"
   1942       ;;
   1943     esac
   1944   done
   1945 done
   1946 { ac_configure_args0=; unset ac_configure_args0;}
   1947 { ac_configure_args1=; unset ac_configure_args1;}
   1948 
   1949 # When interrupted or exit'd, cleanup temporary files, and complete
   1950 # config.log.  We remove comments because anyway the quotes in there
   1951 # would cause problems or look ugly.
   1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1954 trap 'exit_status=$?
   1955   # Save into config.log some information that might help in debugging.
   1956   {
   1957     echo
   1958 
   1959     $as_echo "## ---------------- ##
   1960 ## Cache variables. ##
   1961 ## ---------------- ##"
   1962     echo
   1963     # The following way of writing the cache mishandles newlines in values,
   1964 (
   1965   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1966     eval ac_val=\$$ac_var
   1967     case $ac_val in #(
   1968     *${as_nl}*)
   1969       case $ac_var in #(
   1970       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1972       esac
   1973       case $ac_var in #(
   1974       _ | IFS | as_nl) ;; #(
   1975       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1976       *) { eval $ac_var=; unset $ac_var;} ;;
   1977       esac ;;
   1978     esac
   1979   done
   1980   (set) 2>&1 |
   1981     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1982     *${as_nl}ac_space=\ *)
   1983       sed -n \
   1984 	"s/'\''/'\''\\\\'\'''\''/g;
   1985 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1986       ;; #(
   1987     *)
   1988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1989       ;;
   1990     esac |
   1991     sort
   1992 )
   1993     echo
   1994 
   1995     $as_echo "## ----------------- ##
   1996 ## Output variables. ##
   1997 ## ----------------- ##"
   1998     echo
   1999     for ac_var in $ac_subst_vars
   2000     do
   2001       eval ac_val=\$$ac_var
   2002       case $ac_val in
   2003       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2004       esac
   2005       $as_echo "$ac_var='\''$ac_val'\''"
   2006     done | sort
   2007     echo
   2008 
   2009     if test -n "$ac_subst_files"; then
   2010       $as_echo "## ------------------- ##
   2011 ## File substitutions. ##
   2012 ## ------------------- ##"
   2013       echo
   2014       for ac_var in $ac_subst_files
   2015       do
   2016 	eval ac_val=\$$ac_var
   2017 	case $ac_val in
   2018 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2019 	esac
   2020 	$as_echo "$ac_var='\''$ac_val'\''"
   2021       done | sort
   2022       echo
   2023     fi
   2024 
   2025     if test -s confdefs.h; then
   2026       $as_echo "## ----------- ##
   2027 ## confdefs.h. ##
   2028 ## ----------- ##"
   2029       echo
   2030       cat confdefs.h
   2031       echo
   2032     fi
   2033     test "$ac_signal" != 0 &&
   2034       $as_echo "$as_me: caught signal $ac_signal"
   2035     $as_echo "$as_me: exit $exit_status"
   2036   } >&5
   2037   rm -f core *.core core.conftest.* &&
   2038     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2039     exit $exit_status
   2040 ' 0
   2041 for ac_signal in 1 2 13 15; do
   2042   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2043 done
   2044 ac_signal=0
   2045 
   2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2047 rm -f -r conftest* confdefs.h
   2048 
   2049 $as_echo "/* confdefs.h */" > confdefs.h
   2050 
   2051 # Predefined preprocessor variables.
   2052 
   2053 cat >>confdefs.h <<_ACEOF
   2054 #define PACKAGE_NAME "$PACKAGE_NAME"
   2055 _ACEOF
   2056 
   2057 cat >>confdefs.h <<_ACEOF
   2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2059 _ACEOF
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_STRING "$PACKAGE_STRING"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2071 _ACEOF
   2072 
   2073 cat >>confdefs.h <<_ACEOF
   2074 #define PACKAGE_URL "$PACKAGE_URL"
   2075 _ACEOF
   2076 
   2077 
   2078 # Let the site file select an alternate cache file if it wants to.
   2079 # Prefer an explicitly selected file to automatically selected ones.
   2080 ac_site_file1=NONE
   2081 ac_site_file2=NONE
   2082 if test -n "$CONFIG_SITE"; then
   2083   # We do not want a PATH search for config.site.
   2084   case $CONFIG_SITE in #((
   2085     -*)  ac_site_file1=./$CONFIG_SITE;;
   2086     */*) ac_site_file1=$CONFIG_SITE;;
   2087     *)   ac_site_file1=./$CONFIG_SITE;;
   2088   esac
   2089 elif test "x$prefix" != xNONE; then
   2090   ac_site_file1=$prefix/share/config.site
   2091   ac_site_file2=$prefix/etc/config.site
   2092 else
   2093   ac_site_file1=$ac_default_prefix/share/config.site
   2094   ac_site_file2=$ac_default_prefix/etc/config.site
   2095 fi
   2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2097 do
   2098   test "x$ac_site_file" = xNONE && continue
   2099   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2102     sed 's/^/| /' "$ac_site_file" >&5
   2103     . "$ac_site_file" \
   2104       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2106 as_fn_error $? "failed to load site script $ac_site_file
   2107 See \`config.log' for more details" "$LINENO" 5; }
   2108   fi
   2109 done
   2110 
   2111 if test -r "$cache_file"; then
   2112   # Some versions of bash will fail to source /dev/null (special files
   2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2115     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2117     case $cache_file in
   2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2119       *)                      . "./$cache_file";;
   2120     esac
   2121   fi
   2122 else
   2123   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2125   >$cache_file
   2126 fi
   2127 
   2128 # Check that the precious variables saved in the cache have kept the same
   2129 # value.
   2130 ac_cache_corrupted=false
   2131 for ac_var in $ac_precious_vars; do
   2132   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2133   eval ac_new_set=\$ac_env_${ac_var}_set
   2134   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2135   eval ac_new_val=\$ac_env_${ac_var}_value
   2136   case $ac_old_set,$ac_new_set in
   2137     set,)
   2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2140       ac_cache_corrupted=: ;;
   2141     ,set)
   2142       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2144       ac_cache_corrupted=: ;;
   2145     ,);;
   2146     *)
   2147       if test "x$ac_old_val" != "x$ac_new_val"; then
   2148 	# differences in whitespace do not lead to failure.
   2149 	ac_old_val_w=`echo x $ac_old_val`
   2150 	ac_new_val_w=`echo x $ac_new_val`
   2151 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2152 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2154 	  ac_cache_corrupted=:
   2155 	else
   2156 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2158 	  eval $ac_var=\$ac_old_val
   2159 	fi
   2160 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2161 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2162 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2163 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2164       fi;;
   2165   esac
   2166   # Pass precious variables to config.status.
   2167   if test "$ac_new_set" = set; then
   2168     case $ac_new_val in
   2169     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2170     *) ac_arg=$ac_var=$ac_new_val ;;
   2171     esac
   2172     case " $ac_configure_args " in
   2173       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2174       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2175     esac
   2176   fi
   2177 done
   2178 if $ac_cache_corrupted; then
   2179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2183   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2184 fi
   2185 ## -------------------- ##
   2186 ## Main body of script. ##
   2187 ## -------------------- ##
   2188 
   2189 ac_ext=c
   2190 ac_cpp='$CPP $CPPFLAGS'
   2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2194 
   2195 
   2196 
   2197 ac_config_headers="$ac_config_headers config.h"
   2198 
   2199 
   2200 # Initialize Automake
   2201 am__api_version='1.15'
   2202 
   2203 ac_aux_dir=
   2204 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2205   if test -f "$ac_dir/install-sh"; then
   2206     ac_aux_dir=$ac_dir
   2207     ac_install_sh="$ac_aux_dir/install-sh -c"
   2208     break
   2209   elif test -f "$ac_dir/install.sh"; then
   2210     ac_aux_dir=$ac_dir
   2211     ac_install_sh="$ac_aux_dir/install.sh -c"
   2212     break
   2213   elif test -f "$ac_dir/shtool"; then
   2214     ac_aux_dir=$ac_dir
   2215     ac_install_sh="$ac_aux_dir/shtool install -c"
   2216     break
   2217   fi
   2218 done
   2219 if test -z "$ac_aux_dir"; then
   2220   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2221 fi
   2222 
   2223 # These three variables are undocumented and unsupported,
   2224 # and are intended to be withdrawn in a future Autoconf release.
   2225 # They can cause serious problems if a builder's source tree is in a directory
   2226 # whose full name contains unusual characters.
   2227 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2228 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2229 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2230 
   2231 
   2232 # Find a good install program.  We prefer a C program (faster),
   2233 # so one script is as good as another.  But avoid the broken or
   2234 # incompatible versions:
   2235 # SysV /etc/install, /usr/sbin/install
   2236 # SunOS /usr/etc/install
   2237 # IRIX /sbin/install
   2238 # AIX /bin/install
   2239 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2243 # OS/2's system install, which has a completely different semantic
   2244 # ./install, which can be erroneously created by make from ./install.sh.
   2245 # Reject install programs that cannot install multiple files.
   2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2248 if test -z "$INSTALL"; then
   2249 if ${ac_cv_path_install+:} false; then :
   2250   $as_echo_n "(cached) " >&6
   2251 else
   2252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2253 for as_dir in $PATH
   2254 do
   2255   IFS=$as_save_IFS
   2256   test -z "$as_dir" && as_dir=.
   2257     # Account for people who put trailing slashes in PATH elements.
   2258 case $as_dir/ in #((
   2259   ./ | .// | /[cC]/* | \
   2260   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2261   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2262   /usr/ucb/* ) ;;
   2263   *)
   2264     # OSF1 and SCO ODT 3.0 have their own names for install.
   2265     # Don't use installbsd from OSF since it installs stuff as root
   2266     # by default.
   2267     for ac_prog in ginstall scoinst install; do
   2268       for ac_exec_ext in '' $ac_executable_extensions; do
   2269 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2270 	  if test $ac_prog = install &&
   2271 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2272 	    # AIX install.  It has an incompatible calling convention.
   2273 	    :
   2274 	  elif test $ac_prog = install &&
   2275 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2276 	    # program-specific install script used by HP pwplus--don't use.
   2277 	    :
   2278 	  else
   2279 	    rm -rf conftest.one conftest.two conftest.dir
   2280 	    echo one > conftest.one
   2281 	    echo two > conftest.two
   2282 	    mkdir conftest.dir
   2283 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2284 	      test -s conftest.one && test -s conftest.two &&
   2285 	      test -s conftest.dir/conftest.one &&
   2286 	      test -s conftest.dir/conftest.two
   2287 	    then
   2288 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2289 	      break 3
   2290 	    fi
   2291 	  fi
   2292 	fi
   2293       done
   2294     done
   2295     ;;
   2296 esac
   2297 
   2298   done
   2299 IFS=$as_save_IFS
   2300 
   2301 rm -rf conftest.one conftest.two conftest.dir
   2302 
   2303 fi
   2304   if test "${ac_cv_path_install+set}" = set; then
   2305     INSTALL=$ac_cv_path_install
   2306   else
   2307     # As a last resort, use the slow shell script.  Don't cache a
   2308     # value for INSTALL within a source directory, because that will
   2309     # break other packages using the cache if that directory is
   2310     # removed, or if the value is a relative name.
   2311     INSTALL=$ac_install_sh
   2312   fi
   2313 fi
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2315 $as_echo "$INSTALL" >&6; }
   2316 
   2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2318 # It thinks the first close brace ends the variable substitution.
   2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2320 
   2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2322 
   2323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2324 
   2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2326 $as_echo_n "checking whether build environment is sane... " >&6; }
   2327 # Reject unsafe characters in $srcdir or the absolute working directory
   2328 # name.  Accept space and tab only in the latter.
   2329 am_lf='
   2330 '
   2331 case `pwd` in
   2332   *[\\\"\#\$\&\'\`$am_lf]*)
   2333     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2334 esac
   2335 case $srcdir in
   2336   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2337     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2338 esac
   2339 
   2340 # Do 'set' in a subshell so we don't clobber the current shell's
   2341 # arguments.  Must try -L first in case configure is actually a
   2342 # symlink; some systems play weird games with the mod time of symlinks
   2343 # (eg FreeBSD returns the mod time of the symlink's containing
   2344 # directory).
   2345 if (
   2346    am_has_slept=no
   2347    for am_try in 1 2; do
   2348      echo "timestamp, slept: $am_has_slept" > conftest.file
   2349      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2350      if test "$*" = "X"; then
   2351 	# -L didn't work.
   2352 	set X `ls -t "$srcdir/configure" conftest.file`
   2353      fi
   2354      if test "$*" != "X $srcdir/configure conftest.file" \
   2355 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2356 
   2357 	# If neither matched, then we have a broken ls.  This can happen
   2358 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2359 	# broken ls alias from the environment.  This has actually
   2360 	# happened.  Such a system could not be considered "sane".
   2361 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2362   alias in your environment" "$LINENO" 5
   2363      fi
   2364      if test "$2" = conftest.file || test $am_try -eq 2; then
   2365        break
   2366      fi
   2367      # Just in case.
   2368      sleep 1
   2369      am_has_slept=yes
   2370    done
   2371    test "$2" = conftest.file
   2372    )
   2373 then
   2374    # Ok.
   2375    :
   2376 else
   2377    as_fn_error $? "newly created file is older than distributed files!
   2378 Check your system clock" "$LINENO" 5
   2379 fi
   2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2381 $as_echo "yes" >&6; }
   2382 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2383 # generated files are strictly newer.
   2384 am_sleep_pid=
   2385 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2386   ( sleep 1 ) &
   2387   am_sleep_pid=$!
   2388 fi
   2389 
   2390 rm -f conftest.file
   2391 
   2392 test "$program_prefix" != NONE &&
   2393   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2394 # Use a double $ so make ignores it.
   2395 test "$program_suffix" != NONE &&
   2396   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2397 # Double any \ or $.
   2398 # By default was `s,x,x', remove it if useless.
   2399 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2400 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2401 
   2402 # Expand $ac_aux_dir to an absolute path.
   2403 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2404 
   2405 if test x"${MISSING+set}" != xset; then
   2406   case $am_aux_dir in
   2407   *\ * | *\	*)
   2408     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2409   *)
   2410     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2411   esac
   2412 fi
   2413 # Use eval to expand $SHELL
   2414 if eval "$MISSING --is-lightweight"; then
   2415   am_missing_run="$MISSING "
   2416 else
   2417   am_missing_run=
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2419 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2420 fi
   2421 
   2422 if test x"${install_sh+set}" != xset; then
   2423   case $am_aux_dir in
   2424   *\ * | *\	*)
   2425     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2426   *)
   2427     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2428   esac
   2429 fi
   2430 
   2431 # Installed binaries are usually stripped using 'strip' when the user
   2432 # run "make install-strip".  However 'strip' might not be the right
   2433 # tool to use in cross-compilation environments, therefore Automake
   2434 # will honor the 'STRIP' environment variable to overrule this program.
   2435 if test "$cross_compiling" != no; then
   2436   if test -n "$ac_tool_prefix"; then
   2437   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2438 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2440 $as_echo_n "checking for $ac_word... " >&6; }
   2441 if ${ac_cv_prog_STRIP+:} false; then :
   2442   $as_echo_n "(cached) " >&6
   2443 else
   2444   if test -n "$STRIP"; then
   2445   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2446 else
   2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 for as_dir in $PATH
   2449 do
   2450   IFS=$as_save_IFS
   2451   test -z "$as_dir" && as_dir=.
   2452     for ac_exec_ext in '' $ac_executable_extensions; do
   2453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2454     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2456     break 2
   2457   fi
   2458 done
   2459   done
   2460 IFS=$as_save_IFS
   2461 
   2462 fi
   2463 fi
   2464 STRIP=$ac_cv_prog_STRIP
   2465 if test -n "$STRIP"; then
   2466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2467 $as_echo "$STRIP" >&6; }
   2468 else
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2470 $as_echo "no" >&6; }
   2471 fi
   2472 
   2473 
   2474 fi
   2475 if test -z "$ac_cv_prog_STRIP"; then
   2476   ac_ct_STRIP=$STRIP
   2477   # Extract the first word of "strip", so it can be a program name with args.
   2478 set dummy strip; ac_word=$2
   2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2480 $as_echo_n "checking for $ac_word... " >&6; }
   2481 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2482   $as_echo_n "(cached) " >&6
   2483 else
   2484   if test -n "$ac_ct_STRIP"; then
   2485   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2486 else
   2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2488 for as_dir in $PATH
   2489 do
   2490   IFS=$as_save_IFS
   2491   test -z "$as_dir" && as_dir=.
   2492     for ac_exec_ext in '' $ac_executable_extensions; do
   2493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2494     ac_cv_prog_ac_ct_STRIP="strip"
   2495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2496     break 2
   2497   fi
   2498 done
   2499   done
   2500 IFS=$as_save_IFS
   2501 
   2502 fi
   2503 fi
   2504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2505 if test -n "$ac_ct_STRIP"; then
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2507 $as_echo "$ac_ct_STRIP" >&6; }
   2508 else
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2510 $as_echo "no" >&6; }
   2511 fi
   2512 
   2513   if test "x$ac_ct_STRIP" = x; then
   2514     STRIP=":"
   2515   else
   2516     case $cross_compiling:$ac_tool_warned in
   2517 yes:)
   2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2520 ac_tool_warned=yes ;;
   2521 esac
   2522     STRIP=$ac_ct_STRIP
   2523   fi
   2524 else
   2525   STRIP="$ac_cv_prog_STRIP"
   2526 fi
   2527 
   2528 fi
   2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2530 
   2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2532 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2533 if test -z "$MKDIR_P"; then
   2534   if ${ac_cv_path_mkdir+:} false; then :
   2535   $as_echo_n "(cached) " >&6
   2536 else
   2537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2538 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2539 do
   2540   IFS=$as_save_IFS
   2541   test -z "$as_dir" && as_dir=.
   2542     for ac_prog in mkdir gmkdir; do
   2543 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2544 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2545 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2546 	     'mkdir (GNU coreutils) '* | \
   2547 	     'mkdir (coreutils) '* | \
   2548 	     'mkdir (fileutils) '4.1*)
   2549 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2550 	       break 3;;
   2551 	   esac
   2552 	 done
   2553        done
   2554   done
   2555 IFS=$as_save_IFS
   2556 
   2557 fi
   2558 
   2559   test -d ./--version && rmdir ./--version
   2560   if test "${ac_cv_path_mkdir+set}" = set; then
   2561     MKDIR_P="$ac_cv_path_mkdir -p"
   2562   else
   2563     # As a last resort, use the slow shell script.  Don't cache a
   2564     # value for MKDIR_P within a source directory, because that will
   2565     # break other packages using the cache if that directory is
   2566     # removed, or if the value is a relative name.
   2567     MKDIR_P="$ac_install_sh -d"
   2568   fi
   2569 fi
   2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2571 $as_echo "$MKDIR_P" >&6; }
   2572 
   2573 for ac_prog in gawk mawk nawk awk
   2574 do
   2575   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2576 set dummy $ac_prog; ac_word=$2
   2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2578 $as_echo_n "checking for $ac_word... " >&6; }
   2579 if ${ac_cv_prog_AWK+:} false; then :
   2580   $as_echo_n "(cached) " >&6
   2581 else
   2582   if test -n "$AWK"; then
   2583   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2584 else
   2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2586 for as_dir in $PATH
   2587 do
   2588   IFS=$as_save_IFS
   2589   test -z "$as_dir" && as_dir=.
   2590     for ac_exec_ext in '' $ac_executable_extensions; do
   2591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2592     ac_cv_prog_AWK="$ac_prog"
   2593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2594     break 2
   2595   fi
   2596 done
   2597   done
   2598 IFS=$as_save_IFS
   2599 
   2600 fi
   2601 fi
   2602 AWK=$ac_cv_prog_AWK
   2603 if test -n "$AWK"; then
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2605 $as_echo "$AWK" >&6; }
   2606 else
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2608 $as_echo "no" >&6; }
   2609 fi
   2610 
   2611 
   2612   test -n "$AWK" && break
   2613 done
   2614 
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2616 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2617 set x ${MAKE-make}
   2618 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2619 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   cat >conftest.make <<\_ACEOF
   2623 SHELL = /bin/sh
   2624 all:
   2625 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2626 _ACEOF
   2627 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2629   *@@@%%%=?*=@@@%%%*)
   2630     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2631   *)
   2632     eval ac_cv_prog_make_${ac_make}_set=no;;
   2633 esac
   2634 rm -f conftest.make
   2635 fi
   2636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2638 $as_echo "yes" >&6; }
   2639   SET_MAKE=
   2640 else
   2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2642 $as_echo "no" >&6; }
   2643   SET_MAKE="MAKE=${MAKE-make}"
   2644 fi
   2645 
   2646 rm -rf .tst 2>/dev/null
   2647 mkdir .tst 2>/dev/null
   2648 if test -d .tst; then
   2649   am__leading_dot=.
   2650 else
   2651   am__leading_dot=_
   2652 fi
   2653 rmdir .tst 2>/dev/null
   2654 
   2655 # Check whether --enable-silent-rules was given.
   2656 if test "${enable_silent_rules+set}" = set; then :
   2657   enableval=$enable_silent_rules;
   2658 fi
   2659 
   2660 case $enable_silent_rules in # (((
   2661   yes) AM_DEFAULT_VERBOSITY=0;;
   2662    no) AM_DEFAULT_VERBOSITY=1;;
   2663     *) AM_DEFAULT_VERBOSITY=1;;
   2664 esac
   2665 am_make=${MAKE-make}
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2667 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2668 if ${am_cv_make_support_nested_variables+:} false; then :
   2669   $as_echo_n "(cached) " >&6
   2670 else
   2671   if $as_echo 'TRUE=$(BAR$(V))
   2672 BAR0=false
   2673 BAR1=true
   2674 V=1
   2675 am__doit:
   2676 	@$(TRUE)
   2677 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2678   am_cv_make_support_nested_variables=yes
   2679 else
   2680   am_cv_make_support_nested_variables=no
   2681 fi
   2682 fi
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2684 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2685 if test $am_cv_make_support_nested_variables = yes; then
   2686     AM_V='$(V)'
   2687   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2688 else
   2689   AM_V=$AM_DEFAULT_VERBOSITY
   2690   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2691 fi
   2692 AM_BACKSLASH='\'
   2693 
   2694 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2695   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2696   # is not polluted with repeated "-I."
   2697   am__isrc=' -I$(srcdir)'
   2698   # test to see if srcdir already configured
   2699   if test -f $srcdir/config.status; then
   2700     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2701   fi
   2702 fi
   2703 
   2704 # test whether we have cygpath
   2705 if test -z "$CYGPATH_W"; then
   2706   if (cygpath --version) >/dev/null 2>/dev/null; then
   2707     CYGPATH_W='cygpath -w'
   2708   else
   2709     CYGPATH_W=echo
   2710   fi
   2711 fi
   2712 
   2713 
   2714 # Define the identity of the package.
   2715  PACKAGE='xprop'
   2716  VERSION='1.2.3'
   2717 
   2718 
   2719 cat >>confdefs.h <<_ACEOF
   2720 #define PACKAGE "$PACKAGE"
   2721 _ACEOF
   2722 
   2723 
   2724 cat >>confdefs.h <<_ACEOF
   2725 #define VERSION "$VERSION"
   2726 _ACEOF
   2727 
   2728 # Some tools Automake needs.
   2729 
   2730 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2731 
   2732 
   2733 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2734 
   2735 
   2736 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2737 
   2738 
   2739 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2740 
   2741 
   2742 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2743 
   2744 # For better backward compatibility.  To be removed once Automake 1.9.x
   2745 # dies out for good.  For more background, see:
   2746 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2748 mkdir_p='$(MKDIR_P)'
   2749 
   2750 # We need awk for the "check" target (and possibly the TAP driver).  The
   2751 # system "awk" is bad on some platforms.
   2752 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2753 # in the wild :-(  We should find a proper way to deprecate it ...
   2754 AMTAR='$${TAR-tar}'
   2755 
   2756 
   2757 # We'll loop over all known methods to create a tar archive until one works.
   2758 _am_tools='gnutar  pax cpio none'
   2759 
   2760 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2761 
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 # POSIX will say in a future version that running "rm -f" with no argument
   2768 # is OK; and we want to be able to make that assumption in our Makefile
   2769 # recipes.  So use an aggressive probe to check that the usage we want is
   2770 # actually supported "in the wild" to an acceptable degree.
   2771 # See automake bug#10828.
   2772 # To make any issue more visible, cause the running configure to be aborted
   2773 # by default if the 'rm' program in use doesn't match our expectations; the
   2774 # user can still override this though.
   2775 if rm -f && rm -fr && rm -rf; then : OK; else
   2776   cat >&2 <<'END'
   2777 Oops!
   2778 
   2779 Your 'rm' program seems unable to run without file operands specified
   2780 on the command line, even when the '-f' option is present.  This is contrary
   2781 to the behaviour of most rm programs out there, and not conforming with
   2782 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2783 
   2784 Please tell bug-automake@gnu.org about your system, including the value
   2785 of your $PATH and any error possibly output before this message.  This
   2786 can help us improve future automake versions.
   2787 
   2788 END
   2789   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2790     echo 'Configuration will proceed anyway, since you have set the' >&2
   2791     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2792     echo >&2
   2793   else
   2794     cat >&2 <<'END'
   2795 Aborting the configuration process, to ensure you take notice of the issue.
   2796 
   2797 You can download and install GNU coreutils to get an 'rm' implementation
   2798 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2799 
   2800 If you want to complete the configuration process using your problematic
   2801 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2802 to "yes", and re-run configure.
   2803 
   2804 END
   2805     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2806   fi
   2807 fi
   2808 
   2809 
   2810 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2811 
   2812 
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 DEPDIR="${am__leading_dot}deps"
   2823 
   2824 ac_config_commands="$ac_config_commands depfiles"
   2825 
   2826 
   2827 am_make=${MAKE-make}
   2828 cat > confinc << 'END'
   2829 am__doit:
   2830 	@echo this is the am__doit target
   2831 .PHONY: am__doit
   2832 END
   2833 # If we don't find an include directive, just comment out the code.
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2835 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2836 am__include="#"
   2837 am__quote=
   2838 _am_result=none
   2839 # First try GNU make style include.
   2840 echo "include confinc" > confmf
   2841 # Ignore all kinds of additional output from 'make'.
   2842 case `$am_make -s -f confmf 2> /dev/null` in #(
   2843 *the\ am__doit\ target*)
   2844   am__include=include
   2845   am__quote=
   2846   _am_result=GNU
   2847   ;;
   2848 esac
   2849 # Now try BSD make style include.
   2850 if test "$am__include" = "#"; then
   2851    echo '.include "confinc"' > confmf
   2852    case `$am_make -s -f confmf 2> /dev/null` in #(
   2853    *the\ am__doit\ target*)
   2854      am__include=.include
   2855      am__quote="\""
   2856      _am_result=BSD
   2857      ;;
   2858    esac
   2859 fi
   2860 
   2861 
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2863 $as_echo "$_am_result" >&6; }
   2864 rm -f confinc confmf
   2865 
   2866 # Check whether --enable-dependency-tracking was given.
   2867 if test "${enable_dependency_tracking+set}" = set; then :
   2868   enableval=$enable_dependency_tracking;
   2869 fi
   2870 
   2871 if test "x$enable_dependency_tracking" != xno; then
   2872   am_depcomp="$ac_aux_dir/depcomp"
   2873   AMDEPBACKSLASH='\'
   2874   am__nodep='_no'
   2875 fi
   2876  if test "x$enable_dependency_tracking" != xno; then
   2877   AMDEP_TRUE=
   2878   AMDEP_FALSE='#'
   2879 else
   2880   AMDEP_TRUE='#'
   2881   AMDEP_FALSE=
   2882 fi
   2883 
   2884 
   2885 ac_ext=c
   2886 ac_cpp='$CPP $CPPFLAGS'
   2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2890 if test -n "$ac_tool_prefix"; then
   2891   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_CC+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2902 for as_dir in $PATH
   2903 do
   2904   IFS=$as_save_IFS
   2905   test -z "$as_dir" && as_dir=.
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2908     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 CC=$ac_cv_prog_CC
   2919 if test -n "$CC"; then
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2921 $as_echo "$CC" >&6; }
   2922 else
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 $as_echo "no" >&6; }
   2925 fi
   2926 
   2927 
   2928 fi
   2929 if test -z "$ac_cv_prog_CC"; then
   2930   ac_ct_CC=$CC
   2931   # Extract the first word of "gcc", so it can be a program name with args.
   2932 set dummy gcc; ac_word=$2
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$ac_ct_CC"; then
   2939   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2940 else
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH
   2943 do
   2944   IFS=$as_save_IFS
   2945   test -z "$as_dir" && as_dir=.
   2946     for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2948     ac_cv_prog_ac_ct_CC="gcc"
   2949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953   done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2959 if test -n "$ac_ct_CC"; then
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2961 $as_echo "$ac_ct_CC" >&6; }
   2962 else
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967   if test "x$ac_ct_CC" = x; then
   2968     CC=""
   2969   else
   2970     case $cross_compiling:$ac_tool_warned in
   2971 yes:)
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2974 ac_tool_warned=yes ;;
   2975 esac
   2976     CC=$ac_ct_CC
   2977   fi
   2978 else
   2979   CC="$ac_cv_prog_CC"
   2980 fi
   2981 
   2982 if test -z "$CC"; then
   2983           if test -n "$ac_tool_prefix"; then
   2984     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2985 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 $as_echo_n "checking for $ac_word... " >&6; }
   2988 if ${ac_cv_prog_CC+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   if test -n "$CC"; then
   2992   ac_cv_prog_CC="$CC" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   test -z "$as_dir" && as_dir=.
   2999     for ac_exec_ext in '' $ac_executable_extensions; do
   3000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3001     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 fi
   3011 CC=$ac_cv_prog_CC
   3012 if test -n "$CC"; then
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3014 $as_echo "$CC" >&6; }
   3015 else
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3017 $as_echo "no" >&6; }
   3018 fi
   3019 
   3020 
   3021   fi
   3022 fi
   3023 if test -z "$CC"; then
   3024   # Extract the first word of "cc", so it can be a program name with args.
   3025 set dummy cc; ac_word=$2
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3027 $as_echo_n "checking for $ac_word... " >&6; }
   3028 if ${ac_cv_prog_CC+:} false; then :
   3029   $as_echo_n "(cached) " >&6
   3030 else
   3031   if test -n "$CC"; then
   3032   ac_cv_prog_CC="$CC" # Let the user override the test.
   3033 else
   3034   ac_prog_rejected=no
   3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3036 for as_dir in $PATH
   3037 do
   3038   IFS=$as_save_IFS
   3039   test -z "$as_dir" && as_dir=.
   3040     for ac_exec_ext in '' $ac_executable_extensions; do
   3041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3042     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3043        ac_prog_rejected=yes
   3044        continue
   3045      fi
   3046     ac_cv_prog_CC="cc"
   3047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3048     break 2
   3049   fi
   3050 done
   3051   done
   3052 IFS=$as_save_IFS
   3053 
   3054 if test $ac_prog_rejected = yes; then
   3055   # We found a bogon in the path, so make sure we never use it.
   3056   set dummy $ac_cv_prog_CC
   3057   shift
   3058   if test $# != 0; then
   3059     # We chose a different compiler from the bogus one.
   3060     # However, it has the same basename, so the bogon will be chosen
   3061     # first if we set CC to just the basename; use the full file name.
   3062     shift
   3063     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3064   fi
   3065 fi
   3066 fi
   3067 fi
   3068 CC=$ac_cv_prog_CC
   3069 if test -n "$CC"; then
   3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3071 $as_echo "$CC" >&6; }
   3072 else
   3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3074 $as_echo "no" >&6; }
   3075 fi
   3076 
   3077 
   3078 fi
   3079 if test -z "$CC"; then
   3080   if test -n "$ac_tool_prefix"; then
   3081   for ac_prog in cl.exe
   3082   do
   3083     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3086 $as_echo_n "checking for $ac_word... " >&6; }
   3087 if ${ac_cv_prog_CC+:} false; then :
   3088   $as_echo_n "(cached) " >&6
   3089 else
   3090   if test -n "$CC"; then
   3091   ac_cv_prog_CC="$CC" # Let the user override the test.
   3092 else
   3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3094 for as_dir in $PATH
   3095 do
   3096   IFS=$as_save_IFS
   3097   test -z "$as_dir" && as_dir=.
   3098     for ac_exec_ext in '' $ac_executable_extensions; do
   3099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3100     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3102     break 2
   3103   fi
   3104 done
   3105   done
   3106 IFS=$as_save_IFS
   3107 
   3108 fi
   3109 fi
   3110 CC=$ac_cv_prog_CC
   3111 if test -n "$CC"; then
   3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3113 $as_echo "$CC" >&6; }
   3114 else
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3116 $as_echo "no" >&6; }
   3117 fi
   3118 
   3119 
   3120     test -n "$CC" && break
   3121   done
   3122 fi
   3123 if test -z "$CC"; then
   3124   ac_ct_CC=$CC
   3125   for ac_prog in cl.exe
   3126 do
   3127   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3128 set dummy $ac_prog; ac_word=$2
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 $as_echo_n "checking for $ac_word... " >&6; }
   3131 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   if test -n "$ac_ct_CC"; then
   3135   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3136 else
   3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   test -z "$as_dir" && as_dir=.
   3142     for ac_exec_ext in '' $ac_executable_extensions; do
   3143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3144     ac_cv_prog_ac_ct_CC="$ac_prog"
   3145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3146     break 2
   3147   fi
   3148 done
   3149   done
   3150 IFS=$as_save_IFS
   3151 
   3152 fi
   3153 fi
   3154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3155 if test -n "$ac_ct_CC"; then
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3157 $as_echo "$ac_ct_CC" >&6; }
   3158 else
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 $as_echo "no" >&6; }
   3161 fi
   3162 
   3163 
   3164   test -n "$ac_ct_CC" && break
   3165 done
   3166 
   3167   if test "x$ac_ct_CC" = x; then
   3168     CC=""
   3169   else
   3170     case $cross_compiling:$ac_tool_warned in
   3171 yes:)
   3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3174 ac_tool_warned=yes ;;
   3175 esac
   3176     CC=$ac_ct_CC
   3177   fi
   3178 fi
   3179 
   3180 fi
   3181 
   3182 
   3183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3185 as_fn_error $? "no acceptable C compiler found in \$PATH
   3186 See \`config.log' for more details" "$LINENO" 5; }
   3187 
   3188 # Provide some information about the compiler.
   3189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3190 set X $ac_compile
   3191 ac_compiler=$2
   3192 for ac_option in --version -v -V -qversion; do
   3193   { { ac_try="$ac_compiler $ac_option >&5"
   3194 case "(($ac_try" in
   3195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3196   *) ac_try_echo=$ac_try;;
   3197 esac
   3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3199 $as_echo "$ac_try_echo"; } >&5
   3200   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3201   ac_status=$?
   3202   if test -s conftest.err; then
   3203     sed '10a\
   3204 ... rest of stderr output deleted ...
   3205          10q' conftest.err >conftest.er1
   3206     cat conftest.er1 >&5
   3207   fi
   3208   rm -f conftest.er1 conftest.err
   3209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3210   test $ac_status = 0; }
   3211 done
   3212 
   3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3214 /* end confdefs.h.  */
   3215 
   3216 int
   3217 main ()
   3218 {
   3219 
   3220   ;
   3221   return 0;
   3222 }
   3223 _ACEOF
   3224 ac_clean_files_save=$ac_clean_files
   3225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3226 # Try to create an executable without -o first, disregard a.out.
   3227 # It will help us diagnose broken compilers, and finding out an intuition
   3228 # of exeext.
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3230 $as_echo_n "checking whether the C compiler works... " >&6; }
   3231 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3232 
   3233 # The possible output files:
   3234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3235 
   3236 ac_rmfiles=
   3237 for ac_file in $ac_files
   3238 do
   3239   case $ac_file in
   3240     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3241     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3242   esac
   3243 done
   3244 rm -f $ac_rmfiles
   3245 
   3246 if { { ac_try="$ac_link_default"
   3247 case "(($ac_try" in
   3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3249   *) ac_try_echo=$ac_try;;
   3250 esac
   3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3252 $as_echo "$ac_try_echo"; } >&5
   3253   (eval "$ac_link_default") 2>&5
   3254   ac_status=$?
   3255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3256   test $ac_status = 0; }; then :
   3257   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3259 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3260 # so that the user can short-circuit this test for compilers unknown to
   3261 # Autoconf.
   3262 for ac_file in $ac_files ''
   3263 do
   3264   test -f "$ac_file" || continue
   3265   case $ac_file in
   3266     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3267 	;;
   3268     [ab].out )
   3269 	# We found the default executable, but exeext='' is most
   3270 	# certainly right.
   3271 	break;;
   3272     *.* )
   3273 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3274 	then :; else
   3275 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3276 	fi
   3277 	# We set ac_cv_exeext here because the later test for it is not
   3278 	# safe: cross compilers may not add the suffix if given an `-o'
   3279 	# argument, so we may need to know it at that point already.
   3280 	# Even if this section looks crufty: it has the advantage of
   3281 	# actually working.
   3282 	break;;
   3283     * )
   3284 	break;;
   3285   esac
   3286 done
   3287 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3288 
   3289 else
   3290   ac_file=''
   3291 fi
   3292 if test -z "$ac_file"; then :
   3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3294 $as_echo "no" >&6; }
   3295 $as_echo "$as_me: failed program was:" >&5
   3296 sed 's/^/| /' conftest.$ac_ext >&5
   3297 
   3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3300 as_fn_error 77 "C compiler cannot create executables
   3301 See \`config.log' for more details" "$LINENO" 5; }
   3302 else
   3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3304 $as_echo "yes" >&6; }
   3305 fi
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3307 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3309 $as_echo "$ac_file" >&6; }
   3310 ac_exeext=$ac_cv_exeext
   3311 
   3312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3313 ac_clean_files=$ac_clean_files_save
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3315 $as_echo_n "checking for suffix of executables... " >&6; }
   3316 if { { ac_try="$ac_link"
   3317 case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo"; } >&5
   3323   (eval "$ac_link") 2>&5
   3324   ac_status=$?
   3325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3326   test $ac_status = 0; }; then :
   3327   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3328 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3329 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3330 # `rm'.
   3331 for ac_file in conftest.exe conftest conftest.*; do
   3332   test -f "$ac_file" || continue
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3335     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3336 	  break;;
   3337     * ) break;;
   3338   esac
   3339 done
   3340 else
   3341   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3343 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3344 See \`config.log' for more details" "$LINENO" 5; }
   3345 fi
   3346 rm -f conftest conftest$ac_cv_exeext
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3348 $as_echo "$ac_cv_exeext" >&6; }
   3349 
   3350 rm -f conftest.$ac_ext
   3351 EXEEXT=$ac_cv_exeext
   3352 ac_exeext=$EXEEXT
   3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3354 /* end confdefs.h.  */
   3355 #include <stdio.h>
   3356 int
   3357 main ()
   3358 {
   3359 FILE *f = fopen ("conftest.out", "w");
   3360  return ferror (f) || fclose (f) != 0;
   3361 
   3362   ;
   3363   return 0;
   3364 }
   3365 _ACEOF
   3366 ac_clean_files="$ac_clean_files conftest.out"
   3367 # Check that the compiler produces executables we can run.  If not, either
   3368 # the compiler is broken, or we cross compile.
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3370 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3371 if test "$cross_compiling" != yes; then
   3372   { { ac_try="$ac_link"
   3373 case "(($ac_try" in
   3374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3375   *) ac_try_echo=$ac_try;;
   3376 esac
   3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3378 $as_echo "$ac_try_echo"; } >&5
   3379   (eval "$ac_link") 2>&5
   3380   ac_status=$?
   3381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3382   test $ac_status = 0; }
   3383   if { ac_try='./conftest$ac_cv_exeext'
   3384   { { case "(($ac_try" in
   3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3386   *) ac_try_echo=$ac_try;;
   3387 esac
   3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3389 $as_echo "$ac_try_echo"; } >&5
   3390   (eval "$ac_try") 2>&5
   3391   ac_status=$?
   3392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3393   test $ac_status = 0; }; }; then
   3394     cross_compiling=no
   3395   else
   3396     if test "$cross_compiling" = maybe; then
   3397 	cross_compiling=yes
   3398     else
   3399 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3401 as_fn_error $? "cannot run C compiled programs.
   3402 If you meant to cross compile, use \`--host'.
   3403 See \`config.log' for more details" "$LINENO" 5; }
   3404     fi
   3405   fi
   3406 fi
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3408 $as_echo "$cross_compiling" >&6; }
   3409 
   3410 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3411 ac_clean_files=$ac_clean_files_save
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3413 $as_echo_n "checking for suffix of object files... " >&6; }
   3414 if ${ac_cv_objext+:} false; then :
   3415   $as_echo_n "(cached) " >&6
   3416 else
   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 rm -f conftest.o conftest.obj
   3429 if { { ac_try="$ac_compile"
   3430 case "(($ac_try" in
   3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3432   *) ac_try_echo=$ac_try;;
   3433 esac
   3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3435 $as_echo "$ac_try_echo"; } >&5
   3436   (eval "$ac_compile") 2>&5
   3437   ac_status=$?
   3438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3439   test $ac_status = 0; }; then :
   3440   for ac_file in conftest.o conftest.obj conftest.*; do
   3441   test -f "$ac_file" || continue;
   3442   case $ac_file in
   3443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3444     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3445        break;;
   3446   esac
   3447 done
   3448 else
   3449   $as_echo "$as_me: failed program was:" >&5
   3450 sed 's/^/| /' conftest.$ac_ext >&5
   3451 
   3452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3454 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3455 See \`config.log' for more details" "$LINENO" 5; }
   3456 fi
   3457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3458 fi
   3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3460 $as_echo "$ac_cv_objext" >&6; }
   3461 OBJEXT=$ac_cv_objext
   3462 ac_objext=$OBJEXT
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3465 if ${ac_cv_c_compiler_gnu+:} false; then :
   3466   $as_echo_n "(cached) " >&6
   3467 else
   3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3469 /* end confdefs.h.  */
   3470 
   3471 int
   3472 main ()
   3473 {
   3474 #ifndef __GNUC__
   3475        choke me
   3476 #endif
   3477 
   3478   ;
   3479   return 0;
   3480 }
   3481 _ACEOF
   3482 if ac_fn_c_try_compile "$LINENO"; then :
   3483   ac_compiler_gnu=yes
   3484 else
   3485   ac_compiler_gnu=no
   3486 fi
   3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3489 
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3493 if test $ac_compiler_gnu = yes; then
   3494   GCC=yes
   3495 else
   3496   GCC=
   3497 fi
   3498 ac_test_CFLAGS=${CFLAGS+set}
   3499 ac_save_CFLAGS=$CFLAGS
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3502 if ${ac_cv_prog_cc_g+:} false; then :
   3503   $as_echo_n "(cached) " >&6
   3504 else
   3505   ac_save_c_werror_flag=$ac_c_werror_flag
   3506    ac_c_werror_flag=yes
   3507    ac_cv_prog_cc_g=no
   3508    CFLAGS="-g"
   3509    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521   ac_cv_prog_cc_g=yes
   3522 else
   3523   CFLAGS=""
   3524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 
   3527 int
   3528 main ()
   3529 {
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_compile "$LINENO"; then :
   3536 
   3537 else
   3538   ac_c_werror_flag=$ac_save_c_werror_flag
   3539 	 CFLAGS="-g"
   3540 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 if ac_fn_c_try_compile "$LINENO"; then :
   3552   ac_cv_prog_cc_g=yes
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3555 fi
   3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3557 fi
   3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3559    ac_c_werror_flag=$ac_save_c_werror_flag
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3562 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3563 if test "$ac_test_CFLAGS" = set; then
   3564   CFLAGS=$ac_save_CFLAGS
   3565 elif test $ac_cv_prog_cc_g = yes; then
   3566   if test "$GCC" = yes; then
   3567     CFLAGS="-g -O2"
   3568   else
   3569     CFLAGS="-g"
   3570   fi
   3571 else
   3572   if test "$GCC" = yes; then
   3573     CFLAGS="-O2"
   3574   else
   3575     CFLAGS=
   3576   fi
   3577 fi
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3580 if ${ac_cv_prog_cc_c89+:} false; then :
   3581   $as_echo_n "(cached) " >&6
   3582 else
   3583   ac_cv_prog_cc_c89=no
   3584 ac_save_CC=$CC
   3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3586 /* end confdefs.h.  */
   3587 #include <stdarg.h>
   3588 #include <stdio.h>
   3589 struct stat;
   3590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3591 struct buf { int x; };
   3592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3593 static char *e (p, i)
   3594      char **p;
   3595      int i;
   3596 {
   3597   return p[i];
   3598 }
   3599 static char *f (char * (*g) (char **, int), char **p, ...)
   3600 {
   3601   char *s;
   3602   va_list v;
   3603   va_start (v,p);
   3604   s = g (p, va_arg (v,int));
   3605   va_end (v);
   3606   return s;
   3607 }
   3608 
   3609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3610    function prototypes and stuff, but not '\xHH' hex character constants.
   3611    These don't provoke an error unfortunately, instead are silently treated
   3612    as 'x'.  The following induces an error, until -std is added to get
   3613    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3614    array size at least.  It's necessary to write '\x00'==0 to get something
   3615    that's true only with -std.  */
   3616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3617 
   3618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3619    inside strings and character constants.  */
   3620 #define FOO(x) 'x'
   3621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3622 
   3623 int test (int i, double x);
   3624 struct s1 {int (*f) (int a);};
   3625 struct s2 {int (*f) (double a);};
   3626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3627 int argc;
   3628 char **argv;
   3629 int
   3630 main ()
   3631 {
   3632 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3633   ;
   3634   return 0;
   3635 }
   3636 _ACEOF
   3637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3638 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3639 do
   3640   CC="$ac_save_CC $ac_arg"
   3641   if ac_fn_c_try_compile "$LINENO"; then :
   3642   ac_cv_prog_cc_c89=$ac_arg
   3643 fi
   3644 rm -f core conftest.err conftest.$ac_objext
   3645   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3646 done
   3647 rm -f conftest.$ac_ext
   3648 CC=$ac_save_CC
   3649 
   3650 fi
   3651 # AC_CACHE_VAL
   3652 case "x$ac_cv_prog_cc_c89" in
   3653   x)
   3654     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3655 $as_echo "none needed" >&6; } ;;
   3656   xno)
   3657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3658 $as_echo "unsupported" >&6; } ;;
   3659   *)
   3660     CC="$CC $ac_cv_prog_cc_c89"
   3661     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3662 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3663 esac
   3664 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3665 
   3666 fi
   3667 
   3668 ac_ext=c
   3669 ac_cpp='$CPP $CPPFLAGS'
   3670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3673 
   3674 ac_ext=c
   3675 ac_cpp='$CPP $CPPFLAGS'
   3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3680 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3681 if ${am_cv_prog_cc_c_o+:} false; then :
   3682   $as_echo_n "(cached) " >&6
   3683 else
   3684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3685 /* end confdefs.h.  */
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695   # Make sure it works both with $CC and with simple cc.
   3696   # Following AC_PROG_CC_C_O, we do the test twice because some
   3697   # compilers refuse to overwrite an existing .o file with -o,
   3698   # though they will create one.
   3699   am_cv_prog_cc_c_o=yes
   3700   for am_i in 1 2; do
   3701     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3702    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3703    ac_status=$?
   3704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3705    (exit $ac_status); } \
   3706          && test -f conftest2.$ac_objext; then
   3707       : OK
   3708     else
   3709       am_cv_prog_cc_c_o=no
   3710       break
   3711     fi
   3712   done
   3713   rm -f core conftest*
   3714   unset am_i
   3715 fi
   3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3717 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3718 if test "$am_cv_prog_cc_c_o" != yes; then
   3719    # Losing compiler, so override with the script.
   3720    # FIXME: It is wrong to rewrite CC.
   3721    # But if we don't then we get into trouble of one sort or another.
   3722    # A longer-term fix would be to have automake use am__CC in this case,
   3723    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3724    CC="$am_aux_dir/compile $CC"
   3725 fi
   3726 ac_ext=c
   3727 ac_cpp='$CPP $CPPFLAGS'
   3728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3731 
   3732 
   3733 depcc="$CC"   am_compiler_list=
   3734 
   3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3736 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3737 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3738   $as_echo_n "(cached) " >&6
   3739 else
   3740   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3741   # We make a subdir and do the tests there.  Otherwise we can end up
   3742   # making bogus files that we don't know about and never remove.  For
   3743   # instance it was reported that on HP-UX the gcc test will end up
   3744   # making a dummy file named 'D' -- because '-MD' means "put the output
   3745   # in D".
   3746   rm -rf conftest.dir
   3747   mkdir conftest.dir
   3748   # Copy depcomp to subdir because otherwise we won't find it if we're
   3749   # using a relative directory.
   3750   cp "$am_depcomp" conftest.dir
   3751   cd conftest.dir
   3752   # We will build objects and dependencies in a subdirectory because
   3753   # it helps to detect inapplicable dependency modes.  For instance
   3754   # both Tru64's cc and ICC support -MD to output dependencies as a
   3755   # side effect of compilation, but ICC will put the dependencies in
   3756   # the current directory while Tru64 will put them in the object
   3757   # directory.
   3758   mkdir sub
   3759 
   3760   am_cv_CC_dependencies_compiler_type=none
   3761   if test "$am_compiler_list" = ""; then
   3762      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3763   fi
   3764   am__universal=false
   3765   case " $depcc " in #(
   3766      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3767      esac
   3768 
   3769   for depmode in $am_compiler_list; do
   3770     # Setup a source with many dependencies, because some compilers
   3771     # like to wrap large dependency lists on column 80 (with \), and
   3772     # we should not choose a depcomp mode which is confused by this.
   3773     #
   3774     # We need to recreate these files for each test, as the compiler may
   3775     # overwrite some of them when testing with obscure command lines.
   3776     # This happens at least with the AIX C compiler.
   3777     : > sub/conftest.c
   3778     for i in 1 2 3 4 5 6; do
   3779       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3780       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3781       # Solaris 10 /bin/sh.
   3782       echo '/* dummy */' > sub/conftst$i.h
   3783     done
   3784     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3785 
   3786     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3787     # mode.  It turns out that the SunPro C++ compiler does not properly
   3788     # handle '-M -o', and we need to detect this.  Also, some Intel
   3789     # versions had trouble with output in subdirs.
   3790     am__obj=sub/conftest.${OBJEXT-o}
   3791     am__minus_obj="-o $am__obj"
   3792     case $depmode in
   3793     gcc)
   3794       # This depmode causes a compiler race in universal mode.
   3795       test "$am__universal" = false || continue
   3796       ;;
   3797     nosideeffect)
   3798       # After this tag, mechanisms are not by side-effect, so they'll
   3799       # only be used when explicitly requested.
   3800       if test "x$enable_dependency_tracking" = xyes; then
   3801 	continue
   3802       else
   3803 	break
   3804       fi
   3805       ;;
   3806     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3807       # This compiler won't grok '-c -o', but also, the minuso test has
   3808       # not run yet.  These depmodes are late enough in the game, and
   3809       # so weak that their functioning should not be impacted.
   3810       am__obj=conftest.${OBJEXT-o}
   3811       am__minus_obj=
   3812       ;;
   3813     none) break ;;
   3814     esac
   3815     if depmode=$depmode \
   3816        source=sub/conftest.c object=$am__obj \
   3817        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3818        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3819          >/dev/null 2>conftest.err &&
   3820        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3821        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3822        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3823        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3824       # icc doesn't choke on unknown options, it will just issue warnings
   3825       # or remarks (even with -Werror).  So we grep stderr for any message
   3826       # that says an option was ignored or not supported.
   3827       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3828       #   icc: Command line warning: ignoring option '-M'; no argument required
   3829       # The diagnosis changed in icc 8.0:
   3830       #   icc: Command line remark: option '-MP' not supported
   3831       if (grep 'ignoring option' conftest.err ||
   3832           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3833         am_cv_CC_dependencies_compiler_type=$depmode
   3834         break
   3835       fi
   3836     fi
   3837   done
   3838 
   3839   cd ..
   3840   rm -rf conftest.dir
   3841 else
   3842   am_cv_CC_dependencies_compiler_type=none
   3843 fi
   3844 
   3845 fi
   3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3847 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3848 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3849 
   3850  if
   3851   test "x$enable_dependency_tracking" != xno \
   3852   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3853   am__fastdepCC_TRUE=
   3854   am__fastdepCC_FALSE='#'
   3855 else
   3856   am__fastdepCC_TRUE='#'
   3857   am__fastdepCC_FALSE=
   3858 fi
   3859 
   3860 
   3861    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3862 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3863 if ${ac_cv_prog_cc_c99+:} false; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866   ac_cv_prog_cc_c99=no
   3867 ac_save_CC=$CC
   3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3869 /* end confdefs.h.  */
   3870 #include <stdarg.h>
   3871 #include <stdbool.h>
   3872 #include <stdlib.h>
   3873 #include <wchar.h>
   3874 #include <stdio.h>
   3875 
   3876 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3877 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3878 #define showlist(...) puts (#__VA_ARGS__)
   3879 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3880 static void
   3881 test_varargs_macros (void)
   3882 {
   3883   int x = 1234;
   3884   int y = 5678;
   3885   debug ("Flag");
   3886   debug ("X = %d\n", x);
   3887   showlist (The first, second, and third items.);
   3888   report (x>y, "x is %d but y is %d", x, y);
   3889 }
   3890 
   3891 // Check long long types.
   3892 #define BIG64 18446744073709551615ull
   3893 #define BIG32 4294967295ul
   3894 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3895 #if !BIG_OK
   3896   your preprocessor is broken;
   3897 #endif
   3898 #if BIG_OK
   3899 #else
   3900   your preprocessor is broken;
   3901 #endif
   3902 static long long int bignum = -9223372036854775807LL;
   3903 static unsigned long long int ubignum = BIG64;
   3904 
   3905 struct incomplete_array
   3906 {
   3907   int datasize;
   3908   double data[];
   3909 };
   3910 
   3911 struct named_init {
   3912   int number;
   3913   const wchar_t *name;
   3914   double average;
   3915 };
   3916 
   3917 typedef const char *ccp;
   3918 
   3919 static inline int
   3920 test_restrict (ccp restrict text)
   3921 {
   3922   // See if C++-style comments work.
   3923   // Iterate through items via the restricted pointer.
   3924   // Also check for declarations in for loops.
   3925   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3926     continue;
   3927   return 0;
   3928 }
   3929 
   3930 // Check varargs and va_copy.
   3931 static void
   3932 test_varargs (const char *format, ...)
   3933 {
   3934   va_list args;
   3935   va_start (args, format);
   3936   va_list args_copy;
   3937   va_copy (args_copy, args);
   3938 
   3939   const char *str;
   3940   int number;
   3941   float fnumber;
   3942 
   3943   while (*format)
   3944     {
   3945       switch (*format++)
   3946 	{
   3947 	case 's': // string
   3948 	  str = va_arg (args_copy, const char *);
   3949 	  break;
   3950 	case 'd': // int
   3951 	  number = va_arg (args_copy, int);
   3952 	  break;
   3953 	case 'f': // float
   3954 	  fnumber = va_arg (args_copy, double);
   3955 	  break;
   3956 	default:
   3957 	  break;
   3958 	}
   3959     }
   3960   va_end (args_copy);
   3961   va_end (args);
   3962 }
   3963 
   3964 int
   3965 main ()
   3966 {
   3967 
   3968   // Check bool.
   3969   _Bool success = false;
   3970 
   3971   // Check restrict.
   3972   if (test_restrict ("String literal") == 0)
   3973     success = true;
   3974   char *restrict newvar = "Another string";
   3975 
   3976   // Check varargs.
   3977   test_varargs ("s, d' f .", "string", 65, 34.234);
   3978   test_varargs_macros ();
   3979 
   3980   // Check flexible array members.
   3981   struct incomplete_array *ia =
   3982     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3983   ia->datasize = 10;
   3984   for (int i = 0; i < ia->datasize; ++i)
   3985     ia->data[i] = i * 1.234;
   3986 
   3987   // Check named initializers.
   3988   struct named_init ni = {
   3989     .number = 34,
   3990     .name = L"Test wide string",
   3991     .average = 543.34343,
   3992   };
   3993 
   3994   ni.number = 58;
   3995 
   3996   int dynamic_array[ni.number];
   3997   dynamic_array[ni.number - 1] = 543;
   3998 
   3999   // work around unused variable warnings
   4000   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4001 	  || dynamic_array[ni.number - 1] != 543);
   4002 
   4003   ;
   4004   return 0;
   4005 }
   4006 _ACEOF
   4007 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4008 do
   4009   CC="$ac_save_CC $ac_arg"
   4010   if ac_fn_c_try_compile "$LINENO"; then :
   4011   ac_cv_prog_cc_c99=$ac_arg
   4012 fi
   4013 rm -f core conftest.err conftest.$ac_objext
   4014   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4015 done
   4016 rm -f conftest.$ac_ext
   4017 CC=$ac_save_CC
   4018 
   4019 fi
   4020 # AC_CACHE_VAL
   4021 case "x$ac_cv_prog_cc_c99" in
   4022   x)
   4023     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4024 $as_echo "none needed" >&6; } ;;
   4025   xno)
   4026     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4027 $as_echo "unsupported" >&6; } ;;
   4028   *)
   4029     CC="$CC $ac_cv_prog_cc_c99"
   4030     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4031 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4032 esac
   4033 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4034 
   4035 fi
   4036 
   4037 
   4038 
   4039 ac_ext=c
   4040 ac_cpp='$CPP $CPPFLAGS'
   4041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4045 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4046 # On Suns, sometimes $CPP names a directory.
   4047 if test -n "$CPP" && test -d "$CPP"; then
   4048   CPP=
   4049 fi
   4050 if test -z "$CPP"; then
   4051   if ${ac_cv_prog_CPP+:} false; then :
   4052   $as_echo_n "(cached) " >&6
   4053 else
   4054       # Double quotes because CPP needs to be expanded
   4055     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4056     do
   4057       ac_preproc_ok=false
   4058 for ac_c_preproc_warn_flag in '' yes
   4059 do
   4060   # Use a header file that comes with gcc, so configuring glibc
   4061   # with a fresh cross-compiler works.
   4062   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4063   # <limits.h> exists even on freestanding compilers.
   4064   # On the NeXT, cc -E runs the code through the compiler's parser,
   4065   # not just through cpp. "Syntax error" is here to catch this case.
   4066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4067 /* end confdefs.h.  */
   4068 #ifdef __STDC__
   4069 # include <limits.h>
   4070 #else
   4071 # include <assert.h>
   4072 #endif
   4073 		     Syntax error
   4074 _ACEOF
   4075 if ac_fn_c_try_cpp "$LINENO"; then :
   4076 
   4077 else
   4078   # Broken: fails on valid input.
   4079 continue
   4080 fi
   4081 rm -f conftest.err conftest.i conftest.$ac_ext
   4082 
   4083   # OK, works on sane cases.  Now check whether nonexistent headers
   4084   # can be detected and how.
   4085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4086 /* end confdefs.h.  */
   4087 #include <ac_nonexistent.h>
   4088 _ACEOF
   4089 if ac_fn_c_try_cpp "$LINENO"; then :
   4090   # Broken: success on invalid input.
   4091 continue
   4092 else
   4093   # Passes both tests.
   4094 ac_preproc_ok=:
   4095 break
   4096 fi
   4097 rm -f conftest.err conftest.i conftest.$ac_ext
   4098 
   4099 done
   4100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4101 rm -f conftest.i conftest.err conftest.$ac_ext
   4102 if $ac_preproc_ok; then :
   4103   break
   4104 fi
   4105 
   4106     done
   4107     ac_cv_prog_CPP=$CPP
   4108 
   4109 fi
   4110   CPP=$ac_cv_prog_CPP
   4111 else
   4112   ac_cv_prog_CPP=$CPP
   4113 fi
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4115 $as_echo "$CPP" >&6; }
   4116 ac_preproc_ok=false
   4117 for ac_c_preproc_warn_flag in '' yes
   4118 do
   4119   # Use a header file that comes with gcc, so configuring glibc
   4120   # with a fresh cross-compiler works.
   4121   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4122   # <limits.h> exists even on freestanding compilers.
   4123   # On the NeXT, cc -E runs the code through the compiler's parser,
   4124   # not just through cpp. "Syntax error" is here to catch this case.
   4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 #ifdef __STDC__
   4128 # include <limits.h>
   4129 #else
   4130 # include <assert.h>
   4131 #endif
   4132 		     Syntax error
   4133 _ACEOF
   4134 if ac_fn_c_try_cpp "$LINENO"; then :
   4135 
   4136 else
   4137   # Broken: fails on valid input.
   4138 continue
   4139 fi
   4140 rm -f conftest.err conftest.i conftest.$ac_ext
   4141 
   4142   # OK, works on sane cases.  Now check whether nonexistent headers
   4143   # can be detected and how.
   4144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4145 /* end confdefs.h.  */
   4146 #include <ac_nonexistent.h>
   4147 _ACEOF
   4148 if ac_fn_c_try_cpp "$LINENO"; then :
   4149   # Broken: success on invalid input.
   4150 continue
   4151 else
   4152   # Passes both tests.
   4153 ac_preproc_ok=:
   4154 break
   4155 fi
   4156 rm -f conftest.err conftest.i conftest.$ac_ext
   4157 
   4158 done
   4159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4160 rm -f conftest.i conftest.err conftest.$ac_ext
   4161 if $ac_preproc_ok; then :
   4162 
   4163 else
   4164   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4166 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4167 See \`config.log' for more details" "$LINENO" 5; }
   4168 fi
   4169 
   4170 ac_ext=c
   4171 ac_cpp='$CPP $CPPFLAGS'
   4172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4175 
   4176 
   4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4178 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4179 if ${ac_cv_path_GREP+:} false; then :
   4180   $as_echo_n "(cached) " >&6
   4181 else
   4182   if test -z "$GREP"; then
   4183   ac_path_GREP_found=false
   4184   # Loop through the user's path and test for each of PROGNAME-LIST
   4185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4187 do
   4188   IFS=$as_save_IFS
   4189   test -z "$as_dir" && as_dir=.
   4190     for ac_prog in grep ggrep; do
   4191     for ac_exec_ext in '' $ac_executable_extensions; do
   4192       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4193       as_fn_executable_p "$ac_path_GREP" || continue
   4194 # Check for GNU ac_path_GREP and select it if it is found.
   4195   # Check for GNU $ac_path_GREP
   4196 case `"$ac_path_GREP" --version 2>&1` in
   4197 *GNU*)
   4198   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4199 *)
   4200   ac_count=0
   4201   $as_echo_n 0123456789 >"conftest.in"
   4202   while :
   4203   do
   4204     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4205     mv "conftest.tmp" "conftest.in"
   4206     cp "conftest.in" "conftest.nl"
   4207     $as_echo 'GREP' >> "conftest.nl"
   4208     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4209     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4210     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4211     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4212       # Best one so far, save it but keep looking for a better one
   4213       ac_cv_path_GREP="$ac_path_GREP"
   4214       ac_path_GREP_max=$ac_count
   4215     fi
   4216     # 10*(2^10) chars as input seems more than enough
   4217     test $ac_count -gt 10 && break
   4218   done
   4219   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4220 esac
   4221 
   4222       $ac_path_GREP_found && break 3
   4223     done
   4224   done
   4225   done
   4226 IFS=$as_save_IFS
   4227   if test -z "$ac_cv_path_GREP"; then
   4228     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4229   fi
   4230 else
   4231   ac_cv_path_GREP=$GREP
   4232 fi
   4233 
   4234 fi
   4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4236 $as_echo "$ac_cv_path_GREP" >&6; }
   4237  GREP="$ac_cv_path_GREP"
   4238 
   4239 
   4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4241 $as_echo_n "checking for egrep... " >&6; }
   4242 if ${ac_cv_path_EGREP+:} false; then :
   4243   $as_echo_n "(cached) " >&6
   4244 else
   4245   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4246    then ac_cv_path_EGREP="$GREP -E"
   4247    else
   4248      if test -z "$EGREP"; then
   4249   ac_path_EGREP_found=false
   4250   # Loop through the user's path and test for each of PROGNAME-LIST
   4251   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4253 do
   4254   IFS=$as_save_IFS
   4255   test -z "$as_dir" && as_dir=.
   4256     for ac_prog in egrep; do
   4257     for ac_exec_ext in '' $ac_executable_extensions; do
   4258       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4259       as_fn_executable_p "$ac_path_EGREP" || continue
   4260 # Check for GNU ac_path_EGREP and select it if it is found.
   4261   # Check for GNU $ac_path_EGREP
   4262 case `"$ac_path_EGREP" --version 2>&1` in
   4263 *GNU*)
   4264   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4265 *)
   4266   ac_count=0
   4267   $as_echo_n 0123456789 >"conftest.in"
   4268   while :
   4269   do
   4270     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4271     mv "conftest.tmp" "conftest.in"
   4272     cp "conftest.in" "conftest.nl"
   4273     $as_echo 'EGREP' >> "conftest.nl"
   4274     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4275     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4276     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4277     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4278       # Best one so far, save it but keep looking for a better one
   4279       ac_cv_path_EGREP="$ac_path_EGREP"
   4280       ac_path_EGREP_max=$ac_count
   4281     fi
   4282     # 10*(2^10) chars as input seems more than enough
   4283     test $ac_count -gt 10 && break
   4284   done
   4285   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4286 esac
   4287 
   4288       $ac_path_EGREP_found && break 3
   4289     done
   4290   done
   4291   done
   4292 IFS=$as_save_IFS
   4293   if test -z "$ac_cv_path_EGREP"; then
   4294     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4295   fi
   4296 else
   4297   ac_cv_path_EGREP=$EGREP
   4298 fi
   4299 
   4300    fi
   4301 fi
   4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4303 $as_echo "$ac_cv_path_EGREP" >&6; }
   4304  EGREP="$ac_cv_path_EGREP"
   4305 
   4306 
   4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4308 $as_echo_n "checking for ANSI C header files... " >&6; }
   4309 if ${ac_cv_header_stdc+:} false; then :
   4310   $as_echo_n "(cached) " >&6
   4311 else
   4312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4313 /* end confdefs.h.  */
   4314 #include <stdlib.h>
   4315 #include <stdarg.h>
   4316 #include <string.h>
   4317 #include <float.h>
   4318 
   4319 int
   4320 main ()
   4321 {
   4322 
   4323   ;
   4324   return 0;
   4325 }
   4326 _ACEOF
   4327 if ac_fn_c_try_compile "$LINENO"; then :
   4328   ac_cv_header_stdc=yes
   4329 else
   4330   ac_cv_header_stdc=no
   4331 fi
   4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4333 
   4334 if test $ac_cv_header_stdc = yes; then
   4335   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4337 /* end confdefs.h.  */
   4338 #include <string.h>
   4339 
   4340 _ACEOF
   4341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4342   $EGREP "memchr" >/dev/null 2>&1; then :
   4343 
   4344 else
   4345   ac_cv_header_stdc=no
   4346 fi
   4347 rm -f conftest*
   4348 
   4349 fi
   4350 
   4351 if test $ac_cv_header_stdc = yes; then
   4352   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4354 /* end confdefs.h.  */
   4355 #include <stdlib.h>
   4356 
   4357 _ACEOF
   4358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4359   $EGREP "free" >/dev/null 2>&1; then :
   4360 
   4361 else
   4362   ac_cv_header_stdc=no
   4363 fi
   4364 rm -f conftest*
   4365 
   4366 fi
   4367 
   4368 if test $ac_cv_header_stdc = yes; then
   4369   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4370   if test "$cross_compiling" = yes; then :
   4371   :
   4372 else
   4373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4374 /* end confdefs.h.  */
   4375 #include <ctype.h>
   4376 #include <stdlib.h>
   4377 #if ((' ' & 0x0FF) == 0x020)
   4378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4380 #else
   4381 # define ISLOWER(c) \
   4382 		   (('a' <= (c) && (c) <= 'i') \
   4383 		     || ('j' <= (c) && (c) <= 'r') \
   4384 		     || ('s' <= (c) && (c) <= 'z'))
   4385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4386 #endif
   4387 
   4388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4389 int
   4390 main ()
   4391 {
   4392   int i;
   4393   for (i = 0; i < 256; i++)
   4394     if (XOR (islower (i), ISLOWER (i))
   4395 	|| toupper (i) != TOUPPER (i))
   4396       return 2;
   4397   return 0;
   4398 }
   4399 _ACEOF
   4400 if ac_fn_c_try_run "$LINENO"; then :
   4401 
   4402 else
   4403   ac_cv_header_stdc=no
   4404 fi
   4405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4406   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4407 fi
   4408 
   4409 fi
   4410 fi
   4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4412 $as_echo "$ac_cv_header_stdc" >&6; }
   4413 if test $ac_cv_header_stdc = yes; then
   4414 
   4415 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4416 
   4417 fi
   4418 
   4419 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4420 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4421 		  inttypes.h stdint.h unistd.h
   4422 do :
   4423   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4424 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4425 "
   4426 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4427   cat >>confdefs.h <<_ACEOF
   4428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4429 _ACEOF
   4430 
   4431 fi
   4432 
   4433 done
   4434 
   4435 
   4436 
   4437 
   4438 
   4439 
   4440 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4441 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4442   CLANGCC="yes"
   4443 else
   4444   CLANGCC="no"
   4445 fi
   4446 
   4447 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4448 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4449   INTELCC="yes"
   4450 else
   4451   INTELCC="no"
   4452 fi
   4453 
   4454 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4455 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4456   SUNCC="yes"
   4457 else
   4458   SUNCC="no"
   4459 fi
   4460 
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4470 	if test -n "$ac_tool_prefix"; then
   4471   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4472 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4474 $as_echo_n "checking for $ac_word... " >&6; }
   4475 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4476   $as_echo_n "(cached) " >&6
   4477 else
   4478   case $PKG_CONFIG in
   4479   [\\/]* | ?:[\\/]*)
   4480   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4481   ;;
   4482   *)
   4483   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4484 for as_dir in $PATH
   4485 do
   4486   IFS=$as_save_IFS
   4487   test -z "$as_dir" && as_dir=.
   4488     for ac_exec_ext in '' $ac_executable_extensions; do
   4489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4490     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4492     break 2
   4493   fi
   4494 done
   4495   done
   4496 IFS=$as_save_IFS
   4497 
   4498   ;;
   4499 esac
   4500 fi
   4501 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4502 if test -n "$PKG_CONFIG"; then
   4503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4504 $as_echo "$PKG_CONFIG" >&6; }
   4505 else
   4506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4507 $as_echo "no" >&6; }
   4508 fi
   4509 
   4510 
   4511 fi
   4512 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4513   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4514   # Extract the first word of "pkg-config", so it can be a program name with args.
   4515 set dummy pkg-config; ac_word=$2
   4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4517 $as_echo_n "checking for $ac_word... " >&6; }
   4518 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4519   $as_echo_n "(cached) " >&6
   4520 else
   4521   case $ac_pt_PKG_CONFIG in
   4522   [\\/]* | ?:[\\/]*)
   4523   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4524   ;;
   4525   *)
   4526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4527 for as_dir in $PATH
   4528 do
   4529   IFS=$as_save_IFS
   4530   test -z "$as_dir" && as_dir=.
   4531     for ac_exec_ext in '' $ac_executable_extensions; do
   4532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4533     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4535     break 2
   4536   fi
   4537 done
   4538   done
   4539 IFS=$as_save_IFS
   4540 
   4541   ;;
   4542 esac
   4543 fi
   4544 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4545 if test -n "$ac_pt_PKG_CONFIG"; then
   4546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4547 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4548 else
   4549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4550 $as_echo "no" >&6; }
   4551 fi
   4552 
   4553   if test "x$ac_pt_PKG_CONFIG" = x; then
   4554     PKG_CONFIG=""
   4555   else
   4556     case $cross_compiling:$ac_tool_warned in
   4557 yes:)
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4560 ac_tool_warned=yes ;;
   4561 esac
   4562     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4563   fi
   4564 else
   4565   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4566 fi
   4567 
   4568 fi
   4569 if test -n "$PKG_CONFIG"; then
   4570 	_pkg_min_version=0.9.0
   4571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4572 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4573 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4575 $as_echo "yes" >&6; }
   4576 	else
   4577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4578 $as_echo "no" >&6; }
   4579 		PKG_CONFIG=""
   4580 	fi
   4581 fi
   4582 # Make sure we can run config.sub.
   4583 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4584   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4585 
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4587 $as_echo_n "checking build system type... " >&6; }
   4588 if ${ac_cv_build+:} false; then :
   4589   $as_echo_n "(cached) " >&6
   4590 else
   4591   ac_build_alias=$build_alias
   4592 test "x$ac_build_alias" = x &&
   4593   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4594 test "x$ac_build_alias" = x &&
   4595   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4596 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4597   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4598 
   4599 fi
   4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4601 $as_echo "$ac_cv_build" >&6; }
   4602 case $ac_cv_build in
   4603 *-*-*) ;;
   4604 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4605 esac
   4606 build=$ac_cv_build
   4607 ac_save_IFS=$IFS; IFS='-'
   4608 set x $ac_cv_build
   4609 shift
   4610 build_cpu=$1
   4611 build_vendor=$2
   4612 shift; shift
   4613 # Remember, the first character of IFS is used to create $*,
   4614 # except with old shells:
   4615 build_os=$*
   4616 IFS=$ac_save_IFS
   4617 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4618 
   4619 
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4621 $as_echo_n "checking host system type... " >&6; }
   4622 if ${ac_cv_host+:} false; then :
   4623   $as_echo_n "(cached) " >&6
   4624 else
   4625   if test "x$host_alias" = x; then
   4626   ac_cv_host=$ac_cv_build
   4627 else
   4628   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4629     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4630 fi
   4631 
   4632 fi
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4634 $as_echo "$ac_cv_host" >&6; }
   4635 case $ac_cv_host in
   4636 *-*-*) ;;
   4637 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4638 esac
   4639 host=$ac_cv_host
   4640 ac_save_IFS=$IFS; IFS='-'
   4641 set x $ac_cv_host
   4642 shift
   4643 host_cpu=$1
   4644 host_vendor=$2
   4645 shift; shift
   4646 # Remember, the first character of IFS is used to create $*,
   4647 # except with old shells:
   4648 host_os=$*
   4649 IFS=$ac_save_IFS
   4650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4651 
   4652 
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4654 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4655 if ${ac_cv_path_SED+:} false; then :
   4656   $as_echo_n "(cached) " >&6
   4657 else
   4658             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4659      for ac_i in 1 2 3 4 5 6 7; do
   4660        ac_script="$ac_script$as_nl$ac_script"
   4661      done
   4662      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4663      { ac_script=; unset ac_script;}
   4664      if test -z "$SED"; then
   4665   ac_path_SED_found=false
   4666   # Loop through the user's path and test for each of PROGNAME-LIST
   4667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4668 for as_dir in $PATH
   4669 do
   4670   IFS=$as_save_IFS
   4671   test -z "$as_dir" && as_dir=.
   4672     for ac_prog in sed gsed; do
   4673     for ac_exec_ext in '' $ac_executable_extensions; do
   4674       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4675       as_fn_executable_p "$ac_path_SED" || continue
   4676 # Check for GNU ac_path_SED and select it if it is found.
   4677   # Check for GNU $ac_path_SED
   4678 case `"$ac_path_SED" --version 2>&1` in
   4679 *GNU*)
   4680   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4681 *)
   4682   ac_count=0
   4683   $as_echo_n 0123456789 >"conftest.in"
   4684   while :
   4685   do
   4686     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4687     mv "conftest.tmp" "conftest.in"
   4688     cp "conftest.in" "conftest.nl"
   4689     $as_echo '' >> "conftest.nl"
   4690     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4691     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4692     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4693     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4694       # Best one so far, save it but keep looking for a better one
   4695       ac_cv_path_SED="$ac_path_SED"
   4696       ac_path_SED_max=$ac_count
   4697     fi
   4698     # 10*(2^10) chars as input seems more than enough
   4699     test $ac_count -gt 10 && break
   4700   done
   4701   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4702 esac
   4703 
   4704       $ac_path_SED_found && break 3
   4705     done
   4706   done
   4707   done
   4708 IFS=$as_save_IFS
   4709   if test -z "$ac_cv_path_SED"; then
   4710     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4711   fi
   4712 else
   4713   ac_cv_path_SED=$SED
   4714 fi
   4715 
   4716 fi
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4718 $as_echo "$ac_cv_path_SED" >&6; }
   4719  SED="$ac_cv_path_SED"
   4720   rm -f conftest.sed
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 # Check whether --enable-selective-werror was given.
   4728 if test "${enable_selective_werror+set}" = set; then :
   4729   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4730 else
   4731   SELECTIVE_WERROR=yes
   4732 fi
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4739 if test "x$SUNCC" = "xyes"; then
   4740     BASE_CFLAGS="-v"
   4741 else
   4742     BASE_CFLAGS=""
   4743 fi
   4744 
   4745 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 xorg_testset_save_CFLAGS="$CFLAGS"
   4760 
   4761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4764 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4765 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4766   $as_echo_n "(cached) " >&6
   4767 else
   4768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4769 /* end confdefs.h.  */
   4770 int i;
   4771 _ACEOF
   4772 if ac_fn_c_try_compile "$LINENO"; then :
   4773   xorg_cv_cc_flag_unknown_warning_option=yes
   4774 else
   4775   xorg_cv_cc_flag_unknown_warning_option=no
   4776 fi
   4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4778 fi
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4780 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4782 	CFLAGS="$xorg_testset_save_CFLAGS"
   4783 fi
   4784 
   4785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4788 	fi
   4789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4791 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4792 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4793   $as_echo_n "(cached) " >&6
   4794 else
   4795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4796 /* end confdefs.h.  */
   4797 int i;
   4798 _ACEOF
   4799 if ac_fn_c_try_compile "$LINENO"; then :
   4800   xorg_cv_cc_flag_unused_command_line_argument=yes
   4801 else
   4802   xorg_cv_cc_flag_unused_command_line_argument=no
   4803 fi
   4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4805 fi
   4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4807 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4809 	CFLAGS="$xorg_testset_save_CFLAGS"
   4810 fi
   4811 
   4812 found="no"
   4813 
   4814 	if test $found = "no" ; then
   4815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4817 		fi
   4818 
   4819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4821 		fi
   4822 
   4823 		CFLAGS="$CFLAGS -Wall"
   4824 
   4825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4826 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4827 		cacheid=xorg_cv_cc_flag__Wall
   4828 		if eval \${$cacheid+:} false; then :
   4829   $as_echo_n "(cached) " >&6
   4830 else
   4831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4832 /* end confdefs.h.  */
   4833 int i;
   4834 int
   4835 main ()
   4836 {
   4837 
   4838   ;
   4839   return 0;
   4840 }
   4841 _ACEOF
   4842 if ac_fn_c_try_link "$LINENO"; then :
   4843   eval $cacheid=yes
   4844 else
   4845   eval $cacheid=no
   4846 fi
   4847 rm -f core conftest.err conftest.$ac_objext \
   4848     conftest$ac_exeext conftest.$ac_ext
   4849 fi
   4850 
   4851 
   4852 		CFLAGS="$xorg_testset_save_CFLAGS"
   4853 
   4854 		eval supported=\$$cacheid
   4855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4856 $as_echo "$supported" >&6; }
   4857 		if test "$supported" = "yes" ; then
   4858 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4859 			found="yes"
   4860 		fi
   4861 	fi
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 xorg_testset_save_CFLAGS="$CFLAGS"
   4878 
   4879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4887 /* end confdefs.h.  */
   4888 int i;
   4889 _ACEOF
   4890 if ac_fn_c_try_compile "$LINENO"; then :
   4891   xorg_cv_cc_flag_unknown_warning_option=yes
   4892 else
   4893   xorg_cv_cc_flag_unknown_warning_option=no
   4894 fi
   4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4896 fi
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4900 	CFLAGS="$xorg_testset_save_CFLAGS"
   4901 fi
   4902 
   4903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4906 	fi
   4907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 int i;
   4916 _ACEOF
   4917 if ac_fn_c_try_compile "$LINENO"; then :
   4918   xorg_cv_cc_flag_unused_command_line_argument=yes
   4919 else
   4920   xorg_cv_cc_flag_unused_command_line_argument=no
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4923 fi
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4927 	CFLAGS="$xorg_testset_save_CFLAGS"
   4928 fi
   4929 
   4930 found="no"
   4931 
   4932 	if test $found = "no" ; then
   4933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4935 		fi
   4936 
   4937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4939 		fi
   4940 
   4941 		CFLAGS="$CFLAGS -Wpointer-arith"
   4942 
   4943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4944 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4945 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4946 		if eval \${$cacheid+:} false; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4950 /* end confdefs.h.  */
   4951 int i;
   4952 int
   4953 main ()
   4954 {
   4955 
   4956   ;
   4957   return 0;
   4958 }
   4959 _ACEOF
   4960 if ac_fn_c_try_link "$LINENO"; then :
   4961   eval $cacheid=yes
   4962 else
   4963   eval $cacheid=no
   4964 fi
   4965 rm -f core conftest.err conftest.$ac_objext \
   4966     conftest$ac_exeext conftest.$ac_ext
   4967 fi
   4968 
   4969 
   4970 		CFLAGS="$xorg_testset_save_CFLAGS"
   4971 
   4972 		eval supported=\$$cacheid
   4973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4974 $as_echo "$supported" >&6; }
   4975 		if test "$supported" = "yes" ; then
   4976 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4977 			found="yes"
   4978 		fi
   4979 	fi
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 xorg_testset_save_CFLAGS="$CFLAGS"
   4996 
   4997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5005 /* end confdefs.h.  */
   5006 int i;
   5007 _ACEOF
   5008 if ac_fn_c_try_compile "$LINENO"; then :
   5009   xorg_cv_cc_flag_unknown_warning_option=yes
   5010 else
   5011   xorg_cv_cc_flag_unknown_warning_option=no
   5012 fi
   5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5014 fi
   5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5018 	CFLAGS="$xorg_testset_save_CFLAGS"
   5019 fi
   5020 
   5021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	fi
   5025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5032 /* end confdefs.h.  */
   5033 int i;
   5034 _ACEOF
   5035 if ac_fn_c_try_compile "$LINENO"; then :
   5036   xorg_cv_cc_flag_unused_command_line_argument=yes
   5037 else
   5038   xorg_cv_cc_flag_unused_command_line_argument=no
   5039 fi
   5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5041 fi
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5045 	CFLAGS="$xorg_testset_save_CFLAGS"
   5046 fi
   5047 
   5048 found="no"
   5049 
   5050 	if test $found = "no" ; then
   5051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5053 		fi
   5054 
   5055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5057 		fi
   5058 
   5059 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5060 
   5061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5062 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5063 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5064 		if eval \${$cacheid+:} false; then :
   5065   $as_echo_n "(cached) " >&6
   5066 else
   5067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5068 /* end confdefs.h.  */
   5069 int i;
   5070 int
   5071 main ()
   5072 {
   5073 
   5074   ;
   5075   return 0;
   5076 }
   5077 _ACEOF
   5078 if ac_fn_c_try_link "$LINENO"; then :
   5079   eval $cacheid=yes
   5080 else
   5081   eval $cacheid=no
   5082 fi
   5083 rm -f core conftest.err conftest.$ac_objext \
   5084     conftest$ac_exeext conftest.$ac_ext
   5085 fi
   5086 
   5087 
   5088 		CFLAGS="$xorg_testset_save_CFLAGS"
   5089 
   5090 		eval supported=\$$cacheid
   5091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5092 $as_echo "$supported" >&6; }
   5093 		if test "$supported" = "yes" ; then
   5094 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5095 			found="yes"
   5096 		fi
   5097 	fi
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 xorg_testset_save_CFLAGS="$CFLAGS"
   5114 
   5115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5120   $as_echo_n "(cached) " >&6
   5121 else
   5122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 int i;
   5125 _ACEOF
   5126 if ac_fn_c_try_compile "$LINENO"; then :
   5127   xorg_cv_cc_flag_unknown_warning_option=yes
   5128 else
   5129   xorg_cv_cc_flag_unknown_warning_option=no
   5130 fi
   5131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5132 fi
   5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5136 	CFLAGS="$xorg_testset_save_CFLAGS"
   5137 fi
   5138 
   5139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5142 	fi
   5143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5147   $as_echo_n "(cached) " >&6
   5148 else
   5149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 _ACEOF
   5153 if ac_fn_c_try_compile "$LINENO"; then :
   5154   xorg_cv_cc_flag_unused_command_line_argument=yes
   5155 else
   5156   xorg_cv_cc_flag_unused_command_line_argument=no
   5157 fi
   5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5159 fi
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5163 	CFLAGS="$xorg_testset_save_CFLAGS"
   5164 fi
   5165 
   5166 found="no"
   5167 
   5168 	if test $found = "no" ; then
   5169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 		fi
   5172 
   5173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5175 		fi
   5176 
   5177 		CFLAGS="$CFLAGS -Wformat=2"
   5178 
   5179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5180 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5181 		cacheid=xorg_cv_cc_flag__Wformat_2
   5182 		if eval \${$cacheid+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 int
   5189 main ()
   5190 {
   5191 
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 if ac_fn_c_try_link "$LINENO"; then :
   5197   eval $cacheid=yes
   5198 else
   5199   eval $cacheid=no
   5200 fi
   5201 rm -f core conftest.err conftest.$ac_objext \
   5202     conftest$ac_exeext conftest.$ac_ext
   5203 fi
   5204 
   5205 
   5206 		CFLAGS="$xorg_testset_save_CFLAGS"
   5207 
   5208 		eval supported=\$$cacheid
   5209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5210 $as_echo "$supported" >&6; }
   5211 		if test "$supported" = "yes" ; then
   5212 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5213 			found="yes"
   5214 		fi
   5215 	fi
   5216 
   5217 	if test $found = "no" ; then
   5218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5220 		fi
   5221 
   5222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5224 		fi
   5225 
   5226 		CFLAGS="$CFLAGS -Wformat"
   5227 
   5228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5229 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5230 		cacheid=xorg_cv_cc_flag__Wformat
   5231 		if eval \${$cacheid+:} false; then :
   5232   $as_echo_n "(cached) " >&6
   5233 else
   5234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5235 /* end confdefs.h.  */
   5236 int i;
   5237 int
   5238 main ()
   5239 {
   5240 
   5241   ;
   5242   return 0;
   5243 }
   5244 _ACEOF
   5245 if ac_fn_c_try_link "$LINENO"; then :
   5246   eval $cacheid=yes
   5247 else
   5248   eval $cacheid=no
   5249 fi
   5250 rm -f core conftest.err conftest.$ac_objext \
   5251     conftest$ac_exeext conftest.$ac_ext
   5252 fi
   5253 
   5254 
   5255 		CFLAGS="$xorg_testset_save_CFLAGS"
   5256 
   5257 		eval supported=\$$cacheid
   5258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5259 $as_echo "$supported" >&6; }
   5260 		if test "$supported" = "yes" ; then
   5261 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5262 			found="yes"
   5263 		fi
   5264 	fi
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 xorg_testset_save_CFLAGS="$CFLAGS"
   5283 
   5284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5289   $as_echo_n "(cached) " >&6
   5290 else
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"; then :
   5296   xorg_cv_cc_flag_unknown_warning_option=yes
   5297 else
   5298   xorg_cv_cc_flag_unknown_warning_option=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5301 fi
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5305 	CFLAGS="$xorg_testset_save_CFLAGS"
   5306 fi
   5307 
   5308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 	fi
   5312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5319 /* end confdefs.h.  */
   5320 int i;
   5321 _ACEOF
   5322 if ac_fn_c_try_compile "$LINENO"; then :
   5323   xorg_cv_cc_flag_unused_command_line_argument=yes
   5324 else
   5325   xorg_cv_cc_flag_unused_command_line_argument=no
   5326 fi
   5327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5328 fi
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5332 	CFLAGS="$xorg_testset_save_CFLAGS"
   5333 fi
   5334 
   5335 found="no"
   5336 
   5337 	if test $found = "no" ; then
   5338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5340 		fi
   5341 
   5342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5344 		fi
   5345 
   5346 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5347 
   5348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5349 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5350 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5351 		if eval \${$cacheid+:} false; then :
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 int
   5358 main ()
   5359 {
   5360 
   5361   ;
   5362   return 0;
   5363 }
   5364 _ACEOF
   5365 if ac_fn_c_try_link "$LINENO"; then :
   5366   eval $cacheid=yes
   5367 else
   5368   eval $cacheid=no
   5369 fi
   5370 rm -f core conftest.err conftest.$ac_objext \
   5371     conftest$ac_exeext conftest.$ac_ext
   5372 fi
   5373 
   5374 
   5375 		CFLAGS="$xorg_testset_save_CFLAGS"
   5376 
   5377 		eval supported=\$$cacheid
   5378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5379 $as_echo "$supported" >&6; }
   5380 		if test "$supported" = "yes" ; then
   5381 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5382 			found="yes"
   5383 		fi
   5384 	fi
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 xorg_testset_save_CFLAGS="$CFLAGS"
   5401 
   5402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5410 /* end confdefs.h.  */
   5411 int i;
   5412 _ACEOF
   5413 if ac_fn_c_try_compile "$LINENO"; then :
   5414   xorg_cv_cc_flag_unknown_warning_option=yes
   5415 else
   5416   xorg_cv_cc_flag_unknown_warning_option=no
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5419 fi
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5423 	CFLAGS="$xorg_testset_save_CFLAGS"
   5424 fi
   5425 
   5426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	fi
   5430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5437 /* end confdefs.h.  */
   5438 int i;
   5439 _ACEOF
   5440 if ac_fn_c_try_compile "$LINENO"; then :
   5441   xorg_cv_cc_flag_unused_command_line_argument=yes
   5442 else
   5443   xorg_cv_cc_flag_unused_command_line_argument=no
   5444 fi
   5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5446 fi
   5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5450 	CFLAGS="$xorg_testset_save_CFLAGS"
   5451 fi
   5452 
   5453 found="no"
   5454 
   5455 	if test $found = "no" ; then
   5456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5458 		fi
   5459 
   5460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5462 		fi
   5463 
   5464 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5465 
   5466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5467 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5468 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5469 		if eval \${$cacheid+:} false; then :
   5470   $as_echo_n "(cached) " >&6
   5471 else
   5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 int
   5476 main ()
   5477 {
   5478 
   5479   ;
   5480   return 0;
   5481 }
   5482 _ACEOF
   5483 if ac_fn_c_try_link "$LINENO"; then :
   5484   eval $cacheid=yes
   5485 else
   5486   eval $cacheid=no
   5487 fi
   5488 rm -f core conftest.err conftest.$ac_objext \
   5489     conftest$ac_exeext conftest.$ac_ext
   5490 fi
   5491 
   5492 
   5493 		CFLAGS="$xorg_testset_save_CFLAGS"
   5494 
   5495 		eval supported=\$$cacheid
   5496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5497 $as_echo "$supported" >&6; }
   5498 		if test "$supported" = "yes" ; then
   5499 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5500 			found="yes"
   5501 		fi
   5502 	fi
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 xorg_testset_save_CFLAGS="$CFLAGS"
   5519 
   5520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5525   $as_echo_n "(cached) " >&6
   5526 else
   5527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5528 /* end confdefs.h.  */
   5529 int i;
   5530 _ACEOF
   5531 if ac_fn_c_try_compile "$LINENO"; then :
   5532   xorg_cv_cc_flag_unknown_warning_option=yes
   5533 else
   5534   xorg_cv_cc_flag_unknown_warning_option=no
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537 fi
   5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5541 	CFLAGS="$xorg_testset_save_CFLAGS"
   5542 fi
   5543 
   5544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	fi
   5548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"; then :
   5559   xorg_cv_cc_flag_unused_command_line_argument=yes
   5560 else
   5561   xorg_cv_cc_flag_unused_command_line_argument=no
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5564 fi
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 found="no"
   5572 
   5573 	if test $found = "no" ; then
   5574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 		fi
   5577 
   5578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5580 		fi
   5581 
   5582 		CFLAGS="$CFLAGS -Wnested-externs"
   5583 
   5584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5585 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5586 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5587 		if eval \${$cacheid+:} false; then :
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 int
   5594 main ()
   5595 {
   5596 
   5597   ;
   5598   return 0;
   5599 }
   5600 _ACEOF
   5601 if ac_fn_c_try_link "$LINENO"; then :
   5602   eval $cacheid=yes
   5603 else
   5604   eval $cacheid=no
   5605 fi
   5606 rm -f core conftest.err conftest.$ac_objext \
   5607     conftest$ac_exeext conftest.$ac_ext
   5608 fi
   5609 
   5610 
   5611 		CFLAGS="$xorg_testset_save_CFLAGS"
   5612 
   5613 		eval supported=\$$cacheid
   5614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5615 $as_echo "$supported" >&6; }
   5616 		if test "$supported" = "yes" ; then
   5617 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5618 			found="yes"
   5619 		fi
   5620 	fi
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 xorg_testset_save_CFLAGS="$CFLAGS"
   5637 
   5638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5643   $as_echo_n "(cached) " >&6
   5644 else
   5645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5646 /* end confdefs.h.  */
   5647 int i;
   5648 _ACEOF
   5649 if ac_fn_c_try_compile "$LINENO"; then :
   5650   xorg_cv_cc_flag_unknown_warning_option=yes
   5651 else
   5652   xorg_cv_cc_flag_unknown_warning_option=no
   5653 fi
   5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5655 fi
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5659 	CFLAGS="$xorg_testset_save_CFLAGS"
   5660 fi
   5661 
   5662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5665 	fi
   5666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5673 /* end confdefs.h.  */
   5674 int i;
   5675 _ACEOF
   5676 if ac_fn_c_try_compile "$LINENO"; then :
   5677   xorg_cv_cc_flag_unused_command_line_argument=yes
   5678 else
   5679   xorg_cv_cc_flag_unused_command_line_argument=no
   5680 fi
   5681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5682 fi
   5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5686 	CFLAGS="$xorg_testset_save_CFLAGS"
   5687 fi
   5688 
   5689 found="no"
   5690 
   5691 	if test $found = "no" ; then
   5692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5694 		fi
   5695 
   5696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5698 		fi
   5699 
   5700 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5701 
   5702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5703 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5704 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5705 		if eval \${$cacheid+:} false; then :
   5706   $as_echo_n "(cached) " >&6
   5707 else
   5708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5709 /* end confdefs.h.  */
   5710 int i;
   5711 int
   5712 main ()
   5713 {
   5714 
   5715   ;
   5716   return 0;
   5717 }
   5718 _ACEOF
   5719 if ac_fn_c_try_link "$LINENO"; then :
   5720   eval $cacheid=yes
   5721 else
   5722   eval $cacheid=no
   5723 fi
   5724 rm -f core conftest.err conftest.$ac_objext \
   5725     conftest$ac_exeext conftest.$ac_ext
   5726 fi
   5727 
   5728 
   5729 		CFLAGS="$xorg_testset_save_CFLAGS"
   5730 
   5731 		eval supported=\$$cacheid
   5732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5733 $as_echo "$supported" >&6; }
   5734 		if test "$supported" = "yes" ; then
   5735 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5736 			found="yes"
   5737 		fi
   5738 	fi
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 xorg_testset_save_CFLAGS="$CFLAGS"
   5755 
   5756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5761   $as_echo_n "(cached) " >&6
   5762 else
   5763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5764 /* end confdefs.h.  */
   5765 int i;
   5766 _ACEOF
   5767 if ac_fn_c_try_compile "$LINENO"; then :
   5768   xorg_cv_cc_flag_unknown_warning_option=yes
   5769 else
   5770   xorg_cv_cc_flag_unknown_warning_option=no
   5771 fi
   5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5773 fi
   5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5777 	CFLAGS="$xorg_testset_save_CFLAGS"
   5778 fi
   5779 
   5780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 	fi
   5784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 _ACEOF
   5794 if ac_fn_c_try_compile "$LINENO"; then :
   5795   xorg_cv_cc_flag_unused_command_line_argument=yes
   5796 else
   5797   xorg_cv_cc_flag_unused_command_line_argument=no
   5798 fi
   5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5800 fi
   5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5804 	CFLAGS="$xorg_testset_save_CFLAGS"
   5805 fi
   5806 
   5807 found="no"
   5808 
   5809 	if test $found = "no" ; then
   5810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5812 		fi
   5813 
   5814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5816 		fi
   5817 
   5818 		CFLAGS="$CFLAGS -Wold-style-definition"
   5819 
   5820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5821 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5822 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5823 		if eval \${$cacheid+:} false; then :
   5824   $as_echo_n "(cached) " >&6
   5825 else
   5826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5827 /* end confdefs.h.  */
   5828 int i;
   5829 int
   5830 main ()
   5831 {
   5832 
   5833   ;
   5834   return 0;
   5835 }
   5836 _ACEOF
   5837 if ac_fn_c_try_link "$LINENO"; then :
   5838   eval $cacheid=yes
   5839 else
   5840   eval $cacheid=no
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext \
   5843     conftest$ac_exeext conftest.$ac_ext
   5844 fi
   5845 
   5846 
   5847 		CFLAGS="$xorg_testset_save_CFLAGS"
   5848 
   5849 		eval supported=\$$cacheid
   5850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5851 $as_echo "$supported" >&6; }
   5852 		if test "$supported" = "yes" ; then
   5853 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5854 			found="yes"
   5855 		fi
   5856 	fi
   5857 
   5858 	if test $found = "no" ; then
   5859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5861 		fi
   5862 
   5863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5865 		fi
   5866 
   5867 		CFLAGS="$CFLAGS -fd"
   5868 
   5869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5870 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5871 		cacheid=xorg_cv_cc_flag__fd
   5872 		if eval \${$cacheid+:} false; then :
   5873   $as_echo_n "(cached) " >&6
   5874 else
   5875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5876 /* end confdefs.h.  */
   5877 int i;
   5878 int
   5879 main ()
   5880 {
   5881 
   5882   ;
   5883   return 0;
   5884 }
   5885 _ACEOF
   5886 if ac_fn_c_try_link "$LINENO"; then :
   5887   eval $cacheid=yes
   5888 else
   5889   eval $cacheid=no
   5890 fi
   5891 rm -f core conftest.err conftest.$ac_objext \
   5892     conftest$ac_exeext conftest.$ac_ext
   5893 fi
   5894 
   5895 
   5896 		CFLAGS="$xorg_testset_save_CFLAGS"
   5897 
   5898 		eval supported=\$$cacheid
   5899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5900 $as_echo "$supported" >&6; }
   5901 		if test "$supported" = "yes" ; then
   5902 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5903 			found="yes"
   5904 		fi
   5905 	fi
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 xorg_testset_save_CFLAGS="$CFLAGS"
   5922 
   5923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5928   $as_echo_n "(cached) " >&6
   5929 else
   5930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5931 /* end confdefs.h.  */
   5932 int i;
   5933 _ACEOF
   5934 if ac_fn_c_try_compile "$LINENO"; then :
   5935   xorg_cv_cc_flag_unknown_warning_option=yes
   5936 else
   5937   xorg_cv_cc_flag_unknown_warning_option=no
   5938 fi
   5939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5940 fi
   5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5944 	CFLAGS="$xorg_testset_save_CFLAGS"
   5945 fi
   5946 
   5947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5950 	fi
   5951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 _ACEOF
   5961 if ac_fn_c_try_compile "$LINENO"; then :
   5962   xorg_cv_cc_flag_unused_command_line_argument=yes
   5963 else
   5964   xorg_cv_cc_flag_unused_command_line_argument=no
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5967 fi
   5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5971 	CFLAGS="$xorg_testset_save_CFLAGS"
   5972 fi
   5973 
   5974 found="no"
   5975 
   5976 	if test $found = "no" ; then
   5977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5979 		fi
   5980 
   5981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5983 		fi
   5984 
   5985 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5986 
   5987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5988 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5989 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5990 		if eval \${$cacheid+:} false; then :
   5991   $as_echo_n "(cached) " >&6
   5992 else
   5993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5994 /* end confdefs.h.  */
   5995 int i;
   5996 int
   5997 main ()
   5998 {
   5999 
   6000   ;
   6001   return 0;
   6002 }
   6003 _ACEOF
   6004 if ac_fn_c_try_link "$LINENO"; then :
   6005   eval $cacheid=yes
   6006 else
   6007   eval $cacheid=no
   6008 fi
   6009 rm -f core conftest.err conftest.$ac_objext \
   6010     conftest$ac_exeext conftest.$ac_ext
   6011 fi
   6012 
   6013 
   6014 		CFLAGS="$xorg_testset_save_CFLAGS"
   6015 
   6016 		eval supported=\$$cacheid
   6017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6018 $as_echo "$supported" >&6; }
   6019 		if test "$supported" = "yes" ; then
   6020 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6021 			found="yes"
   6022 		fi
   6023 	fi
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 # This chunk adds additional warnings that could catch undesired effects.
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 xorg_testset_save_CFLAGS="$CFLAGS"
   6044 
   6045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6050   $as_echo_n "(cached) " >&6
   6051 else
   6052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6053 /* end confdefs.h.  */
   6054 int i;
   6055 _ACEOF
   6056 if ac_fn_c_try_compile "$LINENO"; then :
   6057   xorg_cv_cc_flag_unknown_warning_option=yes
   6058 else
   6059   xorg_cv_cc_flag_unknown_warning_option=no
   6060 fi
   6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6062 fi
   6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6066 	CFLAGS="$xorg_testset_save_CFLAGS"
   6067 fi
   6068 
   6069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6072 	fi
   6073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6077   $as_echo_n "(cached) " >&6
   6078 else
   6079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6080 /* end confdefs.h.  */
   6081 int i;
   6082 _ACEOF
   6083 if ac_fn_c_try_compile "$LINENO"; then :
   6084   xorg_cv_cc_flag_unused_command_line_argument=yes
   6085 else
   6086   xorg_cv_cc_flag_unused_command_line_argument=no
   6087 fi
   6088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6089 fi
   6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6093 	CFLAGS="$xorg_testset_save_CFLAGS"
   6094 fi
   6095 
   6096 found="no"
   6097 
   6098 	if test $found = "no" ; then
   6099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6101 		fi
   6102 
   6103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6105 		fi
   6106 
   6107 		CFLAGS="$CFLAGS -Wunused"
   6108 
   6109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6110 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6111 		cacheid=xorg_cv_cc_flag__Wunused
   6112 		if eval \${$cacheid+:} false; then :
   6113   $as_echo_n "(cached) " >&6
   6114 else
   6115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6116 /* end confdefs.h.  */
   6117 int i;
   6118 int
   6119 main ()
   6120 {
   6121 
   6122   ;
   6123   return 0;
   6124 }
   6125 _ACEOF
   6126 if ac_fn_c_try_link "$LINENO"; then :
   6127   eval $cacheid=yes
   6128 else
   6129   eval $cacheid=no
   6130 fi
   6131 rm -f core conftest.err conftest.$ac_objext \
   6132     conftest$ac_exeext conftest.$ac_ext
   6133 fi
   6134 
   6135 
   6136 		CFLAGS="$xorg_testset_save_CFLAGS"
   6137 
   6138 		eval supported=\$$cacheid
   6139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6140 $as_echo "$supported" >&6; }
   6141 		if test "$supported" = "yes" ; then
   6142 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6143 			found="yes"
   6144 		fi
   6145 	fi
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 xorg_testset_save_CFLAGS="$CFLAGS"
   6162 
   6163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 int i;
   6173 _ACEOF
   6174 if ac_fn_c_try_compile "$LINENO"; then :
   6175   xorg_cv_cc_flag_unknown_warning_option=yes
   6176 else
   6177   xorg_cv_cc_flag_unknown_warning_option=no
   6178 fi
   6179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6180 fi
   6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6184 	CFLAGS="$xorg_testset_save_CFLAGS"
   6185 fi
   6186 
   6187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6190 	fi
   6191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6198 /* end confdefs.h.  */
   6199 int i;
   6200 _ACEOF
   6201 if ac_fn_c_try_compile "$LINENO"; then :
   6202   xorg_cv_cc_flag_unused_command_line_argument=yes
   6203 else
   6204   xorg_cv_cc_flag_unused_command_line_argument=no
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6207 fi
   6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6211 	CFLAGS="$xorg_testset_save_CFLAGS"
   6212 fi
   6213 
   6214 found="no"
   6215 
   6216 	if test $found = "no" ; then
   6217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6219 		fi
   6220 
   6221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6223 		fi
   6224 
   6225 		CFLAGS="$CFLAGS -Wuninitialized"
   6226 
   6227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6228 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6229 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6230 		if eval \${$cacheid+:} false; then :
   6231   $as_echo_n "(cached) " >&6
   6232 else
   6233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6234 /* end confdefs.h.  */
   6235 int i;
   6236 int
   6237 main ()
   6238 {
   6239 
   6240   ;
   6241   return 0;
   6242 }
   6243 _ACEOF
   6244 if ac_fn_c_try_link "$LINENO"; then :
   6245   eval $cacheid=yes
   6246 else
   6247   eval $cacheid=no
   6248 fi
   6249 rm -f core conftest.err conftest.$ac_objext \
   6250     conftest$ac_exeext conftest.$ac_ext
   6251 fi
   6252 
   6253 
   6254 		CFLAGS="$xorg_testset_save_CFLAGS"
   6255 
   6256 		eval supported=\$$cacheid
   6257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6258 $as_echo "$supported" >&6; }
   6259 		if test "$supported" = "yes" ; then
   6260 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6261 			found="yes"
   6262 		fi
   6263 	fi
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 xorg_testset_save_CFLAGS="$CFLAGS"
   6280 
   6281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6286   $as_echo_n "(cached) " >&6
   6287 else
   6288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6289 /* end confdefs.h.  */
   6290 int i;
   6291 _ACEOF
   6292 if ac_fn_c_try_compile "$LINENO"; then :
   6293   xorg_cv_cc_flag_unknown_warning_option=yes
   6294 else
   6295   xorg_cv_cc_flag_unknown_warning_option=no
   6296 fi
   6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6298 fi
   6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6302 	CFLAGS="$xorg_testset_save_CFLAGS"
   6303 fi
   6304 
   6305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6308 	fi
   6309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6316 /* end confdefs.h.  */
   6317 int i;
   6318 _ACEOF
   6319 if ac_fn_c_try_compile "$LINENO"; then :
   6320   xorg_cv_cc_flag_unused_command_line_argument=yes
   6321 else
   6322   xorg_cv_cc_flag_unused_command_line_argument=no
   6323 fi
   6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6325 fi
   6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6329 	CFLAGS="$xorg_testset_save_CFLAGS"
   6330 fi
   6331 
   6332 found="no"
   6333 
   6334 	if test $found = "no" ; then
   6335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6337 		fi
   6338 
   6339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6341 		fi
   6342 
   6343 		CFLAGS="$CFLAGS -Wshadow"
   6344 
   6345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6346 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6347 		cacheid=xorg_cv_cc_flag__Wshadow
   6348 		if eval \${$cacheid+:} false; then :
   6349   $as_echo_n "(cached) " >&6
   6350 else
   6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 int
   6355 main ()
   6356 {
   6357 
   6358   ;
   6359   return 0;
   6360 }
   6361 _ACEOF
   6362 if ac_fn_c_try_link "$LINENO"; then :
   6363   eval $cacheid=yes
   6364 else
   6365   eval $cacheid=no
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext \
   6368     conftest$ac_exeext conftest.$ac_ext
   6369 fi
   6370 
   6371 
   6372 		CFLAGS="$xorg_testset_save_CFLAGS"
   6373 
   6374 		eval supported=\$$cacheid
   6375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6376 $as_echo "$supported" >&6; }
   6377 		if test "$supported" = "yes" ; then
   6378 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6379 			found="yes"
   6380 		fi
   6381 	fi
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 xorg_testset_save_CFLAGS="$CFLAGS"
   6398 
   6399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6404   $as_echo_n "(cached) " >&6
   6405 else
   6406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6407 /* end confdefs.h.  */
   6408 int i;
   6409 _ACEOF
   6410 if ac_fn_c_try_compile "$LINENO"; then :
   6411   xorg_cv_cc_flag_unknown_warning_option=yes
   6412 else
   6413   xorg_cv_cc_flag_unknown_warning_option=no
   6414 fi
   6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6416 fi
   6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6420 	CFLAGS="$xorg_testset_save_CFLAGS"
   6421 fi
   6422 
   6423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6426 	fi
   6427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6434 /* end confdefs.h.  */
   6435 int i;
   6436 _ACEOF
   6437 if ac_fn_c_try_compile "$LINENO"; then :
   6438   xorg_cv_cc_flag_unused_command_line_argument=yes
   6439 else
   6440   xorg_cv_cc_flag_unused_command_line_argument=no
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6443 fi
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6447 	CFLAGS="$xorg_testset_save_CFLAGS"
   6448 fi
   6449 
   6450 found="no"
   6451 
   6452 	if test $found = "no" ; then
   6453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 		fi
   6456 
   6457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6459 		fi
   6460 
   6461 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6462 
   6463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6464 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6465 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6466 		if eval \${$cacheid+:} false; then :
   6467   $as_echo_n "(cached) " >&6
   6468 else
   6469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 int
   6473 main ()
   6474 {
   6475 
   6476   ;
   6477   return 0;
   6478 }
   6479 _ACEOF
   6480 if ac_fn_c_try_link "$LINENO"; then :
   6481   eval $cacheid=yes
   6482 else
   6483   eval $cacheid=no
   6484 fi
   6485 rm -f core conftest.err conftest.$ac_objext \
   6486     conftest$ac_exeext conftest.$ac_ext
   6487 fi
   6488 
   6489 
   6490 		CFLAGS="$xorg_testset_save_CFLAGS"
   6491 
   6492 		eval supported=\$$cacheid
   6493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6494 $as_echo "$supported" >&6; }
   6495 		if test "$supported" = "yes" ; then
   6496 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6497 			found="yes"
   6498 		fi
   6499 	fi
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 xorg_testset_save_CFLAGS="$CFLAGS"
   6516 
   6517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6522   $as_echo_n "(cached) " >&6
   6523 else
   6524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6525 /* end confdefs.h.  */
   6526 int i;
   6527 _ACEOF
   6528 if ac_fn_c_try_compile "$LINENO"; then :
   6529   xorg_cv_cc_flag_unknown_warning_option=yes
   6530 else
   6531   xorg_cv_cc_flag_unknown_warning_option=no
   6532 fi
   6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6534 fi
   6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6538 	CFLAGS="$xorg_testset_save_CFLAGS"
   6539 fi
   6540 
   6541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6544 	fi
   6545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6552 /* end confdefs.h.  */
   6553 int i;
   6554 _ACEOF
   6555 if ac_fn_c_try_compile "$LINENO"; then :
   6556   xorg_cv_cc_flag_unused_command_line_argument=yes
   6557 else
   6558   xorg_cv_cc_flag_unused_command_line_argument=no
   6559 fi
   6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6561 fi
   6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6565 	CFLAGS="$xorg_testset_save_CFLAGS"
   6566 fi
   6567 
   6568 found="no"
   6569 
   6570 	if test $found = "no" ; then
   6571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6573 		fi
   6574 
   6575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6577 		fi
   6578 
   6579 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6580 
   6581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6582 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6583 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6584 		if eval \${$cacheid+:} false; then :
   6585   $as_echo_n "(cached) " >&6
   6586 else
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 int i;
   6590 int
   6591 main ()
   6592 {
   6593 
   6594   ;
   6595   return 0;
   6596 }
   6597 _ACEOF
   6598 if ac_fn_c_try_link "$LINENO"; then :
   6599   eval $cacheid=yes
   6600 else
   6601   eval $cacheid=no
   6602 fi
   6603 rm -f core conftest.err conftest.$ac_objext \
   6604     conftest$ac_exeext conftest.$ac_ext
   6605 fi
   6606 
   6607 
   6608 		CFLAGS="$xorg_testset_save_CFLAGS"
   6609 
   6610 		eval supported=\$$cacheid
   6611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6612 $as_echo "$supported" >&6; }
   6613 		if test "$supported" = "yes" ; then
   6614 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6615 			found="yes"
   6616 		fi
   6617 	fi
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 xorg_testset_save_CFLAGS="$CFLAGS"
   6634 
   6635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6640   $as_echo_n "(cached) " >&6
   6641 else
   6642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 _ACEOF
   6646 if ac_fn_c_try_compile "$LINENO"; then :
   6647   xorg_cv_cc_flag_unknown_warning_option=yes
   6648 else
   6649   xorg_cv_cc_flag_unknown_warning_option=no
   6650 fi
   6651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6652 fi
   6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6656 	CFLAGS="$xorg_testset_save_CFLAGS"
   6657 fi
   6658 
   6659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6662 	fi
   6663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6670 /* end confdefs.h.  */
   6671 int i;
   6672 _ACEOF
   6673 if ac_fn_c_try_compile "$LINENO"; then :
   6674   xorg_cv_cc_flag_unused_command_line_argument=yes
   6675 else
   6676   xorg_cv_cc_flag_unused_command_line_argument=no
   6677 fi
   6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6679 fi
   6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6683 	CFLAGS="$xorg_testset_save_CFLAGS"
   6684 fi
   6685 
   6686 found="no"
   6687 
   6688 	if test $found = "no" ; then
   6689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 		fi
   6692 
   6693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6695 		fi
   6696 
   6697 		CFLAGS="$CFLAGS -Wredundant-decls"
   6698 
   6699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6700 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6701 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6702 		if eval \${$cacheid+:} false; then :
   6703   $as_echo_n "(cached) " >&6
   6704 else
   6705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 int i;
   6708 int
   6709 main ()
   6710 {
   6711 
   6712   ;
   6713   return 0;
   6714 }
   6715 _ACEOF
   6716 if ac_fn_c_try_link "$LINENO"; then :
   6717   eval $cacheid=yes
   6718 else
   6719   eval $cacheid=no
   6720 fi
   6721 rm -f core conftest.err conftest.$ac_objext \
   6722     conftest$ac_exeext conftest.$ac_ext
   6723 fi
   6724 
   6725 
   6726 		CFLAGS="$xorg_testset_save_CFLAGS"
   6727 
   6728 		eval supported=\$$cacheid
   6729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6730 $as_echo "$supported" >&6; }
   6731 		if test "$supported" = "yes" ; then
   6732 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6733 			found="yes"
   6734 		fi
   6735 	fi
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 xorg_testset_save_CFLAGS="$CFLAGS"
   6752 
   6753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6758   $as_echo_n "(cached) " >&6
   6759 else
   6760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6761 /* end confdefs.h.  */
   6762 int i;
   6763 _ACEOF
   6764 if ac_fn_c_try_compile "$LINENO"; then :
   6765   xorg_cv_cc_flag_unknown_warning_option=yes
   6766 else
   6767   xorg_cv_cc_flag_unknown_warning_option=no
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6770 fi
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6774 	CFLAGS="$xorg_testset_save_CFLAGS"
   6775 fi
   6776 
   6777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6780 	fi
   6781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6788 /* end confdefs.h.  */
   6789 int i;
   6790 _ACEOF
   6791 if ac_fn_c_try_compile "$LINENO"; then :
   6792   xorg_cv_cc_flag_unused_command_line_argument=yes
   6793 else
   6794   xorg_cv_cc_flag_unused_command_line_argument=no
   6795 fi
   6796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6797 fi
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6801 	CFLAGS="$xorg_testset_save_CFLAGS"
   6802 fi
   6803 
   6804 found="no"
   6805 
   6806 	if test $found = "no" ; then
   6807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 		fi
   6810 
   6811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6813 		fi
   6814 
   6815 		CFLAGS="$CFLAGS -Wlogical-op"
   6816 
   6817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6818 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6819 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6820 		if eval \${$cacheid+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 int
   6827 main ()
   6828 {
   6829 
   6830   ;
   6831   return 0;
   6832 }
   6833 _ACEOF
   6834 if ac_fn_c_try_link "$LINENO"; then :
   6835   eval $cacheid=yes
   6836 else
   6837   eval $cacheid=no
   6838 fi
   6839 rm -f core conftest.err conftest.$ac_objext \
   6840     conftest$ac_exeext conftest.$ac_ext
   6841 fi
   6842 
   6843 
   6844 		CFLAGS="$xorg_testset_save_CFLAGS"
   6845 
   6846 		eval supported=\$$cacheid
   6847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6848 $as_echo "$supported" >&6; }
   6849 		if test "$supported" = "yes" ; then
   6850 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6851 			found="yes"
   6852 		fi
   6853 	fi
   6854 
   6855 
   6856 
   6857 # These are currently disabled because they are noisy.  They will be enabled
   6858 # in the future once the codebase is sufficiently modernized to silence
   6859 # them.  For now, I don't want them to drown out the other warnings.
   6860 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6861 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6862 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6863 
   6864 # Turn some warnings into errors, so we don't accidently get successful builds
   6865 # when there are problems that should be fixed.
   6866 
   6867 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 xorg_testset_save_CFLAGS="$CFLAGS"
   6882 
   6883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6888   $as_echo_n "(cached) " >&6
   6889 else
   6890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6891 /* end confdefs.h.  */
   6892 int i;
   6893 _ACEOF
   6894 if ac_fn_c_try_compile "$LINENO"; then :
   6895   xorg_cv_cc_flag_unknown_warning_option=yes
   6896 else
   6897   xorg_cv_cc_flag_unknown_warning_option=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6900 fi
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6904 	CFLAGS="$xorg_testset_save_CFLAGS"
   6905 fi
   6906 
   6907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6910 	fi
   6911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 _ACEOF
   6921 if ac_fn_c_try_compile "$LINENO"; then :
   6922   xorg_cv_cc_flag_unused_command_line_argument=yes
   6923 else
   6924   xorg_cv_cc_flag_unused_command_line_argument=no
   6925 fi
   6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6927 fi
   6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6931 	CFLAGS="$xorg_testset_save_CFLAGS"
   6932 fi
   6933 
   6934 found="no"
   6935 
   6936 	if test $found = "no" ; then
   6937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 		fi
   6940 
   6941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6943 		fi
   6944 
   6945 		CFLAGS="$CFLAGS -Werror=implicit"
   6946 
   6947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6948 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6949 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6950 		if eval \${$cacheid+:} false; then :
   6951   $as_echo_n "(cached) " >&6
   6952 else
   6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 int i;
   6956 int
   6957 main ()
   6958 {
   6959 
   6960   ;
   6961   return 0;
   6962 }
   6963 _ACEOF
   6964 if ac_fn_c_try_link "$LINENO"; then :
   6965   eval $cacheid=yes
   6966 else
   6967   eval $cacheid=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_objext \
   6970     conftest$ac_exeext conftest.$ac_ext
   6971 fi
   6972 
   6973 
   6974 		CFLAGS="$xorg_testset_save_CFLAGS"
   6975 
   6976 		eval supported=\$$cacheid
   6977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6978 $as_echo "$supported" >&6; }
   6979 		if test "$supported" = "yes" ; then
   6980 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6981 			found="yes"
   6982 		fi
   6983 	fi
   6984 
   6985 	if test $found = "no" ; then
   6986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 		fi
   6989 
   6990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6992 		fi
   6993 
   6994 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6995 
   6996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6997 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6998 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6999 		if eval \${$cacheid+:} false; then :
   7000   $as_echo_n "(cached) " >&6
   7001 else
   7002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7003 /* end confdefs.h.  */
   7004 int i;
   7005 int
   7006 main ()
   7007 {
   7008 
   7009   ;
   7010   return 0;
   7011 }
   7012 _ACEOF
   7013 if ac_fn_c_try_link "$LINENO"; then :
   7014   eval $cacheid=yes
   7015 else
   7016   eval $cacheid=no
   7017 fi
   7018 rm -f core conftest.err conftest.$ac_objext \
   7019     conftest$ac_exeext conftest.$ac_ext
   7020 fi
   7021 
   7022 
   7023 		CFLAGS="$xorg_testset_save_CFLAGS"
   7024 
   7025 		eval supported=\$$cacheid
   7026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7027 $as_echo "$supported" >&6; }
   7028 		if test "$supported" = "yes" ; then
   7029 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7030 			found="yes"
   7031 		fi
   7032 	fi
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 xorg_testset_save_CFLAGS="$CFLAGS"
   7049 
   7050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7055   $as_echo_n "(cached) " >&6
   7056 else
   7057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7058 /* end confdefs.h.  */
   7059 int i;
   7060 _ACEOF
   7061 if ac_fn_c_try_compile "$LINENO"; then :
   7062   xorg_cv_cc_flag_unknown_warning_option=yes
   7063 else
   7064   xorg_cv_cc_flag_unknown_warning_option=no
   7065 fi
   7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7067 fi
   7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7071 	CFLAGS="$xorg_testset_save_CFLAGS"
   7072 fi
   7073 
   7074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7077 	fi
   7078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 _ACEOF
   7088 if ac_fn_c_try_compile "$LINENO"; then :
   7089   xorg_cv_cc_flag_unused_command_line_argument=yes
   7090 else
   7091   xorg_cv_cc_flag_unused_command_line_argument=no
   7092 fi
   7093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7094 fi
   7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7098 	CFLAGS="$xorg_testset_save_CFLAGS"
   7099 fi
   7100 
   7101 found="no"
   7102 
   7103 	if test $found = "no" ; then
   7104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 		fi
   7107 
   7108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7110 		fi
   7111 
   7112 		CFLAGS="$CFLAGS -Werror=nonnull"
   7113 
   7114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7115 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7116 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7117 		if eval \${$cacheid+:} false; then :
   7118   $as_echo_n "(cached) " >&6
   7119 else
   7120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7121 /* end confdefs.h.  */
   7122 int i;
   7123 int
   7124 main ()
   7125 {
   7126 
   7127   ;
   7128   return 0;
   7129 }
   7130 _ACEOF
   7131 if ac_fn_c_try_link "$LINENO"; then :
   7132   eval $cacheid=yes
   7133 else
   7134   eval $cacheid=no
   7135 fi
   7136 rm -f core conftest.err conftest.$ac_objext \
   7137     conftest$ac_exeext conftest.$ac_ext
   7138 fi
   7139 
   7140 
   7141 		CFLAGS="$xorg_testset_save_CFLAGS"
   7142 
   7143 		eval supported=\$$cacheid
   7144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7145 $as_echo "$supported" >&6; }
   7146 		if test "$supported" = "yes" ; then
   7147 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7148 			found="yes"
   7149 		fi
   7150 	fi
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 xorg_testset_save_CFLAGS="$CFLAGS"
   7167 
   7168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7173   $as_echo_n "(cached) " >&6
   7174 else
   7175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7176 /* end confdefs.h.  */
   7177 int i;
   7178 _ACEOF
   7179 if ac_fn_c_try_compile "$LINENO"; then :
   7180   xorg_cv_cc_flag_unknown_warning_option=yes
   7181 else
   7182   xorg_cv_cc_flag_unknown_warning_option=no
   7183 fi
   7184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7185 fi
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7189 	CFLAGS="$xorg_testset_save_CFLAGS"
   7190 fi
   7191 
   7192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7195 	fi
   7196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 _ACEOF
   7206 if ac_fn_c_try_compile "$LINENO"; then :
   7207   xorg_cv_cc_flag_unused_command_line_argument=yes
   7208 else
   7209   xorg_cv_cc_flag_unused_command_line_argument=no
   7210 fi
   7211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7212 fi
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7216 	CFLAGS="$xorg_testset_save_CFLAGS"
   7217 fi
   7218 
   7219 found="no"
   7220 
   7221 	if test $found = "no" ; then
   7222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7224 		fi
   7225 
   7226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7228 		fi
   7229 
   7230 		CFLAGS="$CFLAGS -Werror=init-self"
   7231 
   7232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7233 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7234 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7235 		if eval \${$cacheid+:} false; then :
   7236   $as_echo_n "(cached) " >&6
   7237 else
   7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7239 /* end confdefs.h.  */
   7240 int i;
   7241 int
   7242 main ()
   7243 {
   7244 
   7245   ;
   7246   return 0;
   7247 }
   7248 _ACEOF
   7249 if ac_fn_c_try_link "$LINENO"; then :
   7250   eval $cacheid=yes
   7251 else
   7252   eval $cacheid=no
   7253 fi
   7254 rm -f core conftest.err conftest.$ac_objext \
   7255     conftest$ac_exeext conftest.$ac_ext
   7256 fi
   7257 
   7258 
   7259 		CFLAGS="$xorg_testset_save_CFLAGS"
   7260 
   7261 		eval supported=\$$cacheid
   7262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7263 $as_echo "$supported" >&6; }
   7264 		if test "$supported" = "yes" ; then
   7265 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7266 			found="yes"
   7267 		fi
   7268 	fi
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 xorg_testset_save_CFLAGS="$CFLAGS"
   7285 
   7286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7291   $as_echo_n "(cached) " >&6
   7292 else
   7293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 int i;
   7296 _ACEOF
   7297 if ac_fn_c_try_compile "$LINENO"; then :
   7298   xorg_cv_cc_flag_unknown_warning_option=yes
   7299 else
   7300   xorg_cv_cc_flag_unknown_warning_option=no
   7301 fi
   7302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7303 fi
   7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7307 	CFLAGS="$xorg_testset_save_CFLAGS"
   7308 fi
   7309 
   7310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7313 	fi
   7314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 _ACEOF
   7324 if ac_fn_c_try_compile "$LINENO"; then :
   7325   xorg_cv_cc_flag_unused_command_line_argument=yes
   7326 else
   7327   xorg_cv_cc_flag_unused_command_line_argument=no
   7328 fi
   7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7330 fi
   7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7334 	CFLAGS="$xorg_testset_save_CFLAGS"
   7335 fi
   7336 
   7337 found="no"
   7338 
   7339 	if test $found = "no" ; then
   7340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7342 		fi
   7343 
   7344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7346 		fi
   7347 
   7348 		CFLAGS="$CFLAGS -Werror=main"
   7349 
   7350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7351 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7352 		cacheid=xorg_cv_cc_flag__Werror_main
   7353 		if eval \${$cacheid+:} false; then :
   7354   $as_echo_n "(cached) " >&6
   7355 else
   7356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7357 /* end confdefs.h.  */
   7358 int i;
   7359 int
   7360 main ()
   7361 {
   7362 
   7363   ;
   7364   return 0;
   7365 }
   7366 _ACEOF
   7367 if ac_fn_c_try_link "$LINENO"; then :
   7368   eval $cacheid=yes
   7369 else
   7370   eval $cacheid=no
   7371 fi
   7372 rm -f core conftest.err conftest.$ac_objext \
   7373     conftest$ac_exeext conftest.$ac_ext
   7374 fi
   7375 
   7376 
   7377 		CFLAGS="$xorg_testset_save_CFLAGS"
   7378 
   7379 		eval supported=\$$cacheid
   7380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7381 $as_echo "$supported" >&6; }
   7382 		if test "$supported" = "yes" ; then
   7383 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7384 			found="yes"
   7385 		fi
   7386 	fi
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 xorg_testset_save_CFLAGS="$CFLAGS"
   7403 
   7404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7409   $as_echo_n "(cached) " >&6
   7410 else
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 int i;
   7414 _ACEOF
   7415 if ac_fn_c_try_compile "$LINENO"; then :
   7416   xorg_cv_cc_flag_unknown_warning_option=yes
   7417 else
   7418   xorg_cv_cc_flag_unknown_warning_option=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7421 fi
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7425 	CFLAGS="$xorg_testset_save_CFLAGS"
   7426 fi
   7427 
   7428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 	fi
   7432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7436   $as_echo_n "(cached) " >&6
   7437 else
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"; then :
   7443   xorg_cv_cc_flag_unused_command_line_argument=yes
   7444 else
   7445   xorg_cv_cc_flag_unused_command_line_argument=no
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7448 fi
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7452 	CFLAGS="$xorg_testset_save_CFLAGS"
   7453 fi
   7454 
   7455 found="no"
   7456 
   7457 	if test $found = "no" ; then
   7458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 		fi
   7461 
   7462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7464 		fi
   7465 
   7466 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7467 
   7468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7469 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7470 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7471 		if eval \${$cacheid+:} false; then :
   7472   $as_echo_n "(cached) " >&6
   7473 else
   7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main ()
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"; then :
   7486   eval $cacheid=yes
   7487 else
   7488   eval $cacheid=no
   7489 fi
   7490 rm -f core conftest.err conftest.$ac_objext \
   7491     conftest$ac_exeext conftest.$ac_ext
   7492 fi
   7493 
   7494 
   7495 		CFLAGS="$xorg_testset_save_CFLAGS"
   7496 
   7497 		eval supported=\$$cacheid
   7498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7499 $as_echo "$supported" >&6; }
   7500 		if test "$supported" = "yes" ; then
   7501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7502 			found="yes"
   7503 		fi
   7504 	fi
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 xorg_testset_save_CFLAGS="$CFLAGS"
   7521 
   7522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7527   $as_echo_n "(cached) " >&6
   7528 else
   7529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7530 /* end confdefs.h.  */
   7531 int i;
   7532 _ACEOF
   7533 if ac_fn_c_try_compile "$LINENO"; then :
   7534   xorg_cv_cc_flag_unknown_warning_option=yes
   7535 else
   7536   xorg_cv_cc_flag_unknown_warning_option=no
   7537 fi
   7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7539 fi
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7543 	CFLAGS="$xorg_testset_save_CFLAGS"
   7544 fi
   7545 
   7546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7549 	fi
   7550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 _ACEOF
   7560 if ac_fn_c_try_compile "$LINENO"; then :
   7561   xorg_cv_cc_flag_unused_command_line_argument=yes
   7562 else
   7563   xorg_cv_cc_flag_unused_command_line_argument=no
   7564 fi
   7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7566 fi
   7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7570 	CFLAGS="$xorg_testset_save_CFLAGS"
   7571 fi
   7572 
   7573 found="no"
   7574 
   7575 	if test $found = "no" ; then
   7576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7578 		fi
   7579 
   7580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7582 		fi
   7583 
   7584 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7585 
   7586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7587 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7588 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7589 		if eval \${$cacheid+:} false; then :
   7590   $as_echo_n "(cached) " >&6
   7591 else
   7592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 int i;
   7595 int
   7596 main ()
   7597 {
   7598 
   7599   ;
   7600   return 0;
   7601 }
   7602 _ACEOF
   7603 if ac_fn_c_try_link "$LINENO"; then :
   7604   eval $cacheid=yes
   7605 else
   7606   eval $cacheid=no
   7607 fi
   7608 rm -f core conftest.err conftest.$ac_objext \
   7609     conftest$ac_exeext conftest.$ac_ext
   7610 fi
   7611 
   7612 
   7613 		CFLAGS="$xorg_testset_save_CFLAGS"
   7614 
   7615 		eval supported=\$$cacheid
   7616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7617 $as_echo "$supported" >&6; }
   7618 		if test "$supported" = "yes" ; then
   7619 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7620 			found="yes"
   7621 		fi
   7622 	fi
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 xorg_testset_save_CFLAGS="$CFLAGS"
   7639 
   7640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7643 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7644 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7645   $as_echo_n "(cached) " >&6
   7646 else
   7647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7648 /* end confdefs.h.  */
   7649 int i;
   7650 _ACEOF
   7651 if ac_fn_c_try_compile "$LINENO"; then :
   7652   xorg_cv_cc_flag_unknown_warning_option=yes
   7653 else
   7654   xorg_cv_cc_flag_unknown_warning_option=no
   7655 fi
   7656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7657 fi
   7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7659 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7661 	CFLAGS="$xorg_testset_save_CFLAGS"
   7662 fi
   7663 
   7664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7667 	fi
   7668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7670 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7671 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 _ACEOF
   7678 if ac_fn_c_try_compile "$LINENO"; then :
   7679   xorg_cv_cc_flag_unused_command_line_argument=yes
   7680 else
   7681   xorg_cv_cc_flag_unused_command_line_argument=no
   7682 fi
   7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7684 fi
   7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7686 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7688 	CFLAGS="$xorg_testset_save_CFLAGS"
   7689 fi
   7690 
   7691 found="no"
   7692 
   7693 	if test $found = "no" ; then
   7694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7696 		fi
   7697 
   7698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7700 		fi
   7701 
   7702 		CFLAGS="$CFLAGS -Werror=return-type"
   7703 
   7704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7705 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7706 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7707 		if eval \${$cacheid+:} false; then :
   7708   $as_echo_n "(cached) " >&6
   7709 else
   7710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711 /* end confdefs.h.  */
   7712 int i;
   7713 int
   7714 main ()
   7715 {
   7716 
   7717   ;
   7718   return 0;
   7719 }
   7720 _ACEOF
   7721 if ac_fn_c_try_link "$LINENO"; then :
   7722   eval $cacheid=yes
   7723 else
   7724   eval $cacheid=no
   7725 fi
   7726 rm -f core conftest.err conftest.$ac_objext \
   7727     conftest$ac_exeext conftest.$ac_ext
   7728 fi
   7729 
   7730 
   7731 		CFLAGS="$xorg_testset_save_CFLAGS"
   7732 
   7733 		eval supported=\$$cacheid
   7734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7735 $as_echo "$supported" >&6; }
   7736 		if test "$supported" = "yes" ; then
   7737 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7738 			found="yes"
   7739 		fi
   7740 	fi
   7741 
   7742 	if test $found = "no" ; then
   7743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 		fi
   7746 
   7747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7749 		fi
   7750 
   7751 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7752 
   7753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7754 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7755 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7756 		if eval \${$cacheid+:} false; then :
   7757   $as_echo_n "(cached) " >&6
   7758 else
   7759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7760 /* end confdefs.h.  */
   7761 int i;
   7762 int
   7763 main ()
   7764 {
   7765 
   7766   ;
   7767   return 0;
   7768 }
   7769 _ACEOF
   7770 if ac_fn_c_try_link "$LINENO"; then :
   7771   eval $cacheid=yes
   7772 else
   7773   eval $cacheid=no
   7774 fi
   7775 rm -f core conftest.err conftest.$ac_objext \
   7776     conftest$ac_exeext conftest.$ac_ext
   7777 fi
   7778 
   7779 
   7780 		CFLAGS="$xorg_testset_save_CFLAGS"
   7781 
   7782 		eval supported=\$$cacheid
   7783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7784 $as_echo "$supported" >&6; }
   7785 		if test "$supported" = "yes" ; then
   7786 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7787 			found="yes"
   7788 		fi
   7789 	fi
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 xorg_testset_save_CFLAGS="$CFLAGS"
   7806 
   7807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7812   $as_echo_n "(cached) " >&6
   7813 else
   7814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7815 /* end confdefs.h.  */
   7816 int i;
   7817 _ACEOF
   7818 if ac_fn_c_try_compile "$LINENO"; then :
   7819   xorg_cv_cc_flag_unknown_warning_option=yes
   7820 else
   7821   xorg_cv_cc_flag_unknown_warning_option=no
   7822 fi
   7823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7824 fi
   7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7828 	CFLAGS="$xorg_testset_save_CFLAGS"
   7829 fi
   7830 
   7831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7834 	fi
   7835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 _ACEOF
   7845 if ac_fn_c_try_compile "$LINENO"; then :
   7846   xorg_cv_cc_flag_unused_command_line_argument=yes
   7847 else
   7848   xorg_cv_cc_flag_unused_command_line_argument=no
   7849 fi
   7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7851 fi
   7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 found="no"
   7859 
   7860 	if test $found = "no" ; then
   7861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 		fi
   7864 
   7865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7867 		fi
   7868 
   7869 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7870 
   7871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7872 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7873 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7874 		if eval \${$cacheid+:} false; then :
   7875   $as_echo_n "(cached) " >&6
   7876 else
   7877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7878 /* end confdefs.h.  */
   7879 int i;
   7880 int
   7881 main ()
   7882 {
   7883 
   7884   ;
   7885   return 0;
   7886 }
   7887 _ACEOF
   7888 if ac_fn_c_try_link "$LINENO"; then :
   7889   eval $cacheid=yes
   7890 else
   7891   eval $cacheid=no
   7892 fi
   7893 rm -f core conftest.err conftest.$ac_objext \
   7894     conftest$ac_exeext conftest.$ac_ext
   7895 fi
   7896 
   7897 
   7898 		CFLAGS="$xorg_testset_save_CFLAGS"
   7899 
   7900 		eval supported=\$$cacheid
   7901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7902 $as_echo "$supported" >&6; }
   7903 		if test "$supported" = "yes" ; then
   7904 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7905 			found="yes"
   7906 		fi
   7907 	fi
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 xorg_testset_save_CFLAGS="$CFLAGS"
   7924 
   7925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7930   $as_echo_n "(cached) " >&6
   7931 else
   7932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7933 /* end confdefs.h.  */
   7934 int i;
   7935 _ACEOF
   7936 if ac_fn_c_try_compile "$LINENO"; then :
   7937   xorg_cv_cc_flag_unknown_warning_option=yes
   7938 else
   7939   xorg_cv_cc_flag_unknown_warning_option=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7942 fi
   7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7946 	CFLAGS="$xorg_testset_save_CFLAGS"
   7947 fi
   7948 
   7949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7952 	fi
   7953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7957   $as_echo_n "(cached) " >&6
   7958 else
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 int i;
   7962 _ACEOF
   7963 if ac_fn_c_try_compile "$LINENO"; then :
   7964   xorg_cv_cc_flag_unused_command_line_argument=yes
   7965 else
   7966   xorg_cv_cc_flag_unused_command_line_argument=no
   7967 fi
   7968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7969 fi
   7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7973 	CFLAGS="$xorg_testset_save_CFLAGS"
   7974 fi
   7975 
   7976 found="no"
   7977 
   7978 	if test $found = "no" ; then
   7979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 		fi
   7982 
   7983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7985 		fi
   7986 
   7987 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7988 
   7989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7990 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7991 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7992 		if eval \${$cacheid+:} false; then :
   7993   $as_echo_n "(cached) " >&6
   7994 else
   7995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7996 /* end confdefs.h.  */
   7997 int i;
   7998 int
   7999 main ()
   8000 {
   8001 
   8002   ;
   8003   return 0;
   8004 }
   8005 _ACEOF
   8006 if ac_fn_c_try_link "$LINENO"; then :
   8007   eval $cacheid=yes
   8008 else
   8009   eval $cacheid=no
   8010 fi
   8011 rm -f core conftest.err conftest.$ac_objext \
   8012     conftest$ac_exeext conftest.$ac_ext
   8013 fi
   8014 
   8015 
   8016 		CFLAGS="$xorg_testset_save_CFLAGS"
   8017 
   8018 		eval supported=\$$cacheid
   8019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8020 $as_echo "$supported" >&6; }
   8021 		if test "$supported" = "yes" ; then
   8022 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8023 			found="yes"
   8024 		fi
   8025 	fi
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 xorg_testset_save_CFLAGS="$CFLAGS"
   8042 
   8043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8048   $as_echo_n "(cached) " >&6
   8049 else
   8050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8051 /* end confdefs.h.  */
   8052 int i;
   8053 _ACEOF
   8054 if ac_fn_c_try_compile "$LINENO"; then :
   8055   xorg_cv_cc_flag_unknown_warning_option=yes
   8056 else
   8057   xorg_cv_cc_flag_unknown_warning_option=no
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8060 fi
   8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8064 	CFLAGS="$xorg_testset_save_CFLAGS"
   8065 fi
   8066 
   8067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8070 	fi
   8071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 _ACEOF
   8081 if ac_fn_c_try_compile "$LINENO"; then :
   8082   xorg_cv_cc_flag_unused_command_line_argument=yes
   8083 else
   8084   xorg_cv_cc_flag_unused_command_line_argument=no
   8085 fi
   8086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8087 fi
   8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8091 	CFLAGS="$xorg_testset_save_CFLAGS"
   8092 fi
   8093 
   8094 found="no"
   8095 
   8096 	if test $found = "no" ; then
   8097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8099 		fi
   8100 
   8101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8103 		fi
   8104 
   8105 		CFLAGS="$CFLAGS -Werror=write-strings"
   8106 
   8107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8108 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8109 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8110 		if eval \${$cacheid+:} false; then :
   8111   $as_echo_n "(cached) " >&6
   8112 else
   8113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8114 /* end confdefs.h.  */
   8115 int i;
   8116 int
   8117 main ()
   8118 {
   8119 
   8120   ;
   8121   return 0;
   8122 }
   8123 _ACEOF
   8124 if ac_fn_c_try_link "$LINENO"; then :
   8125   eval $cacheid=yes
   8126 else
   8127   eval $cacheid=no
   8128 fi
   8129 rm -f core conftest.err conftest.$ac_objext \
   8130     conftest$ac_exeext conftest.$ac_ext
   8131 fi
   8132 
   8133 
   8134 		CFLAGS="$xorg_testset_save_CFLAGS"
   8135 
   8136 		eval supported=\$$cacheid
   8137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8138 $as_echo "$supported" >&6; }
   8139 		if test "$supported" = "yes" ; then
   8140 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8141 			found="yes"
   8142 		fi
   8143 	fi
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 xorg_testset_save_CFLAGS="$CFLAGS"
   8160 
   8161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8166   $as_echo_n "(cached) " >&6
   8167 else
   8168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8169 /* end confdefs.h.  */
   8170 int i;
   8171 _ACEOF
   8172 if ac_fn_c_try_compile "$LINENO"; then :
   8173   xorg_cv_cc_flag_unknown_warning_option=yes
   8174 else
   8175   xorg_cv_cc_flag_unknown_warning_option=no
   8176 fi
   8177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8178 fi
   8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8182 	CFLAGS="$xorg_testset_save_CFLAGS"
   8183 fi
   8184 
   8185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8188 	fi
   8189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8193   $as_echo_n "(cached) " >&6
   8194 else
   8195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8196 /* end confdefs.h.  */
   8197 int i;
   8198 _ACEOF
   8199 if ac_fn_c_try_compile "$LINENO"; then :
   8200   xorg_cv_cc_flag_unused_command_line_argument=yes
   8201 else
   8202   xorg_cv_cc_flag_unused_command_line_argument=no
   8203 fi
   8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8205 fi
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8209 	CFLAGS="$xorg_testset_save_CFLAGS"
   8210 fi
   8211 
   8212 found="no"
   8213 
   8214 	if test $found = "no" ; then
   8215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8217 		fi
   8218 
   8219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8221 		fi
   8222 
   8223 		CFLAGS="$CFLAGS -Werror=address"
   8224 
   8225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8226 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8227 		cacheid=xorg_cv_cc_flag__Werror_address
   8228 		if eval \${$cacheid+:} false; then :
   8229   $as_echo_n "(cached) " >&6
   8230 else
   8231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8232 /* end confdefs.h.  */
   8233 int i;
   8234 int
   8235 main ()
   8236 {
   8237 
   8238   ;
   8239   return 0;
   8240 }
   8241 _ACEOF
   8242 if ac_fn_c_try_link "$LINENO"; then :
   8243   eval $cacheid=yes
   8244 else
   8245   eval $cacheid=no
   8246 fi
   8247 rm -f core conftest.err conftest.$ac_objext \
   8248     conftest$ac_exeext conftest.$ac_ext
   8249 fi
   8250 
   8251 
   8252 		CFLAGS="$xorg_testset_save_CFLAGS"
   8253 
   8254 		eval supported=\$$cacheid
   8255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8256 $as_echo "$supported" >&6; }
   8257 		if test "$supported" = "yes" ; then
   8258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8259 			found="yes"
   8260 		fi
   8261 	fi
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 xorg_testset_save_CFLAGS="$CFLAGS"
   8278 
   8279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8284   $as_echo_n "(cached) " >&6
   8285 else
   8286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8287 /* end confdefs.h.  */
   8288 int i;
   8289 _ACEOF
   8290 if ac_fn_c_try_compile "$LINENO"; then :
   8291   xorg_cv_cc_flag_unknown_warning_option=yes
   8292 else
   8293   xorg_cv_cc_flag_unknown_warning_option=no
   8294 fi
   8295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8296 fi
   8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8300 	CFLAGS="$xorg_testset_save_CFLAGS"
   8301 fi
   8302 
   8303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8306 	fi
   8307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8311   $as_echo_n "(cached) " >&6
   8312 else
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"; then :
   8318   xorg_cv_cc_flag_unused_command_line_argument=yes
   8319 else
   8320   xorg_cv_cc_flag_unused_command_line_argument=no
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8323 fi
   8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8327 	CFLAGS="$xorg_testset_save_CFLAGS"
   8328 fi
   8329 
   8330 found="no"
   8331 
   8332 	if test $found = "no" ; then
   8333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8335 		fi
   8336 
   8337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8339 		fi
   8340 
   8341 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8342 
   8343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8344 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8345 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8346 		if eval \${$cacheid+:} false; then :
   8347   $as_echo_n "(cached) " >&6
   8348 else
   8349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8350 /* end confdefs.h.  */
   8351 int i;
   8352 int
   8353 main ()
   8354 {
   8355 
   8356   ;
   8357   return 0;
   8358 }
   8359 _ACEOF
   8360 if ac_fn_c_try_link "$LINENO"; then :
   8361   eval $cacheid=yes
   8362 else
   8363   eval $cacheid=no
   8364 fi
   8365 rm -f core conftest.err conftest.$ac_objext \
   8366     conftest$ac_exeext conftest.$ac_ext
   8367 fi
   8368 
   8369 
   8370 		CFLAGS="$xorg_testset_save_CFLAGS"
   8371 
   8372 		eval supported=\$$cacheid
   8373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8374 $as_echo "$supported" >&6; }
   8375 		if test "$supported" = "yes" ; then
   8376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8377 			found="yes"
   8378 		fi
   8379 	fi
   8380 
   8381 	if test $found = "no" ; then
   8382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8384 		fi
   8385 
   8386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8388 		fi
   8389 
   8390 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8391 
   8392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8393 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8394 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8395 		if eval \${$cacheid+:} false; then :
   8396   $as_echo_n "(cached) " >&6
   8397 else
   8398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8399 /* end confdefs.h.  */
   8400 int i;
   8401 int
   8402 main ()
   8403 {
   8404 
   8405   ;
   8406   return 0;
   8407 }
   8408 _ACEOF
   8409 if ac_fn_c_try_link "$LINENO"; then :
   8410   eval $cacheid=yes
   8411 else
   8412   eval $cacheid=no
   8413 fi
   8414 rm -f core conftest.err conftest.$ac_objext \
   8415     conftest$ac_exeext conftest.$ac_ext
   8416 fi
   8417 
   8418 
   8419 		CFLAGS="$xorg_testset_save_CFLAGS"
   8420 
   8421 		eval supported=\$$cacheid
   8422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8423 $as_echo "$supported" >&6; }
   8424 		if test "$supported" = "yes" ; then
   8425 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8426 			found="yes"
   8427 		fi
   8428 	fi
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 xorg_testset_save_CFLAGS="$CFLAGS"
   8445 
   8446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8451   $as_echo_n "(cached) " >&6
   8452 else
   8453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8454 /* end confdefs.h.  */
   8455 int i;
   8456 _ACEOF
   8457 if ac_fn_c_try_compile "$LINENO"; then :
   8458   xorg_cv_cc_flag_unknown_warning_option=yes
   8459 else
   8460   xorg_cv_cc_flag_unknown_warning_option=no
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8463 fi
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8467 	CFLAGS="$xorg_testset_save_CFLAGS"
   8468 fi
   8469 
   8470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 	fi
   8474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 _ACEOF
   8484 if ac_fn_c_try_compile "$LINENO"; then :
   8485   xorg_cv_cc_flag_unused_command_line_argument=yes
   8486 else
   8487   xorg_cv_cc_flag_unused_command_line_argument=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8490 fi
   8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8494 	CFLAGS="$xorg_testset_save_CFLAGS"
   8495 fi
   8496 
   8497 found="no"
   8498 
   8499 	if test $found = "no" ; then
   8500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 		fi
   8503 
   8504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 		fi
   8507 
   8508 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8509 
   8510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8511 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8512 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8513 		if eval \${$cacheid+:} false; then :
   8514   $as_echo_n "(cached) " >&6
   8515 else
   8516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 int
   8520 main ()
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"; then :
   8528   eval $cacheid=yes
   8529 else
   8530   eval $cacheid=no
   8531 fi
   8532 rm -f core conftest.err conftest.$ac_objext \
   8533     conftest$ac_exeext conftest.$ac_ext
   8534 fi
   8535 
   8536 
   8537 		CFLAGS="$xorg_testset_save_CFLAGS"
   8538 
   8539 		eval supported=\$$cacheid
   8540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8541 $as_echo "$supported" >&6; }
   8542 		if test "$supported" = "yes" ; then
   8543 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8544 			found="yes"
   8545 		fi
   8546 	fi
   8547 
   8548  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8549 else
   8550 { $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
   8551 $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;}
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 xorg_testset_save_CFLAGS="$CFLAGS"
   8566 
   8567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8572   $as_echo_n "(cached) " >&6
   8573 else
   8574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 _ACEOF
   8578 if ac_fn_c_try_compile "$LINENO"; then :
   8579   xorg_cv_cc_flag_unknown_warning_option=yes
   8580 else
   8581   xorg_cv_cc_flag_unknown_warning_option=no
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8584 fi
   8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8588 	CFLAGS="$xorg_testset_save_CFLAGS"
   8589 fi
   8590 
   8591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 	fi
   8595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8599   $as_echo_n "(cached) " >&6
   8600 else
   8601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8602 /* end confdefs.h.  */
   8603 int i;
   8604 _ACEOF
   8605 if ac_fn_c_try_compile "$LINENO"; then :
   8606   xorg_cv_cc_flag_unused_command_line_argument=yes
   8607 else
   8608   xorg_cv_cc_flag_unused_command_line_argument=no
   8609 fi
   8610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8611 fi
   8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8615 	CFLAGS="$xorg_testset_save_CFLAGS"
   8616 fi
   8617 
   8618 found="no"
   8619 
   8620 	if test $found = "no" ; then
   8621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8623 		fi
   8624 
   8625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8627 		fi
   8628 
   8629 		CFLAGS="$CFLAGS -Wimplicit"
   8630 
   8631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8632 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8633 		cacheid=xorg_cv_cc_flag__Wimplicit
   8634 		if eval \${$cacheid+:} false; then :
   8635   $as_echo_n "(cached) " >&6
   8636 else
   8637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8638 /* end confdefs.h.  */
   8639 int i;
   8640 int
   8641 main ()
   8642 {
   8643 
   8644   ;
   8645   return 0;
   8646 }
   8647 _ACEOF
   8648 if ac_fn_c_try_link "$LINENO"; then :
   8649   eval $cacheid=yes
   8650 else
   8651   eval $cacheid=no
   8652 fi
   8653 rm -f core conftest.err conftest.$ac_objext \
   8654     conftest$ac_exeext conftest.$ac_ext
   8655 fi
   8656 
   8657 
   8658 		CFLAGS="$xorg_testset_save_CFLAGS"
   8659 
   8660 		eval supported=\$$cacheid
   8661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8662 $as_echo "$supported" >&6; }
   8663 		if test "$supported" = "yes" ; then
   8664 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8665 			found="yes"
   8666 		fi
   8667 	fi
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 xorg_testset_save_CFLAGS="$CFLAGS"
   8684 
   8685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8690   $as_echo_n "(cached) " >&6
   8691 else
   8692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8693 /* end confdefs.h.  */
   8694 int i;
   8695 _ACEOF
   8696 if ac_fn_c_try_compile "$LINENO"; then :
   8697   xorg_cv_cc_flag_unknown_warning_option=yes
   8698 else
   8699   xorg_cv_cc_flag_unknown_warning_option=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8702 fi
   8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8706 	CFLAGS="$xorg_testset_save_CFLAGS"
   8707 fi
   8708 
   8709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8712 	fi
   8713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8717   $as_echo_n "(cached) " >&6
   8718 else
   8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8720 /* end confdefs.h.  */
   8721 int i;
   8722 _ACEOF
   8723 if ac_fn_c_try_compile "$LINENO"; then :
   8724   xorg_cv_cc_flag_unused_command_line_argument=yes
   8725 else
   8726   xorg_cv_cc_flag_unused_command_line_argument=no
   8727 fi
   8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8729 fi
   8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8733 	CFLAGS="$xorg_testset_save_CFLAGS"
   8734 fi
   8735 
   8736 found="no"
   8737 
   8738 	if test $found = "no" ; then
   8739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 		fi
   8742 
   8743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8745 		fi
   8746 
   8747 		CFLAGS="$CFLAGS -Wnonnull"
   8748 
   8749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8750 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8751 		cacheid=xorg_cv_cc_flag__Wnonnull
   8752 		if eval \${$cacheid+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8756 /* end confdefs.h.  */
   8757 int i;
   8758 int
   8759 main ()
   8760 {
   8761 
   8762   ;
   8763   return 0;
   8764 }
   8765 _ACEOF
   8766 if ac_fn_c_try_link "$LINENO"; then :
   8767   eval $cacheid=yes
   8768 else
   8769   eval $cacheid=no
   8770 fi
   8771 rm -f core conftest.err conftest.$ac_objext \
   8772     conftest$ac_exeext conftest.$ac_ext
   8773 fi
   8774 
   8775 
   8776 		CFLAGS="$xorg_testset_save_CFLAGS"
   8777 
   8778 		eval supported=\$$cacheid
   8779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8780 $as_echo "$supported" >&6; }
   8781 		if test "$supported" = "yes" ; then
   8782 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8783 			found="yes"
   8784 		fi
   8785 	fi
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 xorg_testset_save_CFLAGS="$CFLAGS"
   8802 
   8803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8808   $as_echo_n "(cached) " >&6
   8809 else
   8810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"; then :
   8815   xorg_cv_cc_flag_unknown_warning_option=yes
   8816 else
   8817   xorg_cv_cc_flag_unknown_warning_option=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8820 fi
   8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8824 	CFLAGS="$xorg_testset_save_CFLAGS"
   8825 fi
   8826 
   8827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8830 	fi
   8831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8835   $as_echo_n "(cached) " >&6
   8836 else
   8837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8838 /* end confdefs.h.  */
   8839 int i;
   8840 _ACEOF
   8841 if ac_fn_c_try_compile "$LINENO"; then :
   8842   xorg_cv_cc_flag_unused_command_line_argument=yes
   8843 else
   8844   xorg_cv_cc_flag_unused_command_line_argument=no
   8845 fi
   8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8847 fi
   8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8851 	CFLAGS="$xorg_testset_save_CFLAGS"
   8852 fi
   8853 
   8854 found="no"
   8855 
   8856 	if test $found = "no" ; then
   8857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 		fi
   8860 
   8861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8863 		fi
   8864 
   8865 		CFLAGS="$CFLAGS -Winit-self"
   8866 
   8867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8868 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8869 		cacheid=xorg_cv_cc_flag__Winit_self
   8870 		if eval \${$cacheid+:} false; then :
   8871   $as_echo_n "(cached) " >&6
   8872 else
   8873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8874 /* end confdefs.h.  */
   8875 int i;
   8876 int
   8877 main ()
   8878 {
   8879 
   8880   ;
   8881   return 0;
   8882 }
   8883 _ACEOF
   8884 if ac_fn_c_try_link "$LINENO"; then :
   8885   eval $cacheid=yes
   8886 else
   8887   eval $cacheid=no
   8888 fi
   8889 rm -f core conftest.err conftest.$ac_objext \
   8890     conftest$ac_exeext conftest.$ac_ext
   8891 fi
   8892 
   8893 
   8894 		CFLAGS="$xorg_testset_save_CFLAGS"
   8895 
   8896 		eval supported=\$$cacheid
   8897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8898 $as_echo "$supported" >&6; }
   8899 		if test "$supported" = "yes" ; then
   8900 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8901 			found="yes"
   8902 		fi
   8903 	fi
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 xorg_testset_save_CFLAGS="$CFLAGS"
   8920 
   8921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8926   $as_echo_n "(cached) " >&6
   8927 else
   8928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8929 /* end confdefs.h.  */
   8930 int i;
   8931 _ACEOF
   8932 if ac_fn_c_try_compile "$LINENO"; then :
   8933   xorg_cv_cc_flag_unknown_warning_option=yes
   8934 else
   8935   xorg_cv_cc_flag_unknown_warning_option=no
   8936 fi
   8937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8938 fi
   8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8942 	CFLAGS="$xorg_testset_save_CFLAGS"
   8943 fi
   8944 
   8945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8948 	fi
   8949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8953   $as_echo_n "(cached) " >&6
   8954 else
   8955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8956 /* end confdefs.h.  */
   8957 int i;
   8958 _ACEOF
   8959 if ac_fn_c_try_compile "$LINENO"; then :
   8960   xorg_cv_cc_flag_unused_command_line_argument=yes
   8961 else
   8962   xorg_cv_cc_flag_unused_command_line_argument=no
   8963 fi
   8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8965 fi
   8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8969 	CFLAGS="$xorg_testset_save_CFLAGS"
   8970 fi
   8971 
   8972 found="no"
   8973 
   8974 	if test $found = "no" ; then
   8975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8977 		fi
   8978 
   8979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8981 		fi
   8982 
   8983 		CFLAGS="$CFLAGS -Wmain"
   8984 
   8985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8986 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8987 		cacheid=xorg_cv_cc_flag__Wmain
   8988 		if eval \${$cacheid+:} false; then :
   8989   $as_echo_n "(cached) " >&6
   8990 else
   8991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8992 /* end confdefs.h.  */
   8993 int i;
   8994 int
   8995 main ()
   8996 {
   8997 
   8998   ;
   8999   return 0;
   9000 }
   9001 _ACEOF
   9002 if ac_fn_c_try_link "$LINENO"; then :
   9003   eval $cacheid=yes
   9004 else
   9005   eval $cacheid=no
   9006 fi
   9007 rm -f core conftest.err conftest.$ac_objext \
   9008     conftest$ac_exeext conftest.$ac_ext
   9009 fi
   9010 
   9011 
   9012 		CFLAGS="$xorg_testset_save_CFLAGS"
   9013 
   9014 		eval supported=\$$cacheid
   9015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9016 $as_echo "$supported" >&6; }
   9017 		if test "$supported" = "yes" ; then
   9018 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9019 			found="yes"
   9020 		fi
   9021 	fi
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 xorg_testset_save_CFLAGS="$CFLAGS"
   9038 
   9039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9044   $as_echo_n "(cached) " >&6
   9045 else
   9046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9047 /* end confdefs.h.  */
   9048 int i;
   9049 _ACEOF
   9050 if ac_fn_c_try_compile "$LINENO"; then :
   9051   xorg_cv_cc_flag_unknown_warning_option=yes
   9052 else
   9053   xorg_cv_cc_flag_unknown_warning_option=no
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9056 fi
   9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9060 	CFLAGS="$xorg_testset_save_CFLAGS"
   9061 fi
   9062 
   9063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9066 	fi
   9067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9071   $as_echo_n "(cached) " >&6
   9072 else
   9073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9074 /* end confdefs.h.  */
   9075 int i;
   9076 _ACEOF
   9077 if ac_fn_c_try_compile "$LINENO"; then :
   9078   xorg_cv_cc_flag_unused_command_line_argument=yes
   9079 else
   9080   xorg_cv_cc_flag_unused_command_line_argument=no
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9083 fi
   9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9087 	CFLAGS="$xorg_testset_save_CFLAGS"
   9088 fi
   9089 
   9090 found="no"
   9091 
   9092 	if test $found = "no" ; then
   9093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9095 		fi
   9096 
   9097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9099 		fi
   9100 
   9101 		CFLAGS="$CFLAGS -Wmissing-braces"
   9102 
   9103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9104 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9105 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9106 		if eval \${$cacheid+:} false; then :
   9107   $as_echo_n "(cached) " >&6
   9108 else
   9109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9110 /* end confdefs.h.  */
   9111 int i;
   9112 int
   9113 main ()
   9114 {
   9115 
   9116   ;
   9117   return 0;
   9118 }
   9119 _ACEOF
   9120 if ac_fn_c_try_link "$LINENO"; then :
   9121   eval $cacheid=yes
   9122 else
   9123   eval $cacheid=no
   9124 fi
   9125 rm -f core conftest.err conftest.$ac_objext \
   9126     conftest$ac_exeext conftest.$ac_ext
   9127 fi
   9128 
   9129 
   9130 		CFLAGS="$xorg_testset_save_CFLAGS"
   9131 
   9132 		eval supported=\$$cacheid
   9133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9134 $as_echo "$supported" >&6; }
   9135 		if test "$supported" = "yes" ; then
   9136 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9137 			found="yes"
   9138 		fi
   9139 	fi
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 xorg_testset_save_CFLAGS="$CFLAGS"
   9156 
   9157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9162   $as_echo_n "(cached) " >&6
   9163 else
   9164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9165 /* end confdefs.h.  */
   9166 int i;
   9167 _ACEOF
   9168 if ac_fn_c_try_compile "$LINENO"; then :
   9169   xorg_cv_cc_flag_unknown_warning_option=yes
   9170 else
   9171   xorg_cv_cc_flag_unknown_warning_option=no
   9172 fi
   9173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9174 fi
   9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9178 	CFLAGS="$xorg_testset_save_CFLAGS"
   9179 fi
   9180 
   9181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9184 	fi
   9185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9189   $as_echo_n "(cached) " >&6
   9190 else
   9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 _ACEOF
   9195 if ac_fn_c_try_compile "$LINENO"; then :
   9196   xorg_cv_cc_flag_unused_command_line_argument=yes
   9197 else
   9198   xorg_cv_cc_flag_unused_command_line_argument=no
   9199 fi
   9200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9201 fi
   9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9205 	CFLAGS="$xorg_testset_save_CFLAGS"
   9206 fi
   9207 
   9208 found="no"
   9209 
   9210 	if test $found = "no" ; then
   9211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9213 		fi
   9214 
   9215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9217 		fi
   9218 
   9219 		CFLAGS="$CFLAGS -Wsequence-point"
   9220 
   9221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9222 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9223 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9224 		if eval \${$cacheid+:} false; then :
   9225   $as_echo_n "(cached) " >&6
   9226 else
   9227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9228 /* end confdefs.h.  */
   9229 int i;
   9230 int
   9231 main ()
   9232 {
   9233 
   9234   ;
   9235   return 0;
   9236 }
   9237 _ACEOF
   9238 if ac_fn_c_try_link "$LINENO"; then :
   9239   eval $cacheid=yes
   9240 else
   9241   eval $cacheid=no
   9242 fi
   9243 rm -f core conftest.err conftest.$ac_objext \
   9244     conftest$ac_exeext conftest.$ac_ext
   9245 fi
   9246 
   9247 
   9248 		CFLAGS="$xorg_testset_save_CFLAGS"
   9249 
   9250 		eval supported=\$$cacheid
   9251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9252 $as_echo "$supported" >&6; }
   9253 		if test "$supported" = "yes" ; then
   9254 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9255 			found="yes"
   9256 		fi
   9257 	fi
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 xorg_testset_save_CFLAGS="$CFLAGS"
   9274 
   9275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9280   $as_echo_n "(cached) " >&6
   9281 else
   9282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9283 /* end confdefs.h.  */
   9284 int i;
   9285 _ACEOF
   9286 if ac_fn_c_try_compile "$LINENO"; then :
   9287   xorg_cv_cc_flag_unknown_warning_option=yes
   9288 else
   9289   xorg_cv_cc_flag_unknown_warning_option=no
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9292 fi
   9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9296 	CFLAGS="$xorg_testset_save_CFLAGS"
   9297 fi
   9298 
   9299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9302 	fi
   9303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9307   $as_echo_n "(cached) " >&6
   9308 else
   9309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9310 /* end confdefs.h.  */
   9311 int i;
   9312 _ACEOF
   9313 if ac_fn_c_try_compile "$LINENO"; then :
   9314   xorg_cv_cc_flag_unused_command_line_argument=yes
   9315 else
   9316   xorg_cv_cc_flag_unused_command_line_argument=no
   9317 fi
   9318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9319 fi
   9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9323 	CFLAGS="$xorg_testset_save_CFLAGS"
   9324 fi
   9325 
   9326 found="no"
   9327 
   9328 	if test $found = "no" ; then
   9329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9331 		fi
   9332 
   9333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9335 		fi
   9336 
   9337 		CFLAGS="$CFLAGS -Wreturn-type"
   9338 
   9339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9340 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9341 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9342 		if eval \${$cacheid+:} false; then :
   9343   $as_echo_n "(cached) " >&6
   9344 else
   9345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9346 /* end confdefs.h.  */
   9347 int i;
   9348 int
   9349 main ()
   9350 {
   9351 
   9352   ;
   9353   return 0;
   9354 }
   9355 _ACEOF
   9356 if ac_fn_c_try_link "$LINENO"; then :
   9357   eval $cacheid=yes
   9358 else
   9359   eval $cacheid=no
   9360 fi
   9361 rm -f core conftest.err conftest.$ac_objext \
   9362     conftest$ac_exeext conftest.$ac_ext
   9363 fi
   9364 
   9365 
   9366 		CFLAGS="$xorg_testset_save_CFLAGS"
   9367 
   9368 		eval supported=\$$cacheid
   9369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9370 $as_echo "$supported" >&6; }
   9371 		if test "$supported" = "yes" ; then
   9372 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9373 			found="yes"
   9374 		fi
   9375 	fi
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 xorg_testset_save_CFLAGS="$CFLAGS"
   9392 
   9393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9398   $as_echo_n "(cached) " >&6
   9399 else
   9400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 int i;
   9403 _ACEOF
   9404 if ac_fn_c_try_compile "$LINENO"; then :
   9405   xorg_cv_cc_flag_unknown_warning_option=yes
   9406 else
   9407   xorg_cv_cc_flag_unknown_warning_option=no
   9408 fi
   9409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9410 fi
   9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9414 	CFLAGS="$xorg_testset_save_CFLAGS"
   9415 fi
   9416 
   9417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9420 	fi
   9421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9425   $as_echo_n "(cached) " >&6
   9426 else
   9427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9428 /* end confdefs.h.  */
   9429 int i;
   9430 _ACEOF
   9431 if ac_fn_c_try_compile "$LINENO"; then :
   9432   xorg_cv_cc_flag_unused_command_line_argument=yes
   9433 else
   9434   xorg_cv_cc_flag_unused_command_line_argument=no
   9435 fi
   9436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9437 fi
   9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9441 	CFLAGS="$xorg_testset_save_CFLAGS"
   9442 fi
   9443 
   9444 found="no"
   9445 
   9446 	if test $found = "no" ; then
   9447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9449 		fi
   9450 
   9451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9453 		fi
   9454 
   9455 		CFLAGS="$CFLAGS -Wtrigraphs"
   9456 
   9457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9458 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9459 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9460 		if eval \${$cacheid+:} false; then :
   9461   $as_echo_n "(cached) " >&6
   9462 else
   9463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9464 /* end confdefs.h.  */
   9465 int i;
   9466 int
   9467 main ()
   9468 {
   9469 
   9470   ;
   9471   return 0;
   9472 }
   9473 _ACEOF
   9474 if ac_fn_c_try_link "$LINENO"; then :
   9475   eval $cacheid=yes
   9476 else
   9477   eval $cacheid=no
   9478 fi
   9479 rm -f core conftest.err conftest.$ac_objext \
   9480     conftest$ac_exeext conftest.$ac_ext
   9481 fi
   9482 
   9483 
   9484 		CFLAGS="$xorg_testset_save_CFLAGS"
   9485 
   9486 		eval supported=\$$cacheid
   9487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9488 $as_echo "$supported" >&6; }
   9489 		if test "$supported" = "yes" ; then
   9490 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9491 			found="yes"
   9492 		fi
   9493 	fi
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 xorg_testset_save_CFLAGS="$CFLAGS"
   9510 
   9511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9514 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9515 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9516   $as_echo_n "(cached) " >&6
   9517 else
   9518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9519 /* end confdefs.h.  */
   9520 int i;
   9521 _ACEOF
   9522 if ac_fn_c_try_compile "$LINENO"; then :
   9523   xorg_cv_cc_flag_unknown_warning_option=yes
   9524 else
   9525   xorg_cv_cc_flag_unknown_warning_option=no
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9528 fi
   9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9530 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9532 	CFLAGS="$xorg_testset_save_CFLAGS"
   9533 fi
   9534 
   9535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9538 	fi
   9539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9541 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9542 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9543   $as_echo_n "(cached) " >&6
   9544 else
   9545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9546 /* end confdefs.h.  */
   9547 int i;
   9548 _ACEOF
   9549 if ac_fn_c_try_compile "$LINENO"; then :
   9550   xorg_cv_cc_flag_unused_command_line_argument=yes
   9551 else
   9552   xorg_cv_cc_flag_unused_command_line_argument=no
   9553 fi
   9554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9555 fi
   9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9557 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9559 	CFLAGS="$xorg_testset_save_CFLAGS"
   9560 fi
   9561 
   9562 found="no"
   9563 
   9564 	if test $found = "no" ; then
   9565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9567 		fi
   9568 
   9569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9571 		fi
   9572 
   9573 		CFLAGS="$CFLAGS -Warray-bounds"
   9574 
   9575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9576 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9577 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9578 		if eval \${$cacheid+:} false; then :
   9579   $as_echo_n "(cached) " >&6
   9580 else
   9581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9582 /* end confdefs.h.  */
   9583 int i;
   9584 int
   9585 main ()
   9586 {
   9587 
   9588   ;
   9589   return 0;
   9590 }
   9591 _ACEOF
   9592 if ac_fn_c_try_link "$LINENO"; then :
   9593   eval $cacheid=yes
   9594 else
   9595   eval $cacheid=no
   9596 fi
   9597 rm -f core conftest.err conftest.$ac_objext \
   9598     conftest$ac_exeext conftest.$ac_ext
   9599 fi
   9600 
   9601 
   9602 		CFLAGS="$xorg_testset_save_CFLAGS"
   9603 
   9604 		eval supported=\$$cacheid
   9605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9606 $as_echo "$supported" >&6; }
   9607 		if test "$supported" = "yes" ; then
   9608 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9609 			found="yes"
   9610 		fi
   9611 	fi
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 xorg_testset_save_CFLAGS="$CFLAGS"
   9628 
   9629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9632 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9633 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9634   $as_echo_n "(cached) " >&6
   9635 else
   9636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9637 /* end confdefs.h.  */
   9638 int i;
   9639 _ACEOF
   9640 if ac_fn_c_try_compile "$LINENO"; then :
   9641   xorg_cv_cc_flag_unknown_warning_option=yes
   9642 else
   9643   xorg_cv_cc_flag_unknown_warning_option=no
   9644 fi
   9645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9646 fi
   9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9648 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9650 	CFLAGS="$xorg_testset_save_CFLAGS"
   9651 fi
   9652 
   9653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9656 	fi
   9657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9659 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9660 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9661   $as_echo_n "(cached) " >&6
   9662 else
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 _ACEOF
   9667 if ac_fn_c_try_compile "$LINENO"; then :
   9668   xorg_cv_cc_flag_unused_command_line_argument=yes
   9669 else
   9670   xorg_cv_cc_flag_unused_command_line_argument=no
   9671 fi
   9672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9673 fi
   9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9675 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9677 	CFLAGS="$xorg_testset_save_CFLAGS"
   9678 fi
   9679 
   9680 found="no"
   9681 
   9682 	if test $found = "no" ; then
   9683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9685 		fi
   9686 
   9687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9689 		fi
   9690 
   9691 		CFLAGS="$CFLAGS -Wwrite-strings"
   9692 
   9693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9694 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9695 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9696 		if eval \${$cacheid+:} false; then :
   9697   $as_echo_n "(cached) " >&6
   9698 else
   9699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9700 /* end confdefs.h.  */
   9701 int i;
   9702 int
   9703 main ()
   9704 {
   9705 
   9706   ;
   9707   return 0;
   9708 }
   9709 _ACEOF
   9710 if ac_fn_c_try_link "$LINENO"; then :
   9711   eval $cacheid=yes
   9712 else
   9713   eval $cacheid=no
   9714 fi
   9715 rm -f core conftest.err conftest.$ac_objext \
   9716     conftest$ac_exeext conftest.$ac_ext
   9717 fi
   9718 
   9719 
   9720 		CFLAGS="$xorg_testset_save_CFLAGS"
   9721 
   9722 		eval supported=\$$cacheid
   9723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9724 $as_echo "$supported" >&6; }
   9725 		if test "$supported" = "yes" ; then
   9726 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9727 			found="yes"
   9728 		fi
   9729 	fi
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 xorg_testset_save_CFLAGS="$CFLAGS"
   9746 
   9747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9750 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9751 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9752   $as_echo_n "(cached) " >&6
   9753 else
   9754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9755 /* end confdefs.h.  */
   9756 int i;
   9757 _ACEOF
   9758 if ac_fn_c_try_compile "$LINENO"; then :
   9759   xorg_cv_cc_flag_unknown_warning_option=yes
   9760 else
   9761   xorg_cv_cc_flag_unknown_warning_option=no
   9762 fi
   9763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9764 fi
   9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9766 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9768 	CFLAGS="$xorg_testset_save_CFLAGS"
   9769 fi
   9770 
   9771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9774 	fi
   9775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9777 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9778 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9779   $as_echo_n "(cached) " >&6
   9780 else
   9781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9782 /* end confdefs.h.  */
   9783 int i;
   9784 _ACEOF
   9785 if ac_fn_c_try_compile "$LINENO"; then :
   9786   xorg_cv_cc_flag_unused_command_line_argument=yes
   9787 else
   9788   xorg_cv_cc_flag_unused_command_line_argument=no
   9789 fi
   9790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9791 fi
   9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9793 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9795 	CFLAGS="$xorg_testset_save_CFLAGS"
   9796 fi
   9797 
   9798 found="no"
   9799 
   9800 	if test $found = "no" ; then
   9801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9803 		fi
   9804 
   9805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9807 		fi
   9808 
   9809 		CFLAGS="$CFLAGS -Waddress"
   9810 
   9811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9812 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9813 		cacheid=xorg_cv_cc_flag__Waddress
   9814 		if eval \${$cacheid+:} false; then :
   9815   $as_echo_n "(cached) " >&6
   9816 else
   9817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9818 /* end confdefs.h.  */
   9819 int i;
   9820 int
   9821 main ()
   9822 {
   9823 
   9824   ;
   9825   return 0;
   9826 }
   9827 _ACEOF
   9828 if ac_fn_c_try_link "$LINENO"; then :
   9829   eval $cacheid=yes
   9830 else
   9831   eval $cacheid=no
   9832 fi
   9833 rm -f core conftest.err conftest.$ac_objext \
   9834     conftest$ac_exeext conftest.$ac_ext
   9835 fi
   9836 
   9837 
   9838 		CFLAGS="$xorg_testset_save_CFLAGS"
   9839 
   9840 		eval supported=\$$cacheid
   9841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9842 $as_echo "$supported" >&6; }
   9843 		if test "$supported" = "yes" ; then
   9844 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9845 			found="yes"
   9846 		fi
   9847 	fi
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 xorg_testset_save_CFLAGS="$CFLAGS"
   9864 
   9865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9870   $as_echo_n "(cached) " >&6
   9871 else
   9872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9873 /* end confdefs.h.  */
   9874 int i;
   9875 _ACEOF
   9876 if ac_fn_c_try_compile "$LINENO"; then :
   9877   xorg_cv_cc_flag_unknown_warning_option=yes
   9878 else
   9879   xorg_cv_cc_flag_unknown_warning_option=no
   9880 fi
   9881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9882 fi
   9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9886 	CFLAGS="$xorg_testset_save_CFLAGS"
   9887 fi
   9888 
   9889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 	fi
   9893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9897   $as_echo_n "(cached) " >&6
   9898 else
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"; then :
   9904   xorg_cv_cc_flag_unused_command_line_argument=yes
   9905 else
   9906   xorg_cv_cc_flag_unused_command_line_argument=no
   9907 fi
   9908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9909 fi
   9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9913 	CFLAGS="$xorg_testset_save_CFLAGS"
   9914 fi
   9915 
   9916 found="no"
   9917 
   9918 	if test $found = "no" ; then
   9919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 		fi
   9922 
   9923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9925 		fi
   9926 
   9927 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9928 
   9929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9930 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9931 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9932 		if eval \${$cacheid+:} false; then :
   9933   $as_echo_n "(cached) " >&6
   9934 else
   9935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9936 /* end confdefs.h.  */
   9937 int i;
   9938 int
   9939 main ()
   9940 {
   9941 
   9942   ;
   9943   return 0;
   9944 }
   9945 _ACEOF
   9946 if ac_fn_c_try_link "$LINENO"; then :
   9947   eval $cacheid=yes
   9948 else
   9949   eval $cacheid=no
   9950 fi
   9951 rm -f core conftest.err conftest.$ac_objext \
   9952     conftest$ac_exeext conftest.$ac_ext
   9953 fi
   9954 
   9955 
   9956 		CFLAGS="$xorg_testset_save_CFLAGS"
   9957 
   9958 		eval supported=\$$cacheid
   9959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9960 $as_echo "$supported" >&6; }
   9961 		if test "$supported" = "yes" ; then
   9962 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9963 			found="yes"
   9964 		fi
   9965 	fi
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 xorg_testset_save_CFLAGS="$CFLAGS"
   9982 
   9983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9986 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9987 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9988   $as_echo_n "(cached) " >&6
   9989 else
   9990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9991 /* end confdefs.h.  */
   9992 int i;
   9993 _ACEOF
   9994 if ac_fn_c_try_compile "$LINENO"; then :
   9995   xorg_cv_cc_flag_unknown_warning_option=yes
   9996 else
   9997   xorg_cv_cc_flag_unknown_warning_option=no
   9998 fi
   9999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10000 fi
   10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10002 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10004 	CFLAGS="$xorg_testset_save_CFLAGS"
   10005 fi
   10006 
   10007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10010 	fi
   10011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10013 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10014 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10015   $as_echo_n "(cached) " >&6
   10016 else
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 _ACEOF
   10021 if ac_fn_c_try_compile "$LINENO"; then :
   10022   xorg_cv_cc_flag_unused_command_line_argument=yes
   10023 else
   10024   xorg_cv_cc_flag_unused_command_line_argument=no
   10025 fi
   10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10027 fi
   10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10029 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10031 	CFLAGS="$xorg_testset_save_CFLAGS"
   10032 fi
   10033 
   10034 found="no"
   10035 
   10036 	if test $found = "no" ; then
   10037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10039 		fi
   10040 
   10041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10043 		fi
   10044 
   10045 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10046 
   10047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10048 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10049 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10050 		if eval \${$cacheid+:} false; then :
   10051   $as_echo_n "(cached) " >&6
   10052 else
   10053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10054 /* end confdefs.h.  */
   10055 int i;
   10056 int
   10057 main ()
   10058 {
   10059 
   10060   ;
   10061   return 0;
   10062 }
   10063 _ACEOF
   10064 if ac_fn_c_try_link "$LINENO"; then :
   10065   eval $cacheid=yes
   10066 else
   10067   eval $cacheid=no
   10068 fi
   10069 rm -f core conftest.err conftest.$ac_objext \
   10070     conftest$ac_exeext conftest.$ac_ext
   10071 fi
   10072 
   10073 
   10074 		CFLAGS="$xorg_testset_save_CFLAGS"
   10075 
   10076 		eval supported=\$$cacheid
   10077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10078 $as_echo "$supported" >&6; }
   10079 		if test "$supported" = "yes" ; then
   10080 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10081 			found="yes"
   10082 		fi
   10083 	fi
   10084 
   10085 
   10086 fi
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 		CWARNFLAGS="$BASE_CFLAGS"
   10095 		if  test "x$GCC" = xyes ; then
   10096 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10097 		fi
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 # Check whether --enable-strict-compilation was given.
   10107 if test "${enable_strict_compilation+set}" = set; then :
   10108   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10109 else
   10110   STRICT_COMPILE=no
   10111 fi
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 STRICT_CFLAGS=""
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 xorg_testset_save_CFLAGS="$CFLAGS"
   10133 
   10134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10137 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10138 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10139   $as_echo_n "(cached) " >&6
   10140 else
   10141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10142 /* end confdefs.h.  */
   10143 int i;
   10144 _ACEOF
   10145 if ac_fn_c_try_compile "$LINENO"; then :
   10146   xorg_cv_cc_flag_unknown_warning_option=yes
   10147 else
   10148   xorg_cv_cc_flag_unknown_warning_option=no
   10149 fi
   10150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10151 fi
   10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10153 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10155 	CFLAGS="$xorg_testset_save_CFLAGS"
   10156 fi
   10157 
   10158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10161 	fi
   10162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10164 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10165 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10166   $as_echo_n "(cached) " >&6
   10167 else
   10168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10169 /* end confdefs.h.  */
   10170 int i;
   10171 _ACEOF
   10172 if ac_fn_c_try_compile "$LINENO"; then :
   10173   xorg_cv_cc_flag_unused_command_line_argument=yes
   10174 else
   10175   xorg_cv_cc_flag_unused_command_line_argument=no
   10176 fi
   10177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10178 fi
   10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10180 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10182 	CFLAGS="$xorg_testset_save_CFLAGS"
   10183 fi
   10184 
   10185 found="no"
   10186 
   10187 	if test $found = "no" ; then
   10188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10190 		fi
   10191 
   10192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10194 		fi
   10195 
   10196 		CFLAGS="$CFLAGS -pedantic"
   10197 
   10198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10199 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10200 		cacheid=xorg_cv_cc_flag__pedantic
   10201 		if eval \${$cacheid+:} false; then :
   10202   $as_echo_n "(cached) " >&6
   10203 else
   10204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10205 /* end confdefs.h.  */
   10206 int i;
   10207 int
   10208 main ()
   10209 {
   10210 
   10211   ;
   10212   return 0;
   10213 }
   10214 _ACEOF
   10215 if ac_fn_c_try_link "$LINENO"; then :
   10216   eval $cacheid=yes
   10217 else
   10218   eval $cacheid=no
   10219 fi
   10220 rm -f core conftest.err conftest.$ac_objext \
   10221     conftest$ac_exeext conftest.$ac_ext
   10222 fi
   10223 
   10224 
   10225 		CFLAGS="$xorg_testset_save_CFLAGS"
   10226 
   10227 		eval supported=\$$cacheid
   10228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10229 $as_echo "$supported" >&6; }
   10230 		if test "$supported" = "yes" ; then
   10231 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10232 			found="yes"
   10233 		fi
   10234 	fi
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 xorg_testset_save_CFLAGS="$CFLAGS"
   10251 
   10252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10257   $as_echo_n "(cached) " >&6
   10258 else
   10259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10260 /* end confdefs.h.  */
   10261 int i;
   10262 _ACEOF
   10263 if ac_fn_c_try_compile "$LINENO"; then :
   10264   xorg_cv_cc_flag_unknown_warning_option=yes
   10265 else
   10266   xorg_cv_cc_flag_unknown_warning_option=no
   10267 fi
   10268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10269 fi
   10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10273 	CFLAGS="$xorg_testset_save_CFLAGS"
   10274 fi
   10275 
   10276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10279 	fi
   10280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10284   $as_echo_n "(cached) " >&6
   10285 else
   10286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10287 /* end confdefs.h.  */
   10288 int i;
   10289 _ACEOF
   10290 if ac_fn_c_try_compile "$LINENO"; then :
   10291   xorg_cv_cc_flag_unused_command_line_argument=yes
   10292 else
   10293   xorg_cv_cc_flag_unused_command_line_argument=no
   10294 fi
   10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10296 fi
   10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10300 	CFLAGS="$xorg_testset_save_CFLAGS"
   10301 fi
   10302 
   10303 found="no"
   10304 
   10305 	if test $found = "no" ; then
   10306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10308 		fi
   10309 
   10310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10312 		fi
   10313 
   10314 		CFLAGS="$CFLAGS -Werror"
   10315 
   10316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10317 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10318 		cacheid=xorg_cv_cc_flag__Werror
   10319 		if eval \${$cacheid+:} 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 int
   10326 main ()
   10327 {
   10328 
   10329   ;
   10330   return 0;
   10331 }
   10332 _ACEOF
   10333 if ac_fn_c_try_link "$LINENO"; then :
   10334   eval $cacheid=yes
   10335 else
   10336   eval $cacheid=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext \
   10339     conftest$ac_exeext conftest.$ac_ext
   10340 fi
   10341 
   10342 
   10343 		CFLAGS="$xorg_testset_save_CFLAGS"
   10344 
   10345 		eval supported=\$$cacheid
   10346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10347 $as_echo "$supported" >&6; }
   10348 		if test "$supported" = "yes" ; then
   10349 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10350 			found="yes"
   10351 		fi
   10352 	fi
   10353 
   10354 	if test $found = "no" ; then
   10355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 		fi
   10358 
   10359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10361 		fi
   10362 
   10363 		CFLAGS="$CFLAGS -errwarn"
   10364 
   10365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10366 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10367 		cacheid=xorg_cv_cc_flag__errwarn
   10368 		if eval \${$cacheid+:} false; then :
   10369   $as_echo_n "(cached) " >&6
   10370 else
   10371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10372 /* end confdefs.h.  */
   10373 int i;
   10374 int
   10375 main ()
   10376 {
   10377 
   10378   ;
   10379   return 0;
   10380 }
   10381 _ACEOF
   10382 if ac_fn_c_try_link "$LINENO"; then :
   10383   eval $cacheid=yes
   10384 else
   10385   eval $cacheid=no
   10386 fi
   10387 rm -f core conftest.err conftest.$ac_objext \
   10388     conftest$ac_exeext conftest.$ac_ext
   10389 fi
   10390 
   10391 
   10392 		CFLAGS="$xorg_testset_save_CFLAGS"
   10393 
   10394 		eval supported=\$$cacheid
   10395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10396 $as_echo "$supported" >&6; }
   10397 		if test "$supported" = "yes" ; then
   10398 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10399 			found="yes"
   10400 		fi
   10401 	fi
   10402 
   10403 
   10404 
   10405 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10406 # activate it with -Werror, so we add it here explicitly.
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 xorg_testset_save_CFLAGS="$CFLAGS"
   10421 
   10422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10427   $as_echo_n "(cached) " >&6
   10428 else
   10429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10430 /* end confdefs.h.  */
   10431 int i;
   10432 _ACEOF
   10433 if ac_fn_c_try_compile "$LINENO"; then :
   10434   xorg_cv_cc_flag_unknown_warning_option=yes
   10435 else
   10436   xorg_cv_cc_flag_unknown_warning_option=no
   10437 fi
   10438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10439 fi
   10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10443 	CFLAGS="$xorg_testset_save_CFLAGS"
   10444 fi
   10445 
   10446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10449 	fi
   10450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10454   $as_echo_n "(cached) " >&6
   10455 else
   10456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10457 /* end confdefs.h.  */
   10458 int i;
   10459 _ACEOF
   10460 if ac_fn_c_try_compile "$LINENO"; then :
   10461   xorg_cv_cc_flag_unused_command_line_argument=yes
   10462 else
   10463   xorg_cv_cc_flag_unused_command_line_argument=no
   10464 fi
   10465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10466 fi
   10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10470 	CFLAGS="$xorg_testset_save_CFLAGS"
   10471 fi
   10472 
   10473 found="no"
   10474 
   10475 	if test $found = "no" ; then
   10476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10478 		fi
   10479 
   10480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10482 		fi
   10483 
   10484 		CFLAGS="$CFLAGS -Werror=attributes"
   10485 
   10486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10487 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10488 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10489 		if eval \${$cacheid+:} false; then :
   10490   $as_echo_n "(cached) " >&6
   10491 else
   10492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10493 /* end confdefs.h.  */
   10494 int i;
   10495 int
   10496 main ()
   10497 {
   10498 
   10499   ;
   10500   return 0;
   10501 }
   10502 _ACEOF
   10503 if ac_fn_c_try_link "$LINENO"; then :
   10504   eval $cacheid=yes
   10505 else
   10506   eval $cacheid=no
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext \
   10509     conftest$ac_exeext conftest.$ac_ext
   10510 fi
   10511 
   10512 
   10513 		CFLAGS="$xorg_testset_save_CFLAGS"
   10514 
   10515 		eval supported=\$$cacheid
   10516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10517 $as_echo "$supported" >&6; }
   10518 		if test "$supported" = "yes" ; then
   10519 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10520 			found="yes"
   10521 		fi
   10522 	fi
   10523 
   10524 
   10525 
   10526 if test "x$STRICT_COMPILE" = "xyes"; then
   10527     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10528     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10529 fi
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 cat >>confdefs.h <<_ACEOF
   10537 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10538 _ACEOF
   10539 
   10540 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10541 	if test "x$PVM" = "x"; then
   10542 		PVM="0"
   10543 	fi
   10544 
   10545 cat >>confdefs.h <<_ACEOF
   10546 #define PACKAGE_VERSION_MINOR $PVM
   10547 _ACEOF
   10548 
   10549 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10550 	if test "x$PVP" = "x"; then
   10551 		PVP="0"
   10552 	fi
   10553 
   10554 cat >>confdefs.h <<_ACEOF
   10555 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10556 _ACEOF
   10557 
   10558 
   10559 
   10560 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10561 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10562 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10563 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10564 
   10565 
   10566 
   10567 
   10568 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10569 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10570 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10571 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10572 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 if test x$APP_MAN_SUFFIX = x    ; then
   10580     APP_MAN_SUFFIX=1
   10581 fi
   10582 if test x$APP_MAN_DIR = x    ; then
   10583     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10584 fi
   10585 
   10586 if test x$LIB_MAN_SUFFIX = x    ; then
   10587     LIB_MAN_SUFFIX=3
   10588 fi
   10589 if test x$LIB_MAN_DIR = x    ; then
   10590     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10591 fi
   10592 
   10593 if test x$FILE_MAN_SUFFIX = x    ; then
   10594     case $host_os in
   10595 	# Solaris 2.0 - 11 use SysV man page sections
   10596 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10597 	*)				FILE_MAN_SUFFIX=5  ;;
   10598     esac
   10599 fi
   10600 if test x$FILE_MAN_DIR = x    ; then
   10601     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10602 fi
   10603 
   10604 if test x$MISC_MAN_SUFFIX = x    ; then
   10605     case $host_os in
   10606 	# Solaris 2.0 - 11 use SysV man page sections
   10607 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10608 	*)				MISC_MAN_SUFFIX=7  ;;
   10609     esac
   10610 fi
   10611 if test x$MISC_MAN_DIR = x    ; then
   10612     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10613 fi
   10614 
   10615 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10616     case $host_os in
   10617 	# Solaris 2.0 - 11 use SysV man page sections
   10618 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10619 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10620     esac
   10621 fi
   10622 if test x$DRIVER_MAN_DIR = x    ; then
   10623     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10624 fi
   10625 
   10626 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10627     case $host_os in
   10628 	# Solaris 2.0 - 11 use SysV man page sections
   10629 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10630 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10631     esac
   10632 fi
   10633 if test x$ADMIN_MAN_DIR = x    ; then
   10634     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10635 fi
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 XORG_MAN_PAGE="X Version 11"
   10652 
   10653 MAN_SUBSTS="\
   10654 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10655 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10656 	-e 's|__xservername__|Xorg|g' \
   10657 	-e 's|__xconfigfile__|xorg.conf|g' \
   10658 	-e 's|__projectroot__|\$(prefix)|g' \
   10659 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10660 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10661 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10662 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10663 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10664 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10665 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10666 
   10667 
   10668 
   10669 # Check whether --enable-silent-rules was given.
   10670 if test "${enable_silent_rules+set}" = set; then :
   10671   enableval=$enable_silent_rules;
   10672 fi
   10673 
   10674 case $enable_silent_rules in # (((
   10675   yes) AM_DEFAULT_VERBOSITY=0;;
   10676    no) AM_DEFAULT_VERBOSITY=1;;
   10677     *) AM_DEFAULT_VERBOSITY=0;;
   10678 esac
   10679 am_make=${MAKE-make}
   10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10681 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10682 if ${am_cv_make_support_nested_variables+:} false; then :
   10683   $as_echo_n "(cached) " >&6
   10684 else
   10685   if $as_echo 'TRUE=$(BAR$(V))
   10686 BAR0=false
   10687 BAR1=true
   10688 V=1
   10689 am__doit:
   10690 	@$(TRUE)
   10691 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10692   am_cv_make_support_nested_variables=yes
   10693 else
   10694   am_cv_make_support_nested_variables=no
   10695 fi
   10696 fi
   10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10698 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10699 if test $am_cv_make_support_nested_variables = yes; then
   10700     AM_V='$(V)'
   10701   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10702 else
   10703   AM_V=$AM_DEFAULT_VERBOSITY
   10704   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10705 fi
   10706 AM_BACKSLASH='\'
   10707 
   10708 
   10709 
   10710 for ac_header in wchar.h wctype.h langinfo.h
   10711 do :
   10712   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   10714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   10715   cat >>confdefs.h <<_ACEOF
   10716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10717 _ACEOF
   10718 
   10719 fi
   10720 
   10721 done
   10722 
   10723 
   10724 # Checks for pkg-config packages
   10725 
   10726 pkg_failed=no
   10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROP" >&5
   10728 $as_echo_n "checking for XPROP... " >&6; }
   10729 
   10730 if test -n "$XPROP_CFLAGS"; then
   10731     pkg_cv_XPROP_CFLAGS="$XPROP_CFLAGS"
   10732  elif test -n "$PKG_CONFIG"; then
   10733     if test -n "$PKG_CONFIG" && \
   10734     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10735   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10736   ac_status=$?
   10737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10738   test $ac_status = 0; }; then
   10739   pkg_cv_XPROP_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   10740 		      test "x$?" != "x0" && pkg_failed=yes
   10741 else
   10742   pkg_failed=yes
   10743 fi
   10744  else
   10745     pkg_failed=untried
   10746 fi
   10747 if test -n "$XPROP_LIBS"; then
   10748     pkg_cv_XPROP_LIBS="$XPROP_LIBS"
   10749  elif test -n "$PKG_CONFIG"; then
   10750     if test -n "$PKG_CONFIG" && \
   10751     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10752   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10753   ac_status=$?
   10754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10755   test $ac_status = 0; }; then
   10756   pkg_cv_XPROP_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   10757 		      test "x$?" != "x0" && pkg_failed=yes
   10758 else
   10759   pkg_failed=yes
   10760 fi
   10761  else
   10762     pkg_failed=untried
   10763 fi
   10764 
   10765 
   10766 
   10767 if test $pkg_failed = yes; then
   10768    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10769 $as_echo "no" >&6; }
   10770 
   10771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10772         _pkg_short_errors_supported=yes
   10773 else
   10774         _pkg_short_errors_supported=no
   10775 fi
   10776         if test $_pkg_short_errors_supported = yes; then
   10777 	        XPROP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10778         else
   10779 	        XPROP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10780         fi
   10781 	# Put the nasty error message in config.log where it belongs
   10782 	echo "$XPROP_PKG_ERRORS" >&5
   10783 
   10784 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   10785 
   10786 $XPROP_PKG_ERRORS
   10787 
   10788 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10789 installed software in a non-standard prefix.
   10790 
   10791 Alternatively, you may set the environment variables XPROP_CFLAGS
   10792 and XPROP_LIBS to avoid the need to call pkg-config.
   10793 See the pkg-config man page for more details." "$LINENO" 5
   10794 elif test $pkg_failed = untried; then
   10795      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10796 $as_echo "no" >&6; }
   10797 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10799 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10800 is in your PATH or set the PKG_CONFIG environment variable to the full
   10801 path to pkg-config.
   10802 
   10803 Alternatively, you may set the environment variables XPROP_CFLAGS
   10804 and XPROP_LIBS to avoid the need to call pkg-config.
   10805 See the pkg-config man page for more details.
   10806 
   10807 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10808 See \`config.log' for more details" "$LINENO" 5; }
   10809 else
   10810 	XPROP_CFLAGS=$pkg_cv_XPROP_CFLAGS
   10811 	XPROP_LIBS=$pkg_cv_XPROP_LIBS
   10812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10813 $as_echo "yes" >&6; }
   10814 
   10815 fi
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 # Check whether --with-lint was given.
   10823 if test "${with_lint+set}" = set; then :
   10824   withval=$with_lint; use_lint=$withval
   10825 else
   10826   use_lint=no
   10827 fi
   10828 
   10829 
   10830 # Obtain platform specific info like program name and options
   10831 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10832 case $host_os in
   10833   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10834 	lint_name=splint
   10835 	lint_options="-badflag"
   10836 	;;
   10837   *freebsd* | *netbsd*)
   10838 	lint_name=lint
   10839 	lint_options="-u -b"
   10840 	;;
   10841   *solaris*)
   10842 	lint_name=lint
   10843 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10844 	;;
   10845 esac
   10846 
   10847 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10848 if test "x$use_lint" = x"yes" ; then
   10849    # Extract the first word of "$lint_name", so it can be a program name with args.
   10850 set dummy $lint_name; ac_word=$2
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10852 $as_echo_n "checking for $ac_word... " >&6; }
   10853 if ${ac_cv_path_LINT+:} false; then :
   10854   $as_echo_n "(cached) " >&6
   10855 else
   10856   case $LINT in
   10857   [\\/]* | ?:[\\/]*)
   10858   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10859   ;;
   10860   *)
   10861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10862 for as_dir in $PATH
   10863 do
   10864   IFS=$as_save_IFS
   10865   test -z "$as_dir" && as_dir=.
   10866     for ac_exec_ext in '' $ac_executable_extensions; do
   10867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10868     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10870     break 2
   10871   fi
   10872 done
   10873   done
   10874 IFS=$as_save_IFS
   10875 
   10876   ;;
   10877 esac
   10878 fi
   10879 LINT=$ac_cv_path_LINT
   10880 if test -n "$LINT"; then
   10881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10882 $as_echo "$LINT" >&6; }
   10883 else
   10884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10885 $as_echo "no" >&6; }
   10886 fi
   10887 
   10888 
   10889    if test "x$LINT" = "x"; then
   10890         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10891    fi
   10892 elif test "x$use_lint" = x"no" ; then
   10893    if test "x$LINT" != "x"; then
   10894       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10895 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10896    fi
   10897 else
   10898    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10899 fi
   10900 
   10901 # User supplied flags override default flags
   10902 if test "x$LINT_FLAGS" != "x"; then
   10903    lint_options=$LINT_FLAGS
   10904 fi
   10905 
   10906 LINT_FLAGS=$lint_options
   10907 
   10908  if test "x$LINT" != x; then
   10909   LINT_TRUE=
   10910   LINT_FALSE='#'
   10911 else
   10912   LINT_TRUE='#'
   10913   LINT_FALSE=
   10914 fi
   10915 
   10916 
   10917 
   10918 
   10919 ac_config_files="$ac_config_files Makefile man/Makefile"
   10920 
   10921 cat >confcache <<\_ACEOF
   10922 # This file is a shell script that caches the results of configure
   10923 # tests run on this system so they can be shared between configure
   10924 # scripts and configure runs, see configure's option --config-cache.
   10925 # It is not useful on other systems.  If it contains results you don't
   10926 # want to keep, you may remove or edit it.
   10927 #
   10928 # config.status only pays attention to the cache file if you give it
   10929 # the --recheck option to rerun configure.
   10930 #
   10931 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10932 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10933 # following values.
   10934 
   10935 _ACEOF
   10936 
   10937 # The following way of writing the cache mishandles newlines in values,
   10938 # but we know of no workaround that is simple, portable, and efficient.
   10939 # So, we kill variables containing newlines.
   10940 # Ultrix sh set writes to stderr and can't be redirected directly,
   10941 # and sets the high bit in the cache file unless we assign to the vars.
   10942 (
   10943   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10944     eval ac_val=\$$ac_var
   10945     case $ac_val in #(
   10946     *${as_nl}*)
   10947       case $ac_var in #(
   10948       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10950       esac
   10951       case $ac_var in #(
   10952       _ | IFS | as_nl) ;; #(
   10953       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10954       *) { eval $ac_var=; unset $ac_var;} ;;
   10955       esac ;;
   10956     esac
   10957   done
   10958 
   10959   (set) 2>&1 |
   10960     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10961     *${as_nl}ac_space=\ *)
   10962       # `set' does not quote correctly, so add quotes: double-quote
   10963       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10964       sed -n \
   10965 	"s/'/'\\\\''/g;
   10966 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10967       ;; #(
   10968     *)
   10969       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10970       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10971       ;;
   10972     esac |
   10973     sort
   10974 ) |
   10975   sed '
   10976      /^ac_cv_env_/b end
   10977      t clear
   10978      :clear
   10979      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10980      t end
   10981      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10982      :end' >>confcache
   10983 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10984   if test -w "$cache_file"; then
   10985     if test "x$cache_file" != "x/dev/null"; then
   10986       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10987 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10988       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10989 	cat confcache >"$cache_file"
   10990       else
   10991         case $cache_file in #(
   10992         */* | ?:*)
   10993 	  mv -f confcache "$cache_file"$$ &&
   10994 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10995         *)
   10996 	  mv -f confcache "$cache_file" ;;
   10997 	esac
   10998       fi
   10999     fi
   11000   else
   11001     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11002 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11003   fi
   11004 fi
   11005 rm -f confcache
   11006 
   11007 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11008 # Let make expand exec_prefix.
   11009 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11010 
   11011 DEFS=-DHAVE_CONFIG_H
   11012 
   11013 ac_libobjs=
   11014 ac_ltlibobjs=
   11015 U=
   11016 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11017   # 1. Remove the extension, and $U if already installed.
   11018   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11019   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11020   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11021   #    will be set to the directory where LIBOBJS objects are built.
   11022   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11023   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11024 done
   11025 LIBOBJS=$ac_libobjs
   11026 
   11027 LTLIBOBJS=$ac_ltlibobjs
   11028 
   11029 
   11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11031 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11032    if test -n "$am_sleep_pid"; then
   11033      # Hide warnings about reused PIDs.
   11034      wait $am_sleep_pid 2>/dev/null
   11035    fi
   11036    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11037 $as_echo "done" >&6; }
   11038  if test -n "$EXEEXT"; then
   11039   am__EXEEXT_TRUE=
   11040   am__EXEEXT_FALSE='#'
   11041 else
   11042   am__EXEEXT_TRUE='#'
   11043   am__EXEEXT_FALSE=
   11044 fi
   11045 
   11046 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11047   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11049 fi
   11050 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11051   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11053 fi
   11054 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11055   as_fn_error $? "conditional \"LINT\" was never defined.
   11056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11057 fi
   11058 
   11059 : "${CONFIG_STATUS=./config.status}"
   11060 ac_write_fail=0
   11061 ac_clean_files_save=$ac_clean_files
   11062 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11064 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11065 as_write_fail=0
   11066 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11067 #! $SHELL
   11068 # Generated by $as_me.
   11069 # Run this file to recreate the current configuration.
   11070 # Compiler output produced by configure, useful for debugging
   11071 # configure, is in config.log if it exists.
   11072 
   11073 debug=false
   11074 ac_cs_recheck=false
   11075 ac_cs_silent=false
   11076 
   11077 SHELL=\${CONFIG_SHELL-$SHELL}
   11078 export SHELL
   11079 _ASEOF
   11080 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11081 ## -------------------- ##
   11082 ## M4sh Initialization. ##
   11083 ## -------------------- ##
   11084 
   11085 # Be more Bourne compatible
   11086 DUALCASE=1; export DUALCASE # for MKS sh
   11087 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11088   emulate sh
   11089   NULLCMD=:
   11090   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11091   # is contrary to our usage.  Disable this feature.
   11092   alias -g '${1+"$@"}'='"$@"'
   11093   setopt NO_GLOB_SUBST
   11094 else
   11095   case `(set -o) 2>/dev/null` in #(
   11096   *posix*) :
   11097     set -o posix ;; #(
   11098   *) :
   11099      ;;
   11100 esac
   11101 fi
   11102 
   11103 
   11104 as_nl='
   11105 '
   11106 export as_nl
   11107 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11108 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11109 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11111 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11112 # but without wasting forks for bash or zsh.
   11113 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11114     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11115   as_echo='print -r --'
   11116   as_echo_n='print -rn --'
   11117 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11118   as_echo='printf %s\n'
   11119   as_echo_n='printf %s'
   11120 else
   11121   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11122     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11123     as_echo_n='/usr/ucb/echo -n'
   11124   else
   11125     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11126     as_echo_n_body='eval
   11127       arg=$1;
   11128       case $arg in #(
   11129       *"$as_nl"*)
   11130 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11131 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11132       esac;
   11133       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11134     '
   11135     export as_echo_n_body
   11136     as_echo_n='sh -c $as_echo_n_body as_echo'
   11137   fi
   11138   export as_echo_body
   11139   as_echo='sh -c $as_echo_body as_echo'
   11140 fi
   11141 
   11142 # The user is always right.
   11143 if test "${PATH_SEPARATOR+set}" != set; then
   11144   PATH_SEPARATOR=:
   11145   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11146     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11147       PATH_SEPARATOR=';'
   11148   }
   11149 fi
   11150 
   11151 
   11152 # IFS
   11153 # We need space, tab and new line, in precisely that order.  Quoting is
   11154 # there to prevent editors from complaining about space-tab.
   11155 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11156 # splitting by setting IFS to empty value.)
   11157 IFS=" ""	$as_nl"
   11158 
   11159 # Find who we are.  Look in the path if we contain no directory separator.
   11160 as_myself=
   11161 case $0 in #((
   11162   *[\\/]* ) as_myself=$0 ;;
   11163   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11164 for as_dir in $PATH
   11165 do
   11166   IFS=$as_save_IFS
   11167   test -z "$as_dir" && as_dir=.
   11168     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11169   done
   11170 IFS=$as_save_IFS
   11171 
   11172      ;;
   11173 esac
   11174 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11175 # in which case we are not to be found in the path.
   11176 if test "x$as_myself" = x; then
   11177   as_myself=$0
   11178 fi
   11179 if test ! -f "$as_myself"; then
   11180   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11181   exit 1
   11182 fi
   11183 
   11184 # Unset variables that we do not need and which cause bugs (e.g. in
   11185 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11186 # suppresses any "Segmentation fault" message there.  '((' could
   11187 # trigger a bug in pdksh 5.2.14.
   11188 for as_var in BASH_ENV ENV MAIL MAILPATH
   11189 do eval test x\${$as_var+set} = xset \
   11190   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11191 done
   11192 PS1='$ '
   11193 PS2='> '
   11194 PS4='+ '
   11195 
   11196 # NLS nuisances.
   11197 LC_ALL=C
   11198 export LC_ALL
   11199 LANGUAGE=C
   11200 export LANGUAGE
   11201 
   11202 # CDPATH.
   11203 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11204 
   11205 
   11206 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11207 # ----------------------------------------
   11208 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11209 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11210 # script with STATUS, using 1 if that was 0.
   11211 as_fn_error ()
   11212 {
   11213   as_status=$1; test $as_status -eq 0 && as_status=1
   11214   if test "$4"; then
   11215     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11216     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11217   fi
   11218   $as_echo "$as_me: error: $2" >&2
   11219   as_fn_exit $as_status
   11220 } # as_fn_error
   11221 
   11222 
   11223 # as_fn_set_status STATUS
   11224 # -----------------------
   11225 # Set $? to STATUS, without forking.
   11226 as_fn_set_status ()
   11227 {
   11228   return $1
   11229 } # as_fn_set_status
   11230 
   11231 # as_fn_exit STATUS
   11232 # -----------------
   11233 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11234 as_fn_exit ()
   11235 {
   11236   set +e
   11237   as_fn_set_status $1
   11238   exit $1
   11239 } # as_fn_exit
   11240 
   11241 # as_fn_unset VAR
   11242 # ---------------
   11243 # Portably unset VAR.
   11244 as_fn_unset ()
   11245 {
   11246   { eval $1=; unset $1;}
   11247 }
   11248 as_unset=as_fn_unset
   11249 # as_fn_append VAR VALUE
   11250 # ----------------------
   11251 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11252 # advantage of any shell optimizations that allow amortized linear growth over
   11253 # repeated appends, instead of the typical quadratic growth present in naive
   11254 # implementations.
   11255 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11256   eval 'as_fn_append ()
   11257   {
   11258     eval $1+=\$2
   11259   }'
   11260 else
   11261   as_fn_append ()
   11262   {
   11263     eval $1=\$$1\$2
   11264   }
   11265 fi # as_fn_append
   11266 
   11267 # as_fn_arith ARG...
   11268 # ------------------
   11269 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11270 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11271 # must be portable across $(()) and expr.
   11272 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11273   eval 'as_fn_arith ()
   11274   {
   11275     as_val=$(( $* ))
   11276   }'
   11277 else
   11278   as_fn_arith ()
   11279   {
   11280     as_val=`expr "$@" || test $? -eq 1`
   11281   }
   11282 fi # as_fn_arith
   11283 
   11284 
   11285 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11286    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11287   as_expr=expr
   11288 else
   11289   as_expr=false
   11290 fi
   11291 
   11292 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11293   as_basename=basename
   11294 else
   11295   as_basename=false
   11296 fi
   11297 
   11298 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11299   as_dirname=dirname
   11300 else
   11301   as_dirname=false
   11302 fi
   11303 
   11304 as_me=`$as_basename -- "$0" ||
   11305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11306 	 X"$0" : 'X\(//\)$' \| \
   11307 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11308 $as_echo X/"$0" |
   11309     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11310 	    s//\1/
   11311 	    q
   11312 	  }
   11313 	  /^X\/\(\/\/\)$/{
   11314 	    s//\1/
   11315 	    q
   11316 	  }
   11317 	  /^X\/\(\/\).*/{
   11318 	    s//\1/
   11319 	    q
   11320 	  }
   11321 	  s/.*/./; q'`
   11322 
   11323 # Avoid depending upon Character Ranges.
   11324 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11325 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11326 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11327 as_cr_digits='0123456789'
   11328 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11329 
   11330 ECHO_C= ECHO_N= ECHO_T=
   11331 case `echo -n x` in #(((((
   11332 -n*)
   11333   case `echo 'xy\c'` in
   11334   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11335   xy)  ECHO_C='\c';;
   11336   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11337        ECHO_T='	';;
   11338   esac;;
   11339 *)
   11340   ECHO_N='-n';;
   11341 esac
   11342 
   11343 rm -f conf$$ conf$$.exe conf$$.file
   11344 if test -d conf$$.dir; then
   11345   rm -f conf$$.dir/conf$$.file
   11346 else
   11347   rm -f conf$$.dir
   11348   mkdir conf$$.dir 2>/dev/null
   11349 fi
   11350 if (echo >conf$$.file) 2>/dev/null; then
   11351   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11352     as_ln_s='ln -s'
   11353     # ... but there are two gotchas:
   11354     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11355     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11356     # In both cases, we have to default to `cp -pR'.
   11357     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11358       as_ln_s='cp -pR'
   11359   elif ln conf$$.file conf$$ 2>/dev/null; then
   11360     as_ln_s=ln
   11361   else
   11362     as_ln_s='cp -pR'
   11363   fi
   11364 else
   11365   as_ln_s='cp -pR'
   11366 fi
   11367 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11368 rmdir conf$$.dir 2>/dev/null
   11369 
   11370 
   11371 # as_fn_mkdir_p
   11372 # -------------
   11373 # Create "$as_dir" as a directory, including parents if necessary.
   11374 as_fn_mkdir_p ()
   11375 {
   11376 
   11377   case $as_dir in #(
   11378   -*) as_dir=./$as_dir;;
   11379   esac
   11380   test -d "$as_dir" || eval $as_mkdir_p || {
   11381     as_dirs=
   11382     while :; do
   11383       case $as_dir in #(
   11384       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11385       *) as_qdir=$as_dir;;
   11386       esac
   11387       as_dirs="'$as_qdir' $as_dirs"
   11388       as_dir=`$as_dirname -- "$as_dir" ||
   11389 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11390 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11391 	 X"$as_dir" : 'X\(//\)$' \| \
   11392 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11393 $as_echo X"$as_dir" |
   11394     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11395 	    s//\1/
   11396 	    q
   11397 	  }
   11398 	  /^X\(\/\/\)[^/].*/{
   11399 	    s//\1/
   11400 	    q
   11401 	  }
   11402 	  /^X\(\/\/\)$/{
   11403 	    s//\1/
   11404 	    q
   11405 	  }
   11406 	  /^X\(\/\).*/{
   11407 	    s//\1/
   11408 	    q
   11409 	  }
   11410 	  s/.*/./; q'`
   11411       test -d "$as_dir" && break
   11412     done
   11413     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11414   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11415 
   11416 
   11417 } # as_fn_mkdir_p
   11418 if mkdir -p . 2>/dev/null; then
   11419   as_mkdir_p='mkdir -p "$as_dir"'
   11420 else
   11421   test -d ./-p && rmdir ./-p
   11422   as_mkdir_p=false
   11423 fi
   11424 
   11425 
   11426 # as_fn_executable_p FILE
   11427 # -----------------------
   11428 # Test if FILE is an executable regular file.
   11429 as_fn_executable_p ()
   11430 {
   11431   test -f "$1" && test -x "$1"
   11432 } # as_fn_executable_p
   11433 as_test_x='test -x'
   11434 as_executable_p=as_fn_executable_p
   11435 
   11436 # Sed expression to map a string onto a valid CPP name.
   11437 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11438 
   11439 # Sed expression to map a string onto a valid variable name.
   11440 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11441 
   11442 
   11443 exec 6>&1
   11444 ## ----------------------------------- ##
   11445 ## Main body of $CONFIG_STATUS script. ##
   11446 ## ----------------------------------- ##
   11447 _ASEOF
   11448 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11449 
   11450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11451 # Save the log message, to keep $0 and so on meaningful, and to
   11452 # report actual input values of CONFIG_FILES etc. instead of their
   11453 # values after options handling.
   11454 ac_log="
   11455 This file was extended by xprop $as_me 1.2.3, which was
   11456 generated by GNU Autoconf 2.69.  Invocation command line was
   11457 
   11458   CONFIG_FILES    = $CONFIG_FILES
   11459   CONFIG_HEADERS  = $CONFIG_HEADERS
   11460   CONFIG_LINKS    = $CONFIG_LINKS
   11461   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11462   $ $0 $@
   11463 
   11464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11465 "
   11466 
   11467 _ACEOF
   11468 
   11469 case $ac_config_files in *"
   11470 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11471 esac
   11472 
   11473 case $ac_config_headers in *"
   11474 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11475 esac
   11476 
   11477 
   11478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11479 # Files that config.status was made for.
   11480 config_files="$ac_config_files"
   11481 config_headers="$ac_config_headers"
   11482 config_commands="$ac_config_commands"
   11483 
   11484 _ACEOF
   11485 
   11486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11487 ac_cs_usage="\
   11488 \`$as_me' instantiates files and other configuration actions
   11489 from templates according to the current configuration.  Unless the files
   11490 and actions are specified as TAGs, all are instantiated by default.
   11491 
   11492 Usage: $0 [OPTION]... [TAG]...
   11493 
   11494   -h, --help       print this help, then exit
   11495   -V, --version    print version number and configuration settings, then exit
   11496       --config     print configuration, then exit
   11497   -q, --quiet, --silent
   11498                    do not print progress messages
   11499   -d, --debug      don't remove temporary files
   11500       --recheck    update $as_me by reconfiguring in the same conditions
   11501       --file=FILE[:TEMPLATE]
   11502                    instantiate the configuration file FILE
   11503       --header=FILE[:TEMPLATE]
   11504                    instantiate the configuration header FILE
   11505 
   11506 Configuration files:
   11507 $config_files
   11508 
   11509 Configuration headers:
   11510 $config_headers
   11511 
   11512 Configuration commands:
   11513 $config_commands
   11514 
   11515 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11516 
   11517 _ACEOF
   11518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11519 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11520 ac_cs_version="\\
   11521 xprop config.status 1.2.3
   11522 configured by $0, generated by GNU Autoconf 2.69,
   11523   with options \\"\$ac_cs_config\\"
   11524 
   11525 Copyright (C) 2012 Free Software Foundation, Inc.
   11526 This config.status script is free software; the Free Software Foundation
   11527 gives unlimited permission to copy, distribute and modify it."
   11528 
   11529 ac_pwd='$ac_pwd'
   11530 srcdir='$srcdir'
   11531 INSTALL='$INSTALL'
   11532 MKDIR_P='$MKDIR_P'
   11533 AWK='$AWK'
   11534 test -n "\$AWK" || AWK=awk
   11535 _ACEOF
   11536 
   11537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11538 # The default lists apply if the user does not specify any file.
   11539 ac_need_defaults=:
   11540 while test $# != 0
   11541 do
   11542   case $1 in
   11543   --*=?*)
   11544     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11545     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11546     ac_shift=:
   11547     ;;
   11548   --*=)
   11549     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11550     ac_optarg=
   11551     ac_shift=:
   11552     ;;
   11553   *)
   11554     ac_option=$1
   11555     ac_optarg=$2
   11556     ac_shift=shift
   11557     ;;
   11558   esac
   11559 
   11560   case $ac_option in
   11561   # Handling of the options.
   11562   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11563     ac_cs_recheck=: ;;
   11564   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11565     $as_echo "$ac_cs_version"; exit ;;
   11566   --config | --confi | --conf | --con | --co | --c )
   11567     $as_echo "$ac_cs_config"; exit ;;
   11568   --debug | --debu | --deb | --de | --d | -d )
   11569     debug=: ;;
   11570   --file | --fil | --fi | --f )
   11571     $ac_shift
   11572     case $ac_optarg in
   11573     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11574     '') as_fn_error $? "missing file argument" ;;
   11575     esac
   11576     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11577     ac_need_defaults=false;;
   11578   --header | --heade | --head | --hea )
   11579     $ac_shift
   11580     case $ac_optarg in
   11581     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11582     esac
   11583     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11584     ac_need_defaults=false;;
   11585   --he | --h)
   11586     # Conflict between --help and --header
   11587     as_fn_error $? "ambiguous option: \`$1'
   11588 Try \`$0 --help' for more information.";;
   11589   --help | --hel | -h )
   11590     $as_echo "$ac_cs_usage"; exit ;;
   11591   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11592   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11593     ac_cs_silent=: ;;
   11594 
   11595   # This is an error.
   11596   -*) as_fn_error $? "unrecognized option: \`$1'
   11597 Try \`$0 --help' for more information." ;;
   11598 
   11599   *) as_fn_append ac_config_targets " $1"
   11600      ac_need_defaults=false ;;
   11601 
   11602   esac
   11603   shift
   11604 done
   11605 
   11606 ac_configure_extra_args=
   11607 
   11608 if $ac_cs_silent; then
   11609   exec 6>/dev/null
   11610   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11611 fi
   11612 
   11613 _ACEOF
   11614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11615 if \$ac_cs_recheck; then
   11616   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11617   shift
   11618   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11619   CONFIG_SHELL='$SHELL'
   11620   export CONFIG_SHELL
   11621   exec "\$@"
   11622 fi
   11623 
   11624 _ACEOF
   11625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11626 exec 5>>config.log
   11627 {
   11628   echo
   11629   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11630 ## Running $as_me. ##
   11631 _ASBOX
   11632   $as_echo "$ac_log"
   11633 } >&5
   11634 
   11635 _ACEOF
   11636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11637 #
   11638 # INIT-COMMANDS
   11639 #
   11640 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11641 
   11642 _ACEOF
   11643 
   11644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11645 
   11646 # Handling of arguments.
   11647 for ac_config_target in $ac_config_targets
   11648 do
   11649   case $ac_config_target in
   11650     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11651     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11652     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11653     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11654 
   11655   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11656   esac
   11657 done
   11658 
   11659 
   11660 # If the user did not use the arguments to specify the items to instantiate,
   11661 # then the envvar interface is used.  Set only those that are not.
   11662 # We use the long form for the default assignment because of an extremely
   11663 # bizarre bug on SunOS 4.1.3.
   11664 if $ac_need_defaults; then
   11665   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11666   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11667   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11668 fi
   11669 
   11670 # Have a temporary directory for convenience.  Make it in the build tree
   11671 # simply because there is no reason against having it here, and in addition,
   11672 # creating and moving files from /tmp can sometimes cause problems.
   11673 # Hook for its removal unless debugging.
   11674 # Note that there is a small window in which the directory will not be cleaned:
   11675 # after its creation but before its name has been assigned to `$tmp'.
   11676 $debug ||
   11677 {
   11678   tmp= ac_tmp=
   11679   trap 'exit_status=$?
   11680   : "${ac_tmp:=$tmp}"
   11681   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11682 ' 0
   11683   trap 'as_fn_exit 1' 1 2 13 15
   11684 }
   11685 # Create a (secure) tmp directory for tmp files.
   11686 
   11687 {
   11688   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11689   test -d "$tmp"
   11690 }  ||
   11691 {
   11692   tmp=./conf$$-$RANDOM
   11693   (umask 077 && mkdir "$tmp")
   11694 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11695 ac_tmp=$tmp
   11696 
   11697 # Set up the scripts for CONFIG_FILES section.
   11698 # No need to generate them if there are no CONFIG_FILES.
   11699 # This happens for instance with `./config.status config.h'.
   11700 if test -n "$CONFIG_FILES"; then
   11701 
   11702 
   11703 ac_cr=`echo X | tr X '\015'`
   11704 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11705 # But we know of no other shell where ac_cr would be empty at this
   11706 # point, so we can use a bashism as a fallback.
   11707 if test "x$ac_cr" = x; then
   11708   eval ac_cr=\$\'\\r\'
   11709 fi
   11710 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11711 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11712   ac_cs_awk_cr='\\r'
   11713 else
   11714   ac_cs_awk_cr=$ac_cr
   11715 fi
   11716 
   11717 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11718 _ACEOF
   11719 
   11720 
   11721 {
   11722   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11723   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11724   echo "_ACEOF"
   11725 } >conf$$subs.sh ||
   11726   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11727 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11728 ac_delim='%!_!# '
   11729 for ac_last_try in false false false false false :; do
   11730   . ./conf$$subs.sh ||
   11731     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11732 
   11733   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11734   if test $ac_delim_n = $ac_delim_num; then
   11735     break
   11736   elif $ac_last_try; then
   11737     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11738   else
   11739     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11740   fi
   11741 done
   11742 rm -f conf$$subs.sh
   11743 
   11744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11745 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11746 _ACEOF
   11747 sed -n '
   11748 h
   11749 s/^/S["/; s/!.*/"]=/
   11750 p
   11751 g
   11752 s/^[^!]*!//
   11753 :repl
   11754 t repl
   11755 s/'"$ac_delim"'$//
   11756 t delim
   11757 :nl
   11758 h
   11759 s/\(.\{148\}\)..*/\1/
   11760 t more1
   11761 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11762 p
   11763 n
   11764 b repl
   11765 :more1
   11766 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11767 p
   11768 g
   11769 s/.\{148\}//
   11770 t nl
   11771 :delim
   11772 h
   11773 s/\(.\{148\}\)..*/\1/
   11774 t more2
   11775 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11776 p
   11777 b
   11778 :more2
   11779 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11780 p
   11781 g
   11782 s/.\{148\}//
   11783 t delim
   11784 ' <conf$$subs.awk | sed '
   11785 /^[^""]/{
   11786   N
   11787   s/\n//
   11788 }
   11789 ' >>$CONFIG_STATUS || ac_write_fail=1
   11790 rm -f conf$$subs.awk
   11791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11792 _ACAWK
   11793 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11794   for (key in S) S_is_set[key] = 1
   11795   FS = ""
   11796 
   11797 }
   11798 {
   11799   line = $ 0
   11800   nfields = split(line, field, "@")
   11801   substed = 0
   11802   len = length(field[1])
   11803   for (i = 2; i < nfields; i++) {
   11804     key = field[i]
   11805     keylen = length(key)
   11806     if (S_is_set[key]) {
   11807       value = S[key]
   11808       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11809       len += length(value) + length(field[++i])
   11810       substed = 1
   11811     } else
   11812       len += 1 + keylen
   11813   }
   11814 
   11815   print line
   11816 }
   11817 
   11818 _ACAWK
   11819 _ACEOF
   11820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11821 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11822   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11823 else
   11824   cat
   11825 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11826   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11827 _ACEOF
   11828 
   11829 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11830 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11831 # trailing colons and then remove the whole line if VPATH becomes empty
   11832 # (actually we leave an empty line to preserve line numbers).
   11833 if test "x$srcdir" = x.; then
   11834   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11835 h
   11836 s///
   11837 s/^/:/
   11838 s/[	 ]*$/:/
   11839 s/:\$(srcdir):/:/g
   11840 s/:\${srcdir}:/:/g
   11841 s/:@srcdir@:/:/g
   11842 s/^:*//
   11843 s/:*$//
   11844 x
   11845 s/\(=[	 ]*\).*/\1/
   11846 G
   11847 s/\n//
   11848 s/^[^=]*=[	 ]*$//
   11849 }'
   11850 fi
   11851 
   11852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11853 fi # test -n "$CONFIG_FILES"
   11854 
   11855 # Set up the scripts for CONFIG_HEADERS section.
   11856 # No need to generate them if there are no CONFIG_HEADERS.
   11857 # This happens for instance with `./config.status Makefile'.
   11858 if test -n "$CONFIG_HEADERS"; then
   11859 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11860 BEGIN {
   11861 _ACEOF
   11862 
   11863 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11864 # here-document in config.status, that substitutes the proper values into
   11865 # config.h.in to produce config.h.
   11866 
   11867 # Create a delimiter string that does not exist in confdefs.h, to ease
   11868 # handling of long lines.
   11869 ac_delim='%!_!# '
   11870 for ac_last_try in false false :; do
   11871   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11872   if test -z "$ac_tt"; then
   11873     break
   11874   elif $ac_last_try; then
   11875     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11876   else
   11877     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11878   fi
   11879 done
   11880 
   11881 # For the awk script, D is an array of macro values keyed by name,
   11882 # likewise P contains macro parameters if any.  Preserve backslash
   11883 # newline sequences.
   11884 
   11885 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11886 sed -n '
   11887 s/.\{148\}/&'"$ac_delim"'/g
   11888 t rset
   11889 :rset
   11890 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11891 t def
   11892 d
   11893 :def
   11894 s/\\$//
   11895 t bsnl
   11896 s/["\\]/\\&/g
   11897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11898 D["\1"]=" \3"/p
   11899 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11900 d
   11901 :bsnl
   11902 s/["\\]/\\&/g
   11903 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11904 D["\1"]=" \3\\\\\\n"\\/p
   11905 t cont
   11906 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11907 t cont
   11908 d
   11909 :cont
   11910 n
   11911 s/.\{148\}/&'"$ac_delim"'/g
   11912 t clear
   11913 :clear
   11914 s/\\$//
   11915 t bsnlc
   11916 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11917 d
   11918 :bsnlc
   11919 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11920 b cont
   11921 ' <confdefs.h | sed '
   11922 s/'"$ac_delim"'/"\\\
   11923 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11924 
   11925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11926   for (key in D) D_is_set[key] = 1
   11927   FS = ""
   11928 }
   11929 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11930   line = \$ 0
   11931   split(line, arg, " ")
   11932   if (arg[1] == "#") {
   11933     defundef = arg[2]
   11934     mac1 = arg[3]
   11935   } else {
   11936     defundef = substr(arg[1], 2)
   11937     mac1 = arg[2]
   11938   }
   11939   split(mac1, mac2, "(") #)
   11940   macro = mac2[1]
   11941   prefix = substr(line, 1, index(line, defundef) - 1)
   11942   if (D_is_set[macro]) {
   11943     # Preserve the white space surrounding the "#".
   11944     print prefix "define", macro P[macro] D[macro]
   11945     next
   11946   } else {
   11947     # Replace #undef with comments.  This is necessary, for example,
   11948     # in the case of _POSIX_SOURCE, which is predefined and required
   11949     # on some systems where configure will not decide to define it.
   11950     if (defundef == "undef") {
   11951       print "/*", prefix defundef, macro, "*/"
   11952       next
   11953     }
   11954   }
   11955 }
   11956 { print }
   11957 _ACAWK
   11958 _ACEOF
   11959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11960   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11961 fi # test -n "$CONFIG_HEADERS"
   11962 
   11963 
   11964 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11965 shift
   11966 for ac_tag
   11967 do
   11968   case $ac_tag in
   11969   :[FHLC]) ac_mode=$ac_tag; continue;;
   11970   esac
   11971   case $ac_mode$ac_tag in
   11972   :[FHL]*:*);;
   11973   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11974   :[FH]-) ac_tag=-:-;;
   11975   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11976   esac
   11977   ac_save_IFS=$IFS
   11978   IFS=:
   11979   set x $ac_tag
   11980   IFS=$ac_save_IFS
   11981   shift
   11982   ac_file=$1
   11983   shift
   11984 
   11985   case $ac_mode in
   11986   :L) ac_source=$1;;
   11987   :[FH])
   11988     ac_file_inputs=
   11989     for ac_f
   11990     do
   11991       case $ac_f in
   11992       -) ac_f="$ac_tmp/stdin";;
   11993       *) # Look for the file first in the build tree, then in the source tree
   11994 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11995 	 # because $ac_f cannot contain `:'.
   11996 	 test -f "$ac_f" ||
   11997 	   case $ac_f in
   11998 	   [\\/$]*) false;;
   11999 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12000 	   esac ||
   12001 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12002       esac
   12003       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12004       as_fn_append ac_file_inputs " '$ac_f'"
   12005     done
   12006 
   12007     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12008     # use $as_me), people would be surprised to read:
   12009     #    /* config.h.  Generated by config.status.  */
   12010     configure_input='Generated from '`
   12011 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12012 	`' by configure.'
   12013     if test x"$ac_file" != x-; then
   12014       configure_input="$ac_file.  $configure_input"
   12015       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12016 $as_echo "$as_me: creating $ac_file" >&6;}
   12017     fi
   12018     # Neutralize special characters interpreted by sed in replacement strings.
   12019     case $configure_input in #(
   12020     *\&* | *\|* | *\\* )
   12021        ac_sed_conf_input=`$as_echo "$configure_input" |
   12022        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12023     *) ac_sed_conf_input=$configure_input;;
   12024     esac
   12025 
   12026     case $ac_tag in
   12027     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12028       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12029     esac
   12030     ;;
   12031   esac
   12032 
   12033   ac_dir=`$as_dirname -- "$ac_file" ||
   12034 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12035 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12036 	 X"$ac_file" : 'X\(//\)$' \| \
   12037 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12038 $as_echo X"$ac_file" |
   12039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12040 	    s//\1/
   12041 	    q
   12042 	  }
   12043 	  /^X\(\/\/\)[^/].*/{
   12044 	    s//\1/
   12045 	    q
   12046 	  }
   12047 	  /^X\(\/\/\)$/{
   12048 	    s//\1/
   12049 	    q
   12050 	  }
   12051 	  /^X\(\/\).*/{
   12052 	    s//\1/
   12053 	    q
   12054 	  }
   12055 	  s/.*/./; q'`
   12056   as_dir="$ac_dir"; as_fn_mkdir_p
   12057   ac_builddir=.
   12058 
   12059 case "$ac_dir" in
   12060 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12061 *)
   12062   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12063   # A ".." for each directory in $ac_dir_suffix.
   12064   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12065   case $ac_top_builddir_sub in
   12066   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12067   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12068   esac ;;
   12069 esac
   12070 ac_abs_top_builddir=$ac_pwd
   12071 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12072 # for backward compatibility:
   12073 ac_top_builddir=$ac_top_build_prefix
   12074 
   12075 case $srcdir in
   12076   .)  # We are building in place.
   12077     ac_srcdir=.
   12078     ac_top_srcdir=$ac_top_builddir_sub
   12079     ac_abs_top_srcdir=$ac_pwd ;;
   12080   [\\/]* | ?:[\\/]* )  # Absolute name.
   12081     ac_srcdir=$srcdir$ac_dir_suffix;
   12082     ac_top_srcdir=$srcdir
   12083     ac_abs_top_srcdir=$srcdir ;;
   12084   *) # Relative name.
   12085     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12086     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12087     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12088 esac
   12089 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12090 
   12091 
   12092   case $ac_mode in
   12093   :F)
   12094   #
   12095   # CONFIG_FILE
   12096   #
   12097 
   12098   case $INSTALL in
   12099   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12100   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12101   esac
   12102   ac_MKDIR_P=$MKDIR_P
   12103   case $MKDIR_P in
   12104   [\\/$]* | ?:[\\/]* ) ;;
   12105   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12106   esac
   12107 _ACEOF
   12108 
   12109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12110 # If the template does not know about datarootdir, expand it.
   12111 # FIXME: This hack should be removed a few years after 2.60.
   12112 ac_datarootdir_hack=; ac_datarootdir_seen=
   12113 ac_sed_dataroot='
   12114 /datarootdir/ {
   12115   p
   12116   q
   12117 }
   12118 /@datadir@/p
   12119 /@docdir@/p
   12120 /@infodir@/p
   12121 /@localedir@/p
   12122 /@mandir@/p'
   12123 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12124 *datarootdir*) ac_datarootdir_seen=yes;;
   12125 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12126   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12127 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12128 _ACEOF
   12129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12130   ac_datarootdir_hack='
   12131   s&@datadir@&$datadir&g
   12132   s&@docdir@&$docdir&g
   12133   s&@infodir@&$infodir&g
   12134   s&@localedir@&$localedir&g
   12135   s&@mandir@&$mandir&g
   12136   s&\\\${datarootdir}&$datarootdir&g' ;;
   12137 esac
   12138 _ACEOF
   12139 
   12140 # Neutralize VPATH when `$srcdir' = `.'.
   12141 # Shell code in configure.ac might set extrasub.
   12142 # FIXME: do we really want to maintain this feature?
   12143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12144 ac_sed_extra="$ac_vpsub
   12145 $extrasub
   12146 _ACEOF
   12147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12148 :t
   12149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12150 s|@configure_input@|$ac_sed_conf_input|;t t
   12151 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12152 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12153 s&@srcdir@&$ac_srcdir&;t t
   12154 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12155 s&@top_srcdir@&$ac_top_srcdir&;t t
   12156 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12157 s&@builddir@&$ac_builddir&;t t
   12158 s&@abs_builddir@&$ac_abs_builddir&;t t
   12159 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12160 s&@INSTALL@&$ac_INSTALL&;t t
   12161 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12162 $ac_datarootdir_hack
   12163 "
   12164 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12165   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12166 
   12167 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12168   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12169   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12170       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12171   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12172 which seems to be undefined.  Please make sure it is defined" >&5
   12173 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12174 which seems to be undefined.  Please make sure it is defined" >&2;}
   12175 
   12176   rm -f "$ac_tmp/stdin"
   12177   case $ac_file in
   12178   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12179   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12180   esac \
   12181   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12182  ;;
   12183   :H)
   12184   #
   12185   # CONFIG_HEADER
   12186   #
   12187   if test x"$ac_file" != x-; then
   12188     {
   12189       $as_echo "/* $configure_input  */" \
   12190       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12191     } >"$ac_tmp/config.h" \
   12192       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12193     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12194       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12195 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12196     else
   12197       rm -f "$ac_file"
   12198       mv "$ac_tmp/config.h" "$ac_file" \
   12199 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12200     fi
   12201   else
   12202     $as_echo "/* $configure_input  */" \
   12203       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12204       || as_fn_error $? "could not create -" "$LINENO" 5
   12205   fi
   12206 # Compute "$ac_file"'s index in $config_headers.
   12207 _am_arg="$ac_file"
   12208 _am_stamp_count=1
   12209 for _am_header in $config_headers :; do
   12210   case $_am_header in
   12211     $_am_arg | $_am_arg:* )
   12212       break ;;
   12213     * )
   12214       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12215   esac
   12216 done
   12217 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12218 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12219 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12220 	 X"$_am_arg" : 'X\(//\)$' \| \
   12221 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12222 $as_echo X"$_am_arg" |
   12223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12224 	    s//\1/
   12225 	    q
   12226 	  }
   12227 	  /^X\(\/\/\)[^/].*/{
   12228 	    s//\1/
   12229 	    q
   12230 	  }
   12231 	  /^X\(\/\/\)$/{
   12232 	    s//\1/
   12233 	    q
   12234 	  }
   12235 	  /^X\(\/\).*/{
   12236 	    s//\1/
   12237 	    q
   12238 	  }
   12239 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12240  ;;
   12241 
   12242   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12243 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12244  ;;
   12245   esac
   12246 
   12247 
   12248   case $ac_file$ac_mode in
   12249     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12250   # Older Autoconf quotes --file arguments for eval, but not when files
   12251   # are listed without --file.  Let's play safe and only enable the eval
   12252   # if we detect the quoting.
   12253   case $CONFIG_FILES in
   12254   *\'*) eval set x "$CONFIG_FILES" ;;
   12255   *)   set x $CONFIG_FILES ;;
   12256   esac
   12257   shift
   12258   for mf
   12259   do
   12260     # Strip MF so we end up with the name of the file.
   12261     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12262     # Check whether this is an Automake generated Makefile or not.
   12263     # We used to match only the files named 'Makefile.in', but
   12264     # some people rename them; so instead we look at the file content.
   12265     # Grep'ing the first line is not enough: some people post-process
   12266     # each Makefile.in and add a new line on top of each file to say so.
   12267     # Grep'ing the whole file is not good either: AIX grep has a line
   12268     # limit of 2048, but all sed's we know have understand at least 4000.
   12269     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12270       dirpart=`$as_dirname -- "$mf" ||
   12271 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12272 	 X"$mf" : 'X\(//\)[^/]' \| \
   12273 	 X"$mf" : 'X\(//\)$' \| \
   12274 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12275 $as_echo X"$mf" |
   12276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12277 	    s//\1/
   12278 	    q
   12279 	  }
   12280 	  /^X\(\/\/\)[^/].*/{
   12281 	    s//\1/
   12282 	    q
   12283 	  }
   12284 	  /^X\(\/\/\)$/{
   12285 	    s//\1/
   12286 	    q
   12287 	  }
   12288 	  /^X\(\/\).*/{
   12289 	    s//\1/
   12290 	    q
   12291 	  }
   12292 	  s/.*/./; q'`
   12293     else
   12294       continue
   12295     fi
   12296     # Extract the definition of DEPDIR, am__include, and am__quote
   12297     # from the Makefile without running 'make'.
   12298     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12299     test -z "$DEPDIR" && continue
   12300     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12301     test -z "$am__include" && continue
   12302     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12303     # Find all dependency output files, they are included files with
   12304     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12305     # simplest approach to changing $(DEPDIR) to its actual value in the
   12306     # expansion.
   12307     for file in `sed -n "
   12308       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12309 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12310       # Make sure the directory exists.
   12311       test -f "$dirpart/$file" && continue
   12312       fdir=`$as_dirname -- "$file" ||
   12313 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12314 	 X"$file" : 'X\(//\)[^/]' \| \
   12315 	 X"$file" : 'X\(//\)$' \| \
   12316 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12317 $as_echo X"$file" |
   12318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12319 	    s//\1/
   12320 	    q
   12321 	  }
   12322 	  /^X\(\/\/\)[^/].*/{
   12323 	    s//\1/
   12324 	    q
   12325 	  }
   12326 	  /^X\(\/\/\)$/{
   12327 	    s//\1/
   12328 	    q
   12329 	  }
   12330 	  /^X\(\/\).*/{
   12331 	    s//\1/
   12332 	    q
   12333 	  }
   12334 	  s/.*/./; q'`
   12335       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12336       # echo "creating $dirpart/$file"
   12337       echo '# dummy' > "$dirpart/$file"
   12338     done
   12339   done
   12340 }
   12341  ;;
   12342 
   12343   esac
   12344 done # for ac_tag
   12345 
   12346 
   12347 as_fn_exit 0
   12348 _ACEOF
   12349 ac_clean_files=$ac_clean_files_save
   12350 
   12351 test $ac_write_fail = 0 ||
   12352   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12353 
   12354 
   12355 # configure is writing to config.log, and then calls config.status.
   12356 # config.status does its own redirection, appending to config.log.
   12357 # Unfortunately, on DOS this fails, as config.log is still kept open
   12358 # by configure, so config.status won't be able to write to it; its
   12359 # output is simply discarded.  So we exec the FD to /dev/null,
   12360 # effectively closing config.log, so it can be properly (re)opened and
   12361 # appended to by config.status.  When coming back to configure, we
   12362 # need to make the FD available again.
   12363 if test "$no_create" != yes; then
   12364   ac_cs_success=:
   12365   ac_config_status_args=
   12366   test "$silent" = yes &&
   12367     ac_config_status_args="$ac_config_status_args --quiet"
   12368   exec 5>/dev/null
   12369   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12370   exec 5>>config.log
   12371   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12372   # would make configure fail if this is the last instruction.
   12373   $ac_cs_success || as_fn_exit 1
   12374 fi
   12375 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12376   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12377 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12378 fi
   12379 
   12380