Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xbiff 1.0.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/issues>.
      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://gitlab.freedesktop.org/xorg/app/xbiff/issues
    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='xbiff'
    583 PACKAGE_TARNAME='xbiff'
    584 PACKAGE_VERSION='1.0.4'
    585 PACKAGE_STRING='xbiff 1.0.4'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xbiff/issues'
    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 XBIFF_LIBS
    631 XBIFF_CFLAGS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG_LIBDIR
    657 PKG_CONFIG_PATH
    658 PKG_CONFIG
    659 CHANGELOG_CMD
    660 STRICT_CFLAGS
    661 CWARNFLAGS
    662 BASE_CFLAGS
    663 EGREP
    664 GREP
    665 CPP
    666 am__fastdepCC_FALSE
    667 am__fastdepCC_TRUE
    668 CCDEPMODE
    669 am__nodep
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 AM_BACKSLASH
    684 AM_DEFAULT_VERBOSITY
    685 AM_DEFAULT_V
    686 AM_V
    687 am__untar
    688 am__tar
    689 AMTAR
    690 am__leading_dot
    691 SET_MAKE
    692 AWK
    693 mkdir_p
    694 MKDIR_P
    695 INSTALL_STRIP_PROGRAM
    696 STRIP
    697 install_sh
    698 MAKEINFO
    699 AUTOHEADER
    700 AUTOMAKE
    701 AUTOCONF
    702 ACLOCAL
    703 VERSION
    704 PACKAGE
    705 CYGPATH_W
    706 am__isrc
    707 INSTALL_DATA
    708 INSTALL_SCRIPT
    709 INSTALL_PROGRAM
    710 target_alias
    711 host_alias
    712 build_alias
    713 LIBS
    714 ECHO_T
    715 ECHO_N
    716 ECHO_C
    717 DEFS
    718 mandir
    719 localedir
    720 libdir
    721 psdir
    722 pdfdir
    723 dvidir
    724 htmldir
    725 infodir
    726 docdir
    727 oldincludedir
    728 includedir
    729 localstatedir
    730 sharedstatedir
    731 sysconfdir
    732 datadir
    733 datarootdir
    734 libexecdir
    735 sbindir
    736 bindir
    737 program_transform_name
    738 prefix
    739 exec_prefix
    740 PACKAGE_URL
    741 PACKAGE_BUGREPORT
    742 PACKAGE_STRING
    743 PACKAGE_VERSION
    744 PACKAGE_TARNAME
    745 PACKAGE_NAME
    746 PATH_SEPARATOR
    747 SHELL'
    748 ac_subst_files=''
    749 ac_user_opts='
    750 enable_option_checking
    751 enable_silent_rules
    752 enable_dependency_tracking
    753 enable_selective_werror
    754 enable_strict_compilation
    755 with_mailbox_directory
    756 '
    757       ac_precious_vars='build_alias
    758 host_alias
    759 target_alias
    760 CC
    761 CFLAGS
    762 LDFLAGS
    763 LIBS
    764 CPPFLAGS
    765 CPP
    766 PKG_CONFIG
    767 PKG_CONFIG_PATH
    768 PKG_CONFIG_LIBDIR
    769 XBIFF_CFLAGS
    770 XBIFF_LIBS'
    771 
    772 
    773 # Initialize some variables set by options.
    774 ac_init_help=
    775 ac_init_version=false
    776 ac_unrecognized_opts=
    777 ac_unrecognized_sep=
    778 # The variables have the same names as the options, with
    779 # dashes changed to underlines.
    780 cache_file=/dev/null
    781 exec_prefix=NONE
    782 no_create=
    783 no_recursion=
    784 prefix=NONE
    785 program_prefix=NONE
    786 program_suffix=NONE
    787 program_transform_name=s,x,x,
    788 silent=
    789 site=
    790 srcdir=
    791 verbose=
    792 x_includes=NONE
    793 x_libraries=NONE
    794 
    795 # Installation directory options.
    796 # These are left unexpanded so users can "make install exec_prefix=/foo"
    797 # and all the variables that are supposed to be based on exec_prefix
    798 # by default will actually change.
    799 # Use braces instead of parens because sh, perl, etc. also accept them.
    800 # (The list follows the same order as the GNU Coding Standards.)
    801 bindir='${exec_prefix}/bin'
    802 sbindir='${exec_prefix}/sbin'
    803 libexecdir='${exec_prefix}/libexec'
    804 datarootdir='${prefix}/share'
    805 datadir='${datarootdir}'
    806 sysconfdir='${prefix}/etc'
    807 sharedstatedir='${prefix}/com'
    808 localstatedir='${prefix}/var'
    809 includedir='${prefix}/include'
    810 oldincludedir='/usr/include'
    811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    812 infodir='${datarootdir}/info'
    813 htmldir='${docdir}'
    814 dvidir='${docdir}'
    815 pdfdir='${docdir}'
    816 psdir='${docdir}'
    817 libdir='${exec_prefix}/lib'
    818 localedir='${datarootdir}/locale'
    819 mandir='${datarootdir}/man'
    820 
    821 ac_prev=
    822 ac_dashdash=
    823 for ac_option
    824 do
    825   # If the previous option needs an argument, assign it.
    826   if test -n "$ac_prev"; then
    827     eval $ac_prev=\$ac_option
    828     ac_prev=
    829     continue
    830   fi
    831 
    832   case $ac_option in
    833   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    834   *=)   ac_optarg= ;;
    835   *)    ac_optarg=yes ;;
    836   esac
    837 
    838   # Accept the important Cygnus configure options, so we can diagnose typos.
    839 
    840   case $ac_dashdash$ac_option in
    841   --)
    842     ac_dashdash=yes ;;
    843 
    844   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    845     ac_prev=bindir ;;
    846   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    847     bindir=$ac_optarg ;;
    848 
    849   -build | --build | --buil | --bui | --bu)
    850     ac_prev=build_alias ;;
    851   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    852     build_alias=$ac_optarg ;;
    853 
    854   -cache-file | --cache-file | --cache-fil | --cache-fi \
    855   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    856     ac_prev=cache_file ;;
    857   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    858   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    859     cache_file=$ac_optarg ;;
    860 
    861   --config-cache | -C)
    862     cache_file=config.cache ;;
    863 
    864   -datadir | --datadir | --datadi | --datad)
    865     ac_prev=datadir ;;
    866   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    867     datadir=$ac_optarg ;;
    868 
    869   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    870   | --dataroo | --dataro | --datar)
    871     ac_prev=datarootdir ;;
    872   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    873   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    874     datarootdir=$ac_optarg ;;
    875 
    876   -disable-* | --disable-*)
    877     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    878     # Reject names that are not valid shell variable names.
    879     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    880       as_fn_error $? "invalid feature name: $ac_useropt"
    881     ac_useropt_orig=$ac_useropt
    882     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    883     case $ac_user_opts in
    884       *"
    885 "enable_$ac_useropt"
    886 "*) ;;
    887       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    888 	 ac_unrecognized_sep=', ';;
    889     esac
    890     eval enable_$ac_useropt=no ;;
    891 
    892   -docdir | --docdir | --docdi | --doc | --do)
    893     ac_prev=docdir ;;
    894   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    895     docdir=$ac_optarg ;;
    896 
    897   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    898     ac_prev=dvidir ;;
    899   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    900     dvidir=$ac_optarg ;;
    901 
    902   -enable-* | --enable-*)
    903     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    904     # Reject names that are not valid shell variable names.
    905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    906       as_fn_error $? "invalid feature name: $ac_useropt"
    907     ac_useropt_orig=$ac_useropt
    908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    909     case $ac_user_opts in
    910       *"
    911 "enable_$ac_useropt"
    912 "*) ;;
    913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    914 	 ac_unrecognized_sep=', ';;
    915     esac
    916     eval enable_$ac_useropt=\$ac_optarg ;;
    917 
    918   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    919   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    920   | --exec | --exe | --ex)
    921     ac_prev=exec_prefix ;;
    922   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    923   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    924   | --exec=* | --exe=* | --ex=*)
    925     exec_prefix=$ac_optarg ;;
    926 
    927   -gas | --gas | --ga | --g)
    928     # Obsolete; use --with-gas.
    929     with_gas=yes ;;
    930 
    931   -help | --help | --hel | --he | -h)
    932     ac_init_help=long ;;
    933   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    934     ac_init_help=recursive ;;
    935   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    936     ac_init_help=short ;;
    937 
    938   -host | --host | --hos | --ho)
    939     ac_prev=host_alias ;;
    940   -host=* | --host=* | --hos=* | --ho=*)
    941     host_alias=$ac_optarg ;;
    942 
    943   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    944     ac_prev=htmldir ;;
    945   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    946   | --ht=*)
    947     htmldir=$ac_optarg ;;
    948 
    949   -includedir | --includedir | --includedi | --included | --include \
    950   | --includ | --inclu | --incl | --inc)
    951     ac_prev=includedir ;;
    952   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    953   | --includ=* | --inclu=* | --incl=* | --inc=*)
    954     includedir=$ac_optarg ;;
    955 
    956   -infodir | --infodir | --infodi | --infod | --info | --inf)
    957     ac_prev=infodir ;;
    958   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    959     infodir=$ac_optarg ;;
    960 
    961   -libdir | --libdir | --libdi | --libd)
    962     ac_prev=libdir ;;
    963   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    964     libdir=$ac_optarg ;;
    965 
    966   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    967   | --libexe | --libex | --libe)
    968     ac_prev=libexecdir ;;
    969   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    970   | --libexe=* | --libex=* | --libe=*)
    971     libexecdir=$ac_optarg ;;
    972 
    973   -localedir | --localedir | --localedi | --localed | --locale)
    974     ac_prev=localedir ;;
    975   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    976     localedir=$ac_optarg ;;
    977 
    978   -localstatedir | --localstatedir | --localstatedi | --localstated \
    979   | --localstate | --localstat | --localsta | --localst | --locals)
    980     ac_prev=localstatedir ;;
    981   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    982   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    983     localstatedir=$ac_optarg ;;
    984 
    985   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    986     ac_prev=mandir ;;
    987   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    988     mandir=$ac_optarg ;;
    989 
    990   -nfp | --nfp | --nf)
    991     # Obsolete; use --without-fp.
    992     with_fp=no ;;
    993 
    994   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    995   | --no-cr | --no-c | -n)
    996     no_create=yes ;;
    997 
    998   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    999   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1000     no_recursion=yes ;;
   1001 
   1002   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1003   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1004   | --oldin | --oldi | --old | --ol | --o)
   1005     ac_prev=oldincludedir ;;
   1006   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1007   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1008   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1009     oldincludedir=$ac_optarg ;;
   1010 
   1011   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1012     ac_prev=prefix ;;
   1013   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1014     prefix=$ac_optarg ;;
   1015 
   1016   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1017   | --program-pre | --program-pr | --program-p)
   1018     ac_prev=program_prefix ;;
   1019   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1020   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1021     program_prefix=$ac_optarg ;;
   1022 
   1023   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1024   | --program-suf | --program-su | --program-s)
   1025     ac_prev=program_suffix ;;
   1026   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1027   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1028     program_suffix=$ac_optarg ;;
   1029 
   1030   -program-transform-name | --program-transform-name \
   1031   | --program-transform-nam | --program-transform-na \
   1032   | --program-transform-n | --program-transform- \
   1033   | --program-transform | --program-transfor \
   1034   | --program-transfo | --program-transf \
   1035   | --program-trans | --program-tran \
   1036   | --progr-tra | --program-tr | --program-t)
   1037     ac_prev=program_transform_name ;;
   1038   -program-transform-name=* | --program-transform-name=* \
   1039   | --program-transform-nam=* | --program-transform-na=* \
   1040   | --program-transform-n=* | --program-transform-=* \
   1041   | --program-transform=* | --program-transfor=* \
   1042   | --program-transfo=* | --program-transf=* \
   1043   | --program-trans=* | --program-tran=* \
   1044   | --progr-tra=* | --program-tr=* | --program-t=*)
   1045     program_transform_name=$ac_optarg ;;
   1046 
   1047   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1048     ac_prev=pdfdir ;;
   1049   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1050     pdfdir=$ac_optarg ;;
   1051 
   1052   -psdir | --psdir | --psdi | --psd | --ps)
   1053     ac_prev=psdir ;;
   1054   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1055     psdir=$ac_optarg ;;
   1056 
   1057   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1058   | -silent | --silent | --silen | --sile | --sil)
   1059     silent=yes ;;
   1060 
   1061   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1062     ac_prev=sbindir ;;
   1063   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1064   | --sbi=* | --sb=*)
   1065     sbindir=$ac_optarg ;;
   1066 
   1067   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1068   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1069   | --sharedst | --shareds | --shared | --share | --shar \
   1070   | --sha | --sh)
   1071     ac_prev=sharedstatedir ;;
   1072   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1073   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1074   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1075   | --sha=* | --sh=*)
   1076     sharedstatedir=$ac_optarg ;;
   1077 
   1078   -site | --site | --sit)
   1079     ac_prev=site ;;
   1080   -site=* | --site=* | --sit=*)
   1081     site=$ac_optarg ;;
   1082 
   1083   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1084     ac_prev=srcdir ;;
   1085   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1086     srcdir=$ac_optarg ;;
   1087 
   1088   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1089   | --syscon | --sysco | --sysc | --sys | --sy)
   1090     ac_prev=sysconfdir ;;
   1091   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1092   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1093     sysconfdir=$ac_optarg ;;
   1094 
   1095   -target | --target | --targe | --targ | --tar | --ta | --t)
   1096     ac_prev=target_alias ;;
   1097   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1098     target_alias=$ac_optarg ;;
   1099 
   1100   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1101     verbose=yes ;;
   1102 
   1103   -version | --version | --versio | --versi | --vers | -V)
   1104     ac_init_version=: ;;
   1105 
   1106   -with-* | --with-*)
   1107     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1108     # Reject names that are not valid shell variable names.
   1109     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1110       as_fn_error $? "invalid package name: $ac_useropt"
   1111     ac_useropt_orig=$ac_useropt
   1112     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1113     case $ac_user_opts in
   1114       *"
   1115 "with_$ac_useropt"
   1116 "*) ;;
   1117       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1118 	 ac_unrecognized_sep=', ';;
   1119     esac
   1120     eval with_$ac_useropt=\$ac_optarg ;;
   1121 
   1122   -without-* | --without-*)
   1123     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1124     # Reject names that are not valid shell variable names.
   1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1126       as_fn_error $? "invalid package name: $ac_useropt"
   1127     ac_useropt_orig=$ac_useropt
   1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1129     case $ac_user_opts in
   1130       *"
   1131 "with_$ac_useropt"
   1132 "*) ;;
   1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1134 	 ac_unrecognized_sep=', ';;
   1135     esac
   1136     eval with_$ac_useropt=no ;;
   1137 
   1138   --x)
   1139     # Obsolete; use --with-x.
   1140     with_x=yes ;;
   1141 
   1142   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1143   | --x-incl | --x-inc | --x-in | --x-i)
   1144     ac_prev=x_includes ;;
   1145   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1146   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1147     x_includes=$ac_optarg ;;
   1148 
   1149   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1150   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1151     ac_prev=x_libraries ;;
   1152   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1153   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1154     x_libraries=$ac_optarg ;;
   1155 
   1156   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1157 Try \`$0 --help' for more information"
   1158     ;;
   1159 
   1160   *=*)
   1161     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1162     # Reject names that are not valid shell variable names.
   1163     case $ac_envvar in #(
   1164       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1165       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1166     esac
   1167     eval $ac_envvar=\$ac_optarg
   1168     export $ac_envvar ;;
   1169 
   1170   *)
   1171     # FIXME: should be removed in autoconf 3.0.
   1172     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1173     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1174       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1175     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1176     ;;
   1177 
   1178   esac
   1179 done
   1180 
   1181 if test -n "$ac_prev"; then
   1182   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1183   as_fn_error $? "missing argument to $ac_option"
   1184 fi
   1185 
   1186 if test -n "$ac_unrecognized_opts"; then
   1187   case $enable_option_checking in
   1188     no) ;;
   1189     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1190     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1191   esac
   1192 fi
   1193 
   1194 # Check all directory arguments for consistency.
   1195 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1196 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1197 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1198 		libdir localedir mandir
   1199 do
   1200   eval ac_val=\$$ac_var
   1201   # Remove trailing slashes.
   1202   case $ac_val in
   1203     */ )
   1204       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1205       eval $ac_var=\$ac_val;;
   1206   esac
   1207   # Be sure to have absolute directory names.
   1208   case $ac_val in
   1209     [\\/$]* | ?:[\\/]* )  continue;;
   1210     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1211   esac
   1212   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1213 done
   1214 
   1215 # There might be people who depend on the old broken behavior: `$host'
   1216 # used to hold the argument of --host etc.
   1217 # FIXME: To remove some day.
   1218 build=$build_alias
   1219 host=$host_alias
   1220 target=$target_alias
   1221 
   1222 # FIXME: To remove some day.
   1223 if test "x$host_alias" != x; then
   1224   if test "x$build_alias" = x; then
   1225     cross_compiling=maybe
   1226   elif test "x$build_alias" != "x$host_alias"; then
   1227     cross_compiling=yes
   1228   fi
   1229 fi
   1230 
   1231 ac_tool_prefix=
   1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1233 
   1234 test "$silent" = yes && exec 6>/dev/null
   1235 
   1236 
   1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1238 ac_ls_di=`ls -di .` &&
   1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1240   as_fn_error $? "working directory cannot be determined"
   1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1242   as_fn_error $? "pwd does not report name of working directory"
   1243 
   1244 
   1245 # Find the source files, if location was not specified.
   1246 if test -z "$srcdir"; then
   1247   ac_srcdir_defaulted=yes
   1248   # Try the directory containing this script, then the parent directory.
   1249   ac_confdir=`$as_dirname -- "$as_myself" ||
   1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1251 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1252 	 X"$as_myself" : 'X\(//\)$' \| \
   1253 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1254 $as_echo X"$as_myself" |
   1255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1256 	    s//\1/
   1257 	    q
   1258 	  }
   1259 	  /^X\(\/\/\)[^/].*/{
   1260 	    s//\1/
   1261 	    q
   1262 	  }
   1263 	  /^X\(\/\/\)$/{
   1264 	    s//\1/
   1265 	    q
   1266 	  }
   1267 	  /^X\(\/\).*/{
   1268 	    s//\1/
   1269 	    q
   1270 	  }
   1271 	  s/.*/./; q'`
   1272   srcdir=$ac_confdir
   1273   if test ! -r "$srcdir/$ac_unique_file"; then
   1274     srcdir=..
   1275   fi
   1276 else
   1277   ac_srcdir_defaulted=no
   1278 fi
   1279 if test ! -r "$srcdir/$ac_unique_file"; then
   1280   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1281   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1282 fi
   1283 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1284 ac_abs_confdir=`(
   1285 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1286 	pwd)`
   1287 # When building in place, set srcdir=.
   1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1289   srcdir=.
   1290 fi
   1291 # Remove unnecessary trailing slashes from srcdir.
   1292 # Double slashes in file names in object file debugging info
   1293 # mess up M-x gdb in Emacs.
   1294 case $srcdir in
   1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1296 esac
   1297 for ac_var in $ac_precious_vars; do
   1298   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1299   eval ac_env_${ac_var}_value=\$${ac_var}
   1300   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1301   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1302 done
   1303 
   1304 #
   1305 # Report the --help message.
   1306 #
   1307 if test "$ac_init_help" = "long"; then
   1308   # Omit some internal or obsolete options to make the list less imposing.
   1309   # This message is too long to be a string in the A/UX 3.1 sh.
   1310   cat <<_ACEOF
   1311 \`configure' configures xbiff 1.0.4 to adapt to many kinds of systems.
   1312 
   1313 Usage: $0 [OPTION]... [VAR=VALUE]...
   1314 
   1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1316 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1317 
   1318 Defaults for the options are specified in brackets.
   1319 
   1320 Configuration:
   1321   -h, --help              display this help and exit
   1322       --help=short        display options specific to this package
   1323       --help=recursive    display the short help of all the included packages
   1324   -V, --version           display version information and exit
   1325   -q, --quiet, --silent   do not print \`checking ...' messages
   1326       --cache-file=FILE   cache test results in FILE [disabled]
   1327   -C, --config-cache      alias for \`--cache-file=config.cache'
   1328   -n, --no-create         do not create output files
   1329       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1330 
   1331 Installation directories:
   1332   --prefix=PREFIX         install architecture-independent files in PREFIX
   1333                           [$ac_default_prefix]
   1334   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1335                           [PREFIX]
   1336 
   1337 By default, \`make install' will install all the files in
   1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1340 for instance \`--prefix=\$HOME'.
   1341 
   1342 For better control, use the options below.
   1343 
   1344 Fine tuning of the installation directories:
   1345   --bindir=DIR            user executables [EPREFIX/bin]
   1346   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1347   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1348   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1349   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1350   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1351   --libdir=DIR            object code libraries [EPREFIX/lib]
   1352   --includedir=DIR        C header files [PREFIX/include]
   1353   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1354   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1355   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1356   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1357   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1358   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1359   --docdir=DIR            documentation root [DATAROOTDIR/doc/xbiff]
   1360   --htmldir=DIR           html documentation [DOCDIR]
   1361   --dvidir=DIR            dvi documentation [DOCDIR]
   1362   --pdfdir=DIR            pdf documentation [DOCDIR]
   1363   --psdir=DIR             ps documentation [DOCDIR]
   1364 _ACEOF
   1365 
   1366   cat <<\_ACEOF
   1367 
   1368 Program names:
   1369   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1370   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1371   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1372 
   1373 System types:
   1374   --build=BUILD     configure for building on BUILD [guessed]
   1375   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1376 _ACEOF
   1377 fi
   1378 
   1379 if test -n "$ac_init_help"; then
   1380   case $ac_init_help in
   1381      short | recursive ) echo "Configuration of xbiff 1.0.4:";;
   1382    esac
   1383   cat <<\_ACEOF
   1384 
   1385 Optional Features:
   1386   --disable-option-checking  ignore unrecognized --enable/--with options
   1387   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1388   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1389   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1390   --disable-silent-rules  verbose build output (undo: "make V=0")
   1391   --enable-dependency-tracking
   1392                           do not reject slow dependency extractors
   1393   --disable-dependency-tracking
   1394                           speeds up one-time build
   1395   --disable-selective-werror
   1396                           Turn off selective compiler errors. (default:
   1397                           enabled)
   1398   --enable-strict-compilation
   1399                           Enable all warnings from compiler and make them
   1400                           errors (default: disabled)
   1401 
   1402 Optional Packages:
   1403   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1404   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1405   --with-mailbox-directory=PATH
   1406                           specify directory to check for system mailboxes
   1407 
   1408 Some influential environment variables:
   1409   CC          C compiler command
   1410   CFLAGS      C compiler flags
   1411   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1412               nonstandard directory <lib dir>
   1413   LIBS        libraries to pass to the linker, e.g. -l<library>
   1414   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1415               you have headers in a nonstandard directory <include dir>
   1416   CPP         C preprocessor
   1417   PKG_CONFIG  path to pkg-config utility
   1418   PKG_CONFIG_PATH
   1419               directories to add to pkg-config's search path
   1420   PKG_CONFIG_LIBDIR
   1421               path overriding pkg-config's built-in search path
   1422   XBIFF_CFLAGS
   1423               C compiler flags for XBIFF, overriding pkg-config
   1424   XBIFF_LIBS  linker flags for XBIFF, overriding pkg-config
   1425 
   1426 Use these variables to override the choices made by `configure' or to help
   1427 it to find libraries and programs with nonstandard names/locations.
   1428 
   1429 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/issues>.
   1430 _ACEOF
   1431 ac_status=$?
   1432 fi
   1433 
   1434 if test "$ac_init_help" = "recursive"; then
   1435   # If there are subdirs, report their specific --help.
   1436   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1437     test -d "$ac_dir" ||
   1438       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1439       continue
   1440     ac_builddir=.
   1441 
   1442 case "$ac_dir" in
   1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1444 *)
   1445   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1446   # A ".." for each directory in $ac_dir_suffix.
   1447   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1448   case $ac_top_builddir_sub in
   1449   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1450   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1451   esac ;;
   1452 esac
   1453 ac_abs_top_builddir=$ac_pwd
   1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1455 # for backward compatibility:
   1456 ac_top_builddir=$ac_top_build_prefix
   1457 
   1458 case $srcdir in
   1459   .)  # We are building in place.
   1460     ac_srcdir=.
   1461     ac_top_srcdir=$ac_top_builddir_sub
   1462     ac_abs_top_srcdir=$ac_pwd ;;
   1463   [\\/]* | ?:[\\/]* )  # Absolute name.
   1464     ac_srcdir=$srcdir$ac_dir_suffix;
   1465     ac_top_srcdir=$srcdir
   1466     ac_abs_top_srcdir=$srcdir ;;
   1467   *) # Relative name.
   1468     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1469     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1470     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1471 esac
   1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1473 
   1474     cd "$ac_dir" || { ac_status=$?; continue; }
   1475     # Check for guested configure.
   1476     if test -f "$ac_srcdir/configure.gnu"; then
   1477       echo &&
   1478       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1479     elif test -f "$ac_srcdir/configure"; then
   1480       echo &&
   1481       $SHELL "$ac_srcdir/configure" --help=recursive
   1482     else
   1483       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1484     fi || ac_status=$?
   1485     cd "$ac_pwd" || { ac_status=$?; break; }
   1486   done
   1487 fi
   1488 
   1489 test -n "$ac_init_help" && exit $ac_status
   1490 if $ac_init_version; then
   1491   cat <<\_ACEOF
   1492 xbiff configure 1.0.4
   1493 generated by GNU Autoconf 2.69
   1494 
   1495 Copyright (C) 2012 Free Software Foundation, Inc.
   1496 This configure script is free software; the Free Software Foundation
   1497 gives unlimited permission to copy, distribute and modify it.
   1498 _ACEOF
   1499   exit
   1500 fi
   1501 
   1502 ## ------------------------ ##
   1503 ## Autoconf initialization. ##
   1504 ## ------------------------ ##
   1505 
   1506 # ac_fn_c_try_compile LINENO
   1507 # --------------------------
   1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1509 ac_fn_c_try_compile ()
   1510 {
   1511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1512   rm -f conftest.$ac_objext
   1513   if { { ac_try="$ac_compile"
   1514 case "(($ac_try" in
   1515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1516   *) ac_try_echo=$ac_try;;
   1517 esac
   1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1519 $as_echo "$ac_try_echo"; } >&5
   1520   (eval "$ac_compile") 2>conftest.err
   1521   ac_status=$?
   1522   if test -s conftest.err; then
   1523     grep -v '^ *+' conftest.err >conftest.er1
   1524     cat conftest.er1 >&5
   1525     mv -f conftest.er1 conftest.err
   1526   fi
   1527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1528   test $ac_status = 0; } && {
   1529 	 test -z "$ac_c_werror_flag" ||
   1530 	 test ! -s conftest.err
   1531        } && test -s conftest.$ac_objext; then :
   1532   ac_retval=0
   1533 else
   1534   $as_echo "$as_me: failed program was:" >&5
   1535 sed 's/^/| /' conftest.$ac_ext >&5
   1536 
   1537 	ac_retval=1
   1538 fi
   1539   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1540   as_fn_set_status $ac_retval
   1541 
   1542 } # ac_fn_c_try_compile
   1543 
   1544 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1545 # ---------------------------------------------
   1546 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1547 # accordingly.
   1548 ac_fn_c_check_decl ()
   1549 {
   1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1551   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1552   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1554 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1555 if eval \${$3+:} false; then :
   1556   $as_echo_n "(cached) " >&6
   1557 else
   1558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1559 /* end confdefs.h.  */
   1560 $4
   1561 int
   1562 main ()
   1563 {
   1564 #ifndef $as_decl_name
   1565 #ifdef __cplusplus
   1566   (void) $as_decl_use;
   1567 #else
   1568   (void) $as_decl_name;
   1569 #endif
   1570 #endif
   1571 
   1572   ;
   1573   return 0;
   1574 }
   1575 _ACEOF
   1576 if ac_fn_c_try_compile "$LINENO"; then :
   1577   eval "$3=yes"
   1578 else
   1579   eval "$3=no"
   1580 fi
   1581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1582 fi
   1583 eval ac_res=\$$3
   1584 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1585 $as_echo "$ac_res" >&6; }
   1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1587 
   1588 } # ac_fn_c_check_decl
   1589 
   1590 # ac_fn_c_try_cpp LINENO
   1591 # ----------------------
   1592 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1593 ac_fn_c_try_cpp ()
   1594 {
   1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1596   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1597 case "(($ac_try" in
   1598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1599   *) ac_try_echo=$ac_try;;
   1600 esac
   1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1602 $as_echo "$ac_try_echo"; } >&5
   1603   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1604   ac_status=$?
   1605   if test -s conftest.err; then
   1606     grep -v '^ *+' conftest.err >conftest.er1
   1607     cat conftest.er1 >&5
   1608     mv -f conftest.er1 conftest.err
   1609   fi
   1610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1611   test $ac_status = 0; } > conftest.i && {
   1612 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1613 	 test ! -s conftest.err
   1614        }; then :
   1615   ac_retval=0
   1616 else
   1617   $as_echo "$as_me: failed program was:" >&5
   1618 sed 's/^/| /' conftest.$ac_ext >&5
   1619 
   1620     ac_retval=1
   1621 fi
   1622   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1623   as_fn_set_status $ac_retval
   1624 
   1625 } # ac_fn_c_try_cpp
   1626 
   1627 # ac_fn_c_try_run LINENO
   1628 # ----------------------
   1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1630 # that executables *can* be run.
   1631 ac_fn_c_try_run ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   if { { ac_try="$ac_link"
   1635 case "(($ac_try" in
   1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1637   *) ac_try_echo=$ac_try;;
   1638 esac
   1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1640 $as_echo "$ac_try_echo"; } >&5
   1641   (eval "$ac_link") 2>&5
   1642   ac_status=$?
   1643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1644   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1645   { { case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_try") 2>&5
   1652   ac_status=$?
   1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; }; }; then :
   1655   ac_retval=0
   1656 else
   1657   $as_echo "$as_me: program exited with status $ac_status" >&5
   1658        $as_echo "$as_me: failed program was:" >&5
   1659 sed 's/^/| /' conftest.$ac_ext >&5
   1660 
   1661        ac_retval=$ac_status
   1662 fi
   1663   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1664   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1665   as_fn_set_status $ac_retval
   1666 
   1667 } # ac_fn_c_try_run
   1668 
   1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1670 # -------------------------------------------------------
   1671 # Tests whether HEADER exists and can be compiled using the include files in
   1672 # INCLUDES, setting the cache variable VAR accordingly.
   1673 ac_fn_c_check_header_compile ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1677 $as_echo_n "checking for $2... " >&6; }
   1678 if eval \${$3+:} false; then :
   1679   $as_echo_n "(cached) " >&6
   1680 else
   1681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1682 /* end confdefs.h.  */
   1683 $4
   1684 #include <$2>
   1685 _ACEOF
   1686 if ac_fn_c_try_compile "$LINENO"; then :
   1687   eval "$3=yes"
   1688 else
   1689   eval "$3=no"
   1690 fi
   1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1692 fi
   1693 eval ac_res=\$$3
   1694 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1695 $as_echo "$ac_res" >&6; }
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697 
   1698 } # ac_fn_c_check_header_compile
   1699 
   1700 # ac_fn_c_try_link LINENO
   1701 # -----------------------
   1702 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1703 ac_fn_c_try_link ()
   1704 {
   1705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1706   rm -f conftest.$ac_objext conftest$ac_exeext
   1707   if { { ac_try="$ac_link"
   1708 case "(($ac_try" in
   1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1710   *) ac_try_echo=$ac_try;;
   1711 esac
   1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1713 $as_echo "$ac_try_echo"; } >&5
   1714   (eval "$ac_link") 2>conftest.err
   1715   ac_status=$?
   1716   if test -s conftest.err; then
   1717     grep -v '^ *+' conftest.err >conftest.er1
   1718     cat conftest.er1 >&5
   1719     mv -f conftest.er1 conftest.err
   1720   fi
   1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1722   test $ac_status = 0; } && {
   1723 	 test -z "$ac_c_werror_flag" ||
   1724 	 test ! -s conftest.err
   1725        } && test -s conftest$ac_exeext && {
   1726 	 test "$cross_compiling" = yes ||
   1727 	 test -x conftest$ac_exeext
   1728        }; then :
   1729   ac_retval=0
   1730 else
   1731   $as_echo "$as_me: failed program was:" >&5
   1732 sed 's/^/| /' conftest.$ac_ext >&5
   1733 
   1734 	ac_retval=1
   1735 fi
   1736   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1737   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1738   # interfere with the next link command; also delete a directory that is
   1739   # left behind by Apple's compiler.  We do this before executing the actions.
   1740   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1742   as_fn_set_status $ac_retval
   1743 
   1744 } # ac_fn_c_try_link
   1745 
   1746 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1747 # -------------------------------------------------------
   1748 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1749 # the include files in INCLUDES and setting the cache variable VAR
   1750 # accordingly.
   1751 ac_fn_c_check_header_mongrel ()
   1752 {
   1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1754   if eval \${$3+:} false; then :
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1756 $as_echo_n "checking for $2... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 fi
   1760 eval ac_res=\$$3
   1761 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1762 $as_echo "$ac_res" >&6; }
   1763 else
   1764   # Is the header compilable?
   1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1766 $as_echo_n "checking $2 usability... " >&6; }
   1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 $4
   1770 #include <$2>
   1771 _ACEOF
   1772 if ac_fn_c_try_compile "$LINENO"; then :
   1773   ac_header_compiler=yes
   1774 else
   1775   ac_header_compiler=no
   1776 fi
   1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1779 $as_echo "$ac_header_compiler" >&6; }
   1780 
   1781 # Is the header present?
   1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1783 $as_echo_n "checking $2 presence... " >&6; }
   1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1785 /* end confdefs.h.  */
   1786 #include <$2>
   1787 _ACEOF
   1788 if ac_fn_c_try_cpp "$LINENO"; then :
   1789   ac_header_preproc=yes
   1790 else
   1791   ac_header_preproc=no
   1792 fi
   1793 rm -f conftest.err conftest.i conftest.$ac_ext
   1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1795 $as_echo "$ac_header_preproc" >&6; }
   1796 
   1797 # So?  What about this header?
   1798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1799   yes:no: )
   1800     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1801 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1802     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1803 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1804     ;;
   1805   no:yes:* )
   1806     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1807 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1809 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1811 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1812     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1813 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1815 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1816 ( $as_echo "## ------------------------------------------------------------------- ##
   1817 ## Report this to https://gitlab.freedesktop.org/xorg/app/xbiff/issues ##
   1818 ## ------------------------------------------------------------------- ##"
   1819      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1820     ;;
   1821 esac
   1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1823 $as_echo_n "checking for $2... " >&6; }
   1824 if eval \${$3+:} false; then :
   1825   $as_echo_n "(cached) " >&6
   1826 else
   1827   eval "$3=\$ac_header_compiler"
   1828 fi
   1829 eval ac_res=\$$3
   1830 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1831 $as_echo "$ac_res" >&6; }
   1832 fi
   1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1834 
   1835 } # ac_fn_c_check_header_mongrel
   1836 cat >config.log <<_ACEOF
   1837 This file contains any messages produced by compilers while
   1838 running configure, to aid debugging if configure makes a mistake.
   1839 
   1840 It was created by xbiff $as_me 1.0.4, which was
   1841 generated by GNU Autoconf 2.69.  Invocation command line was
   1842 
   1843   $ $0 $@
   1844 
   1845 _ACEOF
   1846 exec 5>>config.log
   1847 {
   1848 cat <<_ASUNAME
   1849 ## --------- ##
   1850 ## Platform. ##
   1851 ## --------- ##
   1852 
   1853 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1854 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1855 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1856 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1857 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1858 
   1859 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1860 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1861 
   1862 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1863 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1864 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1865 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1866 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1867 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1868 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1869 
   1870 _ASUNAME
   1871 
   1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1873 for as_dir in $PATH
   1874 do
   1875   IFS=$as_save_IFS
   1876   test -z "$as_dir" && as_dir=.
   1877     $as_echo "PATH: $as_dir"
   1878   done
   1879 IFS=$as_save_IFS
   1880 
   1881 } >&5
   1882 
   1883 cat >&5 <<_ACEOF
   1884 
   1885 
   1886 ## ----------- ##
   1887 ## Core tests. ##
   1888 ## ----------- ##
   1889 
   1890 _ACEOF
   1891 
   1892 
   1893 # Keep a trace of the command line.
   1894 # Strip out --no-create and --no-recursion so they do not pile up.
   1895 # Strip out --silent because we don't want to record it for future runs.
   1896 # Also quote any args containing shell meta-characters.
   1897 # Make two passes to allow for proper duplicate-argument suppression.
   1898 ac_configure_args=
   1899 ac_configure_args0=
   1900 ac_configure_args1=
   1901 ac_must_keep_next=false
   1902 for ac_pass in 1 2
   1903 do
   1904   for ac_arg
   1905   do
   1906     case $ac_arg in
   1907     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1908     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1909     | -silent | --silent | --silen | --sile | --sil)
   1910       continue ;;
   1911     *\'*)
   1912       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1913     esac
   1914     case $ac_pass in
   1915     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1916     2)
   1917       as_fn_append ac_configure_args1 " '$ac_arg'"
   1918       if test $ac_must_keep_next = true; then
   1919 	ac_must_keep_next=false # Got value, back to normal.
   1920       else
   1921 	case $ac_arg in
   1922 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1923 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1924 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1925 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1926 	    case "$ac_configure_args0 " in
   1927 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1928 	    esac
   1929 	    ;;
   1930 	  -* ) ac_must_keep_next=true ;;
   1931 	esac
   1932       fi
   1933       as_fn_append ac_configure_args " '$ac_arg'"
   1934       ;;
   1935     esac
   1936   done
   1937 done
   1938 { ac_configure_args0=; unset ac_configure_args0;}
   1939 { ac_configure_args1=; unset ac_configure_args1;}
   1940 
   1941 # When interrupted or exit'd, cleanup temporary files, and complete
   1942 # config.log.  We remove comments because anyway the quotes in there
   1943 # would cause problems or look ugly.
   1944 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1945 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1946 trap 'exit_status=$?
   1947   # Save into config.log some information that might help in debugging.
   1948   {
   1949     echo
   1950 
   1951     $as_echo "## ---------------- ##
   1952 ## Cache variables. ##
   1953 ## ---------------- ##"
   1954     echo
   1955     # The following way of writing the cache mishandles newlines in values,
   1956 (
   1957   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1958     eval ac_val=\$$ac_var
   1959     case $ac_val in #(
   1960     *${as_nl}*)
   1961       case $ac_var in #(
   1962       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1963 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1964       esac
   1965       case $ac_var in #(
   1966       _ | IFS | as_nl) ;; #(
   1967       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1968       *) { eval $ac_var=; unset $ac_var;} ;;
   1969       esac ;;
   1970     esac
   1971   done
   1972   (set) 2>&1 |
   1973     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1974     *${as_nl}ac_space=\ *)
   1975       sed -n \
   1976 	"s/'\''/'\''\\\\'\'''\''/g;
   1977 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1978       ;; #(
   1979     *)
   1980       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1981       ;;
   1982     esac |
   1983     sort
   1984 )
   1985     echo
   1986 
   1987     $as_echo "## ----------------- ##
   1988 ## Output variables. ##
   1989 ## ----------------- ##"
   1990     echo
   1991     for ac_var in $ac_subst_vars
   1992     do
   1993       eval ac_val=\$$ac_var
   1994       case $ac_val in
   1995       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1996       esac
   1997       $as_echo "$ac_var='\''$ac_val'\''"
   1998     done | sort
   1999     echo
   2000 
   2001     if test -n "$ac_subst_files"; then
   2002       $as_echo "## ------------------- ##
   2003 ## File substitutions. ##
   2004 ## ------------------- ##"
   2005       echo
   2006       for ac_var in $ac_subst_files
   2007       do
   2008 	eval ac_val=\$$ac_var
   2009 	case $ac_val in
   2010 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2011 	esac
   2012 	$as_echo "$ac_var='\''$ac_val'\''"
   2013       done | sort
   2014       echo
   2015     fi
   2016 
   2017     if test -s confdefs.h; then
   2018       $as_echo "## ----------- ##
   2019 ## confdefs.h. ##
   2020 ## ----------- ##"
   2021       echo
   2022       cat confdefs.h
   2023       echo
   2024     fi
   2025     test "$ac_signal" != 0 &&
   2026       $as_echo "$as_me: caught signal $ac_signal"
   2027     $as_echo "$as_me: exit $exit_status"
   2028   } >&5
   2029   rm -f core *.core core.conftest.* &&
   2030     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2031     exit $exit_status
   2032 ' 0
   2033 for ac_signal in 1 2 13 15; do
   2034   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2035 done
   2036 ac_signal=0
   2037 
   2038 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2039 rm -f -r conftest* confdefs.h
   2040 
   2041 $as_echo "/* confdefs.h */" > confdefs.h
   2042 
   2043 # Predefined preprocessor variables.
   2044 
   2045 cat >>confdefs.h <<_ACEOF
   2046 #define PACKAGE_NAME "$PACKAGE_NAME"
   2047 _ACEOF
   2048 
   2049 cat >>confdefs.h <<_ACEOF
   2050 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2051 _ACEOF
   2052 
   2053 cat >>confdefs.h <<_ACEOF
   2054 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2055 _ACEOF
   2056 
   2057 cat >>confdefs.h <<_ACEOF
   2058 #define PACKAGE_STRING "$PACKAGE_STRING"
   2059 _ACEOF
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_URL "$PACKAGE_URL"
   2067 _ACEOF
   2068 
   2069 
   2070 # Let the site file select an alternate cache file if it wants to.
   2071 # Prefer an explicitly selected file to automatically selected ones.
   2072 ac_site_file1=NONE
   2073 ac_site_file2=NONE
   2074 if test -n "$CONFIG_SITE"; then
   2075   # We do not want a PATH search for config.site.
   2076   case $CONFIG_SITE in #((
   2077     -*)  ac_site_file1=./$CONFIG_SITE;;
   2078     */*) ac_site_file1=$CONFIG_SITE;;
   2079     *)   ac_site_file1=./$CONFIG_SITE;;
   2080   esac
   2081 elif test "x$prefix" != xNONE; then
   2082   ac_site_file1=$prefix/share/config.site
   2083   ac_site_file2=$prefix/etc/config.site
   2084 else
   2085   ac_site_file1=$ac_default_prefix/share/config.site
   2086   ac_site_file2=$ac_default_prefix/etc/config.site
   2087 fi
   2088 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2089 do
   2090   test "x$ac_site_file" = xNONE && continue
   2091   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2092     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2093 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2094     sed 's/^/| /' "$ac_site_file" >&5
   2095     . "$ac_site_file" \
   2096       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2098 as_fn_error $? "failed to load site script $ac_site_file
   2099 See \`config.log' for more details" "$LINENO" 5; }
   2100   fi
   2101 done
   2102 
   2103 if test -r "$cache_file"; then
   2104   # Some versions of bash will fail to source /dev/null (special files
   2105   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2106   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2107     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2108 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2109     case $cache_file in
   2110       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2111       *)                      . "./$cache_file";;
   2112     esac
   2113   fi
   2114 else
   2115   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2116 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2117   >$cache_file
   2118 fi
   2119 
   2120 # Check that the precious variables saved in the cache have kept the same
   2121 # value.
   2122 ac_cache_corrupted=false
   2123 for ac_var in $ac_precious_vars; do
   2124   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2125   eval ac_new_set=\$ac_env_${ac_var}_set
   2126   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2127   eval ac_new_val=\$ac_env_${ac_var}_value
   2128   case $ac_old_set,$ac_new_set in
   2129     set,)
   2130       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2131 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2132       ac_cache_corrupted=: ;;
   2133     ,set)
   2134       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2135 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2136       ac_cache_corrupted=: ;;
   2137     ,);;
   2138     *)
   2139       if test "x$ac_old_val" != "x$ac_new_val"; then
   2140 	# differences in whitespace do not lead to failure.
   2141 	ac_old_val_w=`echo x $ac_old_val`
   2142 	ac_new_val_w=`echo x $ac_new_val`
   2143 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2144 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2145 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2146 	  ac_cache_corrupted=:
   2147 	else
   2148 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2149 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2150 	  eval $ac_var=\$ac_old_val
   2151 	fi
   2152 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2153 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2154 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2155 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2156       fi;;
   2157   esac
   2158   # Pass precious variables to config.status.
   2159   if test "$ac_new_set" = set; then
   2160     case $ac_new_val in
   2161     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2162     *) ac_arg=$ac_var=$ac_new_val ;;
   2163     esac
   2164     case " $ac_configure_args " in
   2165       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2166       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2167     esac
   2168   fi
   2169 done
   2170 if $ac_cache_corrupted; then
   2171   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2173   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2174 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2175   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2176 fi
   2177 ## -------------------- ##
   2178 ## Main body of script. ##
   2179 ## -------------------- ##
   2180 
   2181 ac_ext=c
   2182 ac_cpp='$CPP $CPPFLAGS'
   2183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2186 
   2187 
   2188 
   2189 ac_config_headers="$ac_config_headers config.h"
   2190 
   2191 
   2192 # Initialize Automake
   2193 am__api_version='1.15'
   2194 
   2195 ac_aux_dir=
   2196 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2197   if test -f "$ac_dir/install-sh"; then
   2198     ac_aux_dir=$ac_dir
   2199     ac_install_sh="$ac_aux_dir/install-sh -c"
   2200     break
   2201   elif test -f "$ac_dir/install.sh"; then
   2202     ac_aux_dir=$ac_dir
   2203     ac_install_sh="$ac_aux_dir/install.sh -c"
   2204     break
   2205   elif test -f "$ac_dir/shtool"; then
   2206     ac_aux_dir=$ac_dir
   2207     ac_install_sh="$ac_aux_dir/shtool install -c"
   2208     break
   2209   fi
   2210 done
   2211 if test -z "$ac_aux_dir"; then
   2212   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2213 fi
   2214 
   2215 # These three variables are undocumented and unsupported,
   2216 # and are intended to be withdrawn in a future Autoconf release.
   2217 # They can cause serious problems if a builder's source tree is in a directory
   2218 # whose full name contains unusual characters.
   2219 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2220 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2221 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2222 
   2223 
   2224 # Find a good install program.  We prefer a C program (faster),
   2225 # so one script is as good as another.  But avoid the broken or
   2226 # incompatible versions:
   2227 # SysV /etc/install, /usr/sbin/install
   2228 # SunOS /usr/etc/install
   2229 # IRIX /sbin/install
   2230 # AIX /bin/install
   2231 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2232 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2233 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2234 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2235 # OS/2's system install, which has a completely different semantic
   2236 # ./install, which can be erroneously created by make from ./install.sh.
   2237 # Reject install programs that cannot install multiple files.
   2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2239 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2240 if test -z "$INSTALL"; then
   2241 if ${ac_cv_path_install+:} false; then :
   2242   $as_echo_n "(cached) " >&6
   2243 else
   2244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2245 for as_dir in $PATH
   2246 do
   2247   IFS=$as_save_IFS
   2248   test -z "$as_dir" && as_dir=.
   2249     # Account for people who put trailing slashes in PATH elements.
   2250 case $as_dir/ in #((
   2251   ./ | .// | /[cC]/* | \
   2252   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2253   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2254   /usr/ucb/* ) ;;
   2255   *)
   2256     # OSF1 and SCO ODT 3.0 have their own names for install.
   2257     # Don't use installbsd from OSF since it installs stuff as root
   2258     # by default.
   2259     for ac_prog in ginstall scoinst install; do
   2260       for ac_exec_ext in '' $ac_executable_extensions; do
   2261 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2262 	  if test $ac_prog = install &&
   2263 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2264 	    # AIX install.  It has an incompatible calling convention.
   2265 	    :
   2266 	  elif test $ac_prog = install &&
   2267 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2268 	    # program-specific install script used by HP pwplus--don't use.
   2269 	    :
   2270 	  else
   2271 	    rm -rf conftest.one conftest.two conftest.dir
   2272 	    echo one > conftest.one
   2273 	    echo two > conftest.two
   2274 	    mkdir conftest.dir
   2275 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2276 	      test -s conftest.one && test -s conftest.two &&
   2277 	      test -s conftest.dir/conftest.one &&
   2278 	      test -s conftest.dir/conftest.two
   2279 	    then
   2280 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2281 	      break 3
   2282 	    fi
   2283 	  fi
   2284 	fi
   2285       done
   2286     done
   2287     ;;
   2288 esac
   2289 
   2290   done
   2291 IFS=$as_save_IFS
   2292 
   2293 rm -rf conftest.one conftest.two conftest.dir
   2294 
   2295 fi
   2296   if test "${ac_cv_path_install+set}" = set; then
   2297     INSTALL=$ac_cv_path_install
   2298   else
   2299     # As a last resort, use the slow shell script.  Don't cache a
   2300     # value for INSTALL within a source directory, because that will
   2301     # break other packages using the cache if that directory is
   2302     # removed, or if the value is a relative name.
   2303     INSTALL=$ac_install_sh
   2304   fi
   2305 fi
   2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2307 $as_echo "$INSTALL" >&6; }
   2308 
   2309 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2310 # It thinks the first close brace ends the variable substitution.
   2311 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2312 
   2313 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2314 
   2315 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2316 
   2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2318 $as_echo_n "checking whether build environment is sane... " >&6; }
   2319 # Reject unsafe characters in $srcdir or the absolute working directory
   2320 # name.  Accept space and tab only in the latter.
   2321 am_lf='
   2322 '
   2323 case `pwd` in
   2324   *[\\\"\#\$\&\'\`$am_lf]*)
   2325     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2326 esac
   2327 case $srcdir in
   2328   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2329     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2330 esac
   2331 
   2332 # Do 'set' in a subshell so we don't clobber the current shell's
   2333 # arguments.  Must try -L first in case configure is actually a
   2334 # symlink; some systems play weird games with the mod time of symlinks
   2335 # (eg FreeBSD returns the mod time of the symlink's containing
   2336 # directory).
   2337 if (
   2338    am_has_slept=no
   2339    for am_try in 1 2; do
   2340      echo "timestamp, slept: $am_has_slept" > conftest.file
   2341      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2342      if test "$*" = "X"; then
   2343 	# -L didn't work.
   2344 	set X `ls -t "$srcdir/configure" conftest.file`
   2345      fi
   2346      if test "$*" != "X $srcdir/configure conftest.file" \
   2347 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2348 
   2349 	# If neither matched, then we have a broken ls.  This can happen
   2350 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2351 	# broken ls alias from the environment.  This has actually
   2352 	# happened.  Such a system could not be considered "sane".
   2353 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2354   alias in your environment" "$LINENO" 5
   2355      fi
   2356      if test "$2" = conftest.file || test $am_try -eq 2; then
   2357        break
   2358      fi
   2359      # Just in case.
   2360      sleep 1
   2361      am_has_slept=yes
   2362    done
   2363    test "$2" = conftest.file
   2364    )
   2365 then
   2366    # Ok.
   2367    :
   2368 else
   2369    as_fn_error $? "newly created file is older than distributed files!
   2370 Check your system clock" "$LINENO" 5
   2371 fi
   2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2373 $as_echo "yes" >&6; }
   2374 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2375 # generated files are strictly newer.
   2376 am_sleep_pid=
   2377 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2378   ( sleep 1 ) &
   2379   am_sleep_pid=$!
   2380 fi
   2381 
   2382 rm -f conftest.file
   2383 
   2384 test "$program_prefix" != NONE &&
   2385   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2386 # Use a double $ so make ignores it.
   2387 test "$program_suffix" != NONE &&
   2388   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2389 # Double any \ or $.
   2390 # By default was `s,x,x', remove it if useless.
   2391 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2392 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2393 
   2394 # Expand $ac_aux_dir to an absolute path.
   2395 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2396 
   2397 if test x"${MISSING+set}" != xset; then
   2398   case $am_aux_dir in
   2399   *\ * | *\	*)
   2400     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2401   *)
   2402     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2403   esac
   2404 fi
   2405 # Use eval to expand $SHELL
   2406 if eval "$MISSING --is-lightweight"; then
   2407   am_missing_run="$MISSING "
   2408 else
   2409   am_missing_run=
   2410   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2411 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2412 fi
   2413 
   2414 if test x"${install_sh+set}" != xset; then
   2415   case $am_aux_dir in
   2416   *\ * | *\	*)
   2417     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2418   *)
   2419     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2420   esac
   2421 fi
   2422 
   2423 # Installed binaries are usually stripped using 'strip' when the user
   2424 # run "make install-strip".  However 'strip' might not be the right
   2425 # tool to use in cross-compilation environments, therefore Automake
   2426 # will honor the 'STRIP' environment variable to overrule this program.
   2427 if test "$cross_compiling" != no; then
   2428   if test -n "$ac_tool_prefix"; then
   2429   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2430 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2432 $as_echo_n "checking for $ac_word... " >&6; }
   2433 if ${ac_cv_prog_STRIP+:} false; then :
   2434   $as_echo_n "(cached) " >&6
   2435 else
   2436   if test -n "$STRIP"; then
   2437   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2438 else
   2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2440 for as_dir in $PATH
   2441 do
   2442   IFS=$as_save_IFS
   2443   test -z "$as_dir" && as_dir=.
   2444     for ac_exec_ext in '' $ac_executable_extensions; do
   2445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2446     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2448     break 2
   2449   fi
   2450 done
   2451   done
   2452 IFS=$as_save_IFS
   2453 
   2454 fi
   2455 fi
   2456 STRIP=$ac_cv_prog_STRIP
   2457 if test -n "$STRIP"; then
   2458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2459 $as_echo "$STRIP" >&6; }
   2460 else
   2461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2462 $as_echo "no" >&6; }
   2463 fi
   2464 
   2465 
   2466 fi
   2467 if test -z "$ac_cv_prog_STRIP"; then
   2468   ac_ct_STRIP=$STRIP
   2469   # Extract the first word of "strip", so it can be a program name with args.
   2470 set dummy strip; ac_word=$2
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2472 $as_echo_n "checking for $ac_word... " >&6; }
   2473 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2474   $as_echo_n "(cached) " >&6
   2475 else
   2476   if test -n "$ac_ct_STRIP"; then
   2477   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2478 else
   2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2480 for as_dir in $PATH
   2481 do
   2482   IFS=$as_save_IFS
   2483   test -z "$as_dir" && as_dir=.
   2484     for ac_exec_ext in '' $ac_executable_extensions; do
   2485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2486     ac_cv_prog_ac_ct_STRIP="strip"
   2487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2488     break 2
   2489   fi
   2490 done
   2491   done
   2492 IFS=$as_save_IFS
   2493 
   2494 fi
   2495 fi
   2496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2497 if test -n "$ac_ct_STRIP"; then
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2499 $as_echo "$ac_ct_STRIP" >&6; }
   2500 else
   2501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2502 $as_echo "no" >&6; }
   2503 fi
   2504 
   2505   if test "x$ac_ct_STRIP" = x; then
   2506     STRIP=":"
   2507   else
   2508     case $cross_compiling:$ac_tool_warned in
   2509 yes:)
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2512 ac_tool_warned=yes ;;
   2513 esac
   2514     STRIP=$ac_ct_STRIP
   2515   fi
   2516 else
   2517   STRIP="$ac_cv_prog_STRIP"
   2518 fi
   2519 
   2520 fi
   2521 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2522 
   2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2524 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2525 if test -z "$MKDIR_P"; then
   2526   if ${ac_cv_path_mkdir+:} false; then :
   2527   $as_echo_n "(cached) " >&6
   2528 else
   2529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534     for ac_prog in mkdir gmkdir; do
   2535 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2536 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2537 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2538 	     'mkdir (GNU coreutils) '* | \
   2539 	     'mkdir (coreutils) '* | \
   2540 	     'mkdir (fileutils) '4.1*)
   2541 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2542 	       break 3;;
   2543 	   esac
   2544 	 done
   2545        done
   2546   done
   2547 IFS=$as_save_IFS
   2548 
   2549 fi
   2550 
   2551   test -d ./--version && rmdir ./--version
   2552   if test "${ac_cv_path_mkdir+set}" = set; then
   2553     MKDIR_P="$ac_cv_path_mkdir -p"
   2554   else
   2555     # As a last resort, use the slow shell script.  Don't cache a
   2556     # value for MKDIR_P within a source directory, because that will
   2557     # break other packages using the cache if that directory is
   2558     # removed, or if the value is a relative name.
   2559     MKDIR_P="$ac_install_sh -d"
   2560   fi
   2561 fi
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2563 $as_echo "$MKDIR_P" >&6; }
   2564 
   2565 for ac_prog in gawk mawk nawk awk
   2566 do
   2567   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2568 set dummy $ac_prog; ac_word=$2
   2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2570 $as_echo_n "checking for $ac_word... " >&6; }
   2571 if ${ac_cv_prog_AWK+:} false; then :
   2572   $as_echo_n "(cached) " >&6
   2573 else
   2574   if test -n "$AWK"; then
   2575   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2576 else
   2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2578 for as_dir in $PATH
   2579 do
   2580   IFS=$as_save_IFS
   2581   test -z "$as_dir" && as_dir=.
   2582     for ac_exec_ext in '' $ac_executable_extensions; do
   2583   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2584     ac_cv_prog_AWK="$ac_prog"
   2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2586     break 2
   2587   fi
   2588 done
   2589   done
   2590 IFS=$as_save_IFS
   2591 
   2592 fi
   2593 fi
   2594 AWK=$ac_cv_prog_AWK
   2595 if test -n "$AWK"; then
   2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2597 $as_echo "$AWK" >&6; }
   2598 else
   2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2600 $as_echo "no" >&6; }
   2601 fi
   2602 
   2603 
   2604   test -n "$AWK" && break
   2605 done
   2606 
   2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2608 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2609 set x ${MAKE-make}
   2610 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2611 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2612   $as_echo_n "(cached) " >&6
   2613 else
   2614   cat >conftest.make <<\_ACEOF
   2615 SHELL = /bin/sh
   2616 all:
   2617 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2618 _ACEOF
   2619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2621   *@@@%%%=?*=@@@%%%*)
   2622     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2623   *)
   2624     eval ac_cv_prog_make_${ac_make}_set=no;;
   2625 esac
   2626 rm -f conftest.make
   2627 fi
   2628 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2630 $as_echo "yes" >&6; }
   2631   SET_MAKE=
   2632 else
   2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2634 $as_echo "no" >&6; }
   2635   SET_MAKE="MAKE=${MAKE-make}"
   2636 fi
   2637 
   2638 rm -rf .tst 2>/dev/null
   2639 mkdir .tst 2>/dev/null
   2640 if test -d .tst; then
   2641   am__leading_dot=.
   2642 else
   2643   am__leading_dot=_
   2644 fi
   2645 rmdir .tst 2>/dev/null
   2646 
   2647 # Check whether --enable-silent-rules was given.
   2648 if test "${enable_silent_rules+set}" = set; then :
   2649   enableval=$enable_silent_rules;
   2650 fi
   2651 
   2652 case $enable_silent_rules in # (((
   2653   yes) AM_DEFAULT_VERBOSITY=0;;
   2654    no) AM_DEFAULT_VERBOSITY=1;;
   2655     *) AM_DEFAULT_VERBOSITY=1;;
   2656 esac
   2657 am_make=${MAKE-make}
   2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2659 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2660 if ${am_cv_make_support_nested_variables+:} false; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   if $as_echo 'TRUE=$(BAR$(V))
   2664 BAR0=false
   2665 BAR1=true
   2666 V=1
   2667 am__doit:
   2668 	@$(TRUE)
   2669 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2670   am_cv_make_support_nested_variables=yes
   2671 else
   2672   am_cv_make_support_nested_variables=no
   2673 fi
   2674 fi
   2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2676 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2677 if test $am_cv_make_support_nested_variables = yes; then
   2678     AM_V='$(V)'
   2679   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2680 else
   2681   AM_V=$AM_DEFAULT_VERBOSITY
   2682   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2683 fi
   2684 AM_BACKSLASH='\'
   2685 
   2686 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2687   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2688   # is not polluted with repeated "-I."
   2689   am__isrc=' -I$(srcdir)'
   2690   # test to see if srcdir already configured
   2691   if test -f $srcdir/config.status; then
   2692     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2693   fi
   2694 fi
   2695 
   2696 # test whether we have cygpath
   2697 if test -z "$CYGPATH_W"; then
   2698   if (cygpath --version) >/dev/null 2>/dev/null; then
   2699     CYGPATH_W='cygpath -w'
   2700   else
   2701     CYGPATH_W=echo
   2702   fi
   2703 fi
   2704 
   2705 
   2706 # Define the identity of the package.
   2707  PACKAGE='xbiff'
   2708  VERSION='1.0.4'
   2709 
   2710 
   2711 cat >>confdefs.h <<_ACEOF
   2712 #define PACKAGE "$PACKAGE"
   2713 _ACEOF
   2714 
   2715 
   2716 cat >>confdefs.h <<_ACEOF
   2717 #define VERSION "$VERSION"
   2718 _ACEOF
   2719 
   2720 # Some tools Automake needs.
   2721 
   2722 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2723 
   2724 
   2725 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2726 
   2727 
   2728 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2729 
   2730 
   2731 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2732 
   2733 
   2734 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2735 
   2736 # For better backward compatibility.  To be removed once Automake 1.9.x
   2737 # dies out for good.  For more background, see:
   2738 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2739 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2740 mkdir_p='$(MKDIR_P)'
   2741 
   2742 # We need awk for the "check" target (and possibly the TAP driver).  The
   2743 # system "awk" is bad on some platforms.
   2744 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2745 # in the wild :-(  We should find a proper way to deprecate it ...
   2746 AMTAR='$${TAR-tar}'
   2747 
   2748 
   2749 # We'll loop over all known methods to create a tar archive until one works.
   2750 _am_tools='gnutar  pax cpio none'
   2751 
   2752 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2753 
   2754 
   2755 
   2756 
   2757 
   2758 
   2759 # POSIX will say in a future version that running "rm -f" with no argument
   2760 # is OK; and we want to be able to make that assumption in our Makefile
   2761 # recipes.  So use an aggressive probe to check that the usage we want is
   2762 # actually supported "in the wild" to an acceptable degree.
   2763 # See automake bug#10828.
   2764 # To make any issue more visible, cause the running configure to be aborted
   2765 # by default if the 'rm' program in use doesn't match our expectations; the
   2766 # user can still override this though.
   2767 if rm -f && rm -fr && rm -rf; then : OK; else
   2768   cat >&2 <<'END'
   2769 Oops!
   2770 
   2771 Your 'rm' program seems unable to run without file operands specified
   2772 on the command line, even when the '-f' option is present.  This is contrary
   2773 to the behaviour of most rm programs out there, and not conforming with
   2774 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2775 
   2776 Please tell bug-automake@gnu.org about your system, including the value
   2777 of your $PATH and any error possibly output before this message.  This
   2778 can help us improve future automake versions.
   2779 
   2780 END
   2781   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2782     echo 'Configuration will proceed anyway, since you have set the' >&2
   2783     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2784     echo >&2
   2785   else
   2786     cat >&2 <<'END'
   2787 Aborting the configuration process, to ensure you take notice of the issue.
   2788 
   2789 You can download and install GNU coreutils to get an 'rm' implementation
   2790 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2791 
   2792 If you want to complete the configuration process using your problematic
   2793 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2794 to "yes", and re-run configure.
   2795 
   2796 END
   2797     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2798   fi
   2799 fi
   2800 
   2801 
   2802 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 
   2809 
   2810 
   2811 
   2812 
   2813 
   2814 DEPDIR="${am__leading_dot}deps"
   2815 
   2816 ac_config_commands="$ac_config_commands depfiles"
   2817 
   2818 
   2819 am_make=${MAKE-make}
   2820 cat > confinc << 'END'
   2821 am__doit:
   2822 	@echo this is the am__doit target
   2823 .PHONY: am__doit
   2824 END
   2825 # If we don't find an include directive, just comment out the code.
   2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2827 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2828 am__include="#"
   2829 am__quote=
   2830 _am_result=none
   2831 # First try GNU make style include.
   2832 echo "include confinc" > confmf
   2833 # Ignore all kinds of additional output from 'make'.
   2834 case `$am_make -s -f confmf 2> /dev/null` in #(
   2835 *the\ am__doit\ target*)
   2836   am__include=include
   2837   am__quote=
   2838   _am_result=GNU
   2839   ;;
   2840 esac
   2841 # Now try BSD make style include.
   2842 if test "$am__include" = "#"; then
   2843    echo '.include "confinc"' > confmf
   2844    case `$am_make -s -f confmf 2> /dev/null` in #(
   2845    *the\ am__doit\ target*)
   2846      am__include=.include
   2847      am__quote="\""
   2848      _am_result=BSD
   2849      ;;
   2850    esac
   2851 fi
   2852 
   2853 
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2855 $as_echo "$_am_result" >&6; }
   2856 rm -f confinc confmf
   2857 
   2858 # Check whether --enable-dependency-tracking was given.
   2859 if test "${enable_dependency_tracking+set}" = set; then :
   2860   enableval=$enable_dependency_tracking;
   2861 fi
   2862 
   2863 if test "x$enable_dependency_tracking" != xno; then
   2864   am_depcomp="$ac_aux_dir/depcomp"
   2865   AMDEPBACKSLASH='\'
   2866   am__nodep='_no'
   2867 fi
   2868  if test "x$enable_dependency_tracking" != xno; then
   2869   AMDEP_TRUE=
   2870   AMDEP_FALSE='#'
   2871 else
   2872   AMDEP_TRUE='#'
   2873   AMDEP_FALSE=
   2874 fi
   2875 
   2876 
   2877 ac_ext=c
   2878 ac_cpp='$CPP $CPPFLAGS'
   2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2882 if test -n "$ac_tool_prefix"; then
   2883   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2884 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2886 $as_echo_n "checking for $ac_word... " >&6; }
   2887 if ${ac_cv_prog_CC+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   if test -n "$CC"; then
   2891   ac_cv_prog_CC="$CC" # Let the user override the test.
   2892 else
   2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2894 for as_dir in $PATH
   2895 do
   2896   IFS=$as_save_IFS
   2897   test -z "$as_dir" && as_dir=.
   2898     for ac_exec_ext in '' $ac_executable_extensions; do
   2899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2900     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2902     break 2
   2903   fi
   2904 done
   2905   done
   2906 IFS=$as_save_IFS
   2907 
   2908 fi
   2909 fi
   2910 CC=$ac_cv_prog_CC
   2911 if test -n "$CC"; then
   2912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2913 $as_echo "$CC" >&6; }
   2914 else
   2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 $as_echo "no" >&6; }
   2917 fi
   2918 
   2919 
   2920 fi
   2921 if test -z "$ac_cv_prog_CC"; then
   2922   ac_ct_CC=$CC
   2923   # Extract the first word of "gcc", so it can be a program name with args.
   2924 set dummy gcc; ac_word=$2
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2926 $as_echo_n "checking for $ac_word... " >&6; }
   2927 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   if test -n "$ac_ct_CC"; then
   2931   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2932 else
   2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2934 for as_dir in $PATH
   2935 do
   2936   IFS=$as_save_IFS
   2937   test -z "$as_dir" && as_dir=.
   2938     for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2940     ac_cv_prog_ac_ct_CC="gcc"
   2941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2942     break 2
   2943   fi
   2944 done
   2945   done
   2946 IFS=$as_save_IFS
   2947 
   2948 fi
   2949 fi
   2950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2951 if test -n "$ac_ct_CC"; then
   2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2953 $as_echo "$ac_ct_CC" >&6; }
   2954 else
   2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 $as_echo "no" >&6; }
   2957 fi
   2958 
   2959   if test "x$ac_ct_CC" = x; then
   2960     CC=""
   2961   else
   2962     case $cross_compiling:$ac_tool_warned in
   2963 yes:)
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2966 ac_tool_warned=yes ;;
   2967 esac
   2968     CC=$ac_ct_CC
   2969   fi
   2970 else
   2971   CC="$ac_cv_prog_CC"
   2972 fi
   2973 
   2974 if test -z "$CC"; then
   2975           if test -n "$ac_tool_prefix"; then
   2976     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2977 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2979 $as_echo_n "checking for $ac_word... " >&6; }
   2980 if ${ac_cv_prog_CC+:} false; then :
   2981   $as_echo_n "(cached) " >&6
   2982 else
   2983   if test -n "$CC"; then
   2984   ac_cv_prog_CC="$CC" # Let the user override the test.
   2985 else
   2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2987 for as_dir in $PATH
   2988 do
   2989   IFS=$as_save_IFS
   2990   test -z "$as_dir" && as_dir=.
   2991     for ac_exec_ext in '' $ac_executable_extensions; do
   2992   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2993     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998   done
   2999 IFS=$as_save_IFS
   3000 
   3001 fi
   3002 fi
   3003 CC=$ac_cv_prog_CC
   3004 if test -n "$CC"; then
   3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3006 $as_echo "$CC" >&6; }
   3007 else
   3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3009 $as_echo "no" >&6; }
   3010 fi
   3011 
   3012 
   3013   fi
   3014 fi
   3015 if test -z "$CC"; then
   3016   # Extract the first word of "cc", so it can be a program name with args.
   3017 set dummy cc; ac_word=$2
   3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3019 $as_echo_n "checking for $ac_word... " >&6; }
   3020 if ${ac_cv_prog_CC+:} false; then :
   3021   $as_echo_n "(cached) " >&6
   3022 else
   3023   if test -n "$CC"; then
   3024   ac_cv_prog_CC="$CC" # Let the user override the test.
   3025 else
   3026   ac_prog_rejected=no
   3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH
   3029 do
   3030   IFS=$as_save_IFS
   3031   test -z "$as_dir" && as_dir=.
   3032     for ac_exec_ext in '' $ac_executable_extensions; do
   3033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3034     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3035        ac_prog_rejected=yes
   3036        continue
   3037      fi
   3038     ac_cv_prog_CC="cc"
   3039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3040     break 2
   3041   fi
   3042 done
   3043   done
   3044 IFS=$as_save_IFS
   3045 
   3046 if test $ac_prog_rejected = yes; then
   3047   # We found a bogon in the path, so make sure we never use it.
   3048   set dummy $ac_cv_prog_CC
   3049   shift
   3050   if test $# != 0; then
   3051     # We chose a different compiler from the bogus one.
   3052     # However, it has the same basename, so the bogon will be chosen
   3053     # first if we set CC to just the basename; use the full file name.
   3054     shift
   3055     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3056   fi
   3057 fi
   3058 fi
   3059 fi
   3060 CC=$ac_cv_prog_CC
   3061 if test -n "$CC"; then
   3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3063 $as_echo "$CC" >&6; }
   3064 else
   3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3066 $as_echo "no" >&6; }
   3067 fi
   3068 
   3069 
   3070 fi
   3071 if test -z "$CC"; then
   3072   if test -n "$ac_tool_prefix"; then
   3073   for ac_prog in cl.exe
   3074   do
   3075     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3076 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3078 $as_echo_n "checking for $ac_word... " >&6; }
   3079 if ${ac_cv_prog_CC+:} false; then :
   3080   $as_echo_n "(cached) " >&6
   3081 else
   3082   if test -n "$CC"; then
   3083   ac_cv_prog_CC="$CC" # Let the user override the test.
   3084 else
   3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3086 for as_dir in $PATH
   3087 do
   3088   IFS=$as_save_IFS
   3089   test -z "$as_dir" && as_dir=.
   3090     for ac_exec_ext in '' $ac_executable_extensions; do
   3091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3092     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3094     break 2
   3095   fi
   3096 done
   3097   done
   3098 IFS=$as_save_IFS
   3099 
   3100 fi
   3101 fi
   3102 CC=$ac_cv_prog_CC
   3103 if test -n "$CC"; then
   3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3105 $as_echo "$CC" >&6; }
   3106 else
   3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3108 $as_echo "no" >&6; }
   3109 fi
   3110 
   3111 
   3112     test -n "$CC" && break
   3113   done
   3114 fi
   3115 if test -z "$CC"; then
   3116   ac_ct_CC=$CC
   3117   for ac_prog in cl.exe
   3118 do
   3119   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3120 set dummy $ac_prog; ac_word=$2
   3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3122 $as_echo_n "checking for $ac_word... " >&6; }
   3123 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3124   $as_echo_n "(cached) " >&6
   3125 else
   3126   if test -n "$ac_ct_CC"; then
   3127   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3128 else
   3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3130 for as_dir in $PATH
   3131 do
   3132   IFS=$as_save_IFS
   3133   test -z "$as_dir" && as_dir=.
   3134     for ac_exec_ext in '' $ac_executable_extensions; do
   3135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3136     ac_cv_prog_ac_ct_CC="$ac_prog"
   3137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3138     break 2
   3139   fi
   3140 done
   3141   done
   3142 IFS=$as_save_IFS
   3143 
   3144 fi
   3145 fi
   3146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3147 if test -n "$ac_ct_CC"; then
   3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3149 $as_echo "$ac_ct_CC" >&6; }
   3150 else
   3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3152 $as_echo "no" >&6; }
   3153 fi
   3154 
   3155 
   3156   test -n "$ac_ct_CC" && break
   3157 done
   3158 
   3159   if test "x$ac_ct_CC" = x; then
   3160     CC=""
   3161   else
   3162     case $cross_compiling:$ac_tool_warned in
   3163 yes:)
   3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3166 ac_tool_warned=yes ;;
   3167 esac
   3168     CC=$ac_ct_CC
   3169   fi
   3170 fi
   3171 
   3172 fi
   3173 
   3174 
   3175 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3177 as_fn_error $? "no acceptable C compiler found in \$PATH
   3178 See \`config.log' for more details" "$LINENO" 5; }
   3179 
   3180 # Provide some information about the compiler.
   3181 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3182 set X $ac_compile
   3183 ac_compiler=$2
   3184 for ac_option in --version -v -V -qversion; do
   3185   { { ac_try="$ac_compiler $ac_option >&5"
   3186 case "(($ac_try" in
   3187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3188   *) ac_try_echo=$ac_try;;
   3189 esac
   3190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3191 $as_echo "$ac_try_echo"; } >&5
   3192   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3193   ac_status=$?
   3194   if test -s conftest.err; then
   3195     sed '10a\
   3196 ... rest of stderr output deleted ...
   3197          10q' conftest.err >conftest.er1
   3198     cat conftest.er1 >&5
   3199   fi
   3200   rm -f conftest.er1 conftest.err
   3201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3202   test $ac_status = 0; }
   3203 done
   3204 
   3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3206 /* end confdefs.h.  */
   3207 
   3208 int
   3209 main ()
   3210 {
   3211 
   3212   ;
   3213   return 0;
   3214 }
   3215 _ACEOF
   3216 ac_clean_files_save=$ac_clean_files
   3217 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3218 # Try to create an executable without -o first, disregard a.out.
   3219 # It will help us diagnose broken compilers, and finding out an intuition
   3220 # of exeext.
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3222 $as_echo_n "checking whether the C compiler works... " >&6; }
   3223 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3224 
   3225 # The possible output files:
   3226 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3227 
   3228 ac_rmfiles=
   3229 for ac_file in $ac_files
   3230 do
   3231   case $ac_file in
   3232     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3233     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3234   esac
   3235 done
   3236 rm -f $ac_rmfiles
   3237 
   3238 if { { ac_try="$ac_link_default"
   3239 case "(($ac_try" in
   3240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3241   *) ac_try_echo=$ac_try;;
   3242 esac
   3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3244 $as_echo "$ac_try_echo"; } >&5
   3245   (eval "$ac_link_default") 2>&5
   3246   ac_status=$?
   3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3248   test $ac_status = 0; }; then :
   3249   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3250 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3251 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3252 # so that the user can short-circuit this test for compilers unknown to
   3253 # Autoconf.
   3254 for ac_file in $ac_files ''
   3255 do
   3256   test -f "$ac_file" || continue
   3257   case $ac_file in
   3258     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3259 	;;
   3260     [ab].out )
   3261 	# We found the default executable, but exeext='' is most
   3262 	# certainly right.
   3263 	break;;
   3264     *.* )
   3265 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3266 	then :; else
   3267 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3268 	fi
   3269 	# We set ac_cv_exeext here because the later test for it is not
   3270 	# safe: cross compilers may not add the suffix if given an `-o'
   3271 	# argument, so we may need to know it at that point already.
   3272 	# Even if this section looks crufty: it has the advantage of
   3273 	# actually working.
   3274 	break;;
   3275     * )
   3276 	break;;
   3277   esac
   3278 done
   3279 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3280 
   3281 else
   3282   ac_file=''
   3283 fi
   3284 if test -z "$ac_file"; then :
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3286 $as_echo "no" >&6; }
   3287 $as_echo "$as_me: failed program was:" >&5
   3288 sed 's/^/| /' conftest.$ac_ext >&5
   3289 
   3290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 as_fn_error 77 "C compiler cannot create executables
   3293 See \`config.log' for more details" "$LINENO" 5; }
   3294 else
   3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3296 $as_echo "yes" >&6; }
   3297 fi
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3299 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3301 $as_echo "$ac_file" >&6; }
   3302 ac_exeext=$ac_cv_exeext
   3303 
   3304 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3305 ac_clean_files=$ac_clean_files_save
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3307 $as_echo_n "checking for suffix of executables... " >&6; }
   3308 if { { ac_try="$ac_link"
   3309 case "(($ac_try" in
   3310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3311   *) ac_try_echo=$ac_try;;
   3312 esac
   3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3314 $as_echo "$ac_try_echo"; } >&5
   3315   (eval "$ac_link") 2>&5
   3316   ac_status=$?
   3317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3318   test $ac_status = 0; }; then :
   3319   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3320 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3321 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3322 # `rm'.
   3323 for ac_file in conftest.exe conftest conftest.*; do
   3324   test -f "$ac_file" || continue
   3325   case $ac_file in
   3326     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3327     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3328 	  break;;
   3329     * ) break;;
   3330   esac
   3331 done
   3332 else
   3333   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3335 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3336 See \`config.log' for more details" "$LINENO" 5; }
   3337 fi
   3338 rm -f conftest conftest$ac_cv_exeext
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3340 $as_echo "$ac_cv_exeext" >&6; }
   3341 
   3342 rm -f conftest.$ac_ext
   3343 EXEEXT=$ac_cv_exeext
   3344 ac_exeext=$EXEEXT
   3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3346 /* end confdefs.h.  */
   3347 #include <stdio.h>
   3348 int
   3349 main ()
   3350 {
   3351 FILE *f = fopen ("conftest.out", "w");
   3352  return ferror (f) || fclose (f) != 0;
   3353 
   3354   ;
   3355   return 0;
   3356 }
   3357 _ACEOF
   3358 ac_clean_files="$ac_clean_files conftest.out"
   3359 # Check that the compiler produces executables we can run.  If not, either
   3360 # the compiler is broken, or we cross compile.
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3362 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3363 if test "$cross_compiling" != yes; then
   3364   { { ac_try="$ac_link"
   3365 case "(($ac_try" in
   3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3367   *) ac_try_echo=$ac_try;;
   3368 esac
   3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3370 $as_echo "$ac_try_echo"; } >&5
   3371   (eval "$ac_link") 2>&5
   3372   ac_status=$?
   3373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3374   test $ac_status = 0; }
   3375   if { ac_try='./conftest$ac_cv_exeext'
   3376   { { case "(($ac_try" in
   3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3378   *) ac_try_echo=$ac_try;;
   3379 esac
   3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3381 $as_echo "$ac_try_echo"; } >&5
   3382   (eval "$ac_try") 2>&5
   3383   ac_status=$?
   3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3385   test $ac_status = 0; }; }; then
   3386     cross_compiling=no
   3387   else
   3388     if test "$cross_compiling" = maybe; then
   3389 	cross_compiling=yes
   3390     else
   3391 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3393 as_fn_error $? "cannot run C compiled programs.
   3394 If you meant to cross compile, use \`--host'.
   3395 See \`config.log' for more details" "$LINENO" 5; }
   3396     fi
   3397   fi
   3398 fi
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3400 $as_echo "$cross_compiling" >&6; }
   3401 
   3402 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3403 ac_clean_files=$ac_clean_files_save
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3405 $as_echo_n "checking for suffix of object files... " >&6; }
   3406 if ${ac_cv_objext+:} false; then :
   3407   $as_echo_n "(cached) " >&6
   3408 else
   3409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3410 /* end confdefs.h.  */
   3411 
   3412 int
   3413 main ()
   3414 {
   3415 
   3416   ;
   3417   return 0;
   3418 }
   3419 _ACEOF
   3420 rm -f conftest.o conftest.obj
   3421 if { { ac_try="$ac_compile"
   3422 case "(($ac_try" in
   3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3424   *) ac_try_echo=$ac_try;;
   3425 esac
   3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3427 $as_echo "$ac_try_echo"; } >&5
   3428   (eval "$ac_compile") 2>&5
   3429   ac_status=$?
   3430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3431   test $ac_status = 0; }; then :
   3432   for ac_file in conftest.o conftest.obj conftest.*; do
   3433   test -f "$ac_file" || continue;
   3434   case $ac_file in
   3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3436     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3437        break;;
   3438   esac
   3439 done
   3440 else
   3441   $as_echo "$as_me: failed program was:" >&5
   3442 sed 's/^/| /' conftest.$ac_ext >&5
   3443 
   3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3446 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3447 See \`config.log' for more details" "$LINENO" 5; }
   3448 fi
   3449 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3450 fi
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3452 $as_echo "$ac_cv_objext" >&6; }
   3453 OBJEXT=$ac_cv_objext
   3454 ac_objext=$OBJEXT
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3456 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3457 if ${ac_cv_c_compiler_gnu+:} false; then :
   3458   $as_echo_n "(cached) " >&6
   3459 else
   3460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3461 /* end confdefs.h.  */
   3462 
   3463 int
   3464 main ()
   3465 {
   3466 #ifndef __GNUC__
   3467        choke me
   3468 #endif
   3469 
   3470   ;
   3471   return 0;
   3472 }
   3473 _ACEOF
   3474 if ac_fn_c_try_compile "$LINENO"; then :
   3475   ac_compiler_gnu=yes
   3476 else
   3477   ac_compiler_gnu=no
   3478 fi
   3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3480 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3481 
   3482 fi
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3484 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3485 if test $ac_compiler_gnu = yes; then
   3486   GCC=yes
   3487 else
   3488   GCC=
   3489 fi
   3490 ac_test_CFLAGS=${CFLAGS+set}
   3491 ac_save_CFLAGS=$CFLAGS
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3493 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3494 if ${ac_cv_prog_cc_g+:} false; then :
   3495   $as_echo_n "(cached) " >&6
   3496 else
   3497   ac_save_c_werror_flag=$ac_c_werror_flag
   3498    ac_c_werror_flag=yes
   3499    ac_cv_prog_cc_g=no
   3500    CFLAGS="-g"
   3501    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 
   3504 int
   3505 main ()
   3506 {
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 if ac_fn_c_try_compile "$LINENO"; then :
   3513   ac_cv_prog_cc_g=yes
   3514 else
   3515   CFLAGS=""
   3516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3517 /* end confdefs.h.  */
   3518 
   3519 int
   3520 main ()
   3521 {
   3522 
   3523   ;
   3524   return 0;
   3525 }
   3526 _ACEOF
   3527 if ac_fn_c_try_compile "$LINENO"; then :
   3528 
   3529 else
   3530   ac_c_werror_flag=$ac_save_c_werror_flag
   3531 	 CFLAGS="-g"
   3532 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3533 /* end confdefs.h.  */
   3534 
   3535 int
   3536 main ()
   3537 {
   3538 
   3539   ;
   3540   return 0;
   3541 }
   3542 _ACEOF
   3543 if ac_fn_c_try_compile "$LINENO"; then :
   3544   ac_cv_prog_cc_g=yes
   3545 fi
   3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3547 fi
   3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3549 fi
   3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3551    ac_c_werror_flag=$ac_save_c_werror_flag
   3552 fi
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3554 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3555 if test "$ac_test_CFLAGS" = set; then
   3556   CFLAGS=$ac_save_CFLAGS
   3557 elif test $ac_cv_prog_cc_g = yes; then
   3558   if test "$GCC" = yes; then
   3559     CFLAGS="-g -O2"
   3560   else
   3561     CFLAGS="-g"
   3562   fi
   3563 else
   3564   if test "$GCC" = yes; then
   3565     CFLAGS="-O2"
   3566   else
   3567     CFLAGS=
   3568   fi
   3569 fi
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3571 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3572 if ${ac_cv_prog_cc_c89+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   ac_cv_prog_cc_c89=no
   3576 ac_save_CC=$CC
   3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3578 /* end confdefs.h.  */
   3579 #include <stdarg.h>
   3580 #include <stdio.h>
   3581 struct stat;
   3582 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3583 struct buf { int x; };
   3584 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3585 static char *e (p, i)
   3586      char **p;
   3587      int i;
   3588 {
   3589   return p[i];
   3590 }
   3591 static char *f (char * (*g) (char **, int), char **p, ...)
   3592 {
   3593   char *s;
   3594   va_list v;
   3595   va_start (v,p);
   3596   s = g (p, va_arg (v,int));
   3597   va_end (v);
   3598   return s;
   3599 }
   3600 
   3601 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3602    function prototypes and stuff, but not '\xHH' hex character constants.
   3603    These don't provoke an error unfortunately, instead are silently treated
   3604    as 'x'.  The following induces an error, until -std is added to get
   3605    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3606    array size at least.  It's necessary to write '\x00'==0 to get something
   3607    that's true only with -std.  */
   3608 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3609 
   3610 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3611    inside strings and character constants.  */
   3612 #define FOO(x) 'x'
   3613 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3614 
   3615 int test (int i, double x);
   3616 struct s1 {int (*f) (int a);};
   3617 struct s2 {int (*f) (double a);};
   3618 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3619 int argc;
   3620 char **argv;
   3621 int
   3622 main ()
   3623 {
   3624 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3625   ;
   3626   return 0;
   3627 }
   3628 _ACEOF
   3629 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3630 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3631 do
   3632   CC="$ac_save_CC $ac_arg"
   3633   if ac_fn_c_try_compile "$LINENO"; then :
   3634   ac_cv_prog_cc_c89=$ac_arg
   3635 fi
   3636 rm -f core conftest.err conftest.$ac_objext
   3637   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3638 done
   3639 rm -f conftest.$ac_ext
   3640 CC=$ac_save_CC
   3641 
   3642 fi
   3643 # AC_CACHE_VAL
   3644 case "x$ac_cv_prog_cc_c89" in
   3645   x)
   3646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3647 $as_echo "none needed" >&6; } ;;
   3648   xno)
   3649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3650 $as_echo "unsupported" >&6; } ;;
   3651   *)
   3652     CC="$CC $ac_cv_prog_cc_c89"
   3653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3654 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3655 esac
   3656 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3657 
   3658 fi
   3659 
   3660 ac_ext=c
   3661 ac_cpp='$CPP $CPPFLAGS'
   3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3665 
   3666 ac_ext=c
   3667 ac_cpp='$CPP $CPPFLAGS'
   3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3672 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3673 if ${am_cv_prog_cc_c_o+:} false; then :
   3674   $as_echo_n "(cached) " >&6
   3675 else
   3676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3677 /* end confdefs.h.  */
   3678 
   3679 int
   3680 main ()
   3681 {
   3682 
   3683   ;
   3684   return 0;
   3685 }
   3686 _ACEOF
   3687   # Make sure it works both with $CC and with simple cc.
   3688   # Following AC_PROG_CC_C_O, we do the test twice because some
   3689   # compilers refuse to overwrite an existing .o file with -o,
   3690   # though they will create one.
   3691   am_cv_prog_cc_c_o=yes
   3692   for am_i in 1 2; do
   3693     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3694    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3695    ac_status=$?
   3696    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3697    (exit $ac_status); } \
   3698          && test -f conftest2.$ac_objext; then
   3699       : OK
   3700     else
   3701       am_cv_prog_cc_c_o=no
   3702       break
   3703     fi
   3704   done
   3705   rm -f core conftest*
   3706   unset am_i
   3707 fi
   3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3709 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3710 if test "$am_cv_prog_cc_c_o" != yes; then
   3711    # Losing compiler, so override with the script.
   3712    # FIXME: It is wrong to rewrite CC.
   3713    # But if we don't then we get into trouble of one sort or another.
   3714    # A longer-term fix would be to have automake use am__CC in this case,
   3715    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3716    CC="$am_aux_dir/compile $CC"
   3717 fi
   3718 ac_ext=c
   3719 ac_cpp='$CPP $CPPFLAGS'
   3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3723 
   3724 
   3725 depcc="$CC"   am_compiler_list=
   3726 
   3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3728 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3729 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3730   $as_echo_n "(cached) " >&6
   3731 else
   3732   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3733   # We make a subdir and do the tests there.  Otherwise we can end up
   3734   # making bogus files that we don't know about and never remove.  For
   3735   # instance it was reported that on HP-UX the gcc test will end up
   3736   # making a dummy file named 'D' -- because '-MD' means "put the output
   3737   # in D".
   3738   rm -rf conftest.dir
   3739   mkdir conftest.dir
   3740   # Copy depcomp to subdir because otherwise we won't find it if we're
   3741   # using a relative directory.
   3742   cp "$am_depcomp" conftest.dir
   3743   cd conftest.dir
   3744   # We will build objects and dependencies in a subdirectory because
   3745   # it helps to detect inapplicable dependency modes.  For instance
   3746   # both Tru64's cc and ICC support -MD to output dependencies as a
   3747   # side effect of compilation, but ICC will put the dependencies in
   3748   # the current directory while Tru64 will put them in the object
   3749   # directory.
   3750   mkdir sub
   3751 
   3752   am_cv_CC_dependencies_compiler_type=none
   3753   if test "$am_compiler_list" = ""; then
   3754      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3755   fi
   3756   am__universal=false
   3757   case " $depcc " in #(
   3758      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3759      esac
   3760 
   3761   for depmode in $am_compiler_list; do
   3762     # Setup a source with many dependencies, because some compilers
   3763     # like to wrap large dependency lists on column 80 (with \), and
   3764     # we should not choose a depcomp mode which is confused by this.
   3765     #
   3766     # We need to recreate these files for each test, as the compiler may
   3767     # overwrite some of them when testing with obscure command lines.
   3768     # This happens at least with the AIX C compiler.
   3769     : > sub/conftest.c
   3770     for i in 1 2 3 4 5 6; do
   3771       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3772       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3773       # Solaris 10 /bin/sh.
   3774       echo '/* dummy */' > sub/conftst$i.h
   3775     done
   3776     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3777 
   3778     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3779     # mode.  It turns out that the SunPro C++ compiler does not properly
   3780     # handle '-M -o', and we need to detect this.  Also, some Intel
   3781     # versions had trouble with output in subdirs.
   3782     am__obj=sub/conftest.${OBJEXT-o}
   3783     am__minus_obj="-o $am__obj"
   3784     case $depmode in
   3785     gcc)
   3786       # This depmode causes a compiler race in universal mode.
   3787       test "$am__universal" = false || continue
   3788       ;;
   3789     nosideeffect)
   3790       # After this tag, mechanisms are not by side-effect, so they'll
   3791       # only be used when explicitly requested.
   3792       if test "x$enable_dependency_tracking" = xyes; then
   3793 	continue
   3794       else
   3795 	break
   3796       fi
   3797       ;;
   3798     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3799       # This compiler won't grok '-c -o', but also, the minuso test has
   3800       # not run yet.  These depmodes are late enough in the game, and
   3801       # so weak that their functioning should not be impacted.
   3802       am__obj=conftest.${OBJEXT-o}
   3803       am__minus_obj=
   3804       ;;
   3805     none) break ;;
   3806     esac
   3807     if depmode=$depmode \
   3808        source=sub/conftest.c object=$am__obj \
   3809        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3810        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3811          >/dev/null 2>conftest.err &&
   3812        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3813        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3814        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3815        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3816       # icc doesn't choke on unknown options, it will just issue warnings
   3817       # or remarks (even with -Werror).  So we grep stderr for any message
   3818       # that says an option was ignored or not supported.
   3819       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3820       #   icc: Command line warning: ignoring option '-M'; no argument required
   3821       # The diagnosis changed in icc 8.0:
   3822       #   icc: Command line remark: option '-MP' not supported
   3823       if (grep 'ignoring option' conftest.err ||
   3824           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3825         am_cv_CC_dependencies_compiler_type=$depmode
   3826         break
   3827       fi
   3828     fi
   3829   done
   3830 
   3831   cd ..
   3832   rm -rf conftest.dir
   3833 else
   3834   am_cv_CC_dependencies_compiler_type=none
   3835 fi
   3836 
   3837 fi
   3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3839 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3840 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3841 
   3842  if
   3843   test "x$enable_dependency_tracking" != xno \
   3844   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3845   am__fastdepCC_TRUE=
   3846   am__fastdepCC_FALSE='#'
   3847 else
   3848   am__fastdepCC_TRUE='#'
   3849   am__fastdepCC_FALSE=
   3850 fi
   3851 
   3852 
   3853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3854 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3855 if ${ac_cv_prog_cc_c99+:} false; then :
   3856   $as_echo_n "(cached) " >&6
   3857 else
   3858   ac_cv_prog_cc_c99=no
   3859 ac_save_CC=$CC
   3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3861 /* end confdefs.h.  */
   3862 #include <stdarg.h>
   3863 #include <stdbool.h>
   3864 #include <stdlib.h>
   3865 #include <wchar.h>
   3866 #include <stdio.h>
   3867 
   3868 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3869 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3870 #define showlist(...) puts (#__VA_ARGS__)
   3871 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3872 static void
   3873 test_varargs_macros (void)
   3874 {
   3875   int x = 1234;
   3876   int y = 5678;
   3877   debug ("Flag");
   3878   debug ("X = %d\n", x);
   3879   showlist (The first, second, and third items.);
   3880   report (x>y, "x is %d but y is %d", x, y);
   3881 }
   3882 
   3883 // Check long long types.
   3884 #define BIG64 18446744073709551615ull
   3885 #define BIG32 4294967295ul
   3886 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3887 #if !BIG_OK
   3888   your preprocessor is broken;
   3889 #endif
   3890 #if BIG_OK
   3891 #else
   3892   your preprocessor is broken;
   3893 #endif
   3894 static long long int bignum = -9223372036854775807LL;
   3895 static unsigned long long int ubignum = BIG64;
   3896 
   3897 struct incomplete_array
   3898 {
   3899   int datasize;
   3900   double data[];
   3901 };
   3902 
   3903 struct named_init {
   3904   int number;
   3905   const wchar_t *name;
   3906   double average;
   3907 };
   3908 
   3909 typedef const char *ccp;
   3910 
   3911 static inline int
   3912 test_restrict (ccp restrict text)
   3913 {
   3914   // See if C++-style comments work.
   3915   // Iterate through items via the restricted pointer.
   3916   // Also check for declarations in for loops.
   3917   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3918     continue;
   3919   return 0;
   3920 }
   3921 
   3922 // Check varargs and va_copy.
   3923 static void
   3924 test_varargs (const char *format, ...)
   3925 {
   3926   va_list args;
   3927   va_start (args, format);
   3928   va_list args_copy;
   3929   va_copy (args_copy, args);
   3930 
   3931   const char *str;
   3932   int number;
   3933   float fnumber;
   3934 
   3935   while (*format)
   3936     {
   3937       switch (*format++)
   3938 	{
   3939 	case 's': // string
   3940 	  str = va_arg (args_copy, const char *);
   3941 	  break;
   3942 	case 'd': // int
   3943 	  number = va_arg (args_copy, int);
   3944 	  break;
   3945 	case 'f': // float
   3946 	  fnumber = va_arg (args_copy, double);
   3947 	  break;
   3948 	default:
   3949 	  break;
   3950 	}
   3951     }
   3952   va_end (args_copy);
   3953   va_end (args);
   3954 }
   3955 
   3956 int
   3957 main ()
   3958 {
   3959 
   3960   // Check bool.
   3961   _Bool success = false;
   3962 
   3963   // Check restrict.
   3964   if (test_restrict ("String literal") == 0)
   3965     success = true;
   3966   char *restrict newvar = "Another string";
   3967 
   3968   // Check varargs.
   3969   test_varargs ("s, d' f .", "string", 65, 34.234);
   3970   test_varargs_macros ();
   3971 
   3972   // Check flexible array members.
   3973   struct incomplete_array *ia =
   3974     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3975   ia->datasize = 10;
   3976   for (int i = 0; i < ia->datasize; ++i)
   3977     ia->data[i] = i * 1.234;
   3978 
   3979   // Check named initializers.
   3980   struct named_init ni = {
   3981     .number = 34,
   3982     .name = L"Test wide string",
   3983     .average = 543.34343,
   3984   };
   3985 
   3986   ni.number = 58;
   3987 
   3988   int dynamic_array[ni.number];
   3989   dynamic_array[ni.number - 1] = 543;
   3990 
   3991   // work around unused variable warnings
   3992   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3993 	  || dynamic_array[ni.number - 1] != 543);
   3994 
   3995   ;
   3996   return 0;
   3997 }
   3998 _ACEOF
   3999 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4000 do
   4001   CC="$ac_save_CC $ac_arg"
   4002   if ac_fn_c_try_compile "$LINENO"; then :
   4003   ac_cv_prog_cc_c99=$ac_arg
   4004 fi
   4005 rm -f core conftest.err conftest.$ac_objext
   4006   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4007 done
   4008 rm -f conftest.$ac_ext
   4009 CC=$ac_save_CC
   4010 
   4011 fi
   4012 # AC_CACHE_VAL
   4013 case "x$ac_cv_prog_cc_c99" in
   4014   x)
   4015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4016 $as_echo "none needed" >&6; } ;;
   4017   xno)
   4018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4019 $as_echo "unsupported" >&6; } ;;
   4020   *)
   4021     CC="$CC $ac_cv_prog_cc_c99"
   4022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4023 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4024 esac
   4025 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4026 
   4027 fi
   4028 
   4029 
   4030 
   4031 ac_ext=c
   4032 ac_cpp='$CPP $CPPFLAGS'
   4033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4038 # On Suns, sometimes $CPP names a directory.
   4039 if test -n "$CPP" && test -d "$CPP"; then
   4040   CPP=
   4041 fi
   4042 if test -z "$CPP"; then
   4043   if ${ac_cv_prog_CPP+:} false; then :
   4044   $as_echo_n "(cached) " >&6
   4045 else
   4046       # Double quotes because CPP needs to be expanded
   4047     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4048     do
   4049       ac_preproc_ok=false
   4050 for ac_c_preproc_warn_flag in '' yes
   4051 do
   4052   # Use a header file that comes with gcc, so configuring glibc
   4053   # with a fresh cross-compiler works.
   4054   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4055   # <limits.h> exists even on freestanding compilers.
   4056   # On the NeXT, cc -E runs the code through the compiler's parser,
   4057   # not just through cpp. "Syntax error" is here to catch this case.
   4058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4059 /* end confdefs.h.  */
   4060 #ifdef __STDC__
   4061 # include <limits.h>
   4062 #else
   4063 # include <assert.h>
   4064 #endif
   4065 		     Syntax error
   4066 _ACEOF
   4067 if ac_fn_c_try_cpp "$LINENO"; then :
   4068 
   4069 else
   4070   # Broken: fails on valid input.
   4071 continue
   4072 fi
   4073 rm -f conftest.err conftest.i conftest.$ac_ext
   4074 
   4075   # OK, works on sane cases.  Now check whether nonexistent headers
   4076   # can be detected and how.
   4077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4078 /* end confdefs.h.  */
   4079 #include <ac_nonexistent.h>
   4080 _ACEOF
   4081 if ac_fn_c_try_cpp "$LINENO"; then :
   4082   # Broken: success on invalid input.
   4083 continue
   4084 else
   4085   # Passes both tests.
   4086 ac_preproc_ok=:
   4087 break
   4088 fi
   4089 rm -f conftest.err conftest.i conftest.$ac_ext
   4090 
   4091 done
   4092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4093 rm -f conftest.i conftest.err conftest.$ac_ext
   4094 if $ac_preproc_ok; then :
   4095   break
   4096 fi
   4097 
   4098     done
   4099     ac_cv_prog_CPP=$CPP
   4100 
   4101 fi
   4102   CPP=$ac_cv_prog_CPP
   4103 else
   4104   ac_cv_prog_CPP=$CPP
   4105 fi
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4107 $as_echo "$CPP" >&6; }
   4108 ac_preproc_ok=false
   4109 for ac_c_preproc_warn_flag in '' yes
   4110 do
   4111   # Use a header file that comes with gcc, so configuring glibc
   4112   # with a fresh cross-compiler works.
   4113   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4114   # <limits.h> exists even on freestanding compilers.
   4115   # On the NeXT, cc -E runs the code through the compiler's parser,
   4116   # not just through cpp. "Syntax error" is here to catch this case.
   4117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4118 /* end confdefs.h.  */
   4119 #ifdef __STDC__
   4120 # include <limits.h>
   4121 #else
   4122 # include <assert.h>
   4123 #endif
   4124 		     Syntax error
   4125 _ACEOF
   4126 if ac_fn_c_try_cpp "$LINENO"; then :
   4127 
   4128 else
   4129   # Broken: fails on valid input.
   4130 continue
   4131 fi
   4132 rm -f conftest.err conftest.i conftest.$ac_ext
   4133 
   4134   # OK, works on sane cases.  Now check whether nonexistent headers
   4135   # can be detected and how.
   4136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4137 /* end confdefs.h.  */
   4138 #include <ac_nonexistent.h>
   4139 _ACEOF
   4140 if ac_fn_c_try_cpp "$LINENO"; then :
   4141   # Broken: success on invalid input.
   4142 continue
   4143 else
   4144   # Passes both tests.
   4145 ac_preproc_ok=:
   4146 break
   4147 fi
   4148 rm -f conftest.err conftest.i conftest.$ac_ext
   4149 
   4150 done
   4151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4152 rm -f conftest.i conftest.err conftest.$ac_ext
   4153 if $ac_preproc_ok; then :
   4154 
   4155 else
   4156   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4158 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4159 See \`config.log' for more details" "$LINENO" 5; }
   4160 fi
   4161 
   4162 ac_ext=c
   4163 ac_cpp='$CPP $CPPFLAGS'
   4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4167 
   4168 
   4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4171 if ${ac_cv_path_GREP+:} false; then :
   4172   $as_echo_n "(cached) " >&6
   4173 else
   4174   if test -z "$GREP"; then
   4175   ac_path_GREP_found=false
   4176   # Loop through the user's path and test for each of PROGNAME-LIST
   4177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4179 do
   4180   IFS=$as_save_IFS
   4181   test -z "$as_dir" && as_dir=.
   4182     for ac_prog in grep ggrep; do
   4183     for ac_exec_ext in '' $ac_executable_extensions; do
   4184       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4185       as_fn_executable_p "$ac_path_GREP" || continue
   4186 # Check for GNU ac_path_GREP and select it if it is found.
   4187   # Check for GNU $ac_path_GREP
   4188 case `"$ac_path_GREP" --version 2>&1` in
   4189 *GNU*)
   4190   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4191 *)
   4192   ac_count=0
   4193   $as_echo_n 0123456789 >"conftest.in"
   4194   while :
   4195   do
   4196     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4197     mv "conftest.tmp" "conftest.in"
   4198     cp "conftest.in" "conftest.nl"
   4199     $as_echo 'GREP' >> "conftest.nl"
   4200     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4201     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4202     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4203     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4204       # Best one so far, save it but keep looking for a better one
   4205       ac_cv_path_GREP="$ac_path_GREP"
   4206       ac_path_GREP_max=$ac_count
   4207     fi
   4208     # 10*(2^10) chars as input seems more than enough
   4209     test $ac_count -gt 10 && break
   4210   done
   4211   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4212 esac
   4213 
   4214       $ac_path_GREP_found && break 3
   4215     done
   4216   done
   4217   done
   4218 IFS=$as_save_IFS
   4219   if test -z "$ac_cv_path_GREP"; then
   4220     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4221   fi
   4222 else
   4223   ac_cv_path_GREP=$GREP
   4224 fi
   4225 
   4226 fi
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4228 $as_echo "$ac_cv_path_GREP" >&6; }
   4229  GREP="$ac_cv_path_GREP"
   4230 
   4231 
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4233 $as_echo_n "checking for egrep... " >&6; }
   4234 if ${ac_cv_path_EGREP+:} false; then :
   4235   $as_echo_n "(cached) " >&6
   4236 else
   4237   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4238    then ac_cv_path_EGREP="$GREP -E"
   4239    else
   4240      if test -z "$EGREP"; then
   4241   ac_path_EGREP_found=false
   4242   # Loop through the user's path and test for each of PROGNAME-LIST
   4243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4245 do
   4246   IFS=$as_save_IFS
   4247   test -z "$as_dir" && as_dir=.
   4248     for ac_prog in egrep; do
   4249     for ac_exec_ext in '' $ac_executable_extensions; do
   4250       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4251       as_fn_executable_p "$ac_path_EGREP" || continue
   4252 # Check for GNU ac_path_EGREP and select it if it is found.
   4253   # Check for GNU $ac_path_EGREP
   4254 case `"$ac_path_EGREP" --version 2>&1` in
   4255 *GNU*)
   4256   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4257 *)
   4258   ac_count=0
   4259   $as_echo_n 0123456789 >"conftest.in"
   4260   while :
   4261   do
   4262     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4263     mv "conftest.tmp" "conftest.in"
   4264     cp "conftest.in" "conftest.nl"
   4265     $as_echo 'EGREP' >> "conftest.nl"
   4266     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4267     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4268     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4269     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4270       # Best one so far, save it but keep looking for a better one
   4271       ac_cv_path_EGREP="$ac_path_EGREP"
   4272       ac_path_EGREP_max=$ac_count
   4273     fi
   4274     # 10*(2^10) chars as input seems more than enough
   4275     test $ac_count -gt 10 && break
   4276   done
   4277   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4278 esac
   4279 
   4280       $ac_path_EGREP_found && break 3
   4281     done
   4282   done
   4283   done
   4284 IFS=$as_save_IFS
   4285   if test -z "$ac_cv_path_EGREP"; then
   4286     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4287   fi
   4288 else
   4289   ac_cv_path_EGREP=$EGREP
   4290 fi
   4291 
   4292    fi
   4293 fi
   4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4295 $as_echo "$ac_cv_path_EGREP" >&6; }
   4296  EGREP="$ac_cv_path_EGREP"
   4297 
   4298 
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4300 $as_echo_n "checking for ANSI C header files... " >&6; }
   4301 if ${ac_cv_header_stdc+:} false; then :
   4302   $as_echo_n "(cached) " >&6
   4303 else
   4304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4305 /* end confdefs.h.  */
   4306 #include <stdlib.h>
   4307 #include <stdarg.h>
   4308 #include <string.h>
   4309 #include <float.h>
   4310 
   4311 int
   4312 main ()
   4313 {
   4314 
   4315   ;
   4316   return 0;
   4317 }
   4318 _ACEOF
   4319 if ac_fn_c_try_compile "$LINENO"; then :
   4320   ac_cv_header_stdc=yes
   4321 else
   4322   ac_cv_header_stdc=no
   4323 fi
   4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4325 
   4326 if test $ac_cv_header_stdc = yes; then
   4327   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 #include <string.h>
   4331 
   4332 _ACEOF
   4333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4334   $EGREP "memchr" >/dev/null 2>&1; then :
   4335 
   4336 else
   4337   ac_cv_header_stdc=no
   4338 fi
   4339 rm -f conftest*
   4340 
   4341 fi
   4342 
   4343 if test $ac_cv_header_stdc = yes; then
   4344   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4346 /* end confdefs.h.  */
   4347 #include <stdlib.h>
   4348 
   4349 _ACEOF
   4350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4351   $EGREP "free" >/dev/null 2>&1; then :
   4352 
   4353 else
   4354   ac_cv_header_stdc=no
   4355 fi
   4356 rm -f conftest*
   4357 
   4358 fi
   4359 
   4360 if test $ac_cv_header_stdc = yes; then
   4361   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4362   if test "$cross_compiling" = yes; then :
   4363   :
   4364 else
   4365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4366 /* end confdefs.h.  */
   4367 #include <ctype.h>
   4368 #include <stdlib.h>
   4369 #if ((' ' & 0x0FF) == 0x020)
   4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4372 #else
   4373 # define ISLOWER(c) \
   4374 		   (('a' <= (c) && (c) <= 'i') \
   4375 		     || ('j' <= (c) && (c) <= 'r') \
   4376 		     || ('s' <= (c) && (c) <= 'z'))
   4377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4378 #endif
   4379 
   4380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4381 int
   4382 main ()
   4383 {
   4384   int i;
   4385   for (i = 0; i < 256; i++)
   4386     if (XOR (islower (i), ISLOWER (i))
   4387 	|| toupper (i) != TOUPPER (i))
   4388       return 2;
   4389   return 0;
   4390 }
   4391 _ACEOF
   4392 if ac_fn_c_try_run "$LINENO"; then :
   4393 
   4394 else
   4395   ac_cv_header_stdc=no
   4396 fi
   4397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4398   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4399 fi
   4400 
   4401 fi
   4402 fi
   4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4404 $as_echo "$ac_cv_header_stdc" >&6; }
   4405 if test $ac_cv_header_stdc = yes; then
   4406 
   4407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4408 
   4409 fi
   4410 
   4411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4412 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4413 		  inttypes.h stdint.h unistd.h
   4414 do :
   4415   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4417 "
   4418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4419   cat >>confdefs.h <<_ACEOF
   4420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4421 _ACEOF
   4422 
   4423 fi
   4424 
   4425 done
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4433 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4434   CLANGCC="yes"
   4435 else
   4436   CLANGCC="no"
   4437 fi
   4438 
   4439 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4440 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4441   INTELCC="yes"
   4442 else
   4443   INTELCC="no"
   4444 fi
   4445 
   4446 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4447 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4448   SUNCC="yes"
   4449 else
   4450   SUNCC="no"
   4451 fi
   4452 
   4453 
   4454 
   4455 
   4456 
   4457 
   4458 
   4459 
   4460 
   4461 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4462 	if test -n "$ac_tool_prefix"; then
   4463   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4466 $as_echo_n "checking for $ac_word... " >&6; }
   4467 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4468   $as_echo_n "(cached) " >&6
   4469 else
   4470   case $PKG_CONFIG in
   4471   [\\/]* | ?:[\\/]*)
   4472   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4473   ;;
   4474   *)
   4475   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4476 for as_dir in $PATH
   4477 do
   4478   IFS=$as_save_IFS
   4479   test -z "$as_dir" && as_dir=.
   4480     for ac_exec_ext in '' $ac_executable_extensions; do
   4481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4482     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4484     break 2
   4485   fi
   4486 done
   4487   done
   4488 IFS=$as_save_IFS
   4489 
   4490   ;;
   4491 esac
   4492 fi
   4493 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4494 if test -n "$PKG_CONFIG"; then
   4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4496 $as_echo "$PKG_CONFIG" >&6; }
   4497 else
   4498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4499 $as_echo "no" >&6; }
   4500 fi
   4501 
   4502 
   4503 fi
   4504 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4505   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4506   # Extract the first word of "pkg-config", so it can be a program name with args.
   4507 set dummy pkg-config; ac_word=$2
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4509 $as_echo_n "checking for $ac_word... " >&6; }
   4510 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4511   $as_echo_n "(cached) " >&6
   4512 else
   4513   case $ac_pt_PKG_CONFIG in
   4514   [\\/]* | ?:[\\/]*)
   4515   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4516   ;;
   4517   *)
   4518   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4519 for as_dir in $PATH
   4520 do
   4521   IFS=$as_save_IFS
   4522   test -z "$as_dir" && as_dir=.
   4523     for ac_exec_ext in '' $ac_executable_extensions; do
   4524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4525     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4527     break 2
   4528   fi
   4529 done
   4530   done
   4531 IFS=$as_save_IFS
   4532 
   4533   ;;
   4534 esac
   4535 fi
   4536 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4537 if test -n "$ac_pt_PKG_CONFIG"; then
   4538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4539 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4540 else
   4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4542 $as_echo "no" >&6; }
   4543 fi
   4544 
   4545   if test "x$ac_pt_PKG_CONFIG" = x; then
   4546     PKG_CONFIG=""
   4547   else
   4548     case $cross_compiling:$ac_tool_warned in
   4549 yes:)
   4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4552 ac_tool_warned=yes ;;
   4553 esac
   4554     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4555   fi
   4556 else
   4557   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4558 fi
   4559 
   4560 fi
   4561 if test -n "$PKG_CONFIG"; then
   4562 	_pkg_min_version=0.9.0
   4563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4564 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4565 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4567 $as_echo "yes" >&6; }
   4568 	else
   4569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4570 $as_echo "no" >&6; }
   4571 		PKG_CONFIG=""
   4572 	fi
   4573 fi
   4574 # Make sure we can run config.sub.
   4575 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4576   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4577 
   4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4579 $as_echo_n "checking build system type... " >&6; }
   4580 if ${ac_cv_build+:} false; then :
   4581   $as_echo_n "(cached) " >&6
   4582 else
   4583   ac_build_alias=$build_alias
   4584 test "x$ac_build_alias" = x &&
   4585   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4586 test "x$ac_build_alias" = x &&
   4587   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4588 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4589   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4590 
   4591 fi
   4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4593 $as_echo "$ac_cv_build" >&6; }
   4594 case $ac_cv_build in
   4595 *-*-*) ;;
   4596 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4597 esac
   4598 build=$ac_cv_build
   4599 ac_save_IFS=$IFS; IFS='-'
   4600 set x $ac_cv_build
   4601 shift
   4602 build_cpu=$1
   4603 build_vendor=$2
   4604 shift; shift
   4605 # Remember, the first character of IFS is used to create $*,
   4606 # except with old shells:
   4607 build_os=$*
   4608 IFS=$ac_save_IFS
   4609 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4610 
   4611 
   4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4613 $as_echo_n "checking host system type... " >&6; }
   4614 if ${ac_cv_host+:} false; then :
   4615   $as_echo_n "(cached) " >&6
   4616 else
   4617   if test "x$host_alias" = x; then
   4618   ac_cv_host=$ac_cv_build
   4619 else
   4620   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4621     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4622 fi
   4623 
   4624 fi
   4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4626 $as_echo "$ac_cv_host" >&6; }
   4627 case $ac_cv_host in
   4628 *-*-*) ;;
   4629 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4630 esac
   4631 host=$ac_cv_host
   4632 ac_save_IFS=$IFS; IFS='-'
   4633 set x $ac_cv_host
   4634 shift
   4635 host_cpu=$1
   4636 host_vendor=$2
   4637 shift; shift
   4638 # Remember, the first character of IFS is used to create $*,
   4639 # except with old shells:
   4640 host_os=$*
   4641 IFS=$ac_save_IFS
   4642 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4643 
   4644 
   4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4646 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4647 if ${ac_cv_path_SED+:} false; then :
   4648   $as_echo_n "(cached) " >&6
   4649 else
   4650             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4651      for ac_i in 1 2 3 4 5 6 7; do
   4652        ac_script="$ac_script$as_nl$ac_script"
   4653      done
   4654      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4655      { ac_script=; unset ac_script;}
   4656      if test -z "$SED"; then
   4657   ac_path_SED_found=false
   4658   # Loop through the user's path and test for each of PROGNAME-LIST
   4659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4660 for as_dir in $PATH
   4661 do
   4662   IFS=$as_save_IFS
   4663   test -z "$as_dir" && as_dir=.
   4664     for ac_prog in sed gsed; do
   4665     for ac_exec_ext in '' $ac_executable_extensions; do
   4666       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4667       as_fn_executable_p "$ac_path_SED" || continue
   4668 # Check for GNU ac_path_SED and select it if it is found.
   4669   # Check for GNU $ac_path_SED
   4670 case `"$ac_path_SED" --version 2>&1` in
   4671 *GNU*)
   4672   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4673 *)
   4674   ac_count=0
   4675   $as_echo_n 0123456789 >"conftest.in"
   4676   while :
   4677   do
   4678     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4679     mv "conftest.tmp" "conftest.in"
   4680     cp "conftest.in" "conftest.nl"
   4681     $as_echo '' >> "conftest.nl"
   4682     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4683     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4684     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4685     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4686       # Best one so far, save it but keep looking for a better one
   4687       ac_cv_path_SED="$ac_path_SED"
   4688       ac_path_SED_max=$ac_count
   4689     fi
   4690     # 10*(2^10) chars as input seems more than enough
   4691     test $ac_count -gt 10 && break
   4692   done
   4693   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4694 esac
   4695 
   4696       $ac_path_SED_found && break 3
   4697     done
   4698   done
   4699   done
   4700 IFS=$as_save_IFS
   4701   if test -z "$ac_cv_path_SED"; then
   4702     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4703   fi
   4704 else
   4705   ac_cv_path_SED=$SED
   4706 fi
   4707 
   4708 fi
   4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4710 $as_echo "$ac_cv_path_SED" >&6; }
   4711  SED="$ac_cv_path_SED"
   4712   rm -f conftest.sed
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 # Check whether --enable-selective-werror was given.
   4720 if test "${enable_selective_werror+set}" = set; then :
   4721   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4722 else
   4723   SELECTIVE_WERROR=yes
   4724 fi
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4731 if test "x$SUNCC" = "xyes"; then
   4732     BASE_CFLAGS="-v"
   4733 else
   4734     BASE_CFLAGS=""
   4735 fi
   4736 
   4737 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 xorg_testset_save_CFLAGS="$CFLAGS"
   4752 
   4753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4758   $as_echo_n "(cached) " >&6
   4759 else
   4760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4761 /* end confdefs.h.  */
   4762 int i;
   4763 _ACEOF
   4764 if ac_fn_c_try_compile "$LINENO"; then :
   4765   xorg_cv_cc_flag_unknown_warning_option=yes
   4766 else
   4767   xorg_cv_cc_flag_unknown_warning_option=no
   4768 fi
   4769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4770 fi
   4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4774 	CFLAGS="$xorg_testset_save_CFLAGS"
   4775 fi
   4776 
   4777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4780 	fi
   4781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4785   $as_echo_n "(cached) " >&6
   4786 else
   4787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4788 /* end confdefs.h.  */
   4789 int i;
   4790 _ACEOF
   4791 if ac_fn_c_try_compile "$LINENO"; then :
   4792   xorg_cv_cc_flag_unused_command_line_argument=yes
   4793 else
   4794   xorg_cv_cc_flag_unused_command_line_argument=no
   4795 fi
   4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4797 fi
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4801 	CFLAGS="$xorg_testset_save_CFLAGS"
   4802 fi
   4803 
   4804 found="no"
   4805 
   4806 	if test $found = "no" ; then
   4807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4809 		fi
   4810 
   4811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4813 		fi
   4814 
   4815 		CFLAGS="$CFLAGS -Wall"
   4816 
   4817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4818 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4819 		cacheid=xorg_cv_cc_flag__Wall
   4820 		if eval \${$cacheid+:} false; then :
   4821   $as_echo_n "(cached) " >&6
   4822 else
   4823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4824 /* end confdefs.h.  */
   4825 int i;
   4826 int
   4827 main ()
   4828 {
   4829 
   4830   ;
   4831   return 0;
   4832 }
   4833 _ACEOF
   4834 if ac_fn_c_try_link "$LINENO"; then :
   4835   eval $cacheid=yes
   4836 else
   4837   eval $cacheid=no
   4838 fi
   4839 rm -f core conftest.err conftest.$ac_objext \
   4840     conftest$ac_exeext conftest.$ac_ext
   4841 fi
   4842 
   4843 
   4844 		CFLAGS="$xorg_testset_save_CFLAGS"
   4845 
   4846 		eval supported=\$$cacheid
   4847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4848 $as_echo "$supported" >&6; }
   4849 		if test "$supported" = "yes" ; then
   4850 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4851 			found="yes"
   4852 		fi
   4853 	fi
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 xorg_testset_save_CFLAGS="$CFLAGS"
   4870 
   4871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4876   $as_echo_n "(cached) " >&6
   4877 else
   4878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4879 /* end confdefs.h.  */
   4880 int i;
   4881 _ACEOF
   4882 if ac_fn_c_try_compile "$LINENO"; then :
   4883   xorg_cv_cc_flag_unknown_warning_option=yes
   4884 else
   4885   xorg_cv_cc_flag_unknown_warning_option=no
   4886 fi
   4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4888 fi
   4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4892 	CFLAGS="$xorg_testset_save_CFLAGS"
   4893 fi
   4894 
   4895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4898 	fi
   4899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4906 /* end confdefs.h.  */
   4907 int i;
   4908 _ACEOF
   4909 if ac_fn_c_try_compile "$LINENO"; then :
   4910   xorg_cv_cc_flag_unused_command_line_argument=yes
   4911 else
   4912   xorg_cv_cc_flag_unused_command_line_argument=no
   4913 fi
   4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4915 fi
   4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4919 	CFLAGS="$xorg_testset_save_CFLAGS"
   4920 fi
   4921 
   4922 found="no"
   4923 
   4924 	if test $found = "no" ; then
   4925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4927 		fi
   4928 
   4929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4931 		fi
   4932 
   4933 		CFLAGS="$CFLAGS -Wpointer-arith"
   4934 
   4935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4936 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4937 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4938 		if eval \${$cacheid+:} false; then :
   4939   $as_echo_n "(cached) " >&6
   4940 else
   4941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4942 /* end confdefs.h.  */
   4943 int i;
   4944 int
   4945 main ()
   4946 {
   4947 
   4948   ;
   4949   return 0;
   4950 }
   4951 _ACEOF
   4952 if ac_fn_c_try_link "$LINENO"; then :
   4953   eval $cacheid=yes
   4954 else
   4955   eval $cacheid=no
   4956 fi
   4957 rm -f core conftest.err conftest.$ac_objext \
   4958     conftest$ac_exeext conftest.$ac_ext
   4959 fi
   4960 
   4961 
   4962 		CFLAGS="$xorg_testset_save_CFLAGS"
   4963 
   4964 		eval supported=\$$cacheid
   4965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4966 $as_echo "$supported" >&6; }
   4967 		if test "$supported" = "yes" ; then
   4968 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4969 			found="yes"
   4970 		fi
   4971 	fi
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 xorg_testset_save_CFLAGS="$CFLAGS"
   4988 
   4989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4994   $as_echo_n "(cached) " >&6
   4995 else
   4996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4997 /* end confdefs.h.  */
   4998 int i;
   4999 _ACEOF
   5000 if ac_fn_c_try_compile "$LINENO"; then :
   5001   xorg_cv_cc_flag_unknown_warning_option=yes
   5002 else
   5003   xorg_cv_cc_flag_unknown_warning_option=no
   5004 fi
   5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5006 fi
   5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5010 	CFLAGS="$xorg_testset_save_CFLAGS"
   5011 fi
   5012 
   5013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5016 	fi
   5017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5021   $as_echo_n "(cached) " >&6
   5022 else
   5023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5024 /* end confdefs.h.  */
   5025 int i;
   5026 _ACEOF
   5027 if ac_fn_c_try_compile "$LINENO"; then :
   5028   xorg_cv_cc_flag_unused_command_line_argument=yes
   5029 else
   5030   xorg_cv_cc_flag_unused_command_line_argument=no
   5031 fi
   5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5033 fi
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5037 	CFLAGS="$xorg_testset_save_CFLAGS"
   5038 fi
   5039 
   5040 found="no"
   5041 
   5042 	if test $found = "no" ; then
   5043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5045 		fi
   5046 
   5047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5049 		fi
   5050 
   5051 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5052 
   5053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5054 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5055 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5056 		if eval \${$cacheid+:} false; then :
   5057   $as_echo_n "(cached) " >&6
   5058 else
   5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 int i;
   5062 int
   5063 main ()
   5064 {
   5065 
   5066   ;
   5067   return 0;
   5068 }
   5069 _ACEOF
   5070 if ac_fn_c_try_link "$LINENO"; then :
   5071   eval $cacheid=yes
   5072 else
   5073   eval $cacheid=no
   5074 fi
   5075 rm -f core conftest.err conftest.$ac_objext \
   5076     conftest$ac_exeext conftest.$ac_ext
   5077 fi
   5078 
   5079 
   5080 		CFLAGS="$xorg_testset_save_CFLAGS"
   5081 
   5082 		eval supported=\$$cacheid
   5083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5084 $as_echo "$supported" >&6; }
   5085 		if test "$supported" = "yes" ; then
   5086 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5087 			found="yes"
   5088 		fi
   5089 	fi
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 xorg_testset_save_CFLAGS="$CFLAGS"
   5106 
   5107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5112   $as_echo_n "(cached) " >&6
   5113 else
   5114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5115 /* end confdefs.h.  */
   5116 int i;
   5117 _ACEOF
   5118 if ac_fn_c_try_compile "$LINENO"; then :
   5119   xorg_cv_cc_flag_unknown_warning_option=yes
   5120 else
   5121   xorg_cv_cc_flag_unknown_warning_option=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5124 fi
   5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5128 	CFLAGS="$xorg_testset_save_CFLAGS"
   5129 fi
   5130 
   5131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5134 	fi
   5135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5139   $as_echo_n "(cached) " >&6
   5140 else
   5141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5142 /* end confdefs.h.  */
   5143 int i;
   5144 _ACEOF
   5145 if ac_fn_c_try_compile "$LINENO"; then :
   5146   xorg_cv_cc_flag_unused_command_line_argument=yes
   5147 else
   5148   xorg_cv_cc_flag_unused_command_line_argument=no
   5149 fi
   5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5151 fi
   5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5155 	CFLAGS="$xorg_testset_save_CFLAGS"
   5156 fi
   5157 
   5158 found="no"
   5159 
   5160 	if test $found = "no" ; then
   5161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5163 		fi
   5164 
   5165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5167 		fi
   5168 
   5169 		CFLAGS="$CFLAGS -Wformat=2"
   5170 
   5171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5172 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5173 		cacheid=xorg_cv_cc_flag__Wformat_2
   5174 		if eval \${$cacheid+:} false; then :
   5175   $as_echo_n "(cached) " >&6
   5176 else
   5177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5178 /* end confdefs.h.  */
   5179 int i;
   5180 int
   5181 main ()
   5182 {
   5183 
   5184   ;
   5185   return 0;
   5186 }
   5187 _ACEOF
   5188 if ac_fn_c_try_link "$LINENO"; then :
   5189   eval $cacheid=yes
   5190 else
   5191   eval $cacheid=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext \
   5194     conftest$ac_exeext conftest.$ac_ext
   5195 fi
   5196 
   5197 
   5198 		CFLAGS="$xorg_testset_save_CFLAGS"
   5199 
   5200 		eval supported=\$$cacheid
   5201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5202 $as_echo "$supported" >&6; }
   5203 		if test "$supported" = "yes" ; then
   5204 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5205 			found="yes"
   5206 		fi
   5207 	fi
   5208 
   5209 	if test $found = "no" ; then
   5210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5212 		fi
   5213 
   5214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5216 		fi
   5217 
   5218 		CFLAGS="$CFLAGS -Wformat"
   5219 
   5220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5221 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5222 		cacheid=xorg_cv_cc_flag__Wformat
   5223 		if eval \${$cacheid+:} false; then :
   5224   $as_echo_n "(cached) " >&6
   5225 else
   5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5227 /* end confdefs.h.  */
   5228 int i;
   5229 int
   5230 main ()
   5231 {
   5232 
   5233   ;
   5234   return 0;
   5235 }
   5236 _ACEOF
   5237 if ac_fn_c_try_link "$LINENO"; then :
   5238   eval $cacheid=yes
   5239 else
   5240   eval $cacheid=no
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext \
   5243     conftest$ac_exeext conftest.$ac_ext
   5244 fi
   5245 
   5246 
   5247 		CFLAGS="$xorg_testset_save_CFLAGS"
   5248 
   5249 		eval supported=\$$cacheid
   5250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5251 $as_echo "$supported" >&6; }
   5252 		if test "$supported" = "yes" ; then
   5253 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5254 			found="yes"
   5255 		fi
   5256 	fi
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 xorg_testset_save_CFLAGS="$CFLAGS"
   5275 
   5276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 int i;
   5286 _ACEOF
   5287 if ac_fn_c_try_compile "$LINENO"; then :
   5288   xorg_cv_cc_flag_unknown_warning_option=yes
   5289 else
   5290   xorg_cv_cc_flag_unknown_warning_option=no
   5291 fi
   5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5293 fi
   5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5297 	CFLAGS="$xorg_testset_save_CFLAGS"
   5298 fi
   5299 
   5300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5303 	fi
   5304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5308   $as_echo_n "(cached) " >&6
   5309 else
   5310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5311 /* end confdefs.h.  */
   5312 int i;
   5313 _ACEOF
   5314 if ac_fn_c_try_compile "$LINENO"; then :
   5315   xorg_cv_cc_flag_unused_command_line_argument=yes
   5316 else
   5317   xorg_cv_cc_flag_unused_command_line_argument=no
   5318 fi
   5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5320 fi
   5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5324 	CFLAGS="$xorg_testset_save_CFLAGS"
   5325 fi
   5326 
   5327 found="no"
   5328 
   5329 	if test $found = "no" ; then
   5330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5332 		fi
   5333 
   5334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5336 		fi
   5337 
   5338 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5339 
   5340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5341 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5342 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5343 		if eval \${$cacheid+:} false; then :
   5344   $as_echo_n "(cached) " >&6
   5345 else
   5346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5347 /* end confdefs.h.  */
   5348 int i;
   5349 int
   5350 main ()
   5351 {
   5352 
   5353   ;
   5354   return 0;
   5355 }
   5356 _ACEOF
   5357 if ac_fn_c_try_link "$LINENO"; then :
   5358   eval $cacheid=yes
   5359 else
   5360   eval $cacheid=no
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext \
   5363     conftest$ac_exeext conftest.$ac_ext
   5364 fi
   5365 
   5366 
   5367 		CFLAGS="$xorg_testset_save_CFLAGS"
   5368 
   5369 		eval supported=\$$cacheid
   5370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5371 $as_echo "$supported" >&6; }
   5372 		if test "$supported" = "yes" ; then
   5373 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5374 			found="yes"
   5375 		fi
   5376 	fi
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 xorg_testset_save_CFLAGS="$CFLAGS"
   5393 
   5394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5399   $as_echo_n "(cached) " >&6
   5400 else
   5401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 _ACEOF
   5405 if ac_fn_c_try_compile "$LINENO"; then :
   5406   xorg_cv_cc_flag_unknown_warning_option=yes
   5407 else
   5408   xorg_cv_cc_flag_unknown_warning_option=no
   5409 fi
   5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5411 fi
   5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5415 	CFLAGS="$xorg_testset_save_CFLAGS"
   5416 fi
   5417 
   5418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5421 	fi
   5422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5426   $as_echo_n "(cached) " >&6
   5427 else
   5428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5429 /* end confdefs.h.  */
   5430 int i;
   5431 _ACEOF
   5432 if ac_fn_c_try_compile "$LINENO"; then :
   5433   xorg_cv_cc_flag_unused_command_line_argument=yes
   5434 else
   5435   xorg_cv_cc_flag_unused_command_line_argument=no
   5436 fi
   5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5438 fi
   5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5442 	CFLAGS="$xorg_testset_save_CFLAGS"
   5443 fi
   5444 
   5445 found="no"
   5446 
   5447 	if test $found = "no" ; then
   5448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5450 		fi
   5451 
   5452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5454 		fi
   5455 
   5456 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5457 
   5458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5459 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5460 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5461 		if eval \${$cacheid+:} false; then :
   5462   $as_echo_n "(cached) " >&6
   5463 else
   5464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 int
   5468 main ()
   5469 {
   5470 
   5471   ;
   5472   return 0;
   5473 }
   5474 _ACEOF
   5475 if ac_fn_c_try_link "$LINENO"; then :
   5476   eval $cacheid=yes
   5477 else
   5478   eval $cacheid=no
   5479 fi
   5480 rm -f core conftest.err conftest.$ac_objext \
   5481     conftest$ac_exeext conftest.$ac_ext
   5482 fi
   5483 
   5484 
   5485 		CFLAGS="$xorg_testset_save_CFLAGS"
   5486 
   5487 		eval supported=\$$cacheid
   5488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5489 $as_echo "$supported" >&6; }
   5490 		if test "$supported" = "yes" ; then
   5491 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5492 			found="yes"
   5493 		fi
   5494 	fi
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 xorg_testset_save_CFLAGS="$CFLAGS"
   5511 
   5512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5517   $as_echo_n "(cached) " >&6
   5518 else
   5519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5520 /* end confdefs.h.  */
   5521 int i;
   5522 _ACEOF
   5523 if ac_fn_c_try_compile "$LINENO"; then :
   5524   xorg_cv_cc_flag_unknown_warning_option=yes
   5525 else
   5526   xorg_cv_cc_flag_unknown_warning_option=no
   5527 fi
   5528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5529 fi
   5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5533 	CFLAGS="$xorg_testset_save_CFLAGS"
   5534 fi
   5535 
   5536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5539 	fi
   5540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5544   $as_echo_n "(cached) " >&6
   5545 else
   5546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5547 /* end confdefs.h.  */
   5548 int i;
   5549 _ACEOF
   5550 if ac_fn_c_try_compile "$LINENO"; then :
   5551   xorg_cv_cc_flag_unused_command_line_argument=yes
   5552 else
   5553   xorg_cv_cc_flag_unused_command_line_argument=no
   5554 fi
   5555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5556 fi
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5560 	CFLAGS="$xorg_testset_save_CFLAGS"
   5561 fi
   5562 
   5563 found="no"
   5564 
   5565 	if test $found = "no" ; then
   5566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5568 		fi
   5569 
   5570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5572 		fi
   5573 
   5574 		CFLAGS="$CFLAGS -Wnested-externs"
   5575 
   5576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5577 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5578 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5579 		if eval \${$cacheid+:} false; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5583 /* end confdefs.h.  */
   5584 int i;
   5585 int
   5586 main ()
   5587 {
   5588 
   5589   ;
   5590   return 0;
   5591 }
   5592 _ACEOF
   5593 if ac_fn_c_try_link "$LINENO"; then :
   5594   eval $cacheid=yes
   5595 else
   5596   eval $cacheid=no
   5597 fi
   5598 rm -f core conftest.err conftest.$ac_objext \
   5599     conftest$ac_exeext conftest.$ac_ext
   5600 fi
   5601 
   5602 
   5603 		CFLAGS="$xorg_testset_save_CFLAGS"
   5604 
   5605 		eval supported=\$$cacheid
   5606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5607 $as_echo "$supported" >&6; }
   5608 		if test "$supported" = "yes" ; then
   5609 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5610 			found="yes"
   5611 		fi
   5612 	fi
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 xorg_testset_save_CFLAGS="$CFLAGS"
   5629 
   5630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5633 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5634 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5635   $as_echo_n "(cached) " >&6
   5636 else
   5637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5638 /* end confdefs.h.  */
   5639 int i;
   5640 _ACEOF
   5641 if ac_fn_c_try_compile "$LINENO"; then :
   5642   xorg_cv_cc_flag_unknown_warning_option=yes
   5643 else
   5644   xorg_cv_cc_flag_unknown_warning_option=no
   5645 fi
   5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5647 fi
   5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5649 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5651 	CFLAGS="$xorg_testset_save_CFLAGS"
   5652 fi
   5653 
   5654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5657 	fi
   5658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5660 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5661 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5665 /* end confdefs.h.  */
   5666 int i;
   5667 _ACEOF
   5668 if ac_fn_c_try_compile "$LINENO"; then :
   5669   xorg_cv_cc_flag_unused_command_line_argument=yes
   5670 else
   5671   xorg_cv_cc_flag_unused_command_line_argument=no
   5672 fi
   5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5674 fi
   5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5676 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5678 	CFLAGS="$xorg_testset_save_CFLAGS"
   5679 fi
   5680 
   5681 found="no"
   5682 
   5683 	if test $found = "no" ; then
   5684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5686 		fi
   5687 
   5688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5690 		fi
   5691 
   5692 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5693 
   5694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5695 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5696 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5697 		if eval \${$cacheid+:} false; then :
   5698   $as_echo_n "(cached) " >&6
   5699 else
   5700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5701 /* end confdefs.h.  */
   5702 int i;
   5703 int
   5704 main ()
   5705 {
   5706 
   5707   ;
   5708   return 0;
   5709 }
   5710 _ACEOF
   5711 if ac_fn_c_try_link "$LINENO"; then :
   5712   eval $cacheid=yes
   5713 else
   5714   eval $cacheid=no
   5715 fi
   5716 rm -f core conftest.err conftest.$ac_objext \
   5717     conftest$ac_exeext conftest.$ac_ext
   5718 fi
   5719 
   5720 
   5721 		CFLAGS="$xorg_testset_save_CFLAGS"
   5722 
   5723 		eval supported=\$$cacheid
   5724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5725 $as_echo "$supported" >&6; }
   5726 		if test "$supported" = "yes" ; then
   5727 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5728 			found="yes"
   5729 		fi
   5730 	fi
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 xorg_testset_save_CFLAGS="$CFLAGS"
   5747 
   5748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5751 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5752 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5753   $as_echo_n "(cached) " >&6
   5754 else
   5755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5756 /* end confdefs.h.  */
   5757 int i;
   5758 _ACEOF
   5759 if ac_fn_c_try_compile "$LINENO"; then :
   5760   xorg_cv_cc_flag_unknown_warning_option=yes
   5761 else
   5762   xorg_cv_cc_flag_unknown_warning_option=no
   5763 fi
   5764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5765 fi
   5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5767 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5769 	CFLAGS="$xorg_testset_save_CFLAGS"
   5770 fi
   5771 
   5772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5775 	fi
   5776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5778 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5779 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5780   $as_echo_n "(cached) " >&6
   5781 else
   5782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5783 /* end confdefs.h.  */
   5784 int i;
   5785 _ACEOF
   5786 if ac_fn_c_try_compile "$LINENO"; then :
   5787   xorg_cv_cc_flag_unused_command_line_argument=yes
   5788 else
   5789   xorg_cv_cc_flag_unused_command_line_argument=no
   5790 fi
   5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5792 fi
   5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5794 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5796 	CFLAGS="$xorg_testset_save_CFLAGS"
   5797 fi
   5798 
   5799 found="no"
   5800 
   5801 	if test $found = "no" ; then
   5802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5804 		fi
   5805 
   5806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5808 		fi
   5809 
   5810 		CFLAGS="$CFLAGS -Wold-style-definition"
   5811 
   5812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5813 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5814 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5815 		if eval \${$cacheid+:} false; then :
   5816   $as_echo_n "(cached) " >&6
   5817 else
   5818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5819 /* end confdefs.h.  */
   5820 int i;
   5821 int
   5822 main ()
   5823 {
   5824 
   5825   ;
   5826   return 0;
   5827 }
   5828 _ACEOF
   5829 if ac_fn_c_try_link "$LINENO"; then :
   5830   eval $cacheid=yes
   5831 else
   5832   eval $cacheid=no
   5833 fi
   5834 rm -f core conftest.err conftest.$ac_objext \
   5835     conftest$ac_exeext conftest.$ac_ext
   5836 fi
   5837 
   5838 
   5839 		CFLAGS="$xorg_testset_save_CFLAGS"
   5840 
   5841 		eval supported=\$$cacheid
   5842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5843 $as_echo "$supported" >&6; }
   5844 		if test "$supported" = "yes" ; then
   5845 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5846 			found="yes"
   5847 		fi
   5848 	fi
   5849 
   5850 	if test $found = "no" ; then
   5851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5853 		fi
   5854 
   5855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5857 		fi
   5858 
   5859 		CFLAGS="$CFLAGS -fd"
   5860 
   5861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5862 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5863 		cacheid=xorg_cv_cc_flag__fd
   5864 		if eval \${$cacheid+:} false; then :
   5865   $as_echo_n "(cached) " >&6
   5866 else
   5867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5868 /* end confdefs.h.  */
   5869 int i;
   5870 int
   5871 main ()
   5872 {
   5873 
   5874   ;
   5875   return 0;
   5876 }
   5877 _ACEOF
   5878 if ac_fn_c_try_link "$LINENO"; then :
   5879   eval $cacheid=yes
   5880 else
   5881   eval $cacheid=no
   5882 fi
   5883 rm -f core conftest.err conftest.$ac_objext \
   5884     conftest$ac_exeext conftest.$ac_ext
   5885 fi
   5886 
   5887 
   5888 		CFLAGS="$xorg_testset_save_CFLAGS"
   5889 
   5890 		eval supported=\$$cacheid
   5891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5892 $as_echo "$supported" >&6; }
   5893 		if test "$supported" = "yes" ; then
   5894 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5895 			found="yes"
   5896 		fi
   5897 	fi
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 xorg_testset_save_CFLAGS="$CFLAGS"
   5914 
   5915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 _ACEOF
   5926 if ac_fn_c_try_compile "$LINENO"; then :
   5927   xorg_cv_cc_flag_unknown_warning_option=yes
   5928 else
   5929   xorg_cv_cc_flag_unknown_warning_option=no
   5930 fi
   5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5932 fi
   5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5936 	CFLAGS="$xorg_testset_save_CFLAGS"
   5937 fi
   5938 
   5939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5942 	fi
   5943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5947   $as_echo_n "(cached) " >&6
   5948 else
   5949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5950 /* end confdefs.h.  */
   5951 int i;
   5952 _ACEOF
   5953 if ac_fn_c_try_compile "$LINENO"; then :
   5954   xorg_cv_cc_flag_unused_command_line_argument=yes
   5955 else
   5956   xorg_cv_cc_flag_unused_command_line_argument=no
   5957 fi
   5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5959 fi
   5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5963 	CFLAGS="$xorg_testset_save_CFLAGS"
   5964 fi
   5965 
   5966 found="no"
   5967 
   5968 	if test $found = "no" ; then
   5969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5971 		fi
   5972 
   5973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5975 		fi
   5976 
   5977 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5978 
   5979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5980 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5981 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5982 		if eval \${$cacheid+:} false; then :
   5983   $as_echo_n "(cached) " >&6
   5984 else
   5985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5986 /* end confdefs.h.  */
   5987 int i;
   5988 int
   5989 main ()
   5990 {
   5991 
   5992   ;
   5993   return 0;
   5994 }
   5995 _ACEOF
   5996 if ac_fn_c_try_link "$LINENO"; then :
   5997   eval $cacheid=yes
   5998 else
   5999   eval $cacheid=no
   6000 fi
   6001 rm -f core conftest.err conftest.$ac_objext \
   6002     conftest$ac_exeext conftest.$ac_ext
   6003 fi
   6004 
   6005 
   6006 		CFLAGS="$xorg_testset_save_CFLAGS"
   6007 
   6008 		eval supported=\$$cacheid
   6009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6010 $as_echo "$supported" >&6; }
   6011 		if test "$supported" = "yes" ; then
   6012 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6013 			found="yes"
   6014 		fi
   6015 	fi
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 # This chunk adds additional warnings that could catch undesired effects.
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 xorg_testset_save_CFLAGS="$CFLAGS"
   6036 
   6037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 _ACEOF
   6048 if ac_fn_c_try_compile "$LINENO"; then :
   6049   xorg_cv_cc_flag_unknown_warning_option=yes
   6050 else
   6051   xorg_cv_cc_flag_unknown_warning_option=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 	fi
   6065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6069   $as_echo_n "(cached) " >&6
   6070 else
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 _ACEOF
   6075 if ac_fn_c_try_compile "$LINENO"; then :
   6076   xorg_cv_cc_flag_unused_command_line_argument=yes
   6077 else
   6078   xorg_cv_cc_flag_unused_command_line_argument=no
   6079 fi
   6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6081 fi
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6085 	CFLAGS="$xorg_testset_save_CFLAGS"
   6086 fi
   6087 
   6088 found="no"
   6089 
   6090 	if test $found = "no" ; then
   6091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6093 		fi
   6094 
   6095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 		fi
   6098 
   6099 		CFLAGS="$CFLAGS -Wunused"
   6100 
   6101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6102 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6103 		cacheid=xorg_cv_cc_flag__Wunused
   6104 		if eval \${$cacheid+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 int
   6111 main ()
   6112 {
   6113 
   6114   ;
   6115   return 0;
   6116 }
   6117 _ACEOF
   6118 if ac_fn_c_try_link "$LINENO"; then :
   6119   eval $cacheid=yes
   6120 else
   6121   eval $cacheid=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext \
   6124     conftest$ac_exeext conftest.$ac_ext
   6125 fi
   6126 
   6127 
   6128 		CFLAGS="$xorg_testset_save_CFLAGS"
   6129 
   6130 		eval supported=\$$cacheid
   6131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6132 $as_echo "$supported" >&6; }
   6133 		if test "$supported" = "yes" ; then
   6134 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6135 			found="yes"
   6136 		fi
   6137 	fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 xorg_testset_save_CFLAGS="$CFLAGS"
   6154 
   6155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6160   $as_echo_n "(cached) " >&6
   6161 else
   6162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6163 /* end confdefs.h.  */
   6164 int i;
   6165 _ACEOF
   6166 if ac_fn_c_try_compile "$LINENO"; then :
   6167   xorg_cv_cc_flag_unknown_warning_option=yes
   6168 else
   6169   xorg_cv_cc_flag_unknown_warning_option=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6172 fi
   6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6176 	CFLAGS="$xorg_testset_save_CFLAGS"
   6177 fi
   6178 
   6179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6182 	fi
   6183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6187   $as_echo_n "(cached) " >&6
   6188 else
   6189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 int i;
   6192 _ACEOF
   6193 if ac_fn_c_try_compile "$LINENO"; then :
   6194   xorg_cv_cc_flag_unused_command_line_argument=yes
   6195 else
   6196   xorg_cv_cc_flag_unused_command_line_argument=no
   6197 fi
   6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6199 fi
   6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6203 	CFLAGS="$xorg_testset_save_CFLAGS"
   6204 fi
   6205 
   6206 found="no"
   6207 
   6208 	if test $found = "no" ; then
   6209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6211 		fi
   6212 
   6213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6215 		fi
   6216 
   6217 		CFLAGS="$CFLAGS -Wuninitialized"
   6218 
   6219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6220 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6221 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6222 		if eval \${$cacheid+:} false; then :
   6223   $as_echo_n "(cached) " >&6
   6224 else
   6225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6226 /* end confdefs.h.  */
   6227 int i;
   6228 int
   6229 main ()
   6230 {
   6231 
   6232   ;
   6233   return 0;
   6234 }
   6235 _ACEOF
   6236 if ac_fn_c_try_link "$LINENO"; then :
   6237   eval $cacheid=yes
   6238 else
   6239   eval $cacheid=no
   6240 fi
   6241 rm -f core conftest.err conftest.$ac_objext \
   6242     conftest$ac_exeext conftest.$ac_ext
   6243 fi
   6244 
   6245 
   6246 		CFLAGS="$xorg_testset_save_CFLAGS"
   6247 
   6248 		eval supported=\$$cacheid
   6249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6250 $as_echo "$supported" >&6; }
   6251 		if test "$supported" = "yes" ; then
   6252 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6253 			found="yes"
   6254 		fi
   6255 	fi
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 xorg_testset_save_CFLAGS="$CFLAGS"
   6272 
   6273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6278   $as_echo_n "(cached) " >&6
   6279 else
   6280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6281 /* end confdefs.h.  */
   6282 int i;
   6283 _ACEOF
   6284 if ac_fn_c_try_compile "$LINENO"; then :
   6285   xorg_cv_cc_flag_unknown_warning_option=yes
   6286 else
   6287   xorg_cv_cc_flag_unknown_warning_option=no
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6290 fi
   6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6294 	CFLAGS="$xorg_testset_save_CFLAGS"
   6295 fi
   6296 
   6297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6300 	fi
   6301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6305   $as_echo_n "(cached) " >&6
   6306 else
   6307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6308 /* end confdefs.h.  */
   6309 int i;
   6310 _ACEOF
   6311 if ac_fn_c_try_compile "$LINENO"; then :
   6312   xorg_cv_cc_flag_unused_command_line_argument=yes
   6313 else
   6314   xorg_cv_cc_flag_unused_command_line_argument=no
   6315 fi
   6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6317 fi
   6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6321 	CFLAGS="$xorg_testset_save_CFLAGS"
   6322 fi
   6323 
   6324 found="no"
   6325 
   6326 	if test $found = "no" ; then
   6327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6329 		fi
   6330 
   6331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 		fi
   6334 
   6335 		CFLAGS="$CFLAGS -Wshadow"
   6336 
   6337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6338 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6339 		cacheid=xorg_cv_cc_flag__Wshadow
   6340 		if eval \${$cacheid+:} false; then :
   6341   $as_echo_n "(cached) " >&6
   6342 else
   6343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6344 /* end confdefs.h.  */
   6345 int i;
   6346 int
   6347 main ()
   6348 {
   6349 
   6350   ;
   6351   return 0;
   6352 }
   6353 _ACEOF
   6354 if ac_fn_c_try_link "$LINENO"; then :
   6355   eval $cacheid=yes
   6356 else
   6357   eval $cacheid=no
   6358 fi
   6359 rm -f core conftest.err conftest.$ac_objext \
   6360     conftest$ac_exeext conftest.$ac_ext
   6361 fi
   6362 
   6363 
   6364 		CFLAGS="$xorg_testset_save_CFLAGS"
   6365 
   6366 		eval supported=\$$cacheid
   6367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6368 $as_echo "$supported" >&6; }
   6369 		if test "$supported" = "yes" ; then
   6370 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6371 			found="yes"
   6372 		fi
   6373 	fi
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 xorg_testset_save_CFLAGS="$CFLAGS"
   6390 
   6391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6396   $as_echo_n "(cached) " >&6
   6397 else
   6398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6399 /* end confdefs.h.  */
   6400 int i;
   6401 _ACEOF
   6402 if ac_fn_c_try_compile "$LINENO"; then :
   6403   xorg_cv_cc_flag_unknown_warning_option=yes
   6404 else
   6405   xorg_cv_cc_flag_unknown_warning_option=no
   6406 fi
   6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6408 fi
   6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6412 	CFLAGS="$xorg_testset_save_CFLAGS"
   6413 fi
   6414 
   6415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6418 	fi
   6419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6423   $as_echo_n "(cached) " >&6
   6424 else
   6425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6426 /* end confdefs.h.  */
   6427 int i;
   6428 _ACEOF
   6429 if ac_fn_c_try_compile "$LINENO"; then :
   6430   xorg_cv_cc_flag_unused_command_line_argument=yes
   6431 else
   6432   xorg_cv_cc_flag_unused_command_line_argument=no
   6433 fi
   6434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6435 fi
   6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6439 	CFLAGS="$xorg_testset_save_CFLAGS"
   6440 fi
   6441 
   6442 found="no"
   6443 
   6444 	if test $found = "no" ; then
   6445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6447 		fi
   6448 
   6449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6451 		fi
   6452 
   6453 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6454 
   6455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6456 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6457 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6458 		if eval \${$cacheid+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 int
   6465 main ()
   6466 {
   6467 
   6468   ;
   6469   return 0;
   6470 }
   6471 _ACEOF
   6472 if ac_fn_c_try_link "$LINENO"; then :
   6473   eval $cacheid=yes
   6474 else
   6475   eval $cacheid=no
   6476 fi
   6477 rm -f core conftest.err conftest.$ac_objext \
   6478     conftest$ac_exeext conftest.$ac_ext
   6479 fi
   6480 
   6481 
   6482 		CFLAGS="$xorg_testset_save_CFLAGS"
   6483 
   6484 		eval supported=\$$cacheid
   6485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6486 $as_echo "$supported" >&6; }
   6487 		if test "$supported" = "yes" ; then
   6488 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6489 			found="yes"
   6490 		fi
   6491 	fi
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 xorg_testset_save_CFLAGS="$CFLAGS"
   6508 
   6509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6514   $as_echo_n "(cached) " >&6
   6515 else
   6516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 _ACEOF
   6520 if ac_fn_c_try_compile "$LINENO"; then :
   6521   xorg_cv_cc_flag_unknown_warning_option=yes
   6522 else
   6523   xorg_cv_cc_flag_unknown_warning_option=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6526 fi
   6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6530 	CFLAGS="$xorg_testset_save_CFLAGS"
   6531 fi
   6532 
   6533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6536 	fi
   6537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6541   $as_echo_n "(cached) " >&6
   6542 else
   6543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6544 /* end confdefs.h.  */
   6545 int i;
   6546 _ACEOF
   6547 if ac_fn_c_try_compile "$LINENO"; then :
   6548   xorg_cv_cc_flag_unused_command_line_argument=yes
   6549 else
   6550   xorg_cv_cc_flag_unused_command_line_argument=no
   6551 fi
   6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6553 fi
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6557 	CFLAGS="$xorg_testset_save_CFLAGS"
   6558 fi
   6559 
   6560 found="no"
   6561 
   6562 	if test $found = "no" ; then
   6563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6565 		fi
   6566 
   6567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6569 		fi
   6570 
   6571 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6572 
   6573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6574 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6575 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6576 		if eval \${$cacheid+:} false; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6580 /* end confdefs.h.  */
   6581 int i;
   6582 int
   6583 main ()
   6584 {
   6585 
   6586   ;
   6587   return 0;
   6588 }
   6589 _ACEOF
   6590 if ac_fn_c_try_link "$LINENO"; then :
   6591   eval $cacheid=yes
   6592 else
   6593   eval $cacheid=no
   6594 fi
   6595 rm -f core conftest.err conftest.$ac_objext \
   6596     conftest$ac_exeext conftest.$ac_ext
   6597 fi
   6598 
   6599 
   6600 		CFLAGS="$xorg_testset_save_CFLAGS"
   6601 
   6602 		eval supported=\$$cacheid
   6603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6604 $as_echo "$supported" >&6; }
   6605 		if test "$supported" = "yes" ; then
   6606 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6607 			found="yes"
   6608 		fi
   6609 	fi
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 xorg_testset_save_CFLAGS="$CFLAGS"
   6626 
   6627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6631 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6635 /* end confdefs.h.  */
   6636 int i;
   6637 _ACEOF
   6638 if ac_fn_c_try_compile "$LINENO"; then :
   6639   xorg_cv_cc_flag_unknown_warning_option=yes
   6640 else
   6641   xorg_cv_cc_flag_unknown_warning_option=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6644 fi
   6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6646 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6648 	CFLAGS="$xorg_testset_save_CFLAGS"
   6649 fi
   6650 
   6651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 	fi
   6655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6657 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6658 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6659   $as_echo_n "(cached) " >&6
   6660 else
   6661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662 /* end confdefs.h.  */
   6663 int i;
   6664 _ACEOF
   6665 if ac_fn_c_try_compile "$LINENO"; then :
   6666   xorg_cv_cc_flag_unused_command_line_argument=yes
   6667 else
   6668   xorg_cv_cc_flag_unused_command_line_argument=no
   6669 fi
   6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6671 fi
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6673 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6675 	CFLAGS="$xorg_testset_save_CFLAGS"
   6676 fi
   6677 
   6678 found="no"
   6679 
   6680 	if test $found = "no" ; then
   6681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6683 		fi
   6684 
   6685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6687 		fi
   6688 
   6689 		CFLAGS="$CFLAGS -Wredundant-decls"
   6690 
   6691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6692 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6693 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6694 		if eval \${$cacheid+:} false; then :
   6695   $as_echo_n "(cached) " >&6
   6696 else
   6697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6698 /* end confdefs.h.  */
   6699 int i;
   6700 int
   6701 main ()
   6702 {
   6703 
   6704   ;
   6705   return 0;
   6706 }
   6707 _ACEOF
   6708 if ac_fn_c_try_link "$LINENO"; then :
   6709   eval $cacheid=yes
   6710 else
   6711   eval $cacheid=no
   6712 fi
   6713 rm -f core conftest.err conftest.$ac_objext \
   6714     conftest$ac_exeext conftest.$ac_ext
   6715 fi
   6716 
   6717 
   6718 		CFLAGS="$xorg_testset_save_CFLAGS"
   6719 
   6720 		eval supported=\$$cacheid
   6721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6722 $as_echo "$supported" >&6; }
   6723 		if test "$supported" = "yes" ; then
   6724 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6725 			found="yes"
   6726 		fi
   6727 	fi
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 xorg_testset_save_CFLAGS="$CFLAGS"
   6744 
   6745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6748 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6749 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 _ACEOF
   6756 if ac_fn_c_try_compile "$LINENO"; then :
   6757   xorg_cv_cc_flag_unknown_warning_option=yes
   6758 else
   6759   xorg_cv_cc_flag_unknown_warning_option=no
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6762 fi
   6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6764 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6766 	CFLAGS="$xorg_testset_save_CFLAGS"
   6767 fi
   6768 
   6769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6772 	fi
   6773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6775 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6776 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6777   $as_echo_n "(cached) " >&6
   6778 else
   6779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6780 /* end confdefs.h.  */
   6781 int i;
   6782 _ACEOF
   6783 if ac_fn_c_try_compile "$LINENO"; then :
   6784   xorg_cv_cc_flag_unused_command_line_argument=yes
   6785 else
   6786   xorg_cv_cc_flag_unused_command_line_argument=no
   6787 fi
   6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6789 fi
   6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6791 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6793 	CFLAGS="$xorg_testset_save_CFLAGS"
   6794 fi
   6795 
   6796 found="no"
   6797 
   6798 	if test $found = "no" ; then
   6799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 		fi
   6802 
   6803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6805 		fi
   6806 
   6807 		CFLAGS="$CFLAGS -Wlogical-op"
   6808 
   6809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6810 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6811 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6812 		if eval \${$cacheid+:} false; then :
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6816 /* end confdefs.h.  */
   6817 int i;
   6818 int
   6819 main ()
   6820 {
   6821 
   6822   ;
   6823   return 0;
   6824 }
   6825 _ACEOF
   6826 if ac_fn_c_try_link "$LINENO"; then :
   6827   eval $cacheid=yes
   6828 else
   6829   eval $cacheid=no
   6830 fi
   6831 rm -f core conftest.err conftest.$ac_objext \
   6832     conftest$ac_exeext conftest.$ac_ext
   6833 fi
   6834 
   6835 
   6836 		CFLAGS="$xorg_testset_save_CFLAGS"
   6837 
   6838 		eval supported=\$$cacheid
   6839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6840 $as_echo "$supported" >&6; }
   6841 		if test "$supported" = "yes" ; then
   6842 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6843 			found="yes"
   6844 		fi
   6845 	fi
   6846 
   6847 
   6848 
   6849 # These are currently disabled because they are noisy.  They will be enabled
   6850 # in the future once the codebase is sufficiently modernized to silence
   6851 # them.  For now, I don't want them to drown out the other warnings.
   6852 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6853 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6854 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6855 
   6856 # Turn some warnings into errors, so we don't accidently get successful builds
   6857 # when there are problems that should be fixed.
   6858 
   6859 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 xorg_testset_save_CFLAGS="$CFLAGS"
   6874 
   6875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 int i;
   6885 _ACEOF
   6886 if ac_fn_c_try_compile "$LINENO"; then :
   6887   xorg_cv_cc_flag_unknown_warning_option=yes
   6888 else
   6889   xorg_cv_cc_flag_unknown_warning_option=no
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6892 fi
   6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6896 	CFLAGS="$xorg_testset_save_CFLAGS"
   6897 fi
   6898 
   6899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6902 	fi
   6903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6907   $as_echo_n "(cached) " >&6
   6908 else
   6909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6910 /* end confdefs.h.  */
   6911 int i;
   6912 _ACEOF
   6913 if ac_fn_c_try_compile "$LINENO"; then :
   6914   xorg_cv_cc_flag_unused_command_line_argument=yes
   6915 else
   6916   xorg_cv_cc_flag_unused_command_line_argument=no
   6917 fi
   6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6919 fi
   6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6923 	CFLAGS="$xorg_testset_save_CFLAGS"
   6924 fi
   6925 
   6926 found="no"
   6927 
   6928 	if test $found = "no" ; then
   6929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6931 		fi
   6932 
   6933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6935 		fi
   6936 
   6937 		CFLAGS="$CFLAGS -Werror=implicit"
   6938 
   6939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6940 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6941 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6942 		if eval \${$cacheid+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 int i;
   6948 int
   6949 main ()
   6950 {
   6951 
   6952   ;
   6953   return 0;
   6954 }
   6955 _ACEOF
   6956 if ac_fn_c_try_link "$LINENO"; then :
   6957   eval $cacheid=yes
   6958 else
   6959   eval $cacheid=no
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext \
   6962     conftest$ac_exeext conftest.$ac_ext
   6963 fi
   6964 
   6965 
   6966 		CFLAGS="$xorg_testset_save_CFLAGS"
   6967 
   6968 		eval supported=\$$cacheid
   6969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6970 $as_echo "$supported" >&6; }
   6971 		if test "$supported" = "yes" ; then
   6972 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6973 			found="yes"
   6974 		fi
   6975 	fi
   6976 
   6977 	if test $found = "no" ; then
   6978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6980 		fi
   6981 
   6982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6984 		fi
   6985 
   6986 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6987 
   6988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6989 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6990 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6991 		if eval \${$cacheid+:} false; then :
   6992   $as_echo_n "(cached) " >&6
   6993 else
   6994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 int i;
   6997 int
   6998 main ()
   6999 {
   7000 
   7001   ;
   7002   return 0;
   7003 }
   7004 _ACEOF
   7005 if ac_fn_c_try_link "$LINENO"; then :
   7006   eval $cacheid=yes
   7007 else
   7008   eval $cacheid=no
   7009 fi
   7010 rm -f core conftest.err conftest.$ac_objext \
   7011     conftest$ac_exeext conftest.$ac_ext
   7012 fi
   7013 
   7014 
   7015 		CFLAGS="$xorg_testset_save_CFLAGS"
   7016 
   7017 		eval supported=\$$cacheid
   7018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7019 $as_echo "$supported" >&6; }
   7020 		if test "$supported" = "yes" ; then
   7021 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7022 			found="yes"
   7023 		fi
   7024 	fi
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 xorg_testset_save_CFLAGS="$CFLAGS"
   7041 
   7042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7050 /* end confdefs.h.  */
   7051 int i;
   7052 _ACEOF
   7053 if ac_fn_c_try_compile "$LINENO"; then :
   7054   xorg_cv_cc_flag_unknown_warning_option=yes
   7055 else
   7056   xorg_cv_cc_flag_unknown_warning_option=no
   7057 fi
   7058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7059 fi
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7063 	CFLAGS="$xorg_testset_save_CFLAGS"
   7064 fi
   7065 
   7066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 	fi
   7070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7074   $as_echo_n "(cached) " >&6
   7075 else
   7076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7077 /* end confdefs.h.  */
   7078 int i;
   7079 _ACEOF
   7080 if ac_fn_c_try_compile "$LINENO"; then :
   7081   xorg_cv_cc_flag_unused_command_line_argument=yes
   7082 else
   7083   xorg_cv_cc_flag_unused_command_line_argument=no
   7084 fi
   7085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7086 fi
   7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7090 	CFLAGS="$xorg_testset_save_CFLAGS"
   7091 fi
   7092 
   7093 found="no"
   7094 
   7095 	if test $found = "no" ; then
   7096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 		fi
   7099 
   7100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7102 		fi
   7103 
   7104 		CFLAGS="$CFLAGS -Werror=nonnull"
   7105 
   7106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7107 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7108 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7109 		if eval \${$cacheid+:} false; then :
   7110   $as_echo_n "(cached) " >&6
   7111 else
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 int i;
   7115 int
   7116 main ()
   7117 {
   7118 
   7119   ;
   7120   return 0;
   7121 }
   7122 _ACEOF
   7123 if ac_fn_c_try_link "$LINENO"; then :
   7124   eval $cacheid=yes
   7125 else
   7126   eval $cacheid=no
   7127 fi
   7128 rm -f core conftest.err conftest.$ac_objext \
   7129     conftest$ac_exeext conftest.$ac_ext
   7130 fi
   7131 
   7132 
   7133 		CFLAGS="$xorg_testset_save_CFLAGS"
   7134 
   7135 		eval supported=\$$cacheid
   7136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7137 $as_echo "$supported" >&6; }
   7138 		if test "$supported" = "yes" ; then
   7139 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7140 			found="yes"
   7141 		fi
   7142 	fi
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 xorg_testset_save_CFLAGS="$CFLAGS"
   7159 
   7160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7168 /* end confdefs.h.  */
   7169 int i;
   7170 _ACEOF
   7171 if ac_fn_c_try_compile "$LINENO"; then :
   7172   xorg_cv_cc_flag_unknown_warning_option=yes
   7173 else
   7174   xorg_cv_cc_flag_unknown_warning_option=no
   7175 fi
   7176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7177 fi
   7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7181 	CFLAGS="$xorg_testset_save_CFLAGS"
   7182 fi
   7183 
   7184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 	fi
   7188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7192   $as_echo_n "(cached) " >&6
   7193 else
   7194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7195 /* end confdefs.h.  */
   7196 int i;
   7197 _ACEOF
   7198 if ac_fn_c_try_compile "$LINENO"; then :
   7199   xorg_cv_cc_flag_unused_command_line_argument=yes
   7200 else
   7201   xorg_cv_cc_flag_unused_command_line_argument=no
   7202 fi
   7203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7204 fi
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7208 	CFLAGS="$xorg_testset_save_CFLAGS"
   7209 fi
   7210 
   7211 found="no"
   7212 
   7213 	if test $found = "no" ; then
   7214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7216 		fi
   7217 
   7218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7220 		fi
   7221 
   7222 		CFLAGS="$CFLAGS -Werror=init-self"
   7223 
   7224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7225 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7226 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7227 		if eval \${$cacheid+:} false; then :
   7228   $as_echo_n "(cached) " >&6
   7229 else
   7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7231 /* end confdefs.h.  */
   7232 int i;
   7233 int
   7234 main ()
   7235 {
   7236 
   7237   ;
   7238   return 0;
   7239 }
   7240 _ACEOF
   7241 if ac_fn_c_try_link "$LINENO"; then :
   7242   eval $cacheid=yes
   7243 else
   7244   eval $cacheid=no
   7245 fi
   7246 rm -f core conftest.err conftest.$ac_objext \
   7247     conftest$ac_exeext conftest.$ac_ext
   7248 fi
   7249 
   7250 
   7251 		CFLAGS="$xorg_testset_save_CFLAGS"
   7252 
   7253 		eval supported=\$$cacheid
   7254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7255 $as_echo "$supported" >&6; }
   7256 		if test "$supported" = "yes" ; then
   7257 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7258 			found="yes"
   7259 		fi
   7260 	fi
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 xorg_testset_save_CFLAGS="$CFLAGS"
   7277 
   7278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7286 /* end confdefs.h.  */
   7287 int i;
   7288 _ACEOF
   7289 if ac_fn_c_try_compile "$LINENO"; then :
   7290   xorg_cv_cc_flag_unknown_warning_option=yes
   7291 else
   7292   xorg_cv_cc_flag_unknown_warning_option=no
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7295 fi
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7299 	CFLAGS="$xorg_testset_save_CFLAGS"
   7300 fi
   7301 
   7302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7305 	fi
   7306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7310   $as_echo_n "(cached) " >&6
   7311 else
   7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 int i;
   7315 _ACEOF
   7316 if ac_fn_c_try_compile "$LINENO"; then :
   7317   xorg_cv_cc_flag_unused_command_line_argument=yes
   7318 else
   7319   xorg_cv_cc_flag_unused_command_line_argument=no
   7320 fi
   7321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7322 fi
   7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7326 	CFLAGS="$xorg_testset_save_CFLAGS"
   7327 fi
   7328 
   7329 found="no"
   7330 
   7331 	if test $found = "no" ; then
   7332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7334 		fi
   7335 
   7336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7338 		fi
   7339 
   7340 		CFLAGS="$CFLAGS -Werror=main"
   7341 
   7342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7343 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7344 		cacheid=xorg_cv_cc_flag__Werror_main
   7345 		if eval \${$cacheid+:} false; then :
   7346   $as_echo_n "(cached) " >&6
   7347 else
   7348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7349 /* end confdefs.h.  */
   7350 int i;
   7351 int
   7352 main ()
   7353 {
   7354 
   7355   ;
   7356   return 0;
   7357 }
   7358 _ACEOF
   7359 if ac_fn_c_try_link "$LINENO"; then :
   7360   eval $cacheid=yes
   7361 else
   7362   eval $cacheid=no
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext \
   7365     conftest$ac_exeext conftest.$ac_ext
   7366 fi
   7367 
   7368 
   7369 		CFLAGS="$xorg_testset_save_CFLAGS"
   7370 
   7371 		eval supported=\$$cacheid
   7372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7373 $as_echo "$supported" >&6; }
   7374 		if test "$supported" = "yes" ; then
   7375 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7376 			found="yes"
   7377 		fi
   7378 	fi
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 xorg_testset_save_CFLAGS="$CFLAGS"
   7395 
   7396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7399 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7400 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7401   $as_echo_n "(cached) " >&6
   7402 else
   7403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 _ACEOF
   7407 if ac_fn_c_try_compile "$LINENO"; then :
   7408   xorg_cv_cc_flag_unknown_warning_option=yes
   7409 else
   7410   xorg_cv_cc_flag_unknown_warning_option=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7413 fi
   7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7415 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7417 	CFLAGS="$xorg_testset_save_CFLAGS"
   7418 fi
   7419 
   7420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7423 	fi
   7424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7426 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7427 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 int i;
   7433 _ACEOF
   7434 if ac_fn_c_try_compile "$LINENO"; then :
   7435   xorg_cv_cc_flag_unused_command_line_argument=yes
   7436 else
   7437   xorg_cv_cc_flag_unused_command_line_argument=no
   7438 fi
   7439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7440 fi
   7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7442 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7444 	CFLAGS="$xorg_testset_save_CFLAGS"
   7445 fi
   7446 
   7447 found="no"
   7448 
   7449 	if test $found = "no" ; then
   7450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7452 		fi
   7453 
   7454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7456 		fi
   7457 
   7458 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7459 
   7460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7461 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7462 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7463 		if eval \${$cacheid+:} false; then :
   7464   $as_echo_n "(cached) " >&6
   7465 else
   7466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7467 /* end confdefs.h.  */
   7468 int i;
   7469 int
   7470 main ()
   7471 {
   7472 
   7473   ;
   7474   return 0;
   7475 }
   7476 _ACEOF
   7477 if ac_fn_c_try_link "$LINENO"; then :
   7478   eval $cacheid=yes
   7479 else
   7480   eval $cacheid=no
   7481 fi
   7482 rm -f core conftest.err conftest.$ac_objext \
   7483     conftest$ac_exeext conftest.$ac_ext
   7484 fi
   7485 
   7486 
   7487 		CFLAGS="$xorg_testset_save_CFLAGS"
   7488 
   7489 		eval supported=\$$cacheid
   7490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7491 $as_echo "$supported" >&6; }
   7492 		if test "$supported" = "yes" ; then
   7493 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7494 			found="yes"
   7495 		fi
   7496 	fi
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 xorg_testset_save_CFLAGS="$CFLAGS"
   7513 
   7514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 _ACEOF
   7525 if ac_fn_c_try_compile "$LINENO"; then :
   7526   xorg_cv_cc_flag_unknown_warning_option=yes
   7527 else
   7528   xorg_cv_cc_flag_unknown_warning_option=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7531 fi
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7535 	CFLAGS="$xorg_testset_save_CFLAGS"
   7536 fi
   7537 
   7538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 	fi
   7542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7546   $as_echo_n "(cached) " >&6
   7547 else
   7548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7549 /* end confdefs.h.  */
   7550 int i;
   7551 _ACEOF
   7552 if ac_fn_c_try_compile "$LINENO"; then :
   7553   xorg_cv_cc_flag_unused_command_line_argument=yes
   7554 else
   7555   xorg_cv_cc_flag_unused_command_line_argument=no
   7556 fi
   7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7558 fi
   7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7562 	CFLAGS="$xorg_testset_save_CFLAGS"
   7563 fi
   7564 
   7565 found="no"
   7566 
   7567 	if test $found = "no" ; then
   7568 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7570 		fi
   7571 
   7572 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7574 		fi
   7575 
   7576 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7577 
   7578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7579 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7580 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7581 		if eval \${$cacheid+:} false; then :
   7582   $as_echo_n "(cached) " >&6
   7583 else
   7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 int i;
   7587 int
   7588 main ()
   7589 {
   7590 
   7591   ;
   7592   return 0;
   7593 }
   7594 _ACEOF
   7595 if ac_fn_c_try_link "$LINENO"; then :
   7596   eval $cacheid=yes
   7597 else
   7598   eval $cacheid=no
   7599 fi
   7600 rm -f core conftest.err conftest.$ac_objext \
   7601     conftest$ac_exeext conftest.$ac_ext
   7602 fi
   7603 
   7604 
   7605 		CFLAGS="$xorg_testset_save_CFLAGS"
   7606 
   7607 		eval supported=\$$cacheid
   7608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7609 $as_echo "$supported" >&6; }
   7610 		if test "$supported" = "yes" ; then
   7611 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7612 			found="yes"
   7613 		fi
   7614 	fi
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 xorg_testset_save_CFLAGS="$CFLAGS"
   7631 
   7632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7635 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7636 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7637   $as_echo_n "(cached) " >&6
   7638 else
   7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 _ACEOF
   7643 if ac_fn_c_try_compile "$LINENO"; then :
   7644   xorg_cv_cc_flag_unknown_warning_option=yes
   7645 else
   7646   xorg_cv_cc_flag_unknown_warning_option=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7649 fi
   7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7651 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7653 	CFLAGS="$xorg_testset_save_CFLAGS"
   7654 fi
   7655 
   7656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7659 	fi
   7660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7662 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7663 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7664   $as_echo_n "(cached) " >&6
   7665 else
   7666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7667 /* end confdefs.h.  */
   7668 int i;
   7669 _ACEOF
   7670 if ac_fn_c_try_compile "$LINENO"; then :
   7671   xorg_cv_cc_flag_unused_command_line_argument=yes
   7672 else
   7673   xorg_cv_cc_flag_unused_command_line_argument=no
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7676 fi
   7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7678 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7680 	CFLAGS="$xorg_testset_save_CFLAGS"
   7681 fi
   7682 
   7683 found="no"
   7684 
   7685 	if test $found = "no" ; then
   7686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 		fi
   7689 
   7690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7692 		fi
   7693 
   7694 		CFLAGS="$CFLAGS -Werror=return-type"
   7695 
   7696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7697 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7698 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7699 		if eval \${$cacheid+:} false; then :
   7700   $as_echo_n "(cached) " >&6
   7701 else
   7702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7703 /* end confdefs.h.  */
   7704 int i;
   7705 int
   7706 main ()
   7707 {
   7708 
   7709   ;
   7710   return 0;
   7711 }
   7712 _ACEOF
   7713 if ac_fn_c_try_link "$LINENO"; then :
   7714   eval $cacheid=yes
   7715 else
   7716   eval $cacheid=no
   7717 fi
   7718 rm -f core conftest.err conftest.$ac_objext \
   7719     conftest$ac_exeext conftest.$ac_ext
   7720 fi
   7721 
   7722 
   7723 		CFLAGS="$xorg_testset_save_CFLAGS"
   7724 
   7725 		eval supported=\$$cacheid
   7726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7727 $as_echo "$supported" >&6; }
   7728 		if test "$supported" = "yes" ; then
   7729 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7730 			found="yes"
   7731 		fi
   7732 	fi
   7733 
   7734 	if test $found = "no" ; then
   7735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7737 		fi
   7738 
   7739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7741 		fi
   7742 
   7743 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7744 
   7745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7746 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7747 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7748 		if eval \${$cacheid+:} false; then :
   7749   $as_echo_n "(cached) " >&6
   7750 else
   7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 int i;
   7754 int
   7755 main ()
   7756 {
   7757 
   7758   ;
   7759   return 0;
   7760 }
   7761 _ACEOF
   7762 if ac_fn_c_try_link "$LINENO"; then :
   7763   eval $cacheid=yes
   7764 else
   7765   eval $cacheid=no
   7766 fi
   7767 rm -f core conftest.err conftest.$ac_objext \
   7768     conftest$ac_exeext conftest.$ac_ext
   7769 fi
   7770 
   7771 
   7772 		CFLAGS="$xorg_testset_save_CFLAGS"
   7773 
   7774 		eval supported=\$$cacheid
   7775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7776 $as_echo "$supported" >&6; }
   7777 		if test "$supported" = "yes" ; then
   7778 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7779 			found="yes"
   7780 		fi
   7781 	fi
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 xorg_testset_save_CFLAGS="$CFLAGS"
   7798 
   7799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7802 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7803 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7804   $as_echo_n "(cached) " >&6
   7805 else
   7806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7807 /* end confdefs.h.  */
   7808 int i;
   7809 _ACEOF
   7810 if ac_fn_c_try_compile "$LINENO"; then :
   7811   xorg_cv_cc_flag_unknown_warning_option=yes
   7812 else
   7813   xorg_cv_cc_flag_unknown_warning_option=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7816 fi
   7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7818 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7820 	CFLAGS="$xorg_testset_save_CFLAGS"
   7821 fi
   7822 
   7823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 	fi
   7827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7829 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7830 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7831   $as_echo_n "(cached) " >&6
   7832 else
   7833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7834 /* end confdefs.h.  */
   7835 int i;
   7836 _ACEOF
   7837 if ac_fn_c_try_compile "$LINENO"; then :
   7838   xorg_cv_cc_flag_unused_command_line_argument=yes
   7839 else
   7840   xorg_cv_cc_flag_unused_command_line_argument=no
   7841 fi
   7842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7843 fi
   7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7845 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7847 	CFLAGS="$xorg_testset_save_CFLAGS"
   7848 fi
   7849 
   7850 found="no"
   7851 
   7852 	if test $found = "no" ; then
   7853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7855 		fi
   7856 
   7857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7859 		fi
   7860 
   7861 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7862 
   7863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7864 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7865 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7866 		if eval \${$cacheid+:} false; then :
   7867   $as_echo_n "(cached) " >&6
   7868 else
   7869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7870 /* end confdefs.h.  */
   7871 int i;
   7872 int
   7873 main ()
   7874 {
   7875 
   7876   ;
   7877   return 0;
   7878 }
   7879 _ACEOF
   7880 if ac_fn_c_try_link "$LINENO"; then :
   7881   eval $cacheid=yes
   7882 else
   7883   eval $cacheid=no
   7884 fi
   7885 rm -f core conftest.err conftest.$ac_objext \
   7886     conftest$ac_exeext conftest.$ac_ext
   7887 fi
   7888 
   7889 
   7890 		CFLAGS="$xorg_testset_save_CFLAGS"
   7891 
   7892 		eval supported=\$$cacheid
   7893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7894 $as_echo "$supported" >&6; }
   7895 		if test "$supported" = "yes" ; then
   7896 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7897 			found="yes"
   7898 		fi
   7899 	fi
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 xorg_testset_save_CFLAGS="$CFLAGS"
   7916 
   7917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7920 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7921 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7925 /* end confdefs.h.  */
   7926 int i;
   7927 _ACEOF
   7928 if ac_fn_c_try_compile "$LINENO"; then :
   7929   xorg_cv_cc_flag_unknown_warning_option=yes
   7930 else
   7931   xorg_cv_cc_flag_unknown_warning_option=no
   7932 fi
   7933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7934 fi
   7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7936 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7937 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7938 	CFLAGS="$xorg_testset_save_CFLAGS"
   7939 fi
   7940 
   7941 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7942 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7944 	fi
   7945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7947 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7948 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7949   $as_echo_n "(cached) " >&6
   7950 else
   7951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7952 /* end confdefs.h.  */
   7953 int i;
   7954 _ACEOF
   7955 if ac_fn_c_try_compile "$LINENO"; then :
   7956   xorg_cv_cc_flag_unused_command_line_argument=yes
   7957 else
   7958   xorg_cv_cc_flag_unused_command_line_argument=no
   7959 fi
   7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7961 fi
   7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7963 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7965 	CFLAGS="$xorg_testset_save_CFLAGS"
   7966 fi
   7967 
   7968 found="no"
   7969 
   7970 	if test $found = "no" ; then
   7971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7973 		fi
   7974 
   7975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7977 		fi
   7978 
   7979 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7980 
   7981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7982 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7983 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7984 		if eval \${$cacheid+:} false; then :
   7985   $as_echo_n "(cached) " >&6
   7986 else
   7987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7988 /* end confdefs.h.  */
   7989 int i;
   7990 int
   7991 main ()
   7992 {
   7993 
   7994   ;
   7995   return 0;
   7996 }
   7997 _ACEOF
   7998 if ac_fn_c_try_link "$LINENO"; then :
   7999   eval $cacheid=yes
   8000 else
   8001   eval $cacheid=no
   8002 fi
   8003 rm -f core conftest.err conftest.$ac_objext \
   8004     conftest$ac_exeext conftest.$ac_ext
   8005 fi
   8006 
   8007 
   8008 		CFLAGS="$xorg_testset_save_CFLAGS"
   8009 
   8010 		eval supported=\$$cacheid
   8011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8012 $as_echo "$supported" >&6; }
   8013 		if test "$supported" = "yes" ; then
   8014 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8015 			found="yes"
   8016 		fi
   8017 	fi
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 xorg_testset_save_CFLAGS="$CFLAGS"
   8034 
   8035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8040   $as_echo_n "(cached) " >&6
   8041 else
   8042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8043 /* end confdefs.h.  */
   8044 int i;
   8045 _ACEOF
   8046 if ac_fn_c_try_compile "$LINENO"; then :
   8047   xorg_cv_cc_flag_unknown_warning_option=yes
   8048 else
   8049   xorg_cv_cc_flag_unknown_warning_option=no
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8052 fi
   8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8056 	CFLAGS="$xorg_testset_save_CFLAGS"
   8057 fi
   8058 
   8059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8062 	fi
   8063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8067   $as_echo_n "(cached) " >&6
   8068 else
   8069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 _ACEOF
   8073 if ac_fn_c_try_compile "$LINENO"; then :
   8074   xorg_cv_cc_flag_unused_command_line_argument=yes
   8075 else
   8076   xorg_cv_cc_flag_unused_command_line_argument=no
   8077 fi
   8078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8079 fi
   8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8083 	CFLAGS="$xorg_testset_save_CFLAGS"
   8084 fi
   8085 
   8086 found="no"
   8087 
   8088 	if test $found = "no" ; then
   8089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8091 		fi
   8092 
   8093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8095 		fi
   8096 
   8097 		CFLAGS="$CFLAGS -Werror=write-strings"
   8098 
   8099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8100 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8101 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8102 		if eval \${$cacheid+:} false; then :
   8103   $as_echo_n "(cached) " >&6
   8104 else
   8105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8106 /* end confdefs.h.  */
   8107 int i;
   8108 int
   8109 main ()
   8110 {
   8111 
   8112   ;
   8113   return 0;
   8114 }
   8115 _ACEOF
   8116 if ac_fn_c_try_link "$LINENO"; then :
   8117   eval $cacheid=yes
   8118 else
   8119   eval $cacheid=no
   8120 fi
   8121 rm -f core conftest.err conftest.$ac_objext \
   8122     conftest$ac_exeext conftest.$ac_ext
   8123 fi
   8124 
   8125 
   8126 		CFLAGS="$xorg_testset_save_CFLAGS"
   8127 
   8128 		eval supported=\$$cacheid
   8129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8130 $as_echo "$supported" >&6; }
   8131 		if test "$supported" = "yes" ; then
   8132 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8133 			found="yes"
   8134 		fi
   8135 	fi
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 xorg_testset_save_CFLAGS="$CFLAGS"
   8152 
   8153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8158   $as_echo_n "(cached) " >&6
   8159 else
   8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 _ACEOF
   8164 if ac_fn_c_try_compile "$LINENO"; then :
   8165   xorg_cv_cc_flag_unknown_warning_option=yes
   8166 else
   8167   xorg_cv_cc_flag_unknown_warning_option=no
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8170 fi
   8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8174 	CFLAGS="$xorg_testset_save_CFLAGS"
   8175 fi
   8176 
   8177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8180 	fi
   8181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8185   $as_echo_n "(cached) " >&6
   8186 else
   8187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8188 /* end confdefs.h.  */
   8189 int i;
   8190 _ACEOF
   8191 if ac_fn_c_try_compile "$LINENO"; then :
   8192   xorg_cv_cc_flag_unused_command_line_argument=yes
   8193 else
   8194   xorg_cv_cc_flag_unused_command_line_argument=no
   8195 fi
   8196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8197 fi
   8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8201 	CFLAGS="$xorg_testset_save_CFLAGS"
   8202 fi
   8203 
   8204 found="no"
   8205 
   8206 	if test $found = "no" ; then
   8207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8209 		fi
   8210 
   8211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8213 		fi
   8214 
   8215 		CFLAGS="$CFLAGS -Werror=address"
   8216 
   8217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8218 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8219 		cacheid=xorg_cv_cc_flag__Werror_address
   8220 		if eval \${$cacheid+:} false; then :
   8221   $as_echo_n "(cached) " >&6
   8222 else
   8223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8224 /* end confdefs.h.  */
   8225 int i;
   8226 int
   8227 main ()
   8228 {
   8229 
   8230   ;
   8231   return 0;
   8232 }
   8233 _ACEOF
   8234 if ac_fn_c_try_link "$LINENO"; then :
   8235   eval $cacheid=yes
   8236 else
   8237   eval $cacheid=no
   8238 fi
   8239 rm -f core conftest.err conftest.$ac_objext \
   8240     conftest$ac_exeext conftest.$ac_ext
   8241 fi
   8242 
   8243 
   8244 		CFLAGS="$xorg_testset_save_CFLAGS"
   8245 
   8246 		eval supported=\$$cacheid
   8247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8248 $as_echo "$supported" >&6; }
   8249 		if test "$supported" = "yes" ; then
   8250 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8251 			found="yes"
   8252 		fi
   8253 	fi
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 xorg_testset_save_CFLAGS="$CFLAGS"
   8270 
   8271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 int i;
   8281 _ACEOF
   8282 if ac_fn_c_try_compile "$LINENO"; then :
   8283   xorg_cv_cc_flag_unknown_warning_option=yes
   8284 else
   8285   xorg_cv_cc_flag_unknown_warning_option=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8288 fi
   8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8292 	CFLAGS="$xorg_testset_save_CFLAGS"
   8293 fi
   8294 
   8295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8298 	fi
   8299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8303   $as_echo_n "(cached) " >&6
   8304 else
   8305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8306 /* end confdefs.h.  */
   8307 int i;
   8308 _ACEOF
   8309 if ac_fn_c_try_compile "$LINENO"; then :
   8310   xorg_cv_cc_flag_unused_command_line_argument=yes
   8311 else
   8312   xorg_cv_cc_flag_unused_command_line_argument=no
   8313 fi
   8314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8315 fi
   8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8319 	CFLAGS="$xorg_testset_save_CFLAGS"
   8320 fi
   8321 
   8322 found="no"
   8323 
   8324 	if test $found = "no" ; then
   8325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8327 		fi
   8328 
   8329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8331 		fi
   8332 
   8333 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8334 
   8335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8336 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8337 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8338 		if eval \${$cacheid+:} false; then :
   8339   $as_echo_n "(cached) " >&6
   8340 else
   8341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8342 /* end confdefs.h.  */
   8343 int i;
   8344 int
   8345 main ()
   8346 {
   8347 
   8348   ;
   8349   return 0;
   8350 }
   8351 _ACEOF
   8352 if ac_fn_c_try_link "$LINENO"; then :
   8353   eval $cacheid=yes
   8354 else
   8355   eval $cacheid=no
   8356 fi
   8357 rm -f core conftest.err conftest.$ac_objext \
   8358     conftest$ac_exeext conftest.$ac_ext
   8359 fi
   8360 
   8361 
   8362 		CFLAGS="$xorg_testset_save_CFLAGS"
   8363 
   8364 		eval supported=\$$cacheid
   8365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8366 $as_echo "$supported" >&6; }
   8367 		if test "$supported" = "yes" ; then
   8368 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8369 			found="yes"
   8370 		fi
   8371 	fi
   8372 
   8373 	if test $found = "no" ; then
   8374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8376 		fi
   8377 
   8378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8380 		fi
   8381 
   8382 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8383 
   8384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8385 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8386 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8387 		if eval \${$cacheid+:} false; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8391 /* end confdefs.h.  */
   8392 int i;
   8393 int
   8394 main ()
   8395 {
   8396 
   8397   ;
   8398   return 0;
   8399 }
   8400 _ACEOF
   8401 if ac_fn_c_try_link "$LINENO"; then :
   8402   eval $cacheid=yes
   8403 else
   8404   eval $cacheid=no
   8405 fi
   8406 rm -f core conftest.err conftest.$ac_objext \
   8407     conftest$ac_exeext conftest.$ac_ext
   8408 fi
   8409 
   8410 
   8411 		CFLAGS="$xorg_testset_save_CFLAGS"
   8412 
   8413 		eval supported=\$$cacheid
   8414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8415 $as_echo "$supported" >&6; }
   8416 		if test "$supported" = "yes" ; then
   8417 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8418 			found="yes"
   8419 		fi
   8420 	fi
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 xorg_testset_save_CFLAGS="$CFLAGS"
   8437 
   8438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8441 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8442 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8443   $as_echo_n "(cached) " >&6
   8444 else
   8445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8446 /* end confdefs.h.  */
   8447 int i;
   8448 _ACEOF
   8449 if ac_fn_c_try_compile "$LINENO"; then :
   8450   xorg_cv_cc_flag_unknown_warning_option=yes
   8451 else
   8452   xorg_cv_cc_flag_unknown_warning_option=no
   8453 fi
   8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8455 fi
   8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8457 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8459 	CFLAGS="$xorg_testset_save_CFLAGS"
   8460 fi
   8461 
   8462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8465 	fi
   8466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8468 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8469 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8470   $as_echo_n "(cached) " >&6
   8471 else
   8472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8473 /* end confdefs.h.  */
   8474 int i;
   8475 _ACEOF
   8476 if ac_fn_c_try_compile "$LINENO"; then :
   8477   xorg_cv_cc_flag_unused_command_line_argument=yes
   8478 else
   8479   xorg_cv_cc_flag_unused_command_line_argument=no
   8480 fi
   8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8482 fi
   8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8484 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8486 	CFLAGS="$xorg_testset_save_CFLAGS"
   8487 fi
   8488 
   8489 found="no"
   8490 
   8491 	if test $found = "no" ; then
   8492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8494 		fi
   8495 
   8496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8498 		fi
   8499 
   8500 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8501 
   8502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8503 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8504 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8505 		if eval \${$cacheid+:} false; then :
   8506   $as_echo_n "(cached) " >&6
   8507 else
   8508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8509 /* end confdefs.h.  */
   8510 int i;
   8511 int
   8512 main ()
   8513 {
   8514 
   8515   ;
   8516   return 0;
   8517 }
   8518 _ACEOF
   8519 if ac_fn_c_try_link "$LINENO"; then :
   8520   eval $cacheid=yes
   8521 else
   8522   eval $cacheid=no
   8523 fi
   8524 rm -f core conftest.err conftest.$ac_objext \
   8525     conftest$ac_exeext conftest.$ac_ext
   8526 fi
   8527 
   8528 
   8529 		CFLAGS="$xorg_testset_save_CFLAGS"
   8530 
   8531 		eval supported=\$$cacheid
   8532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8533 $as_echo "$supported" >&6; }
   8534 		if test "$supported" = "yes" ; then
   8535 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8536 			found="yes"
   8537 		fi
   8538 	fi
   8539 
   8540  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8541 else
   8542 { $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
   8543 $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;}
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 xorg_testset_save_CFLAGS="$CFLAGS"
   8558 
   8559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8564   $as_echo_n "(cached) " >&6
   8565 else
   8566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8567 /* end confdefs.h.  */
   8568 int i;
   8569 _ACEOF
   8570 if ac_fn_c_try_compile "$LINENO"; then :
   8571   xorg_cv_cc_flag_unknown_warning_option=yes
   8572 else
   8573   xorg_cv_cc_flag_unknown_warning_option=no
   8574 fi
   8575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8576 fi
   8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8580 	CFLAGS="$xorg_testset_save_CFLAGS"
   8581 fi
   8582 
   8583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8586 	fi
   8587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8591   $as_echo_n "(cached) " >&6
   8592 else
   8593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8594 /* end confdefs.h.  */
   8595 int i;
   8596 _ACEOF
   8597 if ac_fn_c_try_compile "$LINENO"; then :
   8598   xorg_cv_cc_flag_unused_command_line_argument=yes
   8599 else
   8600   xorg_cv_cc_flag_unused_command_line_argument=no
   8601 fi
   8602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8603 fi
   8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8607 	CFLAGS="$xorg_testset_save_CFLAGS"
   8608 fi
   8609 
   8610 found="no"
   8611 
   8612 	if test $found = "no" ; then
   8613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8615 		fi
   8616 
   8617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8619 		fi
   8620 
   8621 		CFLAGS="$CFLAGS -Wimplicit"
   8622 
   8623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8624 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8625 		cacheid=xorg_cv_cc_flag__Wimplicit
   8626 		if eval \${$cacheid+:} false; then :
   8627   $as_echo_n "(cached) " >&6
   8628 else
   8629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8630 /* end confdefs.h.  */
   8631 int i;
   8632 int
   8633 main ()
   8634 {
   8635 
   8636   ;
   8637   return 0;
   8638 }
   8639 _ACEOF
   8640 if ac_fn_c_try_link "$LINENO"; then :
   8641   eval $cacheid=yes
   8642 else
   8643   eval $cacheid=no
   8644 fi
   8645 rm -f core conftest.err conftest.$ac_objext \
   8646     conftest$ac_exeext conftest.$ac_ext
   8647 fi
   8648 
   8649 
   8650 		CFLAGS="$xorg_testset_save_CFLAGS"
   8651 
   8652 		eval supported=\$$cacheid
   8653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8654 $as_echo "$supported" >&6; }
   8655 		if test "$supported" = "yes" ; then
   8656 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8657 			found="yes"
   8658 		fi
   8659 	fi
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 xorg_testset_save_CFLAGS="$CFLAGS"
   8676 
   8677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8680 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8681 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8682   $as_echo_n "(cached) " >&6
   8683 else
   8684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8685 /* end confdefs.h.  */
   8686 int i;
   8687 _ACEOF
   8688 if ac_fn_c_try_compile "$LINENO"; then :
   8689   xorg_cv_cc_flag_unknown_warning_option=yes
   8690 else
   8691   xorg_cv_cc_flag_unknown_warning_option=no
   8692 fi
   8693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8694 fi
   8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8696 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8698 	CFLAGS="$xorg_testset_save_CFLAGS"
   8699 fi
   8700 
   8701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8704 	fi
   8705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8707 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8708 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8709   $as_echo_n "(cached) " >&6
   8710 else
   8711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 _ACEOF
   8715 if ac_fn_c_try_compile "$LINENO"; then :
   8716   xorg_cv_cc_flag_unused_command_line_argument=yes
   8717 else
   8718   xorg_cv_cc_flag_unused_command_line_argument=no
   8719 fi
   8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8721 fi
   8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8723 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8725 	CFLAGS="$xorg_testset_save_CFLAGS"
   8726 fi
   8727 
   8728 found="no"
   8729 
   8730 	if test $found = "no" ; then
   8731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8733 		fi
   8734 
   8735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8737 		fi
   8738 
   8739 		CFLAGS="$CFLAGS -Wnonnull"
   8740 
   8741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8742 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8743 		cacheid=xorg_cv_cc_flag__Wnonnull
   8744 		if eval \${$cacheid+:} false; then :
   8745   $as_echo_n "(cached) " >&6
   8746 else
   8747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8748 /* end confdefs.h.  */
   8749 int i;
   8750 int
   8751 main ()
   8752 {
   8753 
   8754   ;
   8755   return 0;
   8756 }
   8757 _ACEOF
   8758 if ac_fn_c_try_link "$LINENO"; then :
   8759   eval $cacheid=yes
   8760 else
   8761   eval $cacheid=no
   8762 fi
   8763 rm -f core conftest.err conftest.$ac_objext \
   8764     conftest$ac_exeext conftest.$ac_ext
   8765 fi
   8766 
   8767 
   8768 		CFLAGS="$xorg_testset_save_CFLAGS"
   8769 
   8770 		eval supported=\$$cacheid
   8771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8772 $as_echo "$supported" >&6; }
   8773 		if test "$supported" = "yes" ; then
   8774 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8775 			found="yes"
   8776 		fi
   8777 	fi
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 xorg_testset_save_CFLAGS="$CFLAGS"
   8794 
   8795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8800   $as_echo_n "(cached) " >&6
   8801 else
   8802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8803 /* end confdefs.h.  */
   8804 int i;
   8805 _ACEOF
   8806 if ac_fn_c_try_compile "$LINENO"; then :
   8807   xorg_cv_cc_flag_unknown_warning_option=yes
   8808 else
   8809   xorg_cv_cc_flag_unknown_warning_option=no
   8810 fi
   8811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8812 fi
   8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8816 	CFLAGS="$xorg_testset_save_CFLAGS"
   8817 fi
   8818 
   8819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8822 	fi
   8823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8827   $as_echo_n "(cached) " >&6
   8828 else
   8829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8830 /* end confdefs.h.  */
   8831 int i;
   8832 _ACEOF
   8833 if ac_fn_c_try_compile "$LINENO"; then :
   8834   xorg_cv_cc_flag_unused_command_line_argument=yes
   8835 else
   8836   xorg_cv_cc_flag_unused_command_line_argument=no
   8837 fi
   8838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8839 fi
   8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8843 	CFLAGS="$xorg_testset_save_CFLAGS"
   8844 fi
   8845 
   8846 found="no"
   8847 
   8848 	if test $found = "no" ; then
   8849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8851 		fi
   8852 
   8853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8855 		fi
   8856 
   8857 		CFLAGS="$CFLAGS -Winit-self"
   8858 
   8859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8860 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8861 		cacheid=xorg_cv_cc_flag__Winit_self
   8862 		if eval \${$cacheid+:} false; then :
   8863   $as_echo_n "(cached) " >&6
   8864 else
   8865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8866 /* end confdefs.h.  */
   8867 int i;
   8868 int
   8869 main ()
   8870 {
   8871 
   8872   ;
   8873   return 0;
   8874 }
   8875 _ACEOF
   8876 if ac_fn_c_try_link "$LINENO"; then :
   8877   eval $cacheid=yes
   8878 else
   8879   eval $cacheid=no
   8880 fi
   8881 rm -f core conftest.err conftest.$ac_objext \
   8882     conftest$ac_exeext conftest.$ac_ext
   8883 fi
   8884 
   8885 
   8886 		CFLAGS="$xorg_testset_save_CFLAGS"
   8887 
   8888 		eval supported=\$$cacheid
   8889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8890 $as_echo "$supported" >&6; }
   8891 		if test "$supported" = "yes" ; then
   8892 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8893 			found="yes"
   8894 		fi
   8895 	fi
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 xorg_testset_save_CFLAGS="$CFLAGS"
   8912 
   8913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8921 /* end confdefs.h.  */
   8922 int i;
   8923 _ACEOF
   8924 if ac_fn_c_try_compile "$LINENO"; then :
   8925   xorg_cv_cc_flag_unknown_warning_option=yes
   8926 else
   8927   xorg_cv_cc_flag_unknown_warning_option=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8930 fi
   8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8940 	fi
   8941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8945   $as_echo_n "(cached) " >&6
   8946 else
   8947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8948 /* end confdefs.h.  */
   8949 int i;
   8950 _ACEOF
   8951 if ac_fn_c_try_compile "$LINENO"; then :
   8952   xorg_cv_cc_flag_unused_command_line_argument=yes
   8953 else
   8954   xorg_cv_cc_flag_unused_command_line_argument=no
   8955 fi
   8956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8957 fi
   8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8961 	CFLAGS="$xorg_testset_save_CFLAGS"
   8962 fi
   8963 
   8964 found="no"
   8965 
   8966 	if test $found = "no" ; then
   8967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8969 		fi
   8970 
   8971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8973 		fi
   8974 
   8975 		CFLAGS="$CFLAGS -Wmain"
   8976 
   8977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8978 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8979 		cacheid=xorg_cv_cc_flag__Wmain
   8980 		if eval \${$cacheid+:} false; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 int i;
   8986 int
   8987 main ()
   8988 {
   8989 
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"; then :
   8995   eval $cacheid=yes
   8996 else
   8997   eval $cacheid=no
   8998 fi
   8999 rm -f core conftest.err conftest.$ac_objext \
   9000     conftest$ac_exeext conftest.$ac_ext
   9001 fi
   9002 
   9003 
   9004 		CFLAGS="$xorg_testset_save_CFLAGS"
   9005 
   9006 		eval supported=\$$cacheid
   9007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9008 $as_echo "$supported" >&6; }
   9009 		if test "$supported" = "yes" ; then
   9010 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9011 			found="yes"
   9012 		fi
   9013 	fi
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 xorg_testset_save_CFLAGS="$CFLAGS"
   9030 
   9031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9036   $as_echo_n "(cached) " >&6
   9037 else
   9038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9039 /* end confdefs.h.  */
   9040 int i;
   9041 _ACEOF
   9042 if ac_fn_c_try_compile "$LINENO"; then :
   9043   xorg_cv_cc_flag_unknown_warning_option=yes
   9044 else
   9045   xorg_cv_cc_flag_unknown_warning_option=no
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9048 fi
   9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9052 	CFLAGS="$xorg_testset_save_CFLAGS"
   9053 fi
   9054 
   9055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9058 	fi
   9059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9063   $as_echo_n "(cached) " >&6
   9064 else
   9065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9066 /* end confdefs.h.  */
   9067 int i;
   9068 _ACEOF
   9069 if ac_fn_c_try_compile "$LINENO"; then :
   9070   xorg_cv_cc_flag_unused_command_line_argument=yes
   9071 else
   9072   xorg_cv_cc_flag_unused_command_line_argument=no
   9073 fi
   9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9075 fi
   9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9079 	CFLAGS="$xorg_testset_save_CFLAGS"
   9080 fi
   9081 
   9082 found="no"
   9083 
   9084 	if test $found = "no" ; then
   9085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9087 		fi
   9088 
   9089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9091 		fi
   9092 
   9093 		CFLAGS="$CFLAGS -Wmissing-braces"
   9094 
   9095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9096 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9097 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9098 		if eval \${$cacheid+:} false; then :
   9099   $as_echo_n "(cached) " >&6
   9100 else
   9101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9102 /* end confdefs.h.  */
   9103 int i;
   9104 int
   9105 main ()
   9106 {
   9107 
   9108   ;
   9109   return 0;
   9110 }
   9111 _ACEOF
   9112 if ac_fn_c_try_link "$LINENO"; then :
   9113   eval $cacheid=yes
   9114 else
   9115   eval $cacheid=no
   9116 fi
   9117 rm -f core conftest.err conftest.$ac_objext \
   9118     conftest$ac_exeext conftest.$ac_ext
   9119 fi
   9120 
   9121 
   9122 		CFLAGS="$xorg_testset_save_CFLAGS"
   9123 
   9124 		eval supported=\$$cacheid
   9125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9126 $as_echo "$supported" >&6; }
   9127 		if test "$supported" = "yes" ; then
   9128 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9129 			found="yes"
   9130 		fi
   9131 	fi
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 xorg_testset_save_CFLAGS="$CFLAGS"
   9148 
   9149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9154   $as_echo_n "(cached) " >&6
   9155 else
   9156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9157 /* end confdefs.h.  */
   9158 int i;
   9159 _ACEOF
   9160 if ac_fn_c_try_compile "$LINENO"; then :
   9161   xorg_cv_cc_flag_unknown_warning_option=yes
   9162 else
   9163   xorg_cv_cc_flag_unknown_warning_option=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9166 fi
   9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 	fi
   9177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9181   $as_echo_n "(cached) " >&6
   9182 else
   9183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9184 /* end confdefs.h.  */
   9185 int i;
   9186 _ACEOF
   9187 if ac_fn_c_try_compile "$LINENO"; then :
   9188   xorg_cv_cc_flag_unused_command_line_argument=yes
   9189 else
   9190   xorg_cv_cc_flag_unused_command_line_argument=no
   9191 fi
   9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9193 fi
   9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9197 	CFLAGS="$xorg_testset_save_CFLAGS"
   9198 fi
   9199 
   9200 found="no"
   9201 
   9202 	if test $found = "no" ; then
   9203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9205 		fi
   9206 
   9207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9209 		fi
   9210 
   9211 		CFLAGS="$CFLAGS -Wsequence-point"
   9212 
   9213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9214 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9215 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9216 		if eval \${$cacheid+:} false; then :
   9217   $as_echo_n "(cached) " >&6
   9218 else
   9219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int i;
   9222 int
   9223 main ()
   9224 {
   9225 
   9226   ;
   9227   return 0;
   9228 }
   9229 _ACEOF
   9230 if ac_fn_c_try_link "$LINENO"; then :
   9231   eval $cacheid=yes
   9232 else
   9233   eval $cacheid=no
   9234 fi
   9235 rm -f core conftest.err conftest.$ac_objext \
   9236     conftest$ac_exeext conftest.$ac_ext
   9237 fi
   9238 
   9239 
   9240 		CFLAGS="$xorg_testset_save_CFLAGS"
   9241 
   9242 		eval supported=\$$cacheid
   9243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9244 $as_echo "$supported" >&6; }
   9245 		if test "$supported" = "yes" ; then
   9246 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9247 			found="yes"
   9248 		fi
   9249 	fi
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 xorg_testset_save_CFLAGS="$CFLAGS"
   9266 
   9267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9272   $as_echo_n "(cached) " >&6
   9273 else
   9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 _ACEOF
   9278 if ac_fn_c_try_compile "$LINENO"; then :
   9279   xorg_cv_cc_flag_unknown_warning_option=yes
   9280 else
   9281   xorg_cv_cc_flag_unknown_warning_option=no
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9284 fi
   9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9288 	CFLAGS="$xorg_testset_save_CFLAGS"
   9289 fi
   9290 
   9291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9294 	fi
   9295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9299   $as_echo_n "(cached) " >&6
   9300 else
   9301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9302 /* end confdefs.h.  */
   9303 int i;
   9304 _ACEOF
   9305 if ac_fn_c_try_compile "$LINENO"; then :
   9306   xorg_cv_cc_flag_unused_command_line_argument=yes
   9307 else
   9308   xorg_cv_cc_flag_unused_command_line_argument=no
   9309 fi
   9310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9311 fi
   9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9315 	CFLAGS="$xorg_testset_save_CFLAGS"
   9316 fi
   9317 
   9318 found="no"
   9319 
   9320 	if test $found = "no" ; then
   9321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9323 		fi
   9324 
   9325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9327 		fi
   9328 
   9329 		CFLAGS="$CFLAGS -Wreturn-type"
   9330 
   9331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9332 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9333 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9334 		if eval \${$cacheid+:} false; then :
   9335   $as_echo_n "(cached) " >&6
   9336 else
   9337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9338 /* end confdefs.h.  */
   9339 int i;
   9340 int
   9341 main ()
   9342 {
   9343 
   9344   ;
   9345   return 0;
   9346 }
   9347 _ACEOF
   9348 if ac_fn_c_try_link "$LINENO"; then :
   9349   eval $cacheid=yes
   9350 else
   9351   eval $cacheid=no
   9352 fi
   9353 rm -f core conftest.err conftest.$ac_objext \
   9354     conftest$ac_exeext conftest.$ac_ext
   9355 fi
   9356 
   9357 
   9358 		CFLAGS="$xorg_testset_save_CFLAGS"
   9359 
   9360 		eval supported=\$$cacheid
   9361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9362 $as_echo "$supported" >&6; }
   9363 		if test "$supported" = "yes" ; then
   9364 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9365 			found="yes"
   9366 		fi
   9367 	fi
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 xorg_testset_save_CFLAGS="$CFLAGS"
   9384 
   9385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9390   $as_echo_n "(cached) " >&6
   9391 else
   9392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int i;
   9395 _ACEOF
   9396 if ac_fn_c_try_compile "$LINENO"; then :
   9397   xorg_cv_cc_flag_unknown_warning_option=yes
   9398 else
   9399   xorg_cv_cc_flag_unknown_warning_option=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9402 fi
   9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9406 	CFLAGS="$xorg_testset_save_CFLAGS"
   9407 fi
   9408 
   9409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9412 	fi
   9413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9417   $as_echo_n "(cached) " >&6
   9418 else
   9419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9420 /* end confdefs.h.  */
   9421 int i;
   9422 _ACEOF
   9423 if ac_fn_c_try_compile "$LINENO"; then :
   9424   xorg_cv_cc_flag_unused_command_line_argument=yes
   9425 else
   9426   xorg_cv_cc_flag_unused_command_line_argument=no
   9427 fi
   9428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9429 fi
   9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9433 	CFLAGS="$xorg_testset_save_CFLAGS"
   9434 fi
   9435 
   9436 found="no"
   9437 
   9438 	if test $found = "no" ; then
   9439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 		fi
   9442 
   9443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9445 		fi
   9446 
   9447 		CFLAGS="$CFLAGS -Wtrigraphs"
   9448 
   9449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9450 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9451 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9452 		if eval \${$cacheid+:} false; then :
   9453   $as_echo_n "(cached) " >&6
   9454 else
   9455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9456 /* end confdefs.h.  */
   9457 int i;
   9458 int
   9459 main ()
   9460 {
   9461 
   9462   ;
   9463   return 0;
   9464 }
   9465 _ACEOF
   9466 if ac_fn_c_try_link "$LINENO"; then :
   9467   eval $cacheid=yes
   9468 else
   9469   eval $cacheid=no
   9470 fi
   9471 rm -f core conftest.err conftest.$ac_objext \
   9472     conftest$ac_exeext conftest.$ac_ext
   9473 fi
   9474 
   9475 
   9476 		CFLAGS="$xorg_testset_save_CFLAGS"
   9477 
   9478 		eval supported=\$$cacheid
   9479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9480 $as_echo "$supported" >&6; }
   9481 		if test "$supported" = "yes" ; then
   9482 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9483 			found="yes"
   9484 		fi
   9485 	fi
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 xorg_testset_save_CFLAGS="$CFLAGS"
   9502 
   9503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9508   $as_echo_n "(cached) " >&6
   9509 else
   9510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9511 /* end confdefs.h.  */
   9512 int i;
   9513 _ACEOF
   9514 if ac_fn_c_try_compile "$LINENO"; then :
   9515   xorg_cv_cc_flag_unknown_warning_option=yes
   9516 else
   9517   xorg_cv_cc_flag_unknown_warning_option=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9520 fi
   9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9524 	CFLAGS="$xorg_testset_save_CFLAGS"
   9525 fi
   9526 
   9527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9530 	fi
   9531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9535   $as_echo_n "(cached) " >&6
   9536 else
   9537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9538 /* end confdefs.h.  */
   9539 int i;
   9540 _ACEOF
   9541 if ac_fn_c_try_compile "$LINENO"; then :
   9542   xorg_cv_cc_flag_unused_command_line_argument=yes
   9543 else
   9544   xorg_cv_cc_flag_unused_command_line_argument=no
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9547 fi
   9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9551 	CFLAGS="$xorg_testset_save_CFLAGS"
   9552 fi
   9553 
   9554 found="no"
   9555 
   9556 	if test $found = "no" ; then
   9557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9559 		fi
   9560 
   9561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9563 		fi
   9564 
   9565 		CFLAGS="$CFLAGS -Warray-bounds"
   9566 
   9567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9568 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9569 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9570 		if eval \${$cacheid+:} false; then :
   9571   $as_echo_n "(cached) " >&6
   9572 else
   9573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9574 /* end confdefs.h.  */
   9575 int i;
   9576 int
   9577 main ()
   9578 {
   9579 
   9580   ;
   9581   return 0;
   9582 }
   9583 _ACEOF
   9584 if ac_fn_c_try_link "$LINENO"; then :
   9585   eval $cacheid=yes
   9586 else
   9587   eval $cacheid=no
   9588 fi
   9589 rm -f core conftest.err conftest.$ac_objext \
   9590     conftest$ac_exeext conftest.$ac_ext
   9591 fi
   9592 
   9593 
   9594 		CFLAGS="$xorg_testset_save_CFLAGS"
   9595 
   9596 		eval supported=\$$cacheid
   9597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9598 $as_echo "$supported" >&6; }
   9599 		if test "$supported" = "yes" ; then
   9600 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9601 			found="yes"
   9602 		fi
   9603 	fi
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 xorg_testset_save_CFLAGS="$CFLAGS"
   9620 
   9621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9624 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9625 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9626   $as_echo_n "(cached) " >&6
   9627 else
   9628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9629 /* end confdefs.h.  */
   9630 int i;
   9631 _ACEOF
   9632 if ac_fn_c_try_compile "$LINENO"; then :
   9633   xorg_cv_cc_flag_unknown_warning_option=yes
   9634 else
   9635   xorg_cv_cc_flag_unknown_warning_option=no
   9636 fi
   9637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9638 fi
   9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9640 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9642 	CFLAGS="$xorg_testset_save_CFLAGS"
   9643 fi
   9644 
   9645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 	fi
   9649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9651 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9652 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9653   $as_echo_n "(cached) " >&6
   9654 else
   9655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9656 /* end confdefs.h.  */
   9657 int i;
   9658 _ACEOF
   9659 if ac_fn_c_try_compile "$LINENO"; then :
   9660   xorg_cv_cc_flag_unused_command_line_argument=yes
   9661 else
   9662   xorg_cv_cc_flag_unused_command_line_argument=no
   9663 fi
   9664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9665 fi
   9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9667 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9669 	CFLAGS="$xorg_testset_save_CFLAGS"
   9670 fi
   9671 
   9672 found="no"
   9673 
   9674 	if test $found = "no" ; then
   9675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9677 		fi
   9678 
   9679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9681 		fi
   9682 
   9683 		CFLAGS="$CFLAGS -Wwrite-strings"
   9684 
   9685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9686 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9687 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9688 		if eval \${$cacheid+:} false; then :
   9689   $as_echo_n "(cached) " >&6
   9690 else
   9691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9692 /* end confdefs.h.  */
   9693 int i;
   9694 int
   9695 main ()
   9696 {
   9697 
   9698   ;
   9699   return 0;
   9700 }
   9701 _ACEOF
   9702 if ac_fn_c_try_link "$LINENO"; then :
   9703   eval $cacheid=yes
   9704 else
   9705   eval $cacheid=no
   9706 fi
   9707 rm -f core conftest.err conftest.$ac_objext \
   9708     conftest$ac_exeext conftest.$ac_ext
   9709 fi
   9710 
   9711 
   9712 		CFLAGS="$xorg_testset_save_CFLAGS"
   9713 
   9714 		eval supported=\$$cacheid
   9715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9716 $as_echo "$supported" >&6; }
   9717 		if test "$supported" = "yes" ; then
   9718 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9719 			found="yes"
   9720 		fi
   9721 	fi
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 xorg_testset_save_CFLAGS="$CFLAGS"
   9738 
   9739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9744   $as_echo_n "(cached) " >&6
   9745 else
   9746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 _ACEOF
   9750 if ac_fn_c_try_compile "$LINENO"; then :
   9751   xorg_cv_cc_flag_unknown_warning_option=yes
   9752 else
   9753   xorg_cv_cc_flag_unknown_warning_option=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9756 fi
   9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9760 	CFLAGS="$xorg_testset_save_CFLAGS"
   9761 fi
   9762 
   9763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9766 	fi
   9767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9771   $as_echo_n "(cached) " >&6
   9772 else
   9773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9774 /* end confdefs.h.  */
   9775 int i;
   9776 _ACEOF
   9777 if ac_fn_c_try_compile "$LINENO"; then :
   9778   xorg_cv_cc_flag_unused_command_line_argument=yes
   9779 else
   9780   xorg_cv_cc_flag_unused_command_line_argument=no
   9781 fi
   9782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9783 fi
   9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9787 	CFLAGS="$xorg_testset_save_CFLAGS"
   9788 fi
   9789 
   9790 found="no"
   9791 
   9792 	if test $found = "no" ; then
   9793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9795 		fi
   9796 
   9797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9799 		fi
   9800 
   9801 		CFLAGS="$CFLAGS -Waddress"
   9802 
   9803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9804 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9805 		cacheid=xorg_cv_cc_flag__Waddress
   9806 		if eval \${$cacheid+:} false; then :
   9807   $as_echo_n "(cached) " >&6
   9808 else
   9809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9810 /* end confdefs.h.  */
   9811 int i;
   9812 int
   9813 main ()
   9814 {
   9815 
   9816   ;
   9817   return 0;
   9818 }
   9819 _ACEOF
   9820 if ac_fn_c_try_link "$LINENO"; then :
   9821   eval $cacheid=yes
   9822 else
   9823   eval $cacheid=no
   9824 fi
   9825 rm -f core conftest.err conftest.$ac_objext \
   9826     conftest$ac_exeext conftest.$ac_ext
   9827 fi
   9828 
   9829 
   9830 		CFLAGS="$xorg_testset_save_CFLAGS"
   9831 
   9832 		eval supported=\$$cacheid
   9833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9834 $as_echo "$supported" >&6; }
   9835 		if test "$supported" = "yes" ; then
   9836 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9837 			found="yes"
   9838 		fi
   9839 	fi
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 xorg_testset_save_CFLAGS="$CFLAGS"
   9856 
   9857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9862   $as_echo_n "(cached) " >&6
   9863 else
   9864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9865 /* end confdefs.h.  */
   9866 int i;
   9867 _ACEOF
   9868 if ac_fn_c_try_compile "$LINENO"; then :
   9869   xorg_cv_cc_flag_unknown_warning_option=yes
   9870 else
   9871   xorg_cv_cc_flag_unknown_warning_option=no
   9872 fi
   9873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9874 fi
   9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9878 	CFLAGS="$xorg_testset_save_CFLAGS"
   9879 fi
   9880 
   9881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9884 	fi
   9885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 _ACEOF
   9895 if ac_fn_c_try_compile "$LINENO"; then :
   9896   xorg_cv_cc_flag_unused_command_line_argument=yes
   9897 else
   9898   xorg_cv_cc_flag_unused_command_line_argument=no
   9899 fi
   9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9901 fi
   9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9905 	CFLAGS="$xorg_testset_save_CFLAGS"
   9906 fi
   9907 
   9908 found="no"
   9909 
   9910 	if test $found = "no" ; then
   9911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9913 		fi
   9914 
   9915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9917 		fi
   9918 
   9919 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9920 
   9921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9922 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9923 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9924 		if eval \${$cacheid+:} false; then :
   9925   $as_echo_n "(cached) " >&6
   9926 else
   9927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9928 /* end confdefs.h.  */
   9929 int i;
   9930 int
   9931 main ()
   9932 {
   9933 
   9934   ;
   9935   return 0;
   9936 }
   9937 _ACEOF
   9938 if ac_fn_c_try_link "$LINENO"; then :
   9939   eval $cacheid=yes
   9940 else
   9941   eval $cacheid=no
   9942 fi
   9943 rm -f core conftest.err conftest.$ac_objext \
   9944     conftest$ac_exeext conftest.$ac_ext
   9945 fi
   9946 
   9947 
   9948 		CFLAGS="$xorg_testset_save_CFLAGS"
   9949 
   9950 		eval supported=\$$cacheid
   9951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9952 $as_echo "$supported" >&6; }
   9953 		if test "$supported" = "yes" ; then
   9954 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9955 			found="yes"
   9956 		fi
   9957 	fi
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 xorg_testset_save_CFLAGS="$CFLAGS"
   9974 
   9975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9980   $as_echo_n "(cached) " >&6
   9981 else
   9982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9983 /* end confdefs.h.  */
   9984 int i;
   9985 _ACEOF
   9986 if ac_fn_c_try_compile "$LINENO"; then :
   9987   xorg_cv_cc_flag_unknown_warning_option=yes
   9988 else
   9989   xorg_cv_cc_flag_unknown_warning_option=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9992 fi
   9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9996 	CFLAGS="$xorg_testset_save_CFLAGS"
   9997 fi
   9998 
   9999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 	fi
   10003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10007   $as_echo_n "(cached) " >&6
   10008 else
   10009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10010 /* end confdefs.h.  */
   10011 int i;
   10012 _ACEOF
   10013 if ac_fn_c_try_compile "$LINENO"; then :
   10014   xorg_cv_cc_flag_unused_command_line_argument=yes
   10015 else
   10016   xorg_cv_cc_flag_unused_command_line_argument=no
   10017 fi
   10018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10019 fi
   10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10023 	CFLAGS="$xorg_testset_save_CFLAGS"
   10024 fi
   10025 
   10026 found="no"
   10027 
   10028 	if test $found = "no" ; then
   10029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10031 		fi
   10032 
   10033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10035 		fi
   10036 
   10037 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10038 
   10039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10040 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10041 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10042 		if eval \${$cacheid+:} false; then :
   10043   $as_echo_n "(cached) " >&6
   10044 else
   10045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10046 /* end confdefs.h.  */
   10047 int i;
   10048 int
   10049 main ()
   10050 {
   10051 
   10052   ;
   10053   return 0;
   10054 }
   10055 _ACEOF
   10056 if ac_fn_c_try_link "$LINENO"; then :
   10057   eval $cacheid=yes
   10058 else
   10059   eval $cacheid=no
   10060 fi
   10061 rm -f core conftest.err conftest.$ac_objext \
   10062     conftest$ac_exeext conftest.$ac_ext
   10063 fi
   10064 
   10065 
   10066 		CFLAGS="$xorg_testset_save_CFLAGS"
   10067 
   10068 		eval supported=\$$cacheid
   10069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10070 $as_echo "$supported" >&6; }
   10071 		if test "$supported" = "yes" ; then
   10072 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10073 			found="yes"
   10074 		fi
   10075 	fi
   10076 
   10077 
   10078 fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 		CWARNFLAGS="$BASE_CFLAGS"
   10087 		if  test "x$GCC" = xyes ; then
   10088 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10089 		fi
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 # Check whether --enable-strict-compilation was given.
   10099 if test "${enable_strict_compilation+set}" = set; then :
   10100   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10101 else
   10102   STRICT_COMPILE=no
   10103 fi
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 STRICT_CFLAGS=""
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 xorg_testset_save_CFLAGS="$CFLAGS"
   10125 
   10126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10131   $as_echo_n "(cached) " >&6
   10132 else
   10133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10134 /* end confdefs.h.  */
   10135 int i;
   10136 _ACEOF
   10137 if ac_fn_c_try_compile "$LINENO"; then :
   10138   xorg_cv_cc_flag_unknown_warning_option=yes
   10139 else
   10140   xorg_cv_cc_flag_unknown_warning_option=no
   10141 fi
   10142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10143 fi
   10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10147 	CFLAGS="$xorg_testset_save_CFLAGS"
   10148 fi
   10149 
   10150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 	fi
   10154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10158   $as_echo_n "(cached) " >&6
   10159 else
   10160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10161 /* end confdefs.h.  */
   10162 int i;
   10163 _ACEOF
   10164 if ac_fn_c_try_compile "$LINENO"; then :
   10165   xorg_cv_cc_flag_unused_command_line_argument=yes
   10166 else
   10167   xorg_cv_cc_flag_unused_command_line_argument=no
   10168 fi
   10169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10170 fi
   10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10174 	CFLAGS="$xorg_testset_save_CFLAGS"
   10175 fi
   10176 
   10177 found="no"
   10178 
   10179 	if test $found = "no" ; then
   10180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 		fi
   10183 
   10184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10186 		fi
   10187 
   10188 		CFLAGS="$CFLAGS -pedantic"
   10189 
   10190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10191 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10192 		cacheid=xorg_cv_cc_flag__pedantic
   10193 		if eval \${$cacheid+:} false; then :
   10194   $as_echo_n "(cached) " >&6
   10195 else
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 int
   10200 main ()
   10201 {
   10202 
   10203   ;
   10204   return 0;
   10205 }
   10206 _ACEOF
   10207 if ac_fn_c_try_link "$LINENO"; then :
   10208   eval $cacheid=yes
   10209 else
   10210   eval $cacheid=no
   10211 fi
   10212 rm -f core conftest.err conftest.$ac_objext \
   10213     conftest$ac_exeext conftest.$ac_ext
   10214 fi
   10215 
   10216 
   10217 		CFLAGS="$xorg_testset_save_CFLAGS"
   10218 
   10219 		eval supported=\$$cacheid
   10220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10221 $as_echo "$supported" >&6; }
   10222 		if test "$supported" = "yes" ; then
   10223 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10224 			found="yes"
   10225 		fi
   10226 	fi
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 xorg_testset_save_CFLAGS="$CFLAGS"
   10243 
   10244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10249   $as_echo_n "(cached) " >&6
   10250 else
   10251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10252 /* end confdefs.h.  */
   10253 int i;
   10254 _ACEOF
   10255 if ac_fn_c_try_compile "$LINENO"; then :
   10256   xorg_cv_cc_flag_unknown_warning_option=yes
   10257 else
   10258   xorg_cv_cc_flag_unknown_warning_option=no
   10259 fi
   10260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10261 fi
   10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10265 	CFLAGS="$xorg_testset_save_CFLAGS"
   10266 fi
   10267 
   10268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10271 	fi
   10272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10276   $as_echo_n "(cached) " >&6
   10277 else
   10278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10279 /* end confdefs.h.  */
   10280 int i;
   10281 _ACEOF
   10282 if ac_fn_c_try_compile "$LINENO"; then :
   10283   xorg_cv_cc_flag_unused_command_line_argument=yes
   10284 else
   10285   xorg_cv_cc_flag_unused_command_line_argument=no
   10286 fi
   10287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10288 fi
   10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10292 	CFLAGS="$xorg_testset_save_CFLAGS"
   10293 fi
   10294 
   10295 found="no"
   10296 
   10297 	if test $found = "no" ; then
   10298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10300 		fi
   10301 
   10302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10304 		fi
   10305 
   10306 		CFLAGS="$CFLAGS -Werror"
   10307 
   10308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10309 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10310 		cacheid=xorg_cv_cc_flag__Werror
   10311 		if eval \${$cacheid+:} false; then :
   10312   $as_echo_n "(cached) " >&6
   10313 else
   10314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10315 /* end confdefs.h.  */
   10316 int i;
   10317 int
   10318 main ()
   10319 {
   10320 
   10321   ;
   10322   return 0;
   10323 }
   10324 _ACEOF
   10325 if ac_fn_c_try_link "$LINENO"; then :
   10326   eval $cacheid=yes
   10327 else
   10328   eval $cacheid=no
   10329 fi
   10330 rm -f core conftest.err conftest.$ac_objext \
   10331     conftest$ac_exeext conftest.$ac_ext
   10332 fi
   10333 
   10334 
   10335 		CFLAGS="$xorg_testset_save_CFLAGS"
   10336 
   10337 		eval supported=\$$cacheid
   10338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10339 $as_echo "$supported" >&6; }
   10340 		if test "$supported" = "yes" ; then
   10341 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10342 			found="yes"
   10343 		fi
   10344 	fi
   10345 
   10346 	if test $found = "no" ; then
   10347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10349 		fi
   10350 
   10351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10353 		fi
   10354 
   10355 		CFLAGS="$CFLAGS -errwarn"
   10356 
   10357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10358 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10359 		cacheid=xorg_cv_cc_flag__errwarn
   10360 		if eval \${$cacheid+:} false; then :
   10361   $as_echo_n "(cached) " >&6
   10362 else
   10363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10364 /* end confdefs.h.  */
   10365 int i;
   10366 int
   10367 main ()
   10368 {
   10369 
   10370   ;
   10371   return 0;
   10372 }
   10373 _ACEOF
   10374 if ac_fn_c_try_link "$LINENO"; then :
   10375   eval $cacheid=yes
   10376 else
   10377   eval $cacheid=no
   10378 fi
   10379 rm -f core conftest.err conftest.$ac_objext \
   10380     conftest$ac_exeext conftest.$ac_ext
   10381 fi
   10382 
   10383 
   10384 		CFLAGS="$xorg_testset_save_CFLAGS"
   10385 
   10386 		eval supported=\$$cacheid
   10387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10388 $as_echo "$supported" >&6; }
   10389 		if test "$supported" = "yes" ; then
   10390 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10391 			found="yes"
   10392 		fi
   10393 	fi
   10394 
   10395 
   10396 
   10397 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10398 # activate it with -Werror, so we add it here explicitly.
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 xorg_testset_save_CFLAGS="$CFLAGS"
   10413 
   10414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10419   $as_echo_n "(cached) " >&6
   10420 else
   10421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10422 /* end confdefs.h.  */
   10423 int i;
   10424 _ACEOF
   10425 if ac_fn_c_try_compile "$LINENO"; then :
   10426   xorg_cv_cc_flag_unknown_warning_option=yes
   10427 else
   10428   xorg_cv_cc_flag_unknown_warning_option=no
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10431 fi
   10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10435 	CFLAGS="$xorg_testset_save_CFLAGS"
   10436 fi
   10437 
   10438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10441 	fi
   10442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 _ACEOF
   10452 if ac_fn_c_try_compile "$LINENO"; then :
   10453   xorg_cv_cc_flag_unused_command_line_argument=yes
   10454 else
   10455   xorg_cv_cc_flag_unused_command_line_argument=no
   10456 fi
   10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10458 fi
   10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10462 	CFLAGS="$xorg_testset_save_CFLAGS"
   10463 fi
   10464 
   10465 found="no"
   10466 
   10467 	if test $found = "no" ; then
   10468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 		fi
   10471 
   10472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10474 		fi
   10475 
   10476 		CFLAGS="$CFLAGS -Werror=attributes"
   10477 
   10478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10479 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10480 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10481 		if eval \${$cacheid+:} false; then :
   10482   $as_echo_n "(cached) " >&6
   10483 else
   10484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 int i;
   10487 int
   10488 main ()
   10489 {
   10490 
   10491   ;
   10492   return 0;
   10493 }
   10494 _ACEOF
   10495 if ac_fn_c_try_link "$LINENO"; then :
   10496   eval $cacheid=yes
   10497 else
   10498   eval $cacheid=no
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext \
   10501     conftest$ac_exeext conftest.$ac_ext
   10502 fi
   10503 
   10504 
   10505 		CFLAGS="$xorg_testset_save_CFLAGS"
   10506 
   10507 		eval supported=\$$cacheid
   10508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10509 $as_echo "$supported" >&6; }
   10510 		if test "$supported" = "yes" ; then
   10511 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10512 			found="yes"
   10513 		fi
   10514 	fi
   10515 
   10516 
   10517 
   10518 if test "x$STRICT_COMPILE" = "xyes"; then
   10519     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10520     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10521 fi
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 cat >>confdefs.h <<_ACEOF
   10529 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10530 _ACEOF
   10531 
   10532 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10533 	if test "x$PVM" = "x"; then
   10534 		PVM="0"
   10535 	fi
   10536 
   10537 cat >>confdefs.h <<_ACEOF
   10538 #define PACKAGE_VERSION_MINOR $PVM
   10539 _ACEOF
   10540 
   10541 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10542 	if test "x$PVP" = "x"; then
   10543 		PVP="0"
   10544 	fi
   10545 
   10546 cat >>confdefs.h <<_ACEOF
   10547 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10548 _ACEOF
   10549 
   10550 
   10551 
   10552 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10553 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10554 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10555 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10556 
   10557 
   10558 
   10559 
   10560 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10561 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10562 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10563 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10564 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 if test x$APP_MAN_SUFFIX = x    ; then
   10572     APP_MAN_SUFFIX=1
   10573 fi
   10574 if test x$APP_MAN_DIR = x    ; then
   10575     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10576 fi
   10577 
   10578 if test x$LIB_MAN_SUFFIX = x    ; then
   10579     LIB_MAN_SUFFIX=3
   10580 fi
   10581 if test x$LIB_MAN_DIR = x    ; then
   10582     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10583 fi
   10584 
   10585 if test x$FILE_MAN_SUFFIX = x    ; then
   10586     case $host_os in
   10587 	# Solaris 2.0 - 11 use SysV man page sections
   10588 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10589 	*)				FILE_MAN_SUFFIX=5  ;;
   10590     esac
   10591 fi
   10592 if test x$FILE_MAN_DIR = x    ; then
   10593     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10594 fi
   10595 
   10596 if test x$MISC_MAN_SUFFIX = x    ; then
   10597     case $host_os in
   10598 	# Solaris 2.0 - 11 use SysV man page sections
   10599 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10600 	*)				MISC_MAN_SUFFIX=7  ;;
   10601     esac
   10602 fi
   10603 if test x$MISC_MAN_DIR = x    ; then
   10604     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10605 fi
   10606 
   10607 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10608     case $host_os in
   10609 	# Solaris 2.0 - 11 use SysV man page sections
   10610 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10611 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10612     esac
   10613 fi
   10614 if test x$DRIVER_MAN_DIR = x    ; then
   10615     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10616 fi
   10617 
   10618 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10619     case $host_os in
   10620 	# Solaris 2.0 - 11 use SysV man page sections
   10621 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10622 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10623     esac
   10624 fi
   10625 if test x$ADMIN_MAN_DIR = x    ; then
   10626     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10627 fi
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 XORG_MAN_PAGE="X Version 11"
   10644 
   10645 MAN_SUBSTS="\
   10646 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10647 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10648 	-e 's|__xservername__|Xorg|g' \
   10649 	-e 's|__xconfigfile__|xorg.conf|g' \
   10650 	-e 's|__projectroot__|\$(prefix)|g' \
   10651 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10652 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10653 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10654 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10655 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10656 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10657 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10658 
   10659 
   10660 
   10661 # Check whether --enable-silent-rules was given.
   10662 if test "${enable_silent_rules+set}" = set; then :
   10663   enableval=$enable_silent_rules;
   10664 fi
   10665 
   10666 case $enable_silent_rules in # (((
   10667   yes) AM_DEFAULT_VERBOSITY=0;;
   10668    no) AM_DEFAULT_VERBOSITY=1;;
   10669     *) AM_DEFAULT_VERBOSITY=0;;
   10670 esac
   10671 am_make=${MAKE-make}
   10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10673 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10674 if ${am_cv_make_support_nested_variables+:} false; then :
   10675   $as_echo_n "(cached) " >&6
   10676 else
   10677   if $as_echo 'TRUE=$(BAR$(V))
   10678 BAR0=false
   10679 BAR1=true
   10680 V=1
   10681 am__doit:
   10682 	@$(TRUE)
   10683 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10684   am_cv_make_support_nested_variables=yes
   10685 else
   10686   am_cv_make_support_nested_variables=no
   10687 fi
   10688 fi
   10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10690 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10691 if test $am_cv_make_support_nested_variables = yes; then
   10692     AM_V='$(V)'
   10693   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10694 else
   10695   AM_V=$AM_DEFAULT_VERBOSITY
   10696   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10697 fi
   10698 AM_BACKSLASH='\'
   10699 
   10700 
   10701 
   10702 # Checks for pkg-config packages
   10703 
   10704 pkg_failed=no
   10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XBIFF" >&5
   10706 $as_echo_n "checking for XBIFF... " >&6; }
   10707 
   10708 if test -n "$XBIFF_CFLAGS"; then
   10709     pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS"
   10710  elif test -n "$PKG_CONFIG"; then
   10711     if test -n "$PKG_CONFIG" && \
   10712     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5
   10713   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5
   10714   ac_status=$?
   10715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10716   test $ac_status = 0; }; then
   10717   pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xbitmaps xext x11" 2>/dev/null`
   10718 		      test "x$?" != "x0" && pkg_failed=yes
   10719 else
   10720   pkg_failed=yes
   10721 fi
   10722  else
   10723     pkg_failed=untried
   10724 fi
   10725 if test -n "$XBIFF_LIBS"; then
   10726     pkg_cv_XBIFF_LIBS="$XBIFF_LIBS"
   10727  elif test -n "$PKG_CONFIG"; then
   10728     if test -n "$PKG_CONFIG" && \
   10729     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5
   10730   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5
   10731   ac_status=$?
   10732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10733   test $ac_status = 0; }; then
   10734   pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xbitmaps xext x11" 2>/dev/null`
   10735 		      test "x$?" != "x0" && pkg_failed=yes
   10736 else
   10737   pkg_failed=yes
   10738 fi
   10739  else
   10740     pkg_failed=untried
   10741 fi
   10742 
   10743 
   10744 
   10745 if test $pkg_failed = yes; then
   10746    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10747 $as_echo "no" >&6; }
   10748 
   10749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10750         _pkg_short_errors_supported=yes
   10751 else
   10752         _pkg_short_errors_supported=no
   10753 fi
   10754         if test $_pkg_short_errors_supported = yes; then
   10755 	        XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xbitmaps xext x11" 2>&1`
   10756         else
   10757 	        XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xbitmaps xext x11" 2>&1`
   10758         fi
   10759 	# Put the nasty error message in config.log where it belongs
   10760 	echo "$XBIFF_PKG_ERRORS" >&5
   10761 
   10762 	as_fn_error $? "Package requirements (xaw7 xmu xbitmaps xext x11) were not met:
   10763 
   10764 $XBIFF_PKG_ERRORS
   10765 
   10766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10767 installed software in a non-standard prefix.
   10768 
   10769 Alternatively, you may set the environment variables XBIFF_CFLAGS
   10770 and XBIFF_LIBS to avoid the need to call pkg-config.
   10771 See the pkg-config man page for more details." "$LINENO" 5
   10772 elif test $pkg_failed = untried; then
   10773      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10774 $as_echo "no" >&6; }
   10775 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10777 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10778 is in your PATH or set the PKG_CONFIG environment variable to the full
   10779 path to pkg-config.
   10780 
   10781 Alternatively, you may set the environment variables XBIFF_CFLAGS
   10782 and XBIFF_LIBS to avoid the need to call pkg-config.
   10783 See the pkg-config man page for more details.
   10784 
   10785 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10786 See \`config.log' for more details" "$LINENO" 5; }
   10787 else
   10788 	XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS
   10789 	XBIFF_LIBS=$pkg_cv_XBIFF_LIBS
   10790         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10791 $as_echo "yes" >&6; }
   10792 
   10793 fi
   10794 
   10795 # Checks for headers
   10796 for ac_header in paths.h
   10797 do :
   10798   ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
   10799 if test "x$ac_cv_header_paths_h" = xyes; then :
   10800   cat >>confdefs.h <<_ACEOF
   10801 #define HAVE_PATHS_H 1
   10802 _ACEOF
   10803 
   10804 fi
   10805 
   10806 done
   10807 
   10808 
   10809 # Allow builder to set path to look for mailboxes
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mailbox directory" >&5
   10811 $as_echo_n "checking for mailbox directory... " >&6; }
   10812 
   10813 # Check whether --with-mailbox-directory was given.
   10814 if test "${with_mailbox_directory+set}" = set; then :
   10815   withval=$with_mailbox_directory; mailbox_directory=$with_mailbox_directory
   10816 fi
   10817 
   10818 
   10819 if test "x$mailbox_directory" != "x"; then
   10820 
   10821 cat >>confdefs.h <<_ACEOF
   10822 #define MAILBOX_DIRECTORY "$mailbox_directory"
   10823 _ACEOF
   10824 
   10825    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailbox_directory" >&5
   10826 $as_echo "$mailbox_directory" >&6; }
   10827 else
   10828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
   10829 $as_echo "not set" >&6; }
   10830 fi
   10831 
   10832 ac_config_files="$ac_config_files Makefile man/Makefile"
   10833 
   10834 cat >confcache <<\_ACEOF
   10835 # This file is a shell script that caches the results of configure
   10836 # tests run on this system so they can be shared between configure
   10837 # scripts and configure runs, see configure's option --config-cache.
   10838 # It is not useful on other systems.  If it contains results you don't
   10839 # want to keep, you may remove or edit it.
   10840 #
   10841 # config.status only pays attention to the cache file if you give it
   10842 # the --recheck option to rerun configure.
   10843 #
   10844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10846 # following values.
   10847 
   10848 _ACEOF
   10849 
   10850 # The following way of writing the cache mishandles newlines in values,
   10851 # but we know of no workaround that is simple, portable, and efficient.
   10852 # So, we kill variables containing newlines.
   10853 # Ultrix sh set writes to stderr and can't be redirected directly,
   10854 # and sets the high bit in the cache file unless we assign to the vars.
   10855 (
   10856   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10857     eval ac_val=\$$ac_var
   10858     case $ac_val in #(
   10859     *${as_nl}*)
   10860       case $ac_var in #(
   10861       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10863       esac
   10864       case $ac_var in #(
   10865       _ | IFS | as_nl) ;; #(
   10866       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10867       *) { eval $ac_var=; unset $ac_var;} ;;
   10868       esac ;;
   10869     esac
   10870   done
   10871 
   10872   (set) 2>&1 |
   10873     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10874     *${as_nl}ac_space=\ *)
   10875       # `set' does not quote correctly, so add quotes: double-quote
   10876       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10877       sed -n \
   10878 	"s/'/'\\\\''/g;
   10879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10880       ;; #(
   10881     *)
   10882       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10883       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10884       ;;
   10885     esac |
   10886     sort
   10887 ) |
   10888   sed '
   10889      /^ac_cv_env_/b end
   10890      t clear
   10891      :clear
   10892      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10893      t end
   10894      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10895      :end' >>confcache
   10896 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10897   if test -w "$cache_file"; then
   10898     if test "x$cache_file" != "x/dev/null"; then
   10899       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10900 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10901       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10902 	cat confcache >"$cache_file"
   10903       else
   10904         case $cache_file in #(
   10905         */* | ?:*)
   10906 	  mv -f confcache "$cache_file"$$ &&
   10907 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10908         *)
   10909 	  mv -f confcache "$cache_file" ;;
   10910 	esac
   10911       fi
   10912     fi
   10913   else
   10914     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10915 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10916   fi
   10917 fi
   10918 rm -f confcache
   10919 
   10920 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10921 # Let make expand exec_prefix.
   10922 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10923 
   10924 DEFS=-DHAVE_CONFIG_H
   10925 
   10926 ac_libobjs=
   10927 ac_ltlibobjs=
   10928 U=
   10929 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10930   # 1. Remove the extension, and $U if already installed.
   10931   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10932   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10933   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10934   #    will be set to the directory where LIBOBJS objects are built.
   10935   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10936   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10937 done
   10938 LIBOBJS=$ac_libobjs
   10939 
   10940 LTLIBOBJS=$ac_ltlibobjs
   10941 
   10942 
   10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10944 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10945    if test -n "$am_sleep_pid"; then
   10946      # Hide warnings about reused PIDs.
   10947      wait $am_sleep_pid 2>/dev/null
   10948    fi
   10949    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10950 $as_echo "done" >&6; }
   10951  if test -n "$EXEEXT"; then
   10952   am__EXEEXT_TRUE=
   10953   am__EXEEXT_FALSE='#'
   10954 else
   10955   am__EXEEXT_TRUE='#'
   10956   am__EXEEXT_FALSE=
   10957 fi
   10958 
   10959 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10960   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10962 fi
   10963 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10964   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10966 fi
   10967 
   10968 : "${CONFIG_STATUS=./config.status}"
   10969 ac_write_fail=0
   10970 ac_clean_files_save=$ac_clean_files
   10971 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10973 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10974 as_write_fail=0
   10975 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10976 #! $SHELL
   10977 # Generated by $as_me.
   10978 # Run this file to recreate the current configuration.
   10979 # Compiler output produced by configure, useful for debugging
   10980 # configure, is in config.log if it exists.
   10981 
   10982 debug=false
   10983 ac_cs_recheck=false
   10984 ac_cs_silent=false
   10985 
   10986 SHELL=\${CONFIG_SHELL-$SHELL}
   10987 export SHELL
   10988 _ASEOF
   10989 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10990 ## -------------------- ##
   10991 ## M4sh Initialization. ##
   10992 ## -------------------- ##
   10993 
   10994 # Be more Bourne compatible
   10995 DUALCASE=1; export DUALCASE # for MKS sh
   10996 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10997   emulate sh
   10998   NULLCMD=:
   10999   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11000   # is contrary to our usage.  Disable this feature.
   11001   alias -g '${1+"$@"}'='"$@"'
   11002   setopt NO_GLOB_SUBST
   11003 else
   11004   case `(set -o) 2>/dev/null` in #(
   11005   *posix*) :
   11006     set -o posix ;; #(
   11007   *) :
   11008      ;;
   11009 esac
   11010 fi
   11011 
   11012 
   11013 as_nl='
   11014 '
   11015 export as_nl
   11016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11017 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11020 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11021 # but without wasting forks for bash or zsh.
   11022 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11023     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11024   as_echo='print -r --'
   11025   as_echo_n='print -rn --'
   11026 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11027   as_echo='printf %s\n'
   11028   as_echo_n='printf %s'
   11029 else
   11030   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11031     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11032     as_echo_n='/usr/ucb/echo -n'
   11033   else
   11034     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11035     as_echo_n_body='eval
   11036       arg=$1;
   11037       case $arg in #(
   11038       *"$as_nl"*)
   11039 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11040 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11041       esac;
   11042       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11043     '
   11044     export as_echo_n_body
   11045     as_echo_n='sh -c $as_echo_n_body as_echo'
   11046   fi
   11047   export as_echo_body
   11048   as_echo='sh -c $as_echo_body as_echo'
   11049 fi
   11050 
   11051 # The user is always right.
   11052 if test "${PATH_SEPARATOR+set}" != set; then
   11053   PATH_SEPARATOR=:
   11054   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11055     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11056       PATH_SEPARATOR=';'
   11057   }
   11058 fi
   11059 
   11060 
   11061 # IFS
   11062 # We need space, tab and new line, in precisely that order.  Quoting is
   11063 # there to prevent editors from complaining about space-tab.
   11064 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11065 # splitting by setting IFS to empty value.)
   11066 IFS=" ""	$as_nl"
   11067 
   11068 # Find who we are.  Look in the path if we contain no directory separator.
   11069 as_myself=
   11070 case $0 in #((
   11071   *[\\/]* ) as_myself=$0 ;;
   11072   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11073 for as_dir in $PATH
   11074 do
   11075   IFS=$as_save_IFS
   11076   test -z "$as_dir" && as_dir=.
   11077     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11078   done
   11079 IFS=$as_save_IFS
   11080 
   11081      ;;
   11082 esac
   11083 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11084 # in which case we are not to be found in the path.
   11085 if test "x$as_myself" = x; then
   11086   as_myself=$0
   11087 fi
   11088 if test ! -f "$as_myself"; then
   11089   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11090   exit 1
   11091 fi
   11092 
   11093 # Unset variables that we do not need and which cause bugs (e.g. in
   11094 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11095 # suppresses any "Segmentation fault" message there.  '((' could
   11096 # trigger a bug in pdksh 5.2.14.
   11097 for as_var in BASH_ENV ENV MAIL MAILPATH
   11098 do eval test x\${$as_var+set} = xset \
   11099   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11100 done
   11101 PS1='$ '
   11102 PS2='> '
   11103 PS4='+ '
   11104 
   11105 # NLS nuisances.
   11106 LC_ALL=C
   11107 export LC_ALL
   11108 LANGUAGE=C
   11109 export LANGUAGE
   11110 
   11111 # CDPATH.
   11112 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11113 
   11114 
   11115 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11116 # ----------------------------------------
   11117 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11118 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11119 # script with STATUS, using 1 if that was 0.
   11120 as_fn_error ()
   11121 {
   11122   as_status=$1; test $as_status -eq 0 && as_status=1
   11123   if test "$4"; then
   11124     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11125     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11126   fi
   11127   $as_echo "$as_me: error: $2" >&2
   11128   as_fn_exit $as_status
   11129 } # as_fn_error
   11130 
   11131 
   11132 # as_fn_set_status STATUS
   11133 # -----------------------
   11134 # Set $? to STATUS, without forking.
   11135 as_fn_set_status ()
   11136 {
   11137   return $1
   11138 } # as_fn_set_status
   11139 
   11140 # as_fn_exit STATUS
   11141 # -----------------
   11142 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11143 as_fn_exit ()
   11144 {
   11145   set +e
   11146   as_fn_set_status $1
   11147   exit $1
   11148 } # as_fn_exit
   11149 
   11150 # as_fn_unset VAR
   11151 # ---------------
   11152 # Portably unset VAR.
   11153 as_fn_unset ()
   11154 {
   11155   { eval $1=; unset $1;}
   11156 }
   11157 as_unset=as_fn_unset
   11158 # as_fn_append VAR VALUE
   11159 # ----------------------
   11160 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11161 # advantage of any shell optimizations that allow amortized linear growth over
   11162 # repeated appends, instead of the typical quadratic growth present in naive
   11163 # implementations.
   11164 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11165   eval 'as_fn_append ()
   11166   {
   11167     eval $1+=\$2
   11168   }'
   11169 else
   11170   as_fn_append ()
   11171   {
   11172     eval $1=\$$1\$2
   11173   }
   11174 fi # as_fn_append
   11175 
   11176 # as_fn_arith ARG...
   11177 # ------------------
   11178 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11179 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11180 # must be portable across $(()) and expr.
   11181 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11182   eval 'as_fn_arith ()
   11183   {
   11184     as_val=$(( $* ))
   11185   }'
   11186 else
   11187   as_fn_arith ()
   11188   {
   11189     as_val=`expr "$@" || test $? -eq 1`
   11190   }
   11191 fi # as_fn_arith
   11192 
   11193 
   11194 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11195    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11196   as_expr=expr
   11197 else
   11198   as_expr=false
   11199 fi
   11200 
   11201 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11202   as_basename=basename
   11203 else
   11204   as_basename=false
   11205 fi
   11206 
   11207 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11208   as_dirname=dirname
   11209 else
   11210   as_dirname=false
   11211 fi
   11212 
   11213 as_me=`$as_basename -- "$0" ||
   11214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11215 	 X"$0" : 'X\(//\)$' \| \
   11216 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11217 $as_echo X/"$0" |
   11218     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11219 	    s//\1/
   11220 	    q
   11221 	  }
   11222 	  /^X\/\(\/\/\)$/{
   11223 	    s//\1/
   11224 	    q
   11225 	  }
   11226 	  /^X\/\(\/\).*/{
   11227 	    s//\1/
   11228 	    q
   11229 	  }
   11230 	  s/.*/./; q'`
   11231 
   11232 # Avoid depending upon Character Ranges.
   11233 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11234 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11235 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11236 as_cr_digits='0123456789'
   11237 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11238 
   11239 ECHO_C= ECHO_N= ECHO_T=
   11240 case `echo -n x` in #(((((
   11241 -n*)
   11242   case `echo 'xy\c'` in
   11243   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11244   xy)  ECHO_C='\c';;
   11245   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11246        ECHO_T='	';;
   11247   esac;;
   11248 *)
   11249   ECHO_N='-n';;
   11250 esac
   11251 
   11252 rm -f conf$$ conf$$.exe conf$$.file
   11253 if test -d conf$$.dir; then
   11254   rm -f conf$$.dir/conf$$.file
   11255 else
   11256   rm -f conf$$.dir
   11257   mkdir conf$$.dir 2>/dev/null
   11258 fi
   11259 if (echo >conf$$.file) 2>/dev/null; then
   11260   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11261     as_ln_s='ln -s'
   11262     # ... but there are two gotchas:
   11263     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11264     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11265     # In both cases, we have to default to `cp -pR'.
   11266     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11267       as_ln_s='cp -pR'
   11268   elif ln conf$$.file conf$$ 2>/dev/null; then
   11269     as_ln_s=ln
   11270   else
   11271     as_ln_s='cp -pR'
   11272   fi
   11273 else
   11274   as_ln_s='cp -pR'
   11275 fi
   11276 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11277 rmdir conf$$.dir 2>/dev/null
   11278 
   11279 
   11280 # as_fn_mkdir_p
   11281 # -------------
   11282 # Create "$as_dir" as a directory, including parents if necessary.
   11283 as_fn_mkdir_p ()
   11284 {
   11285 
   11286   case $as_dir in #(
   11287   -*) as_dir=./$as_dir;;
   11288   esac
   11289   test -d "$as_dir" || eval $as_mkdir_p || {
   11290     as_dirs=
   11291     while :; do
   11292       case $as_dir in #(
   11293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11294       *) as_qdir=$as_dir;;
   11295       esac
   11296       as_dirs="'$as_qdir' $as_dirs"
   11297       as_dir=`$as_dirname -- "$as_dir" ||
   11298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11300 	 X"$as_dir" : 'X\(//\)$' \| \
   11301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11302 $as_echo X"$as_dir" |
   11303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11304 	    s//\1/
   11305 	    q
   11306 	  }
   11307 	  /^X\(\/\/\)[^/].*/{
   11308 	    s//\1/
   11309 	    q
   11310 	  }
   11311 	  /^X\(\/\/\)$/{
   11312 	    s//\1/
   11313 	    q
   11314 	  }
   11315 	  /^X\(\/\).*/{
   11316 	    s//\1/
   11317 	    q
   11318 	  }
   11319 	  s/.*/./; q'`
   11320       test -d "$as_dir" && break
   11321     done
   11322     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11324 
   11325 
   11326 } # as_fn_mkdir_p
   11327 if mkdir -p . 2>/dev/null; then
   11328   as_mkdir_p='mkdir -p "$as_dir"'
   11329 else
   11330   test -d ./-p && rmdir ./-p
   11331   as_mkdir_p=false
   11332 fi
   11333 
   11334 
   11335 # as_fn_executable_p FILE
   11336 # -----------------------
   11337 # Test if FILE is an executable regular file.
   11338 as_fn_executable_p ()
   11339 {
   11340   test -f "$1" && test -x "$1"
   11341 } # as_fn_executable_p
   11342 as_test_x='test -x'
   11343 as_executable_p=as_fn_executable_p
   11344 
   11345 # Sed expression to map a string onto a valid CPP name.
   11346 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11347 
   11348 # Sed expression to map a string onto a valid variable name.
   11349 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11350 
   11351 
   11352 exec 6>&1
   11353 ## ----------------------------------- ##
   11354 ## Main body of $CONFIG_STATUS script. ##
   11355 ## ----------------------------------- ##
   11356 _ASEOF
   11357 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11358 
   11359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11360 # Save the log message, to keep $0 and so on meaningful, and to
   11361 # report actual input values of CONFIG_FILES etc. instead of their
   11362 # values after options handling.
   11363 ac_log="
   11364 This file was extended by xbiff $as_me 1.0.4, which was
   11365 generated by GNU Autoconf 2.69.  Invocation command line was
   11366 
   11367   CONFIG_FILES    = $CONFIG_FILES
   11368   CONFIG_HEADERS  = $CONFIG_HEADERS
   11369   CONFIG_LINKS    = $CONFIG_LINKS
   11370   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11371   $ $0 $@
   11372 
   11373 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11374 "
   11375 
   11376 _ACEOF
   11377 
   11378 case $ac_config_files in *"
   11379 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11380 esac
   11381 
   11382 case $ac_config_headers in *"
   11383 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11384 esac
   11385 
   11386 
   11387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11388 # Files that config.status was made for.
   11389 config_files="$ac_config_files"
   11390 config_headers="$ac_config_headers"
   11391 config_commands="$ac_config_commands"
   11392 
   11393 _ACEOF
   11394 
   11395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11396 ac_cs_usage="\
   11397 \`$as_me' instantiates files and other configuration actions
   11398 from templates according to the current configuration.  Unless the files
   11399 and actions are specified as TAGs, all are instantiated by default.
   11400 
   11401 Usage: $0 [OPTION]... [TAG]...
   11402 
   11403   -h, --help       print this help, then exit
   11404   -V, --version    print version number and configuration settings, then exit
   11405       --config     print configuration, then exit
   11406   -q, --quiet, --silent
   11407                    do not print progress messages
   11408   -d, --debug      don't remove temporary files
   11409       --recheck    update $as_me by reconfiguring in the same conditions
   11410       --file=FILE[:TEMPLATE]
   11411                    instantiate the configuration file FILE
   11412       --header=FILE[:TEMPLATE]
   11413                    instantiate the configuration header FILE
   11414 
   11415 Configuration files:
   11416 $config_files
   11417 
   11418 Configuration headers:
   11419 $config_headers
   11420 
   11421 Configuration commands:
   11422 $config_commands
   11423 
   11424 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/issues>."
   11425 
   11426 _ACEOF
   11427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11428 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11429 ac_cs_version="\\
   11430 xbiff config.status 1.0.4
   11431 configured by $0, generated by GNU Autoconf 2.69,
   11432   with options \\"\$ac_cs_config\\"
   11433 
   11434 Copyright (C) 2012 Free Software Foundation, Inc.
   11435 This config.status script is free software; the Free Software Foundation
   11436 gives unlimited permission to copy, distribute and modify it."
   11437 
   11438 ac_pwd='$ac_pwd'
   11439 srcdir='$srcdir'
   11440 INSTALL='$INSTALL'
   11441 MKDIR_P='$MKDIR_P'
   11442 AWK='$AWK'
   11443 test -n "\$AWK" || AWK=awk
   11444 _ACEOF
   11445 
   11446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11447 # The default lists apply if the user does not specify any file.
   11448 ac_need_defaults=:
   11449 while test $# != 0
   11450 do
   11451   case $1 in
   11452   --*=?*)
   11453     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11454     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11455     ac_shift=:
   11456     ;;
   11457   --*=)
   11458     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11459     ac_optarg=
   11460     ac_shift=:
   11461     ;;
   11462   *)
   11463     ac_option=$1
   11464     ac_optarg=$2
   11465     ac_shift=shift
   11466     ;;
   11467   esac
   11468 
   11469   case $ac_option in
   11470   # Handling of the options.
   11471   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11472     ac_cs_recheck=: ;;
   11473   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11474     $as_echo "$ac_cs_version"; exit ;;
   11475   --config | --confi | --conf | --con | --co | --c )
   11476     $as_echo "$ac_cs_config"; exit ;;
   11477   --debug | --debu | --deb | --de | --d | -d )
   11478     debug=: ;;
   11479   --file | --fil | --fi | --f )
   11480     $ac_shift
   11481     case $ac_optarg in
   11482     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11483     '') as_fn_error $? "missing file argument" ;;
   11484     esac
   11485     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11486     ac_need_defaults=false;;
   11487   --header | --heade | --head | --hea )
   11488     $ac_shift
   11489     case $ac_optarg in
   11490     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11491     esac
   11492     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11493     ac_need_defaults=false;;
   11494   --he | --h)
   11495     # Conflict between --help and --header
   11496     as_fn_error $? "ambiguous option: \`$1'
   11497 Try \`$0 --help' for more information.";;
   11498   --help | --hel | -h )
   11499     $as_echo "$ac_cs_usage"; exit ;;
   11500   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11501   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11502     ac_cs_silent=: ;;
   11503 
   11504   # This is an error.
   11505   -*) as_fn_error $? "unrecognized option: \`$1'
   11506 Try \`$0 --help' for more information." ;;
   11507 
   11508   *) as_fn_append ac_config_targets " $1"
   11509      ac_need_defaults=false ;;
   11510 
   11511   esac
   11512   shift
   11513 done
   11514 
   11515 ac_configure_extra_args=
   11516 
   11517 if $ac_cs_silent; then
   11518   exec 6>/dev/null
   11519   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11520 fi
   11521 
   11522 _ACEOF
   11523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11524 if \$ac_cs_recheck; then
   11525   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11526   shift
   11527   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11528   CONFIG_SHELL='$SHELL'
   11529   export CONFIG_SHELL
   11530   exec "\$@"
   11531 fi
   11532 
   11533 _ACEOF
   11534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11535 exec 5>>config.log
   11536 {
   11537   echo
   11538   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11539 ## Running $as_me. ##
   11540 _ASBOX
   11541   $as_echo "$ac_log"
   11542 } >&5
   11543 
   11544 _ACEOF
   11545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11546 #
   11547 # INIT-COMMANDS
   11548 #
   11549 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11550 
   11551 _ACEOF
   11552 
   11553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11554 
   11555 # Handling of arguments.
   11556 for ac_config_target in $ac_config_targets
   11557 do
   11558   case $ac_config_target in
   11559     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11560     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11561     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11562     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11563 
   11564   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11565   esac
   11566 done
   11567 
   11568 
   11569 # If the user did not use the arguments to specify the items to instantiate,
   11570 # then the envvar interface is used.  Set only those that are not.
   11571 # We use the long form for the default assignment because of an extremely
   11572 # bizarre bug on SunOS 4.1.3.
   11573 if $ac_need_defaults; then
   11574   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11575   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11576   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11577 fi
   11578 
   11579 # Have a temporary directory for convenience.  Make it in the build tree
   11580 # simply because there is no reason against having it here, and in addition,
   11581 # creating and moving files from /tmp can sometimes cause problems.
   11582 # Hook for its removal unless debugging.
   11583 # Note that there is a small window in which the directory will not be cleaned:
   11584 # after its creation but before its name has been assigned to `$tmp'.
   11585 $debug ||
   11586 {
   11587   tmp= ac_tmp=
   11588   trap 'exit_status=$?
   11589   : "${ac_tmp:=$tmp}"
   11590   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11591 ' 0
   11592   trap 'as_fn_exit 1' 1 2 13 15
   11593 }
   11594 # Create a (secure) tmp directory for tmp files.
   11595 
   11596 {
   11597   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11598   test -d "$tmp"
   11599 }  ||
   11600 {
   11601   tmp=./conf$$-$RANDOM
   11602   (umask 077 && mkdir "$tmp")
   11603 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11604 ac_tmp=$tmp
   11605 
   11606 # Set up the scripts for CONFIG_FILES section.
   11607 # No need to generate them if there are no CONFIG_FILES.
   11608 # This happens for instance with `./config.status config.h'.
   11609 if test -n "$CONFIG_FILES"; then
   11610 
   11611 
   11612 ac_cr=`echo X | tr X '\015'`
   11613 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11614 # But we know of no other shell where ac_cr would be empty at this
   11615 # point, so we can use a bashism as a fallback.
   11616 if test "x$ac_cr" = x; then
   11617   eval ac_cr=\$\'\\r\'
   11618 fi
   11619 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11620 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11621   ac_cs_awk_cr='\\r'
   11622 else
   11623   ac_cs_awk_cr=$ac_cr
   11624 fi
   11625 
   11626 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11627 _ACEOF
   11628 
   11629 
   11630 {
   11631   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11632   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11633   echo "_ACEOF"
   11634 } >conf$$subs.sh ||
   11635   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11636 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11637 ac_delim='%!_!# '
   11638 for ac_last_try in false false false false false :; do
   11639   . ./conf$$subs.sh ||
   11640     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11641 
   11642   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11643   if test $ac_delim_n = $ac_delim_num; then
   11644     break
   11645   elif $ac_last_try; then
   11646     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11647   else
   11648     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11649   fi
   11650 done
   11651 rm -f conf$$subs.sh
   11652 
   11653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11654 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11655 _ACEOF
   11656 sed -n '
   11657 h
   11658 s/^/S["/; s/!.*/"]=/
   11659 p
   11660 g
   11661 s/^[^!]*!//
   11662 :repl
   11663 t repl
   11664 s/'"$ac_delim"'$//
   11665 t delim
   11666 :nl
   11667 h
   11668 s/\(.\{148\}\)..*/\1/
   11669 t more1
   11670 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11671 p
   11672 n
   11673 b repl
   11674 :more1
   11675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11676 p
   11677 g
   11678 s/.\{148\}//
   11679 t nl
   11680 :delim
   11681 h
   11682 s/\(.\{148\}\)..*/\1/
   11683 t more2
   11684 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11685 p
   11686 b
   11687 :more2
   11688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11689 p
   11690 g
   11691 s/.\{148\}//
   11692 t delim
   11693 ' <conf$$subs.awk | sed '
   11694 /^[^""]/{
   11695   N
   11696   s/\n//
   11697 }
   11698 ' >>$CONFIG_STATUS || ac_write_fail=1
   11699 rm -f conf$$subs.awk
   11700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11701 _ACAWK
   11702 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11703   for (key in S) S_is_set[key] = 1
   11704   FS = ""
   11705 
   11706 }
   11707 {
   11708   line = $ 0
   11709   nfields = split(line, field, "@")
   11710   substed = 0
   11711   len = length(field[1])
   11712   for (i = 2; i < nfields; i++) {
   11713     key = field[i]
   11714     keylen = length(key)
   11715     if (S_is_set[key]) {
   11716       value = S[key]
   11717       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11718       len += length(value) + length(field[++i])
   11719       substed = 1
   11720     } else
   11721       len += 1 + keylen
   11722   }
   11723 
   11724   print line
   11725 }
   11726 
   11727 _ACAWK
   11728 _ACEOF
   11729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11730 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11731   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11732 else
   11733   cat
   11734 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11735   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11736 _ACEOF
   11737 
   11738 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11739 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11740 # trailing colons and then remove the whole line if VPATH becomes empty
   11741 # (actually we leave an empty line to preserve line numbers).
   11742 if test "x$srcdir" = x.; then
   11743   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11744 h
   11745 s///
   11746 s/^/:/
   11747 s/[	 ]*$/:/
   11748 s/:\$(srcdir):/:/g
   11749 s/:\${srcdir}:/:/g
   11750 s/:@srcdir@:/:/g
   11751 s/^:*//
   11752 s/:*$//
   11753 x
   11754 s/\(=[	 ]*\).*/\1/
   11755 G
   11756 s/\n//
   11757 s/^[^=]*=[	 ]*$//
   11758 }'
   11759 fi
   11760 
   11761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11762 fi # test -n "$CONFIG_FILES"
   11763 
   11764 # Set up the scripts for CONFIG_HEADERS section.
   11765 # No need to generate them if there are no CONFIG_HEADERS.
   11766 # This happens for instance with `./config.status Makefile'.
   11767 if test -n "$CONFIG_HEADERS"; then
   11768 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11769 BEGIN {
   11770 _ACEOF
   11771 
   11772 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11773 # here-document in config.status, that substitutes the proper values into
   11774 # config.h.in to produce config.h.
   11775 
   11776 # Create a delimiter string that does not exist in confdefs.h, to ease
   11777 # handling of long lines.
   11778 ac_delim='%!_!# '
   11779 for ac_last_try in false false :; do
   11780   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11781   if test -z "$ac_tt"; then
   11782     break
   11783   elif $ac_last_try; then
   11784     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11785   else
   11786     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11787   fi
   11788 done
   11789 
   11790 # For the awk script, D is an array of macro values keyed by name,
   11791 # likewise P contains macro parameters if any.  Preserve backslash
   11792 # newline sequences.
   11793 
   11794 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11795 sed -n '
   11796 s/.\{148\}/&'"$ac_delim"'/g
   11797 t rset
   11798 :rset
   11799 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11800 t def
   11801 d
   11802 :def
   11803 s/\\$//
   11804 t bsnl
   11805 s/["\\]/\\&/g
   11806 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11807 D["\1"]=" \3"/p
   11808 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11809 d
   11810 :bsnl
   11811 s/["\\]/\\&/g
   11812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11813 D["\1"]=" \3\\\\\\n"\\/p
   11814 t cont
   11815 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11816 t cont
   11817 d
   11818 :cont
   11819 n
   11820 s/.\{148\}/&'"$ac_delim"'/g
   11821 t clear
   11822 :clear
   11823 s/\\$//
   11824 t bsnlc
   11825 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11826 d
   11827 :bsnlc
   11828 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11829 b cont
   11830 ' <confdefs.h | sed '
   11831 s/'"$ac_delim"'/"\\\
   11832 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11833 
   11834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11835   for (key in D) D_is_set[key] = 1
   11836   FS = ""
   11837 }
   11838 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11839   line = \$ 0
   11840   split(line, arg, " ")
   11841   if (arg[1] == "#") {
   11842     defundef = arg[2]
   11843     mac1 = arg[3]
   11844   } else {
   11845     defundef = substr(arg[1], 2)
   11846     mac1 = arg[2]
   11847   }
   11848   split(mac1, mac2, "(") #)
   11849   macro = mac2[1]
   11850   prefix = substr(line, 1, index(line, defundef) - 1)
   11851   if (D_is_set[macro]) {
   11852     # Preserve the white space surrounding the "#".
   11853     print prefix "define", macro P[macro] D[macro]
   11854     next
   11855   } else {
   11856     # Replace #undef with comments.  This is necessary, for example,
   11857     # in the case of _POSIX_SOURCE, which is predefined and required
   11858     # on some systems where configure will not decide to define it.
   11859     if (defundef == "undef") {
   11860       print "/*", prefix defundef, macro, "*/"
   11861       next
   11862     }
   11863   }
   11864 }
   11865 { print }
   11866 _ACAWK
   11867 _ACEOF
   11868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11869   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11870 fi # test -n "$CONFIG_HEADERS"
   11871 
   11872 
   11873 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11874 shift
   11875 for ac_tag
   11876 do
   11877   case $ac_tag in
   11878   :[FHLC]) ac_mode=$ac_tag; continue;;
   11879   esac
   11880   case $ac_mode$ac_tag in
   11881   :[FHL]*:*);;
   11882   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11883   :[FH]-) ac_tag=-:-;;
   11884   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11885   esac
   11886   ac_save_IFS=$IFS
   11887   IFS=:
   11888   set x $ac_tag
   11889   IFS=$ac_save_IFS
   11890   shift
   11891   ac_file=$1
   11892   shift
   11893 
   11894   case $ac_mode in
   11895   :L) ac_source=$1;;
   11896   :[FH])
   11897     ac_file_inputs=
   11898     for ac_f
   11899     do
   11900       case $ac_f in
   11901       -) ac_f="$ac_tmp/stdin";;
   11902       *) # Look for the file first in the build tree, then in the source tree
   11903 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11904 	 # because $ac_f cannot contain `:'.
   11905 	 test -f "$ac_f" ||
   11906 	   case $ac_f in
   11907 	   [\\/$]*) false;;
   11908 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11909 	   esac ||
   11910 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11911       esac
   11912       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11913       as_fn_append ac_file_inputs " '$ac_f'"
   11914     done
   11915 
   11916     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11917     # use $as_me), people would be surprised to read:
   11918     #    /* config.h.  Generated by config.status.  */
   11919     configure_input='Generated from '`
   11920 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11921 	`' by configure.'
   11922     if test x"$ac_file" != x-; then
   11923       configure_input="$ac_file.  $configure_input"
   11924       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11925 $as_echo "$as_me: creating $ac_file" >&6;}
   11926     fi
   11927     # Neutralize special characters interpreted by sed in replacement strings.
   11928     case $configure_input in #(
   11929     *\&* | *\|* | *\\* )
   11930        ac_sed_conf_input=`$as_echo "$configure_input" |
   11931        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11932     *) ac_sed_conf_input=$configure_input;;
   11933     esac
   11934 
   11935     case $ac_tag in
   11936     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11937       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11938     esac
   11939     ;;
   11940   esac
   11941 
   11942   ac_dir=`$as_dirname -- "$ac_file" ||
   11943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11944 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11945 	 X"$ac_file" : 'X\(//\)$' \| \
   11946 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11947 $as_echo X"$ac_file" |
   11948     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11949 	    s//\1/
   11950 	    q
   11951 	  }
   11952 	  /^X\(\/\/\)[^/].*/{
   11953 	    s//\1/
   11954 	    q
   11955 	  }
   11956 	  /^X\(\/\/\)$/{
   11957 	    s//\1/
   11958 	    q
   11959 	  }
   11960 	  /^X\(\/\).*/{
   11961 	    s//\1/
   11962 	    q
   11963 	  }
   11964 	  s/.*/./; q'`
   11965   as_dir="$ac_dir"; as_fn_mkdir_p
   11966   ac_builddir=.
   11967 
   11968 case "$ac_dir" in
   11969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11970 *)
   11971   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11972   # A ".." for each directory in $ac_dir_suffix.
   11973   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11974   case $ac_top_builddir_sub in
   11975   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11976   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11977   esac ;;
   11978 esac
   11979 ac_abs_top_builddir=$ac_pwd
   11980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11981 # for backward compatibility:
   11982 ac_top_builddir=$ac_top_build_prefix
   11983 
   11984 case $srcdir in
   11985   .)  # We are building in place.
   11986     ac_srcdir=.
   11987     ac_top_srcdir=$ac_top_builddir_sub
   11988     ac_abs_top_srcdir=$ac_pwd ;;
   11989   [\\/]* | ?:[\\/]* )  # Absolute name.
   11990     ac_srcdir=$srcdir$ac_dir_suffix;
   11991     ac_top_srcdir=$srcdir
   11992     ac_abs_top_srcdir=$srcdir ;;
   11993   *) # Relative name.
   11994     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11995     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11996     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11997 esac
   11998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11999 
   12000 
   12001   case $ac_mode in
   12002   :F)
   12003   #
   12004   # CONFIG_FILE
   12005   #
   12006 
   12007   case $INSTALL in
   12008   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12009   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12010   esac
   12011   ac_MKDIR_P=$MKDIR_P
   12012   case $MKDIR_P in
   12013   [\\/$]* | ?:[\\/]* ) ;;
   12014   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12015   esac
   12016 _ACEOF
   12017 
   12018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12019 # If the template does not know about datarootdir, expand it.
   12020 # FIXME: This hack should be removed a few years after 2.60.
   12021 ac_datarootdir_hack=; ac_datarootdir_seen=
   12022 ac_sed_dataroot='
   12023 /datarootdir/ {
   12024   p
   12025   q
   12026 }
   12027 /@datadir@/p
   12028 /@docdir@/p
   12029 /@infodir@/p
   12030 /@localedir@/p
   12031 /@mandir@/p'
   12032 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12033 *datarootdir*) ac_datarootdir_seen=yes;;
   12034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12035   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12036 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12037 _ACEOF
   12038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12039   ac_datarootdir_hack='
   12040   s&@datadir@&$datadir&g
   12041   s&@docdir@&$docdir&g
   12042   s&@infodir@&$infodir&g
   12043   s&@localedir@&$localedir&g
   12044   s&@mandir@&$mandir&g
   12045   s&\\\${datarootdir}&$datarootdir&g' ;;
   12046 esac
   12047 _ACEOF
   12048 
   12049 # Neutralize VPATH when `$srcdir' = `.'.
   12050 # Shell code in configure.ac might set extrasub.
   12051 # FIXME: do we really want to maintain this feature?
   12052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12053 ac_sed_extra="$ac_vpsub
   12054 $extrasub
   12055 _ACEOF
   12056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12057 :t
   12058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12059 s|@configure_input@|$ac_sed_conf_input|;t t
   12060 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12061 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12062 s&@srcdir@&$ac_srcdir&;t t
   12063 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12064 s&@top_srcdir@&$ac_top_srcdir&;t t
   12065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12066 s&@builddir@&$ac_builddir&;t t
   12067 s&@abs_builddir@&$ac_abs_builddir&;t t
   12068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12069 s&@INSTALL@&$ac_INSTALL&;t t
   12070 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12071 $ac_datarootdir_hack
   12072 "
   12073 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12074   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12075 
   12076 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12077   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12078   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12079       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12080   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12081 which seems to be undefined.  Please make sure it is defined" >&5
   12082 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12083 which seems to be undefined.  Please make sure it is defined" >&2;}
   12084 
   12085   rm -f "$ac_tmp/stdin"
   12086   case $ac_file in
   12087   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12088   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12089   esac \
   12090   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12091  ;;
   12092   :H)
   12093   #
   12094   # CONFIG_HEADER
   12095   #
   12096   if test x"$ac_file" != x-; then
   12097     {
   12098       $as_echo "/* $configure_input  */" \
   12099       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12100     } >"$ac_tmp/config.h" \
   12101       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12102     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12103       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12104 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12105     else
   12106       rm -f "$ac_file"
   12107       mv "$ac_tmp/config.h" "$ac_file" \
   12108 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12109     fi
   12110   else
   12111     $as_echo "/* $configure_input  */" \
   12112       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12113       || as_fn_error $? "could not create -" "$LINENO" 5
   12114   fi
   12115 # Compute "$ac_file"'s index in $config_headers.
   12116 _am_arg="$ac_file"
   12117 _am_stamp_count=1
   12118 for _am_header in $config_headers :; do
   12119   case $_am_header in
   12120     $_am_arg | $_am_arg:* )
   12121       break ;;
   12122     * )
   12123       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12124   esac
   12125 done
   12126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12128 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12129 	 X"$_am_arg" : 'X\(//\)$' \| \
   12130 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12131 $as_echo X"$_am_arg" |
   12132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12133 	    s//\1/
   12134 	    q
   12135 	  }
   12136 	  /^X\(\/\/\)[^/].*/{
   12137 	    s//\1/
   12138 	    q
   12139 	  }
   12140 	  /^X\(\/\/\)$/{
   12141 	    s//\1/
   12142 	    q
   12143 	  }
   12144 	  /^X\(\/\).*/{
   12145 	    s//\1/
   12146 	    q
   12147 	  }
   12148 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12149  ;;
   12150 
   12151   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12152 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12153  ;;
   12154   esac
   12155 
   12156 
   12157   case $ac_file$ac_mode in
   12158     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12159   # Older Autoconf quotes --file arguments for eval, but not when files
   12160   # are listed without --file.  Let's play safe and only enable the eval
   12161   # if we detect the quoting.
   12162   case $CONFIG_FILES in
   12163   *\'*) eval set x "$CONFIG_FILES" ;;
   12164   *)   set x $CONFIG_FILES ;;
   12165   esac
   12166   shift
   12167   for mf
   12168   do
   12169     # Strip MF so we end up with the name of the file.
   12170     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12171     # Check whether this is an Automake generated Makefile or not.
   12172     # We used to match only the files named 'Makefile.in', but
   12173     # some people rename them; so instead we look at the file content.
   12174     # Grep'ing the first line is not enough: some people post-process
   12175     # each Makefile.in and add a new line on top of each file to say so.
   12176     # Grep'ing the whole file is not good either: AIX grep has a line
   12177     # limit of 2048, but all sed's we know have understand at least 4000.
   12178     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12179       dirpart=`$as_dirname -- "$mf" ||
   12180 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12181 	 X"$mf" : 'X\(//\)[^/]' \| \
   12182 	 X"$mf" : 'X\(//\)$' \| \
   12183 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12184 $as_echo X"$mf" |
   12185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12186 	    s//\1/
   12187 	    q
   12188 	  }
   12189 	  /^X\(\/\/\)[^/].*/{
   12190 	    s//\1/
   12191 	    q
   12192 	  }
   12193 	  /^X\(\/\/\)$/{
   12194 	    s//\1/
   12195 	    q
   12196 	  }
   12197 	  /^X\(\/\).*/{
   12198 	    s//\1/
   12199 	    q
   12200 	  }
   12201 	  s/.*/./; q'`
   12202     else
   12203       continue
   12204     fi
   12205     # Extract the definition of DEPDIR, am__include, and am__quote
   12206     # from the Makefile without running 'make'.
   12207     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12208     test -z "$DEPDIR" && continue
   12209     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12210     test -z "$am__include" && continue
   12211     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12212     # Find all dependency output files, they are included files with
   12213     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12214     # simplest approach to changing $(DEPDIR) to its actual value in the
   12215     # expansion.
   12216     for file in `sed -n "
   12217       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12218 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12219       # Make sure the directory exists.
   12220       test -f "$dirpart/$file" && continue
   12221       fdir=`$as_dirname -- "$file" ||
   12222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12223 	 X"$file" : 'X\(//\)[^/]' \| \
   12224 	 X"$file" : 'X\(//\)$' \| \
   12225 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12226 $as_echo X"$file" |
   12227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12228 	    s//\1/
   12229 	    q
   12230 	  }
   12231 	  /^X\(\/\/\)[^/].*/{
   12232 	    s//\1/
   12233 	    q
   12234 	  }
   12235 	  /^X\(\/\/\)$/{
   12236 	    s//\1/
   12237 	    q
   12238 	  }
   12239 	  /^X\(\/\).*/{
   12240 	    s//\1/
   12241 	    q
   12242 	  }
   12243 	  s/.*/./; q'`
   12244       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12245       # echo "creating $dirpart/$file"
   12246       echo '# dummy' > "$dirpart/$file"
   12247     done
   12248   done
   12249 }
   12250  ;;
   12251 
   12252   esac
   12253 done # for ac_tag
   12254 
   12255 
   12256 as_fn_exit 0
   12257 _ACEOF
   12258 ac_clean_files=$ac_clean_files_save
   12259 
   12260 test $ac_write_fail = 0 ||
   12261   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12262 
   12263 
   12264 # configure is writing to config.log, and then calls config.status.
   12265 # config.status does its own redirection, appending to config.log.
   12266 # Unfortunately, on DOS this fails, as config.log is still kept open
   12267 # by configure, so config.status won't be able to write to it; its
   12268 # output is simply discarded.  So we exec the FD to /dev/null,
   12269 # effectively closing config.log, so it can be properly (re)opened and
   12270 # appended to by config.status.  When coming back to configure, we
   12271 # need to make the FD available again.
   12272 if test "$no_create" != yes; then
   12273   ac_cs_success=:
   12274   ac_config_status_args=
   12275   test "$silent" = yes &&
   12276     ac_config_status_args="$ac_config_status_args --quiet"
   12277   exec 5>/dev/null
   12278   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12279   exec 5>>config.log
   12280   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12281   # would make configure fail if this is the last instruction.
   12282   $ac_cs_success || as_fn_exit 1
   12283 fi
   12284 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12285   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12286 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12287 fi
   12288 
   12289