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 xeyes 1.1.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xeyes'
    583 PACKAGE_TARNAME='xeyes'
    584 PACKAGE_VERSION='1.1.2'
    585 PACKAGE_STRING='xeyes 1.1.2'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XRENDER_LIBS
    631 XRENDER_CFLAGS
    632 XEYES_LIBS
    633 XEYES_CFLAGS
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 host_os
    650 host_vendor
    651 host_cpu
    652 host
    653 build_os
    654 build_vendor
    655 build_cpu
    656 build
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 EGREP
    666 GREP
    667 CPP
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__quote
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 am__untar
    690 am__tar
    691 AMTAR
    692 am__leading_dot
    693 SET_MAKE
    694 AWK
    695 mkdir_p
    696 MKDIR_P
    697 INSTALL_STRIP_PROGRAM
    698 STRIP
    699 install_sh
    700 MAKEINFO
    701 AUTOHEADER
    702 AUTOMAKE
    703 AUTOCONF
    704 ACLOCAL
    705 VERSION
    706 PACKAGE
    707 CYGPATH_W
    708 am__isrc
    709 INSTALL_DATA
    710 INSTALL_SCRIPT
    711 INSTALL_PROGRAM
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL'
    750 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_silent_rules
    754 enable_dependency_tracking
    755 enable_selective_werror
    756 enable_strict_compilation
    757 with_xrender
    758 '
    759       ac_precious_vars='build_alias
    760 host_alias
    761 target_alias
    762 CC
    763 CFLAGS
    764 LDFLAGS
    765 LIBS
    766 CPPFLAGS
    767 CPP
    768 PKG_CONFIG
    769 PKG_CONFIG_PATH
    770 PKG_CONFIG_LIBDIR
    771 XEYES_CFLAGS
    772 XEYES_LIBS
    773 XRENDER_CFLAGS
    774 XRENDER_LIBS'
    775 
    776 
    777 # Initialize some variables set by options.
    778 ac_init_help=
    779 ac_init_version=false
    780 ac_unrecognized_opts=
    781 ac_unrecognized_sep=
    782 # The variables have the same names as the options, with
    783 # dashes changed to underlines.
    784 cache_file=/dev/null
    785 exec_prefix=NONE
    786 no_create=
    787 no_recursion=
    788 prefix=NONE
    789 program_prefix=NONE
    790 program_suffix=NONE
    791 program_transform_name=s,x,x,
    792 silent=
    793 site=
    794 srcdir=
    795 verbose=
    796 x_includes=NONE
    797 x_libraries=NONE
    798 
    799 # Installation directory options.
    800 # These are left unexpanded so users can "make install exec_prefix=/foo"
    801 # and all the variables that are supposed to be based on exec_prefix
    802 # by default will actually change.
    803 # Use braces instead of parens because sh, perl, etc. also accept them.
    804 # (The list follows the same order as the GNU Coding Standards.)
    805 bindir='${exec_prefix}/bin'
    806 sbindir='${exec_prefix}/sbin'
    807 libexecdir='${exec_prefix}/libexec'
    808 datarootdir='${prefix}/share'
    809 datadir='${datarootdir}'
    810 sysconfdir='${prefix}/etc'
    811 sharedstatedir='${prefix}/com'
    812 localstatedir='${prefix}/var'
    813 includedir='${prefix}/include'
    814 oldincludedir='/usr/include'
    815 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    816 infodir='${datarootdir}/info'
    817 htmldir='${docdir}'
    818 dvidir='${docdir}'
    819 pdfdir='${docdir}'
    820 psdir='${docdir}'
    821 libdir='${exec_prefix}/lib'
    822 localedir='${datarootdir}/locale'
    823 mandir='${datarootdir}/man'
    824 
    825 ac_prev=
    826 ac_dashdash=
    827 for ac_option
    828 do
    829   # If the previous option needs an argument, assign it.
    830   if test -n "$ac_prev"; then
    831     eval $ac_prev=\$ac_option
    832     ac_prev=
    833     continue
    834   fi
    835 
    836   case $ac_option in
    837   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    838   *=)   ac_optarg= ;;
    839   *)    ac_optarg=yes ;;
    840   esac
    841 
    842   # Accept the important Cygnus configure options, so we can diagnose typos.
    843 
    844   case $ac_dashdash$ac_option in
    845   --)
    846     ac_dashdash=yes ;;
    847 
    848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    849     ac_prev=bindir ;;
    850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    851     bindir=$ac_optarg ;;
    852 
    853   -build | --build | --buil | --bui | --bu)
    854     ac_prev=build_alias ;;
    855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    856     build_alias=$ac_optarg ;;
    857 
    858   -cache-file | --cache-file | --cache-fil | --cache-fi \
    859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    860     ac_prev=cache_file ;;
    861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    863     cache_file=$ac_optarg ;;
    864 
    865   --config-cache | -C)
    866     cache_file=config.cache ;;
    867 
    868   -datadir | --datadir | --datadi | --datad)
    869     ac_prev=datadir ;;
    870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    871     datadir=$ac_optarg ;;
    872 
    873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    874   | --dataroo | --dataro | --datar)
    875     ac_prev=datarootdir ;;
    876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    878     datarootdir=$ac_optarg ;;
    879 
    880   -disable-* | --disable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: $ac_useropt"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=no ;;
    895 
    896   -docdir | --docdir | --docdi | --doc | --do)
    897     ac_prev=docdir ;;
    898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    899     docdir=$ac_optarg ;;
    900 
    901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    902     ac_prev=dvidir ;;
    903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    904     dvidir=$ac_optarg ;;
    905 
    906   -enable-* | --enable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: $ac_useropt"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=\$ac_optarg ;;
    921 
    922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    924   | --exec | --exe | --ex)
    925     ac_prev=exec_prefix ;;
    926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    928   | --exec=* | --exe=* | --ex=*)
    929     exec_prefix=$ac_optarg ;;
    930 
    931   -gas | --gas | --ga | --g)
    932     # Obsolete; use --with-gas.
    933     with_gas=yes ;;
    934 
    935   -help | --help | --hel | --he | -h)
    936     ac_init_help=long ;;
    937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    938     ac_init_help=recursive ;;
    939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    940     ac_init_help=short ;;
    941 
    942   -host | --host | --hos | --ho)
    943     ac_prev=host_alias ;;
    944   -host=* | --host=* | --hos=* | --ho=*)
    945     host_alias=$ac_optarg ;;
    946 
    947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    948     ac_prev=htmldir ;;
    949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    950   | --ht=*)
    951     htmldir=$ac_optarg ;;
    952 
    953   -includedir | --includedir | --includedi | --included | --include \
    954   | --includ | --inclu | --incl | --inc)
    955     ac_prev=includedir ;;
    956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    957   | --includ=* | --inclu=* | --incl=* | --inc=*)
    958     includedir=$ac_optarg ;;
    959 
    960   -infodir | --infodir | --infodi | --infod | --info | --inf)
    961     ac_prev=infodir ;;
    962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    963     infodir=$ac_optarg ;;
    964 
    965   -libdir | --libdir | --libdi | --libd)
    966     ac_prev=libdir ;;
    967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    968     libdir=$ac_optarg ;;
    969 
    970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    971   | --libexe | --libex | --libe)
    972     ac_prev=libexecdir ;;
    973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    974   | --libexe=* | --libex=* | --libe=*)
    975     libexecdir=$ac_optarg ;;
    976 
    977   -localedir | --localedir | --localedi | --localed | --locale)
    978     ac_prev=localedir ;;
    979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    980     localedir=$ac_optarg ;;
    981 
    982   -localstatedir | --localstatedir | --localstatedi | --localstated \
    983   | --localstate | --localstat | --localsta | --localst | --locals)
    984     ac_prev=localstatedir ;;
    985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    987     localstatedir=$ac_optarg ;;
    988 
    989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    990     ac_prev=mandir ;;
    991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    992     mandir=$ac_optarg ;;
    993 
    994   -nfp | --nfp | --nf)
    995     # Obsolete; use --without-fp.
    996     with_fp=no ;;
    997 
    998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    999   | --no-cr | --no-c | -n)
   1000     no_create=yes ;;
   1001 
   1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1004     no_recursion=yes ;;
   1005 
   1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1008   | --oldin | --oldi | --old | --ol | --o)
   1009     ac_prev=oldincludedir ;;
   1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1013     oldincludedir=$ac_optarg ;;
   1014 
   1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1016     ac_prev=prefix ;;
   1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1018     prefix=$ac_optarg ;;
   1019 
   1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1021   | --program-pre | --program-pr | --program-p)
   1022     ac_prev=program_prefix ;;
   1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1025     program_prefix=$ac_optarg ;;
   1026 
   1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1028   | --program-suf | --program-su | --program-s)
   1029     ac_prev=program_suffix ;;
   1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1032     program_suffix=$ac_optarg ;;
   1033 
   1034   -program-transform-name | --program-transform-name \
   1035   | --program-transform-nam | --program-transform-na \
   1036   | --program-transform-n | --program-transform- \
   1037   | --program-transform | --program-transfor \
   1038   | --program-transfo | --program-transf \
   1039   | --program-trans | --program-tran \
   1040   | --progr-tra | --program-tr | --program-t)
   1041     ac_prev=program_transform_name ;;
   1042   -program-transform-name=* | --program-transform-name=* \
   1043   | --program-transform-nam=* | --program-transform-na=* \
   1044   | --program-transform-n=* | --program-transform-=* \
   1045   | --program-transform=* | --program-transfor=* \
   1046   | --program-transfo=* | --program-transf=* \
   1047   | --program-trans=* | --program-tran=* \
   1048   | --progr-tra=* | --program-tr=* | --program-t=*)
   1049     program_transform_name=$ac_optarg ;;
   1050 
   1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1052     ac_prev=pdfdir ;;
   1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1054     pdfdir=$ac_optarg ;;
   1055 
   1056   -psdir | --psdir | --psdi | --psd | --ps)
   1057     ac_prev=psdir ;;
   1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1059     psdir=$ac_optarg ;;
   1060 
   1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1062   | -silent | --silent | --silen | --sile | --sil)
   1063     silent=yes ;;
   1064 
   1065   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1066     ac_prev=sbindir ;;
   1067   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1068   | --sbi=* | --sb=*)
   1069     sbindir=$ac_optarg ;;
   1070 
   1071   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1072   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1073   | --sharedst | --shareds | --shared | --share | --shar \
   1074   | --sha | --sh)
   1075     ac_prev=sharedstatedir ;;
   1076   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1077   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1078   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1079   | --sha=* | --sh=*)
   1080     sharedstatedir=$ac_optarg ;;
   1081 
   1082   -site | --site | --sit)
   1083     ac_prev=site ;;
   1084   -site=* | --site=* | --sit=*)
   1085     site=$ac_optarg ;;
   1086 
   1087   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1088     ac_prev=srcdir ;;
   1089   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1090     srcdir=$ac_optarg ;;
   1091 
   1092   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1093   | --syscon | --sysco | --sysc | --sys | --sy)
   1094     ac_prev=sysconfdir ;;
   1095   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1096   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1097     sysconfdir=$ac_optarg ;;
   1098 
   1099   -target | --target | --targe | --targ | --tar | --ta | --t)
   1100     ac_prev=target_alias ;;
   1101   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1102     target_alias=$ac_optarg ;;
   1103 
   1104   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1105     verbose=yes ;;
   1106 
   1107   -version | --version | --versio | --versi | --vers | -V)
   1108     ac_init_version=: ;;
   1109 
   1110   -with-* | --with-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       as_fn_error $? "invalid package name: $ac_useropt"
   1115     ac_useropt_orig=$ac_useropt
   1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1117     case $ac_user_opts in
   1118       *"
   1119 "with_$ac_useropt"
   1120 "*) ;;
   1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1122 	 ac_unrecognized_sep=', ';;
   1123     esac
   1124     eval with_$ac_useropt=\$ac_optarg ;;
   1125 
   1126   -without-* | --without-*)
   1127     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1128     # Reject names that are not valid shell variable names.
   1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1130       as_fn_error $? "invalid package name: $ac_useropt"
   1131     ac_useropt_orig=$ac_useropt
   1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1133     case $ac_user_opts in
   1134       *"
   1135 "with_$ac_useropt"
   1136 "*) ;;
   1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1138 	 ac_unrecognized_sep=', ';;
   1139     esac
   1140     eval with_$ac_useropt=no ;;
   1141 
   1142   --x)
   1143     # Obsolete; use --with-x.
   1144     with_x=yes ;;
   1145 
   1146   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1147   | --x-incl | --x-inc | --x-in | --x-i)
   1148     ac_prev=x_includes ;;
   1149   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1150   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1151     x_includes=$ac_optarg ;;
   1152 
   1153   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1154   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1155     ac_prev=x_libraries ;;
   1156   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1157   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1158     x_libraries=$ac_optarg ;;
   1159 
   1160   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1161 Try \`$0 --help' for more information"
   1162     ;;
   1163 
   1164   *=*)
   1165     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1166     # Reject names that are not valid shell variable names.
   1167     case $ac_envvar in #(
   1168       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1169       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1170     esac
   1171     eval $ac_envvar=\$ac_optarg
   1172     export $ac_envvar ;;
   1173 
   1174   *)
   1175     # FIXME: should be removed in autoconf 3.0.
   1176     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1177     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1178       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1179     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1180     ;;
   1181 
   1182   esac
   1183 done
   1184 
   1185 if test -n "$ac_prev"; then
   1186   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1187   as_fn_error $? "missing argument to $ac_option"
   1188 fi
   1189 
   1190 if test -n "$ac_unrecognized_opts"; then
   1191   case $enable_option_checking in
   1192     no) ;;
   1193     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1194     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1195   esac
   1196 fi
   1197 
   1198 # Check all directory arguments for consistency.
   1199 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1200 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1201 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1202 		libdir localedir mandir
   1203 do
   1204   eval ac_val=\$$ac_var
   1205   # Remove trailing slashes.
   1206   case $ac_val in
   1207     */ )
   1208       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1209       eval $ac_var=\$ac_val;;
   1210   esac
   1211   # Be sure to have absolute directory names.
   1212   case $ac_val in
   1213     [\\/$]* | ?:[\\/]* )  continue;;
   1214     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1215   esac
   1216   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1217 done
   1218 
   1219 # There might be people who depend on the old broken behavior: `$host'
   1220 # used to hold the argument of --host etc.
   1221 # FIXME: To remove some day.
   1222 build=$build_alias
   1223 host=$host_alias
   1224 target=$target_alias
   1225 
   1226 # FIXME: To remove some day.
   1227 if test "x$host_alias" != x; then
   1228   if test "x$build_alias" = x; then
   1229     cross_compiling=maybe
   1230   elif test "x$build_alias" != "x$host_alias"; then
   1231     cross_compiling=yes
   1232   fi
   1233 fi
   1234 
   1235 ac_tool_prefix=
   1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1237 
   1238 test "$silent" = yes && exec 6>/dev/null
   1239 
   1240 
   1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1242 ac_ls_di=`ls -di .` &&
   1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1244   as_fn_error $? "working directory cannot be determined"
   1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1246   as_fn_error $? "pwd does not report name of working directory"
   1247 
   1248 
   1249 # Find the source files, if location was not specified.
   1250 if test -z "$srcdir"; then
   1251   ac_srcdir_defaulted=yes
   1252   # Try the directory containing this script, then the parent directory.
   1253   ac_confdir=`$as_dirname -- "$as_myself" ||
   1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1255 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1256 	 X"$as_myself" : 'X\(//\)$' \| \
   1257 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1258 $as_echo X"$as_myself" |
   1259     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1260 	    s//\1/
   1261 	    q
   1262 	  }
   1263 	  /^X\(\/\/\)[^/].*/{
   1264 	    s//\1/
   1265 	    q
   1266 	  }
   1267 	  /^X\(\/\/\)$/{
   1268 	    s//\1/
   1269 	    q
   1270 	  }
   1271 	  /^X\(\/\).*/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  s/.*/./; q'`
   1276   srcdir=$ac_confdir
   1277   if test ! -r "$srcdir/$ac_unique_file"; then
   1278     srcdir=..
   1279   fi
   1280 else
   1281   ac_srcdir_defaulted=no
   1282 fi
   1283 if test ! -r "$srcdir/$ac_unique_file"; then
   1284   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1285   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1286 fi
   1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1288 ac_abs_confdir=`(
   1289 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1290 	pwd)`
   1291 # When building in place, set srcdir=.
   1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1293   srcdir=.
   1294 fi
   1295 # Remove unnecessary trailing slashes from srcdir.
   1296 # Double slashes in file names in object file debugging info
   1297 # mess up M-x gdb in Emacs.
   1298 case $srcdir in
   1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1300 esac
   1301 for ac_var in $ac_precious_vars; do
   1302   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1303   eval ac_env_${ac_var}_value=\$${ac_var}
   1304   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1306 done
   1307 
   1308 #
   1309 # Report the --help message.
   1310 #
   1311 if test "$ac_init_help" = "long"; then
   1312   # Omit some internal or obsolete options to make the list less imposing.
   1313   # This message is too long to be a string in the A/UX 3.1 sh.
   1314   cat <<_ACEOF
   1315 \`configure' configures xeyes 1.1.2 to adapt to many kinds of systems.
   1316 
   1317 Usage: $0 [OPTION]... [VAR=VALUE]...
   1318 
   1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1320 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1321 
   1322 Defaults for the options are specified in brackets.
   1323 
   1324 Configuration:
   1325   -h, --help              display this help and exit
   1326       --help=short        display options specific to this package
   1327       --help=recursive    display the short help of all the included packages
   1328   -V, --version           display version information and exit
   1329   -q, --quiet, --silent   do not print \`checking ...' messages
   1330       --cache-file=FILE   cache test results in FILE [disabled]
   1331   -C, --config-cache      alias for \`--cache-file=config.cache'
   1332   -n, --no-create         do not create output files
   1333       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1334 
   1335 Installation directories:
   1336   --prefix=PREFIX         install architecture-independent files in PREFIX
   1337                           [$ac_default_prefix]
   1338   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1339                           [PREFIX]
   1340 
   1341 By default, \`make install' will install all the files in
   1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1344 for instance \`--prefix=\$HOME'.
   1345 
   1346 For better control, use the options below.
   1347 
   1348 Fine tuning of the installation directories:
   1349   --bindir=DIR            user executables [EPREFIX/bin]
   1350   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1351   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1352   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1353   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1354   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1355   --libdir=DIR            object code libraries [EPREFIX/lib]
   1356   --includedir=DIR        C header files [PREFIX/include]
   1357   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1358   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1359   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1360   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1361   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1362   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1363   --docdir=DIR            documentation root [DATAROOTDIR/doc/xeyes]
   1364   --htmldir=DIR           html documentation [DOCDIR]
   1365   --dvidir=DIR            dvi documentation [DOCDIR]
   1366   --pdfdir=DIR            pdf documentation [DOCDIR]
   1367   --psdir=DIR             ps documentation [DOCDIR]
   1368 _ACEOF
   1369 
   1370   cat <<\_ACEOF
   1371 
   1372 Program names:
   1373   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1374   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1375   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1376 
   1377 System types:
   1378   --build=BUILD     configure for building on BUILD [guessed]
   1379   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1380 _ACEOF
   1381 fi
   1382 
   1383 if test -n "$ac_init_help"; then
   1384   case $ac_init_help in
   1385      short | recursive ) echo "Configuration of xeyes 1.1.2:";;
   1386    esac
   1387   cat <<\_ACEOF
   1388 
   1389 Optional Features:
   1390   --disable-option-checking  ignore unrecognized --enable/--with options
   1391   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1392   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1393   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1394   --disable-silent-rules  verbose build output (undo: "make V=0")
   1395   --enable-dependency-tracking
   1396                           do not reject slow dependency extractors
   1397   --disable-dependency-tracking
   1398                           speeds up one-time build
   1399   --disable-selective-werror
   1400                           Turn off selective compiler errors. (default:
   1401                           enabled)
   1402   --enable-strict-compilation
   1403                           Enable all warnings from compiler and make them
   1404                           errors (default: disabled)
   1405 
   1406 Optional Packages:
   1407   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1408   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1409   --with-xrender          Use Xrender for rendering (Default is YES)
   1410 
   1411 Some influential environment variables:
   1412   CC          C compiler command
   1413   CFLAGS      C compiler flags
   1414   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1415               nonstandard directory <lib dir>
   1416   LIBS        libraries to pass to the linker, e.g. -l<library>
   1417   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1418               you have headers in a nonstandard directory <include dir>
   1419   CPP         C preprocessor
   1420   PKG_CONFIG  path to pkg-config utility
   1421   PKG_CONFIG_PATH
   1422               directories to add to pkg-config's search path
   1423   PKG_CONFIG_LIBDIR
   1424               path overriding pkg-config's built-in search path
   1425   XEYES_CFLAGS
   1426               C compiler flags for XEYES, overriding pkg-config
   1427   XEYES_LIBS  linker flags for XEYES, overriding pkg-config
   1428   XRENDER_CFLAGS
   1429               C compiler flags for XRENDER, overriding pkg-config
   1430   XRENDER_LIBS
   1431               linker flags for XRENDER, overriding pkg-config
   1432 
   1433 Use these variables to override the choices made by `configure' or to help
   1434 it to find libraries and programs with nonstandard names/locations.
   1435 
   1436 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1437 _ACEOF
   1438 ac_status=$?
   1439 fi
   1440 
   1441 if test "$ac_init_help" = "recursive"; then
   1442   # If there are subdirs, report their specific --help.
   1443   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1444     test -d "$ac_dir" ||
   1445       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1446       continue
   1447     ac_builddir=.
   1448 
   1449 case "$ac_dir" in
   1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1451 *)
   1452   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1453   # A ".." for each directory in $ac_dir_suffix.
   1454   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1455   case $ac_top_builddir_sub in
   1456   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1457   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1458   esac ;;
   1459 esac
   1460 ac_abs_top_builddir=$ac_pwd
   1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1462 # for backward compatibility:
   1463 ac_top_builddir=$ac_top_build_prefix
   1464 
   1465 case $srcdir in
   1466   .)  # We are building in place.
   1467     ac_srcdir=.
   1468     ac_top_srcdir=$ac_top_builddir_sub
   1469     ac_abs_top_srcdir=$ac_pwd ;;
   1470   [\\/]* | ?:[\\/]* )  # Absolute name.
   1471     ac_srcdir=$srcdir$ac_dir_suffix;
   1472     ac_top_srcdir=$srcdir
   1473     ac_abs_top_srcdir=$srcdir ;;
   1474   *) # Relative name.
   1475     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1476     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1477     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1478 esac
   1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1480 
   1481     cd "$ac_dir" || { ac_status=$?; continue; }
   1482     # Check for guested configure.
   1483     if test -f "$ac_srcdir/configure.gnu"; then
   1484       echo &&
   1485       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1486     elif test -f "$ac_srcdir/configure"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure" --help=recursive
   1489     else
   1490       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1491     fi || ac_status=$?
   1492     cd "$ac_pwd" || { ac_status=$?; break; }
   1493   done
   1494 fi
   1495 
   1496 test -n "$ac_init_help" && exit $ac_status
   1497 if $ac_init_version; then
   1498   cat <<\_ACEOF
   1499 xeyes configure 1.1.2
   1500 generated by GNU Autoconf 2.69
   1501 
   1502 Copyright (C) 2012 Free Software Foundation, Inc.
   1503 This configure script is free software; the Free Software Foundation
   1504 gives unlimited permission to copy, distribute and modify it.
   1505 _ACEOF
   1506   exit
   1507 fi
   1508 
   1509 ## ------------------------ ##
   1510 ## Autoconf initialization. ##
   1511 ## ------------------------ ##
   1512 
   1513 # ac_fn_c_try_compile LINENO
   1514 # --------------------------
   1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1516 ac_fn_c_try_compile ()
   1517 {
   1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1519   rm -f conftest.$ac_objext
   1520   if { { ac_try="$ac_compile"
   1521 case "(($ac_try" in
   1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1523   *) ac_try_echo=$ac_try;;
   1524 esac
   1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1526 $as_echo "$ac_try_echo"; } >&5
   1527   (eval "$ac_compile") 2>conftest.err
   1528   ac_status=$?
   1529   if test -s conftest.err; then
   1530     grep -v '^ *+' conftest.err >conftest.er1
   1531     cat conftest.er1 >&5
   1532     mv -f conftest.er1 conftest.err
   1533   fi
   1534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1535   test $ac_status = 0; } && {
   1536 	 test -z "$ac_c_werror_flag" ||
   1537 	 test ! -s conftest.err
   1538        } && test -s conftest.$ac_objext; then :
   1539   ac_retval=0
   1540 else
   1541   $as_echo "$as_me: failed program was:" >&5
   1542 sed 's/^/| /' conftest.$ac_ext >&5
   1543 
   1544 	ac_retval=1
   1545 fi
   1546   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1547   as_fn_set_status $ac_retval
   1548 
   1549 } # ac_fn_c_try_compile
   1550 
   1551 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1552 # ---------------------------------------------
   1553 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1554 # accordingly.
   1555 ac_fn_c_check_decl ()
   1556 {
   1557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1558   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1559   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1561 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1562 if eval \${$3+:} false; then :
   1563   $as_echo_n "(cached) " >&6
   1564 else
   1565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1566 /* end confdefs.h.  */
   1567 $4
   1568 int
   1569 main ()
   1570 {
   1571 #ifndef $as_decl_name
   1572 #ifdef __cplusplus
   1573   (void) $as_decl_use;
   1574 #else
   1575   (void) $as_decl_name;
   1576 #endif
   1577 #endif
   1578 
   1579   ;
   1580   return 0;
   1581 }
   1582 _ACEOF
   1583 if ac_fn_c_try_compile "$LINENO"; then :
   1584   eval "$3=yes"
   1585 else
   1586   eval "$3=no"
   1587 fi
   1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1589 fi
   1590 eval ac_res=\$$3
   1591 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1592 $as_echo "$ac_res" >&6; }
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594 
   1595 } # ac_fn_c_check_decl
   1596 
   1597 # ac_fn_c_try_cpp LINENO
   1598 # ----------------------
   1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1600 ac_fn_c_try_cpp ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1604 case "(($ac_try" in
   1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1606   *) ac_try_echo=$ac_try;;
   1607 esac
   1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1609 $as_echo "$ac_try_echo"; } >&5
   1610   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1611   ac_status=$?
   1612   if test -s conftest.err; then
   1613     grep -v '^ *+' conftest.err >conftest.er1
   1614     cat conftest.er1 >&5
   1615     mv -f conftest.er1 conftest.err
   1616   fi
   1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } > conftest.i && {
   1619 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1620 	 test ! -s conftest.err
   1621        }; then :
   1622   ac_retval=0
   1623 else
   1624   $as_echo "$as_me: failed program was:" >&5
   1625 sed 's/^/| /' conftest.$ac_ext >&5
   1626 
   1627     ac_retval=1
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_cpp
   1633 
   1634 # ac_fn_c_try_run LINENO
   1635 # ----------------------
   1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1637 # that executables *can* be run.
   1638 ac_fn_c_try_run ()
   1639 {
   1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1641   if { { ac_try="$ac_link"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 $as_echo "$ac_try_echo"; } >&5
   1648   (eval "$ac_link") 2>&5
   1649   ac_status=$?
   1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1652   { { case "(($ac_try" in
   1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1654   *) ac_try_echo=$ac_try;;
   1655 esac
   1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1657 $as_echo "$ac_try_echo"; } >&5
   1658   (eval "$ac_try") 2>&5
   1659   ac_status=$?
   1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; }; }; then :
   1662   ac_retval=0
   1663 else
   1664   $as_echo "$as_me: program exited with status $ac_status" >&5
   1665        $as_echo "$as_me: failed program was:" >&5
   1666 sed 's/^/| /' conftest.$ac_ext >&5
   1667 
   1668        ac_retval=$ac_status
   1669 fi
   1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_run
   1675 
   1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1677 # -------------------------------------------------------
   1678 # Tests whether HEADER exists and can be compiled using the include files in
   1679 # INCLUDES, setting the cache variable VAR accordingly.
   1680 ac_fn_c_check_header_compile ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1684 $as_echo_n "checking for $2... " >&6; }
   1685 if eval \${$3+:} false; then :
   1686   $as_echo_n "(cached) " >&6
   1687 else
   1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1689 /* end confdefs.h.  */
   1690 $4
   1691 #include <$2>
   1692 _ACEOF
   1693 if ac_fn_c_try_compile "$LINENO"; then :
   1694   eval "$3=yes"
   1695 else
   1696   eval "$3=no"
   1697 fi
   1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1699 fi
   1700 eval ac_res=\$$3
   1701 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1702 $as_echo "$ac_res" >&6; }
   1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1704 
   1705 } # ac_fn_c_check_header_compile
   1706 
   1707 # ac_fn_c_try_link LINENO
   1708 # -----------------------
   1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1710 ac_fn_c_try_link ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   rm -f conftest.$ac_objext conftest$ac_exeext
   1714   if { { ac_try="$ac_link"
   1715 case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_link") 2>conftest.err
   1722   ac_status=$?
   1723   if test -s conftest.err; then
   1724     grep -v '^ *+' conftest.err >conftest.er1
   1725     cat conftest.er1 >&5
   1726     mv -f conftest.er1 conftest.err
   1727   fi
   1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1729   test $ac_status = 0; } && {
   1730 	 test -z "$ac_c_werror_flag" ||
   1731 	 test ! -s conftest.err
   1732        } && test -s conftest$ac_exeext && {
   1733 	 test "$cross_compiling" = yes ||
   1734 	 test -x conftest$ac_exeext
   1735        }; then :
   1736   ac_retval=0
   1737 else
   1738   $as_echo "$as_me: failed program was:" >&5
   1739 sed 's/^/| /' conftest.$ac_ext >&5
   1740 
   1741 	ac_retval=1
   1742 fi
   1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1745   # interfere with the next link command; also delete a directory that is
   1746   # left behind by Apple's compiler.  We do this before executing the actions.
   1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1749   as_fn_set_status $ac_retval
   1750 
   1751 } # ac_fn_c_try_link
   1752 cat >config.log <<_ACEOF
   1753 This file contains any messages produced by compilers while
   1754 running configure, to aid debugging if configure makes a mistake.
   1755 
   1756 It was created by xeyes $as_me 1.1.2, which was
   1757 generated by GNU Autoconf 2.69.  Invocation command line was
   1758 
   1759   $ $0 $@
   1760 
   1761 _ACEOF
   1762 exec 5>>config.log
   1763 {
   1764 cat <<_ASUNAME
   1765 ## --------- ##
   1766 ## Platform. ##
   1767 ## --------- ##
   1768 
   1769 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1770 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1771 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1772 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1773 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1774 
   1775 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1776 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1777 
   1778 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1779 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1780 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1781 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1782 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1783 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1784 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1785 
   1786 _ASUNAME
   1787 
   1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1789 for as_dir in $PATH
   1790 do
   1791   IFS=$as_save_IFS
   1792   test -z "$as_dir" && as_dir=.
   1793     $as_echo "PATH: $as_dir"
   1794   done
   1795 IFS=$as_save_IFS
   1796 
   1797 } >&5
   1798 
   1799 cat >&5 <<_ACEOF
   1800 
   1801 
   1802 ## ----------- ##
   1803 ## Core tests. ##
   1804 ## ----------- ##
   1805 
   1806 _ACEOF
   1807 
   1808 
   1809 # Keep a trace of the command line.
   1810 # Strip out --no-create and --no-recursion so they do not pile up.
   1811 # Strip out --silent because we don't want to record it for future runs.
   1812 # Also quote any args containing shell meta-characters.
   1813 # Make two passes to allow for proper duplicate-argument suppression.
   1814 ac_configure_args=
   1815 ac_configure_args0=
   1816 ac_configure_args1=
   1817 ac_must_keep_next=false
   1818 for ac_pass in 1 2
   1819 do
   1820   for ac_arg
   1821   do
   1822     case $ac_arg in
   1823     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1824     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1825     | -silent | --silent | --silen | --sile | --sil)
   1826       continue ;;
   1827     *\'*)
   1828       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1829     esac
   1830     case $ac_pass in
   1831     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1832     2)
   1833       as_fn_append ac_configure_args1 " '$ac_arg'"
   1834       if test $ac_must_keep_next = true; then
   1835 	ac_must_keep_next=false # Got value, back to normal.
   1836       else
   1837 	case $ac_arg in
   1838 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1839 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1840 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1841 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1842 	    case "$ac_configure_args0 " in
   1843 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1844 	    esac
   1845 	    ;;
   1846 	  -* ) ac_must_keep_next=true ;;
   1847 	esac
   1848       fi
   1849       as_fn_append ac_configure_args " '$ac_arg'"
   1850       ;;
   1851     esac
   1852   done
   1853 done
   1854 { ac_configure_args0=; unset ac_configure_args0;}
   1855 { ac_configure_args1=; unset ac_configure_args1;}
   1856 
   1857 # When interrupted or exit'd, cleanup temporary files, and complete
   1858 # config.log.  We remove comments because anyway the quotes in there
   1859 # would cause problems or look ugly.
   1860 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1862 trap 'exit_status=$?
   1863   # Save into config.log some information that might help in debugging.
   1864   {
   1865     echo
   1866 
   1867     $as_echo "## ---------------- ##
   1868 ## Cache variables. ##
   1869 ## ---------------- ##"
   1870     echo
   1871     # The following way of writing the cache mishandles newlines in values,
   1872 (
   1873   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1874     eval ac_val=\$$ac_var
   1875     case $ac_val in #(
   1876     *${as_nl}*)
   1877       case $ac_var in #(
   1878       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1880       esac
   1881       case $ac_var in #(
   1882       _ | IFS | as_nl) ;; #(
   1883       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1884       *) { eval $ac_var=; unset $ac_var;} ;;
   1885       esac ;;
   1886     esac
   1887   done
   1888   (set) 2>&1 |
   1889     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1890     *${as_nl}ac_space=\ *)
   1891       sed -n \
   1892 	"s/'\''/'\''\\\\'\'''\''/g;
   1893 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1894       ;; #(
   1895     *)
   1896       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1897       ;;
   1898     esac |
   1899     sort
   1900 )
   1901     echo
   1902 
   1903     $as_echo "## ----------------- ##
   1904 ## Output variables. ##
   1905 ## ----------------- ##"
   1906     echo
   1907     for ac_var in $ac_subst_vars
   1908     do
   1909       eval ac_val=\$$ac_var
   1910       case $ac_val in
   1911       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1912       esac
   1913       $as_echo "$ac_var='\''$ac_val'\''"
   1914     done | sort
   1915     echo
   1916 
   1917     if test -n "$ac_subst_files"; then
   1918       $as_echo "## ------------------- ##
   1919 ## File substitutions. ##
   1920 ## ------------------- ##"
   1921       echo
   1922       for ac_var in $ac_subst_files
   1923       do
   1924 	eval ac_val=\$$ac_var
   1925 	case $ac_val in
   1926 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1927 	esac
   1928 	$as_echo "$ac_var='\''$ac_val'\''"
   1929       done | sort
   1930       echo
   1931     fi
   1932 
   1933     if test -s confdefs.h; then
   1934       $as_echo "## ----------- ##
   1935 ## confdefs.h. ##
   1936 ## ----------- ##"
   1937       echo
   1938       cat confdefs.h
   1939       echo
   1940     fi
   1941     test "$ac_signal" != 0 &&
   1942       $as_echo "$as_me: caught signal $ac_signal"
   1943     $as_echo "$as_me: exit $exit_status"
   1944   } >&5
   1945   rm -f core *.core core.conftest.* &&
   1946     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1947     exit $exit_status
   1948 ' 0
   1949 for ac_signal in 1 2 13 15; do
   1950   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1951 done
   1952 ac_signal=0
   1953 
   1954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1955 rm -f -r conftest* confdefs.h
   1956 
   1957 $as_echo "/* confdefs.h */" > confdefs.h
   1958 
   1959 # Predefined preprocessor variables.
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_NAME "$PACKAGE_NAME"
   1963 _ACEOF
   1964 
   1965 cat >>confdefs.h <<_ACEOF
   1966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1967 _ACEOF
   1968 
   1969 cat >>confdefs.h <<_ACEOF
   1970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1971 _ACEOF
   1972 
   1973 cat >>confdefs.h <<_ACEOF
   1974 #define PACKAGE_STRING "$PACKAGE_STRING"
   1975 _ACEOF
   1976 
   1977 cat >>confdefs.h <<_ACEOF
   1978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1979 _ACEOF
   1980 
   1981 cat >>confdefs.h <<_ACEOF
   1982 #define PACKAGE_URL "$PACKAGE_URL"
   1983 _ACEOF
   1984 
   1985 
   1986 # Let the site file select an alternate cache file if it wants to.
   1987 # Prefer an explicitly selected file to automatically selected ones.
   1988 ac_site_file1=NONE
   1989 ac_site_file2=NONE
   1990 if test -n "$CONFIG_SITE"; then
   1991   # We do not want a PATH search for config.site.
   1992   case $CONFIG_SITE in #((
   1993     -*)  ac_site_file1=./$CONFIG_SITE;;
   1994     */*) ac_site_file1=$CONFIG_SITE;;
   1995     *)   ac_site_file1=./$CONFIG_SITE;;
   1996   esac
   1997 elif test "x$prefix" != xNONE; then
   1998   ac_site_file1=$prefix/share/config.site
   1999   ac_site_file2=$prefix/etc/config.site
   2000 else
   2001   ac_site_file1=$ac_default_prefix/share/config.site
   2002   ac_site_file2=$ac_default_prefix/etc/config.site
   2003 fi
   2004 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2005 do
   2006   test "x$ac_site_file" = xNONE && continue
   2007   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2008     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2009 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2010     sed 's/^/| /' "$ac_site_file" >&5
   2011     . "$ac_site_file" \
   2012       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2014 as_fn_error $? "failed to load site script $ac_site_file
   2015 See \`config.log' for more details" "$LINENO" 5; }
   2016   fi
   2017 done
   2018 
   2019 if test -r "$cache_file"; then
   2020   # Some versions of bash will fail to source /dev/null (special files
   2021   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2022   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2023     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2024 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2025     case $cache_file in
   2026       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2027       *)                      . "./$cache_file";;
   2028     esac
   2029   fi
   2030 else
   2031   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2032 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2033   >$cache_file
   2034 fi
   2035 
   2036 # Check that the precious variables saved in the cache have kept the same
   2037 # value.
   2038 ac_cache_corrupted=false
   2039 for ac_var in $ac_precious_vars; do
   2040   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2041   eval ac_new_set=\$ac_env_${ac_var}_set
   2042   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2043   eval ac_new_val=\$ac_env_${ac_var}_value
   2044   case $ac_old_set,$ac_new_set in
   2045     set,)
   2046       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2048       ac_cache_corrupted=: ;;
   2049     ,set)
   2050       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2052       ac_cache_corrupted=: ;;
   2053     ,);;
   2054     *)
   2055       if test "x$ac_old_val" != "x$ac_new_val"; then
   2056 	# differences in whitespace do not lead to failure.
   2057 	ac_old_val_w=`echo x $ac_old_val`
   2058 	ac_new_val_w=`echo x $ac_new_val`
   2059 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2060 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2062 	  ac_cache_corrupted=:
   2063 	else
   2064 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2066 	  eval $ac_var=\$ac_old_val
   2067 	fi
   2068 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2069 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2070 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2071 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2072       fi;;
   2073   esac
   2074   # Pass precious variables to config.status.
   2075   if test "$ac_new_set" = set; then
   2076     case $ac_new_val in
   2077     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2078     *) ac_arg=$ac_var=$ac_new_val ;;
   2079     esac
   2080     case " $ac_configure_args " in
   2081       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2082       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2083     esac
   2084   fi
   2085 done
   2086 if $ac_cache_corrupted; then
   2087   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2091   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2092 fi
   2093 ## -------------------- ##
   2094 ## Main body of script. ##
   2095 ## -------------------- ##
   2096 
   2097 ac_ext=c
   2098 ac_cpp='$CPP $CPPFLAGS'
   2099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2102 
   2103 
   2104 
   2105 ac_config_headers="$ac_config_headers config.h"
   2106 
   2107 
   2108 # Initialize Automake
   2109 am__api_version='1.15'
   2110 
   2111 ac_aux_dir=
   2112 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2113   if test -f "$ac_dir/install-sh"; then
   2114     ac_aux_dir=$ac_dir
   2115     ac_install_sh="$ac_aux_dir/install-sh -c"
   2116     break
   2117   elif test -f "$ac_dir/install.sh"; then
   2118     ac_aux_dir=$ac_dir
   2119     ac_install_sh="$ac_aux_dir/install.sh -c"
   2120     break
   2121   elif test -f "$ac_dir/shtool"; then
   2122     ac_aux_dir=$ac_dir
   2123     ac_install_sh="$ac_aux_dir/shtool install -c"
   2124     break
   2125   fi
   2126 done
   2127 if test -z "$ac_aux_dir"; then
   2128   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2129 fi
   2130 
   2131 # These three variables are undocumented and unsupported,
   2132 # and are intended to be withdrawn in a future Autoconf release.
   2133 # They can cause serious problems if a builder's source tree is in a directory
   2134 # whose full name contains unusual characters.
   2135 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2136 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2137 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2138 
   2139 
   2140 # Find a good install program.  We prefer a C program (faster),
   2141 # so one script is as good as another.  But avoid the broken or
   2142 # incompatible versions:
   2143 # SysV /etc/install, /usr/sbin/install
   2144 # SunOS /usr/etc/install
   2145 # IRIX /sbin/install
   2146 # AIX /bin/install
   2147 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2148 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2149 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2150 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2151 # OS/2's system install, which has a completely different semantic
   2152 # ./install, which can be erroneously created by make from ./install.sh.
   2153 # Reject install programs that cannot install multiple files.
   2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2155 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2156 if test -z "$INSTALL"; then
   2157 if ${ac_cv_path_install+:} false; then :
   2158   $as_echo_n "(cached) " >&6
   2159 else
   2160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2161 for as_dir in $PATH
   2162 do
   2163   IFS=$as_save_IFS
   2164   test -z "$as_dir" && as_dir=.
   2165     # Account for people who put trailing slashes in PATH elements.
   2166 case $as_dir/ in #((
   2167   ./ | .// | /[cC]/* | \
   2168   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2169   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2170   /usr/ucb/* ) ;;
   2171   *)
   2172     # OSF1 and SCO ODT 3.0 have their own names for install.
   2173     # Don't use installbsd from OSF since it installs stuff as root
   2174     # by default.
   2175     for ac_prog in ginstall scoinst install; do
   2176       for ac_exec_ext in '' $ac_executable_extensions; do
   2177 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2178 	  if test $ac_prog = install &&
   2179 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2180 	    # AIX install.  It has an incompatible calling convention.
   2181 	    :
   2182 	  elif test $ac_prog = install &&
   2183 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2184 	    # program-specific install script used by HP pwplus--don't use.
   2185 	    :
   2186 	  else
   2187 	    rm -rf conftest.one conftest.two conftest.dir
   2188 	    echo one > conftest.one
   2189 	    echo two > conftest.two
   2190 	    mkdir conftest.dir
   2191 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2192 	      test -s conftest.one && test -s conftest.two &&
   2193 	      test -s conftest.dir/conftest.one &&
   2194 	      test -s conftest.dir/conftest.two
   2195 	    then
   2196 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2197 	      break 3
   2198 	    fi
   2199 	  fi
   2200 	fi
   2201       done
   2202     done
   2203     ;;
   2204 esac
   2205 
   2206   done
   2207 IFS=$as_save_IFS
   2208 
   2209 rm -rf conftest.one conftest.two conftest.dir
   2210 
   2211 fi
   2212   if test "${ac_cv_path_install+set}" = set; then
   2213     INSTALL=$ac_cv_path_install
   2214   else
   2215     # As a last resort, use the slow shell script.  Don't cache a
   2216     # value for INSTALL within a source directory, because that will
   2217     # break other packages using the cache if that directory is
   2218     # removed, or if the value is a relative name.
   2219     INSTALL=$ac_install_sh
   2220   fi
   2221 fi
   2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2223 $as_echo "$INSTALL" >&6; }
   2224 
   2225 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2226 # It thinks the first close brace ends the variable substitution.
   2227 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2228 
   2229 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2230 
   2231 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2232 
   2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2234 $as_echo_n "checking whether build environment is sane... " >&6; }
   2235 # Reject unsafe characters in $srcdir or the absolute working directory
   2236 # name.  Accept space and tab only in the latter.
   2237 am_lf='
   2238 '
   2239 case `pwd` in
   2240   *[\\\"\#\$\&\'\`$am_lf]*)
   2241     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2242 esac
   2243 case $srcdir in
   2244   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2245     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2246 esac
   2247 
   2248 # Do 'set' in a subshell so we don't clobber the current shell's
   2249 # arguments.  Must try -L first in case configure is actually a
   2250 # symlink; some systems play weird games with the mod time of symlinks
   2251 # (eg FreeBSD returns the mod time of the symlink's containing
   2252 # directory).
   2253 if (
   2254    am_has_slept=no
   2255    for am_try in 1 2; do
   2256      echo "timestamp, slept: $am_has_slept" > conftest.file
   2257      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2258      if test "$*" = "X"; then
   2259 	# -L didn't work.
   2260 	set X `ls -t "$srcdir/configure" conftest.file`
   2261      fi
   2262      if test "$*" != "X $srcdir/configure conftest.file" \
   2263 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2264 
   2265 	# If neither matched, then we have a broken ls.  This can happen
   2266 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2267 	# broken ls alias from the environment.  This has actually
   2268 	# happened.  Such a system could not be considered "sane".
   2269 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2270   alias in your environment" "$LINENO" 5
   2271      fi
   2272      if test "$2" = conftest.file || test $am_try -eq 2; then
   2273        break
   2274      fi
   2275      # Just in case.
   2276      sleep 1
   2277      am_has_slept=yes
   2278    done
   2279    test "$2" = conftest.file
   2280    )
   2281 then
   2282    # Ok.
   2283    :
   2284 else
   2285    as_fn_error $? "newly created file is older than distributed files!
   2286 Check your system clock" "$LINENO" 5
   2287 fi
   2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2289 $as_echo "yes" >&6; }
   2290 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2291 # generated files are strictly newer.
   2292 am_sleep_pid=
   2293 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2294   ( sleep 1 ) &
   2295   am_sleep_pid=$!
   2296 fi
   2297 
   2298 rm -f conftest.file
   2299 
   2300 test "$program_prefix" != NONE &&
   2301   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2302 # Use a double $ so make ignores it.
   2303 test "$program_suffix" != NONE &&
   2304   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2305 # Double any \ or $.
   2306 # By default was `s,x,x', remove it if useless.
   2307 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2308 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2309 
   2310 # Expand $ac_aux_dir to an absolute path.
   2311 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2312 
   2313 if test x"${MISSING+set}" != xset; then
   2314   case $am_aux_dir in
   2315   *\ * | *\	*)
   2316     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2317   *)
   2318     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2319   esac
   2320 fi
   2321 # Use eval to expand $SHELL
   2322 if eval "$MISSING --is-lightweight"; then
   2323   am_missing_run="$MISSING "
   2324 else
   2325   am_missing_run=
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2327 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2328 fi
   2329 
   2330 if test x"${install_sh+set}" != xset; then
   2331   case $am_aux_dir in
   2332   *\ * | *\	*)
   2333     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2334   *)
   2335     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2336   esac
   2337 fi
   2338 
   2339 # Installed binaries are usually stripped using 'strip' when the user
   2340 # run "make install-strip".  However 'strip' might not be the right
   2341 # tool to use in cross-compilation environments, therefore Automake
   2342 # will honor the 'STRIP' environment variable to overrule this program.
   2343 if test "$cross_compiling" != no; then
   2344   if test -n "$ac_tool_prefix"; then
   2345   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2346 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2348 $as_echo_n "checking for $ac_word... " >&6; }
   2349 if ${ac_cv_prog_STRIP+:} false; then :
   2350   $as_echo_n "(cached) " >&6
   2351 else
   2352   if test -n "$STRIP"; then
   2353   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2354 else
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360     for ac_exec_ext in '' $ac_executable_extensions; do
   2361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2362     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2364     break 2
   2365   fi
   2366 done
   2367   done
   2368 IFS=$as_save_IFS
   2369 
   2370 fi
   2371 fi
   2372 STRIP=$ac_cv_prog_STRIP
   2373 if test -n "$STRIP"; then
   2374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2375 $as_echo "$STRIP" >&6; }
   2376 else
   2377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2378 $as_echo "no" >&6; }
   2379 fi
   2380 
   2381 
   2382 fi
   2383 if test -z "$ac_cv_prog_STRIP"; then
   2384   ac_ct_STRIP=$STRIP
   2385   # Extract the first word of "strip", so it can be a program name with args.
   2386 set dummy strip; ac_word=$2
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2388 $as_echo_n "checking for $ac_word... " >&6; }
   2389 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   if test -n "$ac_ct_STRIP"; then
   2393   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2394 else
   2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2396 for as_dir in $PATH
   2397 do
   2398   IFS=$as_save_IFS
   2399   test -z "$as_dir" && as_dir=.
   2400     for ac_exec_ext in '' $ac_executable_extensions; do
   2401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2402     ac_cv_prog_ac_ct_STRIP="strip"
   2403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2404     break 2
   2405   fi
   2406 done
   2407   done
   2408 IFS=$as_save_IFS
   2409 
   2410 fi
   2411 fi
   2412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2413 if test -n "$ac_ct_STRIP"; then
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2415 $as_echo "$ac_ct_STRIP" >&6; }
   2416 else
   2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2418 $as_echo "no" >&6; }
   2419 fi
   2420 
   2421   if test "x$ac_ct_STRIP" = x; then
   2422     STRIP=":"
   2423   else
   2424     case $cross_compiling:$ac_tool_warned in
   2425 yes:)
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2428 ac_tool_warned=yes ;;
   2429 esac
   2430     STRIP=$ac_ct_STRIP
   2431   fi
   2432 else
   2433   STRIP="$ac_cv_prog_STRIP"
   2434 fi
   2435 
   2436 fi
   2437 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2438 
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2440 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2441 if test -z "$MKDIR_P"; then
   2442   if ${ac_cv_path_mkdir+:} false; then :
   2443   $as_echo_n "(cached) " >&6
   2444 else
   2445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2446 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2447 do
   2448   IFS=$as_save_IFS
   2449   test -z "$as_dir" && as_dir=.
   2450     for ac_prog in mkdir gmkdir; do
   2451 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2452 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2453 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2454 	     'mkdir (GNU coreutils) '* | \
   2455 	     'mkdir (coreutils) '* | \
   2456 	     'mkdir (fileutils) '4.1*)
   2457 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2458 	       break 3;;
   2459 	   esac
   2460 	 done
   2461        done
   2462   done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 
   2467   test -d ./--version && rmdir ./--version
   2468   if test "${ac_cv_path_mkdir+set}" = set; then
   2469     MKDIR_P="$ac_cv_path_mkdir -p"
   2470   else
   2471     # As a last resort, use the slow shell script.  Don't cache a
   2472     # value for MKDIR_P within a source directory, because that will
   2473     # break other packages using the cache if that directory is
   2474     # removed, or if the value is a relative name.
   2475     MKDIR_P="$ac_install_sh -d"
   2476   fi
   2477 fi
   2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2479 $as_echo "$MKDIR_P" >&6; }
   2480 
   2481 for ac_prog in gawk mawk nawk awk
   2482 do
   2483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2484 set dummy $ac_prog; ac_word=$2
   2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2486 $as_echo_n "checking for $ac_word... " >&6; }
   2487 if ${ac_cv_prog_AWK+:} false; then :
   2488   $as_echo_n "(cached) " >&6
   2489 else
   2490   if test -n "$AWK"; then
   2491   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2492 else
   2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2494 for as_dir in $PATH
   2495 do
   2496   IFS=$as_save_IFS
   2497   test -z "$as_dir" && as_dir=.
   2498     for ac_exec_ext in '' $ac_executable_extensions; do
   2499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2500     ac_cv_prog_AWK="$ac_prog"
   2501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2502     break 2
   2503   fi
   2504 done
   2505   done
   2506 IFS=$as_save_IFS
   2507 
   2508 fi
   2509 fi
   2510 AWK=$ac_cv_prog_AWK
   2511 if test -n "$AWK"; then
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2513 $as_echo "$AWK" >&6; }
   2514 else
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2516 $as_echo "no" >&6; }
   2517 fi
   2518 
   2519 
   2520   test -n "$AWK" && break
   2521 done
   2522 
   2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2524 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2525 set x ${MAKE-make}
   2526 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2527 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2528   $as_echo_n "(cached) " >&6
   2529 else
   2530   cat >conftest.make <<\_ACEOF
   2531 SHELL = /bin/sh
   2532 all:
   2533 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2534 _ACEOF
   2535 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2536 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2537   *@@@%%%=?*=@@@%%%*)
   2538     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2539   *)
   2540     eval ac_cv_prog_make_${ac_make}_set=no;;
   2541 esac
   2542 rm -f conftest.make
   2543 fi
   2544 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2546 $as_echo "yes" >&6; }
   2547   SET_MAKE=
   2548 else
   2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2550 $as_echo "no" >&6; }
   2551   SET_MAKE="MAKE=${MAKE-make}"
   2552 fi
   2553 
   2554 rm -rf .tst 2>/dev/null
   2555 mkdir .tst 2>/dev/null
   2556 if test -d .tst; then
   2557   am__leading_dot=.
   2558 else
   2559   am__leading_dot=_
   2560 fi
   2561 rmdir .tst 2>/dev/null
   2562 
   2563 # Check whether --enable-silent-rules was given.
   2564 if test "${enable_silent_rules+set}" = set; then :
   2565   enableval=$enable_silent_rules;
   2566 fi
   2567 
   2568 case $enable_silent_rules in # (((
   2569   yes) AM_DEFAULT_VERBOSITY=0;;
   2570    no) AM_DEFAULT_VERBOSITY=1;;
   2571     *) AM_DEFAULT_VERBOSITY=1;;
   2572 esac
   2573 am_make=${MAKE-make}
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2575 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2576 if ${am_cv_make_support_nested_variables+:} false; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if $as_echo 'TRUE=$(BAR$(V))
   2580 BAR0=false
   2581 BAR1=true
   2582 V=1
   2583 am__doit:
   2584 	@$(TRUE)
   2585 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2586   am_cv_make_support_nested_variables=yes
   2587 else
   2588   am_cv_make_support_nested_variables=no
   2589 fi
   2590 fi
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2592 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2593 if test $am_cv_make_support_nested_variables = yes; then
   2594     AM_V='$(V)'
   2595   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2596 else
   2597   AM_V=$AM_DEFAULT_VERBOSITY
   2598   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2599 fi
   2600 AM_BACKSLASH='\'
   2601 
   2602 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2603   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2604   # is not polluted with repeated "-I."
   2605   am__isrc=' -I$(srcdir)'
   2606   # test to see if srcdir already configured
   2607   if test -f $srcdir/config.status; then
   2608     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2609   fi
   2610 fi
   2611 
   2612 # test whether we have cygpath
   2613 if test -z "$CYGPATH_W"; then
   2614   if (cygpath --version) >/dev/null 2>/dev/null; then
   2615     CYGPATH_W='cygpath -w'
   2616   else
   2617     CYGPATH_W=echo
   2618   fi
   2619 fi
   2620 
   2621 
   2622 # Define the identity of the package.
   2623  PACKAGE='xeyes'
   2624  VERSION='1.1.2'
   2625 
   2626 
   2627 cat >>confdefs.h <<_ACEOF
   2628 #define PACKAGE "$PACKAGE"
   2629 _ACEOF
   2630 
   2631 
   2632 cat >>confdefs.h <<_ACEOF
   2633 #define VERSION "$VERSION"
   2634 _ACEOF
   2635 
   2636 # Some tools Automake needs.
   2637 
   2638 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2639 
   2640 
   2641 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2642 
   2643 
   2644 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2645 
   2646 
   2647 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2648 
   2649 
   2650 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2651 
   2652 # For better backward compatibility.  To be removed once Automake 1.9.x
   2653 # dies out for good.  For more background, see:
   2654 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2655 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2656 mkdir_p='$(MKDIR_P)'
   2657 
   2658 # We need awk for the "check" target (and possibly the TAP driver).  The
   2659 # system "awk" is bad on some platforms.
   2660 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2661 # in the wild :-(  We should find a proper way to deprecate it ...
   2662 AMTAR='$${TAR-tar}'
   2663 
   2664 
   2665 # We'll loop over all known methods to create a tar archive until one works.
   2666 _am_tools='gnutar  pax cpio none'
   2667 
   2668 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2669 
   2670 
   2671 
   2672 
   2673 
   2674 
   2675 # POSIX will say in a future version that running "rm -f" with no argument
   2676 # is OK; and we want to be able to make that assumption in our Makefile
   2677 # recipes.  So use an aggressive probe to check that the usage we want is
   2678 # actually supported "in the wild" to an acceptable degree.
   2679 # See automake bug#10828.
   2680 # To make any issue more visible, cause the running configure to be aborted
   2681 # by default if the 'rm' program in use doesn't match our expectations; the
   2682 # user can still override this though.
   2683 if rm -f && rm -fr && rm -rf; then : OK; else
   2684   cat >&2 <<'END'
   2685 Oops!
   2686 
   2687 Your 'rm' program seems unable to run without file operands specified
   2688 on the command line, even when the '-f' option is present.  This is contrary
   2689 to the behaviour of most rm programs out there, and not conforming with
   2690 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2691 
   2692 Please tell bug-automake@gnu.org about your system, including the value
   2693 of your $PATH and any error possibly output before this message.  This
   2694 can help us improve future automake versions.
   2695 
   2696 END
   2697   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2698     echo 'Configuration will proceed anyway, since you have set the' >&2
   2699     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2700     echo >&2
   2701   else
   2702     cat >&2 <<'END'
   2703 Aborting the configuration process, to ensure you take notice of the issue.
   2704 
   2705 You can download and install GNU coreutils to get an 'rm' implementation
   2706 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2707 
   2708 If you want to complete the configuration process using your problematic
   2709 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2710 to "yes", and re-run configure.
   2711 
   2712 END
   2713     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2714   fi
   2715 fi
   2716 
   2717 
   2718 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2719 
   2720 
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 DEPDIR="${am__leading_dot}deps"
   2731 
   2732 ac_config_commands="$ac_config_commands depfiles"
   2733 
   2734 
   2735 am_make=${MAKE-make}
   2736 cat > confinc << 'END'
   2737 am__doit:
   2738 	@echo this is the am__doit target
   2739 .PHONY: am__doit
   2740 END
   2741 # If we don't find an include directive, just comment out the code.
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2743 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2744 am__include="#"
   2745 am__quote=
   2746 _am_result=none
   2747 # First try GNU make style include.
   2748 echo "include confinc" > confmf
   2749 # Ignore all kinds of additional output from 'make'.
   2750 case `$am_make -s -f confmf 2> /dev/null` in #(
   2751 *the\ am__doit\ target*)
   2752   am__include=include
   2753   am__quote=
   2754   _am_result=GNU
   2755   ;;
   2756 esac
   2757 # Now try BSD make style include.
   2758 if test "$am__include" = "#"; then
   2759    echo '.include "confinc"' > confmf
   2760    case `$am_make -s -f confmf 2> /dev/null` in #(
   2761    *the\ am__doit\ target*)
   2762      am__include=.include
   2763      am__quote="\""
   2764      _am_result=BSD
   2765      ;;
   2766    esac
   2767 fi
   2768 
   2769 
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2771 $as_echo "$_am_result" >&6; }
   2772 rm -f confinc confmf
   2773 
   2774 # Check whether --enable-dependency-tracking was given.
   2775 if test "${enable_dependency_tracking+set}" = set; then :
   2776   enableval=$enable_dependency_tracking;
   2777 fi
   2778 
   2779 if test "x$enable_dependency_tracking" != xno; then
   2780   am_depcomp="$ac_aux_dir/depcomp"
   2781   AMDEPBACKSLASH='\'
   2782   am__nodep='_no'
   2783 fi
   2784  if test "x$enable_dependency_tracking" != xno; then
   2785   AMDEP_TRUE=
   2786   AMDEP_FALSE='#'
   2787 else
   2788   AMDEP_TRUE='#'
   2789   AMDEP_FALSE=
   2790 fi
   2791 
   2792 
   2793 ac_ext=c
   2794 ac_cpp='$CPP $CPPFLAGS'
   2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2798 if test -n "$ac_tool_prefix"; then
   2799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2802 $as_echo_n "checking for $ac_word... " >&6; }
   2803 if ${ac_cv_prog_CC+:} false; then :
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if test -n "$CC"; then
   2807   ac_cv_prog_CC="$CC" # Let the user override the test.
   2808 else
   2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH
   2811 do
   2812   IFS=$as_save_IFS
   2813   test -z "$as_dir" && as_dir=.
   2814     for ac_exec_ext in '' $ac_executable_extensions; do
   2815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2816     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2818     break 2
   2819   fi
   2820 done
   2821   done
   2822 IFS=$as_save_IFS
   2823 
   2824 fi
   2825 fi
   2826 CC=$ac_cv_prog_CC
   2827 if test -n "$CC"; then
   2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2829 $as_echo "$CC" >&6; }
   2830 else
   2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2832 $as_echo "no" >&6; }
   2833 fi
   2834 
   2835 
   2836 fi
   2837 if test -z "$ac_cv_prog_CC"; then
   2838   ac_ct_CC=$CC
   2839   # Extract the first word of "gcc", so it can be a program name with args.
   2840 set dummy gcc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$ac_ct_CC"; then
   2847   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2856     ac_cv_prog_ac_ct_CC="gcc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2867 if test -n "$ac_ct_CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2869 $as_echo "$ac_ct_CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875   if test "x$ac_ct_CC" = x; then
   2876     CC=""
   2877   else
   2878     case $cross_compiling:$ac_tool_warned in
   2879 yes:)
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2882 ac_tool_warned=yes ;;
   2883 esac
   2884     CC=$ac_ct_CC
   2885   fi
   2886 else
   2887   CC="$ac_cv_prog_CC"
   2888 fi
   2889 
   2890 if test -z "$CC"; then
   2891           if test -n "$ac_tool_prefix"; then
   2892     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if ${ac_cv_prog_CC+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$CC"; then
   2900   ac_cv_prog_CC="$CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2909     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 CC=$ac_cv_prog_CC
   2920 if test -n "$CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2922 $as_echo "$CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   fi
   2930 fi
   2931 if test -z "$CC"; then
   2932   # Extract the first word of "cc", so it can be a program name with args.
   2933 set dummy cc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$CC"; then
   2940   ac_cv_prog_CC="$CC" # Let the user override the test.
   2941 else
   2942   ac_prog_rejected=no
   2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2944 for as_dir in $PATH
   2945 do
   2946   IFS=$as_save_IFS
   2947   test -z "$as_dir" && as_dir=.
   2948     for ac_exec_ext in '' $ac_executable_extensions; do
   2949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2950     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2951        ac_prog_rejected=yes
   2952        continue
   2953      fi
   2954     ac_cv_prog_CC="cc"
   2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 if test $ac_prog_rejected = yes; then
   2963   # We found a bogon in the path, so make sure we never use it.
   2964   set dummy $ac_cv_prog_CC
   2965   shift
   2966   if test $# != 0; then
   2967     # We chose a different compiler from the bogus one.
   2968     # However, it has the same basename, so the bogon will be chosen
   2969     # first if we set CC to just the basename; use the full file name.
   2970     shift
   2971     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2972   fi
   2973 fi
   2974 fi
   2975 fi
   2976 CC=$ac_cv_prog_CC
   2977 if test -n "$CC"; then
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2979 $as_echo "$CC" >&6; }
   2980 else
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2982 $as_echo "no" >&6; }
   2983 fi
   2984 
   2985 
   2986 fi
   2987 if test -z "$CC"; then
   2988   if test -n "$ac_tool_prefix"; then
   2989   for ac_prog in cl.exe
   2990   do
   2991     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if ${ac_cv_prog_CC+:} false; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3008     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028     test -n "$CC" && break
   3029   done
   3030 fi
   3031 if test -z "$CC"; then
   3032   ac_ct_CC=$CC
   3033   for ac_prog in cl.exe
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$ac_ct_CC"; then
   3043   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3052     ac_cv_prog_ac_ct_CC="$ac_prog"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3063 if test -n "$ac_ct_CC"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3065 $as_echo "$ac_ct_CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$ac_ct_CC" && break
   3073 done
   3074 
   3075   if test "x$ac_ct_CC" = x; then
   3076     CC=""
   3077   else
   3078     case $cross_compiling:$ac_tool_warned in
   3079 yes:)
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3082 ac_tool_warned=yes ;;
   3083 esac
   3084     CC=$ac_ct_CC
   3085   fi
   3086 fi
   3087 
   3088 fi
   3089 
   3090 
   3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3093 as_fn_error $? "no acceptable C compiler found in \$PATH
   3094 See \`config.log' for more details" "$LINENO" 5; }
   3095 
   3096 # Provide some information about the compiler.
   3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3098 set X $ac_compile
   3099 ac_compiler=$2
   3100 for ac_option in --version -v -V -qversion; do
   3101   { { ac_try="$ac_compiler $ac_option >&5"
   3102 case "(($ac_try" in
   3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3104   *) ac_try_echo=$ac_try;;
   3105 esac
   3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3107 $as_echo "$ac_try_echo"; } >&5
   3108   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3109   ac_status=$?
   3110   if test -s conftest.err; then
   3111     sed '10a\
   3112 ... rest of stderr output deleted ...
   3113          10q' conftest.err >conftest.er1
   3114     cat conftest.er1 >&5
   3115   fi
   3116   rm -f conftest.er1 conftest.err
   3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3118   test $ac_status = 0; }
   3119 done
   3120 
   3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3122 /* end confdefs.h.  */
   3123 
   3124 int
   3125 main ()
   3126 {
   3127 
   3128   ;
   3129   return 0;
   3130 }
   3131 _ACEOF
   3132 ac_clean_files_save=$ac_clean_files
   3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3134 # Try to create an executable without -o first, disregard a.out.
   3135 # It will help us diagnose broken compilers, and finding out an intuition
   3136 # of exeext.
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3138 $as_echo_n "checking whether the C compiler works... " >&6; }
   3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3140 
   3141 # The possible output files:
   3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3143 
   3144 ac_rmfiles=
   3145 for ac_file in $ac_files
   3146 do
   3147   case $ac_file in
   3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3149     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3150   esac
   3151 done
   3152 rm -f $ac_rmfiles
   3153 
   3154 if { { ac_try="$ac_link_default"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo"; } >&5
   3161   (eval "$ac_link_default") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3164   test $ac_status = 0; }; then :
   3165   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3167 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3168 # so that the user can short-circuit this test for compilers unknown to
   3169 # Autoconf.
   3170 for ac_file in $ac_files ''
   3171 do
   3172   test -f "$ac_file" || continue
   3173   case $ac_file in
   3174     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3175 	;;
   3176     [ab].out )
   3177 	# We found the default executable, but exeext='' is most
   3178 	# certainly right.
   3179 	break;;
   3180     *.* )
   3181 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3182 	then :; else
   3183 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3184 	fi
   3185 	# We set ac_cv_exeext here because the later test for it is not
   3186 	# safe: cross compilers may not add the suffix if given an `-o'
   3187 	# argument, so we may need to know it at that point already.
   3188 	# Even if this section looks crufty: it has the advantage of
   3189 	# actually working.
   3190 	break;;
   3191     * )
   3192 	break;;
   3193   esac
   3194 done
   3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3196 
   3197 else
   3198   ac_file=''
   3199 fi
   3200 if test -z "$ac_file"; then :
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 $as_echo "no" >&6; }
   3203 $as_echo "$as_me: failed program was:" >&5
   3204 sed 's/^/| /' conftest.$ac_ext >&5
   3205 
   3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 as_fn_error 77 "C compiler cannot create executables
   3209 See \`config.log' for more details" "$LINENO" 5; }
   3210 else
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3212 $as_echo "yes" >&6; }
   3213 fi
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3217 $as_echo "$ac_file" >&6; }
   3218 ac_exeext=$ac_cv_exeext
   3219 
   3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3221 ac_clean_files=$ac_clean_files_save
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3223 $as_echo_n "checking for suffix of executables... " >&6; }
   3224 if { { ac_try="$ac_link"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo"; } >&5
   3231   (eval "$ac_link") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }; then :
   3235   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3236 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3238 # `rm'.
   3239 for ac_file in conftest.exe conftest conftest.*; do
   3240   test -f "$ac_file" || continue
   3241   case $ac_file in
   3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3243     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3244 	  break;;
   3245     * ) break;;
   3246   esac
   3247 done
   3248 else
   3249   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3252 See \`config.log' for more details" "$LINENO" 5; }
   3253 fi
   3254 rm -f conftest conftest$ac_cv_exeext
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3256 $as_echo "$ac_cv_exeext" >&6; }
   3257 
   3258 rm -f conftest.$ac_ext
   3259 EXEEXT=$ac_cv_exeext
   3260 ac_exeext=$EXEEXT
   3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3262 /* end confdefs.h.  */
   3263 #include <stdio.h>
   3264 int
   3265 main ()
   3266 {
   3267 FILE *f = fopen ("conftest.out", "w");
   3268  return ferror (f) || fclose (f) != 0;
   3269 
   3270   ;
   3271   return 0;
   3272 }
   3273 _ACEOF
   3274 ac_clean_files="$ac_clean_files conftest.out"
   3275 # Check that the compiler produces executables we can run.  If not, either
   3276 # the compiler is broken, or we cross compile.
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3279 if test "$cross_compiling" != yes; then
   3280   { { ac_try="$ac_link"
   3281 case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo"; } >&5
   3287   (eval "$ac_link") 2>&5
   3288   ac_status=$?
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }
   3291   if { ac_try='./conftest$ac_cv_exeext'
   3292   { { case "(($ac_try" in
   3293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3294   *) ac_try_echo=$ac_try;;
   3295 esac
   3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3297 $as_echo "$ac_try_echo"; } >&5
   3298   (eval "$ac_try") 2>&5
   3299   ac_status=$?
   3300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3301   test $ac_status = 0; }; }; then
   3302     cross_compiling=no
   3303   else
   3304     if test "$cross_compiling" = maybe; then
   3305 	cross_compiling=yes
   3306     else
   3307 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3309 as_fn_error $? "cannot run C compiled programs.
   3310 If you meant to cross compile, use \`--host'.
   3311 See \`config.log' for more details" "$LINENO" 5; }
   3312     fi
   3313   fi
   3314 fi
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3316 $as_echo "$cross_compiling" >&6; }
   3317 
   3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3319 ac_clean_files=$ac_clean_files_save
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3321 $as_echo_n "checking for suffix of object files... " >&6; }
   3322 if ${ac_cv_objext+:} false; then :
   3323   $as_echo_n "(cached) " >&6
   3324 else
   3325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 rm -f conftest.o conftest.obj
   3337 if { { ac_try="$ac_compile"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo"; } >&5
   3344   (eval "$ac_compile") 2>&5
   3345   ac_status=$?
   3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3347   test $ac_status = 0; }; then :
   3348   for ac_file in conftest.o conftest.obj conftest.*; do
   3349   test -f "$ac_file" || continue;
   3350   case $ac_file in
   3351     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3352     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3353        break;;
   3354   esac
   3355 done
   3356 else
   3357   $as_echo "$as_me: failed program was:" >&5
   3358 sed 's/^/| /' conftest.$ac_ext >&5
   3359 
   3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3363 See \`config.log' for more details" "$LINENO" 5; }
   3364 fi
   3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3366 fi
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3368 $as_echo "$ac_cv_objext" >&6; }
   3369 OBJEXT=$ac_cv_objext
   3370 ac_objext=$OBJEXT
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3373 if ${ac_cv_c_compiler_gnu+:} false; then :
   3374   $as_echo_n "(cached) " >&6
   3375 else
   3376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 #ifndef __GNUC__
   3383        choke me
   3384 #endif
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 if ac_fn_c_try_compile "$LINENO"; then :
   3391   ac_compiler_gnu=yes
   3392 else
   3393   ac_compiler_gnu=no
   3394 fi
   3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3397 
   3398 fi
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3401 if test $ac_compiler_gnu = yes; then
   3402   GCC=yes
   3403 else
   3404   GCC=
   3405 fi
   3406 ac_test_CFLAGS=${CFLAGS+set}
   3407 ac_save_CFLAGS=$CFLAGS
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3410 if ${ac_cv_prog_cc_g+:} false; then :
   3411   $as_echo_n "(cached) " >&6
   3412 else
   3413   ac_save_c_werror_flag=$ac_c_werror_flag
   3414    ac_c_werror_flag=yes
   3415    ac_cv_prog_cc_g=no
   3416    CFLAGS="-g"
   3417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 if ac_fn_c_try_compile "$LINENO"; then :
   3429   ac_cv_prog_cc_g=yes
   3430 else
   3431   CFLAGS=""
   3432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main ()
   3437 {
   3438 
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 if ac_fn_c_try_compile "$LINENO"; then :
   3444 
   3445 else
   3446   ac_c_werror_flag=$ac_save_c_werror_flag
   3447 	 CFLAGS="-g"
   3448 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 
   3451 int
   3452 main ()
   3453 {
   3454 
   3455   ;
   3456   return 0;
   3457 }
   3458 _ACEOF
   3459 if ac_fn_c_try_compile "$LINENO"; then :
   3460   ac_cv_prog_cc_g=yes
   3461 fi
   3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3463 fi
   3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467    ac_c_werror_flag=$ac_save_c_werror_flag
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3471 if test "$ac_test_CFLAGS" = set; then
   3472   CFLAGS=$ac_save_CFLAGS
   3473 elif test $ac_cv_prog_cc_g = yes; then
   3474   if test "$GCC" = yes; then
   3475     CFLAGS="-g -O2"
   3476   else
   3477     CFLAGS="-g"
   3478   fi
   3479 else
   3480   if test "$GCC" = yes; then
   3481     CFLAGS="-O2"
   3482   else
   3483     CFLAGS=
   3484   fi
   3485 fi
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3488 if ${ac_cv_prog_cc_c89+:} false; then :
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   ac_cv_prog_cc_c89=no
   3492 ac_save_CC=$CC
   3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 #include <stdarg.h>
   3496 #include <stdio.h>
   3497 struct stat;
   3498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3499 struct buf { int x; };
   3500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3501 static char *e (p, i)
   3502      char **p;
   3503      int i;
   3504 {
   3505   return p[i];
   3506 }
   3507 static char *f (char * (*g) (char **, int), char **p, ...)
   3508 {
   3509   char *s;
   3510   va_list v;
   3511   va_start (v,p);
   3512   s = g (p, va_arg (v,int));
   3513   va_end (v);
   3514   return s;
   3515 }
   3516 
   3517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3518    function prototypes and stuff, but not '\xHH' hex character constants.
   3519    These don't provoke an error unfortunately, instead are silently treated
   3520    as 'x'.  The following induces an error, until -std is added to get
   3521    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3522    array size at least.  It's necessary to write '\x00'==0 to get something
   3523    that's true only with -std.  */
   3524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3525 
   3526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3527    inside strings and character constants.  */
   3528 #define FOO(x) 'x'
   3529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3530 
   3531 int test (int i, double x);
   3532 struct s1 {int (*f) (int a);};
   3533 struct s2 {int (*f) (double a);};
   3534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3535 int argc;
   3536 char **argv;
   3537 int
   3538 main ()
   3539 {
   3540 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3546 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3547 do
   3548   CC="$ac_save_CC $ac_arg"
   3549   if ac_fn_c_try_compile "$LINENO"; then :
   3550   ac_cv_prog_cc_c89=$ac_arg
   3551 fi
   3552 rm -f core conftest.err conftest.$ac_objext
   3553   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3554 done
   3555 rm -f conftest.$ac_ext
   3556 CC=$ac_save_CC
   3557 
   3558 fi
   3559 # AC_CACHE_VAL
   3560 case "x$ac_cv_prog_cc_c89" in
   3561   x)
   3562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3563 $as_echo "none needed" >&6; } ;;
   3564   xno)
   3565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3566 $as_echo "unsupported" >&6; } ;;
   3567   *)
   3568     CC="$CC $ac_cv_prog_cc_c89"
   3569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3571 esac
   3572 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3573 
   3574 fi
   3575 
   3576 ac_ext=c
   3577 ac_cpp='$CPP $CPPFLAGS'
   3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3581 
   3582 ac_ext=c
   3583 ac_cpp='$CPP $CPPFLAGS'
   3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3588 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3589 if ${am_cv_prog_cc_c_o+:} false; then :
   3590   $as_echo_n "(cached) " >&6
   3591 else
   3592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3593 /* end confdefs.h.  */
   3594 
   3595 int
   3596 main ()
   3597 {
   3598 
   3599   ;
   3600   return 0;
   3601 }
   3602 _ACEOF
   3603   # Make sure it works both with $CC and with simple cc.
   3604   # Following AC_PROG_CC_C_O, we do the test twice because some
   3605   # compilers refuse to overwrite an existing .o file with -o,
   3606   # though they will create one.
   3607   am_cv_prog_cc_c_o=yes
   3608   for am_i in 1 2; do
   3609     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3610    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3611    ac_status=$?
   3612    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3613    (exit $ac_status); } \
   3614          && test -f conftest2.$ac_objext; then
   3615       : OK
   3616     else
   3617       am_cv_prog_cc_c_o=no
   3618       break
   3619     fi
   3620   done
   3621   rm -f core conftest*
   3622   unset am_i
   3623 fi
   3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3625 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3626 if test "$am_cv_prog_cc_c_o" != yes; then
   3627    # Losing compiler, so override with the script.
   3628    # FIXME: It is wrong to rewrite CC.
   3629    # But if we don't then we get into trouble of one sort or another.
   3630    # A longer-term fix would be to have automake use am__CC in this case,
   3631    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3632    CC="$am_aux_dir/compile $CC"
   3633 fi
   3634 ac_ext=c
   3635 ac_cpp='$CPP $CPPFLAGS'
   3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3639 
   3640 
   3641 depcc="$CC"   am_compiler_list=
   3642 
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3644 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3645 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3649   # We make a subdir and do the tests there.  Otherwise we can end up
   3650   # making bogus files that we don't know about and never remove.  For
   3651   # instance it was reported that on HP-UX the gcc test will end up
   3652   # making a dummy file named 'D' -- because '-MD' means "put the output
   3653   # in D".
   3654   rm -rf conftest.dir
   3655   mkdir conftest.dir
   3656   # Copy depcomp to subdir because otherwise we won't find it if we're
   3657   # using a relative directory.
   3658   cp "$am_depcomp" conftest.dir
   3659   cd conftest.dir
   3660   # We will build objects and dependencies in a subdirectory because
   3661   # it helps to detect inapplicable dependency modes.  For instance
   3662   # both Tru64's cc and ICC support -MD to output dependencies as a
   3663   # side effect of compilation, but ICC will put the dependencies in
   3664   # the current directory while Tru64 will put them in the object
   3665   # directory.
   3666   mkdir sub
   3667 
   3668   am_cv_CC_dependencies_compiler_type=none
   3669   if test "$am_compiler_list" = ""; then
   3670      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3671   fi
   3672   am__universal=false
   3673   case " $depcc " in #(
   3674      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3675      esac
   3676 
   3677   for depmode in $am_compiler_list; do
   3678     # Setup a source with many dependencies, because some compilers
   3679     # like to wrap large dependency lists on column 80 (with \), and
   3680     # we should not choose a depcomp mode which is confused by this.
   3681     #
   3682     # We need to recreate these files for each test, as the compiler may
   3683     # overwrite some of them when testing with obscure command lines.
   3684     # This happens at least with the AIX C compiler.
   3685     : > sub/conftest.c
   3686     for i in 1 2 3 4 5 6; do
   3687       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3688       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3689       # Solaris 10 /bin/sh.
   3690       echo '/* dummy */' > sub/conftst$i.h
   3691     done
   3692     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3693 
   3694     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3695     # mode.  It turns out that the SunPro C++ compiler does not properly
   3696     # handle '-M -o', and we need to detect this.  Also, some Intel
   3697     # versions had trouble with output in subdirs.
   3698     am__obj=sub/conftest.${OBJEXT-o}
   3699     am__minus_obj="-o $am__obj"
   3700     case $depmode in
   3701     gcc)
   3702       # This depmode causes a compiler race in universal mode.
   3703       test "$am__universal" = false || continue
   3704       ;;
   3705     nosideeffect)
   3706       # After this tag, mechanisms are not by side-effect, so they'll
   3707       # only be used when explicitly requested.
   3708       if test "x$enable_dependency_tracking" = xyes; then
   3709 	continue
   3710       else
   3711 	break
   3712       fi
   3713       ;;
   3714     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3715       # This compiler won't grok '-c -o', but also, the minuso test has
   3716       # not run yet.  These depmodes are late enough in the game, and
   3717       # so weak that their functioning should not be impacted.
   3718       am__obj=conftest.${OBJEXT-o}
   3719       am__minus_obj=
   3720       ;;
   3721     none) break ;;
   3722     esac
   3723     if depmode=$depmode \
   3724        source=sub/conftest.c object=$am__obj \
   3725        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3726        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3727          >/dev/null 2>conftest.err &&
   3728        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3729        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3730        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3731        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3732       # icc doesn't choke on unknown options, it will just issue warnings
   3733       # or remarks (even with -Werror).  So we grep stderr for any message
   3734       # that says an option was ignored or not supported.
   3735       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3736       #   icc: Command line warning: ignoring option '-M'; no argument required
   3737       # The diagnosis changed in icc 8.0:
   3738       #   icc: Command line remark: option '-MP' not supported
   3739       if (grep 'ignoring option' conftest.err ||
   3740           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3741         am_cv_CC_dependencies_compiler_type=$depmode
   3742         break
   3743       fi
   3744     fi
   3745   done
   3746 
   3747   cd ..
   3748   rm -rf conftest.dir
   3749 else
   3750   am_cv_CC_dependencies_compiler_type=none
   3751 fi
   3752 
   3753 fi
   3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3755 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3756 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3757 
   3758  if
   3759   test "x$enable_dependency_tracking" != xno \
   3760   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3761   am__fastdepCC_TRUE=
   3762   am__fastdepCC_FALSE='#'
   3763 else
   3764   am__fastdepCC_TRUE='#'
   3765   am__fastdepCC_FALSE=
   3766 fi
   3767 
   3768 
   3769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3770 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3771 if ${ac_cv_prog_cc_c99+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   ac_cv_prog_cc_c99=no
   3775 ac_save_CC=$CC
   3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 #include <stdarg.h>
   3779 #include <stdbool.h>
   3780 #include <stdlib.h>
   3781 #include <wchar.h>
   3782 #include <stdio.h>
   3783 
   3784 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3785 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3786 #define showlist(...) puts (#__VA_ARGS__)
   3787 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3788 static void
   3789 test_varargs_macros (void)
   3790 {
   3791   int x = 1234;
   3792   int y = 5678;
   3793   debug ("Flag");
   3794   debug ("X = %d\n", x);
   3795   showlist (The first, second, and third items.);
   3796   report (x>y, "x is %d but y is %d", x, y);
   3797 }
   3798 
   3799 // Check long long types.
   3800 #define BIG64 18446744073709551615ull
   3801 #define BIG32 4294967295ul
   3802 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3803 #if !BIG_OK
   3804   your preprocessor is broken;
   3805 #endif
   3806 #if BIG_OK
   3807 #else
   3808   your preprocessor is broken;
   3809 #endif
   3810 static long long int bignum = -9223372036854775807LL;
   3811 static unsigned long long int ubignum = BIG64;
   3812 
   3813 struct incomplete_array
   3814 {
   3815   int datasize;
   3816   double data[];
   3817 };
   3818 
   3819 struct named_init {
   3820   int number;
   3821   const wchar_t *name;
   3822   double average;
   3823 };
   3824 
   3825 typedef const char *ccp;
   3826 
   3827 static inline int
   3828 test_restrict (ccp restrict text)
   3829 {
   3830   // See if C++-style comments work.
   3831   // Iterate through items via the restricted pointer.
   3832   // Also check for declarations in for loops.
   3833   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3834     continue;
   3835   return 0;
   3836 }
   3837 
   3838 // Check varargs and va_copy.
   3839 static void
   3840 test_varargs (const char *format, ...)
   3841 {
   3842   va_list args;
   3843   va_start (args, format);
   3844   va_list args_copy;
   3845   va_copy (args_copy, args);
   3846 
   3847   const char *str;
   3848   int number;
   3849   float fnumber;
   3850 
   3851   while (*format)
   3852     {
   3853       switch (*format++)
   3854 	{
   3855 	case 's': // string
   3856 	  str = va_arg (args_copy, const char *);
   3857 	  break;
   3858 	case 'd': // int
   3859 	  number = va_arg (args_copy, int);
   3860 	  break;
   3861 	case 'f': // float
   3862 	  fnumber = va_arg (args_copy, double);
   3863 	  break;
   3864 	default:
   3865 	  break;
   3866 	}
   3867     }
   3868   va_end (args_copy);
   3869   va_end (args);
   3870 }
   3871 
   3872 int
   3873 main ()
   3874 {
   3875 
   3876   // Check bool.
   3877   _Bool success = false;
   3878 
   3879   // Check restrict.
   3880   if (test_restrict ("String literal") == 0)
   3881     success = true;
   3882   char *restrict newvar = "Another string";
   3883 
   3884   // Check varargs.
   3885   test_varargs ("s, d' f .", "string", 65, 34.234);
   3886   test_varargs_macros ();
   3887 
   3888   // Check flexible array members.
   3889   struct incomplete_array *ia =
   3890     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3891   ia->datasize = 10;
   3892   for (int i = 0; i < ia->datasize; ++i)
   3893     ia->data[i] = i * 1.234;
   3894 
   3895   // Check named initializers.
   3896   struct named_init ni = {
   3897     .number = 34,
   3898     .name = L"Test wide string",
   3899     .average = 543.34343,
   3900   };
   3901 
   3902   ni.number = 58;
   3903 
   3904   int dynamic_array[ni.number];
   3905   dynamic_array[ni.number - 1] = 543;
   3906 
   3907   // work around unused variable warnings
   3908   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3909 	  || dynamic_array[ni.number - 1] != 543);
   3910 
   3911   ;
   3912   return 0;
   3913 }
   3914 _ACEOF
   3915 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3916 do
   3917   CC="$ac_save_CC $ac_arg"
   3918   if ac_fn_c_try_compile "$LINENO"; then :
   3919   ac_cv_prog_cc_c99=$ac_arg
   3920 fi
   3921 rm -f core conftest.err conftest.$ac_objext
   3922   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3923 done
   3924 rm -f conftest.$ac_ext
   3925 CC=$ac_save_CC
   3926 
   3927 fi
   3928 # AC_CACHE_VAL
   3929 case "x$ac_cv_prog_cc_c99" in
   3930   x)
   3931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3932 $as_echo "none needed" >&6; } ;;
   3933   xno)
   3934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3935 $as_echo "unsupported" >&6; } ;;
   3936   *)
   3937     CC="$CC $ac_cv_prog_cc_c99"
   3938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3939 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3940 esac
   3941 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3942 
   3943 fi
   3944 
   3945 
   3946 
   3947 ac_ext=c
   3948 ac_cpp='$CPP $CPPFLAGS'
   3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3953 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3954 # On Suns, sometimes $CPP names a directory.
   3955 if test -n "$CPP" && test -d "$CPP"; then
   3956   CPP=
   3957 fi
   3958 if test -z "$CPP"; then
   3959   if ${ac_cv_prog_CPP+:} false; then :
   3960   $as_echo_n "(cached) " >&6
   3961 else
   3962       # Double quotes because CPP needs to be expanded
   3963     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3964     do
   3965       ac_preproc_ok=false
   3966 for ac_c_preproc_warn_flag in '' yes
   3967 do
   3968   # Use a header file that comes with gcc, so configuring glibc
   3969   # with a fresh cross-compiler works.
   3970   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3971   # <limits.h> exists even on freestanding compilers.
   3972   # On the NeXT, cc -E runs the code through the compiler's parser,
   3973   # not just through cpp. "Syntax error" is here to catch this case.
   3974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 #ifdef __STDC__
   3977 # include <limits.h>
   3978 #else
   3979 # include <assert.h>
   3980 #endif
   3981 		     Syntax error
   3982 _ACEOF
   3983 if ac_fn_c_try_cpp "$LINENO"; then :
   3984 
   3985 else
   3986   # Broken: fails on valid input.
   3987 continue
   3988 fi
   3989 rm -f conftest.err conftest.i conftest.$ac_ext
   3990 
   3991   # OK, works on sane cases.  Now check whether nonexistent headers
   3992   # can be detected and how.
   3993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3994 /* end confdefs.h.  */
   3995 #include <ac_nonexistent.h>
   3996 _ACEOF
   3997 if ac_fn_c_try_cpp "$LINENO"; then :
   3998   # Broken: success on invalid input.
   3999 continue
   4000 else
   4001   # Passes both tests.
   4002 ac_preproc_ok=:
   4003 break
   4004 fi
   4005 rm -f conftest.err conftest.i conftest.$ac_ext
   4006 
   4007 done
   4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4009 rm -f conftest.i conftest.err conftest.$ac_ext
   4010 if $ac_preproc_ok; then :
   4011   break
   4012 fi
   4013 
   4014     done
   4015     ac_cv_prog_CPP=$CPP
   4016 
   4017 fi
   4018   CPP=$ac_cv_prog_CPP
   4019 else
   4020   ac_cv_prog_CPP=$CPP
   4021 fi
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4023 $as_echo "$CPP" >&6; }
   4024 ac_preproc_ok=false
   4025 for ac_c_preproc_warn_flag in '' yes
   4026 do
   4027   # Use a header file that comes with gcc, so configuring glibc
   4028   # with a fresh cross-compiler works.
   4029   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4030   # <limits.h> exists even on freestanding compilers.
   4031   # On the NeXT, cc -E runs the code through the compiler's parser,
   4032   # not just through cpp. "Syntax error" is here to catch this case.
   4033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 #ifdef __STDC__
   4036 # include <limits.h>
   4037 #else
   4038 # include <assert.h>
   4039 #endif
   4040 		     Syntax error
   4041 _ACEOF
   4042 if ac_fn_c_try_cpp "$LINENO"; then :
   4043 
   4044 else
   4045   # Broken: fails on valid input.
   4046 continue
   4047 fi
   4048 rm -f conftest.err conftest.i conftest.$ac_ext
   4049 
   4050   # OK, works on sane cases.  Now check whether nonexistent headers
   4051   # can be detected and how.
   4052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4053 /* end confdefs.h.  */
   4054 #include <ac_nonexistent.h>
   4055 _ACEOF
   4056 if ac_fn_c_try_cpp "$LINENO"; then :
   4057   # Broken: success on invalid input.
   4058 continue
   4059 else
   4060   # Passes both tests.
   4061 ac_preproc_ok=:
   4062 break
   4063 fi
   4064 rm -f conftest.err conftest.i conftest.$ac_ext
   4065 
   4066 done
   4067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4068 rm -f conftest.i conftest.err conftest.$ac_ext
   4069 if $ac_preproc_ok; then :
   4070 
   4071 else
   4072   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4074 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4075 See \`config.log' for more details" "$LINENO" 5; }
   4076 fi
   4077 
   4078 ac_ext=c
   4079 ac_cpp='$CPP $CPPFLAGS'
   4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4083 
   4084 
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4086 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4087 if ${ac_cv_path_GREP+:} false; then :
   4088   $as_echo_n "(cached) " >&6
   4089 else
   4090   if test -z "$GREP"; then
   4091   ac_path_GREP_found=false
   4092   # Loop through the user's path and test for each of PROGNAME-LIST
   4093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4095 do
   4096   IFS=$as_save_IFS
   4097   test -z "$as_dir" && as_dir=.
   4098     for ac_prog in grep ggrep; do
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4101       as_fn_executable_p "$ac_path_GREP" || continue
   4102 # Check for GNU ac_path_GREP and select it if it is found.
   4103   # Check for GNU $ac_path_GREP
   4104 case `"$ac_path_GREP" --version 2>&1` in
   4105 *GNU*)
   4106   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4107 *)
   4108   ac_count=0
   4109   $as_echo_n 0123456789 >"conftest.in"
   4110   while :
   4111   do
   4112     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4113     mv "conftest.tmp" "conftest.in"
   4114     cp "conftest.in" "conftest.nl"
   4115     $as_echo 'GREP' >> "conftest.nl"
   4116     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4118     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4119     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4120       # Best one so far, save it but keep looking for a better one
   4121       ac_cv_path_GREP="$ac_path_GREP"
   4122       ac_path_GREP_max=$ac_count
   4123     fi
   4124     # 10*(2^10) chars as input seems more than enough
   4125     test $ac_count -gt 10 && break
   4126   done
   4127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4128 esac
   4129 
   4130       $ac_path_GREP_found && break 3
   4131     done
   4132   done
   4133   done
   4134 IFS=$as_save_IFS
   4135   if test -z "$ac_cv_path_GREP"; then
   4136     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4137   fi
   4138 else
   4139   ac_cv_path_GREP=$GREP
   4140 fi
   4141 
   4142 fi
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4144 $as_echo "$ac_cv_path_GREP" >&6; }
   4145  GREP="$ac_cv_path_GREP"
   4146 
   4147 
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4149 $as_echo_n "checking for egrep... " >&6; }
   4150 if ${ac_cv_path_EGREP+:} false; then :
   4151   $as_echo_n "(cached) " >&6
   4152 else
   4153   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4154    then ac_cv_path_EGREP="$GREP -E"
   4155    else
   4156      if test -z "$EGREP"; then
   4157   ac_path_EGREP_found=false
   4158   # Loop through the user's path and test for each of PROGNAME-LIST
   4159   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4161 do
   4162   IFS=$as_save_IFS
   4163   test -z "$as_dir" && as_dir=.
   4164     for ac_prog in egrep; do
   4165     for ac_exec_ext in '' $ac_executable_extensions; do
   4166       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4167       as_fn_executable_p "$ac_path_EGREP" || continue
   4168 # Check for GNU ac_path_EGREP and select it if it is found.
   4169   # Check for GNU $ac_path_EGREP
   4170 case `"$ac_path_EGREP" --version 2>&1` in
   4171 *GNU*)
   4172   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4173 *)
   4174   ac_count=0
   4175   $as_echo_n 0123456789 >"conftest.in"
   4176   while :
   4177   do
   4178     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4179     mv "conftest.tmp" "conftest.in"
   4180     cp "conftest.in" "conftest.nl"
   4181     $as_echo 'EGREP' >> "conftest.nl"
   4182     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4183     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4184     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4185     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4186       # Best one so far, save it but keep looking for a better one
   4187       ac_cv_path_EGREP="$ac_path_EGREP"
   4188       ac_path_EGREP_max=$ac_count
   4189     fi
   4190     # 10*(2^10) chars as input seems more than enough
   4191     test $ac_count -gt 10 && break
   4192   done
   4193   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4194 esac
   4195 
   4196       $ac_path_EGREP_found && break 3
   4197     done
   4198   done
   4199   done
   4200 IFS=$as_save_IFS
   4201   if test -z "$ac_cv_path_EGREP"; then
   4202     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4203   fi
   4204 else
   4205   ac_cv_path_EGREP=$EGREP
   4206 fi
   4207 
   4208    fi
   4209 fi
   4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4211 $as_echo "$ac_cv_path_EGREP" >&6; }
   4212  EGREP="$ac_cv_path_EGREP"
   4213 
   4214 
   4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4216 $as_echo_n "checking for ANSI C header files... " >&6; }
   4217 if ${ac_cv_header_stdc+:} false; then :
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4221 /* end confdefs.h.  */
   4222 #include <stdlib.h>
   4223 #include <stdarg.h>
   4224 #include <string.h>
   4225 #include <float.h>
   4226 
   4227 int
   4228 main ()
   4229 {
   4230 
   4231   ;
   4232   return 0;
   4233 }
   4234 _ACEOF
   4235 if ac_fn_c_try_compile "$LINENO"; then :
   4236   ac_cv_header_stdc=yes
   4237 else
   4238   ac_cv_header_stdc=no
   4239 fi
   4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4241 
   4242 if test $ac_cv_header_stdc = yes; then
   4243   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #include <string.h>
   4247 
   4248 _ACEOF
   4249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4250   $EGREP "memchr" >/dev/null 2>&1; then :
   4251 
   4252 else
   4253   ac_cv_header_stdc=no
   4254 fi
   4255 rm -f conftest*
   4256 
   4257 fi
   4258 
   4259 if test $ac_cv_header_stdc = yes; then
   4260   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4262 /* end confdefs.h.  */
   4263 #include <stdlib.h>
   4264 
   4265 _ACEOF
   4266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4267   $EGREP "free" >/dev/null 2>&1; then :
   4268 
   4269 else
   4270   ac_cv_header_stdc=no
   4271 fi
   4272 rm -f conftest*
   4273 
   4274 fi
   4275 
   4276 if test $ac_cv_header_stdc = yes; then
   4277   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4278   if test "$cross_compiling" = yes; then :
   4279   :
   4280 else
   4281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4282 /* end confdefs.h.  */
   4283 #include <ctype.h>
   4284 #include <stdlib.h>
   4285 #if ((' ' & 0x0FF) == 0x020)
   4286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4288 #else
   4289 # define ISLOWER(c) \
   4290 		   (('a' <= (c) && (c) <= 'i') \
   4291 		     || ('j' <= (c) && (c) <= 'r') \
   4292 		     || ('s' <= (c) && (c) <= 'z'))
   4293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4294 #endif
   4295 
   4296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4297 int
   4298 main ()
   4299 {
   4300   int i;
   4301   for (i = 0; i < 256; i++)
   4302     if (XOR (islower (i), ISLOWER (i))
   4303 	|| toupper (i) != TOUPPER (i))
   4304       return 2;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308 if ac_fn_c_try_run "$LINENO"; then :
   4309 
   4310 else
   4311   ac_cv_header_stdc=no
   4312 fi
   4313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4314   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4315 fi
   4316 
   4317 fi
   4318 fi
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4320 $as_echo "$ac_cv_header_stdc" >&6; }
   4321 if test $ac_cv_header_stdc = yes; then
   4322 
   4323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4324 
   4325 fi
   4326 
   4327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4329 		  inttypes.h stdint.h unistd.h
   4330 do :
   4331   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4333 "
   4334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4335   cat >>confdefs.h <<_ACEOF
   4336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4337 _ACEOF
   4338 
   4339 fi
   4340 
   4341 done
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4349 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4350   CLANGCC="yes"
   4351 else
   4352   CLANGCC="no"
   4353 fi
   4354 
   4355 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4356 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4357   INTELCC="yes"
   4358 else
   4359   INTELCC="no"
   4360 fi
   4361 
   4362 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4363 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4364   SUNCC="yes"
   4365 else
   4366   SUNCC="no"
   4367 fi
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4378 	if test -n "$ac_tool_prefix"; then
   4379   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4380 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4382 $as_echo_n "checking for $ac_word... " >&6; }
   4383 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4384   $as_echo_n "(cached) " >&6
   4385 else
   4386   case $PKG_CONFIG in
   4387   [\\/]* | ?:[\\/]*)
   4388   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4389   ;;
   4390   *)
   4391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4392 for as_dir in $PATH
   4393 do
   4394   IFS=$as_save_IFS
   4395   test -z "$as_dir" && as_dir=.
   4396     for ac_exec_ext in '' $ac_executable_extensions; do
   4397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4398     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4400     break 2
   4401   fi
   4402 done
   4403   done
   4404 IFS=$as_save_IFS
   4405 
   4406   ;;
   4407 esac
   4408 fi
   4409 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4410 if test -n "$PKG_CONFIG"; then
   4411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4412 $as_echo "$PKG_CONFIG" >&6; }
   4413 else
   4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4415 $as_echo "no" >&6; }
   4416 fi
   4417 
   4418 
   4419 fi
   4420 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4421   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4422   # Extract the first word of "pkg-config", so it can be a program name with args.
   4423 set dummy pkg-config; ac_word=$2
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4425 $as_echo_n "checking for $ac_word... " >&6; }
   4426 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4427   $as_echo_n "(cached) " >&6
   4428 else
   4429   case $ac_pt_PKG_CONFIG in
   4430   [\\/]* | ?:[\\/]*)
   4431   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4432   ;;
   4433   *)
   4434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4435 for as_dir in $PATH
   4436 do
   4437   IFS=$as_save_IFS
   4438   test -z "$as_dir" && as_dir=.
   4439     for ac_exec_ext in '' $ac_executable_extensions; do
   4440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4441     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4443     break 2
   4444   fi
   4445 done
   4446   done
   4447 IFS=$as_save_IFS
   4448 
   4449   ;;
   4450 esac
   4451 fi
   4452 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4453 if test -n "$ac_pt_PKG_CONFIG"; then
   4454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4455 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4456 else
   4457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4458 $as_echo "no" >&6; }
   4459 fi
   4460 
   4461   if test "x$ac_pt_PKG_CONFIG" = x; then
   4462     PKG_CONFIG=""
   4463   else
   4464     case $cross_compiling:$ac_tool_warned in
   4465 yes:)
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4468 ac_tool_warned=yes ;;
   4469 esac
   4470     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4471   fi
   4472 else
   4473   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4474 fi
   4475 
   4476 fi
   4477 if test -n "$PKG_CONFIG"; then
   4478 	_pkg_min_version=0.9.0
   4479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4480 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4481 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4483 $as_echo "yes" >&6; }
   4484 	else
   4485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4486 $as_echo "no" >&6; }
   4487 		PKG_CONFIG=""
   4488 	fi
   4489 fi
   4490 # Make sure we can run config.sub.
   4491 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4492   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4493 
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4495 $as_echo_n "checking build system type... " >&6; }
   4496 if ${ac_cv_build+:} false; then :
   4497   $as_echo_n "(cached) " >&6
   4498 else
   4499   ac_build_alias=$build_alias
   4500 test "x$ac_build_alias" = x &&
   4501   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4502 test "x$ac_build_alias" = x &&
   4503   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4504 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4505   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4506 
   4507 fi
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4509 $as_echo "$ac_cv_build" >&6; }
   4510 case $ac_cv_build in
   4511 *-*-*) ;;
   4512 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4513 esac
   4514 build=$ac_cv_build
   4515 ac_save_IFS=$IFS; IFS='-'
   4516 set x $ac_cv_build
   4517 shift
   4518 build_cpu=$1
   4519 build_vendor=$2
   4520 shift; shift
   4521 # Remember, the first character of IFS is used to create $*,
   4522 # except with old shells:
   4523 build_os=$*
   4524 IFS=$ac_save_IFS
   4525 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4526 
   4527 
   4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4529 $as_echo_n "checking host system type... " >&6; }
   4530 if ${ac_cv_host+:} false; then :
   4531   $as_echo_n "(cached) " >&6
   4532 else
   4533   if test "x$host_alias" = x; then
   4534   ac_cv_host=$ac_cv_build
   4535 else
   4536   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4537     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4538 fi
   4539 
   4540 fi
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4542 $as_echo "$ac_cv_host" >&6; }
   4543 case $ac_cv_host in
   4544 *-*-*) ;;
   4545 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4546 esac
   4547 host=$ac_cv_host
   4548 ac_save_IFS=$IFS; IFS='-'
   4549 set x $ac_cv_host
   4550 shift
   4551 host_cpu=$1
   4552 host_vendor=$2
   4553 shift; shift
   4554 # Remember, the first character of IFS is used to create $*,
   4555 # except with old shells:
   4556 host_os=$*
   4557 IFS=$ac_save_IFS
   4558 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4559 
   4560 
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4562 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4563 if ${ac_cv_path_SED+:} false; then :
   4564   $as_echo_n "(cached) " >&6
   4565 else
   4566             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4567      for ac_i in 1 2 3 4 5 6 7; do
   4568        ac_script="$ac_script$as_nl$ac_script"
   4569      done
   4570      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4571      { ac_script=; unset ac_script;}
   4572      if test -z "$SED"; then
   4573   ac_path_SED_found=false
   4574   # Loop through the user's path and test for each of PROGNAME-LIST
   4575   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4576 for as_dir in $PATH
   4577 do
   4578   IFS=$as_save_IFS
   4579   test -z "$as_dir" && as_dir=.
   4580     for ac_prog in sed gsed; do
   4581     for ac_exec_ext in '' $ac_executable_extensions; do
   4582       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4583       as_fn_executable_p "$ac_path_SED" || continue
   4584 # Check for GNU ac_path_SED and select it if it is found.
   4585   # Check for GNU $ac_path_SED
   4586 case `"$ac_path_SED" --version 2>&1` in
   4587 *GNU*)
   4588   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4589 *)
   4590   ac_count=0
   4591   $as_echo_n 0123456789 >"conftest.in"
   4592   while :
   4593   do
   4594     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4595     mv "conftest.tmp" "conftest.in"
   4596     cp "conftest.in" "conftest.nl"
   4597     $as_echo '' >> "conftest.nl"
   4598     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4599     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4600     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4601     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4602       # Best one so far, save it but keep looking for a better one
   4603       ac_cv_path_SED="$ac_path_SED"
   4604       ac_path_SED_max=$ac_count
   4605     fi
   4606     # 10*(2^10) chars as input seems more than enough
   4607     test $ac_count -gt 10 && break
   4608   done
   4609   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4610 esac
   4611 
   4612       $ac_path_SED_found && break 3
   4613     done
   4614   done
   4615   done
   4616 IFS=$as_save_IFS
   4617   if test -z "$ac_cv_path_SED"; then
   4618     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4619   fi
   4620 else
   4621   ac_cv_path_SED=$SED
   4622 fi
   4623 
   4624 fi
   4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4626 $as_echo "$ac_cv_path_SED" >&6; }
   4627  SED="$ac_cv_path_SED"
   4628   rm -f conftest.sed
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 # Check whether --enable-selective-werror was given.
   4636 if test "${enable_selective_werror+set}" = set; then :
   4637   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4638 else
   4639   SELECTIVE_WERROR=yes
   4640 fi
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4647 if test "x$SUNCC" = "xyes"; then
   4648     BASE_CFLAGS="-v"
   4649 else
   4650     BASE_CFLAGS=""
   4651 fi
   4652 
   4653 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 xorg_testset_save_CFLAGS="$CFLAGS"
   4668 
   4669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4674   $as_echo_n "(cached) " >&6
   4675 else
   4676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4677 /* end confdefs.h.  */
   4678 int i;
   4679 _ACEOF
   4680 if ac_fn_c_try_compile "$LINENO"; then :
   4681   xorg_cv_cc_flag_unknown_warning_option=yes
   4682 else
   4683   xorg_cv_cc_flag_unknown_warning_option=no
   4684 fi
   4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4686 fi
   4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4690 	CFLAGS="$xorg_testset_save_CFLAGS"
   4691 fi
   4692 
   4693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4696 	fi
   4697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4701   $as_echo_n "(cached) " >&6
   4702 else
   4703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4704 /* end confdefs.h.  */
   4705 int i;
   4706 _ACEOF
   4707 if ac_fn_c_try_compile "$LINENO"; then :
   4708   xorg_cv_cc_flag_unused_command_line_argument=yes
   4709 else
   4710   xorg_cv_cc_flag_unused_command_line_argument=no
   4711 fi
   4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4717 	CFLAGS="$xorg_testset_save_CFLAGS"
   4718 fi
   4719 
   4720 found="no"
   4721 
   4722 	if test $found = "no" ; then
   4723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4725 		fi
   4726 
   4727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4729 		fi
   4730 
   4731 		CFLAGS="$CFLAGS -Wall"
   4732 
   4733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4734 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4735 		cacheid=xorg_cv_cc_flag__Wall
   4736 		if eval \${$cacheid+:} false; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4740 /* end confdefs.h.  */
   4741 int i;
   4742 int
   4743 main ()
   4744 {
   4745 
   4746   ;
   4747   return 0;
   4748 }
   4749 _ACEOF
   4750 if ac_fn_c_try_link "$LINENO"; then :
   4751   eval $cacheid=yes
   4752 else
   4753   eval $cacheid=no
   4754 fi
   4755 rm -f core conftest.err conftest.$ac_objext \
   4756     conftest$ac_exeext conftest.$ac_ext
   4757 fi
   4758 
   4759 
   4760 		CFLAGS="$xorg_testset_save_CFLAGS"
   4761 
   4762 		eval supported=\$$cacheid
   4763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4764 $as_echo "$supported" >&6; }
   4765 		if test "$supported" = "yes" ; then
   4766 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4767 			found="yes"
   4768 		fi
   4769 	fi
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 xorg_testset_save_CFLAGS="$CFLAGS"
   4786 
   4787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4792   $as_echo_n "(cached) " >&6
   4793 else
   4794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4795 /* end confdefs.h.  */
   4796 int i;
   4797 _ACEOF
   4798 if ac_fn_c_try_compile "$LINENO"; then :
   4799   xorg_cv_cc_flag_unknown_warning_option=yes
   4800 else
   4801   xorg_cv_cc_flag_unknown_warning_option=no
   4802 fi
   4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4804 fi
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4808 	CFLAGS="$xorg_testset_save_CFLAGS"
   4809 fi
   4810 
   4811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4814 	fi
   4815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4819   $as_echo_n "(cached) " >&6
   4820 else
   4821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4822 /* end confdefs.h.  */
   4823 int i;
   4824 _ACEOF
   4825 if ac_fn_c_try_compile "$LINENO"; then :
   4826   xorg_cv_cc_flag_unused_command_line_argument=yes
   4827 else
   4828   xorg_cv_cc_flag_unused_command_line_argument=no
   4829 fi
   4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4831 fi
   4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4835 	CFLAGS="$xorg_testset_save_CFLAGS"
   4836 fi
   4837 
   4838 found="no"
   4839 
   4840 	if test $found = "no" ; then
   4841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4843 		fi
   4844 
   4845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4847 		fi
   4848 
   4849 		CFLAGS="$CFLAGS -Wpointer-arith"
   4850 
   4851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4852 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4853 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4854 		if eval \${$cacheid+:} false; then :
   4855   $as_echo_n "(cached) " >&6
   4856 else
   4857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4858 /* end confdefs.h.  */
   4859 int i;
   4860 int
   4861 main ()
   4862 {
   4863 
   4864   ;
   4865   return 0;
   4866 }
   4867 _ACEOF
   4868 if ac_fn_c_try_link "$LINENO"; then :
   4869   eval $cacheid=yes
   4870 else
   4871   eval $cacheid=no
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext \
   4874     conftest$ac_exeext conftest.$ac_ext
   4875 fi
   4876 
   4877 
   4878 		CFLAGS="$xorg_testset_save_CFLAGS"
   4879 
   4880 		eval supported=\$$cacheid
   4881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4882 $as_echo "$supported" >&6; }
   4883 		if test "$supported" = "yes" ; then
   4884 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4885 			found="yes"
   4886 		fi
   4887 	fi
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 xorg_testset_save_CFLAGS="$CFLAGS"
   4904 
   4905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4910   $as_echo_n "(cached) " >&6
   4911 else
   4912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4913 /* end confdefs.h.  */
   4914 int i;
   4915 _ACEOF
   4916 if ac_fn_c_try_compile "$LINENO"; then :
   4917   xorg_cv_cc_flag_unknown_warning_option=yes
   4918 else
   4919   xorg_cv_cc_flag_unknown_warning_option=no
   4920 fi
   4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4922 fi
   4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4926 	CFLAGS="$xorg_testset_save_CFLAGS"
   4927 fi
   4928 
   4929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4932 	fi
   4933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4937   $as_echo_n "(cached) " >&6
   4938 else
   4939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4940 /* end confdefs.h.  */
   4941 int i;
   4942 _ACEOF
   4943 if ac_fn_c_try_compile "$LINENO"; then :
   4944   xorg_cv_cc_flag_unused_command_line_argument=yes
   4945 else
   4946   xorg_cv_cc_flag_unused_command_line_argument=no
   4947 fi
   4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4949 fi
   4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4953 	CFLAGS="$xorg_testset_save_CFLAGS"
   4954 fi
   4955 
   4956 found="no"
   4957 
   4958 	if test $found = "no" ; then
   4959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4961 		fi
   4962 
   4963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4965 		fi
   4966 
   4967 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4968 
   4969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4970 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4971 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4972 		if eval \${$cacheid+:} false; then :
   4973   $as_echo_n "(cached) " >&6
   4974 else
   4975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4976 /* end confdefs.h.  */
   4977 int i;
   4978 int
   4979 main ()
   4980 {
   4981 
   4982   ;
   4983   return 0;
   4984 }
   4985 _ACEOF
   4986 if ac_fn_c_try_link "$LINENO"; then :
   4987   eval $cacheid=yes
   4988 else
   4989   eval $cacheid=no
   4990 fi
   4991 rm -f core conftest.err conftest.$ac_objext \
   4992     conftest$ac_exeext conftest.$ac_ext
   4993 fi
   4994 
   4995 
   4996 		CFLAGS="$xorg_testset_save_CFLAGS"
   4997 
   4998 		eval supported=\$$cacheid
   4999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5000 $as_echo "$supported" >&6; }
   5001 		if test "$supported" = "yes" ; then
   5002 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5003 			found="yes"
   5004 		fi
   5005 	fi
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 xorg_testset_save_CFLAGS="$CFLAGS"
   5022 
   5023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5028   $as_echo_n "(cached) " >&6
   5029 else
   5030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5031 /* end confdefs.h.  */
   5032 int i;
   5033 _ACEOF
   5034 if ac_fn_c_try_compile "$LINENO"; then :
   5035   xorg_cv_cc_flag_unknown_warning_option=yes
   5036 else
   5037   xorg_cv_cc_flag_unknown_warning_option=no
   5038 fi
   5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5040 fi
   5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5044 	CFLAGS="$xorg_testset_save_CFLAGS"
   5045 fi
   5046 
   5047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5050 	fi
   5051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5055   $as_echo_n "(cached) " >&6
   5056 else
   5057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5058 /* end confdefs.h.  */
   5059 int i;
   5060 _ACEOF
   5061 if ac_fn_c_try_compile "$LINENO"; then :
   5062   xorg_cv_cc_flag_unused_command_line_argument=yes
   5063 else
   5064   xorg_cv_cc_flag_unused_command_line_argument=no
   5065 fi
   5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5067 fi
   5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5071 	CFLAGS="$xorg_testset_save_CFLAGS"
   5072 fi
   5073 
   5074 found="no"
   5075 
   5076 	if test $found = "no" ; then
   5077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5079 		fi
   5080 
   5081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5083 		fi
   5084 
   5085 		CFLAGS="$CFLAGS -Wformat=2"
   5086 
   5087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5088 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5089 		cacheid=xorg_cv_cc_flag__Wformat_2
   5090 		if eval \${$cacheid+:} false; then :
   5091   $as_echo_n "(cached) " >&6
   5092 else
   5093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5094 /* end confdefs.h.  */
   5095 int i;
   5096 int
   5097 main ()
   5098 {
   5099 
   5100   ;
   5101   return 0;
   5102 }
   5103 _ACEOF
   5104 if ac_fn_c_try_link "$LINENO"; then :
   5105   eval $cacheid=yes
   5106 else
   5107   eval $cacheid=no
   5108 fi
   5109 rm -f core conftest.err conftest.$ac_objext \
   5110     conftest$ac_exeext conftest.$ac_ext
   5111 fi
   5112 
   5113 
   5114 		CFLAGS="$xorg_testset_save_CFLAGS"
   5115 
   5116 		eval supported=\$$cacheid
   5117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5118 $as_echo "$supported" >&6; }
   5119 		if test "$supported" = "yes" ; then
   5120 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5121 			found="yes"
   5122 		fi
   5123 	fi
   5124 
   5125 	if test $found = "no" ; then
   5126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5128 		fi
   5129 
   5130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5132 		fi
   5133 
   5134 		CFLAGS="$CFLAGS -Wformat"
   5135 
   5136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5137 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5138 		cacheid=xorg_cv_cc_flag__Wformat
   5139 		if eval \${$cacheid+:} false; then :
   5140   $as_echo_n "(cached) " >&6
   5141 else
   5142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5143 /* end confdefs.h.  */
   5144 int i;
   5145 int
   5146 main ()
   5147 {
   5148 
   5149   ;
   5150   return 0;
   5151 }
   5152 _ACEOF
   5153 if ac_fn_c_try_link "$LINENO"; then :
   5154   eval $cacheid=yes
   5155 else
   5156   eval $cacheid=no
   5157 fi
   5158 rm -f core conftest.err conftest.$ac_objext \
   5159     conftest$ac_exeext conftest.$ac_ext
   5160 fi
   5161 
   5162 
   5163 		CFLAGS="$xorg_testset_save_CFLAGS"
   5164 
   5165 		eval supported=\$$cacheid
   5166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5167 $as_echo "$supported" >&6; }
   5168 		if test "$supported" = "yes" ; then
   5169 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5170 			found="yes"
   5171 		fi
   5172 	fi
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 xorg_testset_save_CFLAGS="$CFLAGS"
   5191 
   5192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5195 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5196 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 int i;
   5202 _ACEOF
   5203 if ac_fn_c_try_compile "$LINENO"; then :
   5204   xorg_cv_cc_flag_unknown_warning_option=yes
   5205 else
   5206   xorg_cv_cc_flag_unknown_warning_option=no
   5207 fi
   5208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5209 fi
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5211 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5213 	CFLAGS="$xorg_testset_save_CFLAGS"
   5214 fi
   5215 
   5216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5219 	fi
   5220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5222 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5223 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5230 if ac_fn_c_try_compile "$LINENO"; then :
   5231   xorg_cv_cc_flag_unused_command_line_argument=yes
   5232 else
   5233   xorg_cv_cc_flag_unused_command_line_argument=no
   5234 fi
   5235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5236 fi
   5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5238 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5240 	CFLAGS="$xorg_testset_save_CFLAGS"
   5241 fi
   5242 
   5243 found="no"
   5244 
   5245 	if test $found = "no" ; then
   5246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5248 		fi
   5249 
   5250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5252 		fi
   5253 
   5254 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5255 
   5256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5257 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5258 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5259 		if eval \${$cacheid+:} false; then :
   5260   $as_echo_n "(cached) " >&6
   5261 else
   5262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5263 /* end confdefs.h.  */
   5264 int i;
   5265 int
   5266 main ()
   5267 {
   5268 
   5269   ;
   5270   return 0;
   5271 }
   5272 _ACEOF
   5273 if ac_fn_c_try_link "$LINENO"; then :
   5274   eval $cacheid=yes
   5275 else
   5276   eval $cacheid=no
   5277 fi
   5278 rm -f core conftest.err conftest.$ac_objext \
   5279     conftest$ac_exeext conftest.$ac_ext
   5280 fi
   5281 
   5282 
   5283 		CFLAGS="$xorg_testset_save_CFLAGS"
   5284 
   5285 		eval supported=\$$cacheid
   5286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5287 $as_echo "$supported" >&6; }
   5288 		if test "$supported" = "yes" ; then
   5289 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5290 			found="yes"
   5291 		fi
   5292 	fi
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 xorg_testset_save_CFLAGS="$CFLAGS"
   5309 
   5310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5314 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5315   $as_echo_n "(cached) " >&6
   5316 else
   5317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5318 /* end confdefs.h.  */
   5319 int i;
   5320 _ACEOF
   5321 if ac_fn_c_try_compile "$LINENO"; then :
   5322   xorg_cv_cc_flag_unknown_warning_option=yes
   5323 else
   5324   xorg_cv_cc_flag_unknown_warning_option=no
   5325 fi
   5326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5327 fi
   5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5329 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5331 	CFLAGS="$xorg_testset_save_CFLAGS"
   5332 fi
   5333 
   5334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5337 	fi
   5338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5340 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5341 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5342   $as_echo_n "(cached) " >&6
   5343 else
   5344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5345 /* end confdefs.h.  */
   5346 int i;
   5347 _ACEOF
   5348 if ac_fn_c_try_compile "$LINENO"; then :
   5349   xorg_cv_cc_flag_unused_command_line_argument=yes
   5350 else
   5351   xorg_cv_cc_flag_unused_command_line_argument=no
   5352 fi
   5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5354 fi
   5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5356 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5358 	CFLAGS="$xorg_testset_save_CFLAGS"
   5359 fi
   5360 
   5361 found="no"
   5362 
   5363 	if test $found = "no" ; then
   5364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5366 		fi
   5367 
   5368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5370 		fi
   5371 
   5372 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5373 
   5374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5375 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5376 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5377 		if eval \${$cacheid+:} false; then :
   5378   $as_echo_n "(cached) " >&6
   5379 else
   5380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5381 /* end confdefs.h.  */
   5382 int i;
   5383 int
   5384 main ()
   5385 {
   5386 
   5387   ;
   5388   return 0;
   5389 }
   5390 _ACEOF
   5391 if ac_fn_c_try_link "$LINENO"; then :
   5392   eval $cacheid=yes
   5393 else
   5394   eval $cacheid=no
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext \
   5397     conftest$ac_exeext conftest.$ac_ext
   5398 fi
   5399 
   5400 
   5401 		CFLAGS="$xorg_testset_save_CFLAGS"
   5402 
   5403 		eval supported=\$$cacheid
   5404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5405 $as_echo "$supported" >&6; }
   5406 		if test "$supported" = "yes" ; then
   5407 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5408 			found="yes"
   5409 		fi
   5410 	fi
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 xorg_testset_save_CFLAGS="$CFLAGS"
   5427 
   5428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5436 /* end confdefs.h.  */
   5437 int i;
   5438 _ACEOF
   5439 if ac_fn_c_try_compile "$LINENO"; then :
   5440   xorg_cv_cc_flag_unknown_warning_option=yes
   5441 else
   5442   xorg_cv_cc_flag_unknown_warning_option=no
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5445 fi
   5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5449 	CFLAGS="$xorg_testset_save_CFLAGS"
   5450 fi
   5451 
   5452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5455 	fi
   5456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5460   $as_echo_n "(cached) " >&6
   5461 else
   5462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5463 /* end confdefs.h.  */
   5464 int i;
   5465 _ACEOF
   5466 if ac_fn_c_try_compile "$LINENO"; then :
   5467   xorg_cv_cc_flag_unused_command_line_argument=yes
   5468 else
   5469   xorg_cv_cc_flag_unused_command_line_argument=no
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5472 fi
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5476 	CFLAGS="$xorg_testset_save_CFLAGS"
   5477 fi
   5478 
   5479 found="no"
   5480 
   5481 	if test $found = "no" ; then
   5482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5484 		fi
   5485 
   5486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5488 		fi
   5489 
   5490 		CFLAGS="$CFLAGS -Wnested-externs"
   5491 
   5492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5493 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5494 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5495 		if eval \${$cacheid+:} false; then :
   5496   $as_echo_n "(cached) " >&6
   5497 else
   5498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5499 /* end confdefs.h.  */
   5500 int i;
   5501 int
   5502 main ()
   5503 {
   5504 
   5505   ;
   5506   return 0;
   5507 }
   5508 _ACEOF
   5509 if ac_fn_c_try_link "$LINENO"; then :
   5510   eval $cacheid=yes
   5511 else
   5512   eval $cacheid=no
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext \
   5515     conftest$ac_exeext conftest.$ac_ext
   5516 fi
   5517 
   5518 
   5519 		CFLAGS="$xorg_testset_save_CFLAGS"
   5520 
   5521 		eval supported=\$$cacheid
   5522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5523 $as_echo "$supported" >&6; }
   5524 		if test "$supported" = "yes" ; then
   5525 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5526 			found="yes"
   5527 		fi
   5528 	fi
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 xorg_testset_save_CFLAGS="$CFLAGS"
   5545 
   5546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5549 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5550 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5551   $as_echo_n "(cached) " >&6
   5552 else
   5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 _ACEOF
   5557 if ac_fn_c_try_compile "$LINENO"; then :
   5558   xorg_cv_cc_flag_unknown_warning_option=yes
   5559 else
   5560   xorg_cv_cc_flag_unknown_warning_option=no
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5563 fi
   5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5565 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5567 	CFLAGS="$xorg_testset_save_CFLAGS"
   5568 fi
   5569 
   5570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 	fi
   5574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5576 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5577 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5578   $as_echo_n "(cached) " >&6
   5579 else
   5580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5581 /* end confdefs.h.  */
   5582 int i;
   5583 _ACEOF
   5584 if ac_fn_c_try_compile "$LINENO"; then :
   5585   xorg_cv_cc_flag_unused_command_line_argument=yes
   5586 else
   5587   xorg_cv_cc_flag_unused_command_line_argument=no
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5590 fi
   5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5592 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5594 	CFLAGS="$xorg_testset_save_CFLAGS"
   5595 fi
   5596 
   5597 found="no"
   5598 
   5599 	if test $found = "no" ; then
   5600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5602 		fi
   5603 
   5604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5606 		fi
   5607 
   5608 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5609 
   5610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5611 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5612 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5613 		if eval \${$cacheid+:} false; then :
   5614   $as_echo_n "(cached) " >&6
   5615 else
   5616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5617 /* end confdefs.h.  */
   5618 int i;
   5619 int
   5620 main ()
   5621 {
   5622 
   5623   ;
   5624   return 0;
   5625 }
   5626 _ACEOF
   5627 if ac_fn_c_try_link "$LINENO"; then :
   5628   eval $cacheid=yes
   5629 else
   5630   eval $cacheid=no
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext \
   5633     conftest$ac_exeext conftest.$ac_ext
   5634 fi
   5635 
   5636 
   5637 		CFLAGS="$xorg_testset_save_CFLAGS"
   5638 
   5639 		eval supported=\$$cacheid
   5640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5641 $as_echo "$supported" >&6; }
   5642 		if test "$supported" = "yes" ; then
   5643 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5644 			found="yes"
   5645 		fi
   5646 	fi
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 xorg_testset_save_CFLAGS="$CFLAGS"
   5663 
   5664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5667 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5668 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5669   $as_echo_n "(cached) " >&6
   5670 else
   5671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 int i;
   5674 _ACEOF
   5675 if ac_fn_c_try_compile "$LINENO"; then :
   5676   xorg_cv_cc_flag_unknown_warning_option=yes
   5677 else
   5678   xorg_cv_cc_flag_unknown_warning_option=no
   5679 fi
   5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5681 fi
   5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5683 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5685 	CFLAGS="$xorg_testset_save_CFLAGS"
   5686 fi
   5687 
   5688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5691 	fi
   5692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5694 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5695 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5696   $as_echo_n "(cached) " >&6
   5697 else
   5698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5699 /* end confdefs.h.  */
   5700 int i;
   5701 _ACEOF
   5702 if ac_fn_c_try_compile "$LINENO"; then :
   5703   xorg_cv_cc_flag_unused_command_line_argument=yes
   5704 else
   5705   xorg_cv_cc_flag_unused_command_line_argument=no
   5706 fi
   5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5708 fi
   5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5710 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5712 	CFLAGS="$xorg_testset_save_CFLAGS"
   5713 fi
   5714 
   5715 found="no"
   5716 
   5717 	if test $found = "no" ; then
   5718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5720 		fi
   5721 
   5722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5724 		fi
   5725 
   5726 		CFLAGS="$CFLAGS -Wold-style-definition"
   5727 
   5728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5729 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5730 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5731 		if eval \${$cacheid+:} false; then :
   5732   $as_echo_n "(cached) " >&6
   5733 else
   5734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5735 /* end confdefs.h.  */
   5736 int i;
   5737 int
   5738 main ()
   5739 {
   5740 
   5741   ;
   5742   return 0;
   5743 }
   5744 _ACEOF
   5745 if ac_fn_c_try_link "$LINENO"; then :
   5746   eval $cacheid=yes
   5747 else
   5748   eval $cacheid=no
   5749 fi
   5750 rm -f core conftest.err conftest.$ac_objext \
   5751     conftest$ac_exeext conftest.$ac_ext
   5752 fi
   5753 
   5754 
   5755 		CFLAGS="$xorg_testset_save_CFLAGS"
   5756 
   5757 		eval supported=\$$cacheid
   5758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5759 $as_echo "$supported" >&6; }
   5760 		if test "$supported" = "yes" ; then
   5761 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5762 			found="yes"
   5763 		fi
   5764 	fi
   5765 
   5766 	if test $found = "no" ; then
   5767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 		fi
   5770 
   5771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5773 		fi
   5774 
   5775 		CFLAGS="$CFLAGS -fd"
   5776 
   5777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5778 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5779 		cacheid=xorg_cv_cc_flag__fd
   5780 		if eval \${$cacheid+:} false; then :
   5781   $as_echo_n "(cached) " >&6
   5782 else
   5783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5784 /* end confdefs.h.  */
   5785 int i;
   5786 int
   5787 main ()
   5788 {
   5789 
   5790   ;
   5791   return 0;
   5792 }
   5793 _ACEOF
   5794 if ac_fn_c_try_link "$LINENO"; then :
   5795   eval $cacheid=yes
   5796 else
   5797   eval $cacheid=no
   5798 fi
   5799 rm -f core conftest.err conftest.$ac_objext \
   5800     conftest$ac_exeext conftest.$ac_ext
   5801 fi
   5802 
   5803 
   5804 		CFLAGS="$xorg_testset_save_CFLAGS"
   5805 
   5806 		eval supported=\$$cacheid
   5807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5808 $as_echo "$supported" >&6; }
   5809 		if test "$supported" = "yes" ; then
   5810 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5811 			found="yes"
   5812 		fi
   5813 	fi
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 xorg_testset_save_CFLAGS="$CFLAGS"
   5830 
   5831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5836   $as_echo_n "(cached) " >&6
   5837 else
   5838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5839 /* end confdefs.h.  */
   5840 int i;
   5841 _ACEOF
   5842 if ac_fn_c_try_compile "$LINENO"; then :
   5843   xorg_cv_cc_flag_unknown_warning_option=yes
   5844 else
   5845   xorg_cv_cc_flag_unknown_warning_option=no
   5846 fi
   5847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5848 fi
   5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5852 	CFLAGS="$xorg_testset_save_CFLAGS"
   5853 fi
   5854 
   5855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5858 	fi
   5859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5866 /* end confdefs.h.  */
   5867 int i;
   5868 _ACEOF
   5869 if ac_fn_c_try_compile "$LINENO"; then :
   5870   xorg_cv_cc_flag_unused_command_line_argument=yes
   5871 else
   5872   xorg_cv_cc_flag_unused_command_line_argument=no
   5873 fi
   5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5875 fi
   5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5879 	CFLAGS="$xorg_testset_save_CFLAGS"
   5880 fi
   5881 
   5882 found="no"
   5883 
   5884 	if test $found = "no" ; then
   5885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5887 		fi
   5888 
   5889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5891 		fi
   5892 
   5893 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5894 
   5895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5896 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5897 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5898 		if eval \${$cacheid+:} false; then :
   5899   $as_echo_n "(cached) " >&6
   5900 else
   5901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5902 /* end confdefs.h.  */
   5903 int i;
   5904 int
   5905 main ()
   5906 {
   5907 
   5908   ;
   5909   return 0;
   5910 }
   5911 _ACEOF
   5912 if ac_fn_c_try_link "$LINENO"; then :
   5913   eval $cacheid=yes
   5914 else
   5915   eval $cacheid=no
   5916 fi
   5917 rm -f core conftest.err conftest.$ac_objext \
   5918     conftest$ac_exeext conftest.$ac_ext
   5919 fi
   5920 
   5921 
   5922 		CFLAGS="$xorg_testset_save_CFLAGS"
   5923 
   5924 		eval supported=\$$cacheid
   5925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5926 $as_echo "$supported" >&6; }
   5927 		if test "$supported" = "yes" ; then
   5928 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5929 			found="yes"
   5930 		fi
   5931 	fi
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 # This chunk adds additional warnings that could catch undesired effects.
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 xorg_testset_save_CFLAGS="$CFLAGS"
   5952 
   5953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 _ACEOF
   5964 if ac_fn_c_try_compile "$LINENO"; then :
   5965   xorg_cv_cc_flag_unknown_warning_option=yes
   5966 else
   5967   xorg_cv_cc_flag_unknown_warning_option=no
   5968 fi
   5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5970 fi
   5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5974 	CFLAGS="$xorg_testset_save_CFLAGS"
   5975 fi
   5976 
   5977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5980 	fi
   5981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5988 /* end confdefs.h.  */
   5989 int i;
   5990 _ACEOF
   5991 if ac_fn_c_try_compile "$LINENO"; then :
   5992   xorg_cv_cc_flag_unused_command_line_argument=yes
   5993 else
   5994   xorg_cv_cc_flag_unused_command_line_argument=no
   5995 fi
   5996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5997 fi
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6001 	CFLAGS="$xorg_testset_save_CFLAGS"
   6002 fi
   6003 
   6004 found="no"
   6005 
   6006 	if test $found = "no" ; then
   6007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6009 		fi
   6010 
   6011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6013 		fi
   6014 
   6015 		CFLAGS="$CFLAGS -Wunused"
   6016 
   6017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6018 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6019 		cacheid=xorg_cv_cc_flag__Wunused
   6020 		if eval \${$cacheid+:} false; then :
   6021   $as_echo_n "(cached) " >&6
   6022 else
   6023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6024 /* end confdefs.h.  */
   6025 int i;
   6026 int
   6027 main ()
   6028 {
   6029 
   6030   ;
   6031   return 0;
   6032 }
   6033 _ACEOF
   6034 if ac_fn_c_try_link "$LINENO"; then :
   6035   eval $cacheid=yes
   6036 else
   6037   eval $cacheid=no
   6038 fi
   6039 rm -f core conftest.err conftest.$ac_objext \
   6040     conftest$ac_exeext conftest.$ac_ext
   6041 fi
   6042 
   6043 
   6044 		CFLAGS="$xorg_testset_save_CFLAGS"
   6045 
   6046 		eval supported=\$$cacheid
   6047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6048 $as_echo "$supported" >&6; }
   6049 		if test "$supported" = "yes" ; then
   6050 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6051 			found="yes"
   6052 		fi
   6053 	fi
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 xorg_testset_save_CFLAGS="$CFLAGS"
   6070 
   6071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6076   $as_echo_n "(cached) " >&6
   6077 else
   6078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6079 /* end confdefs.h.  */
   6080 int i;
   6081 _ACEOF
   6082 if ac_fn_c_try_compile "$LINENO"; then :
   6083   xorg_cv_cc_flag_unknown_warning_option=yes
   6084 else
   6085   xorg_cv_cc_flag_unknown_warning_option=no
   6086 fi
   6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6088 fi
   6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6092 	CFLAGS="$xorg_testset_save_CFLAGS"
   6093 fi
   6094 
   6095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6098 	fi
   6099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6103   $as_echo_n "(cached) " >&6
   6104 else
   6105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 _ACEOF
   6109 if ac_fn_c_try_compile "$LINENO"; then :
   6110   xorg_cv_cc_flag_unused_command_line_argument=yes
   6111 else
   6112   xorg_cv_cc_flag_unused_command_line_argument=no
   6113 fi
   6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6115 fi
   6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6119 	CFLAGS="$xorg_testset_save_CFLAGS"
   6120 fi
   6121 
   6122 found="no"
   6123 
   6124 	if test $found = "no" ; then
   6125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6127 		fi
   6128 
   6129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6131 		fi
   6132 
   6133 		CFLAGS="$CFLAGS -Wuninitialized"
   6134 
   6135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6136 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6137 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6138 		if eval \${$cacheid+:} false; then :
   6139   $as_echo_n "(cached) " >&6
   6140 else
   6141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6142 /* end confdefs.h.  */
   6143 int i;
   6144 int
   6145 main ()
   6146 {
   6147 
   6148   ;
   6149   return 0;
   6150 }
   6151 _ACEOF
   6152 if ac_fn_c_try_link "$LINENO"; then :
   6153   eval $cacheid=yes
   6154 else
   6155   eval $cacheid=no
   6156 fi
   6157 rm -f core conftest.err conftest.$ac_objext \
   6158     conftest$ac_exeext conftest.$ac_ext
   6159 fi
   6160 
   6161 
   6162 		CFLAGS="$xorg_testset_save_CFLAGS"
   6163 
   6164 		eval supported=\$$cacheid
   6165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6166 $as_echo "$supported" >&6; }
   6167 		if test "$supported" = "yes" ; then
   6168 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6169 			found="yes"
   6170 		fi
   6171 	fi
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 xorg_testset_save_CFLAGS="$CFLAGS"
   6188 
   6189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6194   $as_echo_n "(cached) " >&6
   6195 else
   6196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"; then :
   6201   xorg_cv_cc_flag_unknown_warning_option=yes
   6202 else
   6203   xorg_cv_cc_flag_unknown_warning_option=no
   6204 fi
   6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6206 fi
   6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6210 	CFLAGS="$xorg_testset_save_CFLAGS"
   6211 fi
   6212 
   6213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6216 	fi
   6217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6221   $as_echo_n "(cached) " >&6
   6222 else
   6223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6224 /* end confdefs.h.  */
   6225 int i;
   6226 _ACEOF
   6227 if ac_fn_c_try_compile "$LINENO"; then :
   6228   xorg_cv_cc_flag_unused_command_line_argument=yes
   6229 else
   6230   xorg_cv_cc_flag_unused_command_line_argument=no
   6231 fi
   6232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6233 fi
   6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6237 	CFLAGS="$xorg_testset_save_CFLAGS"
   6238 fi
   6239 
   6240 found="no"
   6241 
   6242 	if test $found = "no" ; then
   6243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6245 		fi
   6246 
   6247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6249 		fi
   6250 
   6251 		CFLAGS="$CFLAGS -Wshadow"
   6252 
   6253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6254 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6255 		cacheid=xorg_cv_cc_flag__Wshadow
   6256 		if eval \${$cacheid+:} false; then :
   6257   $as_echo_n "(cached) " >&6
   6258 else
   6259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 int
   6263 main ()
   6264 {
   6265 
   6266   ;
   6267   return 0;
   6268 }
   6269 _ACEOF
   6270 if ac_fn_c_try_link "$LINENO"; then :
   6271   eval $cacheid=yes
   6272 else
   6273   eval $cacheid=no
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext \
   6276     conftest$ac_exeext conftest.$ac_ext
   6277 fi
   6278 
   6279 
   6280 		CFLAGS="$xorg_testset_save_CFLAGS"
   6281 
   6282 		eval supported=\$$cacheid
   6283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6284 $as_echo "$supported" >&6; }
   6285 		if test "$supported" = "yes" ; then
   6286 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6287 			found="yes"
   6288 		fi
   6289 	fi
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 xorg_testset_save_CFLAGS="$CFLAGS"
   6306 
   6307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6312   $as_echo_n "(cached) " >&6
   6313 else
   6314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6315 /* end confdefs.h.  */
   6316 int i;
   6317 _ACEOF
   6318 if ac_fn_c_try_compile "$LINENO"; then :
   6319   xorg_cv_cc_flag_unknown_warning_option=yes
   6320 else
   6321   xorg_cv_cc_flag_unknown_warning_option=no
   6322 fi
   6323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6324 fi
   6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6328 	CFLAGS="$xorg_testset_save_CFLAGS"
   6329 fi
   6330 
   6331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6334 	fi
   6335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6339   $as_echo_n "(cached) " >&6
   6340 else
   6341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6342 /* end confdefs.h.  */
   6343 int i;
   6344 _ACEOF
   6345 if ac_fn_c_try_compile "$LINENO"; then :
   6346   xorg_cv_cc_flag_unused_command_line_argument=yes
   6347 else
   6348   xorg_cv_cc_flag_unused_command_line_argument=no
   6349 fi
   6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6351 fi
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6355 	CFLAGS="$xorg_testset_save_CFLAGS"
   6356 fi
   6357 
   6358 found="no"
   6359 
   6360 	if test $found = "no" ; then
   6361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6363 		fi
   6364 
   6365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6367 		fi
   6368 
   6369 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6370 
   6371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6372 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6373 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6374 		if eval \${$cacheid+:} false; then :
   6375   $as_echo_n "(cached) " >&6
   6376 else
   6377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 int i;
   6380 int
   6381 main ()
   6382 {
   6383 
   6384   ;
   6385   return 0;
   6386 }
   6387 _ACEOF
   6388 if ac_fn_c_try_link "$LINENO"; then :
   6389   eval $cacheid=yes
   6390 else
   6391   eval $cacheid=no
   6392 fi
   6393 rm -f core conftest.err conftest.$ac_objext \
   6394     conftest$ac_exeext conftest.$ac_ext
   6395 fi
   6396 
   6397 
   6398 		CFLAGS="$xorg_testset_save_CFLAGS"
   6399 
   6400 		eval supported=\$$cacheid
   6401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6402 $as_echo "$supported" >&6; }
   6403 		if test "$supported" = "yes" ; then
   6404 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6405 			found="yes"
   6406 		fi
   6407 	fi
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 xorg_testset_save_CFLAGS="$CFLAGS"
   6424 
   6425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6430   $as_echo_n "(cached) " >&6
   6431 else
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 int i;
   6435 _ACEOF
   6436 if ac_fn_c_try_compile "$LINENO"; then :
   6437   xorg_cv_cc_flag_unknown_warning_option=yes
   6438 else
   6439   xorg_cv_cc_flag_unknown_warning_option=no
   6440 fi
   6441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6442 fi
   6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6446 	CFLAGS="$xorg_testset_save_CFLAGS"
   6447 fi
   6448 
   6449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6452 	fi
   6453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 int i;
   6462 _ACEOF
   6463 if ac_fn_c_try_compile "$LINENO"; then :
   6464   xorg_cv_cc_flag_unused_command_line_argument=yes
   6465 else
   6466   xorg_cv_cc_flag_unused_command_line_argument=no
   6467 fi
   6468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6469 fi
   6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6473 	CFLAGS="$xorg_testset_save_CFLAGS"
   6474 fi
   6475 
   6476 found="no"
   6477 
   6478 	if test $found = "no" ; then
   6479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6481 		fi
   6482 
   6483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6485 		fi
   6486 
   6487 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6488 
   6489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6490 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6491 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6492 		if eval \${$cacheid+:} false; then :
   6493   $as_echo_n "(cached) " >&6
   6494 else
   6495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6496 /* end confdefs.h.  */
   6497 int i;
   6498 int
   6499 main ()
   6500 {
   6501 
   6502   ;
   6503   return 0;
   6504 }
   6505 _ACEOF
   6506 if ac_fn_c_try_link "$LINENO"; then :
   6507   eval $cacheid=yes
   6508 else
   6509   eval $cacheid=no
   6510 fi
   6511 rm -f core conftest.err conftest.$ac_objext \
   6512     conftest$ac_exeext conftest.$ac_ext
   6513 fi
   6514 
   6515 
   6516 		CFLAGS="$xorg_testset_save_CFLAGS"
   6517 
   6518 		eval supported=\$$cacheid
   6519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6520 $as_echo "$supported" >&6; }
   6521 		if test "$supported" = "yes" ; then
   6522 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6523 			found="yes"
   6524 		fi
   6525 	fi
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 xorg_testset_save_CFLAGS="$CFLAGS"
   6542 
   6543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6551 /* end confdefs.h.  */
   6552 int i;
   6553 _ACEOF
   6554 if ac_fn_c_try_compile "$LINENO"; then :
   6555   xorg_cv_cc_flag_unknown_warning_option=yes
   6556 else
   6557   xorg_cv_cc_flag_unknown_warning_option=no
   6558 fi
   6559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6560 fi
   6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6564 	CFLAGS="$xorg_testset_save_CFLAGS"
   6565 fi
   6566 
   6567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6570 	fi
   6571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6575   $as_echo_n "(cached) " >&6
   6576 else
   6577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6578 /* end confdefs.h.  */
   6579 int i;
   6580 _ACEOF
   6581 if ac_fn_c_try_compile "$LINENO"; then :
   6582   xorg_cv_cc_flag_unused_command_line_argument=yes
   6583 else
   6584   xorg_cv_cc_flag_unused_command_line_argument=no
   6585 fi
   6586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6587 fi
   6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6591 	CFLAGS="$xorg_testset_save_CFLAGS"
   6592 fi
   6593 
   6594 found="no"
   6595 
   6596 	if test $found = "no" ; then
   6597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6599 		fi
   6600 
   6601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6603 		fi
   6604 
   6605 		CFLAGS="$CFLAGS -Wredundant-decls"
   6606 
   6607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6608 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6609 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6610 		if eval \${$cacheid+:} false; then :
   6611   $as_echo_n "(cached) " >&6
   6612 else
   6613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6614 /* end confdefs.h.  */
   6615 int i;
   6616 int
   6617 main ()
   6618 {
   6619 
   6620   ;
   6621   return 0;
   6622 }
   6623 _ACEOF
   6624 if ac_fn_c_try_link "$LINENO"; then :
   6625   eval $cacheid=yes
   6626 else
   6627   eval $cacheid=no
   6628 fi
   6629 rm -f core conftest.err conftest.$ac_objext \
   6630     conftest$ac_exeext conftest.$ac_ext
   6631 fi
   6632 
   6633 
   6634 		CFLAGS="$xorg_testset_save_CFLAGS"
   6635 
   6636 		eval supported=\$$cacheid
   6637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6638 $as_echo "$supported" >&6; }
   6639 		if test "$supported" = "yes" ; then
   6640 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6641 			found="yes"
   6642 		fi
   6643 	fi
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 xorg_testset_save_CFLAGS="$CFLAGS"
   6660 
   6661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6666   $as_echo_n "(cached) " >&6
   6667 else
   6668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 _ACEOF
   6672 if ac_fn_c_try_compile "$LINENO"; then :
   6673   xorg_cv_cc_flag_unknown_warning_option=yes
   6674 else
   6675   xorg_cv_cc_flag_unknown_warning_option=no
   6676 fi
   6677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6678 fi
   6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6682 	CFLAGS="$xorg_testset_save_CFLAGS"
   6683 fi
   6684 
   6685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6688 	fi
   6689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6693   $as_echo_n "(cached) " >&6
   6694 else
   6695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6696 /* end confdefs.h.  */
   6697 int i;
   6698 _ACEOF
   6699 if ac_fn_c_try_compile "$LINENO"; then :
   6700   xorg_cv_cc_flag_unused_command_line_argument=yes
   6701 else
   6702   xorg_cv_cc_flag_unused_command_line_argument=no
   6703 fi
   6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6705 fi
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6709 	CFLAGS="$xorg_testset_save_CFLAGS"
   6710 fi
   6711 
   6712 found="no"
   6713 
   6714 	if test $found = "no" ; then
   6715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6717 		fi
   6718 
   6719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6721 		fi
   6722 
   6723 		CFLAGS="$CFLAGS -Wlogical-op"
   6724 
   6725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6726 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6727 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6728 		if eval \${$cacheid+:} false; then :
   6729   $as_echo_n "(cached) " >&6
   6730 else
   6731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6732 /* end confdefs.h.  */
   6733 int i;
   6734 int
   6735 main ()
   6736 {
   6737 
   6738   ;
   6739   return 0;
   6740 }
   6741 _ACEOF
   6742 if ac_fn_c_try_link "$LINENO"; then :
   6743   eval $cacheid=yes
   6744 else
   6745   eval $cacheid=no
   6746 fi
   6747 rm -f core conftest.err conftest.$ac_objext \
   6748     conftest$ac_exeext conftest.$ac_ext
   6749 fi
   6750 
   6751 
   6752 		CFLAGS="$xorg_testset_save_CFLAGS"
   6753 
   6754 		eval supported=\$$cacheid
   6755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6756 $as_echo "$supported" >&6; }
   6757 		if test "$supported" = "yes" ; then
   6758 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6759 			found="yes"
   6760 		fi
   6761 	fi
   6762 
   6763 
   6764 
   6765 # These are currently disabled because they are noisy.  They will be enabled
   6766 # in the future once the codebase is sufficiently modernized to silence
   6767 # them.  For now, I don't want them to drown out the other warnings.
   6768 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6769 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6770 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6771 
   6772 # Turn some warnings into errors, so we don't accidently get successful builds
   6773 # when there are problems that should be fixed.
   6774 
   6775 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 xorg_testset_save_CFLAGS="$CFLAGS"
   6790 
   6791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 int i;
   6801 _ACEOF
   6802 if ac_fn_c_try_compile "$LINENO"; then :
   6803   xorg_cv_cc_flag_unknown_warning_option=yes
   6804 else
   6805   xorg_cv_cc_flag_unknown_warning_option=no
   6806 fi
   6807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6808 fi
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6812 	CFLAGS="$xorg_testset_save_CFLAGS"
   6813 fi
   6814 
   6815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6818 	fi
   6819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6823   $as_echo_n "(cached) " >&6
   6824 else
   6825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6826 /* end confdefs.h.  */
   6827 int i;
   6828 _ACEOF
   6829 if ac_fn_c_try_compile "$LINENO"; then :
   6830   xorg_cv_cc_flag_unused_command_line_argument=yes
   6831 else
   6832   xorg_cv_cc_flag_unused_command_line_argument=no
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6835 fi
   6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6839 	CFLAGS="$xorg_testset_save_CFLAGS"
   6840 fi
   6841 
   6842 found="no"
   6843 
   6844 	if test $found = "no" ; then
   6845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6847 		fi
   6848 
   6849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6851 		fi
   6852 
   6853 		CFLAGS="$CFLAGS -Werror=implicit"
   6854 
   6855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6856 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6857 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6858 		if eval \${$cacheid+:} false; then :
   6859   $as_echo_n "(cached) " >&6
   6860 else
   6861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6862 /* end confdefs.h.  */
   6863 int i;
   6864 int
   6865 main ()
   6866 {
   6867 
   6868   ;
   6869   return 0;
   6870 }
   6871 _ACEOF
   6872 if ac_fn_c_try_link "$LINENO"; then :
   6873   eval $cacheid=yes
   6874 else
   6875   eval $cacheid=no
   6876 fi
   6877 rm -f core conftest.err conftest.$ac_objext \
   6878     conftest$ac_exeext conftest.$ac_ext
   6879 fi
   6880 
   6881 
   6882 		CFLAGS="$xorg_testset_save_CFLAGS"
   6883 
   6884 		eval supported=\$$cacheid
   6885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6886 $as_echo "$supported" >&6; }
   6887 		if test "$supported" = "yes" ; then
   6888 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6889 			found="yes"
   6890 		fi
   6891 	fi
   6892 
   6893 	if test $found = "no" ; then
   6894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6896 		fi
   6897 
   6898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6900 		fi
   6901 
   6902 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6903 
   6904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6905 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6906 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6907 		if eval \${$cacheid+:} false; then :
   6908   $as_echo_n "(cached) " >&6
   6909 else
   6910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6911 /* end confdefs.h.  */
   6912 int i;
   6913 int
   6914 main ()
   6915 {
   6916 
   6917   ;
   6918   return 0;
   6919 }
   6920 _ACEOF
   6921 if ac_fn_c_try_link "$LINENO"; then :
   6922   eval $cacheid=yes
   6923 else
   6924   eval $cacheid=no
   6925 fi
   6926 rm -f core conftest.err conftest.$ac_objext \
   6927     conftest$ac_exeext conftest.$ac_ext
   6928 fi
   6929 
   6930 
   6931 		CFLAGS="$xorg_testset_save_CFLAGS"
   6932 
   6933 		eval supported=\$$cacheid
   6934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6935 $as_echo "$supported" >&6; }
   6936 		if test "$supported" = "yes" ; then
   6937 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6938 			found="yes"
   6939 		fi
   6940 	fi
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 xorg_testset_save_CFLAGS="$CFLAGS"
   6957 
   6958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6961 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6962 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6963   $as_echo_n "(cached) " >&6
   6964 else
   6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 _ACEOF
   6969 if ac_fn_c_try_compile "$LINENO"; then :
   6970   xorg_cv_cc_flag_unknown_warning_option=yes
   6971 else
   6972   xorg_cv_cc_flag_unknown_warning_option=no
   6973 fi
   6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6975 fi
   6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6977 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6979 	CFLAGS="$xorg_testset_save_CFLAGS"
   6980 fi
   6981 
   6982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6985 	fi
   6986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6988 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6989 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6990   $as_echo_n "(cached) " >&6
   6991 else
   6992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6993 /* end confdefs.h.  */
   6994 int i;
   6995 _ACEOF
   6996 if ac_fn_c_try_compile "$LINENO"; then :
   6997   xorg_cv_cc_flag_unused_command_line_argument=yes
   6998 else
   6999   xorg_cv_cc_flag_unused_command_line_argument=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7002 fi
   7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7004 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7006 	CFLAGS="$xorg_testset_save_CFLAGS"
   7007 fi
   7008 
   7009 found="no"
   7010 
   7011 	if test $found = "no" ; then
   7012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7014 		fi
   7015 
   7016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7018 		fi
   7019 
   7020 		CFLAGS="$CFLAGS -Werror=nonnull"
   7021 
   7022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7023 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7024 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7025 		if eval \${$cacheid+:} false; then :
   7026   $as_echo_n "(cached) " >&6
   7027 else
   7028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7029 /* end confdefs.h.  */
   7030 int i;
   7031 int
   7032 main ()
   7033 {
   7034 
   7035   ;
   7036   return 0;
   7037 }
   7038 _ACEOF
   7039 if ac_fn_c_try_link "$LINENO"; then :
   7040   eval $cacheid=yes
   7041 else
   7042   eval $cacheid=no
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_objext \
   7045     conftest$ac_exeext conftest.$ac_ext
   7046 fi
   7047 
   7048 
   7049 		CFLAGS="$xorg_testset_save_CFLAGS"
   7050 
   7051 		eval supported=\$$cacheid
   7052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7053 $as_echo "$supported" >&6; }
   7054 		if test "$supported" = "yes" ; then
   7055 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7056 			found="yes"
   7057 		fi
   7058 	fi
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 xorg_testset_save_CFLAGS="$CFLAGS"
   7075 
   7076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7079 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7080 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 _ACEOF
   7087 if ac_fn_c_try_compile "$LINENO"; then :
   7088   xorg_cv_cc_flag_unknown_warning_option=yes
   7089 else
   7090   xorg_cv_cc_flag_unknown_warning_option=no
   7091 fi
   7092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7093 fi
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7095 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7097 	CFLAGS="$xorg_testset_save_CFLAGS"
   7098 fi
   7099 
   7100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7103 	fi
   7104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7106 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7107 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7108   $as_echo_n "(cached) " >&6
   7109 else
   7110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7111 /* end confdefs.h.  */
   7112 int i;
   7113 _ACEOF
   7114 if ac_fn_c_try_compile "$LINENO"; then :
   7115   xorg_cv_cc_flag_unused_command_line_argument=yes
   7116 else
   7117   xorg_cv_cc_flag_unused_command_line_argument=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7120 fi
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7122 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7124 	CFLAGS="$xorg_testset_save_CFLAGS"
   7125 fi
   7126 
   7127 found="no"
   7128 
   7129 	if test $found = "no" ; then
   7130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7132 		fi
   7133 
   7134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7136 		fi
   7137 
   7138 		CFLAGS="$CFLAGS -Werror=init-self"
   7139 
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7141 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7142 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7143 		if eval \${$cacheid+:} false; then :
   7144   $as_echo_n "(cached) " >&6
   7145 else
   7146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7147 /* end confdefs.h.  */
   7148 int i;
   7149 int
   7150 main ()
   7151 {
   7152 
   7153   ;
   7154   return 0;
   7155 }
   7156 _ACEOF
   7157 if ac_fn_c_try_link "$LINENO"; then :
   7158   eval $cacheid=yes
   7159 else
   7160   eval $cacheid=no
   7161 fi
   7162 rm -f core conftest.err conftest.$ac_objext \
   7163     conftest$ac_exeext conftest.$ac_ext
   7164 fi
   7165 
   7166 
   7167 		CFLAGS="$xorg_testset_save_CFLAGS"
   7168 
   7169 		eval supported=\$$cacheid
   7170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7171 $as_echo "$supported" >&6; }
   7172 		if test "$supported" = "yes" ; then
   7173 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7174 			found="yes"
   7175 		fi
   7176 	fi
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 xorg_testset_save_CFLAGS="$CFLAGS"
   7193 
   7194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202 /* end confdefs.h.  */
   7203 int i;
   7204 _ACEOF
   7205 if ac_fn_c_try_compile "$LINENO"; then :
   7206   xorg_cv_cc_flag_unknown_warning_option=yes
   7207 else
   7208   xorg_cv_cc_flag_unknown_warning_option=no
   7209 fi
   7210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7211 fi
   7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7215 	CFLAGS="$xorg_testset_save_CFLAGS"
   7216 fi
   7217 
   7218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7221 	fi
   7222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7226   $as_echo_n "(cached) " >&6
   7227 else
   7228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7229 /* end confdefs.h.  */
   7230 int i;
   7231 _ACEOF
   7232 if ac_fn_c_try_compile "$LINENO"; then :
   7233   xorg_cv_cc_flag_unused_command_line_argument=yes
   7234 else
   7235   xorg_cv_cc_flag_unused_command_line_argument=no
   7236 fi
   7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7238 fi
   7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7242 	CFLAGS="$xorg_testset_save_CFLAGS"
   7243 fi
   7244 
   7245 found="no"
   7246 
   7247 	if test $found = "no" ; then
   7248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7250 		fi
   7251 
   7252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7254 		fi
   7255 
   7256 		CFLAGS="$CFLAGS -Werror=main"
   7257 
   7258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7259 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7260 		cacheid=xorg_cv_cc_flag__Werror_main
   7261 		if eval \${$cacheid+:} false; then :
   7262   $as_echo_n "(cached) " >&6
   7263 else
   7264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7265 /* end confdefs.h.  */
   7266 int i;
   7267 int
   7268 main ()
   7269 {
   7270 
   7271   ;
   7272   return 0;
   7273 }
   7274 _ACEOF
   7275 if ac_fn_c_try_link "$LINENO"; then :
   7276   eval $cacheid=yes
   7277 else
   7278   eval $cacheid=no
   7279 fi
   7280 rm -f core conftest.err conftest.$ac_objext \
   7281     conftest$ac_exeext conftest.$ac_ext
   7282 fi
   7283 
   7284 
   7285 		CFLAGS="$xorg_testset_save_CFLAGS"
   7286 
   7287 		eval supported=\$$cacheid
   7288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7289 $as_echo "$supported" >&6; }
   7290 		if test "$supported" = "yes" ; then
   7291 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7292 			found="yes"
   7293 		fi
   7294 	fi
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 xorg_testset_save_CFLAGS="$CFLAGS"
   7311 
   7312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7320 /* end confdefs.h.  */
   7321 int i;
   7322 _ACEOF
   7323 if ac_fn_c_try_compile "$LINENO"; then :
   7324   xorg_cv_cc_flag_unknown_warning_option=yes
   7325 else
   7326   xorg_cv_cc_flag_unknown_warning_option=no
   7327 fi
   7328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7329 fi
   7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7333 	CFLAGS="$xorg_testset_save_CFLAGS"
   7334 fi
   7335 
   7336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7339 	fi
   7340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7344   $as_echo_n "(cached) " >&6
   7345 else
   7346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7347 /* end confdefs.h.  */
   7348 int i;
   7349 _ACEOF
   7350 if ac_fn_c_try_compile "$LINENO"; then :
   7351   xorg_cv_cc_flag_unused_command_line_argument=yes
   7352 else
   7353   xorg_cv_cc_flag_unused_command_line_argument=no
   7354 fi
   7355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7356 fi
   7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7360 	CFLAGS="$xorg_testset_save_CFLAGS"
   7361 fi
   7362 
   7363 found="no"
   7364 
   7365 	if test $found = "no" ; then
   7366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7368 		fi
   7369 
   7370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7372 		fi
   7373 
   7374 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7375 
   7376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7377 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7378 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7379 		if eval \${$cacheid+:} false; then :
   7380   $as_echo_n "(cached) " >&6
   7381 else
   7382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 int i;
   7385 int
   7386 main ()
   7387 {
   7388 
   7389   ;
   7390   return 0;
   7391 }
   7392 _ACEOF
   7393 if ac_fn_c_try_link "$LINENO"; then :
   7394   eval $cacheid=yes
   7395 else
   7396   eval $cacheid=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext \
   7399     conftest$ac_exeext conftest.$ac_ext
   7400 fi
   7401 
   7402 
   7403 		CFLAGS="$xorg_testset_save_CFLAGS"
   7404 
   7405 		eval supported=\$$cacheid
   7406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7407 $as_echo "$supported" >&6; }
   7408 		if test "$supported" = "yes" ; then
   7409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7410 			found="yes"
   7411 		fi
   7412 	fi
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 xorg_testset_save_CFLAGS="$CFLAGS"
   7429 
   7430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7435   $as_echo_n "(cached) " >&6
   7436 else
   7437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7438 /* end confdefs.h.  */
   7439 int i;
   7440 _ACEOF
   7441 if ac_fn_c_try_compile "$LINENO"; then :
   7442   xorg_cv_cc_flag_unknown_warning_option=yes
   7443 else
   7444   xorg_cv_cc_flag_unknown_warning_option=no
   7445 fi
   7446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7447 fi
   7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7451 	CFLAGS="$xorg_testset_save_CFLAGS"
   7452 fi
   7453 
   7454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7457 	fi
   7458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7462   $as_echo_n "(cached) " >&6
   7463 else
   7464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7465 /* end confdefs.h.  */
   7466 int i;
   7467 _ACEOF
   7468 if ac_fn_c_try_compile "$LINENO"; then :
   7469   xorg_cv_cc_flag_unused_command_line_argument=yes
   7470 else
   7471   xorg_cv_cc_flag_unused_command_line_argument=no
   7472 fi
   7473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7474 fi
   7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7478 	CFLAGS="$xorg_testset_save_CFLAGS"
   7479 fi
   7480 
   7481 found="no"
   7482 
   7483 	if test $found = "no" ; then
   7484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7486 		fi
   7487 
   7488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7490 		fi
   7491 
   7492 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7493 
   7494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7495 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7496 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7497 		if eval \${$cacheid+:} false; then :
   7498   $as_echo_n "(cached) " >&6
   7499 else
   7500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 int i;
   7503 int
   7504 main ()
   7505 {
   7506 
   7507   ;
   7508   return 0;
   7509 }
   7510 _ACEOF
   7511 if ac_fn_c_try_link "$LINENO"; then :
   7512   eval $cacheid=yes
   7513 else
   7514   eval $cacheid=no
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext \
   7517     conftest$ac_exeext conftest.$ac_ext
   7518 fi
   7519 
   7520 
   7521 		CFLAGS="$xorg_testset_save_CFLAGS"
   7522 
   7523 		eval supported=\$$cacheid
   7524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7525 $as_echo "$supported" >&6; }
   7526 		if test "$supported" = "yes" ; then
   7527 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7528 			found="yes"
   7529 		fi
   7530 	fi
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 xorg_testset_save_CFLAGS="$CFLAGS"
   7547 
   7548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7553   $as_echo_n "(cached) " >&6
   7554 else
   7555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7556 /* end confdefs.h.  */
   7557 int i;
   7558 _ACEOF
   7559 if ac_fn_c_try_compile "$LINENO"; then :
   7560   xorg_cv_cc_flag_unknown_warning_option=yes
   7561 else
   7562   xorg_cv_cc_flag_unknown_warning_option=no
   7563 fi
   7564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7565 fi
   7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7569 	CFLAGS="$xorg_testset_save_CFLAGS"
   7570 fi
   7571 
   7572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7575 	fi
   7576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7580   $as_echo_n "(cached) " >&6
   7581 else
   7582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7583 /* end confdefs.h.  */
   7584 int i;
   7585 _ACEOF
   7586 if ac_fn_c_try_compile "$LINENO"; then :
   7587   xorg_cv_cc_flag_unused_command_line_argument=yes
   7588 else
   7589   xorg_cv_cc_flag_unused_command_line_argument=no
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7592 fi
   7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7596 	CFLAGS="$xorg_testset_save_CFLAGS"
   7597 fi
   7598 
   7599 found="no"
   7600 
   7601 	if test $found = "no" ; then
   7602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7604 		fi
   7605 
   7606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7608 		fi
   7609 
   7610 		CFLAGS="$CFLAGS -Werror=return-type"
   7611 
   7612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7613 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7614 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7615 		if eval \${$cacheid+:} false; then :
   7616   $as_echo_n "(cached) " >&6
   7617 else
   7618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7619 /* end confdefs.h.  */
   7620 int i;
   7621 int
   7622 main ()
   7623 {
   7624 
   7625   ;
   7626   return 0;
   7627 }
   7628 _ACEOF
   7629 if ac_fn_c_try_link "$LINENO"; then :
   7630   eval $cacheid=yes
   7631 else
   7632   eval $cacheid=no
   7633 fi
   7634 rm -f core conftest.err conftest.$ac_objext \
   7635     conftest$ac_exeext conftest.$ac_ext
   7636 fi
   7637 
   7638 
   7639 		CFLAGS="$xorg_testset_save_CFLAGS"
   7640 
   7641 		eval supported=\$$cacheid
   7642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7643 $as_echo "$supported" >&6; }
   7644 		if test "$supported" = "yes" ; then
   7645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7646 			found="yes"
   7647 		fi
   7648 	fi
   7649 
   7650 	if test $found = "no" ; then
   7651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7653 		fi
   7654 
   7655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7657 		fi
   7658 
   7659 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7660 
   7661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7662 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7663 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7664 		if eval \${$cacheid+:} false; then :
   7665   $as_echo_n "(cached) " >&6
   7666 else
   7667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7668 /* end confdefs.h.  */
   7669 int i;
   7670 int
   7671 main ()
   7672 {
   7673 
   7674   ;
   7675   return 0;
   7676 }
   7677 _ACEOF
   7678 if ac_fn_c_try_link "$LINENO"; then :
   7679   eval $cacheid=yes
   7680 else
   7681   eval $cacheid=no
   7682 fi
   7683 rm -f core conftest.err conftest.$ac_objext \
   7684     conftest$ac_exeext conftest.$ac_ext
   7685 fi
   7686 
   7687 
   7688 		CFLAGS="$xorg_testset_save_CFLAGS"
   7689 
   7690 		eval supported=\$$cacheid
   7691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7692 $as_echo "$supported" >&6; }
   7693 		if test "$supported" = "yes" ; then
   7694 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7695 			found="yes"
   7696 		fi
   7697 	fi
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 xorg_testset_save_CFLAGS="$CFLAGS"
   7714 
   7715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7718 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7719 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7720   $as_echo_n "(cached) " >&6
   7721 else
   7722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7723 /* end confdefs.h.  */
   7724 int i;
   7725 _ACEOF
   7726 if ac_fn_c_try_compile "$LINENO"; then :
   7727   xorg_cv_cc_flag_unknown_warning_option=yes
   7728 else
   7729   xorg_cv_cc_flag_unknown_warning_option=no
   7730 fi
   7731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7732 fi
   7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7734 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7736 	CFLAGS="$xorg_testset_save_CFLAGS"
   7737 fi
   7738 
   7739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7742 	fi
   7743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7745 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7746 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7747   $as_echo_n "(cached) " >&6
   7748 else
   7749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7750 /* end confdefs.h.  */
   7751 int i;
   7752 _ACEOF
   7753 if ac_fn_c_try_compile "$LINENO"; then :
   7754   xorg_cv_cc_flag_unused_command_line_argument=yes
   7755 else
   7756   xorg_cv_cc_flag_unused_command_line_argument=no
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7759 fi
   7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7761 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7763 	CFLAGS="$xorg_testset_save_CFLAGS"
   7764 fi
   7765 
   7766 found="no"
   7767 
   7768 	if test $found = "no" ; then
   7769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7771 		fi
   7772 
   7773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7775 		fi
   7776 
   7777 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7778 
   7779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7780 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7781 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7782 		if eval \${$cacheid+:} false; then :
   7783   $as_echo_n "(cached) " >&6
   7784 else
   7785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7786 /* end confdefs.h.  */
   7787 int i;
   7788 int
   7789 main ()
   7790 {
   7791 
   7792   ;
   7793   return 0;
   7794 }
   7795 _ACEOF
   7796 if ac_fn_c_try_link "$LINENO"; then :
   7797   eval $cacheid=yes
   7798 else
   7799   eval $cacheid=no
   7800 fi
   7801 rm -f core conftest.err conftest.$ac_objext \
   7802     conftest$ac_exeext conftest.$ac_ext
   7803 fi
   7804 
   7805 
   7806 		CFLAGS="$xorg_testset_save_CFLAGS"
   7807 
   7808 		eval supported=\$$cacheid
   7809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7810 $as_echo "$supported" >&6; }
   7811 		if test "$supported" = "yes" ; then
   7812 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7813 			found="yes"
   7814 		fi
   7815 	fi
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 xorg_testset_save_CFLAGS="$CFLAGS"
   7832 
   7833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 _ACEOF
   7844 if ac_fn_c_try_compile "$LINENO"; then :
   7845   xorg_cv_cc_flag_unknown_warning_option=yes
   7846 else
   7847   xorg_cv_cc_flag_unknown_warning_option=no
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7850 fi
   7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7854 	CFLAGS="$xorg_testset_save_CFLAGS"
   7855 fi
   7856 
   7857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7860 	fi
   7861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7865   $as_echo_n "(cached) " >&6
   7866 else
   7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7868 /* end confdefs.h.  */
   7869 int i;
   7870 _ACEOF
   7871 if ac_fn_c_try_compile "$LINENO"; then :
   7872   xorg_cv_cc_flag_unused_command_line_argument=yes
   7873 else
   7874   xorg_cv_cc_flag_unused_command_line_argument=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7877 fi
   7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7881 	CFLAGS="$xorg_testset_save_CFLAGS"
   7882 fi
   7883 
   7884 found="no"
   7885 
   7886 	if test $found = "no" ; then
   7887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7889 		fi
   7890 
   7891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7893 		fi
   7894 
   7895 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7896 
   7897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7898 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7899 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7900 		if eval \${$cacheid+:} false; then :
   7901   $as_echo_n "(cached) " >&6
   7902 else
   7903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 int
   7907 main ()
   7908 {
   7909 
   7910   ;
   7911   return 0;
   7912 }
   7913 _ACEOF
   7914 if ac_fn_c_try_link "$LINENO"; then :
   7915   eval $cacheid=yes
   7916 else
   7917   eval $cacheid=no
   7918 fi
   7919 rm -f core conftest.err conftest.$ac_objext \
   7920     conftest$ac_exeext conftest.$ac_ext
   7921 fi
   7922 
   7923 
   7924 		CFLAGS="$xorg_testset_save_CFLAGS"
   7925 
   7926 		eval supported=\$$cacheid
   7927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7928 $as_echo "$supported" >&6; }
   7929 		if test "$supported" = "yes" ; then
   7930 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7931 			found="yes"
   7932 		fi
   7933 	fi
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 xorg_testset_save_CFLAGS="$CFLAGS"
   7950 
   7951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7956   $as_echo_n "(cached) " >&6
   7957 else
   7958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7959 /* end confdefs.h.  */
   7960 int i;
   7961 _ACEOF
   7962 if ac_fn_c_try_compile "$LINENO"; then :
   7963   xorg_cv_cc_flag_unknown_warning_option=yes
   7964 else
   7965   xorg_cv_cc_flag_unknown_warning_option=no
   7966 fi
   7967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7968 fi
   7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7972 	CFLAGS="$xorg_testset_save_CFLAGS"
   7973 fi
   7974 
   7975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7978 	fi
   7979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 int i;
   7988 _ACEOF
   7989 if ac_fn_c_try_compile "$LINENO"; then :
   7990   xorg_cv_cc_flag_unused_command_line_argument=yes
   7991 else
   7992   xorg_cv_cc_flag_unused_command_line_argument=no
   7993 fi
   7994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7995 fi
   7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7999 	CFLAGS="$xorg_testset_save_CFLAGS"
   8000 fi
   8001 
   8002 found="no"
   8003 
   8004 	if test $found = "no" ; then
   8005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8007 		fi
   8008 
   8009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8011 		fi
   8012 
   8013 		CFLAGS="$CFLAGS -Werror=write-strings"
   8014 
   8015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8016 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8017 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8018 		if eval \${$cacheid+:} false; then :
   8019   $as_echo_n "(cached) " >&6
   8020 else
   8021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8022 /* end confdefs.h.  */
   8023 int i;
   8024 int
   8025 main ()
   8026 {
   8027 
   8028   ;
   8029   return 0;
   8030 }
   8031 _ACEOF
   8032 if ac_fn_c_try_link "$LINENO"; then :
   8033   eval $cacheid=yes
   8034 else
   8035   eval $cacheid=no
   8036 fi
   8037 rm -f core conftest.err conftest.$ac_objext \
   8038     conftest$ac_exeext conftest.$ac_ext
   8039 fi
   8040 
   8041 
   8042 		CFLAGS="$xorg_testset_save_CFLAGS"
   8043 
   8044 		eval supported=\$$cacheid
   8045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8046 $as_echo "$supported" >&6; }
   8047 		if test "$supported" = "yes" ; then
   8048 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8049 			found="yes"
   8050 		fi
   8051 	fi
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 xorg_testset_save_CFLAGS="$CFLAGS"
   8068 
   8069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8072 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8073 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8074   $as_echo_n "(cached) " >&6
   8075 else
   8076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8077 /* end confdefs.h.  */
   8078 int i;
   8079 _ACEOF
   8080 if ac_fn_c_try_compile "$LINENO"; then :
   8081   xorg_cv_cc_flag_unknown_warning_option=yes
   8082 else
   8083   xorg_cv_cc_flag_unknown_warning_option=no
   8084 fi
   8085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8086 fi
   8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8088 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8090 	CFLAGS="$xorg_testset_save_CFLAGS"
   8091 fi
   8092 
   8093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8096 	fi
   8097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8099 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8100 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8101   $as_echo_n "(cached) " >&6
   8102 else
   8103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8104 /* end confdefs.h.  */
   8105 int i;
   8106 _ACEOF
   8107 if ac_fn_c_try_compile "$LINENO"; then :
   8108   xorg_cv_cc_flag_unused_command_line_argument=yes
   8109 else
   8110   xorg_cv_cc_flag_unused_command_line_argument=no
   8111 fi
   8112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8113 fi
   8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8115 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8116 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8117 	CFLAGS="$xorg_testset_save_CFLAGS"
   8118 fi
   8119 
   8120 found="no"
   8121 
   8122 	if test $found = "no" ; then
   8123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8125 		fi
   8126 
   8127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8129 		fi
   8130 
   8131 		CFLAGS="$CFLAGS -Werror=address"
   8132 
   8133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8134 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8135 		cacheid=xorg_cv_cc_flag__Werror_address
   8136 		if eval \${$cacheid+:} false; then :
   8137   $as_echo_n "(cached) " >&6
   8138 else
   8139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8140 /* end confdefs.h.  */
   8141 int i;
   8142 int
   8143 main ()
   8144 {
   8145 
   8146   ;
   8147   return 0;
   8148 }
   8149 _ACEOF
   8150 if ac_fn_c_try_link "$LINENO"; then :
   8151   eval $cacheid=yes
   8152 else
   8153   eval $cacheid=no
   8154 fi
   8155 rm -f core conftest.err conftest.$ac_objext \
   8156     conftest$ac_exeext conftest.$ac_ext
   8157 fi
   8158 
   8159 
   8160 		CFLAGS="$xorg_testset_save_CFLAGS"
   8161 
   8162 		eval supported=\$$cacheid
   8163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8164 $as_echo "$supported" >&6; }
   8165 		if test "$supported" = "yes" ; then
   8166 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8167 			found="yes"
   8168 		fi
   8169 	fi
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 xorg_testset_save_CFLAGS="$CFLAGS"
   8186 
   8187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8190 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8191 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8192   $as_echo_n "(cached) " >&6
   8193 else
   8194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8195 /* end confdefs.h.  */
   8196 int i;
   8197 _ACEOF
   8198 if ac_fn_c_try_compile "$LINENO"; then :
   8199   xorg_cv_cc_flag_unknown_warning_option=yes
   8200 else
   8201   xorg_cv_cc_flag_unknown_warning_option=no
   8202 fi
   8203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8204 fi
   8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8206 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8208 	CFLAGS="$xorg_testset_save_CFLAGS"
   8209 fi
   8210 
   8211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8214 	fi
   8215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8217 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8218 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8219   $as_echo_n "(cached) " >&6
   8220 else
   8221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8222 /* end confdefs.h.  */
   8223 int i;
   8224 _ACEOF
   8225 if ac_fn_c_try_compile "$LINENO"; then :
   8226   xorg_cv_cc_flag_unused_command_line_argument=yes
   8227 else
   8228   xorg_cv_cc_flag_unused_command_line_argument=no
   8229 fi
   8230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8231 fi
   8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8233 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8235 	CFLAGS="$xorg_testset_save_CFLAGS"
   8236 fi
   8237 
   8238 found="no"
   8239 
   8240 	if test $found = "no" ; then
   8241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8243 		fi
   8244 
   8245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8247 		fi
   8248 
   8249 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8250 
   8251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8252 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8253 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8254 		if eval \${$cacheid+:} false; then :
   8255   $as_echo_n "(cached) " >&6
   8256 else
   8257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8258 /* end confdefs.h.  */
   8259 int i;
   8260 int
   8261 main ()
   8262 {
   8263 
   8264   ;
   8265   return 0;
   8266 }
   8267 _ACEOF
   8268 if ac_fn_c_try_link "$LINENO"; then :
   8269   eval $cacheid=yes
   8270 else
   8271   eval $cacheid=no
   8272 fi
   8273 rm -f core conftest.err conftest.$ac_objext \
   8274     conftest$ac_exeext conftest.$ac_ext
   8275 fi
   8276 
   8277 
   8278 		CFLAGS="$xorg_testset_save_CFLAGS"
   8279 
   8280 		eval supported=\$$cacheid
   8281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8282 $as_echo "$supported" >&6; }
   8283 		if test "$supported" = "yes" ; then
   8284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8285 			found="yes"
   8286 		fi
   8287 	fi
   8288 
   8289 	if test $found = "no" ; then
   8290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 		fi
   8293 
   8294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8296 		fi
   8297 
   8298 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8299 
   8300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8301 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8302 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8303 		if eval \${$cacheid+:} false; then :
   8304   $as_echo_n "(cached) " >&6
   8305 else
   8306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8307 /* end confdefs.h.  */
   8308 int i;
   8309 int
   8310 main ()
   8311 {
   8312 
   8313   ;
   8314   return 0;
   8315 }
   8316 _ACEOF
   8317 if ac_fn_c_try_link "$LINENO"; then :
   8318   eval $cacheid=yes
   8319 else
   8320   eval $cacheid=no
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext \
   8323     conftest$ac_exeext conftest.$ac_ext
   8324 fi
   8325 
   8326 
   8327 		CFLAGS="$xorg_testset_save_CFLAGS"
   8328 
   8329 		eval supported=\$$cacheid
   8330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8331 $as_echo "$supported" >&6; }
   8332 		if test "$supported" = "yes" ; then
   8333 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8334 			found="yes"
   8335 		fi
   8336 	fi
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 xorg_testset_save_CFLAGS="$CFLAGS"
   8353 
   8354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8359   $as_echo_n "(cached) " >&6
   8360 else
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 _ACEOF
   8365 if ac_fn_c_try_compile "$LINENO"; then :
   8366   xorg_cv_cc_flag_unknown_warning_option=yes
   8367 else
   8368   xorg_cv_cc_flag_unknown_warning_option=no
   8369 fi
   8370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8371 fi
   8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8375 	CFLAGS="$xorg_testset_save_CFLAGS"
   8376 fi
   8377 
   8378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8381 	fi
   8382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8386   $as_echo_n "(cached) " >&6
   8387 else
   8388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8389 /* end confdefs.h.  */
   8390 int i;
   8391 _ACEOF
   8392 if ac_fn_c_try_compile "$LINENO"; then :
   8393   xorg_cv_cc_flag_unused_command_line_argument=yes
   8394 else
   8395   xorg_cv_cc_flag_unused_command_line_argument=no
   8396 fi
   8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8398 fi
   8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8402 	CFLAGS="$xorg_testset_save_CFLAGS"
   8403 fi
   8404 
   8405 found="no"
   8406 
   8407 	if test $found = "no" ; then
   8408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8410 		fi
   8411 
   8412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8414 		fi
   8415 
   8416 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8417 
   8418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8419 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8420 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8421 		if eval \${$cacheid+:} false; then :
   8422   $as_echo_n "(cached) " >&6
   8423 else
   8424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int i;
   8427 int
   8428 main ()
   8429 {
   8430 
   8431   ;
   8432   return 0;
   8433 }
   8434 _ACEOF
   8435 if ac_fn_c_try_link "$LINENO"; then :
   8436   eval $cacheid=yes
   8437 else
   8438   eval $cacheid=no
   8439 fi
   8440 rm -f core conftest.err conftest.$ac_objext \
   8441     conftest$ac_exeext conftest.$ac_ext
   8442 fi
   8443 
   8444 
   8445 		CFLAGS="$xorg_testset_save_CFLAGS"
   8446 
   8447 		eval supported=\$$cacheid
   8448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8449 $as_echo "$supported" >&6; }
   8450 		if test "$supported" = "yes" ; then
   8451 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8452 			found="yes"
   8453 		fi
   8454 	fi
   8455 
   8456  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8457 else
   8458 { $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
   8459 $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;}
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 xorg_testset_save_CFLAGS="$CFLAGS"
   8474 
   8475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8480   $as_echo_n "(cached) " >&6
   8481 else
   8482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8483 /* end confdefs.h.  */
   8484 int i;
   8485 _ACEOF
   8486 if ac_fn_c_try_compile "$LINENO"; then :
   8487   xorg_cv_cc_flag_unknown_warning_option=yes
   8488 else
   8489   xorg_cv_cc_flag_unknown_warning_option=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8492 fi
   8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8496 	CFLAGS="$xorg_testset_save_CFLAGS"
   8497 fi
   8498 
   8499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 	fi
   8503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8507   $as_echo_n "(cached) " >&6
   8508 else
   8509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8510 /* end confdefs.h.  */
   8511 int i;
   8512 _ACEOF
   8513 if ac_fn_c_try_compile "$LINENO"; then :
   8514   xorg_cv_cc_flag_unused_command_line_argument=yes
   8515 else
   8516   xorg_cv_cc_flag_unused_command_line_argument=no
   8517 fi
   8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8519 fi
   8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8523 	CFLAGS="$xorg_testset_save_CFLAGS"
   8524 fi
   8525 
   8526 found="no"
   8527 
   8528 	if test $found = "no" ; then
   8529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8531 		fi
   8532 
   8533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8535 		fi
   8536 
   8537 		CFLAGS="$CFLAGS -Wimplicit"
   8538 
   8539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8540 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8541 		cacheid=xorg_cv_cc_flag__Wimplicit
   8542 		if eval \${$cacheid+:} false; then :
   8543   $as_echo_n "(cached) " >&6
   8544 else
   8545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8546 /* end confdefs.h.  */
   8547 int i;
   8548 int
   8549 main ()
   8550 {
   8551 
   8552   ;
   8553   return 0;
   8554 }
   8555 _ACEOF
   8556 if ac_fn_c_try_link "$LINENO"; then :
   8557   eval $cacheid=yes
   8558 else
   8559   eval $cacheid=no
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext \
   8562     conftest$ac_exeext conftest.$ac_ext
   8563 fi
   8564 
   8565 
   8566 		CFLAGS="$xorg_testset_save_CFLAGS"
   8567 
   8568 		eval supported=\$$cacheid
   8569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8570 $as_echo "$supported" >&6; }
   8571 		if test "$supported" = "yes" ; then
   8572 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8573 			found="yes"
   8574 		fi
   8575 	fi
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 xorg_testset_save_CFLAGS="$CFLAGS"
   8592 
   8593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8598   $as_echo_n "(cached) " >&6
   8599 else
   8600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8601 /* end confdefs.h.  */
   8602 int i;
   8603 _ACEOF
   8604 if ac_fn_c_try_compile "$LINENO"; then :
   8605   xorg_cv_cc_flag_unknown_warning_option=yes
   8606 else
   8607   xorg_cv_cc_flag_unknown_warning_option=no
   8608 fi
   8609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8610 fi
   8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8614 	CFLAGS="$xorg_testset_save_CFLAGS"
   8615 fi
   8616 
   8617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8620 	fi
   8621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8625   $as_echo_n "(cached) " >&6
   8626 else
   8627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8628 /* end confdefs.h.  */
   8629 int i;
   8630 _ACEOF
   8631 if ac_fn_c_try_compile "$LINENO"; then :
   8632   xorg_cv_cc_flag_unused_command_line_argument=yes
   8633 else
   8634   xorg_cv_cc_flag_unused_command_line_argument=no
   8635 fi
   8636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8637 fi
   8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8641 	CFLAGS="$xorg_testset_save_CFLAGS"
   8642 fi
   8643 
   8644 found="no"
   8645 
   8646 	if test $found = "no" ; then
   8647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8649 		fi
   8650 
   8651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8653 		fi
   8654 
   8655 		CFLAGS="$CFLAGS -Wnonnull"
   8656 
   8657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8658 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8659 		cacheid=xorg_cv_cc_flag__Wnonnull
   8660 		if eval \${$cacheid+:} false; then :
   8661   $as_echo_n "(cached) " >&6
   8662 else
   8663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8664 /* end confdefs.h.  */
   8665 int i;
   8666 int
   8667 main ()
   8668 {
   8669 
   8670   ;
   8671   return 0;
   8672 }
   8673 _ACEOF
   8674 if ac_fn_c_try_link "$LINENO"; then :
   8675   eval $cacheid=yes
   8676 else
   8677   eval $cacheid=no
   8678 fi
   8679 rm -f core conftest.err conftest.$ac_objext \
   8680     conftest$ac_exeext conftest.$ac_ext
   8681 fi
   8682 
   8683 
   8684 		CFLAGS="$xorg_testset_save_CFLAGS"
   8685 
   8686 		eval supported=\$$cacheid
   8687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8688 $as_echo "$supported" >&6; }
   8689 		if test "$supported" = "yes" ; then
   8690 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8691 			found="yes"
   8692 		fi
   8693 	fi
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 xorg_testset_save_CFLAGS="$CFLAGS"
   8710 
   8711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8716   $as_echo_n "(cached) " >&6
   8717 else
   8718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8719 /* end confdefs.h.  */
   8720 int i;
   8721 _ACEOF
   8722 if ac_fn_c_try_compile "$LINENO"; then :
   8723   xorg_cv_cc_flag_unknown_warning_option=yes
   8724 else
   8725   xorg_cv_cc_flag_unknown_warning_option=no
   8726 fi
   8727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8728 fi
   8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8732 	CFLAGS="$xorg_testset_save_CFLAGS"
   8733 fi
   8734 
   8735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8738 	fi
   8739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8743   $as_echo_n "(cached) " >&6
   8744 else
   8745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8746 /* end confdefs.h.  */
   8747 int i;
   8748 _ACEOF
   8749 if ac_fn_c_try_compile "$LINENO"; then :
   8750   xorg_cv_cc_flag_unused_command_line_argument=yes
   8751 else
   8752   xorg_cv_cc_flag_unused_command_line_argument=no
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8755 fi
   8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8759 	CFLAGS="$xorg_testset_save_CFLAGS"
   8760 fi
   8761 
   8762 found="no"
   8763 
   8764 	if test $found = "no" ; then
   8765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8767 		fi
   8768 
   8769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8771 		fi
   8772 
   8773 		CFLAGS="$CFLAGS -Winit-self"
   8774 
   8775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8776 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8777 		cacheid=xorg_cv_cc_flag__Winit_self
   8778 		if eval \${$cacheid+:} false; then :
   8779   $as_echo_n "(cached) " >&6
   8780 else
   8781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8782 /* end confdefs.h.  */
   8783 int i;
   8784 int
   8785 main ()
   8786 {
   8787 
   8788   ;
   8789   return 0;
   8790 }
   8791 _ACEOF
   8792 if ac_fn_c_try_link "$LINENO"; then :
   8793   eval $cacheid=yes
   8794 else
   8795   eval $cacheid=no
   8796 fi
   8797 rm -f core conftest.err conftest.$ac_objext \
   8798     conftest$ac_exeext conftest.$ac_ext
   8799 fi
   8800 
   8801 
   8802 		CFLAGS="$xorg_testset_save_CFLAGS"
   8803 
   8804 		eval supported=\$$cacheid
   8805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8806 $as_echo "$supported" >&6; }
   8807 		if test "$supported" = "yes" ; then
   8808 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8809 			found="yes"
   8810 		fi
   8811 	fi
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 xorg_testset_save_CFLAGS="$CFLAGS"
   8828 
   8829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8834   $as_echo_n "(cached) " >&6
   8835 else
   8836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8837 /* end confdefs.h.  */
   8838 int i;
   8839 _ACEOF
   8840 if ac_fn_c_try_compile "$LINENO"; then :
   8841   xorg_cv_cc_flag_unknown_warning_option=yes
   8842 else
   8843   xorg_cv_cc_flag_unknown_warning_option=no
   8844 fi
   8845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8846 fi
   8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8850 	CFLAGS="$xorg_testset_save_CFLAGS"
   8851 fi
   8852 
   8853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8856 	fi
   8857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8861   $as_echo_n "(cached) " >&6
   8862 else
   8863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8864 /* end confdefs.h.  */
   8865 int i;
   8866 _ACEOF
   8867 if ac_fn_c_try_compile "$LINENO"; then :
   8868   xorg_cv_cc_flag_unused_command_line_argument=yes
   8869 else
   8870   xorg_cv_cc_flag_unused_command_line_argument=no
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8873 fi
   8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8877 	CFLAGS="$xorg_testset_save_CFLAGS"
   8878 fi
   8879 
   8880 found="no"
   8881 
   8882 	if test $found = "no" ; then
   8883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8885 		fi
   8886 
   8887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8889 		fi
   8890 
   8891 		CFLAGS="$CFLAGS -Wmain"
   8892 
   8893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8894 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8895 		cacheid=xorg_cv_cc_flag__Wmain
   8896 		if eval \${$cacheid+:} false; then :
   8897   $as_echo_n "(cached) " >&6
   8898 else
   8899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8900 /* end confdefs.h.  */
   8901 int i;
   8902 int
   8903 main ()
   8904 {
   8905 
   8906   ;
   8907   return 0;
   8908 }
   8909 _ACEOF
   8910 if ac_fn_c_try_link "$LINENO"; then :
   8911   eval $cacheid=yes
   8912 else
   8913   eval $cacheid=no
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext \
   8916     conftest$ac_exeext conftest.$ac_ext
   8917 fi
   8918 
   8919 
   8920 		CFLAGS="$xorg_testset_save_CFLAGS"
   8921 
   8922 		eval supported=\$$cacheid
   8923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8924 $as_echo "$supported" >&6; }
   8925 		if test "$supported" = "yes" ; then
   8926 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8927 			found="yes"
   8928 		fi
   8929 	fi
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 xorg_testset_save_CFLAGS="$CFLAGS"
   8946 
   8947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8952   $as_echo_n "(cached) " >&6
   8953 else
   8954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 _ACEOF
   8958 if ac_fn_c_try_compile "$LINENO"; then :
   8959   xorg_cv_cc_flag_unknown_warning_option=yes
   8960 else
   8961   xorg_cv_cc_flag_unknown_warning_option=no
   8962 fi
   8963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8964 fi
   8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8968 	CFLAGS="$xorg_testset_save_CFLAGS"
   8969 fi
   8970 
   8971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8974 	fi
   8975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8979   $as_echo_n "(cached) " >&6
   8980 else
   8981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8982 /* end confdefs.h.  */
   8983 int i;
   8984 _ACEOF
   8985 if ac_fn_c_try_compile "$LINENO"; then :
   8986   xorg_cv_cc_flag_unused_command_line_argument=yes
   8987 else
   8988   xorg_cv_cc_flag_unused_command_line_argument=no
   8989 fi
   8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8991 fi
   8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8995 	CFLAGS="$xorg_testset_save_CFLAGS"
   8996 fi
   8997 
   8998 found="no"
   8999 
   9000 	if test $found = "no" ; then
   9001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9003 		fi
   9004 
   9005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9007 		fi
   9008 
   9009 		CFLAGS="$CFLAGS -Wmissing-braces"
   9010 
   9011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9012 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9013 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9014 		if eval \${$cacheid+:} false; then :
   9015   $as_echo_n "(cached) " >&6
   9016 else
   9017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9018 /* end confdefs.h.  */
   9019 int i;
   9020 int
   9021 main ()
   9022 {
   9023 
   9024   ;
   9025   return 0;
   9026 }
   9027 _ACEOF
   9028 if ac_fn_c_try_link "$LINENO"; then :
   9029   eval $cacheid=yes
   9030 else
   9031   eval $cacheid=no
   9032 fi
   9033 rm -f core conftest.err conftest.$ac_objext \
   9034     conftest$ac_exeext conftest.$ac_ext
   9035 fi
   9036 
   9037 
   9038 		CFLAGS="$xorg_testset_save_CFLAGS"
   9039 
   9040 		eval supported=\$$cacheid
   9041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9042 $as_echo "$supported" >&6; }
   9043 		if test "$supported" = "yes" ; then
   9044 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9045 			found="yes"
   9046 		fi
   9047 	fi
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 xorg_testset_save_CFLAGS="$CFLAGS"
   9064 
   9065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9070   $as_echo_n "(cached) " >&6
   9071 else
   9072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 int i;
   9075 _ACEOF
   9076 if ac_fn_c_try_compile "$LINENO"; then :
   9077   xorg_cv_cc_flag_unknown_warning_option=yes
   9078 else
   9079   xorg_cv_cc_flag_unknown_warning_option=no
   9080 fi
   9081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9082 fi
   9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9086 	CFLAGS="$xorg_testset_save_CFLAGS"
   9087 fi
   9088 
   9089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9092 	fi
   9093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9097   $as_echo_n "(cached) " >&6
   9098 else
   9099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9100 /* end confdefs.h.  */
   9101 int i;
   9102 _ACEOF
   9103 if ac_fn_c_try_compile "$LINENO"; then :
   9104   xorg_cv_cc_flag_unused_command_line_argument=yes
   9105 else
   9106   xorg_cv_cc_flag_unused_command_line_argument=no
   9107 fi
   9108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9109 fi
   9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9113 	CFLAGS="$xorg_testset_save_CFLAGS"
   9114 fi
   9115 
   9116 found="no"
   9117 
   9118 	if test $found = "no" ; then
   9119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 		fi
   9122 
   9123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9125 		fi
   9126 
   9127 		CFLAGS="$CFLAGS -Wsequence-point"
   9128 
   9129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9130 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9131 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9132 		if eval \${$cacheid+:} false; then :
   9133   $as_echo_n "(cached) " >&6
   9134 else
   9135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9136 /* end confdefs.h.  */
   9137 int i;
   9138 int
   9139 main ()
   9140 {
   9141 
   9142   ;
   9143   return 0;
   9144 }
   9145 _ACEOF
   9146 if ac_fn_c_try_link "$LINENO"; then :
   9147   eval $cacheid=yes
   9148 else
   9149   eval $cacheid=no
   9150 fi
   9151 rm -f core conftest.err conftest.$ac_objext \
   9152     conftest$ac_exeext conftest.$ac_ext
   9153 fi
   9154 
   9155 
   9156 		CFLAGS="$xorg_testset_save_CFLAGS"
   9157 
   9158 		eval supported=\$$cacheid
   9159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9160 $as_echo "$supported" >&6; }
   9161 		if test "$supported" = "yes" ; then
   9162 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9163 			found="yes"
   9164 		fi
   9165 	fi
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 xorg_testset_save_CFLAGS="$CFLAGS"
   9182 
   9183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9188   $as_echo_n "(cached) " >&6
   9189 else
   9190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9191 /* end confdefs.h.  */
   9192 int i;
   9193 _ACEOF
   9194 if ac_fn_c_try_compile "$LINENO"; then :
   9195   xorg_cv_cc_flag_unknown_warning_option=yes
   9196 else
   9197   xorg_cv_cc_flag_unknown_warning_option=no
   9198 fi
   9199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9200 fi
   9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9204 	CFLAGS="$xorg_testset_save_CFLAGS"
   9205 fi
   9206 
   9207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9210 	fi
   9211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9215   $as_echo_n "(cached) " >&6
   9216 else
   9217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9218 /* end confdefs.h.  */
   9219 int i;
   9220 _ACEOF
   9221 if ac_fn_c_try_compile "$LINENO"; then :
   9222   xorg_cv_cc_flag_unused_command_line_argument=yes
   9223 else
   9224   xorg_cv_cc_flag_unused_command_line_argument=no
   9225 fi
   9226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9227 fi
   9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9231 	CFLAGS="$xorg_testset_save_CFLAGS"
   9232 fi
   9233 
   9234 found="no"
   9235 
   9236 	if test $found = "no" ; then
   9237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9239 		fi
   9240 
   9241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9243 		fi
   9244 
   9245 		CFLAGS="$CFLAGS -Wreturn-type"
   9246 
   9247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9248 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9249 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9250 		if eval \${$cacheid+:} false; then :
   9251   $as_echo_n "(cached) " >&6
   9252 else
   9253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 int
   9257 main ()
   9258 {
   9259 
   9260   ;
   9261   return 0;
   9262 }
   9263 _ACEOF
   9264 if ac_fn_c_try_link "$LINENO"; then :
   9265   eval $cacheid=yes
   9266 else
   9267   eval $cacheid=no
   9268 fi
   9269 rm -f core conftest.err conftest.$ac_objext \
   9270     conftest$ac_exeext conftest.$ac_ext
   9271 fi
   9272 
   9273 
   9274 		CFLAGS="$xorg_testset_save_CFLAGS"
   9275 
   9276 		eval supported=\$$cacheid
   9277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9278 $as_echo "$supported" >&6; }
   9279 		if test "$supported" = "yes" ; then
   9280 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9281 			found="yes"
   9282 		fi
   9283 	fi
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 xorg_testset_save_CFLAGS="$CFLAGS"
   9300 
   9301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9306   $as_echo_n "(cached) " >&6
   9307 else
   9308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9309 /* end confdefs.h.  */
   9310 int i;
   9311 _ACEOF
   9312 if ac_fn_c_try_compile "$LINENO"; then :
   9313   xorg_cv_cc_flag_unknown_warning_option=yes
   9314 else
   9315   xorg_cv_cc_flag_unknown_warning_option=no
   9316 fi
   9317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9318 fi
   9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9322 	CFLAGS="$xorg_testset_save_CFLAGS"
   9323 fi
   9324 
   9325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9328 	fi
   9329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9333   $as_echo_n "(cached) " >&6
   9334 else
   9335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 int i;
   9338 _ACEOF
   9339 if ac_fn_c_try_compile "$LINENO"; then :
   9340   xorg_cv_cc_flag_unused_command_line_argument=yes
   9341 else
   9342   xorg_cv_cc_flag_unused_command_line_argument=no
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9345 fi
   9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9349 	CFLAGS="$xorg_testset_save_CFLAGS"
   9350 fi
   9351 
   9352 found="no"
   9353 
   9354 	if test $found = "no" ; then
   9355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9357 		fi
   9358 
   9359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9361 		fi
   9362 
   9363 		CFLAGS="$CFLAGS -Wtrigraphs"
   9364 
   9365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9366 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9367 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9368 		if eval \${$cacheid+:} false; then :
   9369   $as_echo_n "(cached) " >&6
   9370 else
   9371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9372 /* end confdefs.h.  */
   9373 int i;
   9374 int
   9375 main ()
   9376 {
   9377 
   9378   ;
   9379   return 0;
   9380 }
   9381 _ACEOF
   9382 if ac_fn_c_try_link "$LINENO"; then :
   9383   eval $cacheid=yes
   9384 else
   9385   eval $cacheid=no
   9386 fi
   9387 rm -f core conftest.err conftest.$ac_objext \
   9388     conftest$ac_exeext conftest.$ac_ext
   9389 fi
   9390 
   9391 
   9392 		CFLAGS="$xorg_testset_save_CFLAGS"
   9393 
   9394 		eval supported=\$$cacheid
   9395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9396 $as_echo "$supported" >&6; }
   9397 		if test "$supported" = "yes" ; then
   9398 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9399 			found="yes"
   9400 		fi
   9401 	fi
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 xorg_testset_save_CFLAGS="$CFLAGS"
   9418 
   9419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9424   $as_echo_n "(cached) " >&6
   9425 else
   9426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9427 /* end confdefs.h.  */
   9428 int i;
   9429 _ACEOF
   9430 if ac_fn_c_try_compile "$LINENO"; then :
   9431   xorg_cv_cc_flag_unknown_warning_option=yes
   9432 else
   9433   xorg_cv_cc_flag_unknown_warning_option=no
   9434 fi
   9435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9436 fi
   9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9440 	CFLAGS="$xorg_testset_save_CFLAGS"
   9441 fi
   9442 
   9443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9446 	fi
   9447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9451   $as_echo_n "(cached) " >&6
   9452 else
   9453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9454 /* end confdefs.h.  */
   9455 int i;
   9456 _ACEOF
   9457 if ac_fn_c_try_compile "$LINENO"; then :
   9458   xorg_cv_cc_flag_unused_command_line_argument=yes
   9459 else
   9460   xorg_cv_cc_flag_unused_command_line_argument=no
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9463 fi
   9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9467 	CFLAGS="$xorg_testset_save_CFLAGS"
   9468 fi
   9469 
   9470 found="no"
   9471 
   9472 	if test $found = "no" ; then
   9473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9475 		fi
   9476 
   9477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9479 		fi
   9480 
   9481 		CFLAGS="$CFLAGS -Warray-bounds"
   9482 
   9483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9484 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9485 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9486 		if eval \${$cacheid+:} false; then :
   9487   $as_echo_n "(cached) " >&6
   9488 else
   9489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9490 /* end confdefs.h.  */
   9491 int i;
   9492 int
   9493 main ()
   9494 {
   9495 
   9496   ;
   9497   return 0;
   9498 }
   9499 _ACEOF
   9500 if ac_fn_c_try_link "$LINENO"; then :
   9501   eval $cacheid=yes
   9502 else
   9503   eval $cacheid=no
   9504 fi
   9505 rm -f core conftest.err conftest.$ac_objext \
   9506     conftest$ac_exeext conftest.$ac_ext
   9507 fi
   9508 
   9509 
   9510 		CFLAGS="$xorg_testset_save_CFLAGS"
   9511 
   9512 		eval supported=\$$cacheid
   9513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9514 $as_echo "$supported" >&6; }
   9515 		if test "$supported" = "yes" ; then
   9516 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9517 			found="yes"
   9518 		fi
   9519 	fi
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 xorg_testset_save_CFLAGS="$CFLAGS"
   9536 
   9537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9542   $as_echo_n "(cached) " >&6
   9543 else
   9544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9545 /* end confdefs.h.  */
   9546 int i;
   9547 _ACEOF
   9548 if ac_fn_c_try_compile "$LINENO"; then :
   9549   xorg_cv_cc_flag_unknown_warning_option=yes
   9550 else
   9551   xorg_cv_cc_flag_unknown_warning_option=no
   9552 fi
   9553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9554 fi
   9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9558 	CFLAGS="$xorg_testset_save_CFLAGS"
   9559 fi
   9560 
   9561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9564 	fi
   9565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9569   $as_echo_n "(cached) " >&6
   9570 else
   9571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9572 /* end confdefs.h.  */
   9573 int i;
   9574 _ACEOF
   9575 if ac_fn_c_try_compile "$LINENO"; then :
   9576   xorg_cv_cc_flag_unused_command_line_argument=yes
   9577 else
   9578   xorg_cv_cc_flag_unused_command_line_argument=no
   9579 fi
   9580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9581 fi
   9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9585 	CFLAGS="$xorg_testset_save_CFLAGS"
   9586 fi
   9587 
   9588 found="no"
   9589 
   9590 	if test $found = "no" ; then
   9591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9593 		fi
   9594 
   9595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9597 		fi
   9598 
   9599 		CFLAGS="$CFLAGS -Wwrite-strings"
   9600 
   9601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9602 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9603 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9604 		if eval \${$cacheid+:} false; then :
   9605   $as_echo_n "(cached) " >&6
   9606 else
   9607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 int
   9611 main ()
   9612 {
   9613 
   9614   ;
   9615   return 0;
   9616 }
   9617 _ACEOF
   9618 if ac_fn_c_try_link "$LINENO"; then :
   9619   eval $cacheid=yes
   9620 else
   9621   eval $cacheid=no
   9622 fi
   9623 rm -f core conftest.err conftest.$ac_objext \
   9624     conftest$ac_exeext conftest.$ac_ext
   9625 fi
   9626 
   9627 
   9628 		CFLAGS="$xorg_testset_save_CFLAGS"
   9629 
   9630 		eval supported=\$$cacheid
   9631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9632 $as_echo "$supported" >&6; }
   9633 		if test "$supported" = "yes" ; then
   9634 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9635 			found="yes"
   9636 		fi
   9637 	fi
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 xorg_testset_save_CFLAGS="$CFLAGS"
   9654 
   9655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9660   $as_echo_n "(cached) " >&6
   9661 else
   9662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int i;
   9665 _ACEOF
   9666 if ac_fn_c_try_compile "$LINENO"; then :
   9667   xorg_cv_cc_flag_unknown_warning_option=yes
   9668 else
   9669   xorg_cv_cc_flag_unknown_warning_option=no
   9670 fi
   9671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9672 fi
   9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9676 	CFLAGS="$xorg_testset_save_CFLAGS"
   9677 fi
   9678 
   9679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9682 	fi
   9683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9687   $as_echo_n "(cached) " >&6
   9688 else
   9689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9690 /* end confdefs.h.  */
   9691 int i;
   9692 _ACEOF
   9693 if ac_fn_c_try_compile "$LINENO"; then :
   9694   xorg_cv_cc_flag_unused_command_line_argument=yes
   9695 else
   9696   xorg_cv_cc_flag_unused_command_line_argument=no
   9697 fi
   9698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9699 fi
   9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9703 	CFLAGS="$xorg_testset_save_CFLAGS"
   9704 fi
   9705 
   9706 found="no"
   9707 
   9708 	if test $found = "no" ; then
   9709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9711 		fi
   9712 
   9713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9715 		fi
   9716 
   9717 		CFLAGS="$CFLAGS -Waddress"
   9718 
   9719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9720 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9721 		cacheid=xorg_cv_cc_flag__Waddress
   9722 		if eval \${$cacheid+:} false; then :
   9723   $as_echo_n "(cached) " >&6
   9724 else
   9725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9726 /* end confdefs.h.  */
   9727 int i;
   9728 int
   9729 main ()
   9730 {
   9731 
   9732   ;
   9733   return 0;
   9734 }
   9735 _ACEOF
   9736 if ac_fn_c_try_link "$LINENO"; then :
   9737   eval $cacheid=yes
   9738 else
   9739   eval $cacheid=no
   9740 fi
   9741 rm -f core conftest.err conftest.$ac_objext \
   9742     conftest$ac_exeext conftest.$ac_ext
   9743 fi
   9744 
   9745 
   9746 		CFLAGS="$xorg_testset_save_CFLAGS"
   9747 
   9748 		eval supported=\$$cacheid
   9749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9750 $as_echo "$supported" >&6; }
   9751 		if test "$supported" = "yes" ; then
   9752 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9753 			found="yes"
   9754 		fi
   9755 	fi
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 xorg_testset_save_CFLAGS="$CFLAGS"
   9772 
   9773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9778   $as_echo_n "(cached) " >&6
   9779 else
   9780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9781 /* end confdefs.h.  */
   9782 int i;
   9783 _ACEOF
   9784 if ac_fn_c_try_compile "$LINENO"; then :
   9785   xorg_cv_cc_flag_unknown_warning_option=yes
   9786 else
   9787   xorg_cv_cc_flag_unknown_warning_option=no
   9788 fi
   9789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9790 fi
   9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9794 	CFLAGS="$xorg_testset_save_CFLAGS"
   9795 fi
   9796 
   9797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9800 	fi
   9801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9805   $as_echo_n "(cached) " >&6
   9806 else
   9807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9808 /* end confdefs.h.  */
   9809 int i;
   9810 _ACEOF
   9811 if ac_fn_c_try_compile "$LINENO"; then :
   9812   xorg_cv_cc_flag_unused_command_line_argument=yes
   9813 else
   9814   xorg_cv_cc_flag_unused_command_line_argument=no
   9815 fi
   9816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9817 fi
   9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9821 	CFLAGS="$xorg_testset_save_CFLAGS"
   9822 fi
   9823 
   9824 found="no"
   9825 
   9826 	if test $found = "no" ; then
   9827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9829 		fi
   9830 
   9831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9833 		fi
   9834 
   9835 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9836 
   9837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9838 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9839 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9840 		if eval \${$cacheid+:} false; then :
   9841   $as_echo_n "(cached) " >&6
   9842 else
   9843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9844 /* end confdefs.h.  */
   9845 int i;
   9846 int
   9847 main ()
   9848 {
   9849 
   9850   ;
   9851   return 0;
   9852 }
   9853 _ACEOF
   9854 if ac_fn_c_try_link "$LINENO"; then :
   9855   eval $cacheid=yes
   9856 else
   9857   eval $cacheid=no
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext \
   9860     conftest$ac_exeext conftest.$ac_ext
   9861 fi
   9862 
   9863 
   9864 		CFLAGS="$xorg_testset_save_CFLAGS"
   9865 
   9866 		eval supported=\$$cacheid
   9867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9868 $as_echo "$supported" >&6; }
   9869 		if test "$supported" = "yes" ; then
   9870 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9871 			found="yes"
   9872 		fi
   9873 	fi
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 xorg_testset_save_CFLAGS="$CFLAGS"
   9890 
   9891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9899 /* end confdefs.h.  */
   9900 int i;
   9901 _ACEOF
   9902 if ac_fn_c_try_compile "$LINENO"; then :
   9903   xorg_cv_cc_flag_unknown_warning_option=yes
   9904 else
   9905   xorg_cv_cc_flag_unknown_warning_option=no
   9906 fi
   9907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9908 fi
   9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9912 	CFLAGS="$xorg_testset_save_CFLAGS"
   9913 fi
   9914 
   9915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9918 	fi
   9919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9923   $as_echo_n "(cached) " >&6
   9924 else
   9925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9926 /* end confdefs.h.  */
   9927 int i;
   9928 _ACEOF
   9929 if ac_fn_c_try_compile "$LINENO"; then :
   9930   xorg_cv_cc_flag_unused_command_line_argument=yes
   9931 else
   9932   xorg_cv_cc_flag_unused_command_line_argument=no
   9933 fi
   9934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9935 fi
   9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9939 	CFLAGS="$xorg_testset_save_CFLAGS"
   9940 fi
   9941 
   9942 found="no"
   9943 
   9944 	if test $found = "no" ; then
   9945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9947 		fi
   9948 
   9949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9951 		fi
   9952 
   9953 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9954 
   9955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9956 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9957 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9958 		if eval \${$cacheid+:} false; then :
   9959   $as_echo_n "(cached) " >&6
   9960 else
   9961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9962 /* end confdefs.h.  */
   9963 int i;
   9964 int
   9965 main ()
   9966 {
   9967 
   9968   ;
   9969   return 0;
   9970 }
   9971 _ACEOF
   9972 if ac_fn_c_try_link "$LINENO"; then :
   9973   eval $cacheid=yes
   9974 else
   9975   eval $cacheid=no
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext \
   9978     conftest$ac_exeext conftest.$ac_ext
   9979 fi
   9980 
   9981 
   9982 		CFLAGS="$xorg_testset_save_CFLAGS"
   9983 
   9984 		eval supported=\$$cacheid
   9985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9986 $as_echo "$supported" >&6; }
   9987 		if test "$supported" = "yes" ; then
   9988 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9989 			found="yes"
   9990 		fi
   9991 	fi
   9992 
   9993 
   9994 fi
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 		CWARNFLAGS="$BASE_CFLAGS"
   10003 		if  test "x$GCC" = xyes ; then
   10004 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10005 		fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 # Check whether --enable-strict-compilation was given.
   10015 if test "${enable_strict_compilation+set}" = set; then :
   10016   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10017 else
   10018   STRICT_COMPILE=no
   10019 fi
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 STRICT_CFLAGS=""
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 xorg_testset_save_CFLAGS="$CFLAGS"
   10041 
   10042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 _ACEOF
   10053 if ac_fn_c_try_compile "$LINENO"; then :
   10054   xorg_cv_cc_flag_unknown_warning_option=yes
   10055 else
   10056   xorg_cv_cc_flag_unknown_warning_option=no
   10057 fi
   10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10059 fi
   10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10063 	CFLAGS="$xorg_testset_save_CFLAGS"
   10064 fi
   10065 
   10066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10069 	fi
   10070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10074   $as_echo_n "(cached) " >&6
   10075 else
   10076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10077 /* end confdefs.h.  */
   10078 int i;
   10079 _ACEOF
   10080 if ac_fn_c_try_compile "$LINENO"; then :
   10081   xorg_cv_cc_flag_unused_command_line_argument=yes
   10082 else
   10083   xorg_cv_cc_flag_unused_command_line_argument=no
   10084 fi
   10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10086 fi
   10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10090 	CFLAGS="$xorg_testset_save_CFLAGS"
   10091 fi
   10092 
   10093 found="no"
   10094 
   10095 	if test $found = "no" ; then
   10096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10098 		fi
   10099 
   10100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10102 		fi
   10103 
   10104 		CFLAGS="$CFLAGS -pedantic"
   10105 
   10106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10107 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10108 		cacheid=xorg_cv_cc_flag__pedantic
   10109 		if eval \${$cacheid+:} false; then :
   10110   $as_echo_n "(cached) " >&6
   10111 else
   10112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10113 /* end confdefs.h.  */
   10114 int i;
   10115 int
   10116 main ()
   10117 {
   10118 
   10119   ;
   10120   return 0;
   10121 }
   10122 _ACEOF
   10123 if ac_fn_c_try_link "$LINENO"; then :
   10124   eval $cacheid=yes
   10125 else
   10126   eval $cacheid=no
   10127 fi
   10128 rm -f core conftest.err conftest.$ac_objext \
   10129     conftest$ac_exeext conftest.$ac_ext
   10130 fi
   10131 
   10132 
   10133 		CFLAGS="$xorg_testset_save_CFLAGS"
   10134 
   10135 		eval supported=\$$cacheid
   10136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10137 $as_echo "$supported" >&6; }
   10138 		if test "$supported" = "yes" ; then
   10139 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10140 			found="yes"
   10141 		fi
   10142 	fi
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 xorg_testset_save_CFLAGS="$CFLAGS"
   10159 
   10160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 _ACEOF
   10171 if ac_fn_c_try_compile "$LINENO"; then :
   10172   xorg_cv_cc_flag_unknown_warning_option=yes
   10173 else
   10174   xorg_cv_cc_flag_unknown_warning_option=no
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10177 fi
   10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10181 	CFLAGS="$xorg_testset_save_CFLAGS"
   10182 fi
   10183 
   10184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10187 	fi
   10188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10192   $as_echo_n "(cached) " >&6
   10193 else
   10194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10195 /* end confdefs.h.  */
   10196 int i;
   10197 _ACEOF
   10198 if ac_fn_c_try_compile "$LINENO"; then :
   10199   xorg_cv_cc_flag_unused_command_line_argument=yes
   10200 else
   10201   xorg_cv_cc_flag_unused_command_line_argument=no
   10202 fi
   10203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10204 fi
   10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10208 	CFLAGS="$xorg_testset_save_CFLAGS"
   10209 fi
   10210 
   10211 found="no"
   10212 
   10213 	if test $found = "no" ; then
   10214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10216 		fi
   10217 
   10218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10220 		fi
   10221 
   10222 		CFLAGS="$CFLAGS -Werror"
   10223 
   10224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10225 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10226 		cacheid=xorg_cv_cc_flag__Werror
   10227 		if eval \${$cacheid+:} false; then :
   10228   $as_echo_n "(cached) " >&6
   10229 else
   10230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10231 /* end confdefs.h.  */
   10232 int i;
   10233 int
   10234 main ()
   10235 {
   10236 
   10237   ;
   10238   return 0;
   10239 }
   10240 _ACEOF
   10241 if ac_fn_c_try_link "$LINENO"; then :
   10242   eval $cacheid=yes
   10243 else
   10244   eval $cacheid=no
   10245 fi
   10246 rm -f core conftest.err conftest.$ac_objext \
   10247     conftest$ac_exeext conftest.$ac_ext
   10248 fi
   10249 
   10250 
   10251 		CFLAGS="$xorg_testset_save_CFLAGS"
   10252 
   10253 		eval supported=\$$cacheid
   10254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10255 $as_echo "$supported" >&6; }
   10256 		if test "$supported" = "yes" ; then
   10257 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10258 			found="yes"
   10259 		fi
   10260 	fi
   10261 
   10262 	if test $found = "no" ; then
   10263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10265 		fi
   10266 
   10267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10269 		fi
   10270 
   10271 		CFLAGS="$CFLAGS -errwarn"
   10272 
   10273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10274 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10275 		cacheid=xorg_cv_cc_flag__errwarn
   10276 		if eval \${$cacheid+:} false; then :
   10277   $as_echo_n "(cached) " >&6
   10278 else
   10279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10280 /* end confdefs.h.  */
   10281 int i;
   10282 int
   10283 main ()
   10284 {
   10285 
   10286   ;
   10287   return 0;
   10288 }
   10289 _ACEOF
   10290 if ac_fn_c_try_link "$LINENO"; then :
   10291   eval $cacheid=yes
   10292 else
   10293   eval $cacheid=no
   10294 fi
   10295 rm -f core conftest.err conftest.$ac_objext \
   10296     conftest$ac_exeext conftest.$ac_ext
   10297 fi
   10298 
   10299 
   10300 		CFLAGS="$xorg_testset_save_CFLAGS"
   10301 
   10302 		eval supported=\$$cacheid
   10303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10304 $as_echo "$supported" >&6; }
   10305 		if test "$supported" = "yes" ; then
   10306 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10307 			found="yes"
   10308 		fi
   10309 	fi
   10310 
   10311 
   10312 
   10313 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10314 # activate it with -Werror, so we add it here explicitly.
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 xorg_testset_save_CFLAGS="$CFLAGS"
   10329 
   10330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10335   $as_echo_n "(cached) " >&6
   10336 else
   10337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10338 /* end confdefs.h.  */
   10339 int i;
   10340 _ACEOF
   10341 if ac_fn_c_try_compile "$LINENO"; then :
   10342   xorg_cv_cc_flag_unknown_warning_option=yes
   10343 else
   10344   xorg_cv_cc_flag_unknown_warning_option=no
   10345 fi
   10346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10347 fi
   10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10351 	CFLAGS="$xorg_testset_save_CFLAGS"
   10352 fi
   10353 
   10354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 	fi
   10358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10362   $as_echo_n "(cached) " >&6
   10363 else
   10364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10365 /* end confdefs.h.  */
   10366 int i;
   10367 _ACEOF
   10368 if ac_fn_c_try_compile "$LINENO"; then :
   10369   xorg_cv_cc_flag_unused_command_line_argument=yes
   10370 else
   10371   xorg_cv_cc_flag_unused_command_line_argument=no
   10372 fi
   10373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10374 fi
   10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10378 	CFLAGS="$xorg_testset_save_CFLAGS"
   10379 fi
   10380 
   10381 found="no"
   10382 
   10383 	if test $found = "no" ; then
   10384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10386 		fi
   10387 
   10388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10390 		fi
   10391 
   10392 		CFLAGS="$CFLAGS -Werror=attributes"
   10393 
   10394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10395 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10396 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10397 		if eval \${$cacheid+:} false; then :
   10398   $as_echo_n "(cached) " >&6
   10399 else
   10400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 int
   10404 main ()
   10405 {
   10406 
   10407   ;
   10408   return 0;
   10409 }
   10410 _ACEOF
   10411 if ac_fn_c_try_link "$LINENO"; then :
   10412   eval $cacheid=yes
   10413 else
   10414   eval $cacheid=no
   10415 fi
   10416 rm -f core conftest.err conftest.$ac_objext \
   10417     conftest$ac_exeext conftest.$ac_ext
   10418 fi
   10419 
   10420 
   10421 		CFLAGS="$xorg_testset_save_CFLAGS"
   10422 
   10423 		eval supported=\$$cacheid
   10424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10425 $as_echo "$supported" >&6; }
   10426 		if test "$supported" = "yes" ; then
   10427 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10428 			found="yes"
   10429 		fi
   10430 	fi
   10431 
   10432 
   10433 
   10434 if test "x$STRICT_COMPILE" = "xyes"; then
   10435     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10436     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10437 fi
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 cat >>confdefs.h <<_ACEOF
   10445 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10446 _ACEOF
   10447 
   10448 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10449 	if test "x$PVM" = "x"; then
   10450 		PVM="0"
   10451 	fi
   10452 
   10453 cat >>confdefs.h <<_ACEOF
   10454 #define PACKAGE_VERSION_MINOR $PVM
   10455 _ACEOF
   10456 
   10457 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10458 	if test "x$PVP" = "x"; then
   10459 		PVP="0"
   10460 	fi
   10461 
   10462 cat >>confdefs.h <<_ACEOF
   10463 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10464 _ACEOF
   10465 
   10466 
   10467 
   10468 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10469 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10470 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10471 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10472 
   10473 
   10474 
   10475 
   10476 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10477 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10478 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10479 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10480 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 if test x$APP_MAN_SUFFIX = x    ; then
   10488     APP_MAN_SUFFIX=1
   10489 fi
   10490 if test x$APP_MAN_DIR = x    ; then
   10491     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10492 fi
   10493 
   10494 if test x$LIB_MAN_SUFFIX = x    ; then
   10495     LIB_MAN_SUFFIX=3
   10496 fi
   10497 if test x$LIB_MAN_DIR = x    ; then
   10498     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10499 fi
   10500 
   10501 if test x$FILE_MAN_SUFFIX = x    ; then
   10502     case $host_os in
   10503 	# Solaris 2.0 - 11 use SysV man page sections
   10504 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10505 	*)				FILE_MAN_SUFFIX=5  ;;
   10506     esac
   10507 fi
   10508 if test x$FILE_MAN_DIR = x    ; then
   10509     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10510 fi
   10511 
   10512 if test x$MISC_MAN_SUFFIX = x    ; then
   10513     case $host_os in
   10514 	# Solaris 2.0 - 11 use SysV man page sections
   10515 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10516 	*)				MISC_MAN_SUFFIX=7  ;;
   10517     esac
   10518 fi
   10519 if test x$MISC_MAN_DIR = x    ; then
   10520     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10521 fi
   10522 
   10523 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10524     case $host_os in
   10525 	# Solaris 2.0 - 11 use SysV man page sections
   10526 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10527 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10528     esac
   10529 fi
   10530 if test x$DRIVER_MAN_DIR = x    ; then
   10531     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10532 fi
   10533 
   10534 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10535     case $host_os in
   10536 	# Solaris 2.0 - 11 use SysV man page sections
   10537 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10538 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10539     esac
   10540 fi
   10541 if test x$ADMIN_MAN_DIR = x    ; then
   10542     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10543 fi
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 XORG_MAN_PAGE="X Version 11"
   10560 
   10561 MAN_SUBSTS="\
   10562 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10563 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10564 	-e 's|__xservername__|Xorg|g' \
   10565 	-e 's|__xconfigfile__|xorg.conf|g' \
   10566 	-e 's|__projectroot__|\$(prefix)|g' \
   10567 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10568 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10569 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10570 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10571 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10572 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10573 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10574 
   10575 
   10576 
   10577 # Check whether --enable-silent-rules was given.
   10578 if test "${enable_silent_rules+set}" = set; then :
   10579   enableval=$enable_silent_rules;
   10580 fi
   10581 
   10582 case $enable_silent_rules in # (((
   10583   yes) AM_DEFAULT_VERBOSITY=0;;
   10584    no) AM_DEFAULT_VERBOSITY=1;;
   10585     *) AM_DEFAULT_VERBOSITY=0;;
   10586 esac
   10587 am_make=${MAKE-make}
   10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10589 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10590 if ${am_cv_make_support_nested_variables+:} false; then :
   10591   $as_echo_n "(cached) " >&6
   10592 else
   10593   if $as_echo 'TRUE=$(BAR$(V))
   10594 BAR0=false
   10595 BAR1=true
   10596 V=1
   10597 am__doit:
   10598 	@$(TRUE)
   10599 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10600   am_cv_make_support_nested_variables=yes
   10601 else
   10602   am_cv_make_support_nested_variables=no
   10603 fi
   10604 fi
   10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10606 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10607 if test $am_cv_make_support_nested_variables = yes; then
   10608     AM_V='$(V)'
   10609   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10610 else
   10611   AM_V=$AM_DEFAULT_VERBOSITY
   10612   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10613 fi
   10614 AM_BACKSLASH='\'
   10615 
   10616 
   10617 
   10618 # Checks for pkg-config packages
   10619 
   10620 pkg_failed=no
   10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEYES" >&5
   10622 $as_echo_n "checking for XEYES... " >&6; }
   10623 
   10624 if test -n "$XEYES_CFLAGS"; then
   10625     pkg_cv_XEYES_CFLAGS="$XEYES_CFLAGS"
   10626  elif test -n "$PKG_CONFIG"; then
   10627     if test -n "$PKG_CONFIG" && \
   10628     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu xproto >= 7.0.17\""; } >&5
   10629   ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu xproto >= 7.0.17") 2>&5
   10630   ac_status=$?
   10631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10632   test $ac_status = 0; }; then
   10633   pkg_cv_XEYES_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xmu xproto >= 7.0.17" 2>/dev/null`
   10634 		      test "x$?" != "x0" && pkg_failed=yes
   10635 else
   10636   pkg_failed=yes
   10637 fi
   10638  else
   10639     pkg_failed=untried
   10640 fi
   10641 if test -n "$XEYES_LIBS"; then
   10642     pkg_cv_XEYES_LIBS="$XEYES_LIBS"
   10643  elif test -n "$PKG_CONFIG"; then
   10644     if test -n "$PKG_CONFIG" && \
   10645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu xproto >= 7.0.17\""; } >&5
   10646   ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu xproto >= 7.0.17") 2>&5
   10647   ac_status=$?
   10648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10649   test $ac_status = 0; }; then
   10650   pkg_cv_XEYES_LIBS=`$PKG_CONFIG --libs "x11 xt xext xmu xproto >= 7.0.17" 2>/dev/null`
   10651 		      test "x$?" != "x0" && pkg_failed=yes
   10652 else
   10653   pkg_failed=yes
   10654 fi
   10655  else
   10656     pkg_failed=untried
   10657 fi
   10658 
   10659 
   10660 
   10661 if test $pkg_failed = yes; then
   10662    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10663 $as_echo "no" >&6; }
   10664 
   10665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10666         _pkg_short_errors_supported=yes
   10667 else
   10668         _pkg_short_errors_supported=no
   10669 fi
   10670         if test $_pkg_short_errors_supported = yes; then
   10671 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xmu xproto >= 7.0.17" 2>&1`
   10672         else
   10673 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xmu xproto >= 7.0.17" 2>&1`
   10674         fi
   10675 	# Put the nasty error message in config.log where it belongs
   10676 	echo "$XEYES_PKG_ERRORS" >&5
   10677 
   10678 	as_fn_error $? "Package requirements (x11 xt xext xmu xproto >= 7.0.17) were not met:
   10679 
   10680 $XEYES_PKG_ERRORS
   10681 
   10682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10683 installed software in a non-standard prefix.
   10684 
   10685 Alternatively, you may set the environment variables XEYES_CFLAGS
   10686 and XEYES_LIBS to avoid the need to call pkg-config.
   10687 See the pkg-config man page for more details." "$LINENO" 5
   10688 elif test $pkg_failed = untried; then
   10689      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10690 $as_echo "no" >&6; }
   10691 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10693 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10694 is in your PATH or set the PKG_CONFIG environment variable to the full
   10695 path to pkg-config.
   10696 
   10697 Alternatively, you may set the environment variables XEYES_CFLAGS
   10698 and XEYES_LIBS to avoid the need to call pkg-config.
   10699 See the pkg-config man page for more details.
   10700 
   10701 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10702 See \`config.log' for more details" "$LINENO" 5; }
   10703 else
   10704 	XEYES_CFLAGS=$pkg_cv_XEYES_CFLAGS
   10705 	XEYES_LIBS=$pkg_cv_XEYES_LIBS
   10706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10707 $as_echo "yes" >&6; }
   10708 
   10709 fi
   10710 
   10711 
   10712 # Check whether --with-xrender was given.
   10713 if test "${with_xrender+set}" = set; then :
   10714   withval=$with_xrender; use_xrender="$withval"
   10715 else
   10716   use_xrender="try"
   10717 fi
   10718 
   10719 if test x$use_xrender != xno ; then
   10720 
   10721 pkg_failed=no
   10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   10723 $as_echo_n "checking for XRENDER... " >&6; }
   10724 
   10725 if test -n "$XRENDER_CFLAGS"; then
   10726     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   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 \"xrender >= 0.4\""; } >&5
   10730   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 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_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.4" 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 if test -n "$XRENDER_LIBS"; then
   10743     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   10744  elif test -n "$PKG_CONFIG"; then
   10745     if test -n "$PKG_CONFIG" && \
   10746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
   10747   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
   10748   ac_status=$?
   10749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10750   test $ac_status = 0; }; then
   10751   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.4" 2>/dev/null`
   10752 		      test "x$?" != "x0" && pkg_failed=yes
   10753 else
   10754   pkg_failed=yes
   10755 fi
   10756  else
   10757     pkg_failed=untried
   10758 fi
   10759 
   10760 
   10761 
   10762 if test $pkg_failed = yes; then
   10763    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10764 $as_echo "no" >&6; }
   10765 
   10766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10767         _pkg_short_errors_supported=yes
   10768 else
   10769         _pkg_short_errors_supported=no
   10770 fi
   10771         if test $_pkg_short_errors_supported = yes; then
   10772 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   10773         else
   10774 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   10775         fi
   10776 	# Put the nasty error message in config.log where it belongs
   10777 	echo "$XRENDER_PKG_ERRORS" >&5
   10778 
   10779 	as_fn_error $? "Package requirements (xrender >= 0.4) were not met:
   10780 
   10781 $XRENDER_PKG_ERRORS
   10782 
   10783 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10784 installed software in a non-standard prefix.
   10785 
   10786 Alternatively, you may set the environment variables XRENDER_CFLAGS
   10787 and XRENDER_LIBS to avoid the need to call pkg-config.
   10788 See the pkg-config man page for more details." "$LINENO" 5
   10789 elif test $pkg_failed = untried; then
   10790      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10791 $as_echo "no" >&6; }
   10792 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10794 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10795 is in your PATH or set the PKG_CONFIG environment variable to the full
   10796 path to pkg-config.
   10797 
   10798 Alternatively, you may set the environment variables XRENDER_CFLAGS
   10799 and XRENDER_LIBS to avoid the need to call pkg-config.
   10800 See the pkg-config man page for more details.
   10801 
   10802 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10803 See \`config.log' for more details" "$LINENO" 5; }
   10804 else
   10805 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   10806 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   10807         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10808 $as_echo "yes" >&6; }
   10809 
   10810 fi
   10811 
   10812 $as_echo "#define XRENDER 1" >>confdefs.h
   10813 
   10814 fi
   10815 
   10816 ac_config_files="$ac_config_files Makefile man/Makefile"
   10817 
   10818 cat >confcache <<\_ACEOF
   10819 # This file is a shell script that caches the results of configure
   10820 # tests run on this system so they can be shared between configure
   10821 # scripts and configure runs, see configure's option --config-cache.
   10822 # It is not useful on other systems.  If it contains results you don't
   10823 # want to keep, you may remove or edit it.
   10824 #
   10825 # config.status only pays attention to the cache file if you give it
   10826 # the --recheck option to rerun configure.
   10827 #
   10828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10830 # following values.
   10831 
   10832 _ACEOF
   10833 
   10834 # The following way of writing the cache mishandles newlines in values,
   10835 # but we know of no workaround that is simple, portable, and efficient.
   10836 # So, we kill variables containing newlines.
   10837 # Ultrix sh set writes to stderr and can't be redirected directly,
   10838 # and sets the high bit in the cache file unless we assign to the vars.
   10839 (
   10840   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10841     eval ac_val=\$$ac_var
   10842     case $ac_val in #(
   10843     *${as_nl}*)
   10844       case $ac_var in #(
   10845       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10847       esac
   10848       case $ac_var in #(
   10849       _ | IFS | as_nl) ;; #(
   10850       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10851       *) { eval $ac_var=; unset $ac_var;} ;;
   10852       esac ;;
   10853     esac
   10854   done
   10855 
   10856   (set) 2>&1 |
   10857     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10858     *${as_nl}ac_space=\ *)
   10859       # `set' does not quote correctly, so add quotes: double-quote
   10860       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10861       sed -n \
   10862 	"s/'/'\\\\''/g;
   10863 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10864       ;; #(
   10865     *)
   10866       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10867       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10868       ;;
   10869     esac |
   10870     sort
   10871 ) |
   10872   sed '
   10873      /^ac_cv_env_/b end
   10874      t clear
   10875      :clear
   10876      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10877      t end
   10878      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10879      :end' >>confcache
   10880 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10881   if test -w "$cache_file"; then
   10882     if test "x$cache_file" != "x/dev/null"; then
   10883       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10884 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10885       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10886 	cat confcache >"$cache_file"
   10887       else
   10888         case $cache_file in #(
   10889         */* | ?:*)
   10890 	  mv -f confcache "$cache_file"$$ &&
   10891 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10892         *)
   10893 	  mv -f confcache "$cache_file" ;;
   10894 	esac
   10895       fi
   10896     fi
   10897   else
   10898     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10899 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10900   fi
   10901 fi
   10902 rm -f confcache
   10903 
   10904 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10905 # Let make expand exec_prefix.
   10906 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10907 
   10908 DEFS=-DHAVE_CONFIG_H
   10909 
   10910 ac_libobjs=
   10911 ac_ltlibobjs=
   10912 U=
   10913 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10914   # 1. Remove the extension, and $U if already installed.
   10915   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10916   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10917   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10918   #    will be set to the directory where LIBOBJS objects are built.
   10919   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10920   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10921 done
   10922 LIBOBJS=$ac_libobjs
   10923 
   10924 LTLIBOBJS=$ac_ltlibobjs
   10925 
   10926 
   10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10928 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10929    if test -n "$am_sleep_pid"; then
   10930      # Hide warnings about reused PIDs.
   10931      wait $am_sleep_pid 2>/dev/null
   10932    fi
   10933    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10934 $as_echo "done" >&6; }
   10935  if test -n "$EXEEXT"; then
   10936   am__EXEEXT_TRUE=
   10937   am__EXEEXT_FALSE='#'
   10938 else
   10939   am__EXEEXT_TRUE='#'
   10940   am__EXEEXT_FALSE=
   10941 fi
   10942 
   10943 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10944   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10946 fi
   10947 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10948   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10950 fi
   10951 
   10952 : "${CONFIG_STATUS=./config.status}"
   10953 ac_write_fail=0
   10954 ac_clean_files_save=$ac_clean_files
   10955 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10957 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10958 as_write_fail=0
   10959 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10960 #! $SHELL
   10961 # Generated by $as_me.
   10962 # Run this file to recreate the current configuration.
   10963 # Compiler output produced by configure, useful for debugging
   10964 # configure, is in config.log if it exists.
   10965 
   10966 debug=false
   10967 ac_cs_recheck=false
   10968 ac_cs_silent=false
   10969 
   10970 SHELL=\${CONFIG_SHELL-$SHELL}
   10971 export SHELL
   10972 _ASEOF
   10973 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10974 ## -------------------- ##
   10975 ## M4sh Initialization. ##
   10976 ## -------------------- ##
   10977 
   10978 # Be more Bourne compatible
   10979 DUALCASE=1; export DUALCASE # for MKS sh
   10980 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10981   emulate sh
   10982   NULLCMD=:
   10983   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10984   # is contrary to our usage.  Disable this feature.
   10985   alias -g '${1+"$@"}'='"$@"'
   10986   setopt NO_GLOB_SUBST
   10987 else
   10988   case `(set -o) 2>/dev/null` in #(
   10989   *posix*) :
   10990     set -o posix ;; #(
   10991   *) :
   10992      ;;
   10993 esac
   10994 fi
   10995 
   10996 
   10997 as_nl='
   10998 '
   10999 export as_nl
   11000 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11001 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11002 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11003 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11004 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11005 # but without wasting forks for bash or zsh.
   11006 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11007     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11008   as_echo='print -r --'
   11009   as_echo_n='print -rn --'
   11010 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11011   as_echo='printf %s\n'
   11012   as_echo_n='printf %s'
   11013 else
   11014   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11015     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11016     as_echo_n='/usr/ucb/echo -n'
   11017   else
   11018     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11019     as_echo_n_body='eval
   11020       arg=$1;
   11021       case $arg in #(
   11022       *"$as_nl"*)
   11023 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11024 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11025       esac;
   11026       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11027     '
   11028     export as_echo_n_body
   11029     as_echo_n='sh -c $as_echo_n_body as_echo'
   11030   fi
   11031   export as_echo_body
   11032   as_echo='sh -c $as_echo_body as_echo'
   11033 fi
   11034 
   11035 # The user is always right.
   11036 if test "${PATH_SEPARATOR+set}" != set; then
   11037   PATH_SEPARATOR=:
   11038   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11039     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11040       PATH_SEPARATOR=';'
   11041   }
   11042 fi
   11043 
   11044 
   11045 # IFS
   11046 # We need space, tab and new line, in precisely that order.  Quoting is
   11047 # there to prevent editors from complaining about space-tab.
   11048 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11049 # splitting by setting IFS to empty value.)
   11050 IFS=" ""	$as_nl"
   11051 
   11052 # Find who we are.  Look in the path if we contain no directory separator.
   11053 as_myself=
   11054 case $0 in #((
   11055   *[\\/]* ) as_myself=$0 ;;
   11056   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11057 for as_dir in $PATH
   11058 do
   11059   IFS=$as_save_IFS
   11060   test -z "$as_dir" && as_dir=.
   11061     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11062   done
   11063 IFS=$as_save_IFS
   11064 
   11065      ;;
   11066 esac
   11067 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11068 # in which case we are not to be found in the path.
   11069 if test "x$as_myself" = x; then
   11070   as_myself=$0
   11071 fi
   11072 if test ! -f "$as_myself"; then
   11073   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11074   exit 1
   11075 fi
   11076 
   11077 # Unset variables that we do not need and which cause bugs (e.g. in
   11078 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11079 # suppresses any "Segmentation fault" message there.  '((' could
   11080 # trigger a bug in pdksh 5.2.14.
   11081 for as_var in BASH_ENV ENV MAIL MAILPATH
   11082 do eval test x\${$as_var+set} = xset \
   11083   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11084 done
   11085 PS1='$ '
   11086 PS2='> '
   11087 PS4='+ '
   11088 
   11089 # NLS nuisances.
   11090 LC_ALL=C
   11091 export LC_ALL
   11092 LANGUAGE=C
   11093 export LANGUAGE
   11094 
   11095 # CDPATH.
   11096 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11097 
   11098 
   11099 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11100 # ----------------------------------------
   11101 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11102 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11103 # script with STATUS, using 1 if that was 0.
   11104 as_fn_error ()
   11105 {
   11106   as_status=$1; test $as_status -eq 0 && as_status=1
   11107   if test "$4"; then
   11108     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11109     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11110   fi
   11111   $as_echo "$as_me: error: $2" >&2
   11112   as_fn_exit $as_status
   11113 } # as_fn_error
   11114 
   11115 
   11116 # as_fn_set_status STATUS
   11117 # -----------------------
   11118 # Set $? to STATUS, without forking.
   11119 as_fn_set_status ()
   11120 {
   11121   return $1
   11122 } # as_fn_set_status
   11123 
   11124 # as_fn_exit STATUS
   11125 # -----------------
   11126 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11127 as_fn_exit ()
   11128 {
   11129   set +e
   11130   as_fn_set_status $1
   11131   exit $1
   11132 } # as_fn_exit
   11133 
   11134 # as_fn_unset VAR
   11135 # ---------------
   11136 # Portably unset VAR.
   11137 as_fn_unset ()
   11138 {
   11139   { eval $1=; unset $1;}
   11140 }
   11141 as_unset=as_fn_unset
   11142 # as_fn_append VAR VALUE
   11143 # ----------------------
   11144 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11145 # advantage of any shell optimizations that allow amortized linear growth over
   11146 # repeated appends, instead of the typical quadratic growth present in naive
   11147 # implementations.
   11148 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11149   eval 'as_fn_append ()
   11150   {
   11151     eval $1+=\$2
   11152   }'
   11153 else
   11154   as_fn_append ()
   11155   {
   11156     eval $1=\$$1\$2
   11157   }
   11158 fi # as_fn_append
   11159 
   11160 # as_fn_arith ARG...
   11161 # ------------------
   11162 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11163 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11164 # must be portable across $(()) and expr.
   11165 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11166   eval 'as_fn_arith ()
   11167   {
   11168     as_val=$(( $* ))
   11169   }'
   11170 else
   11171   as_fn_arith ()
   11172   {
   11173     as_val=`expr "$@" || test $? -eq 1`
   11174   }
   11175 fi # as_fn_arith
   11176 
   11177 
   11178 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11179    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11180   as_expr=expr
   11181 else
   11182   as_expr=false
   11183 fi
   11184 
   11185 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11186   as_basename=basename
   11187 else
   11188   as_basename=false
   11189 fi
   11190 
   11191 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11192   as_dirname=dirname
   11193 else
   11194   as_dirname=false
   11195 fi
   11196 
   11197 as_me=`$as_basename -- "$0" ||
   11198 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11199 	 X"$0" : 'X\(//\)$' \| \
   11200 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11201 $as_echo X/"$0" |
   11202     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11203 	    s//\1/
   11204 	    q
   11205 	  }
   11206 	  /^X\/\(\/\/\)$/{
   11207 	    s//\1/
   11208 	    q
   11209 	  }
   11210 	  /^X\/\(\/\).*/{
   11211 	    s//\1/
   11212 	    q
   11213 	  }
   11214 	  s/.*/./; q'`
   11215 
   11216 # Avoid depending upon Character Ranges.
   11217 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11218 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11219 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11220 as_cr_digits='0123456789'
   11221 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11222 
   11223 ECHO_C= ECHO_N= ECHO_T=
   11224 case `echo -n x` in #(((((
   11225 -n*)
   11226   case `echo 'xy\c'` in
   11227   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11228   xy)  ECHO_C='\c';;
   11229   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11230        ECHO_T='	';;
   11231   esac;;
   11232 *)
   11233   ECHO_N='-n';;
   11234 esac
   11235 
   11236 rm -f conf$$ conf$$.exe conf$$.file
   11237 if test -d conf$$.dir; then
   11238   rm -f conf$$.dir/conf$$.file
   11239 else
   11240   rm -f conf$$.dir
   11241   mkdir conf$$.dir 2>/dev/null
   11242 fi
   11243 if (echo >conf$$.file) 2>/dev/null; then
   11244   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11245     as_ln_s='ln -s'
   11246     # ... but there are two gotchas:
   11247     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11248     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11249     # In both cases, we have to default to `cp -pR'.
   11250     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11251       as_ln_s='cp -pR'
   11252   elif ln conf$$.file conf$$ 2>/dev/null; then
   11253     as_ln_s=ln
   11254   else
   11255     as_ln_s='cp -pR'
   11256   fi
   11257 else
   11258   as_ln_s='cp -pR'
   11259 fi
   11260 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11261 rmdir conf$$.dir 2>/dev/null
   11262 
   11263 
   11264 # as_fn_mkdir_p
   11265 # -------------
   11266 # Create "$as_dir" as a directory, including parents if necessary.
   11267 as_fn_mkdir_p ()
   11268 {
   11269 
   11270   case $as_dir in #(
   11271   -*) as_dir=./$as_dir;;
   11272   esac
   11273   test -d "$as_dir" || eval $as_mkdir_p || {
   11274     as_dirs=
   11275     while :; do
   11276       case $as_dir in #(
   11277       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11278       *) as_qdir=$as_dir;;
   11279       esac
   11280       as_dirs="'$as_qdir' $as_dirs"
   11281       as_dir=`$as_dirname -- "$as_dir" ||
   11282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11283 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11284 	 X"$as_dir" : 'X\(//\)$' \| \
   11285 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11286 $as_echo X"$as_dir" |
   11287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11288 	    s//\1/
   11289 	    q
   11290 	  }
   11291 	  /^X\(\/\/\)[^/].*/{
   11292 	    s//\1/
   11293 	    q
   11294 	  }
   11295 	  /^X\(\/\/\)$/{
   11296 	    s//\1/
   11297 	    q
   11298 	  }
   11299 	  /^X\(\/\).*/{
   11300 	    s//\1/
   11301 	    q
   11302 	  }
   11303 	  s/.*/./; q'`
   11304       test -d "$as_dir" && break
   11305     done
   11306     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11307   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11308 
   11309 
   11310 } # as_fn_mkdir_p
   11311 if mkdir -p . 2>/dev/null; then
   11312   as_mkdir_p='mkdir -p "$as_dir"'
   11313 else
   11314   test -d ./-p && rmdir ./-p
   11315   as_mkdir_p=false
   11316 fi
   11317 
   11318 
   11319 # as_fn_executable_p FILE
   11320 # -----------------------
   11321 # Test if FILE is an executable regular file.
   11322 as_fn_executable_p ()
   11323 {
   11324   test -f "$1" && test -x "$1"
   11325 } # as_fn_executable_p
   11326 as_test_x='test -x'
   11327 as_executable_p=as_fn_executable_p
   11328 
   11329 # Sed expression to map a string onto a valid CPP name.
   11330 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11331 
   11332 # Sed expression to map a string onto a valid variable name.
   11333 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11334 
   11335 
   11336 exec 6>&1
   11337 ## ----------------------------------- ##
   11338 ## Main body of $CONFIG_STATUS script. ##
   11339 ## ----------------------------------- ##
   11340 _ASEOF
   11341 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11342 
   11343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11344 # Save the log message, to keep $0 and so on meaningful, and to
   11345 # report actual input values of CONFIG_FILES etc. instead of their
   11346 # values after options handling.
   11347 ac_log="
   11348 This file was extended by xeyes $as_me 1.1.2, which was
   11349 generated by GNU Autoconf 2.69.  Invocation command line was
   11350 
   11351   CONFIG_FILES    = $CONFIG_FILES
   11352   CONFIG_HEADERS  = $CONFIG_HEADERS
   11353   CONFIG_LINKS    = $CONFIG_LINKS
   11354   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11355   $ $0 $@
   11356 
   11357 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11358 "
   11359 
   11360 _ACEOF
   11361 
   11362 case $ac_config_files in *"
   11363 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11364 esac
   11365 
   11366 case $ac_config_headers in *"
   11367 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11368 esac
   11369 
   11370 
   11371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11372 # Files that config.status was made for.
   11373 config_files="$ac_config_files"
   11374 config_headers="$ac_config_headers"
   11375 config_commands="$ac_config_commands"
   11376 
   11377 _ACEOF
   11378 
   11379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11380 ac_cs_usage="\
   11381 \`$as_me' instantiates files and other configuration actions
   11382 from templates according to the current configuration.  Unless the files
   11383 and actions are specified as TAGs, all are instantiated by default.
   11384 
   11385 Usage: $0 [OPTION]... [TAG]...
   11386 
   11387   -h, --help       print this help, then exit
   11388   -V, --version    print version number and configuration settings, then exit
   11389       --config     print configuration, then exit
   11390   -q, --quiet, --silent
   11391                    do not print progress messages
   11392   -d, --debug      don't remove temporary files
   11393       --recheck    update $as_me by reconfiguring in the same conditions
   11394       --file=FILE[:TEMPLATE]
   11395                    instantiate the configuration file FILE
   11396       --header=FILE[:TEMPLATE]
   11397                    instantiate the configuration header FILE
   11398 
   11399 Configuration files:
   11400 $config_files
   11401 
   11402 Configuration headers:
   11403 $config_headers
   11404 
   11405 Configuration commands:
   11406 $config_commands
   11407 
   11408 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11409 
   11410 _ACEOF
   11411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11412 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11413 ac_cs_version="\\
   11414 xeyes config.status 1.1.2
   11415 configured by $0, generated by GNU Autoconf 2.69,
   11416   with options \\"\$ac_cs_config\\"
   11417 
   11418 Copyright (C) 2012 Free Software Foundation, Inc.
   11419 This config.status script is free software; the Free Software Foundation
   11420 gives unlimited permission to copy, distribute and modify it."
   11421 
   11422 ac_pwd='$ac_pwd'
   11423 srcdir='$srcdir'
   11424 INSTALL='$INSTALL'
   11425 MKDIR_P='$MKDIR_P'
   11426 AWK='$AWK'
   11427 test -n "\$AWK" || AWK=awk
   11428 _ACEOF
   11429 
   11430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11431 # The default lists apply if the user does not specify any file.
   11432 ac_need_defaults=:
   11433 while test $# != 0
   11434 do
   11435   case $1 in
   11436   --*=?*)
   11437     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11438     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11439     ac_shift=:
   11440     ;;
   11441   --*=)
   11442     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11443     ac_optarg=
   11444     ac_shift=:
   11445     ;;
   11446   *)
   11447     ac_option=$1
   11448     ac_optarg=$2
   11449     ac_shift=shift
   11450     ;;
   11451   esac
   11452 
   11453   case $ac_option in
   11454   # Handling of the options.
   11455   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11456     ac_cs_recheck=: ;;
   11457   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11458     $as_echo "$ac_cs_version"; exit ;;
   11459   --config | --confi | --conf | --con | --co | --c )
   11460     $as_echo "$ac_cs_config"; exit ;;
   11461   --debug | --debu | --deb | --de | --d | -d )
   11462     debug=: ;;
   11463   --file | --fil | --fi | --f )
   11464     $ac_shift
   11465     case $ac_optarg in
   11466     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11467     '') as_fn_error $? "missing file argument" ;;
   11468     esac
   11469     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11470     ac_need_defaults=false;;
   11471   --header | --heade | --head | --hea )
   11472     $ac_shift
   11473     case $ac_optarg in
   11474     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11475     esac
   11476     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11477     ac_need_defaults=false;;
   11478   --he | --h)
   11479     # Conflict between --help and --header
   11480     as_fn_error $? "ambiguous option: \`$1'
   11481 Try \`$0 --help' for more information.";;
   11482   --help | --hel | -h )
   11483     $as_echo "$ac_cs_usage"; exit ;;
   11484   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11485   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11486     ac_cs_silent=: ;;
   11487 
   11488   # This is an error.
   11489   -*) as_fn_error $? "unrecognized option: \`$1'
   11490 Try \`$0 --help' for more information." ;;
   11491 
   11492   *) as_fn_append ac_config_targets " $1"
   11493      ac_need_defaults=false ;;
   11494 
   11495   esac
   11496   shift
   11497 done
   11498 
   11499 ac_configure_extra_args=
   11500 
   11501 if $ac_cs_silent; then
   11502   exec 6>/dev/null
   11503   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11504 fi
   11505 
   11506 _ACEOF
   11507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11508 if \$ac_cs_recheck; then
   11509   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11510   shift
   11511   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11512   CONFIG_SHELL='$SHELL'
   11513   export CONFIG_SHELL
   11514   exec "\$@"
   11515 fi
   11516 
   11517 _ACEOF
   11518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11519 exec 5>>config.log
   11520 {
   11521   echo
   11522   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11523 ## Running $as_me. ##
   11524 _ASBOX
   11525   $as_echo "$ac_log"
   11526 } >&5
   11527 
   11528 _ACEOF
   11529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11530 #
   11531 # INIT-COMMANDS
   11532 #
   11533 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11534 
   11535 _ACEOF
   11536 
   11537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11538 
   11539 # Handling of arguments.
   11540 for ac_config_target in $ac_config_targets
   11541 do
   11542   case $ac_config_target in
   11543     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11544     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11545     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11546     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11547 
   11548   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11549   esac
   11550 done
   11551 
   11552 
   11553 # If the user did not use the arguments to specify the items to instantiate,
   11554 # then the envvar interface is used.  Set only those that are not.
   11555 # We use the long form for the default assignment because of an extremely
   11556 # bizarre bug on SunOS 4.1.3.
   11557 if $ac_need_defaults; then
   11558   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11559   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11560   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11561 fi
   11562 
   11563 # Have a temporary directory for convenience.  Make it in the build tree
   11564 # simply because there is no reason against having it here, and in addition,
   11565 # creating and moving files from /tmp can sometimes cause problems.
   11566 # Hook for its removal unless debugging.
   11567 # Note that there is a small window in which the directory will not be cleaned:
   11568 # after its creation but before its name has been assigned to `$tmp'.
   11569 $debug ||
   11570 {
   11571   tmp= ac_tmp=
   11572   trap 'exit_status=$?
   11573   : "${ac_tmp:=$tmp}"
   11574   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11575 ' 0
   11576   trap 'as_fn_exit 1' 1 2 13 15
   11577 }
   11578 # Create a (secure) tmp directory for tmp files.
   11579 
   11580 {
   11581   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11582   test -d "$tmp"
   11583 }  ||
   11584 {
   11585   tmp=./conf$$-$RANDOM
   11586   (umask 077 && mkdir "$tmp")
   11587 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11588 ac_tmp=$tmp
   11589 
   11590 # Set up the scripts for CONFIG_FILES section.
   11591 # No need to generate them if there are no CONFIG_FILES.
   11592 # This happens for instance with `./config.status config.h'.
   11593 if test -n "$CONFIG_FILES"; then
   11594 
   11595 
   11596 ac_cr=`echo X | tr X '\015'`
   11597 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11598 # But we know of no other shell where ac_cr would be empty at this
   11599 # point, so we can use a bashism as a fallback.
   11600 if test "x$ac_cr" = x; then
   11601   eval ac_cr=\$\'\\r\'
   11602 fi
   11603 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11604 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11605   ac_cs_awk_cr='\\r'
   11606 else
   11607   ac_cs_awk_cr=$ac_cr
   11608 fi
   11609 
   11610 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11611 _ACEOF
   11612 
   11613 
   11614 {
   11615   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11616   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11617   echo "_ACEOF"
   11618 } >conf$$subs.sh ||
   11619   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11620 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11621 ac_delim='%!_!# '
   11622 for ac_last_try in false false false false false :; do
   11623   . ./conf$$subs.sh ||
   11624     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11625 
   11626   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11627   if test $ac_delim_n = $ac_delim_num; then
   11628     break
   11629   elif $ac_last_try; then
   11630     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11631   else
   11632     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11633   fi
   11634 done
   11635 rm -f conf$$subs.sh
   11636 
   11637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11638 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11639 _ACEOF
   11640 sed -n '
   11641 h
   11642 s/^/S["/; s/!.*/"]=/
   11643 p
   11644 g
   11645 s/^[^!]*!//
   11646 :repl
   11647 t repl
   11648 s/'"$ac_delim"'$//
   11649 t delim
   11650 :nl
   11651 h
   11652 s/\(.\{148\}\)..*/\1/
   11653 t more1
   11654 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11655 p
   11656 n
   11657 b repl
   11658 :more1
   11659 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11660 p
   11661 g
   11662 s/.\{148\}//
   11663 t nl
   11664 :delim
   11665 h
   11666 s/\(.\{148\}\)..*/\1/
   11667 t more2
   11668 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11669 p
   11670 b
   11671 :more2
   11672 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11673 p
   11674 g
   11675 s/.\{148\}//
   11676 t delim
   11677 ' <conf$$subs.awk | sed '
   11678 /^[^""]/{
   11679   N
   11680   s/\n//
   11681 }
   11682 ' >>$CONFIG_STATUS || ac_write_fail=1
   11683 rm -f conf$$subs.awk
   11684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11685 _ACAWK
   11686 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11687   for (key in S) S_is_set[key] = 1
   11688   FS = ""
   11689 
   11690 }
   11691 {
   11692   line = $ 0
   11693   nfields = split(line, field, "@")
   11694   substed = 0
   11695   len = length(field[1])
   11696   for (i = 2; i < nfields; i++) {
   11697     key = field[i]
   11698     keylen = length(key)
   11699     if (S_is_set[key]) {
   11700       value = S[key]
   11701       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11702       len += length(value) + length(field[++i])
   11703       substed = 1
   11704     } else
   11705       len += 1 + keylen
   11706   }
   11707 
   11708   print line
   11709 }
   11710 
   11711 _ACAWK
   11712 _ACEOF
   11713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11714 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11715   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11716 else
   11717   cat
   11718 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11719   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11720 _ACEOF
   11721 
   11722 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11723 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11724 # trailing colons and then remove the whole line if VPATH becomes empty
   11725 # (actually we leave an empty line to preserve line numbers).
   11726 if test "x$srcdir" = x.; then
   11727   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11728 h
   11729 s///
   11730 s/^/:/
   11731 s/[	 ]*$/:/
   11732 s/:\$(srcdir):/:/g
   11733 s/:\${srcdir}:/:/g
   11734 s/:@srcdir@:/:/g
   11735 s/^:*//
   11736 s/:*$//
   11737 x
   11738 s/\(=[	 ]*\).*/\1/
   11739 G
   11740 s/\n//
   11741 s/^[^=]*=[	 ]*$//
   11742 }'
   11743 fi
   11744 
   11745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11746 fi # test -n "$CONFIG_FILES"
   11747 
   11748 # Set up the scripts for CONFIG_HEADERS section.
   11749 # No need to generate them if there are no CONFIG_HEADERS.
   11750 # This happens for instance with `./config.status Makefile'.
   11751 if test -n "$CONFIG_HEADERS"; then
   11752 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11753 BEGIN {
   11754 _ACEOF
   11755 
   11756 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11757 # here-document in config.status, that substitutes the proper values into
   11758 # config.h.in to produce config.h.
   11759 
   11760 # Create a delimiter string that does not exist in confdefs.h, to ease
   11761 # handling of long lines.
   11762 ac_delim='%!_!# '
   11763 for ac_last_try in false false :; do
   11764   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11765   if test -z "$ac_tt"; then
   11766     break
   11767   elif $ac_last_try; then
   11768     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11769   else
   11770     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11771   fi
   11772 done
   11773 
   11774 # For the awk script, D is an array of macro values keyed by name,
   11775 # likewise P contains macro parameters if any.  Preserve backslash
   11776 # newline sequences.
   11777 
   11778 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11779 sed -n '
   11780 s/.\{148\}/&'"$ac_delim"'/g
   11781 t rset
   11782 :rset
   11783 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11784 t def
   11785 d
   11786 :def
   11787 s/\\$//
   11788 t bsnl
   11789 s/["\\]/\\&/g
   11790 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11791 D["\1"]=" \3"/p
   11792 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11793 d
   11794 :bsnl
   11795 s/["\\]/\\&/g
   11796 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11797 D["\1"]=" \3\\\\\\n"\\/p
   11798 t cont
   11799 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11800 t cont
   11801 d
   11802 :cont
   11803 n
   11804 s/.\{148\}/&'"$ac_delim"'/g
   11805 t clear
   11806 :clear
   11807 s/\\$//
   11808 t bsnlc
   11809 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11810 d
   11811 :bsnlc
   11812 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11813 b cont
   11814 ' <confdefs.h | sed '
   11815 s/'"$ac_delim"'/"\\\
   11816 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11817 
   11818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11819   for (key in D) D_is_set[key] = 1
   11820   FS = ""
   11821 }
   11822 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11823   line = \$ 0
   11824   split(line, arg, " ")
   11825   if (arg[1] == "#") {
   11826     defundef = arg[2]
   11827     mac1 = arg[3]
   11828   } else {
   11829     defundef = substr(arg[1], 2)
   11830     mac1 = arg[2]
   11831   }
   11832   split(mac1, mac2, "(") #)
   11833   macro = mac2[1]
   11834   prefix = substr(line, 1, index(line, defundef) - 1)
   11835   if (D_is_set[macro]) {
   11836     # Preserve the white space surrounding the "#".
   11837     print prefix "define", macro P[macro] D[macro]
   11838     next
   11839   } else {
   11840     # Replace #undef with comments.  This is necessary, for example,
   11841     # in the case of _POSIX_SOURCE, which is predefined and required
   11842     # on some systems where configure will not decide to define it.
   11843     if (defundef == "undef") {
   11844       print "/*", prefix defundef, macro, "*/"
   11845       next
   11846     }
   11847   }
   11848 }
   11849 { print }
   11850 _ACAWK
   11851 _ACEOF
   11852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11853   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11854 fi # test -n "$CONFIG_HEADERS"
   11855 
   11856 
   11857 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11858 shift
   11859 for ac_tag
   11860 do
   11861   case $ac_tag in
   11862   :[FHLC]) ac_mode=$ac_tag; continue;;
   11863   esac
   11864   case $ac_mode$ac_tag in
   11865   :[FHL]*:*);;
   11866   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11867   :[FH]-) ac_tag=-:-;;
   11868   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11869   esac
   11870   ac_save_IFS=$IFS
   11871   IFS=:
   11872   set x $ac_tag
   11873   IFS=$ac_save_IFS
   11874   shift
   11875   ac_file=$1
   11876   shift
   11877 
   11878   case $ac_mode in
   11879   :L) ac_source=$1;;
   11880   :[FH])
   11881     ac_file_inputs=
   11882     for ac_f
   11883     do
   11884       case $ac_f in
   11885       -) ac_f="$ac_tmp/stdin";;
   11886       *) # Look for the file first in the build tree, then in the source tree
   11887 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11888 	 # because $ac_f cannot contain `:'.
   11889 	 test -f "$ac_f" ||
   11890 	   case $ac_f in
   11891 	   [\\/$]*) false;;
   11892 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11893 	   esac ||
   11894 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11895       esac
   11896       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11897       as_fn_append ac_file_inputs " '$ac_f'"
   11898     done
   11899 
   11900     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11901     # use $as_me), people would be surprised to read:
   11902     #    /* config.h.  Generated by config.status.  */
   11903     configure_input='Generated from '`
   11904 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11905 	`' by configure.'
   11906     if test x"$ac_file" != x-; then
   11907       configure_input="$ac_file.  $configure_input"
   11908       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11909 $as_echo "$as_me: creating $ac_file" >&6;}
   11910     fi
   11911     # Neutralize special characters interpreted by sed in replacement strings.
   11912     case $configure_input in #(
   11913     *\&* | *\|* | *\\* )
   11914        ac_sed_conf_input=`$as_echo "$configure_input" |
   11915        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11916     *) ac_sed_conf_input=$configure_input;;
   11917     esac
   11918 
   11919     case $ac_tag in
   11920     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11921       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11922     esac
   11923     ;;
   11924   esac
   11925 
   11926   ac_dir=`$as_dirname -- "$ac_file" ||
   11927 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11928 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11929 	 X"$ac_file" : 'X\(//\)$' \| \
   11930 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11931 $as_echo X"$ac_file" |
   11932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11933 	    s//\1/
   11934 	    q
   11935 	  }
   11936 	  /^X\(\/\/\)[^/].*/{
   11937 	    s//\1/
   11938 	    q
   11939 	  }
   11940 	  /^X\(\/\/\)$/{
   11941 	    s//\1/
   11942 	    q
   11943 	  }
   11944 	  /^X\(\/\).*/{
   11945 	    s//\1/
   11946 	    q
   11947 	  }
   11948 	  s/.*/./; q'`
   11949   as_dir="$ac_dir"; as_fn_mkdir_p
   11950   ac_builddir=.
   11951 
   11952 case "$ac_dir" in
   11953 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11954 *)
   11955   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11956   # A ".." for each directory in $ac_dir_suffix.
   11957   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11958   case $ac_top_builddir_sub in
   11959   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11960   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11961   esac ;;
   11962 esac
   11963 ac_abs_top_builddir=$ac_pwd
   11964 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11965 # for backward compatibility:
   11966 ac_top_builddir=$ac_top_build_prefix
   11967 
   11968 case $srcdir in
   11969   .)  # We are building in place.
   11970     ac_srcdir=.
   11971     ac_top_srcdir=$ac_top_builddir_sub
   11972     ac_abs_top_srcdir=$ac_pwd ;;
   11973   [\\/]* | ?:[\\/]* )  # Absolute name.
   11974     ac_srcdir=$srcdir$ac_dir_suffix;
   11975     ac_top_srcdir=$srcdir
   11976     ac_abs_top_srcdir=$srcdir ;;
   11977   *) # Relative name.
   11978     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11979     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11980     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11981 esac
   11982 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11983 
   11984 
   11985   case $ac_mode in
   11986   :F)
   11987   #
   11988   # CONFIG_FILE
   11989   #
   11990 
   11991   case $INSTALL in
   11992   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11993   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11994   esac
   11995   ac_MKDIR_P=$MKDIR_P
   11996   case $MKDIR_P in
   11997   [\\/$]* | ?:[\\/]* ) ;;
   11998   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11999   esac
   12000 _ACEOF
   12001 
   12002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12003 # If the template does not know about datarootdir, expand it.
   12004 # FIXME: This hack should be removed a few years after 2.60.
   12005 ac_datarootdir_hack=; ac_datarootdir_seen=
   12006 ac_sed_dataroot='
   12007 /datarootdir/ {
   12008   p
   12009   q
   12010 }
   12011 /@datadir@/p
   12012 /@docdir@/p
   12013 /@infodir@/p
   12014 /@localedir@/p
   12015 /@mandir@/p'
   12016 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12017 *datarootdir*) ac_datarootdir_seen=yes;;
   12018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12019   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12020 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12021 _ACEOF
   12022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12023   ac_datarootdir_hack='
   12024   s&@datadir@&$datadir&g
   12025   s&@docdir@&$docdir&g
   12026   s&@infodir@&$infodir&g
   12027   s&@localedir@&$localedir&g
   12028   s&@mandir@&$mandir&g
   12029   s&\\\${datarootdir}&$datarootdir&g' ;;
   12030 esac
   12031 _ACEOF
   12032 
   12033 # Neutralize VPATH when `$srcdir' = `.'.
   12034 # Shell code in configure.ac might set extrasub.
   12035 # FIXME: do we really want to maintain this feature?
   12036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12037 ac_sed_extra="$ac_vpsub
   12038 $extrasub
   12039 _ACEOF
   12040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12041 :t
   12042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12043 s|@configure_input@|$ac_sed_conf_input|;t t
   12044 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12045 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12046 s&@srcdir@&$ac_srcdir&;t t
   12047 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12048 s&@top_srcdir@&$ac_top_srcdir&;t t
   12049 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12050 s&@builddir@&$ac_builddir&;t t
   12051 s&@abs_builddir@&$ac_abs_builddir&;t t
   12052 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12053 s&@INSTALL@&$ac_INSTALL&;t t
   12054 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12055 $ac_datarootdir_hack
   12056 "
   12057 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12058   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12059 
   12060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12061   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12062   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12063       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12064   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12065 which seems to be undefined.  Please make sure it is defined" >&5
   12066 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12067 which seems to be undefined.  Please make sure it is defined" >&2;}
   12068 
   12069   rm -f "$ac_tmp/stdin"
   12070   case $ac_file in
   12071   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12072   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12073   esac \
   12074   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12075  ;;
   12076   :H)
   12077   #
   12078   # CONFIG_HEADER
   12079   #
   12080   if test x"$ac_file" != x-; then
   12081     {
   12082       $as_echo "/* $configure_input  */" \
   12083       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12084     } >"$ac_tmp/config.h" \
   12085       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12086     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12087       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12088 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12089     else
   12090       rm -f "$ac_file"
   12091       mv "$ac_tmp/config.h" "$ac_file" \
   12092 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12093     fi
   12094   else
   12095     $as_echo "/* $configure_input  */" \
   12096       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12097       || as_fn_error $? "could not create -" "$LINENO" 5
   12098   fi
   12099 # Compute "$ac_file"'s index in $config_headers.
   12100 _am_arg="$ac_file"
   12101 _am_stamp_count=1
   12102 for _am_header in $config_headers :; do
   12103   case $_am_header in
   12104     $_am_arg | $_am_arg:* )
   12105       break ;;
   12106     * )
   12107       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12108   esac
   12109 done
   12110 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12111 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12112 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12113 	 X"$_am_arg" : 'X\(//\)$' \| \
   12114 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12115 $as_echo X"$_am_arg" |
   12116     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12117 	    s//\1/
   12118 	    q
   12119 	  }
   12120 	  /^X\(\/\/\)[^/].*/{
   12121 	    s//\1/
   12122 	    q
   12123 	  }
   12124 	  /^X\(\/\/\)$/{
   12125 	    s//\1/
   12126 	    q
   12127 	  }
   12128 	  /^X\(\/\).*/{
   12129 	    s//\1/
   12130 	    q
   12131 	  }
   12132 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12133  ;;
   12134 
   12135   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12136 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12137  ;;
   12138   esac
   12139 
   12140 
   12141   case $ac_file$ac_mode in
   12142     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12143   # Older Autoconf quotes --file arguments for eval, but not when files
   12144   # are listed without --file.  Let's play safe and only enable the eval
   12145   # if we detect the quoting.
   12146   case $CONFIG_FILES in
   12147   *\'*) eval set x "$CONFIG_FILES" ;;
   12148   *)   set x $CONFIG_FILES ;;
   12149   esac
   12150   shift
   12151   for mf
   12152   do
   12153     # Strip MF so we end up with the name of the file.
   12154     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12155     # Check whether this is an Automake generated Makefile or not.
   12156     # We used to match only the files named 'Makefile.in', but
   12157     # some people rename them; so instead we look at the file content.
   12158     # Grep'ing the first line is not enough: some people post-process
   12159     # each Makefile.in and add a new line on top of each file to say so.
   12160     # Grep'ing the whole file is not good either: AIX grep has a line
   12161     # limit of 2048, but all sed's we know have understand at least 4000.
   12162     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12163       dirpart=`$as_dirname -- "$mf" ||
   12164 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12165 	 X"$mf" : 'X\(//\)[^/]' \| \
   12166 	 X"$mf" : 'X\(//\)$' \| \
   12167 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12168 $as_echo X"$mf" |
   12169     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12170 	    s//\1/
   12171 	    q
   12172 	  }
   12173 	  /^X\(\/\/\)[^/].*/{
   12174 	    s//\1/
   12175 	    q
   12176 	  }
   12177 	  /^X\(\/\/\)$/{
   12178 	    s//\1/
   12179 	    q
   12180 	  }
   12181 	  /^X\(\/\).*/{
   12182 	    s//\1/
   12183 	    q
   12184 	  }
   12185 	  s/.*/./; q'`
   12186     else
   12187       continue
   12188     fi
   12189     # Extract the definition of DEPDIR, am__include, and am__quote
   12190     # from the Makefile without running 'make'.
   12191     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12192     test -z "$DEPDIR" && continue
   12193     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12194     test -z "$am__include" && continue
   12195     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12196     # Find all dependency output files, they are included files with
   12197     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12198     # simplest approach to changing $(DEPDIR) to its actual value in the
   12199     # expansion.
   12200     for file in `sed -n "
   12201       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12202 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12203       # Make sure the directory exists.
   12204       test -f "$dirpart/$file" && continue
   12205       fdir=`$as_dirname -- "$file" ||
   12206 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12207 	 X"$file" : 'X\(//\)[^/]' \| \
   12208 	 X"$file" : 'X\(//\)$' \| \
   12209 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12210 $as_echo X"$file" |
   12211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12212 	    s//\1/
   12213 	    q
   12214 	  }
   12215 	  /^X\(\/\/\)[^/].*/{
   12216 	    s//\1/
   12217 	    q
   12218 	  }
   12219 	  /^X\(\/\/\)$/{
   12220 	    s//\1/
   12221 	    q
   12222 	  }
   12223 	  /^X\(\/\).*/{
   12224 	    s//\1/
   12225 	    q
   12226 	  }
   12227 	  s/.*/./; q'`
   12228       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12229       # echo "creating $dirpart/$file"
   12230       echo '# dummy' > "$dirpart/$file"
   12231     done
   12232   done
   12233 }
   12234  ;;
   12235 
   12236   esac
   12237 done # for ac_tag
   12238 
   12239 
   12240 as_fn_exit 0
   12241 _ACEOF
   12242 ac_clean_files=$ac_clean_files_save
   12243 
   12244 test $ac_write_fail = 0 ||
   12245   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12246 
   12247 
   12248 # configure is writing to config.log, and then calls config.status.
   12249 # config.status does its own redirection, appending to config.log.
   12250 # Unfortunately, on DOS this fails, as config.log is still kept open
   12251 # by configure, so config.status won't be able to write to it; its
   12252 # output is simply discarded.  So we exec the FD to /dev/null,
   12253 # effectively closing config.log, so it can be properly (re)opened and
   12254 # appended to by config.status.  When coming back to configure, we
   12255 # need to make the FD available again.
   12256 if test "$no_create" != yes; then
   12257   ac_cs_success=:
   12258   ac_config_status_args=
   12259   test "$silent" = yes &&
   12260     ac_config_status_args="$ac_config_status_args --quiet"
   12261   exec 5>/dev/null
   12262   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12263   exec 5>>config.log
   12264   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12265   # would make configure fail if this is the last instruction.
   12266   $ac_cs_success || as_fn_exit 1
   12267 fi
   12268 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12269   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12270 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12271 fi
   12272 
   12273