Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xinput 1.6.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinput/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/xinput/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xinput'
    583 PACKAGE_TARNAME='xinput'
    584 PACKAGE_VERSION='1.6.3'
    585 PACKAGE_STRING='xinput 1.6.3'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xinput/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XI22_LIBS
    631 XI22_CFLAGS
    632 XI21_LIBS
    633 XI21_CFLAGS
    634 HAVE_XI2
    635 HAVE_XI2_FALSE
    636 HAVE_XI2_TRUE
    637 XI2_LIBS
    638 XI2_CFLAGS
    639 XINPUT_LIBS
    640 XINPUT_CFLAGS
    641 MAN_SUBSTS
    642 XORG_MAN_PAGE
    643 ADMIN_MAN_DIR
    644 DRIVER_MAN_DIR
    645 MISC_MAN_DIR
    646 FILE_MAN_DIR
    647 LIB_MAN_DIR
    648 APP_MAN_DIR
    649 ADMIN_MAN_SUFFIX
    650 DRIVER_MAN_SUFFIX
    651 MISC_MAN_SUFFIX
    652 FILE_MAN_SUFFIX
    653 LIB_MAN_SUFFIX
    654 APP_MAN_SUFFIX
    655 SED
    656 host_os
    657 host_vendor
    658 host_cpu
    659 host
    660 build_os
    661 build_vendor
    662 build_cpu
    663 build
    664 INSTALL_CMD
    665 PKG_CONFIG_LIBDIR
    666 PKG_CONFIG_PATH
    667 PKG_CONFIG
    668 CHANGELOG_CMD
    669 STRICT_CFLAGS
    670 CWARNFLAGS
    671 BASE_CFLAGS
    672 EGREP
    673 GREP
    674 CPP
    675 am__fastdepCC_FALSE
    676 am__fastdepCC_TRUE
    677 CCDEPMODE
    678 am__nodep
    679 AMDEPBACKSLASH
    680 AMDEP_FALSE
    681 AMDEP_TRUE
    682 am__include
    683 DEPDIR
    684 OBJEXT
    685 EXEEXT
    686 ac_ct_CC
    687 CPPFLAGS
    688 LDFLAGS
    689 CFLAGS
    690 CC
    691 AM_BACKSLASH
    692 AM_DEFAULT_VERBOSITY
    693 AM_DEFAULT_V
    694 AM_V
    695 am__untar
    696 am__tar
    697 AMTAR
    698 am__leading_dot
    699 SET_MAKE
    700 AWK
    701 mkdir_p
    702 MKDIR_P
    703 INSTALL_STRIP_PROGRAM
    704 STRIP
    705 install_sh
    706 MAKEINFO
    707 AUTOHEADER
    708 AUTOMAKE
    709 AUTOCONF
    710 ACLOCAL
    711 VERSION
    712 PACKAGE
    713 CYGPATH_W
    714 am__isrc
    715 INSTALL_DATA
    716 INSTALL_SCRIPT
    717 INSTALL_PROGRAM
    718 target_alias
    719 host_alias
    720 build_alias
    721 LIBS
    722 ECHO_T
    723 ECHO_N
    724 ECHO_C
    725 DEFS
    726 mandir
    727 localedir
    728 libdir
    729 psdir
    730 pdfdir
    731 dvidir
    732 htmldir
    733 infodir
    734 docdir
    735 oldincludedir
    736 includedir
    737 localstatedir
    738 sharedstatedir
    739 sysconfdir
    740 datadir
    741 datarootdir
    742 libexecdir
    743 sbindir
    744 bindir
    745 program_transform_name
    746 prefix
    747 exec_prefix
    748 PACKAGE_URL
    749 PACKAGE_BUGREPORT
    750 PACKAGE_STRING
    751 PACKAGE_VERSION
    752 PACKAGE_TARNAME
    753 PACKAGE_NAME
    754 PATH_SEPARATOR
    755 SHELL
    756 am__quote'
    757 ac_subst_files=''
    758 ac_user_opts='
    759 enable_option_checking
    760 enable_silent_rules
    761 enable_dependency_tracking
    762 enable_selective_werror
    763 enable_strict_compilation
    764 '
    765       ac_precious_vars='build_alias
    766 host_alias
    767 target_alias
    768 CC
    769 CFLAGS
    770 LDFLAGS
    771 LIBS
    772 CPPFLAGS
    773 CPP
    774 PKG_CONFIG
    775 PKG_CONFIG_PATH
    776 PKG_CONFIG_LIBDIR
    777 XINPUT_CFLAGS
    778 XINPUT_LIBS
    779 XI2_CFLAGS
    780 XI2_LIBS
    781 XI21_CFLAGS
    782 XI21_LIBS
    783 XI22_CFLAGS
    784 XI22_LIBS'
    785 
    786 
    787 # Initialize some variables set by options.
    788 ac_init_help=
    789 ac_init_version=false
    790 ac_unrecognized_opts=
    791 ac_unrecognized_sep=
    792 # The variables have the same names as the options, with
    793 # dashes changed to underlines.
    794 cache_file=/dev/null
    795 exec_prefix=NONE
    796 no_create=
    797 no_recursion=
    798 prefix=NONE
    799 program_prefix=NONE
    800 program_suffix=NONE
    801 program_transform_name=s,x,x,
    802 silent=
    803 site=
    804 srcdir=
    805 verbose=
    806 x_includes=NONE
    807 x_libraries=NONE
    808 
    809 # Installation directory options.
    810 # These are left unexpanded so users can "make install exec_prefix=/foo"
    811 # and all the variables that are supposed to be based on exec_prefix
    812 # by default will actually change.
    813 # Use braces instead of parens because sh, perl, etc. also accept them.
    814 # (The list follows the same order as the GNU Coding Standards.)
    815 bindir='${exec_prefix}/bin'
    816 sbindir='${exec_prefix}/sbin'
    817 libexecdir='${exec_prefix}/libexec'
    818 datarootdir='${prefix}/share'
    819 datadir='${datarootdir}'
    820 sysconfdir='${prefix}/etc'
    821 sharedstatedir='${prefix}/com'
    822 localstatedir='${prefix}/var'
    823 includedir='${prefix}/include'
    824 oldincludedir='/usr/include'
    825 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    826 infodir='${datarootdir}/info'
    827 htmldir='${docdir}'
    828 dvidir='${docdir}'
    829 pdfdir='${docdir}'
    830 psdir='${docdir}'
    831 libdir='${exec_prefix}/lib'
    832 localedir='${datarootdir}/locale'
    833 mandir='${datarootdir}/man'
    834 
    835 ac_prev=
    836 ac_dashdash=
    837 for ac_option
    838 do
    839   # If the previous option needs an argument, assign it.
    840   if test -n "$ac_prev"; then
    841     eval $ac_prev=\$ac_option
    842     ac_prev=
    843     continue
    844   fi
    845 
    846   case $ac_option in
    847   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    848   *=)   ac_optarg= ;;
    849   *)    ac_optarg=yes ;;
    850   esac
    851 
    852   # Accept the important Cygnus configure options, so we can diagnose typos.
    853 
    854   case $ac_dashdash$ac_option in
    855   --)
    856     ac_dashdash=yes ;;
    857 
    858   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    859     ac_prev=bindir ;;
    860   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    861     bindir=$ac_optarg ;;
    862 
    863   -build | --build | --buil | --bui | --bu)
    864     ac_prev=build_alias ;;
    865   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    866     build_alias=$ac_optarg ;;
    867 
    868   -cache-file | --cache-file | --cache-fil | --cache-fi \
    869   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    870     ac_prev=cache_file ;;
    871   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    872   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    873     cache_file=$ac_optarg ;;
    874 
    875   --config-cache | -C)
    876     cache_file=config.cache ;;
    877 
    878   -datadir | --datadir | --datadi | --datad)
    879     ac_prev=datadir ;;
    880   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    881     datadir=$ac_optarg ;;
    882 
    883   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    884   | --dataroo | --dataro | --datar)
    885     ac_prev=datarootdir ;;
    886   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    887   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    888     datarootdir=$ac_optarg ;;
    889 
    890   -disable-* | --disable-*)
    891     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    892     # Reject names that are not valid shell variable names.
    893     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    894       as_fn_error $? "invalid feature name: $ac_useropt"
    895     ac_useropt_orig=$ac_useropt
    896     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    897     case $ac_user_opts in
    898       *"
    899 "enable_$ac_useropt"
    900 "*) ;;
    901       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    902 	 ac_unrecognized_sep=', ';;
    903     esac
    904     eval enable_$ac_useropt=no ;;
    905 
    906   -docdir | --docdir | --docdi | --doc | --do)
    907     ac_prev=docdir ;;
    908   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    909     docdir=$ac_optarg ;;
    910 
    911   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    912     ac_prev=dvidir ;;
    913   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    914     dvidir=$ac_optarg ;;
    915 
    916   -enable-* | --enable-*)
    917     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    918     # Reject names that are not valid shell variable names.
    919     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    920       as_fn_error $? "invalid feature name: $ac_useropt"
    921     ac_useropt_orig=$ac_useropt
    922     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    923     case $ac_user_opts in
    924       *"
    925 "enable_$ac_useropt"
    926 "*) ;;
    927       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    928 	 ac_unrecognized_sep=', ';;
    929     esac
    930     eval enable_$ac_useropt=\$ac_optarg ;;
    931 
    932   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    933   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    934   | --exec | --exe | --ex)
    935     ac_prev=exec_prefix ;;
    936   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    937   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    938   | --exec=* | --exe=* | --ex=*)
    939     exec_prefix=$ac_optarg ;;
    940 
    941   -gas | --gas | --ga | --g)
    942     # Obsolete; use --with-gas.
    943     with_gas=yes ;;
    944 
    945   -help | --help | --hel | --he | -h)
    946     ac_init_help=long ;;
    947   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    948     ac_init_help=recursive ;;
    949   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    950     ac_init_help=short ;;
    951 
    952   -host | --host | --hos | --ho)
    953     ac_prev=host_alias ;;
    954   -host=* | --host=* | --hos=* | --ho=*)
    955     host_alias=$ac_optarg ;;
    956 
    957   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    958     ac_prev=htmldir ;;
    959   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    960   | --ht=*)
    961     htmldir=$ac_optarg ;;
    962 
    963   -includedir | --includedir | --includedi | --included | --include \
    964   | --includ | --inclu | --incl | --inc)
    965     ac_prev=includedir ;;
    966   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    967   | --includ=* | --inclu=* | --incl=* | --inc=*)
    968     includedir=$ac_optarg ;;
    969 
    970   -infodir | --infodir | --infodi | --infod | --info | --inf)
    971     ac_prev=infodir ;;
    972   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    973     infodir=$ac_optarg ;;
    974 
    975   -libdir | --libdir | --libdi | --libd)
    976     ac_prev=libdir ;;
    977   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    978     libdir=$ac_optarg ;;
    979 
    980   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    981   | --libexe | --libex | --libe)
    982     ac_prev=libexecdir ;;
    983   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    984   | --libexe=* | --libex=* | --libe=*)
    985     libexecdir=$ac_optarg ;;
    986 
    987   -localedir | --localedir | --localedi | --localed | --locale)
    988     ac_prev=localedir ;;
    989   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    990     localedir=$ac_optarg ;;
    991 
    992   -localstatedir | --localstatedir | --localstatedi | --localstated \
    993   | --localstate | --localstat | --localsta | --localst | --locals)
    994     ac_prev=localstatedir ;;
    995   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    996   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    997     localstatedir=$ac_optarg ;;
    998 
    999   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1000     ac_prev=mandir ;;
   1001   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1002     mandir=$ac_optarg ;;
   1003 
   1004   -nfp | --nfp | --nf)
   1005     # Obsolete; use --without-fp.
   1006     with_fp=no ;;
   1007 
   1008   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1009   | --no-cr | --no-c | -n)
   1010     no_create=yes ;;
   1011 
   1012   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1013   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1014     no_recursion=yes ;;
   1015 
   1016   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1017   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1018   | --oldin | --oldi | --old | --ol | --o)
   1019     ac_prev=oldincludedir ;;
   1020   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1021   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1022   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1023     oldincludedir=$ac_optarg ;;
   1024 
   1025   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1026     ac_prev=prefix ;;
   1027   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1028     prefix=$ac_optarg ;;
   1029 
   1030   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1031   | --program-pre | --program-pr | --program-p)
   1032     ac_prev=program_prefix ;;
   1033   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1034   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1035     program_prefix=$ac_optarg ;;
   1036 
   1037   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1038   | --program-suf | --program-su | --program-s)
   1039     ac_prev=program_suffix ;;
   1040   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1041   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1042     program_suffix=$ac_optarg ;;
   1043 
   1044   -program-transform-name | --program-transform-name \
   1045   | --program-transform-nam | --program-transform-na \
   1046   | --program-transform-n | --program-transform- \
   1047   | --program-transform | --program-transfor \
   1048   | --program-transfo | --program-transf \
   1049   | --program-trans | --program-tran \
   1050   | --progr-tra | --program-tr | --program-t)
   1051     ac_prev=program_transform_name ;;
   1052   -program-transform-name=* | --program-transform-name=* \
   1053   | --program-transform-nam=* | --program-transform-na=* \
   1054   | --program-transform-n=* | --program-transform-=* \
   1055   | --program-transform=* | --program-transfor=* \
   1056   | --program-transfo=* | --program-transf=* \
   1057   | --program-trans=* | --program-tran=* \
   1058   | --progr-tra=* | --program-tr=* | --program-t=*)
   1059     program_transform_name=$ac_optarg ;;
   1060 
   1061   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1062     ac_prev=pdfdir ;;
   1063   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1064     pdfdir=$ac_optarg ;;
   1065 
   1066   -psdir | --psdir | --psdi | --psd | --ps)
   1067     ac_prev=psdir ;;
   1068   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1069     psdir=$ac_optarg ;;
   1070 
   1071   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1072   | -silent | --silent | --silen | --sile | --sil)
   1073     silent=yes ;;
   1074 
   1075   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1076     ac_prev=sbindir ;;
   1077   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1078   | --sbi=* | --sb=*)
   1079     sbindir=$ac_optarg ;;
   1080 
   1081   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1082   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1083   | --sharedst | --shareds | --shared | --share | --shar \
   1084   | --sha | --sh)
   1085     ac_prev=sharedstatedir ;;
   1086   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1087   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1088   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1089   | --sha=* | --sh=*)
   1090     sharedstatedir=$ac_optarg ;;
   1091 
   1092   -site | --site | --sit)
   1093     ac_prev=site ;;
   1094   -site=* | --site=* | --sit=*)
   1095     site=$ac_optarg ;;
   1096 
   1097   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1098     ac_prev=srcdir ;;
   1099   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1100     srcdir=$ac_optarg ;;
   1101 
   1102   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1103   | --syscon | --sysco | --sysc | --sys | --sy)
   1104     ac_prev=sysconfdir ;;
   1105   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1106   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1107     sysconfdir=$ac_optarg ;;
   1108 
   1109   -target | --target | --targe | --targ | --tar | --ta | --t)
   1110     ac_prev=target_alias ;;
   1111   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1112     target_alias=$ac_optarg ;;
   1113 
   1114   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1115     verbose=yes ;;
   1116 
   1117   -version | --version | --versio | --versi | --vers | -V)
   1118     ac_init_version=: ;;
   1119 
   1120   -with-* | --with-*)
   1121     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1122     # Reject names that are not valid shell variable names.
   1123     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1124       as_fn_error $? "invalid package name: $ac_useropt"
   1125     ac_useropt_orig=$ac_useropt
   1126     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1127     case $ac_user_opts in
   1128       *"
   1129 "with_$ac_useropt"
   1130 "*) ;;
   1131       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1132 	 ac_unrecognized_sep=', ';;
   1133     esac
   1134     eval with_$ac_useropt=\$ac_optarg ;;
   1135 
   1136   -without-* | --without-*)
   1137     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1138     # Reject names that are not valid shell variable names.
   1139     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1140       as_fn_error $? "invalid package name: $ac_useropt"
   1141     ac_useropt_orig=$ac_useropt
   1142     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1143     case $ac_user_opts in
   1144       *"
   1145 "with_$ac_useropt"
   1146 "*) ;;
   1147       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1148 	 ac_unrecognized_sep=', ';;
   1149     esac
   1150     eval with_$ac_useropt=no ;;
   1151 
   1152   --x)
   1153     # Obsolete; use --with-x.
   1154     with_x=yes ;;
   1155 
   1156   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1157   | --x-incl | --x-inc | --x-in | --x-i)
   1158     ac_prev=x_includes ;;
   1159   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1160   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1161     x_includes=$ac_optarg ;;
   1162 
   1163   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1164   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1165     ac_prev=x_libraries ;;
   1166   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1167   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1168     x_libraries=$ac_optarg ;;
   1169 
   1170   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1171 Try \`$0 --help' for more information"
   1172     ;;
   1173 
   1174   *=*)
   1175     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1176     # Reject names that are not valid shell variable names.
   1177     case $ac_envvar in #(
   1178       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1179       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1180     esac
   1181     eval $ac_envvar=\$ac_optarg
   1182     export $ac_envvar ;;
   1183 
   1184   *)
   1185     # FIXME: should be removed in autoconf 3.0.
   1186     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1187     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1188       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1189     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1190     ;;
   1191 
   1192   esac
   1193 done
   1194 
   1195 if test -n "$ac_prev"; then
   1196   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1197   as_fn_error $? "missing argument to $ac_option"
   1198 fi
   1199 
   1200 if test -n "$ac_unrecognized_opts"; then
   1201   case $enable_option_checking in
   1202     no) ;;
   1203     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1204     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1205   esac
   1206 fi
   1207 
   1208 # Check all directory arguments for consistency.
   1209 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1210 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1211 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1212 		libdir localedir mandir
   1213 do
   1214   eval ac_val=\$$ac_var
   1215   # Remove trailing slashes.
   1216   case $ac_val in
   1217     */ )
   1218       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1219       eval $ac_var=\$ac_val;;
   1220   esac
   1221   # Be sure to have absolute directory names.
   1222   case $ac_val in
   1223     [\\/$]* | ?:[\\/]* )  continue;;
   1224     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1225   esac
   1226   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1227 done
   1228 
   1229 # There might be people who depend on the old broken behavior: `$host'
   1230 # used to hold the argument of --host etc.
   1231 # FIXME: To remove some day.
   1232 build=$build_alias
   1233 host=$host_alias
   1234 target=$target_alias
   1235 
   1236 # FIXME: To remove some day.
   1237 if test "x$host_alias" != x; then
   1238   if test "x$build_alias" = x; then
   1239     cross_compiling=maybe
   1240   elif test "x$build_alias" != "x$host_alias"; then
   1241     cross_compiling=yes
   1242   fi
   1243 fi
   1244 
   1245 ac_tool_prefix=
   1246 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1247 
   1248 test "$silent" = yes && exec 6>/dev/null
   1249 
   1250 
   1251 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1252 ac_ls_di=`ls -di .` &&
   1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1254   as_fn_error $? "working directory cannot be determined"
   1255 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1256   as_fn_error $? "pwd does not report name of working directory"
   1257 
   1258 
   1259 # Find the source files, if location was not specified.
   1260 if test -z "$srcdir"; then
   1261   ac_srcdir_defaulted=yes
   1262   # Try the directory containing this script, then the parent directory.
   1263   ac_confdir=`$as_dirname -- "$as_myself" ||
   1264 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1265 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1266 	 X"$as_myself" : 'X\(//\)$' \| \
   1267 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1268 $as_echo X"$as_myself" |
   1269     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\/\)[^/].*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  /^X\(\/\/\)$/{
   1278 	    s//\1/
   1279 	    q
   1280 	  }
   1281 	  /^X\(\/\).*/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  s/.*/./; q'`
   1286   srcdir=$ac_confdir
   1287   if test ! -r "$srcdir/$ac_unique_file"; then
   1288     srcdir=..
   1289   fi
   1290 else
   1291   ac_srcdir_defaulted=no
   1292 fi
   1293 if test ! -r "$srcdir/$ac_unique_file"; then
   1294   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1295   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1296 fi
   1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1298 ac_abs_confdir=`(
   1299 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1300 	pwd)`
   1301 # When building in place, set srcdir=.
   1302 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1303   srcdir=.
   1304 fi
   1305 # Remove unnecessary trailing slashes from srcdir.
   1306 # Double slashes in file names in object file debugging info
   1307 # mess up M-x gdb in Emacs.
   1308 case $srcdir in
   1309 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1310 esac
   1311 for ac_var in $ac_precious_vars; do
   1312   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1313   eval ac_env_${ac_var}_value=\$${ac_var}
   1314   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1315   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1316 done
   1317 
   1318 #
   1319 # Report the --help message.
   1320 #
   1321 if test "$ac_init_help" = "long"; then
   1322   # Omit some internal or obsolete options to make the list less imposing.
   1323   # This message is too long to be a string in the A/UX 3.1 sh.
   1324   cat <<_ACEOF
   1325 \`configure' configures xinput 1.6.3 to adapt to many kinds of systems.
   1326 
   1327 Usage: $0 [OPTION]... [VAR=VALUE]...
   1328 
   1329 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1330 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1331 
   1332 Defaults for the options are specified in brackets.
   1333 
   1334 Configuration:
   1335   -h, --help              display this help and exit
   1336       --help=short        display options specific to this package
   1337       --help=recursive    display the short help of all the included packages
   1338   -V, --version           display version information and exit
   1339   -q, --quiet, --silent   do not print \`checking ...' messages
   1340       --cache-file=FILE   cache test results in FILE [disabled]
   1341   -C, --config-cache      alias for \`--cache-file=config.cache'
   1342   -n, --no-create         do not create output files
   1343       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1344 
   1345 Installation directories:
   1346   --prefix=PREFIX         install architecture-independent files in PREFIX
   1347                           [$ac_default_prefix]
   1348   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1349                           [PREFIX]
   1350 
   1351 By default, \`make install' will install all the files in
   1352 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1353 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1354 for instance \`--prefix=\$HOME'.
   1355 
   1356 For better control, use the options below.
   1357 
   1358 Fine tuning of the installation directories:
   1359   --bindir=DIR            user executables [EPREFIX/bin]
   1360   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1361   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1362   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1363   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1364   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1365   --libdir=DIR            object code libraries [EPREFIX/lib]
   1366   --includedir=DIR        C header files [PREFIX/include]
   1367   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1368   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1369   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1370   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1371   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1372   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1373   --docdir=DIR            documentation root [DATAROOTDIR/doc/xinput]
   1374   --htmldir=DIR           html documentation [DOCDIR]
   1375   --dvidir=DIR            dvi documentation [DOCDIR]
   1376   --pdfdir=DIR            pdf documentation [DOCDIR]
   1377   --psdir=DIR             ps documentation [DOCDIR]
   1378 _ACEOF
   1379 
   1380   cat <<\_ACEOF
   1381 
   1382 Program names:
   1383   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1384   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1385   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1386 
   1387 System types:
   1388   --build=BUILD     configure for building on BUILD [guessed]
   1389   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1390 _ACEOF
   1391 fi
   1392 
   1393 if test -n "$ac_init_help"; then
   1394   case $ac_init_help in
   1395      short | recursive ) echo "Configuration of xinput 1.6.3:";;
   1396    esac
   1397   cat <<\_ACEOF
   1398 
   1399 Optional Features:
   1400   --disable-option-checking  ignore unrecognized --enable/--with options
   1401   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1402   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1403   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1404   --disable-silent-rules  verbose build output (undo: "make V=0")
   1405   --enable-dependency-tracking
   1406                           do not reject slow dependency extractors
   1407   --disable-dependency-tracking
   1408                           speeds up one-time build
   1409   --disable-selective-werror
   1410                           Turn off selective compiler errors. (default:
   1411                           enabled)
   1412   --enable-strict-compilation
   1413                           Enable all warnings from compiler and make them
   1414                           errors (default: disabled)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   CPP         C preprocessor
   1425   PKG_CONFIG  path to pkg-config utility
   1426   PKG_CONFIG_PATH
   1427               directories to add to pkg-config's search path
   1428   PKG_CONFIG_LIBDIR
   1429               path overriding pkg-config's built-in search path
   1430   XINPUT_CFLAGS
   1431               C compiler flags for XINPUT, overriding pkg-config
   1432   XINPUT_LIBS linker flags for XINPUT, overriding pkg-config
   1433   XI2_CFLAGS  C compiler flags for XI2, overriding pkg-config
   1434   XI2_LIBS    linker flags for XI2, overriding pkg-config
   1435   XI21_CFLAGS C compiler flags for XI21, overriding pkg-config
   1436   XI21_LIBS   linker flags for XI21, overriding pkg-config
   1437   XI22_CFLAGS C compiler flags for XI22, overriding pkg-config
   1438   XI22_LIBS   linker flags for XI22, overriding pkg-config
   1439 
   1440 Use these variables to override the choices made by `configure' or to help
   1441 it to find libraries and programs with nonstandard names/locations.
   1442 
   1443 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinput/issues>.
   1444 _ACEOF
   1445 ac_status=$?
   1446 fi
   1447 
   1448 if test "$ac_init_help" = "recursive"; then
   1449   # If there are subdirs, report their specific --help.
   1450   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1451     test -d "$ac_dir" ||
   1452       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1453       continue
   1454     ac_builddir=.
   1455 
   1456 case "$ac_dir" in
   1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458 *)
   1459   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1460   # A ".." for each directory in $ac_dir_suffix.
   1461   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1462   case $ac_top_builddir_sub in
   1463   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1464   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1465   esac ;;
   1466 esac
   1467 ac_abs_top_builddir=$ac_pwd
   1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1469 # for backward compatibility:
   1470 ac_top_builddir=$ac_top_build_prefix
   1471 
   1472 case $srcdir in
   1473   .)  # We are building in place.
   1474     ac_srcdir=.
   1475     ac_top_srcdir=$ac_top_builddir_sub
   1476     ac_abs_top_srcdir=$ac_pwd ;;
   1477   [\\/]* | ?:[\\/]* )  # Absolute name.
   1478     ac_srcdir=$srcdir$ac_dir_suffix;
   1479     ac_top_srcdir=$srcdir
   1480     ac_abs_top_srcdir=$srcdir ;;
   1481   *) # Relative name.
   1482     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1483     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1484     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1485 esac
   1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1487 
   1488     cd "$ac_dir" || { ac_status=$?; continue; }
   1489     # Check for guested configure.
   1490     if test -f "$ac_srcdir/configure.gnu"; then
   1491       echo &&
   1492       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1493     elif test -f "$ac_srcdir/configure"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure" --help=recursive
   1496     else
   1497       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1498     fi || ac_status=$?
   1499     cd "$ac_pwd" || { ac_status=$?; break; }
   1500   done
   1501 fi
   1502 
   1503 test -n "$ac_init_help" && exit $ac_status
   1504 if $ac_init_version; then
   1505   cat <<\_ACEOF
   1506 xinput configure 1.6.3
   1507 generated by GNU Autoconf 2.69
   1508 
   1509 Copyright (C) 2012 Free Software Foundation, Inc.
   1510 This configure script is free software; the Free Software Foundation
   1511 gives unlimited permission to copy, distribute and modify it.
   1512 _ACEOF
   1513   exit
   1514 fi
   1515 
   1516 ## ------------------------ ##
   1517 ## Autoconf initialization. ##
   1518 ## ------------------------ ##
   1519 
   1520 # ac_fn_c_try_compile LINENO
   1521 # --------------------------
   1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1523 ac_fn_c_try_compile ()
   1524 {
   1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1526   rm -f conftest.$ac_objext
   1527   if { { ac_try="$ac_compile"
   1528 case "(($ac_try" in
   1529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1530   *) ac_try_echo=$ac_try;;
   1531 esac
   1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1533 $as_echo "$ac_try_echo"; } >&5
   1534   (eval "$ac_compile") 2>conftest.err
   1535   ac_status=$?
   1536   if test -s conftest.err; then
   1537     grep -v '^ *+' conftest.err >conftest.er1
   1538     cat conftest.er1 >&5
   1539     mv -f conftest.er1 conftest.err
   1540   fi
   1541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1542   test $ac_status = 0; } && {
   1543 	 test -z "$ac_c_werror_flag" ||
   1544 	 test ! -s conftest.err
   1545        } && test -s conftest.$ac_objext; then :
   1546   ac_retval=0
   1547 else
   1548   $as_echo "$as_me: failed program was:" >&5
   1549 sed 's/^/| /' conftest.$ac_ext >&5
   1550 
   1551 	ac_retval=1
   1552 fi
   1553   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1554   as_fn_set_status $ac_retval
   1555 
   1556 } # ac_fn_c_try_compile
   1557 
   1558 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1559 # ---------------------------------------------
   1560 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1561 # accordingly.
   1562 ac_fn_c_check_decl ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1566   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1568 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1569 if eval \${$3+:} false; then :
   1570   $as_echo_n "(cached) " >&6
   1571 else
   1572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1573 /* end confdefs.h.  */
   1574 $4
   1575 int
   1576 main ()
   1577 {
   1578 #ifndef $as_decl_name
   1579 #ifdef __cplusplus
   1580   (void) $as_decl_use;
   1581 #else
   1582   (void) $as_decl_name;
   1583 #endif
   1584 #endif
   1585 
   1586   ;
   1587   return 0;
   1588 }
   1589 _ACEOF
   1590 if ac_fn_c_try_compile "$LINENO"; then :
   1591   eval "$3=yes"
   1592 else
   1593   eval "$3=no"
   1594 fi
   1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1596 fi
   1597 eval ac_res=\$$3
   1598 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1599 $as_echo "$ac_res" >&6; }
   1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1601 
   1602 } # ac_fn_c_check_decl
   1603 
   1604 # ac_fn_c_try_cpp LINENO
   1605 # ----------------------
   1606 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1607 ac_fn_c_try_cpp ()
   1608 {
   1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1610   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1611 case "(($ac_try" in
   1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1613   *) ac_try_echo=$ac_try;;
   1614 esac
   1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1616 $as_echo "$ac_try_echo"; } >&5
   1617   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1618   ac_status=$?
   1619   if test -s conftest.err; then
   1620     grep -v '^ *+' conftest.err >conftest.er1
   1621     cat conftest.er1 >&5
   1622     mv -f conftest.er1 conftest.err
   1623   fi
   1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1625   test $ac_status = 0; } > conftest.i && {
   1626 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1627 	 test ! -s conftest.err
   1628        }; then :
   1629   ac_retval=0
   1630 else
   1631   $as_echo "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634     ac_retval=1
   1635 fi
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_cpp
   1640 
   1641 # ac_fn_c_try_run LINENO
   1642 # ----------------------
   1643 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1644 # that executables *can* be run.
   1645 ac_fn_c_try_run ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   if { { ac_try="$ac_link"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 $as_echo "$ac_try_echo"; } >&5
   1655   (eval "$ac_link") 2>&5
   1656   ac_status=$?
   1657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1658   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1659   { { case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 $as_echo "$ac_try_echo"; } >&5
   1665   (eval "$ac_try") 2>&5
   1666   ac_status=$?
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; }; }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: program exited with status $ac_status" >&5
   1672        $as_echo "$as_me: failed program was:" >&5
   1673 sed 's/^/| /' conftest.$ac_ext >&5
   1674 
   1675        ac_retval=$ac_status
   1676 fi
   1677   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_run
   1682 
   1683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1684 # -------------------------------------------------------
   1685 # Tests whether HEADER exists and can be compiled using the include files in
   1686 # INCLUDES, setting the cache variable VAR accordingly.
   1687 ac_fn_c_check_header_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if eval \${$3+:} false; then :
   1693   $as_echo_n "(cached) " >&6
   1694 else
   1695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"; then :
   1701   eval "$3=yes"
   1702 else
   1703   eval "$3=no"
   1704 fi
   1705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1706 fi
   1707 eval ac_res=\$$3
   1708 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1709 $as_echo "$ac_res" >&6; }
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711 
   1712 } # ac_fn_c_check_header_compile
   1713 
   1714 # ac_fn_c_try_link LINENO
   1715 # -----------------------
   1716 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1717 ac_fn_c_try_link ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   rm -f conftest.$ac_objext conftest$ac_exeext
   1721   if { { ac_try="$ac_link"
   1722 case "(($ac_try" in
   1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1724   *) ac_try_echo=$ac_try;;
   1725 esac
   1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1727 $as_echo "$ac_try_echo"; } >&5
   1728   (eval "$ac_link") 2>conftest.err
   1729   ac_status=$?
   1730   if test -s conftest.err; then
   1731     grep -v '^ *+' conftest.err >conftest.er1
   1732     cat conftest.er1 >&5
   1733     mv -f conftest.er1 conftest.err
   1734   fi
   1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1736   test $ac_status = 0; } && {
   1737 	 test -z "$ac_c_werror_flag" ||
   1738 	 test ! -s conftest.err
   1739        } && test -s conftest$ac_exeext && {
   1740 	 test "$cross_compiling" = yes ||
   1741 	 test -x conftest$ac_exeext
   1742        }; then :
   1743   ac_retval=0
   1744 else
   1745   $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748 	ac_retval=1
   1749 fi
   1750   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1751   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1752   # interfere with the next link command; also delete a directory that is
   1753   # left behind by Apple's compiler.  We do this before executing the actions.
   1754   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_link
   1759 cat >config.log <<_ACEOF
   1760 This file contains any messages produced by compilers while
   1761 running configure, to aid debugging if configure makes a mistake.
   1762 
   1763 It was created by xinput $as_me 1.6.3, which was
   1764 generated by GNU Autoconf 2.69.  Invocation command line was
   1765 
   1766   $ $0 $@
   1767 
   1768 _ACEOF
   1769 exec 5>>config.log
   1770 {
   1771 cat <<_ASUNAME
   1772 ## --------- ##
   1773 ## Platform. ##
   1774 ## --------- ##
   1775 
   1776 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1777 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1778 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1779 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1780 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1781 
   1782 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1783 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1784 
   1785 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1786 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1787 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1788 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1789 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1790 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1791 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1792 
   1793 _ASUNAME
   1794 
   1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1796 for as_dir in $PATH
   1797 do
   1798   IFS=$as_save_IFS
   1799   test -z "$as_dir" && as_dir=.
   1800     $as_echo "PATH: $as_dir"
   1801   done
   1802 IFS=$as_save_IFS
   1803 
   1804 } >&5
   1805 
   1806 cat >&5 <<_ACEOF
   1807 
   1808 
   1809 ## ----------- ##
   1810 ## Core tests. ##
   1811 ## ----------- ##
   1812 
   1813 _ACEOF
   1814 
   1815 
   1816 # Keep a trace of the command line.
   1817 # Strip out --no-create and --no-recursion so they do not pile up.
   1818 # Strip out --silent because we don't want to record it for future runs.
   1819 # Also quote any args containing shell meta-characters.
   1820 # Make two passes to allow for proper duplicate-argument suppression.
   1821 ac_configure_args=
   1822 ac_configure_args0=
   1823 ac_configure_args1=
   1824 ac_must_keep_next=false
   1825 for ac_pass in 1 2
   1826 do
   1827   for ac_arg
   1828   do
   1829     case $ac_arg in
   1830     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1831     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1832     | -silent | --silent | --silen | --sile | --sil)
   1833       continue ;;
   1834     *\'*)
   1835       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1836     esac
   1837     case $ac_pass in
   1838     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1839     2)
   1840       as_fn_append ac_configure_args1 " '$ac_arg'"
   1841       if test $ac_must_keep_next = true; then
   1842 	ac_must_keep_next=false # Got value, back to normal.
   1843       else
   1844 	case $ac_arg in
   1845 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1846 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1847 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1848 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1849 	    case "$ac_configure_args0 " in
   1850 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1851 	    esac
   1852 	    ;;
   1853 	  -* ) ac_must_keep_next=true ;;
   1854 	esac
   1855       fi
   1856       as_fn_append ac_configure_args " '$ac_arg'"
   1857       ;;
   1858     esac
   1859   done
   1860 done
   1861 { ac_configure_args0=; unset ac_configure_args0;}
   1862 { ac_configure_args1=; unset ac_configure_args1;}
   1863 
   1864 # When interrupted or exit'd, cleanup temporary files, and complete
   1865 # config.log.  We remove comments because anyway the quotes in there
   1866 # would cause problems or look ugly.
   1867 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1868 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1869 trap 'exit_status=$?
   1870   # Save into config.log some information that might help in debugging.
   1871   {
   1872     echo
   1873 
   1874     $as_echo "## ---------------- ##
   1875 ## Cache variables. ##
   1876 ## ---------------- ##"
   1877     echo
   1878     # The following way of writing the cache mishandles newlines in values,
   1879 (
   1880   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1881     eval ac_val=\$$ac_var
   1882     case $ac_val in #(
   1883     *${as_nl}*)
   1884       case $ac_var in #(
   1885       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1886 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1887       esac
   1888       case $ac_var in #(
   1889       _ | IFS | as_nl) ;; #(
   1890       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1891       *) { eval $ac_var=; unset $ac_var;} ;;
   1892       esac ;;
   1893     esac
   1894   done
   1895   (set) 2>&1 |
   1896     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1897     *${as_nl}ac_space=\ *)
   1898       sed -n \
   1899 	"s/'\''/'\''\\\\'\'''\''/g;
   1900 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1901       ;; #(
   1902     *)
   1903       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1904       ;;
   1905     esac |
   1906     sort
   1907 )
   1908     echo
   1909 
   1910     $as_echo "## ----------------- ##
   1911 ## Output variables. ##
   1912 ## ----------------- ##"
   1913     echo
   1914     for ac_var in $ac_subst_vars
   1915     do
   1916       eval ac_val=\$$ac_var
   1917       case $ac_val in
   1918       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1919       esac
   1920       $as_echo "$ac_var='\''$ac_val'\''"
   1921     done | sort
   1922     echo
   1923 
   1924     if test -n "$ac_subst_files"; then
   1925       $as_echo "## ------------------- ##
   1926 ## File substitutions. ##
   1927 ## ------------------- ##"
   1928       echo
   1929       for ac_var in $ac_subst_files
   1930       do
   1931 	eval ac_val=\$$ac_var
   1932 	case $ac_val in
   1933 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1934 	esac
   1935 	$as_echo "$ac_var='\''$ac_val'\''"
   1936       done | sort
   1937       echo
   1938     fi
   1939 
   1940     if test -s confdefs.h; then
   1941       $as_echo "## ----------- ##
   1942 ## confdefs.h. ##
   1943 ## ----------- ##"
   1944       echo
   1945       cat confdefs.h
   1946       echo
   1947     fi
   1948     test "$ac_signal" != 0 &&
   1949       $as_echo "$as_me: caught signal $ac_signal"
   1950     $as_echo "$as_me: exit $exit_status"
   1951   } >&5
   1952   rm -f core *.core core.conftest.* &&
   1953     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1954     exit $exit_status
   1955 ' 0
   1956 for ac_signal in 1 2 13 15; do
   1957   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1958 done
   1959 ac_signal=0
   1960 
   1961 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1962 rm -f -r conftest* confdefs.h
   1963 
   1964 $as_echo "/* confdefs.h */" > confdefs.h
   1965 
   1966 # Predefined preprocessor variables.
   1967 
   1968 cat >>confdefs.h <<_ACEOF
   1969 #define PACKAGE_NAME "$PACKAGE_NAME"
   1970 _ACEOF
   1971 
   1972 cat >>confdefs.h <<_ACEOF
   1973 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1974 _ACEOF
   1975 
   1976 cat >>confdefs.h <<_ACEOF
   1977 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1978 _ACEOF
   1979 
   1980 cat >>confdefs.h <<_ACEOF
   1981 #define PACKAGE_STRING "$PACKAGE_STRING"
   1982 _ACEOF
   1983 
   1984 cat >>confdefs.h <<_ACEOF
   1985 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1986 _ACEOF
   1987 
   1988 cat >>confdefs.h <<_ACEOF
   1989 #define PACKAGE_URL "$PACKAGE_URL"
   1990 _ACEOF
   1991 
   1992 
   1993 # Let the site file select an alternate cache file if it wants to.
   1994 # Prefer an explicitly selected file to automatically selected ones.
   1995 ac_site_file1=NONE
   1996 ac_site_file2=NONE
   1997 if test -n "$CONFIG_SITE"; then
   1998   # We do not want a PATH search for config.site.
   1999   case $CONFIG_SITE in #((
   2000     -*)  ac_site_file1=./$CONFIG_SITE;;
   2001     */*) ac_site_file1=$CONFIG_SITE;;
   2002     *)   ac_site_file1=./$CONFIG_SITE;;
   2003   esac
   2004 elif test "x$prefix" != xNONE; then
   2005   ac_site_file1=$prefix/share/config.site
   2006   ac_site_file2=$prefix/etc/config.site
   2007 else
   2008   ac_site_file1=$ac_default_prefix/share/config.site
   2009   ac_site_file2=$ac_default_prefix/etc/config.site
   2010 fi
   2011 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2012 do
   2013   test "x$ac_site_file" = xNONE && continue
   2014   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2015     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2016 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2017     sed 's/^/| /' "$ac_site_file" >&5
   2018     . "$ac_site_file" \
   2019       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2021 as_fn_error $? "failed to load site script $ac_site_file
   2022 See \`config.log' for more details" "$LINENO" 5; }
   2023   fi
   2024 done
   2025 
   2026 if test -r "$cache_file"; then
   2027   # Some versions of bash will fail to source /dev/null (special files
   2028   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2029   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2030     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2031 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2032     case $cache_file in
   2033       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2034       *)                      . "./$cache_file";;
   2035     esac
   2036   fi
   2037 else
   2038   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2039 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2040   >$cache_file
   2041 fi
   2042 
   2043 # Check that the precious variables saved in the cache have kept the same
   2044 # value.
   2045 ac_cache_corrupted=false
   2046 for ac_var in $ac_precious_vars; do
   2047   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2048   eval ac_new_set=\$ac_env_${ac_var}_set
   2049   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2050   eval ac_new_val=\$ac_env_${ac_var}_value
   2051   case $ac_old_set,$ac_new_set in
   2052     set,)
   2053       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2054 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2055       ac_cache_corrupted=: ;;
   2056     ,set)
   2057       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2058 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2059       ac_cache_corrupted=: ;;
   2060     ,);;
   2061     *)
   2062       if test "x$ac_old_val" != "x$ac_new_val"; then
   2063 	# differences in whitespace do not lead to failure.
   2064 	ac_old_val_w=`echo x $ac_old_val`
   2065 	ac_new_val_w=`echo x $ac_new_val`
   2066 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2067 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2068 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2069 	  ac_cache_corrupted=:
   2070 	else
   2071 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2072 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2073 	  eval $ac_var=\$ac_old_val
   2074 	fi
   2075 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2076 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2077 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2078 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2079       fi;;
   2080   esac
   2081   # Pass precious variables to config.status.
   2082   if test "$ac_new_set" = set; then
   2083     case $ac_new_val in
   2084     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2085     *) ac_arg=$ac_var=$ac_new_val ;;
   2086     esac
   2087     case " $ac_configure_args " in
   2088       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2089       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2090     esac
   2091   fi
   2092 done
   2093 if $ac_cache_corrupted; then
   2094   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2096   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2097 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2098   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2099 fi
   2100 ## -------------------- ##
   2101 ## Main body of script. ##
   2102 ## -------------------- ##
   2103 
   2104 ac_ext=c
   2105 ac_cpp='$CPP $CPPFLAGS'
   2106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2109 
   2110 
   2111 
   2112 ac_config_headers="$ac_config_headers config.h"
   2113 
   2114 
   2115 # Initialize Automake
   2116 am__api_version='1.16'
   2117 
   2118 ac_aux_dir=
   2119 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2120   if test -f "$ac_dir/install-sh"; then
   2121     ac_aux_dir=$ac_dir
   2122     ac_install_sh="$ac_aux_dir/install-sh -c"
   2123     break
   2124   elif test -f "$ac_dir/install.sh"; then
   2125     ac_aux_dir=$ac_dir
   2126     ac_install_sh="$ac_aux_dir/install.sh -c"
   2127     break
   2128   elif test -f "$ac_dir/shtool"; then
   2129     ac_aux_dir=$ac_dir
   2130     ac_install_sh="$ac_aux_dir/shtool install -c"
   2131     break
   2132   fi
   2133 done
   2134 if test -z "$ac_aux_dir"; then
   2135   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2136 fi
   2137 
   2138 # These three variables are undocumented and unsupported,
   2139 # and are intended to be withdrawn in a future Autoconf release.
   2140 # They can cause serious problems if a builder's source tree is in a directory
   2141 # whose full name contains unusual characters.
   2142 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2143 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2144 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2145 
   2146 
   2147 # Find a good install program.  We prefer a C program (faster),
   2148 # so one script is as good as another.  But avoid the broken or
   2149 # incompatible versions:
   2150 # SysV /etc/install, /usr/sbin/install
   2151 # SunOS /usr/etc/install
   2152 # IRIX /sbin/install
   2153 # AIX /bin/install
   2154 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2158 # OS/2's system install, which has a completely different semantic
   2159 # ./install, which can be erroneously created by make from ./install.sh.
   2160 # Reject install programs that cannot install multiple files.
   2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2162 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2163 if test -z "$INSTALL"; then
   2164 if ${ac_cv_path_install+:} false; then :
   2165   $as_echo_n "(cached) " >&6
   2166 else
   2167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2168 for as_dir in $PATH
   2169 do
   2170   IFS=$as_save_IFS
   2171   test -z "$as_dir" && as_dir=.
   2172     # Account for people who put trailing slashes in PATH elements.
   2173 case $as_dir/ in #((
   2174   ./ | .// | /[cC]/* | \
   2175   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2176   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2177   /usr/ucb/* ) ;;
   2178   *)
   2179     # OSF1 and SCO ODT 3.0 have their own names for install.
   2180     # Don't use installbsd from OSF since it installs stuff as root
   2181     # by default.
   2182     for ac_prog in ginstall scoinst install; do
   2183       for ac_exec_ext in '' $ac_executable_extensions; do
   2184 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2185 	  if test $ac_prog = install &&
   2186 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2187 	    # AIX install.  It has an incompatible calling convention.
   2188 	    :
   2189 	  elif test $ac_prog = install &&
   2190 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2191 	    # program-specific install script used by HP pwplus--don't use.
   2192 	    :
   2193 	  else
   2194 	    rm -rf conftest.one conftest.two conftest.dir
   2195 	    echo one > conftest.one
   2196 	    echo two > conftest.two
   2197 	    mkdir conftest.dir
   2198 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2199 	      test -s conftest.one && test -s conftest.two &&
   2200 	      test -s conftest.dir/conftest.one &&
   2201 	      test -s conftest.dir/conftest.two
   2202 	    then
   2203 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2204 	      break 3
   2205 	    fi
   2206 	  fi
   2207 	fi
   2208       done
   2209     done
   2210     ;;
   2211 esac
   2212 
   2213   done
   2214 IFS=$as_save_IFS
   2215 
   2216 rm -rf conftest.one conftest.two conftest.dir
   2217 
   2218 fi
   2219   if test "${ac_cv_path_install+set}" = set; then
   2220     INSTALL=$ac_cv_path_install
   2221   else
   2222     # As a last resort, use the slow shell script.  Don't cache a
   2223     # value for INSTALL within a source directory, because that will
   2224     # break other packages using the cache if that directory is
   2225     # removed, or if the value is a relative name.
   2226     INSTALL=$ac_install_sh
   2227   fi
   2228 fi
   2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2230 $as_echo "$INSTALL" >&6; }
   2231 
   2232 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2233 # It thinks the first close brace ends the variable substitution.
   2234 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2235 
   2236 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2237 
   2238 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2239 
   2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2241 $as_echo_n "checking whether build environment is sane... " >&6; }
   2242 # Reject unsafe characters in $srcdir or the absolute working directory
   2243 # name.  Accept space and tab only in the latter.
   2244 am_lf='
   2245 '
   2246 case `pwd` in
   2247   *[\\\"\#\$\&\'\`$am_lf]*)
   2248     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2249 esac
   2250 case $srcdir in
   2251   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2252     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2253 esac
   2254 
   2255 # Do 'set' in a subshell so we don't clobber the current shell's
   2256 # arguments.  Must try -L first in case configure is actually a
   2257 # symlink; some systems play weird games with the mod time of symlinks
   2258 # (eg FreeBSD returns the mod time of the symlink's containing
   2259 # directory).
   2260 if (
   2261    am_has_slept=no
   2262    for am_try in 1 2; do
   2263      echo "timestamp, slept: $am_has_slept" > conftest.file
   2264      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2265      if test "$*" = "X"; then
   2266 	# -L didn't work.
   2267 	set X `ls -t "$srcdir/configure" conftest.file`
   2268      fi
   2269      if test "$*" != "X $srcdir/configure conftest.file" \
   2270 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2271 
   2272 	# If neither matched, then we have a broken ls.  This can happen
   2273 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2274 	# broken ls alias from the environment.  This has actually
   2275 	# happened.  Such a system could not be considered "sane".
   2276 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2277   alias in your environment" "$LINENO" 5
   2278      fi
   2279      if test "$2" = conftest.file || test $am_try -eq 2; then
   2280        break
   2281      fi
   2282      # Just in case.
   2283      sleep 1
   2284      am_has_slept=yes
   2285    done
   2286    test "$2" = conftest.file
   2287    )
   2288 then
   2289    # Ok.
   2290    :
   2291 else
   2292    as_fn_error $? "newly created file is older than distributed files!
   2293 Check your system clock" "$LINENO" 5
   2294 fi
   2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2296 $as_echo "yes" >&6; }
   2297 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2298 # generated files are strictly newer.
   2299 am_sleep_pid=
   2300 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2301   ( sleep 1 ) &
   2302   am_sleep_pid=$!
   2303 fi
   2304 
   2305 rm -f conftest.file
   2306 
   2307 test "$program_prefix" != NONE &&
   2308   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2309 # Use a double $ so make ignores it.
   2310 test "$program_suffix" != NONE &&
   2311   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2312 # Double any \ or $.
   2313 # By default was `s,x,x', remove it if useless.
   2314 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2315 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2316 
   2317 # Expand $ac_aux_dir to an absolute path.
   2318 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2319 
   2320 if test x"${MISSING+set}" != xset; then
   2321   case $am_aux_dir in
   2322   *\ * | *\	*)
   2323     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2324   *)
   2325     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2326   esac
   2327 fi
   2328 # Use eval to expand $SHELL
   2329 if eval "$MISSING --is-lightweight"; then
   2330   am_missing_run="$MISSING "
   2331 else
   2332   am_missing_run=
   2333   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2334 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2335 fi
   2336 
   2337 if test x"${install_sh+set}" != xset; then
   2338   case $am_aux_dir in
   2339   *\ * | *\	*)
   2340     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2341   *)
   2342     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2343   esac
   2344 fi
   2345 
   2346 # Installed binaries are usually stripped using 'strip' when the user
   2347 # run "make install-strip".  However 'strip' might not be the right
   2348 # tool to use in cross-compilation environments, therefore Automake
   2349 # will honor the 'STRIP' environment variable to overrule this program.
   2350 if test "$cross_compiling" != no; then
   2351   if test -n "$ac_tool_prefix"; then
   2352   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2355 $as_echo_n "checking for $ac_word... " >&6; }
   2356 if ${ac_cv_prog_STRIP+:} false; then :
   2357   $as_echo_n "(cached) " >&6
   2358 else
   2359   if test -n "$STRIP"; then
   2360   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2361 else
   2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2363 for as_dir in $PATH
   2364 do
   2365   IFS=$as_save_IFS
   2366   test -z "$as_dir" && as_dir=.
   2367     for ac_exec_ext in '' $ac_executable_extensions; do
   2368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2369     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2371     break 2
   2372   fi
   2373 done
   2374   done
   2375 IFS=$as_save_IFS
   2376 
   2377 fi
   2378 fi
   2379 STRIP=$ac_cv_prog_STRIP
   2380 if test -n "$STRIP"; then
   2381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2382 $as_echo "$STRIP" >&6; }
   2383 else
   2384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2385 $as_echo "no" >&6; }
   2386 fi
   2387 
   2388 
   2389 fi
   2390 if test -z "$ac_cv_prog_STRIP"; then
   2391   ac_ct_STRIP=$STRIP
   2392   # Extract the first word of "strip", so it can be a program name with args.
   2393 set dummy strip; ac_word=$2
   2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2395 $as_echo_n "checking for $ac_word... " >&6; }
   2396 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2397   $as_echo_n "(cached) " >&6
   2398 else
   2399   if test -n "$ac_ct_STRIP"; then
   2400   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2401 else
   2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2403 for as_dir in $PATH
   2404 do
   2405   IFS=$as_save_IFS
   2406   test -z "$as_dir" && as_dir=.
   2407     for ac_exec_ext in '' $ac_executable_extensions; do
   2408   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2409     ac_cv_prog_ac_ct_STRIP="strip"
   2410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2411     break 2
   2412   fi
   2413 done
   2414   done
   2415 IFS=$as_save_IFS
   2416 
   2417 fi
   2418 fi
   2419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2420 if test -n "$ac_ct_STRIP"; then
   2421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2422 $as_echo "$ac_ct_STRIP" >&6; }
   2423 else
   2424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2425 $as_echo "no" >&6; }
   2426 fi
   2427 
   2428   if test "x$ac_ct_STRIP" = x; then
   2429     STRIP=":"
   2430   else
   2431     case $cross_compiling:$ac_tool_warned in
   2432 yes:)
   2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2435 ac_tool_warned=yes ;;
   2436 esac
   2437     STRIP=$ac_ct_STRIP
   2438   fi
   2439 else
   2440   STRIP="$ac_cv_prog_STRIP"
   2441 fi
   2442 
   2443 fi
   2444 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2445 
   2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2447 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2448 if test -z "$MKDIR_P"; then
   2449   if ${ac_cv_path_mkdir+:} false; then :
   2450   $as_echo_n "(cached) " >&6
   2451 else
   2452   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2453 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2454 do
   2455   IFS=$as_save_IFS
   2456   test -z "$as_dir" && as_dir=.
   2457     for ac_prog in mkdir gmkdir; do
   2458 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2459 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2460 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2461 	     'mkdir (GNU coreutils) '* | \
   2462 	     'mkdir (coreutils) '* | \
   2463 	     'mkdir (fileutils) '4.1*)
   2464 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2465 	       break 3;;
   2466 	   esac
   2467 	 done
   2468        done
   2469   done
   2470 IFS=$as_save_IFS
   2471 
   2472 fi
   2473 
   2474   test -d ./--version && rmdir ./--version
   2475   if test "${ac_cv_path_mkdir+set}" = set; then
   2476     MKDIR_P="$ac_cv_path_mkdir -p"
   2477   else
   2478     # As a last resort, use the slow shell script.  Don't cache a
   2479     # value for MKDIR_P within a source directory, because that will
   2480     # break other packages using the cache if that directory is
   2481     # removed, or if the value is a relative name.
   2482     MKDIR_P="$ac_install_sh -d"
   2483   fi
   2484 fi
   2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2486 $as_echo "$MKDIR_P" >&6; }
   2487 
   2488 for ac_prog in gawk mawk nawk awk
   2489 do
   2490   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2491 set dummy $ac_prog; ac_word=$2
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2493 $as_echo_n "checking for $ac_word... " >&6; }
   2494 if ${ac_cv_prog_AWK+:} false; then :
   2495   $as_echo_n "(cached) " >&6
   2496 else
   2497   if test -n "$AWK"; then
   2498   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2499 else
   2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2501 for as_dir in $PATH
   2502 do
   2503   IFS=$as_save_IFS
   2504   test -z "$as_dir" && as_dir=.
   2505     for ac_exec_ext in '' $ac_executable_extensions; do
   2506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2507     ac_cv_prog_AWK="$ac_prog"
   2508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2509     break 2
   2510   fi
   2511 done
   2512   done
   2513 IFS=$as_save_IFS
   2514 
   2515 fi
   2516 fi
   2517 AWK=$ac_cv_prog_AWK
   2518 if test -n "$AWK"; then
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2520 $as_echo "$AWK" >&6; }
   2521 else
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2523 $as_echo "no" >&6; }
   2524 fi
   2525 
   2526 
   2527   test -n "$AWK" && break
   2528 done
   2529 
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2531 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2532 set x ${MAKE-make}
   2533 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2534 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2535   $as_echo_n "(cached) " >&6
   2536 else
   2537   cat >conftest.make <<\_ACEOF
   2538 SHELL = /bin/sh
   2539 all:
   2540 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2541 _ACEOF
   2542 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2544   *@@@%%%=?*=@@@%%%*)
   2545     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2546   *)
   2547     eval ac_cv_prog_make_${ac_make}_set=no;;
   2548 esac
   2549 rm -f conftest.make
   2550 fi
   2551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2553 $as_echo "yes" >&6; }
   2554   SET_MAKE=
   2555 else
   2556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2557 $as_echo "no" >&6; }
   2558   SET_MAKE="MAKE=${MAKE-make}"
   2559 fi
   2560 
   2561 rm -rf .tst 2>/dev/null
   2562 mkdir .tst 2>/dev/null
   2563 if test -d .tst; then
   2564   am__leading_dot=.
   2565 else
   2566   am__leading_dot=_
   2567 fi
   2568 rmdir .tst 2>/dev/null
   2569 
   2570 # Check whether --enable-silent-rules was given.
   2571 if test "${enable_silent_rules+set}" = set; then :
   2572   enableval=$enable_silent_rules;
   2573 fi
   2574 
   2575 case $enable_silent_rules in # (((
   2576   yes) AM_DEFAULT_VERBOSITY=0;;
   2577    no) AM_DEFAULT_VERBOSITY=1;;
   2578     *) AM_DEFAULT_VERBOSITY=1;;
   2579 esac
   2580 am_make=${MAKE-make}
   2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2582 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2583 if ${am_cv_make_support_nested_variables+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   if $as_echo 'TRUE=$(BAR$(V))
   2587 BAR0=false
   2588 BAR1=true
   2589 V=1
   2590 am__doit:
   2591 	@$(TRUE)
   2592 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2593   am_cv_make_support_nested_variables=yes
   2594 else
   2595   am_cv_make_support_nested_variables=no
   2596 fi
   2597 fi
   2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2599 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2600 if test $am_cv_make_support_nested_variables = yes; then
   2601     AM_V='$(V)'
   2602   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2603 else
   2604   AM_V=$AM_DEFAULT_VERBOSITY
   2605   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2606 fi
   2607 AM_BACKSLASH='\'
   2608 
   2609 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2610   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2611   # is not polluted with repeated "-I."
   2612   am__isrc=' -I$(srcdir)'
   2613   # test to see if srcdir already configured
   2614   if test -f $srcdir/config.status; then
   2615     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2616   fi
   2617 fi
   2618 
   2619 # test whether we have cygpath
   2620 if test -z "$CYGPATH_W"; then
   2621   if (cygpath --version) >/dev/null 2>/dev/null; then
   2622     CYGPATH_W='cygpath -w'
   2623   else
   2624     CYGPATH_W=echo
   2625   fi
   2626 fi
   2627 
   2628 
   2629 # Define the identity of the package.
   2630  PACKAGE='xinput'
   2631  VERSION='1.6.3'
   2632 
   2633 
   2634 cat >>confdefs.h <<_ACEOF
   2635 #define PACKAGE "$PACKAGE"
   2636 _ACEOF
   2637 
   2638 
   2639 cat >>confdefs.h <<_ACEOF
   2640 #define VERSION "$VERSION"
   2641 _ACEOF
   2642 
   2643 # Some tools Automake needs.
   2644 
   2645 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2646 
   2647 
   2648 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2649 
   2650 
   2651 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2652 
   2653 
   2654 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2655 
   2656 
   2657 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2658 
   2659 # For better backward compatibility.  To be removed once Automake 1.9.x
   2660 # dies out for good.  For more background, see:
   2661 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2662 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2663 mkdir_p='$(MKDIR_P)'
   2664 
   2665 # We need awk for the "check" target (and possibly the TAP driver).  The
   2666 # system "awk" is bad on some platforms.
   2667 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2668 # in the wild :-(  We should find a proper way to deprecate it ...
   2669 AMTAR='$${TAR-tar}'
   2670 
   2671 
   2672 # We'll loop over all known methods to create a tar archive until one works.
   2673 _am_tools='gnutar  pax cpio none'
   2674 
   2675 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2676 
   2677 
   2678 
   2679 
   2680 
   2681 
   2682 # POSIX will say in a future version that running "rm -f" with no argument
   2683 # is OK; and we want to be able to make that assumption in our Makefile
   2684 # recipes.  So use an aggressive probe to check that the usage we want is
   2685 # actually supported "in the wild" to an acceptable degree.
   2686 # See automake bug#10828.
   2687 # To make any issue more visible, cause the running configure to be aborted
   2688 # by default if the 'rm' program in use doesn't match our expectations; the
   2689 # user can still override this though.
   2690 if rm -f && rm -fr && rm -rf; then : OK; else
   2691   cat >&2 <<'END'
   2692 Oops!
   2693 
   2694 Your 'rm' program seems unable to run without file operands specified
   2695 on the command line, even when the '-f' option is present.  This is contrary
   2696 to the behaviour of most rm programs out there, and not conforming with
   2697 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2698 
   2699 Please tell bug-automake@gnu.org about your system, including the value
   2700 of your $PATH and any error possibly output before this message.  This
   2701 can help us improve future automake versions.
   2702 
   2703 END
   2704   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2705     echo 'Configuration will proceed anyway, since you have set the' >&2
   2706     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2707     echo >&2
   2708   else
   2709     cat >&2 <<'END'
   2710 Aborting the configuration process, to ensure you take notice of the issue.
   2711 
   2712 You can download and install GNU coreutils to get an 'rm' implementation
   2713 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2714 
   2715 If you want to complete the configuration process using your problematic
   2716 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2717 to "yes", and re-run configure.
   2718 
   2719 END
   2720     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2721   fi
   2722 fi
   2723 
   2724 
   2725 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 
   2737 DEPDIR="${am__leading_dot}deps"
   2738 
   2739 ac_config_commands="$ac_config_commands depfiles"
   2740 
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2742 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2743 cat > confinc.mk << 'END'
   2744 am__doit:
   2745 	@echo this is the am__doit target >confinc.out
   2746 .PHONY: am__doit
   2747 END
   2748 am__include="#"
   2749 am__quote=
   2750 # BSD make does it like this.
   2751 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2752 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2753 echo 'include confinc.mk # ignored' > confmf.GNU
   2754 _am_result=no
   2755 for s in GNU BSD; do
   2756   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2757    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2758    ac_status=$?
   2759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2760    (exit $ac_status); }
   2761   case $?:`cat confinc.out 2>/dev/null` in #(
   2762   '0:this is the am__doit target') :
   2763     case $s in #(
   2764   BSD) :
   2765     am__include='.include' am__quote='"' ;; #(
   2766   *) :
   2767     am__include='include' am__quote='' ;;
   2768 esac ;; #(
   2769   *) :
   2770      ;;
   2771 esac
   2772   if test "$am__include" != "#"; then
   2773     _am_result="yes ($s style)"
   2774     break
   2775   fi
   2776 done
   2777 rm -f confinc.* confmf.*
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2779 $as_echo "${_am_result}" >&6; }
   2780 
   2781 # Check whether --enable-dependency-tracking was given.
   2782 if test "${enable_dependency_tracking+set}" = set; then :
   2783   enableval=$enable_dependency_tracking;
   2784 fi
   2785 
   2786 if test "x$enable_dependency_tracking" != xno; then
   2787   am_depcomp="$ac_aux_dir/depcomp"
   2788   AMDEPBACKSLASH='\'
   2789   am__nodep='_no'
   2790 fi
   2791  if test "x$enable_dependency_tracking" != xno; then
   2792   AMDEP_TRUE=
   2793   AMDEP_FALSE='#'
   2794 else
   2795   AMDEP_TRUE='#'
   2796   AMDEP_FALSE=
   2797 fi
   2798 
   2799 
   2800 ac_ext=c
   2801 ac_cpp='$CPP $CPPFLAGS'
   2802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2805 if test -n "$ac_tool_prefix"; then
   2806   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2807 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2809 $as_echo_n "checking for $ac_word... " >&6; }
   2810 if ${ac_cv_prog_CC+:} false; then :
   2811   $as_echo_n "(cached) " >&6
   2812 else
   2813   if test -n "$CC"; then
   2814   ac_cv_prog_CC="$CC" # Let the user override the test.
   2815 else
   2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH
   2818 do
   2819   IFS=$as_save_IFS
   2820   test -z "$as_dir" && as_dir=.
   2821     for ac_exec_ext in '' $ac_executable_extensions; do
   2822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2823     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2825     break 2
   2826   fi
   2827 done
   2828   done
   2829 IFS=$as_save_IFS
   2830 
   2831 fi
   2832 fi
   2833 CC=$ac_cv_prog_CC
   2834 if test -n "$CC"; then
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2836 $as_echo "$CC" >&6; }
   2837 else
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843 fi
   2844 if test -z "$ac_cv_prog_CC"; then
   2845   ac_ct_CC=$CC
   2846   # Extract the first word of "gcc", so it can be a program name with args.
   2847 set dummy gcc; ac_word=$2
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2849 $as_echo_n "checking for $ac_word... " >&6; }
   2850 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   if test -n "$ac_ct_CC"; then
   2854   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2855 else
   2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2857 for as_dir in $PATH
   2858 do
   2859   IFS=$as_save_IFS
   2860   test -z "$as_dir" && as_dir=.
   2861     for ac_exec_ext in '' $ac_executable_extensions; do
   2862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2863     ac_cv_prog_ac_ct_CC="gcc"
   2864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2865     break 2
   2866   fi
   2867 done
   2868   done
   2869 IFS=$as_save_IFS
   2870 
   2871 fi
   2872 fi
   2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2874 if test -n "$ac_ct_CC"; then
   2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2876 $as_echo "$ac_ct_CC" >&6; }
   2877 else
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2879 $as_echo "no" >&6; }
   2880 fi
   2881 
   2882   if test "x$ac_ct_CC" = x; then
   2883     CC=""
   2884   else
   2885     case $cross_compiling:$ac_tool_warned in
   2886 yes:)
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2889 ac_tool_warned=yes ;;
   2890 esac
   2891     CC=$ac_ct_CC
   2892   fi
   2893 else
   2894   CC="$ac_cv_prog_CC"
   2895 fi
   2896 
   2897 if test -z "$CC"; then
   2898           if test -n "$ac_tool_prefix"; then
   2899     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2900 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2902 $as_echo_n "checking for $ac_word... " >&6; }
   2903 if ${ac_cv_prog_CC+:} false; then :
   2904   $as_echo_n "(cached) " >&6
   2905 else
   2906   if test -n "$CC"; then
   2907   ac_cv_prog_CC="$CC" # Let the user override the test.
   2908 else
   2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2910 for as_dir in $PATH
   2911 do
   2912   IFS=$as_save_IFS
   2913   test -z "$as_dir" && as_dir=.
   2914     for ac_exec_ext in '' $ac_executable_extensions; do
   2915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2916     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2918     break 2
   2919   fi
   2920 done
   2921   done
   2922 IFS=$as_save_IFS
   2923 
   2924 fi
   2925 fi
   2926 CC=$ac_cv_prog_CC
   2927 if test -n "$CC"; then
   2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2929 $as_echo "$CC" >&6; }
   2930 else
   2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2932 $as_echo "no" >&6; }
   2933 fi
   2934 
   2935 
   2936   fi
   2937 fi
   2938 if test -z "$CC"; then
   2939   # Extract the first word of "cc", so it can be a program name with args.
   2940 set dummy cc; ac_word=$2
   2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2942 $as_echo_n "checking for $ac_word... " >&6; }
   2943 if ${ac_cv_prog_CC+:} false; then :
   2944   $as_echo_n "(cached) " >&6
   2945 else
   2946   if test -n "$CC"; then
   2947   ac_cv_prog_CC="$CC" # Let the user override the test.
   2948 else
   2949   ac_prog_rejected=no
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   test -z "$as_dir" && as_dir=.
   2955     for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2957     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2958        ac_prog_rejected=yes
   2959        continue
   2960      fi
   2961     ac_cv_prog_CC="cc"
   2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 if test $ac_prog_rejected = yes; then
   2970   # We found a bogon in the path, so make sure we never use it.
   2971   set dummy $ac_cv_prog_CC
   2972   shift
   2973   if test $# != 0; then
   2974     # We chose a different compiler from the bogus one.
   2975     # However, it has the same basename, so the bogon will be chosen
   2976     # first if we set CC to just the basename; use the full file name.
   2977     shift
   2978     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2979   fi
   2980 fi
   2981 fi
   2982 fi
   2983 CC=$ac_cv_prog_CC
   2984 if test -n "$CC"; then
   2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2986 $as_echo "$CC" >&6; }
   2987 else
   2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2989 $as_echo "no" >&6; }
   2990 fi
   2991 
   2992 
   2993 fi
   2994 if test -z "$CC"; then
   2995   if test -n "$ac_tool_prefix"; then
   2996   for ac_prog in cl.exe
   2997   do
   2998     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3001 $as_echo_n "checking for $ac_word... " >&6; }
   3002 if ${ac_cv_prog_CC+:} false; then :
   3003   $as_echo_n "(cached) " >&6
   3004 else
   3005   if test -n "$CC"; then
   3006   ac_cv_prog_CC="$CC" # Let the user override the test.
   3007 else
   3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3009 for as_dir in $PATH
   3010 do
   3011   IFS=$as_save_IFS
   3012   test -z "$as_dir" && as_dir=.
   3013     for ac_exec_ext in '' $ac_executable_extensions; do
   3014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3015     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3017     break 2
   3018   fi
   3019 done
   3020   done
   3021 IFS=$as_save_IFS
   3022 
   3023 fi
   3024 fi
   3025 CC=$ac_cv_prog_CC
   3026 if test -n "$CC"; then
   3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3028 $as_echo "$CC" >&6; }
   3029 else
   3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 $as_echo "no" >&6; }
   3032 fi
   3033 
   3034 
   3035     test -n "$CC" && break
   3036   done
   3037 fi
   3038 if test -z "$CC"; then
   3039   ac_ct_CC=$CC
   3040   for ac_prog in cl.exe
   3041 do
   3042   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3043 set dummy $ac_prog; ac_word=$2
   3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3045 $as_echo_n "checking for $ac_word... " >&6; }
   3046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3047   $as_echo_n "(cached) " >&6
   3048 else
   3049   if test -n "$ac_ct_CC"; then
   3050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3051 else
   3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3053 for as_dir in $PATH
   3054 do
   3055   IFS=$as_save_IFS
   3056   test -z "$as_dir" && as_dir=.
   3057     for ac_exec_ext in '' $ac_executable_extensions; do
   3058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3059     ac_cv_prog_ac_ct_CC="$ac_prog"
   3060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3061     break 2
   3062   fi
   3063 done
   3064   done
   3065 IFS=$as_save_IFS
   3066 
   3067 fi
   3068 fi
   3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3070 if test -n "$ac_ct_CC"; then
   3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3072 $as_echo "$ac_ct_CC" >&6; }
   3073 else
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3075 $as_echo "no" >&6; }
   3076 fi
   3077 
   3078 
   3079   test -n "$ac_ct_CC" && break
   3080 done
   3081 
   3082   if test "x$ac_ct_CC" = x; then
   3083     CC=""
   3084   else
   3085     case $cross_compiling:$ac_tool_warned in
   3086 yes:)
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3089 ac_tool_warned=yes ;;
   3090 esac
   3091     CC=$ac_ct_CC
   3092   fi
   3093 fi
   3094 
   3095 fi
   3096 
   3097 
   3098 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3100 as_fn_error $? "no acceptable C compiler found in \$PATH
   3101 See \`config.log' for more details" "$LINENO" 5; }
   3102 
   3103 # Provide some information about the compiler.
   3104 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3105 set X $ac_compile
   3106 ac_compiler=$2
   3107 for ac_option in --version -v -V -qversion; do
   3108   { { ac_try="$ac_compiler $ac_option >&5"
   3109 case "(($ac_try" in
   3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3111   *) ac_try_echo=$ac_try;;
   3112 esac
   3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3114 $as_echo "$ac_try_echo"; } >&5
   3115   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3116   ac_status=$?
   3117   if test -s conftest.err; then
   3118     sed '10a\
   3119 ... rest of stderr output deleted ...
   3120          10q' conftest.err >conftest.er1
   3121     cat conftest.er1 >&5
   3122   fi
   3123   rm -f conftest.er1 conftest.err
   3124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3125   test $ac_status = 0; }
   3126 done
   3127 
   3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3129 /* end confdefs.h.  */
   3130 
   3131 int
   3132 main ()
   3133 {
   3134 
   3135   ;
   3136   return 0;
   3137 }
   3138 _ACEOF
   3139 ac_clean_files_save=$ac_clean_files
   3140 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3141 # Try to create an executable without -o first, disregard a.out.
   3142 # It will help us diagnose broken compilers, and finding out an intuition
   3143 # of exeext.
   3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3145 $as_echo_n "checking whether the C compiler works... " >&6; }
   3146 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3147 
   3148 # The possible output files:
   3149 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3150 
   3151 ac_rmfiles=
   3152 for ac_file in $ac_files
   3153 do
   3154   case $ac_file in
   3155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3156     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3157   esac
   3158 done
   3159 rm -f $ac_rmfiles
   3160 
   3161 if { { ac_try="$ac_link_default"
   3162 case "(($ac_try" in
   3163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3164   *) ac_try_echo=$ac_try;;
   3165 esac
   3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3167 $as_echo "$ac_try_echo"; } >&5
   3168   (eval "$ac_link_default") 2>&5
   3169   ac_status=$?
   3170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3171   test $ac_status = 0; }; then :
   3172   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3174 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3175 # so that the user can short-circuit this test for compilers unknown to
   3176 # Autoconf.
   3177 for ac_file in $ac_files ''
   3178 do
   3179   test -f "$ac_file" || continue
   3180   case $ac_file in
   3181     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3182 	;;
   3183     [ab].out )
   3184 	# We found the default executable, but exeext='' is most
   3185 	# certainly right.
   3186 	break;;
   3187     *.* )
   3188 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3189 	then :; else
   3190 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3191 	fi
   3192 	# We set ac_cv_exeext here because the later test for it is not
   3193 	# safe: cross compilers may not add the suffix if given an `-o'
   3194 	# argument, so we may need to know it at that point already.
   3195 	# Even if this section looks crufty: it has the advantage of
   3196 	# actually working.
   3197 	break;;
   3198     * )
   3199 	break;;
   3200   esac
   3201 done
   3202 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3203 
   3204 else
   3205   ac_file=''
   3206 fi
   3207 if test -z "$ac_file"; then :
   3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3209 $as_echo "no" >&6; }
   3210 $as_echo "$as_me: failed program was:" >&5
   3211 sed 's/^/| /' conftest.$ac_ext >&5
   3212 
   3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3215 as_fn_error 77 "C compiler cannot create executables
   3216 See \`config.log' for more details" "$LINENO" 5; }
   3217 else
   3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3219 $as_echo "yes" >&6; }
   3220 fi
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3222 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3224 $as_echo "$ac_file" >&6; }
   3225 ac_exeext=$ac_cv_exeext
   3226 
   3227 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3228 ac_clean_files=$ac_clean_files_save
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3230 $as_echo_n "checking for suffix of executables... " >&6; }
   3231 if { { ac_try="$ac_link"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }; then :
   3242   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3243 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3244 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3245 # `rm'.
   3246 for ac_file in conftest.exe conftest conftest.*; do
   3247   test -f "$ac_file" || continue
   3248   case $ac_file in
   3249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3250     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3251 	  break;;
   3252     * ) break;;
   3253   esac
   3254 done
   3255 else
   3256   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3258 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3259 See \`config.log' for more details" "$LINENO" 5; }
   3260 fi
   3261 rm -f conftest conftest$ac_cv_exeext
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3263 $as_echo "$ac_cv_exeext" >&6; }
   3264 
   3265 rm -f conftest.$ac_ext
   3266 EXEEXT=$ac_cv_exeext
   3267 ac_exeext=$EXEEXT
   3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3269 /* end confdefs.h.  */
   3270 #include <stdio.h>
   3271 int
   3272 main ()
   3273 {
   3274 FILE *f = fopen ("conftest.out", "w");
   3275  return ferror (f) || fclose (f) != 0;
   3276 
   3277   ;
   3278   return 0;
   3279 }
   3280 _ACEOF
   3281 ac_clean_files="$ac_clean_files conftest.out"
   3282 # Check that the compiler produces executables we can run.  If not, either
   3283 # the compiler is broken, or we cross compile.
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3285 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3286 if test "$cross_compiling" != yes; then
   3287   { { ac_try="$ac_link"
   3288 case "(($ac_try" in
   3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3290   *) ac_try_echo=$ac_try;;
   3291 esac
   3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3293 $as_echo "$ac_try_echo"; } >&5
   3294   (eval "$ac_link") 2>&5
   3295   ac_status=$?
   3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3297   test $ac_status = 0; }
   3298   if { ac_try='./conftest$ac_cv_exeext'
   3299   { { case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3304 $as_echo "$ac_try_echo"; } >&5
   3305   (eval "$ac_try") 2>&5
   3306   ac_status=$?
   3307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3308   test $ac_status = 0; }; }; then
   3309     cross_compiling=no
   3310   else
   3311     if test "$cross_compiling" = maybe; then
   3312 	cross_compiling=yes
   3313     else
   3314 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3316 as_fn_error $? "cannot run C compiled programs.
   3317 If you meant to cross compile, use \`--host'.
   3318 See \`config.log' for more details" "$LINENO" 5; }
   3319     fi
   3320   fi
   3321 fi
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3323 $as_echo "$cross_compiling" >&6; }
   3324 
   3325 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3326 ac_clean_files=$ac_clean_files_save
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3328 $as_echo_n "checking for suffix of object files... " >&6; }
   3329 if ${ac_cv_objext+:} false; then :
   3330   $as_echo_n "(cached) " >&6
   3331 else
   3332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3333 /* end confdefs.h.  */
   3334 
   3335 int
   3336 main ()
   3337 {
   3338 
   3339   ;
   3340   return 0;
   3341 }
   3342 _ACEOF
   3343 rm -f conftest.o conftest.obj
   3344 if { { ac_try="$ac_compile"
   3345 case "(($ac_try" in
   3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3347   *) ac_try_echo=$ac_try;;
   3348 esac
   3349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3350 $as_echo "$ac_try_echo"; } >&5
   3351   (eval "$ac_compile") 2>&5
   3352   ac_status=$?
   3353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3354   test $ac_status = 0; }; then :
   3355   for ac_file in conftest.o conftest.obj conftest.*; do
   3356   test -f "$ac_file" || continue;
   3357   case $ac_file in
   3358     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3359     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3360        break;;
   3361   esac
   3362 done
   3363 else
   3364   $as_echo "$as_me: failed program was:" >&5
   3365 sed 's/^/| /' conftest.$ac_ext >&5
   3366 
   3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3369 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3370 See \`config.log' for more details" "$LINENO" 5; }
   3371 fi
   3372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3373 fi
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3375 $as_echo "$ac_cv_objext" >&6; }
   3376 OBJEXT=$ac_cv_objext
   3377 ac_objext=$OBJEXT
   3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3379 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3380 if ${ac_cv_c_compiler_gnu+:} false; then :
   3381   $as_echo_n "(cached) " >&6
   3382 else
   3383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3384 /* end confdefs.h.  */
   3385 
   3386 int
   3387 main ()
   3388 {
   3389 #ifndef __GNUC__
   3390        choke me
   3391 #endif
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 if ac_fn_c_try_compile "$LINENO"; then :
   3398   ac_compiler_gnu=yes
   3399 else
   3400   ac_compiler_gnu=no
   3401 fi
   3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3404 
   3405 fi
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3407 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3408 if test $ac_compiler_gnu = yes; then
   3409   GCC=yes
   3410 else
   3411   GCC=
   3412 fi
   3413 ac_test_CFLAGS=${CFLAGS+set}
   3414 ac_save_CFLAGS=$CFLAGS
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3416 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3417 if ${ac_cv_prog_cc_g+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   ac_save_c_werror_flag=$ac_c_werror_flag
   3421    ac_c_werror_flag=yes
   3422    ac_cv_prog_cc_g=no
   3423    CFLAGS="-g"
   3424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3425 /* end confdefs.h.  */
   3426 
   3427 int
   3428 main ()
   3429 {
   3430 
   3431   ;
   3432   return 0;
   3433 }
   3434 _ACEOF
   3435 if ac_fn_c_try_compile "$LINENO"; then :
   3436   ac_cv_prog_cc_g=yes
   3437 else
   3438   CFLAGS=""
   3439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3440 /* end confdefs.h.  */
   3441 
   3442 int
   3443 main ()
   3444 {
   3445 
   3446   ;
   3447   return 0;
   3448 }
   3449 _ACEOF
   3450 if ac_fn_c_try_compile "$LINENO"; then :
   3451 
   3452 else
   3453   ac_c_werror_flag=$ac_save_c_werror_flag
   3454 	 CFLAGS="-g"
   3455 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3456 /* end confdefs.h.  */
   3457 
   3458 int
   3459 main ()
   3460 {
   3461 
   3462   ;
   3463   return 0;
   3464 }
   3465 _ACEOF
   3466 if ac_fn_c_try_compile "$LINENO"; then :
   3467   ac_cv_prog_cc_g=yes
   3468 fi
   3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3470 fi
   3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3472 fi
   3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3474    ac_c_werror_flag=$ac_save_c_werror_flag
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3477 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3478 if test "$ac_test_CFLAGS" = set; then
   3479   CFLAGS=$ac_save_CFLAGS
   3480 elif test $ac_cv_prog_cc_g = yes; then
   3481   if test "$GCC" = yes; then
   3482     CFLAGS="-g -O2"
   3483   else
   3484     CFLAGS="-g"
   3485   fi
   3486 else
   3487   if test "$GCC" = yes; then
   3488     CFLAGS="-O2"
   3489   else
   3490     CFLAGS=
   3491   fi
   3492 fi
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3494 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3495 if ${ac_cv_prog_cc_c89+:} false; then :
   3496   $as_echo_n "(cached) " >&6
   3497 else
   3498   ac_cv_prog_cc_c89=no
   3499 ac_save_CC=$CC
   3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 #include <stdarg.h>
   3503 #include <stdio.h>
   3504 struct stat;
   3505 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3506 struct buf { int x; };
   3507 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3508 static char *e (p, i)
   3509      char **p;
   3510      int i;
   3511 {
   3512   return p[i];
   3513 }
   3514 static char *f (char * (*g) (char **, int), char **p, ...)
   3515 {
   3516   char *s;
   3517   va_list v;
   3518   va_start (v,p);
   3519   s = g (p, va_arg (v,int));
   3520   va_end (v);
   3521   return s;
   3522 }
   3523 
   3524 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3525    function prototypes and stuff, but not '\xHH' hex character constants.
   3526    These don't provoke an error unfortunately, instead are silently treated
   3527    as 'x'.  The following induces an error, until -std is added to get
   3528    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3529    array size at least.  It's necessary to write '\x00'==0 to get something
   3530    that's true only with -std.  */
   3531 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3532 
   3533 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3534    inside strings and character constants.  */
   3535 #define FOO(x) 'x'
   3536 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3537 
   3538 int test (int i, double x);
   3539 struct s1 {int (*f) (int a);};
   3540 struct s2 {int (*f) (double a);};
   3541 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3542 int argc;
   3543 char **argv;
   3544 int
   3545 main ()
   3546 {
   3547 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3548   ;
   3549   return 0;
   3550 }
   3551 _ACEOF
   3552 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3553 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3554 do
   3555   CC="$ac_save_CC $ac_arg"
   3556   if ac_fn_c_try_compile "$LINENO"; then :
   3557   ac_cv_prog_cc_c89=$ac_arg
   3558 fi
   3559 rm -f core conftest.err conftest.$ac_objext
   3560   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3561 done
   3562 rm -f conftest.$ac_ext
   3563 CC=$ac_save_CC
   3564 
   3565 fi
   3566 # AC_CACHE_VAL
   3567 case "x$ac_cv_prog_cc_c89" in
   3568   x)
   3569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3570 $as_echo "none needed" >&6; } ;;
   3571   xno)
   3572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3573 $as_echo "unsupported" >&6; } ;;
   3574   *)
   3575     CC="$CC $ac_cv_prog_cc_c89"
   3576     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3577 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3578 esac
   3579 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3580 
   3581 fi
   3582 
   3583 ac_ext=c
   3584 ac_cpp='$CPP $CPPFLAGS'
   3585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3588 
   3589 ac_ext=c
   3590 ac_cpp='$CPP $CPPFLAGS'
   3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3595 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3596 if ${am_cv_prog_cc_c_o+:} false; then :
   3597   $as_echo_n "(cached) " >&6
   3598 else
   3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3600 /* end confdefs.h.  */
   3601 
   3602 int
   3603 main ()
   3604 {
   3605 
   3606   ;
   3607   return 0;
   3608 }
   3609 _ACEOF
   3610   # Make sure it works both with $CC and with simple cc.
   3611   # Following AC_PROG_CC_C_O, we do the test twice because some
   3612   # compilers refuse to overwrite an existing .o file with -o,
   3613   # though they will create one.
   3614   am_cv_prog_cc_c_o=yes
   3615   for am_i in 1 2; do
   3616     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3617    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3618    ac_status=$?
   3619    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3620    (exit $ac_status); } \
   3621          && test -f conftest2.$ac_objext; then
   3622       : OK
   3623     else
   3624       am_cv_prog_cc_c_o=no
   3625       break
   3626     fi
   3627   done
   3628   rm -f core conftest*
   3629   unset am_i
   3630 fi
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3632 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3633 if test "$am_cv_prog_cc_c_o" != yes; then
   3634    # Losing compiler, so override with the script.
   3635    # FIXME: It is wrong to rewrite CC.
   3636    # But if we don't then we get into trouble of one sort or another.
   3637    # A longer-term fix would be to have automake use am__CC in this case,
   3638    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3639    CC="$am_aux_dir/compile $CC"
   3640 fi
   3641 ac_ext=c
   3642 ac_cpp='$CPP $CPPFLAGS'
   3643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3646 
   3647 
   3648 depcc="$CC"   am_compiler_list=
   3649 
   3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3651 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3652 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3653   $as_echo_n "(cached) " >&6
   3654 else
   3655   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3656   # We make a subdir and do the tests there.  Otherwise we can end up
   3657   # making bogus files that we don't know about and never remove.  For
   3658   # instance it was reported that on HP-UX the gcc test will end up
   3659   # making a dummy file named 'D' -- because '-MD' means "put the output
   3660   # in D".
   3661   rm -rf conftest.dir
   3662   mkdir conftest.dir
   3663   # Copy depcomp to subdir because otherwise we won't find it if we're
   3664   # using a relative directory.
   3665   cp "$am_depcomp" conftest.dir
   3666   cd conftest.dir
   3667   # We will build objects and dependencies in a subdirectory because
   3668   # it helps to detect inapplicable dependency modes.  For instance
   3669   # both Tru64's cc and ICC support -MD to output dependencies as a
   3670   # side effect of compilation, but ICC will put the dependencies in
   3671   # the current directory while Tru64 will put them in the object
   3672   # directory.
   3673   mkdir sub
   3674 
   3675   am_cv_CC_dependencies_compiler_type=none
   3676   if test "$am_compiler_list" = ""; then
   3677      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3678   fi
   3679   am__universal=false
   3680   case " $depcc " in #(
   3681      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3682      esac
   3683 
   3684   for depmode in $am_compiler_list; do
   3685     # Setup a source with many dependencies, because some compilers
   3686     # like to wrap large dependency lists on column 80 (with \), and
   3687     # we should not choose a depcomp mode which is confused by this.
   3688     #
   3689     # We need to recreate these files for each test, as the compiler may
   3690     # overwrite some of them when testing with obscure command lines.
   3691     # This happens at least with the AIX C compiler.
   3692     : > sub/conftest.c
   3693     for i in 1 2 3 4 5 6; do
   3694       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3695       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3696       # Solaris 10 /bin/sh.
   3697       echo '/* dummy */' > sub/conftst$i.h
   3698     done
   3699     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3700 
   3701     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3702     # mode.  It turns out that the SunPro C++ compiler does not properly
   3703     # handle '-M -o', and we need to detect this.  Also, some Intel
   3704     # versions had trouble with output in subdirs.
   3705     am__obj=sub/conftest.${OBJEXT-o}
   3706     am__minus_obj="-o $am__obj"
   3707     case $depmode in
   3708     gcc)
   3709       # This depmode causes a compiler race in universal mode.
   3710       test "$am__universal" = false || continue
   3711       ;;
   3712     nosideeffect)
   3713       # After this tag, mechanisms are not by side-effect, so they'll
   3714       # only be used when explicitly requested.
   3715       if test "x$enable_dependency_tracking" = xyes; then
   3716 	continue
   3717       else
   3718 	break
   3719       fi
   3720       ;;
   3721     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3722       # This compiler won't grok '-c -o', but also, the minuso test has
   3723       # not run yet.  These depmodes are late enough in the game, and
   3724       # so weak that their functioning should not be impacted.
   3725       am__obj=conftest.${OBJEXT-o}
   3726       am__minus_obj=
   3727       ;;
   3728     none) break ;;
   3729     esac
   3730     if depmode=$depmode \
   3731        source=sub/conftest.c object=$am__obj \
   3732        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3733        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3734          >/dev/null 2>conftest.err &&
   3735        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3736        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3737        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3738        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3739       # icc doesn't choke on unknown options, it will just issue warnings
   3740       # or remarks (even with -Werror).  So we grep stderr for any message
   3741       # that says an option was ignored or not supported.
   3742       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3743       #   icc: Command line warning: ignoring option '-M'; no argument required
   3744       # The diagnosis changed in icc 8.0:
   3745       #   icc: Command line remark: option '-MP' not supported
   3746       if (grep 'ignoring option' conftest.err ||
   3747           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3748         am_cv_CC_dependencies_compiler_type=$depmode
   3749         break
   3750       fi
   3751     fi
   3752   done
   3753 
   3754   cd ..
   3755   rm -rf conftest.dir
   3756 else
   3757   am_cv_CC_dependencies_compiler_type=none
   3758 fi
   3759 
   3760 fi
   3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3762 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3763 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3764 
   3765  if
   3766   test "x$enable_dependency_tracking" != xno \
   3767   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3768   am__fastdepCC_TRUE=
   3769   am__fastdepCC_FALSE='#'
   3770 else
   3771   am__fastdepCC_TRUE='#'
   3772   am__fastdepCC_FALSE=
   3773 fi
   3774 
   3775 
   3776    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3777 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3778 if ${ac_cv_prog_cc_c99+:} false; then :
   3779   $as_echo_n "(cached) " >&6
   3780 else
   3781   ac_cv_prog_cc_c99=no
   3782 ac_save_CC=$CC
   3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3784 /* end confdefs.h.  */
   3785 #include <stdarg.h>
   3786 #include <stdbool.h>
   3787 #include <stdlib.h>
   3788 #include <wchar.h>
   3789 #include <stdio.h>
   3790 
   3791 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3792 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3793 #define showlist(...) puts (#__VA_ARGS__)
   3794 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3795 static void
   3796 test_varargs_macros (void)
   3797 {
   3798   int x = 1234;
   3799   int y = 5678;
   3800   debug ("Flag");
   3801   debug ("X = %d\n", x);
   3802   showlist (The first, second, and third items.);
   3803   report (x>y, "x is %d but y is %d", x, y);
   3804 }
   3805 
   3806 // Check long long types.
   3807 #define BIG64 18446744073709551615ull
   3808 #define BIG32 4294967295ul
   3809 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3810 #if !BIG_OK
   3811   your preprocessor is broken;
   3812 #endif
   3813 #if BIG_OK
   3814 #else
   3815   your preprocessor is broken;
   3816 #endif
   3817 static long long int bignum = -9223372036854775807LL;
   3818 static unsigned long long int ubignum = BIG64;
   3819 
   3820 struct incomplete_array
   3821 {
   3822   int datasize;
   3823   double data[];
   3824 };
   3825 
   3826 struct named_init {
   3827   int number;
   3828   const wchar_t *name;
   3829   double average;
   3830 };
   3831 
   3832 typedef const char *ccp;
   3833 
   3834 static inline int
   3835 test_restrict (ccp restrict text)
   3836 {
   3837   // See if C++-style comments work.
   3838   // Iterate through items via the restricted pointer.
   3839   // Also check for declarations in for loops.
   3840   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3841     continue;
   3842   return 0;
   3843 }
   3844 
   3845 // Check varargs and va_copy.
   3846 static void
   3847 test_varargs (const char *format, ...)
   3848 {
   3849   va_list args;
   3850   va_start (args, format);
   3851   va_list args_copy;
   3852   va_copy (args_copy, args);
   3853 
   3854   const char *str;
   3855   int number;
   3856   float fnumber;
   3857 
   3858   while (*format)
   3859     {
   3860       switch (*format++)
   3861 	{
   3862 	case 's': // string
   3863 	  str = va_arg (args_copy, const char *);
   3864 	  break;
   3865 	case 'd': // int
   3866 	  number = va_arg (args_copy, int);
   3867 	  break;
   3868 	case 'f': // float
   3869 	  fnumber = va_arg (args_copy, double);
   3870 	  break;
   3871 	default:
   3872 	  break;
   3873 	}
   3874     }
   3875   va_end (args_copy);
   3876   va_end (args);
   3877 }
   3878 
   3879 int
   3880 main ()
   3881 {
   3882 
   3883   // Check bool.
   3884   _Bool success = false;
   3885 
   3886   // Check restrict.
   3887   if (test_restrict ("String literal") == 0)
   3888     success = true;
   3889   char *restrict newvar = "Another string";
   3890 
   3891   // Check varargs.
   3892   test_varargs ("s, d' f .", "string", 65, 34.234);
   3893   test_varargs_macros ();
   3894 
   3895   // Check flexible array members.
   3896   struct incomplete_array *ia =
   3897     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3898   ia->datasize = 10;
   3899   for (int i = 0; i < ia->datasize; ++i)
   3900     ia->data[i] = i * 1.234;
   3901 
   3902   // Check named initializers.
   3903   struct named_init ni = {
   3904     .number = 34,
   3905     .name = L"Test wide string",
   3906     .average = 543.34343,
   3907   };
   3908 
   3909   ni.number = 58;
   3910 
   3911   int dynamic_array[ni.number];
   3912   dynamic_array[ni.number - 1] = 543;
   3913 
   3914   // work around unused variable warnings
   3915   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3916 	  || dynamic_array[ni.number - 1] != 543);
   3917 
   3918   ;
   3919   return 0;
   3920 }
   3921 _ACEOF
   3922 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3923 do
   3924   CC="$ac_save_CC $ac_arg"
   3925   if ac_fn_c_try_compile "$LINENO"; then :
   3926   ac_cv_prog_cc_c99=$ac_arg
   3927 fi
   3928 rm -f core conftest.err conftest.$ac_objext
   3929   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3930 done
   3931 rm -f conftest.$ac_ext
   3932 CC=$ac_save_CC
   3933 
   3934 fi
   3935 # AC_CACHE_VAL
   3936 case "x$ac_cv_prog_cc_c99" in
   3937   x)
   3938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3939 $as_echo "none needed" >&6; } ;;
   3940   xno)
   3941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3942 $as_echo "unsupported" >&6; } ;;
   3943   *)
   3944     CC="$CC $ac_cv_prog_cc_c99"
   3945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3946 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3947 esac
   3948 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3949 
   3950 fi
   3951 
   3952 
   3953 
   3954 ac_ext=c
   3955 ac_cpp='$CPP $CPPFLAGS'
   3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3960 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3961 # On Suns, sometimes $CPP names a directory.
   3962 if test -n "$CPP" && test -d "$CPP"; then
   3963   CPP=
   3964 fi
   3965 if test -z "$CPP"; then
   3966   if ${ac_cv_prog_CPP+:} false; then :
   3967   $as_echo_n "(cached) " >&6
   3968 else
   3969       # Double quotes because CPP needs to be expanded
   3970     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3971     do
   3972       ac_preproc_ok=false
   3973 for ac_c_preproc_warn_flag in '' yes
   3974 do
   3975   # Use a header file that comes with gcc, so configuring glibc
   3976   # with a fresh cross-compiler works.
   3977   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3978   # <limits.h> exists even on freestanding compilers.
   3979   # On the NeXT, cc -E runs the code through the compiler's parser,
   3980   # not just through cpp. "Syntax error" is here to catch this case.
   3981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3982 /* end confdefs.h.  */
   3983 #ifdef __STDC__
   3984 # include <limits.h>
   3985 #else
   3986 # include <assert.h>
   3987 #endif
   3988 		     Syntax error
   3989 _ACEOF
   3990 if ac_fn_c_try_cpp "$LINENO"; then :
   3991 
   3992 else
   3993   # Broken: fails on valid input.
   3994 continue
   3995 fi
   3996 rm -f conftest.err conftest.i conftest.$ac_ext
   3997 
   3998   # OK, works on sane cases.  Now check whether nonexistent headers
   3999   # can be detected and how.
   4000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4001 /* end confdefs.h.  */
   4002 #include <ac_nonexistent.h>
   4003 _ACEOF
   4004 if ac_fn_c_try_cpp "$LINENO"; then :
   4005   # Broken: success on invalid input.
   4006 continue
   4007 else
   4008   # Passes both tests.
   4009 ac_preproc_ok=:
   4010 break
   4011 fi
   4012 rm -f conftest.err conftest.i conftest.$ac_ext
   4013 
   4014 done
   4015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4016 rm -f conftest.i conftest.err conftest.$ac_ext
   4017 if $ac_preproc_ok; then :
   4018   break
   4019 fi
   4020 
   4021     done
   4022     ac_cv_prog_CPP=$CPP
   4023 
   4024 fi
   4025   CPP=$ac_cv_prog_CPP
   4026 else
   4027   ac_cv_prog_CPP=$CPP
   4028 fi
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4030 $as_echo "$CPP" >&6; }
   4031 ac_preproc_ok=false
   4032 for ac_c_preproc_warn_flag in '' yes
   4033 do
   4034   # Use a header file that comes with gcc, so configuring glibc
   4035   # with a fresh cross-compiler works.
   4036   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4037   # <limits.h> exists even on freestanding compilers.
   4038   # On the NeXT, cc -E runs the code through the compiler's parser,
   4039   # not just through cpp. "Syntax error" is here to catch this case.
   4040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4041 /* end confdefs.h.  */
   4042 #ifdef __STDC__
   4043 # include <limits.h>
   4044 #else
   4045 # include <assert.h>
   4046 #endif
   4047 		     Syntax error
   4048 _ACEOF
   4049 if ac_fn_c_try_cpp "$LINENO"; then :
   4050 
   4051 else
   4052   # Broken: fails on valid input.
   4053 continue
   4054 fi
   4055 rm -f conftest.err conftest.i conftest.$ac_ext
   4056 
   4057   # OK, works on sane cases.  Now check whether nonexistent headers
   4058   # can be detected and how.
   4059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4060 /* end confdefs.h.  */
   4061 #include <ac_nonexistent.h>
   4062 _ACEOF
   4063 if ac_fn_c_try_cpp "$LINENO"; then :
   4064   # Broken: success on invalid input.
   4065 continue
   4066 else
   4067   # Passes both tests.
   4068 ac_preproc_ok=:
   4069 break
   4070 fi
   4071 rm -f conftest.err conftest.i conftest.$ac_ext
   4072 
   4073 done
   4074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4075 rm -f conftest.i conftest.err conftest.$ac_ext
   4076 if $ac_preproc_ok; then :
   4077 
   4078 else
   4079   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4081 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4082 See \`config.log' for more details" "$LINENO" 5; }
   4083 fi
   4084 
   4085 ac_ext=c
   4086 ac_cpp='$CPP $CPPFLAGS'
   4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4090 
   4091 
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4093 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4094 if ${ac_cv_path_GREP+:} false; then :
   4095   $as_echo_n "(cached) " >&6
   4096 else
   4097   if test -z "$GREP"; then
   4098   ac_path_GREP_found=false
   4099   # Loop through the user's path and test for each of PROGNAME-LIST
   4100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4101 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4102 do
   4103   IFS=$as_save_IFS
   4104   test -z "$as_dir" && as_dir=.
   4105     for ac_prog in grep ggrep; do
   4106     for ac_exec_ext in '' $ac_executable_extensions; do
   4107       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4108       as_fn_executable_p "$ac_path_GREP" || continue
   4109 # Check for GNU ac_path_GREP and select it if it is found.
   4110   # Check for GNU $ac_path_GREP
   4111 case `"$ac_path_GREP" --version 2>&1` in
   4112 *GNU*)
   4113   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4114 *)
   4115   ac_count=0
   4116   $as_echo_n 0123456789 >"conftest.in"
   4117   while :
   4118   do
   4119     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4120     mv "conftest.tmp" "conftest.in"
   4121     cp "conftest.in" "conftest.nl"
   4122     $as_echo 'GREP' >> "conftest.nl"
   4123     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4124     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4125     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4126     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4127       # Best one so far, save it but keep looking for a better one
   4128       ac_cv_path_GREP="$ac_path_GREP"
   4129       ac_path_GREP_max=$ac_count
   4130     fi
   4131     # 10*(2^10) chars as input seems more than enough
   4132     test $ac_count -gt 10 && break
   4133   done
   4134   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4135 esac
   4136 
   4137       $ac_path_GREP_found && break 3
   4138     done
   4139   done
   4140   done
   4141 IFS=$as_save_IFS
   4142   if test -z "$ac_cv_path_GREP"; then
   4143     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4144   fi
   4145 else
   4146   ac_cv_path_GREP=$GREP
   4147 fi
   4148 
   4149 fi
   4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4151 $as_echo "$ac_cv_path_GREP" >&6; }
   4152  GREP="$ac_cv_path_GREP"
   4153 
   4154 
   4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4156 $as_echo_n "checking for egrep... " >&6; }
   4157 if ${ac_cv_path_EGREP+:} false; then :
   4158   $as_echo_n "(cached) " >&6
   4159 else
   4160   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4161    then ac_cv_path_EGREP="$GREP -E"
   4162    else
   4163      if test -z "$EGREP"; then
   4164   ac_path_EGREP_found=false
   4165   # Loop through the user's path and test for each of PROGNAME-LIST
   4166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4167 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4168 do
   4169   IFS=$as_save_IFS
   4170   test -z "$as_dir" && as_dir=.
   4171     for ac_prog in egrep; do
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4174       as_fn_executable_p "$ac_path_EGREP" || continue
   4175 # Check for GNU ac_path_EGREP and select it if it is found.
   4176   # Check for GNU $ac_path_EGREP
   4177 case `"$ac_path_EGREP" --version 2>&1` in
   4178 *GNU*)
   4179   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4180 *)
   4181   ac_count=0
   4182   $as_echo_n 0123456789 >"conftest.in"
   4183   while :
   4184   do
   4185     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4186     mv "conftest.tmp" "conftest.in"
   4187     cp "conftest.in" "conftest.nl"
   4188     $as_echo 'EGREP' >> "conftest.nl"
   4189     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4190     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4191     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4192     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4193       # Best one so far, save it but keep looking for a better one
   4194       ac_cv_path_EGREP="$ac_path_EGREP"
   4195       ac_path_EGREP_max=$ac_count
   4196     fi
   4197     # 10*(2^10) chars as input seems more than enough
   4198     test $ac_count -gt 10 && break
   4199   done
   4200   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4201 esac
   4202 
   4203       $ac_path_EGREP_found && break 3
   4204     done
   4205   done
   4206   done
   4207 IFS=$as_save_IFS
   4208   if test -z "$ac_cv_path_EGREP"; then
   4209     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4210   fi
   4211 else
   4212   ac_cv_path_EGREP=$EGREP
   4213 fi
   4214 
   4215    fi
   4216 fi
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4218 $as_echo "$ac_cv_path_EGREP" >&6; }
   4219  EGREP="$ac_cv_path_EGREP"
   4220 
   4221 
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4223 $as_echo_n "checking for ANSI C header files... " >&6; }
   4224 if ${ac_cv_header_stdc+:} false; then :
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <stdlib.h>
   4230 #include <stdarg.h>
   4231 #include <string.h>
   4232 #include <float.h>
   4233 
   4234 int
   4235 main ()
   4236 {
   4237 
   4238   ;
   4239   return 0;
   4240 }
   4241 _ACEOF
   4242 if ac_fn_c_try_compile "$LINENO"; then :
   4243   ac_cv_header_stdc=yes
   4244 else
   4245   ac_cv_header_stdc=no
   4246 fi
   4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4248 
   4249 if test $ac_cv_header_stdc = yes; then
   4250   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4252 /* end confdefs.h.  */
   4253 #include <string.h>
   4254 
   4255 _ACEOF
   4256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4257   $EGREP "memchr" >/dev/null 2>&1; then :
   4258 
   4259 else
   4260   ac_cv_header_stdc=no
   4261 fi
   4262 rm -f conftest*
   4263 
   4264 fi
   4265 
   4266 if test $ac_cv_header_stdc = yes; then
   4267   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4269 /* end confdefs.h.  */
   4270 #include <stdlib.h>
   4271 
   4272 _ACEOF
   4273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4274   $EGREP "free" >/dev/null 2>&1; then :
   4275 
   4276 else
   4277   ac_cv_header_stdc=no
   4278 fi
   4279 rm -f conftest*
   4280 
   4281 fi
   4282 
   4283 if test $ac_cv_header_stdc = yes; then
   4284   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4285   if test "$cross_compiling" = yes; then :
   4286   :
   4287 else
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 #include <ctype.h>
   4291 #include <stdlib.h>
   4292 #if ((' ' & 0x0FF) == 0x020)
   4293 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4294 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4295 #else
   4296 # define ISLOWER(c) \
   4297 		   (('a' <= (c) && (c) <= 'i') \
   4298 		     || ('j' <= (c) && (c) <= 'r') \
   4299 		     || ('s' <= (c) && (c) <= 'z'))
   4300 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4301 #endif
   4302 
   4303 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4304 int
   4305 main ()
   4306 {
   4307   int i;
   4308   for (i = 0; i < 256; i++)
   4309     if (XOR (islower (i), ISLOWER (i))
   4310 	|| toupper (i) != TOUPPER (i))
   4311       return 2;
   4312   return 0;
   4313 }
   4314 _ACEOF
   4315 if ac_fn_c_try_run "$LINENO"; then :
   4316 
   4317 else
   4318   ac_cv_header_stdc=no
   4319 fi
   4320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4321   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4322 fi
   4323 
   4324 fi
   4325 fi
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4327 $as_echo "$ac_cv_header_stdc" >&6; }
   4328 if test $ac_cv_header_stdc = yes; then
   4329 
   4330 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4331 
   4332 fi
   4333 
   4334 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4335 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4336 		  inttypes.h stdint.h unistd.h
   4337 do :
   4338   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4340 "
   4341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4342   cat >>confdefs.h <<_ACEOF
   4343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4344 _ACEOF
   4345 
   4346 fi
   4347 
   4348 done
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4356 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4357   CLANGCC="yes"
   4358 else
   4359   CLANGCC="no"
   4360 fi
   4361 
   4362 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4363 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4364   INTELCC="yes"
   4365 else
   4366   INTELCC="no"
   4367 fi
   4368 
   4369 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4370 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4371   SUNCC="yes"
   4372 else
   4373   SUNCC="no"
   4374 fi
   4375 
   4376 
   4377 
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4385 	if test -n "$ac_tool_prefix"; then
   4386   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4387 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4389 $as_echo_n "checking for $ac_word... " >&6; }
   4390 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4391   $as_echo_n "(cached) " >&6
   4392 else
   4393   case $PKG_CONFIG in
   4394   [\\/]* | ?:[\\/]*)
   4395   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4396   ;;
   4397   *)
   4398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4399 for as_dir in $PATH
   4400 do
   4401   IFS=$as_save_IFS
   4402   test -z "$as_dir" && as_dir=.
   4403     for ac_exec_ext in '' $ac_executable_extensions; do
   4404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4405     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4407     break 2
   4408   fi
   4409 done
   4410   done
   4411 IFS=$as_save_IFS
   4412 
   4413   ;;
   4414 esac
   4415 fi
   4416 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4417 if test -n "$PKG_CONFIG"; then
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4419 $as_echo "$PKG_CONFIG" >&6; }
   4420 else
   4421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4422 $as_echo "no" >&6; }
   4423 fi
   4424 
   4425 
   4426 fi
   4427 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4428   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4429   # Extract the first word of "pkg-config", so it can be a program name with args.
   4430 set dummy pkg-config; ac_word=$2
   4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4432 $as_echo_n "checking for $ac_word... " >&6; }
   4433 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4434   $as_echo_n "(cached) " >&6
   4435 else
   4436   case $ac_pt_PKG_CONFIG in
   4437   [\\/]* | ?:[\\/]*)
   4438   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4439   ;;
   4440   *)
   4441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4442 for as_dir in $PATH
   4443 do
   4444   IFS=$as_save_IFS
   4445   test -z "$as_dir" && as_dir=.
   4446     for ac_exec_ext in '' $ac_executable_extensions; do
   4447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4448     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4450     break 2
   4451   fi
   4452 done
   4453   done
   4454 IFS=$as_save_IFS
   4455 
   4456   ;;
   4457 esac
   4458 fi
   4459 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4460 if test -n "$ac_pt_PKG_CONFIG"; then
   4461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4462 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4463 else
   4464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4465 $as_echo "no" >&6; }
   4466 fi
   4467 
   4468   if test "x$ac_pt_PKG_CONFIG" = x; then
   4469     PKG_CONFIG=""
   4470   else
   4471     case $cross_compiling:$ac_tool_warned in
   4472 yes:)
   4473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4475 ac_tool_warned=yes ;;
   4476 esac
   4477     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4478   fi
   4479 else
   4480   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4481 fi
   4482 
   4483 fi
   4484 if test -n "$PKG_CONFIG"; then
   4485 	_pkg_min_version=0.9.0
   4486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4487 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4488 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4490 $as_echo "yes" >&6; }
   4491 	else
   4492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4493 $as_echo "no" >&6; }
   4494 		PKG_CONFIG=""
   4495 	fi
   4496 fi
   4497 # Make sure we can run config.sub.
   4498 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4499   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4500 
   4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4502 $as_echo_n "checking build system type... " >&6; }
   4503 if ${ac_cv_build+:} false; then :
   4504   $as_echo_n "(cached) " >&6
   4505 else
   4506   ac_build_alias=$build_alias
   4507 test "x$ac_build_alias" = x &&
   4508   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4509 test "x$ac_build_alias" = x &&
   4510   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4512   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4513 
   4514 fi
   4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4516 $as_echo "$ac_cv_build" >&6; }
   4517 case $ac_cv_build in
   4518 *-*-*) ;;
   4519 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4520 esac
   4521 build=$ac_cv_build
   4522 ac_save_IFS=$IFS; IFS='-'
   4523 set x $ac_cv_build
   4524 shift
   4525 build_cpu=$1
   4526 build_vendor=$2
   4527 shift; shift
   4528 # Remember, the first character of IFS is used to create $*,
   4529 # except with old shells:
   4530 build_os=$*
   4531 IFS=$ac_save_IFS
   4532 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4533 
   4534 
   4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4536 $as_echo_n "checking host system type... " >&6; }
   4537 if ${ac_cv_host+:} false; then :
   4538   $as_echo_n "(cached) " >&6
   4539 else
   4540   if test "x$host_alias" = x; then
   4541   ac_cv_host=$ac_cv_build
   4542 else
   4543   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4544     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4545 fi
   4546 
   4547 fi
   4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4549 $as_echo "$ac_cv_host" >&6; }
   4550 case $ac_cv_host in
   4551 *-*-*) ;;
   4552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4553 esac
   4554 host=$ac_cv_host
   4555 ac_save_IFS=$IFS; IFS='-'
   4556 set x $ac_cv_host
   4557 shift
   4558 host_cpu=$1
   4559 host_vendor=$2
   4560 shift; shift
   4561 # Remember, the first character of IFS is used to create $*,
   4562 # except with old shells:
   4563 host_os=$*
   4564 IFS=$ac_save_IFS
   4565 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4566 
   4567 
   4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4569 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4570 if ${ac_cv_path_SED+:} false; then :
   4571   $as_echo_n "(cached) " >&6
   4572 else
   4573             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4574      for ac_i in 1 2 3 4 5 6 7; do
   4575        ac_script="$ac_script$as_nl$ac_script"
   4576      done
   4577      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4578      { ac_script=; unset ac_script;}
   4579      if test -z "$SED"; then
   4580   ac_path_SED_found=false
   4581   # Loop through the user's path and test for each of PROGNAME-LIST
   4582   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4583 for as_dir in $PATH
   4584 do
   4585   IFS=$as_save_IFS
   4586   test -z "$as_dir" && as_dir=.
   4587     for ac_prog in sed gsed; do
   4588     for ac_exec_ext in '' $ac_executable_extensions; do
   4589       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4590       as_fn_executable_p "$ac_path_SED" || continue
   4591 # Check for GNU ac_path_SED and select it if it is found.
   4592   # Check for GNU $ac_path_SED
   4593 case `"$ac_path_SED" --version 2>&1` in
   4594 *GNU*)
   4595   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4596 *)
   4597   ac_count=0
   4598   $as_echo_n 0123456789 >"conftest.in"
   4599   while :
   4600   do
   4601     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4602     mv "conftest.tmp" "conftest.in"
   4603     cp "conftest.in" "conftest.nl"
   4604     $as_echo '' >> "conftest.nl"
   4605     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4606     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4607     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4608     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4609       # Best one so far, save it but keep looking for a better one
   4610       ac_cv_path_SED="$ac_path_SED"
   4611       ac_path_SED_max=$ac_count
   4612     fi
   4613     # 10*(2^10) chars as input seems more than enough
   4614     test $ac_count -gt 10 && break
   4615   done
   4616   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4617 esac
   4618 
   4619       $ac_path_SED_found && break 3
   4620     done
   4621   done
   4622   done
   4623 IFS=$as_save_IFS
   4624   if test -z "$ac_cv_path_SED"; then
   4625     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4626   fi
   4627 else
   4628   ac_cv_path_SED=$SED
   4629 fi
   4630 
   4631 fi
   4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4633 $as_echo "$ac_cv_path_SED" >&6; }
   4634  SED="$ac_cv_path_SED"
   4635   rm -f conftest.sed
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 # Check whether --enable-selective-werror was given.
   4643 if test "${enable_selective_werror+set}" = set; then :
   4644   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4645 else
   4646   SELECTIVE_WERROR=yes
   4647 fi
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4654 if test "x$SUNCC" = "xyes"; then
   4655     BASE_CFLAGS="-v"
   4656 else
   4657     BASE_CFLAGS=""
   4658 fi
   4659 
   4660 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 xorg_testset_save_CFLAGS="$CFLAGS"
   4675 
   4676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4681   $as_echo_n "(cached) " >&6
   4682 else
   4683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4684 /* end confdefs.h.  */
   4685 int i;
   4686 _ACEOF
   4687 if ac_fn_c_try_compile "$LINENO"; then :
   4688   xorg_cv_cc_flag_unknown_warning_option=yes
   4689 else
   4690   xorg_cv_cc_flag_unknown_warning_option=no
   4691 fi
   4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4693 fi
   4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4697 	CFLAGS="$xorg_testset_save_CFLAGS"
   4698 fi
   4699 
   4700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4703 	fi
   4704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4708   $as_echo_n "(cached) " >&6
   4709 else
   4710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4711 /* end confdefs.h.  */
   4712 int i;
   4713 _ACEOF
   4714 if ac_fn_c_try_compile "$LINENO"; then :
   4715   xorg_cv_cc_flag_unused_command_line_argument=yes
   4716 else
   4717   xorg_cv_cc_flag_unused_command_line_argument=no
   4718 fi
   4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4720 fi
   4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4724 	CFLAGS="$xorg_testset_save_CFLAGS"
   4725 fi
   4726 
   4727 found="no"
   4728 
   4729 	if test $found = "no" ; then
   4730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4732 		fi
   4733 
   4734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4736 		fi
   4737 
   4738 		CFLAGS="$CFLAGS -Wall"
   4739 
   4740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4741 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4742 		cacheid=xorg_cv_cc_flag__Wall
   4743 		if eval \${$cacheid+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4747 /* end confdefs.h.  */
   4748 int i;
   4749 int
   4750 main ()
   4751 {
   4752 
   4753   ;
   4754   return 0;
   4755 }
   4756 _ACEOF
   4757 if ac_fn_c_try_link "$LINENO"; then :
   4758   eval $cacheid=yes
   4759 else
   4760   eval $cacheid=no
   4761 fi
   4762 rm -f core conftest.err conftest.$ac_objext \
   4763     conftest$ac_exeext conftest.$ac_ext
   4764 fi
   4765 
   4766 
   4767 		CFLAGS="$xorg_testset_save_CFLAGS"
   4768 
   4769 		eval supported=\$$cacheid
   4770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4771 $as_echo "$supported" >&6; }
   4772 		if test "$supported" = "yes" ; then
   4773 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4774 			found="yes"
   4775 		fi
   4776 	fi
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 xorg_testset_save_CFLAGS="$CFLAGS"
   4793 
   4794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4799   $as_echo_n "(cached) " >&6
   4800 else
   4801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4802 /* end confdefs.h.  */
   4803 int i;
   4804 _ACEOF
   4805 if ac_fn_c_try_compile "$LINENO"; then :
   4806   xorg_cv_cc_flag_unknown_warning_option=yes
   4807 else
   4808   xorg_cv_cc_flag_unknown_warning_option=no
   4809 fi
   4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4811 fi
   4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4815 	CFLAGS="$xorg_testset_save_CFLAGS"
   4816 fi
   4817 
   4818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4821 	fi
   4822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829 /* end confdefs.h.  */
   4830 int i;
   4831 _ACEOF
   4832 if ac_fn_c_try_compile "$LINENO"; then :
   4833   xorg_cv_cc_flag_unused_command_line_argument=yes
   4834 else
   4835   xorg_cv_cc_flag_unused_command_line_argument=no
   4836 fi
   4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4838 fi
   4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4842 	CFLAGS="$xorg_testset_save_CFLAGS"
   4843 fi
   4844 
   4845 found="no"
   4846 
   4847 	if test $found = "no" ; then
   4848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4850 		fi
   4851 
   4852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4854 		fi
   4855 
   4856 		CFLAGS="$CFLAGS -Wpointer-arith"
   4857 
   4858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4859 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4860 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4861 		if eval \${$cacheid+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865 /* end confdefs.h.  */
   4866 int i;
   4867 int
   4868 main ()
   4869 {
   4870 
   4871   ;
   4872   return 0;
   4873 }
   4874 _ACEOF
   4875 if ac_fn_c_try_link "$LINENO"; then :
   4876   eval $cacheid=yes
   4877 else
   4878   eval $cacheid=no
   4879 fi
   4880 rm -f core conftest.err conftest.$ac_objext \
   4881     conftest$ac_exeext conftest.$ac_ext
   4882 fi
   4883 
   4884 
   4885 		CFLAGS="$xorg_testset_save_CFLAGS"
   4886 
   4887 		eval supported=\$$cacheid
   4888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4889 $as_echo "$supported" >&6; }
   4890 		if test "$supported" = "yes" ; then
   4891 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4892 			found="yes"
   4893 		fi
   4894 	fi
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 xorg_testset_save_CFLAGS="$CFLAGS"
   4911 
   4912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4917   $as_echo_n "(cached) " >&6
   4918 else
   4919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4920 /* end confdefs.h.  */
   4921 int i;
   4922 _ACEOF
   4923 if ac_fn_c_try_compile "$LINENO"; then :
   4924   xorg_cv_cc_flag_unknown_warning_option=yes
   4925 else
   4926   xorg_cv_cc_flag_unknown_warning_option=no
   4927 fi
   4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4929 fi
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4933 	CFLAGS="$xorg_testset_save_CFLAGS"
   4934 fi
   4935 
   4936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4939 	fi
   4940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4947 /* end confdefs.h.  */
   4948 int i;
   4949 _ACEOF
   4950 if ac_fn_c_try_compile "$LINENO"; then :
   4951   xorg_cv_cc_flag_unused_command_line_argument=yes
   4952 else
   4953   xorg_cv_cc_flag_unused_command_line_argument=no
   4954 fi
   4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4956 fi
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4960 	CFLAGS="$xorg_testset_save_CFLAGS"
   4961 fi
   4962 
   4963 found="no"
   4964 
   4965 	if test $found = "no" ; then
   4966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4968 		fi
   4969 
   4970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4972 		fi
   4973 
   4974 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4975 
   4976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4977 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4978 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4979 		if eval \${$cacheid+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 int i;
   4985 int
   4986 main ()
   4987 {
   4988 
   4989   ;
   4990   return 0;
   4991 }
   4992 _ACEOF
   4993 if ac_fn_c_try_link "$LINENO"; then :
   4994   eval $cacheid=yes
   4995 else
   4996   eval $cacheid=no
   4997 fi
   4998 rm -f core conftest.err conftest.$ac_objext \
   4999     conftest$ac_exeext conftest.$ac_ext
   5000 fi
   5001 
   5002 
   5003 		CFLAGS="$xorg_testset_save_CFLAGS"
   5004 
   5005 		eval supported=\$$cacheid
   5006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5007 $as_echo "$supported" >&6; }
   5008 		if test "$supported" = "yes" ; then
   5009 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5010 			found="yes"
   5011 		fi
   5012 	fi
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 xorg_testset_save_CFLAGS="$CFLAGS"
   5029 
   5030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5035   $as_echo_n "(cached) " >&6
   5036 else
   5037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5038 /* end confdefs.h.  */
   5039 int i;
   5040 _ACEOF
   5041 if ac_fn_c_try_compile "$LINENO"; then :
   5042   xorg_cv_cc_flag_unknown_warning_option=yes
   5043 else
   5044   xorg_cv_cc_flag_unknown_warning_option=no
   5045 fi
   5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5047 fi
   5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5051 	CFLAGS="$xorg_testset_save_CFLAGS"
   5052 fi
   5053 
   5054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	fi
   5058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5062   $as_echo_n "(cached) " >&6
   5063 else
   5064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5065 /* end confdefs.h.  */
   5066 int i;
   5067 _ACEOF
   5068 if ac_fn_c_try_compile "$LINENO"; then :
   5069   xorg_cv_cc_flag_unused_command_line_argument=yes
   5070 else
   5071   xorg_cv_cc_flag_unused_command_line_argument=no
   5072 fi
   5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5074 fi
   5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5078 	CFLAGS="$xorg_testset_save_CFLAGS"
   5079 fi
   5080 
   5081 found="no"
   5082 
   5083 	if test $found = "no" ; then
   5084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5086 		fi
   5087 
   5088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5090 		fi
   5091 
   5092 		CFLAGS="$CFLAGS -Wformat=2"
   5093 
   5094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5095 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5096 		cacheid=xorg_cv_cc_flag__Wformat_2
   5097 		if eval \${$cacheid+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 int i;
   5103 int
   5104 main ()
   5105 {
   5106 
   5107   ;
   5108   return 0;
   5109 }
   5110 _ACEOF
   5111 if ac_fn_c_try_link "$LINENO"; then :
   5112   eval $cacheid=yes
   5113 else
   5114   eval $cacheid=no
   5115 fi
   5116 rm -f core conftest.err conftest.$ac_objext \
   5117     conftest$ac_exeext conftest.$ac_ext
   5118 fi
   5119 
   5120 
   5121 		CFLAGS="$xorg_testset_save_CFLAGS"
   5122 
   5123 		eval supported=\$$cacheid
   5124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5125 $as_echo "$supported" >&6; }
   5126 		if test "$supported" = "yes" ; then
   5127 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5128 			found="yes"
   5129 		fi
   5130 	fi
   5131 
   5132 	if test $found = "no" ; then
   5133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5135 		fi
   5136 
   5137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5139 		fi
   5140 
   5141 		CFLAGS="$CFLAGS -Wformat"
   5142 
   5143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5144 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5145 		cacheid=xorg_cv_cc_flag__Wformat
   5146 		if eval \${$cacheid+:} false; then :
   5147   $as_echo_n "(cached) " >&6
   5148 else
   5149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 int
   5153 main ()
   5154 {
   5155 
   5156   ;
   5157   return 0;
   5158 }
   5159 _ACEOF
   5160 if ac_fn_c_try_link "$LINENO"; then :
   5161   eval $cacheid=yes
   5162 else
   5163   eval $cacheid=no
   5164 fi
   5165 rm -f core conftest.err conftest.$ac_objext \
   5166     conftest$ac_exeext conftest.$ac_ext
   5167 fi
   5168 
   5169 
   5170 		CFLAGS="$xorg_testset_save_CFLAGS"
   5171 
   5172 		eval supported=\$$cacheid
   5173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5174 $as_echo "$supported" >&6; }
   5175 		if test "$supported" = "yes" ; then
   5176 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5177 			found="yes"
   5178 		fi
   5179 	fi
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 xorg_testset_save_CFLAGS="$CFLAGS"
   5198 
   5199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 int i;
   5209 _ACEOF
   5210 if ac_fn_c_try_compile "$LINENO"; then :
   5211   xorg_cv_cc_flag_unknown_warning_option=yes
   5212 else
   5213   xorg_cv_cc_flag_unknown_warning_option=no
   5214 fi
   5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5216 fi
   5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5220 	CFLAGS="$xorg_testset_save_CFLAGS"
   5221 fi
   5222 
   5223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5226 	fi
   5227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5231   $as_echo_n "(cached) " >&6
   5232 else
   5233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5234 /* end confdefs.h.  */
   5235 int i;
   5236 _ACEOF
   5237 if ac_fn_c_try_compile "$LINENO"; then :
   5238   xorg_cv_cc_flag_unused_command_line_argument=yes
   5239 else
   5240   xorg_cv_cc_flag_unused_command_line_argument=no
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5243 fi
   5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5247 	CFLAGS="$xorg_testset_save_CFLAGS"
   5248 fi
   5249 
   5250 found="no"
   5251 
   5252 	if test $found = "no" ; then
   5253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5255 		fi
   5256 
   5257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 		fi
   5260 
   5261 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5262 
   5263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5264 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5265 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5266 		if eval \${$cacheid+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 int i;
   5272 int
   5273 main ()
   5274 {
   5275 
   5276   ;
   5277   return 0;
   5278 }
   5279 _ACEOF
   5280 if ac_fn_c_try_link "$LINENO"; then :
   5281   eval $cacheid=yes
   5282 else
   5283   eval $cacheid=no
   5284 fi
   5285 rm -f core conftest.err conftest.$ac_objext \
   5286     conftest$ac_exeext conftest.$ac_ext
   5287 fi
   5288 
   5289 
   5290 		CFLAGS="$xorg_testset_save_CFLAGS"
   5291 
   5292 		eval supported=\$$cacheid
   5293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5294 $as_echo "$supported" >&6; }
   5295 		if test "$supported" = "yes" ; then
   5296 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5297 			found="yes"
   5298 		fi
   5299 	fi
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 xorg_testset_save_CFLAGS="$CFLAGS"
   5316 
   5317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5322   $as_echo_n "(cached) " >&6
   5323 else
   5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5325 /* end confdefs.h.  */
   5326 int i;
   5327 _ACEOF
   5328 if ac_fn_c_try_compile "$LINENO"; then :
   5329   xorg_cv_cc_flag_unknown_warning_option=yes
   5330 else
   5331   xorg_cv_cc_flag_unknown_warning_option=no
   5332 fi
   5333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5334 fi
   5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5338 	CFLAGS="$xorg_testset_save_CFLAGS"
   5339 fi
   5340 
   5341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 	fi
   5345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 int i;
   5354 _ACEOF
   5355 if ac_fn_c_try_compile "$LINENO"; then :
   5356   xorg_cv_cc_flag_unused_command_line_argument=yes
   5357 else
   5358   xorg_cv_cc_flag_unused_command_line_argument=no
   5359 fi
   5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5361 fi
   5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5365 	CFLAGS="$xorg_testset_save_CFLAGS"
   5366 fi
   5367 
   5368 found="no"
   5369 
   5370 	if test $found = "no" ; then
   5371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5373 		fi
   5374 
   5375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5377 		fi
   5378 
   5379 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5380 
   5381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5382 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5383 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5384 		if eval \${$cacheid+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 int
   5391 main ()
   5392 {
   5393 
   5394   ;
   5395   return 0;
   5396 }
   5397 _ACEOF
   5398 if ac_fn_c_try_link "$LINENO"; then :
   5399   eval $cacheid=yes
   5400 else
   5401   eval $cacheid=no
   5402 fi
   5403 rm -f core conftest.err conftest.$ac_objext \
   5404     conftest$ac_exeext conftest.$ac_ext
   5405 fi
   5406 
   5407 
   5408 		CFLAGS="$xorg_testset_save_CFLAGS"
   5409 
   5410 		eval supported=\$$cacheid
   5411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5412 $as_echo "$supported" >&6; }
   5413 		if test "$supported" = "yes" ; then
   5414 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5415 			found="yes"
   5416 		fi
   5417 	fi
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 xorg_testset_save_CFLAGS="$CFLAGS"
   5434 
   5435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5443 /* end confdefs.h.  */
   5444 int i;
   5445 _ACEOF
   5446 if ac_fn_c_try_compile "$LINENO"; then :
   5447   xorg_cv_cc_flag_unknown_warning_option=yes
   5448 else
   5449   xorg_cv_cc_flag_unknown_warning_option=no
   5450 fi
   5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5452 fi
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5456 	CFLAGS="$xorg_testset_save_CFLAGS"
   5457 fi
   5458 
   5459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 	fi
   5463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5470 /* end confdefs.h.  */
   5471 int i;
   5472 _ACEOF
   5473 if ac_fn_c_try_compile "$LINENO"; then :
   5474   xorg_cv_cc_flag_unused_command_line_argument=yes
   5475 else
   5476   xorg_cv_cc_flag_unused_command_line_argument=no
   5477 fi
   5478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5479 fi
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5483 	CFLAGS="$xorg_testset_save_CFLAGS"
   5484 fi
   5485 
   5486 found="no"
   5487 
   5488 	if test $found = "no" ; then
   5489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5491 		fi
   5492 
   5493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5495 		fi
   5496 
   5497 		CFLAGS="$CFLAGS -Wnested-externs"
   5498 
   5499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5500 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5501 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5502 		if eval \${$cacheid+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 int
   5509 main ()
   5510 {
   5511 
   5512   ;
   5513   return 0;
   5514 }
   5515 _ACEOF
   5516 if ac_fn_c_try_link "$LINENO"; then :
   5517   eval $cacheid=yes
   5518 else
   5519   eval $cacheid=no
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext \
   5522     conftest$ac_exeext conftest.$ac_ext
   5523 fi
   5524 
   5525 
   5526 		CFLAGS="$xorg_testset_save_CFLAGS"
   5527 
   5528 		eval supported=\$$cacheid
   5529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5530 $as_echo "$supported" >&6; }
   5531 		if test "$supported" = "yes" ; then
   5532 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5533 			found="yes"
   5534 		fi
   5535 	fi
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 xorg_testset_save_CFLAGS="$CFLAGS"
   5552 
   5553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5561 /* end confdefs.h.  */
   5562 int i;
   5563 _ACEOF
   5564 if ac_fn_c_try_compile "$LINENO"; then :
   5565   xorg_cv_cc_flag_unknown_warning_option=yes
   5566 else
   5567   xorg_cv_cc_flag_unknown_warning_option=no
   5568 fi
   5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5570 fi
   5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5574 	CFLAGS="$xorg_testset_save_CFLAGS"
   5575 fi
   5576 
   5577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 	fi
   5581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5588 /* end confdefs.h.  */
   5589 int i;
   5590 _ACEOF
   5591 if ac_fn_c_try_compile "$LINENO"; then :
   5592   xorg_cv_cc_flag_unused_command_line_argument=yes
   5593 else
   5594   xorg_cv_cc_flag_unused_command_line_argument=no
   5595 fi
   5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5597 fi
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5601 	CFLAGS="$xorg_testset_save_CFLAGS"
   5602 fi
   5603 
   5604 found="no"
   5605 
   5606 	if test $found = "no" ; then
   5607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 		fi
   5610 
   5611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5613 		fi
   5614 
   5615 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5616 
   5617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5618 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5619 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5620 		if eval \${$cacheid+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5624 /* end confdefs.h.  */
   5625 int i;
   5626 int
   5627 main ()
   5628 {
   5629 
   5630   ;
   5631   return 0;
   5632 }
   5633 _ACEOF
   5634 if ac_fn_c_try_link "$LINENO"; then :
   5635   eval $cacheid=yes
   5636 else
   5637   eval $cacheid=no
   5638 fi
   5639 rm -f core conftest.err conftest.$ac_objext \
   5640     conftest$ac_exeext conftest.$ac_ext
   5641 fi
   5642 
   5643 
   5644 		CFLAGS="$xorg_testset_save_CFLAGS"
   5645 
   5646 		eval supported=\$$cacheid
   5647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5648 $as_echo "$supported" >&6; }
   5649 		if test "$supported" = "yes" ; then
   5650 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5651 			found="yes"
   5652 		fi
   5653 	fi
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 xorg_testset_save_CFLAGS="$CFLAGS"
   5670 
   5671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5676   $as_echo_n "(cached) " >&6
   5677 else
   5678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5679 /* end confdefs.h.  */
   5680 int i;
   5681 _ACEOF
   5682 if ac_fn_c_try_compile "$LINENO"; then :
   5683   xorg_cv_cc_flag_unknown_warning_option=yes
   5684 else
   5685   xorg_cv_cc_flag_unknown_warning_option=no
   5686 fi
   5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5688 fi
   5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5692 	CFLAGS="$xorg_testset_save_CFLAGS"
   5693 fi
   5694 
   5695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 	fi
   5699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5703   $as_echo_n "(cached) " >&6
   5704 else
   5705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 _ACEOF
   5709 if ac_fn_c_try_compile "$LINENO"; then :
   5710   xorg_cv_cc_flag_unused_command_line_argument=yes
   5711 else
   5712   xorg_cv_cc_flag_unused_command_line_argument=no
   5713 fi
   5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5715 fi
   5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5719 	CFLAGS="$xorg_testset_save_CFLAGS"
   5720 fi
   5721 
   5722 found="no"
   5723 
   5724 	if test $found = "no" ; then
   5725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5727 		fi
   5728 
   5729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5731 		fi
   5732 
   5733 		CFLAGS="$CFLAGS -Wold-style-definition"
   5734 
   5735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5736 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5737 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5738 		if eval \${$cacheid+:} false; then :
   5739   $as_echo_n "(cached) " >&6
   5740 else
   5741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5742 /* end confdefs.h.  */
   5743 int i;
   5744 int
   5745 main ()
   5746 {
   5747 
   5748   ;
   5749   return 0;
   5750 }
   5751 _ACEOF
   5752 if ac_fn_c_try_link "$LINENO"; then :
   5753   eval $cacheid=yes
   5754 else
   5755   eval $cacheid=no
   5756 fi
   5757 rm -f core conftest.err conftest.$ac_objext \
   5758     conftest$ac_exeext conftest.$ac_ext
   5759 fi
   5760 
   5761 
   5762 		CFLAGS="$xorg_testset_save_CFLAGS"
   5763 
   5764 		eval supported=\$$cacheid
   5765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5766 $as_echo "$supported" >&6; }
   5767 		if test "$supported" = "yes" ; then
   5768 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5769 			found="yes"
   5770 		fi
   5771 	fi
   5772 
   5773 	if test $found = "no" ; then
   5774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5776 		fi
   5777 
   5778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5780 		fi
   5781 
   5782 		CFLAGS="$CFLAGS -fd"
   5783 
   5784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5785 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5786 		cacheid=xorg_cv_cc_flag__fd
   5787 		if eval \${$cacheid+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 int
   5794 main ()
   5795 {
   5796 
   5797   ;
   5798   return 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_link "$LINENO"; then :
   5802   eval $cacheid=yes
   5803 else
   5804   eval $cacheid=no
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext \
   5807     conftest$ac_exeext conftest.$ac_ext
   5808 fi
   5809 
   5810 
   5811 		CFLAGS="$xorg_testset_save_CFLAGS"
   5812 
   5813 		eval supported=\$$cacheid
   5814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5815 $as_echo "$supported" >&6; }
   5816 		if test "$supported" = "yes" ; then
   5817 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5818 			found="yes"
   5819 		fi
   5820 	fi
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 xorg_testset_save_CFLAGS="$CFLAGS"
   5837 
   5838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5841 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5842 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5846 /* end confdefs.h.  */
   5847 int i;
   5848 _ACEOF
   5849 if ac_fn_c_try_compile "$LINENO"; then :
   5850   xorg_cv_cc_flag_unknown_warning_option=yes
   5851 else
   5852   xorg_cv_cc_flag_unknown_warning_option=no
   5853 fi
   5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5855 fi
   5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5857 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5859 	CFLAGS="$xorg_testset_save_CFLAGS"
   5860 fi
   5861 
   5862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5865 	fi
   5866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5868 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5869 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5870   $as_echo_n "(cached) " >&6
   5871 else
   5872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5873 /* end confdefs.h.  */
   5874 int i;
   5875 _ACEOF
   5876 if ac_fn_c_try_compile "$LINENO"; then :
   5877   xorg_cv_cc_flag_unused_command_line_argument=yes
   5878 else
   5879   xorg_cv_cc_flag_unused_command_line_argument=no
   5880 fi
   5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5882 fi
   5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5884 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5885 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5886 	CFLAGS="$xorg_testset_save_CFLAGS"
   5887 fi
   5888 
   5889 found="no"
   5890 
   5891 	if test $found = "no" ; then
   5892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5894 		fi
   5895 
   5896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5898 		fi
   5899 
   5900 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5901 
   5902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5903 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5904 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5905 		if eval \${$cacheid+:} false; then :
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 int
   5912 main ()
   5913 {
   5914 
   5915   ;
   5916   return 0;
   5917 }
   5918 _ACEOF
   5919 if ac_fn_c_try_link "$LINENO"; then :
   5920   eval $cacheid=yes
   5921 else
   5922   eval $cacheid=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext \
   5925     conftest$ac_exeext conftest.$ac_ext
   5926 fi
   5927 
   5928 
   5929 		CFLAGS="$xorg_testset_save_CFLAGS"
   5930 
   5931 		eval supported=\$$cacheid
   5932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5933 $as_echo "$supported" >&6; }
   5934 		if test "$supported" = "yes" ; then
   5935 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5936 			found="yes"
   5937 		fi
   5938 	fi
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 # This chunk adds additional warnings that could catch undesired effects.
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 xorg_testset_save_CFLAGS="$CFLAGS"
   5959 
   5960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5963 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5964 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5965   $as_echo_n "(cached) " >&6
   5966 else
   5967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5968 /* end confdefs.h.  */
   5969 int i;
   5970 _ACEOF
   5971 if ac_fn_c_try_compile "$LINENO"; then :
   5972   xorg_cv_cc_flag_unknown_warning_option=yes
   5973 else
   5974   xorg_cv_cc_flag_unknown_warning_option=no
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5977 fi
   5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5979 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5981 	CFLAGS="$xorg_testset_save_CFLAGS"
   5982 fi
   5983 
   5984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5987 	fi
   5988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5990 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5991 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5992   $as_echo_n "(cached) " >&6
   5993 else
   5994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5995 /* end confdefs.h.  */
   5996 int i;
   5997 _ACEOF
   5998 if ac_fn_c_try_compile "$LINENO"; then :
   5999   xorg_cv_cc_flag_unused_command_line_argument=yes
   6000 else
   6001   xorg_cv_cc_flag_unused_command_line_argument=no
   6002 fi
   6003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6004 fi
   6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6006 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6008 	CFLAGS="$xorg_testset_save_CFLAGS"
   6009 fi
   6010 
   6011 found="no"
   6012 
   6013 	if test $found = "no" ; then
   6014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6016 		fi
   6017 
   6018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6020 		fi
   6021 
   6022 		CFLAGS="$CFLAGS -Wunused"
   6023 
   6024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6025 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6026 		cacheid=xorg_cv_cc_flag__Wunused
   6027 		if eval \${$cacheid+:} false; then :
   6028   $as_echo_n "(cached) " >&6
   6029 else
   6030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6031 /* end confdefs.h.  */
   6032 int i;
   6033 int
   6034 main ()
   6035 {
   6036 
   6037   ;
   6038   return 0;
   6039 }
   6040 _ACEOF
   6041 if ac_fn_c_try_link "$LINENO"; then :
   6042   eval $cacheid=yes
   6043 else
   6044   eval $cacheid=no
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext \
   6047     conftest$ac_exeext conftest.$ac_ext
   6048 fi
   6049 
   6050 
   6051 		CFLAGS="$xorg_testset_save_CFLAGS"
   6052 
   6053 		eval supported=\$$cacheid
   6054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6055 $as_echo "$supported" >&6; }
   6056 		if test "$supported" = "yes" ; then
   6057 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6058 			found="yes"
   6059 		fi
   6060 	fi
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 xorg_testset_save_CFLAGS="$CFLAGS"
   6077 
   6078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6081 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6082 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6083   $as_echo_n "(cached) " >&6
   6084 else
   6085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6086 /* end confdefs.h.  */
   6087 int i;
   6088 _ACEOF
   6089 if ac_fn_c_try_compile "$LINENO"; then :
   6090   xorg_cv_cc_flag_unknown_warning_option=yes
   6091 else
   6092   xorg_cv_cc_flag_unknown_warning_option=no
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6095 fi
   6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6097 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6099 	CFLAGS="$xorg_testset_save_CFLAGS"
   6100 fi
   6101 
   6102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 	fi
   6106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6108 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6109 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6110   $as_echo_n "(cached) " >&6
   6111 else
   6112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6113 /* end confdefs.h.  */
   6114 int i;
   6115 _ACEOF
   6116 if ac_fn_c_try_compile "$LINENO"; then :
   6117   xorg_cv_cc_flag_unused_command_line_argument=yes
   6118 else
   6119   xorg_cv_cc_flag_unused_command_line_argument=no
   6120 fi
   6121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6122 fi
   6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6124 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6126 	CFLAGS="$xorg_testset_save_CFLAGS"
   6127 fi
   6128 
   6129 found="no"
   6130 
   6131 	if test $found = "no" ; then
   6132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6134 		fi
   6135 
   6136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6138 		fi
   6139 
   6140 		CFLAGS="$CFLAGS -Wuninitialized"
   6141 
   6142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6143 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6144 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6145 		if eval \${$cacheid+:} false; then :
   6146   $as_echo_n "(cached) " >&6
   6147 else
   6148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 int
   6152 main ()
   6153 {
   6154 
   6155   ;
   6156   return 0;
   6157 }
   6158 _ACEOF
   6159 if ac_fn_c_try_link "$LINENO"; then :
   6160   eval $cacheid=yes
   6161 else
   6162   eval $cacheid=no
   6163 fi
   6164 rm -f core conftest.err conftest.$ac_objext \
   6165     conftest$ac_exeext conftest.$ac_ext
   6166 fi
   6167 
   6168 
   6169 		CFLAGS="$xorg_testset_save_CFLAGS"
   6170 
   6171 		eval supported=\$$cacheid
   6172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6173 $as_echo "$supported" >&6; }
   6174 		if test "$supported" = "yes" ; then
   6175 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6176 			found="yes"
   6177 		fi
   6178 	fi
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 xorg_testset_save_CFLAGS="$CFLAGS"
   6195 
   6196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6199 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6200 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6201   $as_echo_n "(cached) " >&6
   6202 else
   6203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6204 /* end confdefs.h.  */
   6205 int i;
   6206 _ACEOF
   6207 if ac_fn_c_try_compile "$LINENO"; then :
   6208   xorg_cv_cc_flag_unknown_warning_option=yes
   6209 else
   6210   xorg_cv_cc_flag_unknown_warning_option=no
   6211 fi
   6212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6213 fi
   6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6215 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6217 	CFLAGS="$xorg_testset_save_CFLAGS"
   6218 fi
   6219 
   6220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6223 	fi
   6224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6226 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6227 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6228   $as_echo_n "(cached) " >&6
   6229 else
   6230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6231 /* end confdefs.h.  */
   6232 int i;
   6233 _ACEOF
   6234 if ac_fn_c_try_compile "$LINENO"; then :
   6235   xorg_cv_cc_flag_unused_command_line_argument=yes
   6236 else
   6237   xorg_cv_cc_flag_unused_command_line_argument=no
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6240 fi
   6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6242 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6244 	CFLAGS="$xorg_testset_save_CFLAGS"
   6245 fi
   6246 
   6247 found="no"
   6248 
   6249 	if test $found = "no" ; then
   6250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6252 		fi
   6253 
   6254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6256 		fi
   6257 
   6258 		CFLAGS="$CFLAGS -Wshadow"
   6259 
   6260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6261 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6262 		cacheid=xorg_cv_cc_flag__Wshadow
   6263 		if eval \${$cacheid+:} false; then :
   6264   $as_echo_n "(cached) " >&6
   6265 else
   6266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 int
   6270 main ()
   6271 {
   6272 
   6273   ;
   6274   return 0;
   6275 }
   6276 _ACEOF
   6277 if ac_fn_c_try_link "$LINENO"; then :
   6278   eval $cacheid=yes
   6279 else
   6280   eval $cacheid=no
   6281 fi
   6282 rm -f core conftest.err conftest.$ac_objext \
   6283     conftest$ac_exeext conftest.$ac_ext
   6284 fi
   6285 
   6286 
   6287 		CFLAGS="$xorg_testset_save_CFLAGS"
   6288 
   6289 		eval supported=\$$cacheid
   6290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6291 $as_echo "$supported" >&6; }
   6292 		if test "$supported" = "yes" ; then
   6293 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6294 			found="yes"
   6295 		fi
   6296 	fi
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 xorg_testset_save_CFLAGS="$CFLAGS"
   6313 
   6314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6317 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6318 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6322 /* end confdefs.h.  */
   6323 int i;
   6324 _ACEOF
   6325 if ac_fn_c_try_compile "$LINENO"; then :
   6326   xorg_cv_cc_flag_unknown_warning_option=yes
   6327 else
   6328   xorg_cv_cc_flag_unknown_warning_option=no
   6329 fi
   6330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6331 fi
   6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6333 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6335 	CFLAGS="$xorg_testset_save_CFLAGS"
   6336 fi
   6337 
   6338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6341 	fi
   6342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6344 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6345 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6349 /* end confdefs.h.  */
   6350 int i;
   6351 _ACEOF
   6352 if ac_fn_c_try_compile "$LINENO"; then :
   6353   xorg_cv_cc_flag_unused_command_line_argument=yes
   6354 else
   6355   xorg_cv_cc_flag_unused_command_line_argument=no
   6356 fi
   6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6358 fi
   6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6360 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6362 	CFLAGS="$xorg_testset_save_CFLAGS"
   6363 fi
   6364 
   6365 found="no"
   6366 
   6367 	if test $found = "no" ; then
   6368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6370 		fi
   6371 
   6372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6374 		fi
   6375 
   6376 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6377 
   6378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6379 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6380 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6381 		if eval \${$cacheid+:} false; then :
   6382   $as_echo_n "(cached) " >&6
   6383 else
   6384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6385 /* end confdefs.h.  */
   6386 int i;
   6387 int
   6388 main ()
   6389 {
   6390 
   6391   ;
   6392   return 0;
   6393 }
   6394 _ACEOF
   6395 if ac_fn_c_try_link "$LINENO"; then :
   6396   eval $cacheid=yes
   6397 else
   6398   eval $cacheid=no
   6399 fi
   6400 rm -f core conftest.err conftest.$ac_objext \
   6401     conftest$ac_exeext conftest.$ac_ext
   6402 fi
   6403 
   6404 
   6405 		CFLAGS="$xorg_testset_save_CFLAGS"
   6406 
   6407 		eval supported=\$$cacheid
   6408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6409 $as_echo "$supported" >&6; }
   6410 		if test "$supported" = "yes" ; then
   6411 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6412 			found="yes"
   6413 		fi
   6414 	fi
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 xorg_testset_save_CFLAGS="$CFLAGS"
   6431 
   6432 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6433 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6435 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6436 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6437   $as_echo_n "(cached) " >&6
   6438 else
   6439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6440 /* end confdefs.h.  */
   6441 int i;
   6442 _ACEOF
   6443 if ac_fn_c_try_compile "$LINENO"; then :
   6444   xorg_cv_cc_flag_unknown_warning_option=yes
   6445 else
   6446   xorg_cv_cc_flag_unknown_warning_option=no
   6447 fi
   6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6449 fi
   6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6451 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6453 	CFLAGS="$xorg_testset_save_CFLAGS"
   6454 fi
   6455 
   6456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6459 	fi
   6460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6462 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6463 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6464   $as_echo_n "(cached) " >&6
   6465 else
   6466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6467 /* end confdefs.h.  */
   6468 int i;
   6469 _ACEOF
   6470 if ac_fn_c_try_compile "$LINENO"; then :
   6471   xorg_cv_cc_flag_unused_command_line_argument=yes
   6472 else
   6473   xorg_cv_cc_flag_unused_command_line_argument=no
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6476 fi
   6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6478 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6480 	CFLAGS="$xorg_testset_save_CFLAGS"
   6481 fi
   6482 
   6483 found="no"
   6484 
   6485 	if test $found = "no" ; then
   6486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6488 		fi
   6489 
   6490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6492 		fi
   6493 
   6494 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6495 
   6496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6497 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6498 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6499 		if eval \${$cacheid+:} false; then :
   6500   $as_echo_n "(cached) " >&6
   6501 else
   6502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6503 /* end confdefs.h.  */
   6504 int i;
   6505 int
   6506 main ()
   6507 {
   6508 
   6509   ;
   6510   return 0;
   6511 }
   6512 _ACEOF
   6513 if ac_fn_c_try_link "$LINENO"; then :
   6514   eval $cacheid=yes
   6515 else
   6516   eval $cacheid=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext \
   6519     conftest$ac_exeext conftest.$ac_ext
   6520 fi
   6521 
   6522 
   6523 		CFLAGS="$xorg_testset_save_CFLAGS"
   6524 
   6525 		eval supported=\$$cacheid
   6526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6527 $as_echo "$supported" >&6; }
   6528 		if test "$supported" = "yes" ; then
   6529 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6530 			found="yes"
   6531 		fi
   6532 	fi
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 xorg_testset_save_CFLAGS="$CFLAGS"
   6549 
   6550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6553 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6554 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6555   $as_echo_n "(cached) " >&6
   6556 else
   6557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6558 /* end confdefs.h.  */
   6559 int i;
   6560 _ACEOF
   6561 if ac_fn_c_try_compile "$LINENO"; then :
   6562   xorg_cv_cc_flag_unknown_warning_option=yes
   6563 else
   6564   xorg_cv_cc_flag_unknown_warning_option=no
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6567 fi
   6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6569 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6571 	CFLAGS="$xorg_testset_save_CFLAGS"
   6572 fi
   6573 
   6574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6577 	fi
   6578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6580 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6581 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6582   $as_echo_n "(cached) " >&6
   6583 else
   6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6585 /* end confdefs.h.  */
   6586 int i;
   6587 _ACEOF
   6588 if ac_fn_c_try_compile "$LINENO"; then :
   6589   xorg_cv_cc_flag_unused_command_line_argument=yes
   6590 else
   6591   xorg_cv_cc_flag_unused_command_line_argument=no
   6592 fi
   6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6594 fi
   6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6596 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6598 	CFLAGS="$xorg_testset_save_CFLAGS"
   6599 fi
   6600 
   6601 found="no"
   6602 
   6603 	if test $found = "no" ; then
   6604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6606 		fi
   6607 
   6608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6610 		fi
   6611 
   6612 		CFLAGS="$CFLAGS -Wredundant-decls"
   6613 
   6614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6615 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6616 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6617 		if eval \${$cacheid+:} false; then :
   6618   $as_echo_n "(cached) " >&6
   6619 else
   6620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6621 /* end confdefs.h.  */
   6622 int i;
   6623 int
   6624 main ()
   6625 {
   6626 
   6627   ;
   6628   return 0;
   6629 }
   6630 _ACEOF
   6631 if ac_fn_c_try_link "$LINENO"; then :
   6632   eval $cacheid=yes
   6633 else
   6634   eval $cacheid=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext \
   6637     conftest$ac_exeext conftest.$ac_ext
   6638 fi
   6639 
   6640 
   6641 		CFLAGS="$xorg_testset_save_CFLAGS"
   6642 
   6643 		eval supported=\$$cacheid
   6644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6645 $as_echo "$supported" >&6; }
   6646 		if test "$supported" = "yes" ; then
   6647 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6648 			found="yes"
   6649 		fi
   6650 	fi
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 xorg_testset_save_CFLAGS="$CFLAGS"
   6667 
   6668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6671 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6672 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6673   $as_echo_n "(cached) " >&6
   6674 else
   6675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6676 /* end confdefs.h.  */
   6677 int i;
   6678 _ACEOF
   6679 if ac_fn_c_try_compile "$LINENO"; then :
   6680   xorg_cv_cc_flag_unknown_warning_option=yes
   6681 else
   6682   xorg_cv_cc_flag_unknown_warning_option=no
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6685 fi
   6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6687 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6689 	CFLAGS="$xorg_testset_save_CFLAGS"
   6690 fi
   6691 
   6692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6695 	fi
   6696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6698 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6699 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6700   $as_echo_n "(cached) " >&6
   6701 else
   6702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 _ACEOF
   6706 if ac_fn_c_try_compile "$LINENO"; then :
   6707   xorg_cv_cc_flag_unused_command_line_argument=yes
   6708 else
   6709   xorg_cv_cc_flag_unused_command_line_argument=no
   6710 fi
   6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6712 fi
   6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6714 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6716 	CFLAGS="$xorg_testset_save_CFLAGS"
   6717 fi
   6718 
   6719 found="no"
   6720 
   6721 	if test $found = "no" ; then
   6722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6724 		fi
   6725 
   6726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6728 		fi
   6729 
   6730 		CFLAGS="$CFLAGS -Wlogical-op"
   6731 
   6732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6733 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6734 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6735 		if eval \${$cacheid+:} false; then :
   6736   $as_echo_n "(cached) " >&6
   6737 else
   6738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6739 /* end confdefs.h.  */
   6740 int i;
   6741 int
   6742 main ()
   6743 {
   6744 
   6745   ;
   6746   return 0;
   6747 }
   6748 _ACEOF
   6749 if ac_fn_c_try_link "$LINENO"; then :
   6750   eval $cacheid=yes
   6751 else
   6752   eval $cacheid=no
   6753 fi
   6754 rm -f core conftest.err conftest.$ac_objext \
   6755     conftest$ac_exeext conftest.$ac_ext
   6756 fi
   6757 
   6758 
   6759 		CFLAGS="$xorg_testset_save_CFLAGS"
   6760 
   6761 		eval supported=\$$cacheid
   6762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6763 $as_echo "$supported" >&6; }
   6764 		if test "$supported" = "yes" ; then
   6765 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6766 			found="yes"
   6767 		fi
   6768 	fi
   6769 
   6770 
   6771 
   6772 # These are currently disabled because they are noisy.  They will be enabled
   6773 # in the future once the codebase is sufficiently modernized to silence
   6774 # them.  For now, I don't want them to drown out the other warnings.
   6775 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6776 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6777 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6778 
   6779 # Turn some warnings into errors, so we don't accidently get successful builds
   6780 # when there are problems that should be fixed.
   6781 
   6782 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 xorg_testset_save_CFLAGS="$CFLAGS"
   6797 
   6798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6806 /* end confdefs.h.  */
   6807 int i;
   6808 _ACEOF
   6809 if ac_fn_c_try_compile "$LINENO"; then :
   6810   xorg_cv_cc_flag_unknown_warning_option=yes
   6811 else
   6812   xorg_cv_cc_flag_unknown_warning_option=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6815 fi
   6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 	fi
   6826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6830   $as_echo_n "(cached) " >&6
   6831 else
   6832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 _ACEOF
   6836 if ac_fn_c_try_compile "$LINENO"; then :
   6837   xorg_cv_cc_flag_unused_command_line_argument=yes
   6838 else
   6839   xorg_cv_cc_flag_unused_command_line_argument=no
   6840 fi
   6841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6842 fi
   6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6846 	CFLAGS="$xorg_testset_save_CFLAGS"
   6847 fi
   6848 
   6849 found="no"
   6850 
   6851 	if test $found = "no" ; then
   6852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6854 		fi
   6855 
   6856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6858 		fi
   6859 
   6860 		CFLAGS="$CFLAGS -Werror=implicit"
   6861 
   6862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6863 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6864 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6865 		if eval \${$cacheid+:} false; then :
   6866   $as_echo_n "(cached) " >&6
   6867 else
   6868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6869 /* end confdefs.h.  */
   6870 int i;
   6871 int
   6872 main ()
   6873 {
   6874 
   6875   ;
   6876   return 0;
   6877 }
   6878 _ACEOF
   6879 if ac_fn_c_try_link "$LINENO"; then :
   6880   eval $cacheid=yes
   6881 else
   6882   eval $cacheid=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext \
   6885     conftest$ac_exeext conftest.$ac_ext
   6886 fi
   6887 
   6888 
   6889 		CFLAGS="$xorg_testset_save_CFLAGS"
   6890 
   6891 		eval supported=\$$cacheid
   6892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6893 $as_echo "$supported" >&6; }
   6894 		if test "$supported" = "yes" ; then
   6895 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6896 			found="yes"
   6897 		fi
   6898 	fi
   6899 
   6900 	if test $found = "no" ; then
   6901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6903 		fi
   6904 
   6905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6907 		fi
   6908 
   6909 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6910 
   6911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6912 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6913 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6914 		if eval \${$cacheid+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 int
   6921 main ()
   6922 {
   6923 
   6924   ;
   6925   return 0;
   6926 }
   6927 _ACEOF
   6928 if ac_fn_c_try_link "$LINENO"; then :
   6929   eval $cacheid=yes
   6930 else
   6931   eval $cacheid=no
   6932 fi
   6933 rm -f core conftest.err conftest.$ac_objext \
   6934     conftest$ac_exeext conftest.$ac_ext
   6935 fi
   6936 
   6937 
   6938 		CFLAGS="$xorg_testset_save_CFLAGS"
   6939 
   6940 		eval supported=\$$cacheid
   6941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6942 $as_echo "$supported" >&6; }
   6943 		if test "$supported" = "yes" ; then
   6944 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6945 			found="yes"
   6946 		fi
   6947 	fi
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 xorg_testset_save_CFLAGS="$CFLAGS"
   6964 
   6965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6970   $as_echo_n "(cached) " >&6
   6971 else
   6972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973 /* end confdefs.h.  */
   6974 int i;
   6975 _ACEOF
   6976 if ac_fn_c_try_compile "$LINENO"; then :
   6977   xorg_cv_cc_flag_unknown_warning_option=yes
   6978 else
   6979   xorg_cv_cc_flag_unknown_warning_option=no
   6980 fi
   6981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6982 fi
   6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6986 	CFLAGS="$xorg_testset_save_CFLAGS"
   6987 fi
   6988 
   6989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6992 	fi
   6993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6997   $as_echo_n "(cached) " >&6
   6998 else
   6999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7000 /* end confdefs.h.  */
   7001 int i;
   7002 _ACEOF
   7003 if ac_fn_c_try_compile "$LINENO"; then :
   7004   xorg_cv_cc_flag_unused_command_line_argument=yes
   7005 else
   7006   xorg_cv_cc_flag_unused_command_line_argument=no
   7007 fi
   7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7009 fi
   7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7013 	CFLAGS="$xorg_testset_save_CFLAGS"
   7014 fi
   7015 
   7016 found="no"
   7017 
   7018 	if test $found = "no" ; then
   7019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7021 		fi
   7022 
   7023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7025 		fi
   7026 
   7027 		CFLAGS="$CFLAGS -Werror=nonnull"
   7028 
   7029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7030 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7031 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7032 		if eval \${$cacheid+:} false; then :
   7033   $as_echo_n "(cached) " >&6
   7034 else
   7035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7036 /* end confdefs.h.  */
   7037 int i;
   7038 int
   7039 main ()
   7040 {
   7041 
   7042   ;
   7043   return 0;
   7044 }
   7045 _ACEOF
   7046 if ac_fn_c_try_link "$LINENO"; then :
   7047   eval $cacheid=yes
   7048 else
   7049   eval $cacheid=no
   7050 fi
   7051 rm -f core conftest.err conftest.$ac_objext \
   7052     conftest$ac_exeext conftest.$ac_ext
   7053 fi
   7054 
   7055 
   7056 		CFLAGS="$xorg_testset_save_CFLAGS"
   7057 
   7058 		eval supported=\$$cacheid
   7059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7060 $as_echo "$supported" >&6; }
   7061 		if test "$supported" = "yes" ; then
   7062 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7063 			found="yes"
   7064 		fi
   7065 	fi
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 xorg_testset_save_CFLAGS="$CFLAGS"
   7082 
   7083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7088   $as_echo_n "(cached) " >&6
   7089 else
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 int i;
   7093 _ACEOF
   7094 if ac_fn_c_try_compile "$LINENO"; then :
   7095   xorg_cv_cc_flag_unknown_warning_option=yes
   7096 else
   7097   xorg_cv_cc_flag_unknown_warning_option=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7100 fi
   7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7104 	CFLAGS="$xorg_testset_save_CFLAGS"
   7105 fi
   7106 
   7107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7110 	fi
   7111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7115   $as_echo_n "(cached) " >&6
   7116 else
   7117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7118 /* end confdefs.h.  */
   7119 int i;
   7120 _ACEOF
   7121 if ac_fn_c_try_compile "$LINENO"; then :
   7122   xorg_cv_cc_flag_unused_command_line_argument=yes
   7123 else
   7124   xorg_cv_cc_flag_unused_command_line_argument=no
   7125 fi
   7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7127 fi
   7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7131 	CFLAGS="$xorg_testset_save_CFLAGS"
   7132 fi
   7133 
   7134 found="no"
   7135 
   7136 	if test $found = "no" ; then
   7137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7139 		fi
   7140 
   7141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7143 		fi
   7144 
   7145 		CFLAGS="$CFLAGS -Werror=init-self"
   7146 
   7147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7148 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7149 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7150 		if eval \${$cacheid+:} false; then :
   7151   $as_echo_n "(cached) " >&6
   7152 else
   7153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 int i;
   7156 int
   7157 main ()
   7158 {
   7159 
   7160   ;
   7161   return 0;
   7162 }
   7163 _ACEOF
   7164 if ac_fn_c_try_link "$LINENO"; then :
   7165   eval $cacheid=yes
   7166 else
   7167   eval $cacheid=no
   7168 fi
   7169 rm -f core conftest.err conftest.$ac_objext \
   7170     conftest$ac_exeext conftest.$ac_ext
   7171 fi
   7172 
   7173 
   7174 		CFLAGS="$xorg_testset_save_CFLAGS"
   7175 
   7176 		eval supported=\$$cacheid
   7177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7178 $as_echo "$supported" >&6; }
   7179 		if test "$supported" = "yes" ; then
   7180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7181 			found="yes"
   7182 		fi
   7183 	fi
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 xorg_testset_save_CFLAGS="$CFLAGS"
   7200 
   7201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7206   $as_echo_n "(cached) " >&6
   7207 else
   7208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7209 /* end confdefs.h.  */
   7210 int i;
   7211 _ACEOF
   7212 if ac_fn_c_try_compile "$LINENO"; then :
   7213   xorg_cv_cc_flag_unknown_warning_option=yes
   7214 else
   7215   xorg_cv_cc_flag_unknown_warning_option=no
   7216 fi
   7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7218 fi
   7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7222 	CFLAGS="$xorg_testset_save_CFLAGS"
   7223 fi
   7224 
   7225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 	fi
   7229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7233   $as_echo_n "(cached) " >&6
   7234 else
   7235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 int i;
   7238 _ACEOF
   7239 if ac_fn_c_try_compile "$LINENO"; then :
   7240   xorg_cv_cc_flag_unused_command_line_argument=yes
   7241 else
   7242   xorg_cv_cc_flag_unused_command_line_argument=no
   7243 fi
   7244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7245 fi
   7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7249 	CFLAGS="$xorg_testset_save_CFLAGS"
   7250 fi
   7251 
   7252 found="no"
   7253 
   7254 	if test $found = "no" ; then
   7255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7257 		fi
   7258 
   7259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7261 		fi
   7262 
   7263 		CFLAGS="$CFLAGS -Werror=main"
   7264 
   7265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7266 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7267 		cacheid=xorg_cv_cc_flag__Werror_main
   7268 		if eval \${$cacheid+:} false; then :
   7269   $as_echo_n "(cached) " >&6
   7270 else
   7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 int i;
   7274 int
   7275 main ()
   7276 {
   7277 
   7278   ;
   7279   return 0;
   7280 }
   7281 _ACEOF
   7282 if ac_fn_c_try_link "$LINENO"; then :
   7283   eval $cacheid=yes
   7284 else
   7285   eval $cacheid=no
   7286 fi
   7287 rm -f core conftest.err conftest.$ac_objext \
   7288     conftest$ac_exeext conftest.$ac_ext
   7289 fi
   7290 
   7291 
   7292 		CFLAGS="$xorg_testset_save_CFLAGS"
   7293 
   7294 		eval supported=\$$cacheid
   7295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7296 $as_echo "$supported" >&6; }
   7297 		if test "$supported" = "yes" ; then
   7298 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7299 			found="yes"
   7300 		fi
   7301 	fi
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 xorg_testset_save_CFLAGS="$CFLAGS"
   7318 
   7319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7324   $as_echo_n "(cached) " >&6
   7325 else
   7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 int i;
   7329 _ACEOF
   7330 if ac_fn_c_try_compile "$LINENO"; then :
   7331   xorg_cv_cc_flag_unknown_warning_option=yes
   7332 else
   7333   xorg_cv_cc_flag_unknown_warning_option=no
   7334 fi
   7335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7336 fi
   7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7340 	CFLAGS="$xorg_testset_save_CFLAGS"
   7341 fi
   7342 
   7343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7346 	fi
   7347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7351   $as_echo_n "(cached) " >&6
   7352 else
   7353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7354 /* end confdefs.h.  */
   7355 int i;
   7356 _ACEOF
   7357 if ac_fn_c_try_compile "$LINENO"; then :
   7358   xorg_cv_cc_flag_unused_command_line_argument=yes
   7359 else
   7360   xorg_cv_cc_flag_unused_command_line_argument=no
   7361 fi
   7362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7363 fi
   7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7367 	CFLAGS="$xorg_testset_save_CFLAGS"
   7368 fi
   7369 
   7370 found="no"
   7371 
   7372 	if test $found = "no" ; then
   7373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7375 		fi
   7376 
   7377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7379 		fi
   7380 
   7381 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7382 
   7383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7384 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7385 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7386 		if eval \${$cacheid+:} false; then :
   7387   $as_echo_n "(cached) " >&6
   7388 else
   7389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7390 /* end confdefs.h.  */
   7391 int i;
   7392 int
   7393 main ()
   7394 {
   7395 
   7396   ;
   7397   return 0;
   7398 }
   7399 _ACEOF
   7400 if ac_fn_c_try_link "$LINENO"; then :
   7401   eval $cacheid=yes
   7402 else
   7403   eval $cacheid=no
   7404 fi
   7405 rm -f core conftest.err conftest.$ac_objext \
   7406     conftest$ac_exeext conftest.$ac_ext
   7407 fi
   7408 
   7409 
   7410 		CFLAGS="$xorg_testset_save_CFLAGS"
   7411 
   7412 		eval supported=\$$cacheid
   7413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7414 $as_echo "$supported" >&6; }
   7415 		if test "$supported" = "yes" ; then
   7416 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7417 			found="yes"
   7418 		fi
   7419 	fi
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 xorg_testset_save_CFLAGS="$CFLAGS"
   7436 
   7437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7442   $as_echo_n "(cached) " >&6
   7443 else
   7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7445 /* end confdefs.h.  */
   7446 int i;
   7447 _ACEOF
   7448 if ac_fn_c_try_compile "$LINENO"; then :
   7449   xorg_cv_cc_flag_unknown_warning_option=yes
   7450 else
   7451   xorg_cv_cc_flag_unknown_warning_option=no
   7452 fi
   7453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7454 fi
   7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7458 	CFLAGS="$xorg_testset_save_CFLAGS"
   7459 fi
   7460 
   7461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7464 	fi
   7465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7469   $as_echo_n "(cached) " >&6
   7470 else
   7471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7472 /* end confdefs.h.  */
   7473 int i;
   7474 _ACEOF
   7475 if ac_fn_c_try_compile "$LINENO"; then :
   7476   xorg_cv_cc_flag_unused_command_line_argument=yes
   7477 else
   7478   xorg_cv_cc_flag_unused_command_line_argument=no
   7479 fi
   7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7481 fi
   7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7485 	CFLAGS="$xorg_testset_save_CFLAGS"
   7486 fi
   7487 
   7488 found="no"
   7489 
   7490 	if test $found = "no" ; then
   7491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7493 		fi
   7494 
   7495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7497 		fi
   7498 
   7499 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7500 
   7501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7502 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7503 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7504 		if eval \${$cacheid+:} false; then :
   7505   $as_echo_n "(cached) " >&6
   7506 else
   7507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 int
   7511 main ()
   7512 {
   7513 
   7514   ;
   7515   return 0;
   7516 }
   7517 _ACEOF
   7518 if ac_fn_c_try_link "$LINENO"; then :
   7519   eval $cacheid=yes
   7520 else
   7521   eval $cacheid=no
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext \
   7524     conftest$ac_exeext conftest.$ac_ext
   7525 fi
   7526 
   7527 
   7528 		CFLAGS="$xorg_testset_save_CFLAGS"
   7529 
   7530 		eval supported=\$$cacheid
   7531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7532 $as_echo "$supported" >&6; }
   7533 		if test "$supported" = "yes" ; then
   7534 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7535 			found="yes"
   7536 		fi
   7537 	fi
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 xorg_testset_save_CFLAGS="$CFLAGS"
   7554 
   7555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 _ACEOF
   7566 if ac_fn_c_try_compile "$LINENO"; then :
   7567   xorg_cv_cc_flag_unknown_warning_option=yes
   7568 else
   7569   xorg_cv_cc_flag_unknown_warning_option=no
   7570 fi
   7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7572 fi
   7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7576 	CFLAGS="$xorg_testset_save_CFLAGS"
   7577 fi
   7578 
   7579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7582 	fi
   7583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7587   $as_echo_n "(cached) " >&6
   7588 else
   7589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7590 /* end confdefs.h.  */
   7591 int i;
   7592 _ACEOF
   7593 if ac_fn_c_try_compile "$LINENO"; then :
   7594   xorg_cv_cc_flag_unused_command_line_argument=yes
   7595 else
   7596   xorg_cv_cc_flag_unused_command_line_argument=no
   7597 fi
   7598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7599 fi
   7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7603 	CFLAGS="$xorg_testset_save_CFLAGS"
   7604 fi
   7605 
   7606 found="no"
   7607 
   7608 	if test $found = "no" ; then
   7609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7611 		fi
   7612 
   7613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7615 		fi
   7616 
   7617 		CFLAGS="$CFLAGS -Werror=return-type"
   7618 
   7619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7620 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7621 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7622 		if eval \${$cacheid+:} false; then :
   7623   $as_echo_n "(cached) " >&6
   7624 else
   7625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7626 /* end confdefs.h.  */
   7627 int i;
   7628 int
   7629 main ()
   7630 {
   7631 
   7632   ;
   7633   return 0;
   7634 }
   7635 _ACEOF
   7636 if ac_fn_c_try_link "$LINENO"; then :
   7637   eval $cacheid=yes
   7638 else
   7639   eval $cacheid=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext \
   7642     conftest$ac_exeext conftest.$ac_ext
   7643 fi
   7644 
   7645 
   7646 		CFLAGS="$xorg_testset_save_CFLAGS"
   7647 
   7648 		eval supported=\$$cacheid
   7649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7650 $as_echo "$supported" >&6; }
   7651 		if test "$supported" = "yes" ; then
   7652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7653 			found="yes"
   7654 		fi
   7655 	fi
   7656 
   7657 	if test $found = "no" ; then
   7658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7660 		fi
   7661 
   7662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7664 		fi
   7665 
   7666 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7667 
   7668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7669 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7670 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7671 		if eval \${$cacheid+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 int
   7678 main ()
   7679 {
   7680 
   7681   ;
   7682   return 0;
   7683 }
   7684 _ACEOF
   7685 if ac_fn_c_try_link "$LINENO"; then :
   7686   eval $cacheid=yes
   7687 else
   7688   eval $cacheid=no
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext \
   7691     conftest$ac_exeext conftest.$ac_ext
   7692 fi
   7693 
   7694 
   7695 		CFLAGS="$xorg_testset_save_CFLAGS"
   7696 
   7697 		eval supported=\$$cacheid
   7698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7699 $as_echo "$supported" >&6; }
   7700 		if test "$supported" = "yes" ; then
   7701 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7702 			found="yes"
   7703 		fi
   7704 	fi
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 xorg_testset_save_CFLAGS="$CFLAGS"
   7721 
   7722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7726 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7730 /* end confdefs.h.  */
   7731 int i;
   7732 _ACEOF
   7733 if ac_fn_c_try_compile "$LINENO"; then :
   7734   xorg_cv_cc_flag_unknown_warning_option=yes
   7735 else
   7736   xorg_cv_cc_flag_unknown_warning_option=no
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7739 fi
   7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7741 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7743 	CFLAGS="$xorg_testset_save_CFLAGS"
   7744 fi
   7745 
   7746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7749 	fi
   7750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7752 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7753 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7754   $as_echo_n "(cached) " >&6
   7755 else
   7756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7757 /* end confdefs.h.  */
   7758 int i;
   7759 _ACEOF
   7760 if ac_fn_c_try_compile "$LINENO"; then :
   7761   xorg_cv_cc_flag_unused_command_line_argument=yes
   7762 else
   7763   xorg_cv_cc_flag_unused_command_line_argument=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7766 fi
   7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7768 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7770 	CFLAGS="$xorg_testset_save_CFLAGS"
   7771 fi
   7772 
   7773 found="no"
   7774 
   7775 	if test $found = "no" ; then
   7776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7778 		fi
   7779 
   7780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7782 		fi
   7783 
   7784 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7785 
   7786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7787 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7788 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7789 		if eval \${$cacheid+:} false; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 int i;
   7795 int
   7796 main ()
   7797 {
   7798 
   7799   ;
   7800   return 0;
   7801 }
   7802 _ACEOF
   7803 if ac_fn_c_try_link "$LINENO"; then :
   7804   eval $cacheid=yes
   7805 else
   7806   eval $cacheid=no
   7807 fi
   7808 rm -f core conftest.err conftest.$ac_objext \
   7809     conftest$ac_exeext conftest.$ac_ext
   7810 fi
   7811 
   7812 
   7813 		CFLAGS="$xorg_testset_save_CFLAGS"
   7814 
   7815 		eval supported=\$$cacheid
   7816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7817 $as_echo "$supported" >&6; }
   7818 		if test "$supported" = "yes" ; then
   7819 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7820 			found="yes"
   7821 		fi
   7822 	fi
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 xorg_testset_save_CFLAGS="$CFLAGS"
   7839 
   7840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7843 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7844 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7845   $as_echo_n "(cached) " >&6
   7846 else
   7847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 _ACEOF
   7851 if ac_fn_c_try_compile "$LINENO"; then :
   7852   xorg_cv_cc_flag_unknown_warning_option=yes
   7853 else
   7854   xorg_cv_cc_flag_unknown_warning_option=no
   7855 fi
   7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7857 fi
   7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7859 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7861 	CFLAGS="$xorg_testset_save_CFLAGS"
   7862 fi
   7863 
   7864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7867 	fi
   7868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7870 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7871 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7872   $as_echo_n "(cached) " >&6
   7873 else
   7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7875 /* end confdefs.h.  */
   7876 int i;
   7877 _ACEOF
   7878 if ac_fn_c_try_compile "$LINENO"; then :
   7879   xorg_cv_cc_flag_unused_command_line_argument=yes
   7880 else
   7881   xorg_cv_cc_flag_unused_command_line_argument=no
   7882 fi
   7883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7884 fi
   7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7886 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7888 	CFLAGS="$xorg_testset_save_CFLAGS"
   7889 fi
   7890 
   7891 found="no"
   7892 
   7893 	if test $found = "no" ; then
   7894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7896 		fi
   7897 
   7898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7900 		fi
   7901 
   7902 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7903 
   7904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7905 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7906 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7907 		if eval \${$cacheid+:} false; then :
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7911 /* end confdefs.h.  */
   7912 int i;
   7913 int
   7914 main ()
   7915 {
   7916 
   7917   ;
   7918   return 0;
   7919 }
   7920 _ACEOF
   7921 if ac_fn_c_try_link "$LINENO"; then :
   7922   eval $cacheid=yes
   7923 else
   7924   eval $cacheid=no
   7925 fi
   7926 rm -f core conftest.err conftest.$ac_objext \
   7927     conftest$ac_exeext conftest.$ac_ext
   7928 fi
   7929 
   7930 
   7931 		CFLAGS="$xorg_testset_save_CFLAGS"
   7932 
   7933 		eval supported=\$$cacheid
   7934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7935 $as_echo "$supported" >&6; }
   7936 		if test "$supported" = "yes" ; then
   7937 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7938 			found="yes"
   7939 		fi
   7940 	fi
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 xorg_testset_save_CFLAGS="$CFLAGS"
   7957 
   7958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7961 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7962 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7963   $as_echo_n "(cached) " >&6
   7964 else
   7965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7966 /* end confdefs.h.  */
   7967 int i;
   7968 _ACEOF
   7969 if ac_fn_c_try_compile "$LINENO"; then :
   7970   xorg_cv_cc_flag_unknown_warning_option=yes
   7971 else
   7972   xorg_cv_cc_flag_unknown_warning_option=no
   7973 fi
   7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7975 fi
   7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7977 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7979 	CFLAGS="$xorg_testset_save_CFLAGS"
   7980 fi
   7981 
   7982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7985 	fi
   7986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7988 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7989 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7993 /* end confdefs.h.  */
   7994 int i;
   7995 _ACEOF
   7996 if ac_fn_c_try_compile "$LINENO"; then :
   7997   xorg_cv_cc_flag_unused_command_line_argument=yes
   7998 else
   7999   xorg_cv_cc_flag_unused_command_line_argument=no
   8000 fi
   8001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8002 fi
   8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8004 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8006 	CFLAGS="$xorg_testset_save_CFLAGS"
   8007 fi
   8008 
   8009 found="no"
   8010 
   8011 	if test $found = "no" ; then
   8012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8014 		fi
   8015 
   8016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8018 		fi
   8019 
   8020 		CFLAGS="$CFLAGS -Werror=write-strings"
   8021 
   8022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8023 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8024 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8025 		if eval \${$cacheid+:} false; then :
   8026   $as_echo_n "(cached) " >&6
   8027 else
   8028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8029 /* end confdefs.h.  */
   8030 int i;
   8031 int
   8032 main ()
   8033 {
   8034 
   8035   ;
   8036   return 0;
   8037 }
   8038 _ACEOF
   8039 if ac_fn_c_try_link "$LINENO"; then :
   8040   eval $cacheid=yes
   8041 else
   8042   eval $cacheid=no
   8043 fi
   8044 rm -f core conftest.err conftest.$ac_objext \
   8045     conftest$ac_exeext conftest.$ac_ext
   8046 fi
   8047 
   8048 
   8049 		CFLAGS="$xorg_testset_save_CFLAGS"
   8050 
   8051 		eval supported=\$$cacheid
   8052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8053 $as_echo "$supported" >&6; }
   8054 		if test "$supported" = "yes" ; then
   8055 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8056 			found="yes"
   8057 		fi
   8058 	fi
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 xorg_testset_save_CFLAGS="$CFLAGS"
   8075 
   8076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8079 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8080 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8081   $as_echo_n "(cached) " >&6
   8082 else
   8083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8084 /* end confdefs.h.  */
   8085 int i;
   8086 _ACEOF
   8087 if ac_fn_c_try_compile "$LINENO"; then :
   8088   xorg_cv_cc_flag_unknown_warning_option=yes
   8089 else
   8090   xorg_cv_cc_flag_unknown_warning_option=no
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8093 fi
   8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8095 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8097 	CFLAGS="$xorg_testset_save_CFLAGS"
   8098 fi
   8099 
   8100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8103 	fi
   8104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8106 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8107 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8108   $as_echo_n "(cached) " >&6
   8109 else
   8110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8111 /* end confdefs.h.  */
   8112 int i;
   8113 _ACEOF
   8114 if ac_fn_c_try_compile "$LINENO"; then :
   8115   xorg_cv_cc_flag_unused_command_line_argument=yes
   8116 else
   8117   xorg_cv_cc_flag_unused_command_line_argument=no
   8118 fi
   8119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8120 fi
   8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8122 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8124 	CFLAGS="$xorg_testset_save_CFLAGS"
   8125 fi
   8126 
   8127 found="no"
   8128 
   8129 	if test $found = "no" ; then
   8130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8132 		fi
   8133 
   8134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8136 		fi
   8137 
   8138 		CFLAGS="$CFLAGS -Werror=address"
   8139 
   8140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8141 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8142 		cacheid=xorg_cv_cc_flag__Werror_address
   8143 		if eval \${$cacheid+:} false; then :
   8144   $as_echo_n "(cached) " >&6
   8145 else
   8146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8147 /* end confdefs.h.  */
   8148 int i;
   8149 int
   8150 main ()
   8151 {
   8152 
   8153   ;
   8154   return 0;
   8155 }
   8156 _ACEOF
   8157 if ac_fn_c_try_link "$LINENO"; then :
   8158   eval $cacheid=yes
   8159 else
   8160   eval $cacheid=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext \
   8163     conftest$ac_exeext conftest.$ac_ext
   8164 fi
   8165 
   8166 
   8167 		CFLAGS="$xorg_testset_save_CFLAGS"
   8168 
   8169 		eval supported=\$$cacheid
   8170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8171 $as_echo "$supported" >&6; }
   8172 		if test "$supported" = "yes" ; then
   8173 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8174 			found="yes"
   8175 		fi
   8176 	fi
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 xorg_testset_save_CFLAGS="$CFLAGS"
   8193 
   8194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8199   $as_echo_n "(cached) " >&6
   8200 else
   8201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 _ACEOF
   8205 if ac_fn_c_try_compile "$LINENO"; then :
   8206   xorg_cv_cc_flag_unknown_warning_option=yes
   8207 else
   8208   xorg_cv_cc_flag_unknown_warning_option=no
   8209 fi
   8210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8211 fi
   8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8215 	CFLAGS="$xorg_testset_save_CFLAGS"
   8216 fi
   8217 
   8218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 	fi
   8222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8226   $as_echo_n "(cached) " >&6
   8227 else
   8228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"; then :
   8233   xorg_cv_cc_flag_unused_command_line_argument=yes
   8234 else
   8235   xorg_cv_cc_flag_unused_command_line_argument=no
   8236 fi
   8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8238 fi
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8242 	CFLAGS="$xorg_testset_save_CFLAGS"
   8243 fi
   8244 
   8245 found="no"
   8246 
   8247 	if test $found = "no" ; then
   8248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8250 		fi
   8251 
   8252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8254 		fi
   8255 
   8256 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8257 
   8258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8259 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8260 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8261 		if eval \${$cacheid+:} false; then :
   8262   $as_echo_n "(cached) " >&6
   8263 else
   8264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8265 /* end confdefs.h.  */
   8266 int i;
   8267 int
   8268 main ()
   8269 {
   8270 
   8271   ;
   8272   return 0;
   8273 }
   8274 _ACEOF
   8275 if ac_fn_c_try_link "$LINENO"; then :
   8276   eval $cacheid=yes
   8277 else
   8278   eval $cacheid=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext \
   8281     conftest$ac_exeext conftest.$ac_ext
   8282 fi
   8283 
   8284 
   8285 		CFLAGS="$xorg_testset_save_CFLAGS"
   8286 
   8287 		eval supported=\$$cacheid
   8288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8289 $as_echo "$supported" >&6; }
   8290 		if test "$supported" = "yes" ; then
   8291 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8292 			found="yes"
   8293 		fi
   8294 	fi
   8295 
   8296 	if test $found = "no" ; then
   8297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8299 		fi
   8300 
   8301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8303 		fi
   8304 
   8305 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8306 
   8307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8308 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8309 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8310 		if eval \${$cacheid+:} false; then :
   8311   $as_echo_n "(cached) " >&6
   8312 else
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 int
   8317 main ()
   8318 {
   8319 
   8320   ;
   8321   return 0;
   8322 }
   8323 _ACEOF
   8324 if ac_fn_c_try_link "$LINENO"; then :
   8325   eval $cacheid=yes
   8326 else
   8327   eval $cacheid=no
   8328 fi
   8329 rm -f core conftest.err conftest.$ac_objext \
   8330     conftest$ac_exeext conftest.$ac_ext
   8331 fi
   8332 
   8333 
   8334 		CFLAGS="$xorg_testset_save_CFLAGS"
   8335 
   8336 		eval supported=\$$cacheid
   8337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8338 $as_echo "$supported" >&6; }
   8339 		if test "$supported" = "yes" ; then
   8340 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8341 			found="yes"
   8342 		fi
   8343 	fi
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 xorg_testset_save_CFLAGS="$CFLAGS"
   8360 
   8361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8366   $as_echo_n "(cached) " >&6
   8367 else
   8368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8369 /* end confdefs.h.  */
   8370 int i;
   8371 _ACEOF
   8372 if ac_fn_c_try_compile "$LINENO"; then :
   8373   xorg_cv_cc_flag_unknown_warning_option=yes
   8374 else
   8375   xorg_cv_cc_flag_unknown_warning_option=no
   8376 fi
   8377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8378 fi
   8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8382 	CFLAGS="$xorg_testset_save_CFLAGS"
   8383 fi
   8384 
   8385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8388 	fi
   8389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8393   $as_echo_n "(cached) " >&6
   8394 else
   8395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8396 /* end confdefs.h.  */
   8397 int i;
   8398 _ACEOF
   8399 if ac_fn_c_try_compile "$LINENO"; then :
   8400   xorg_cv_cc_flag_unused_command_line_argument=yes
   8401 else
   8402   xorg_cv_cc_flag_unused_command_line_argument=no
   8403 fi
   8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8405 fi
   8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8409 	CFLAGS="$xorg_testset_save_CFLAGS"
   8410 fi
   8411 
   8412 found="no"
   8413 
   8414 	if test $found = "no" ; then
   8415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8417 		fi
   8418 
   8419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8421 		fi
   8422 
   8423 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8424 
   8425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8426 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8427 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8428 		if eval \${$cacheid+:} false; then :
   8429   $as_echo_n "(cached) " >&6
   8430 else
   8431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8432 /* end confdefs.h.  */
   8433 int i;
   8434 int
   8435 main ()
   8436 {
   8437 
   8438   ;
   8439   return 0;
   8440 }
   8441 _ACEOF
   8442 if ac_fn_c_try_link "$LINENO"; then :
   8443   eval $cacheid=yes
   8444 else
   8445   eval $cacheid=no
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext \
   8448     conftest$ac_exeext conftest.$ac_ext
   8449 fi
   8450 
   8451 
   8452 		CFLAGS="$xorg_testset_save_CFLAGS"
   8453 
   8454 		eval supported=\$$cacheid
   8455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8456 $as_echo "$supported" >&6; }
   8457 		if test "$supported" = "yes" ; then
   8458 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8459 			found="yes"
   8460 		fi
   8461 	fi
   8462 
   8463  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8464 else
   8465 { $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
   8466 $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;}
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 xorg_testset_save_CFLAGS="$CFLAGS"
   8481 
   8482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8487   $as_echo_n "(cached) " >&6
   8488 else
   8489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8490 /* end confdefs.h.  */
   8491 int i;
   8492 _ACEOF
   8493 if ac_fn_c_try_compile "$LINENO"; then :
   8494   xorg_cv_cc_flag_unknown_warning_option=yes
   8495 else
   8496   xorg_cv_cc_flag_unknown_warning_option=no
   8497 fi
   8498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8499 fi
   8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8503 	CFLAGS="$xorg_testset_save_CFLAGS"
   8504 fi
   8505 
   8506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8509 	fi
   8510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8514   $as_echo_n "(cached) " >&6
   8515 else
   8516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 _ACEOF
   8520 if ac_fn_c_try_compile "$LINENO"; then :
   8521   xorg_cv_cc_flag_unused_command_line_argument=yes
   8522 else
   8523   xorg_cv_cc_flag_unused_command_line_argument=no
   8524 fi
   8525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8526 fi
   8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8530 	CFLAGS="$xorg_testset_save_CFLAGS"
   8531 fi
   8532 
   8533 found="no"
   8534 
   8535 	if test $found = "no" ; then
   8536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8538 		fi
   8539 
   8540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8542 		fi
   8543 
   8544 		CFLAGS="$CFLAGS -Wimplicit"
   8545 
   8546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8547 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8548 		cacheid=xorg_cv_cc_flag__Wimplicit
   8549 		if eval \${$cacheid+:} false; then :
   8550   $as_echo_n "(cached) " >&6
   8551 else
   8552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8553 /* end confdefs.h.  */
   8554 int i;
   8555 int
   8556 main ()
   8557 {
   8558 
   8559   ;
   8560   return 0;
   8561 }
   8562 _ACEOF
   8563 if ac_fn_c_try_link "$LINENO"; then :
   8564   eval $cacheid=yes
   8565 else
   8566   eval $cacheid=no
   8567 fi
   8568 rm -f core conftest.err conftest.$ac_objext \
   8569     conftest$ac_exeext conftest.$ac_ext
   8570 fi
   8571 
   8572 
   8573 		CFLAGS="$xorg_testset_save_CFLAGS"
   8574 
   8575 		eval supported=\$$cacheid
   8576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8577 $as_echo "$supported" >&6; }
   8578 		if test "$supported" = "yes" ; then
   8579 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8580 			found="yes"
   8581 		fi
   8582 	fi
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 xorg_testset_save_CFLAGS="$CFLAGS"
   8599 
   8600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8605   $as_echo_n "(cached) " >&6
   8606 else
   8607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8608 /* end confdefs.h.  */
   8609 int i;
   8610 _ACEOF
   8611 if ac_fn_c_try_compile "$LINENO"; then :
   8612   xorg_cv_cc_flag_unknown_warning_option=yes
   8613 else
   8614   xorg_cv_cc_flag_unknown_warning_option=no
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8617 fi
   8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8621 	CFLAGS="$xorg_testset_save_CFLAGS"
   8622 fi
   8623 
   8624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 	fi
   8628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8632   $as_echo_n "(cached) " >&6
   8633 else
   8634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8635 /* end confdefs.h.  */
   8636 int i;
   8637 _ACEOF
   8638 if ac_fn_c_try_compile "$LINENO"; then :
   8639   xorg_cv_cc_flag_unused_command_line_argument=yes
   8640 else
   8641   xorg_cv_cc_flag_unused_command_line_argument=no
   8642 fi
   8643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8644 fi
   8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8648 	CFLAGS="$xorg_testset_save_CFLAGS"
   8649 fi
   8650 
   8651 found="no"
   8652 
   8653 	if test $found = "no" ; then
   8654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 		fi
   8657 
   8658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8660 		fi
   8661 
   8662 		CFLAGS="$CFLAGS -Wnonnull"
   8663 
   8664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8665 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8666 		cacheid=xorg_cv_cc_flag__Wnonnull
   8667 		if eval \${$cacheid+:} false; then :
   8668   $as_echo_n "(cached) " >&6
   8669 else
   8670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8671 /* end confdefs.h.  */
   8672 int i;
   8673 int
   8674 main ()
   8675 {
   8676 
   8677   ;
   8678   return 0;
   8679 }
   8680 _ACEOF
   8681 if ac_fn_c_try_link "$LINENO"; then :
   8682   eval $cacheid=yes
   8683 else
   8684   eval $cacheid=no
   8685 fi
   8686 rm -f core conftest.err conftest.$ac_objext \
   8687     conftest$ac_exeext conftest.$ac_ext
   8688 fi
   8689 
   8690 
   8691 		CFLAGS="$xorg_testset_save_CFLAGS"
   8692 
   8693 		eval supported=\$$cacheid
   8694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8695 $as_echo "$supported" >&6; }
   8696 		if test "$supported" = "yes" ; then
   8697 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8698 			found="yes"
   8699 		fi
   8700 	fi
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 xorg_testset_save_CFLAGS="$CFLAGS"
   8717 
   8718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8723   $as_echo_n "(cached) " >&6
   8724 else
   8725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8726 /* end confdefs.h.  */
   8727 int i;
   8728 _ACEOF
   8729 if ac_fn_c_try_compile "$LINENO"; then :
   8730   xorg_cv_cc_flag_unknown_warning_option=yes
   8731 else
   8732   xorg_cv_cc_flag_unknown_warning_option=no
   8733 fi
   8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8735 fi
   8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8739 	CFLAGS="$xorg_testset_save_CFLAGS"
   8740 fi
   8741 
   8742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 	fi
   8746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8753 /* end confdefs.h.  */
   8754 int i;
   8755 _ACEOF
   8756 if ac_fn_c_try_compile "$LINENO"; then :
   8757   xorg_cv_cc_flag_unused_command_line_argument=yes
   8758 else
   8759   xorg_cv_cc_flag_unused_command_line_argument=no
   8760 fi
   8761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8762 fi
   8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8766 	CFLAGS="$xorg_testset_save_CFLAGS"
   8767 fi
   8768 
   8769 found="no"
   8770 
   8771 	if test $found = "no" ; then
   8772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8774 		fi
   8775 
   8776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8778 		fi
   8779 
   8780 		CFLAGS="$CFLAGS -Winit-self"
   8781 
   8782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8783 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8784 		cacheid=xorg_cv_cc_flag__Winit_self
   8785 		if eval \${$cacheid+:} false; then :
   8786   $as_echo_n "(cached) " >&6
   8787 else
   8788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8789 /* end confdefs.h.  */
   8790 int i;
   8791 int
   8792 main ()
   8793 {
   8794 
   8795   ;
   8796   return 0;
   8797 }
   8798 _ACEOF
   8799 if ac_fn_c_try_link "$LINENO"; then :
   8800   eval $cacheid=yes
   8801 else
   8802   eval $cacheid=no
   8803 fi
   8804 rm -f core conftest.err conftest.$ac_objext \
   8805     conftest$ac_exeext conftest.$ac_ext
   8806 fi
   8807 
   8808 
   8809 		CFLAGS="$xorg_testset_save_CFLAGS"
   8810 
   8811 		eval supported=\$$cacheid
   8812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8813 $as_echo "$supported" >&6; }
   8814 		if test "$supported" = "yes" ; then
   8815 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8816 			found="yes"
   8817 		fi
   8818 	fi
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 xorg_testset_save_CFLAGS="$CFLAGS"
   8835 
   8836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8840 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8841   $as_echo_n "(cached) " >&6
   8842 else
   8843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8844 /* end confdefs.h.  */
   8845 int i;
   8846 _ACEOF
   8847 if ac_fn_c_try_compile "$LINENO"; then :
   8848   xorg_cv_cc_flag_unknown_warning_option=yes
   8849 else
   8850   xorg_cv_cc_flag_unknown_warning_option=no
   8851 fi
   8852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8853 fi
   8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8855 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8857 	CFLAGS="$xorg_testset_save_CFLAGS"
   8858 fi
   8859 
   8860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8863 	fi
   8864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8866 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8867 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8868   $as_echo_n "(cached) " >&6
   8869 else
   8870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8871 /* end confdefs.h.  */
   8872 int i;
   8873 _ACEOF
   8874 if ac_fn_c_try_compile "$LINENO"; then :
   8875   xorg_cv_cc_flag_unused_command_line_argument=yes
   8876 else
   8877   xorg_cv_cc_flag_unused_command_line_argument=no
   8878 fi
   8879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8880 fi
   8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8882 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8884 	CFLAGS="$xorg_testset_save_CFLAGS"
   8885 fi
   8886 
   8887 found="no"
   8888 
   8889 	if test $found = "no" ; then
   8890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8892 		fi
   8893 
   8894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8896 		fi
   8897 
   8898 		CFLAGS="$CFLAGS -Wmain"
   8899 
   8900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8901 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8902 		cacheid=xorg_cv_cc_flag__Wmain
   8903 		if eval \${$cacheid+:} false; then :
   8904   $as_echo_n "(cached) " >&6
   8905 else
   8906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8907 /* end confdefs.h.  */
   8908 int i;
   8909 int
   8910 main ()
   8911 {
   8912 
   8913   ;
   8914   return 0;
   8915 }
   8916 _ACEOF
   8917 if ac_fn_c_try_link "$LINENO"; then :
   8918   eval $cacheid=yes
   8919 else
   8920   eval $cacheid=no
   8921 fi
   8922 rm -f core conftest.err conftest.$ac_objext \
   8923     conftest$ac_exeext conftest.$ac_ext
   8924 fi
   8925 
   8926 
   8927 		CFLAGS="$xorg_testset_save_CFLAGS"
   8928 
   8929 		eval supported=\$$cacheid
   8930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8931 $as_echo "$supported" >&6; }
   8932 		if test "$supported" = "yes" ; then
   8933 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8934 			found="yes"
   8935 		fi
   8936 	fi
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 xorg_testset_save_CFLAGS="$CFLAGS"
   8953 
   8954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8959   $as_echo_n "(cached) " >&6
   8960 else
   8961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8962 /* end confdefs.h.  */
   8963 int i;
   8964 _ACEOF
   8965 if ac_fn_c_try_compile "$LINENO"; then :
   8966   xorg_cv_cc_flag_unknown_warning_option=yes
   8967 else
   8968   xorg_cv_cc_flag_unknown_warning_option=no
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8971 fi
   8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8975 	CFLAGS="$xorg_testset_save_CFLAGS"
   8976 fi
   8977 
   8978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8981 	fi
   8982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8986   $as_echo_n "(cached) " >&6
   8987 else
   8988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8989 /* end confdefs.h.  */
   8990 int i;
   8991 _ACEOF
   8992 if ac_fn_c_try_compile "$LINENO"; then :
   8993   xorg_cv_cc_flag_unused_command_line_argument=yes
   8994 else
   8995   xorg_cv_cc_flag_unused_command_line_argument=no
   8996 fi
   8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8998 fi
   8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9002 	CFLAGS="$xorg_testset_save_CFLAGS"
   9003 fi
   9004 
   9005 found="no"
   9006 
   9007 	if test $found = "no" ; then
   9008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9010 		fi
   9011 
   9012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9014 		fi
   9015 
   9016 		CFLAGS="$CFLAGS -Wmissing-braces"
   9017 
   9018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9019 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9020 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9021 		if eval \${$cacheid+:} false; then :
   9022   $as_echo_n "(cached) " >&6
   9023 else
   9024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9025 /* end confdefs.h.  */
   9026 int i;
   9027 int
   9028 main ()
   9029 {
   9030 
   9031   ;
   9032   return 0;
   9033 }
   9034 _ACEOF
   9035 if ac_fn_c_try_link "$LINENO"; then :
   9036   eval $cacheid=yes
   9037 else
   9038   eval $cacheid=no
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext \
   9041     conftest$ac_exeext conftest.$ac_ext
   9042 fi
   9043 
   9044 
   9045 		CFLAGS="$xorg_testset_save_CFLAGS"
   9046 
   9047 		eval supported=\$$cacheid
   9048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9049 $as_echo "$supported" >&6; }
   9050 		if test "$supported" = "yes" ; then
   9051 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9052 			found="yes"
   9053 		fi
   9054 	fi
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 xorg_testset_save_CFLAGS="$CFLAGS"
   9071 
   9072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9077   $as_echo_n "(cached) " >&6
   9078 else
   9079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9080 /* end confdefs.h.  */
   9081 int i;
   9082 _ACEOF
   9083 if ac_fn_c_try_compile "$LINENO"; then :
   9084   xorg_cv_cc_flag_unknown_warning_option=yes
   9085 else
   9086   xorg_cv_cc_flag_unknown_warning_option=no
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9089 fi
   9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9093 	CFLAGS="$xorg_testset_save_CFLAGS"
   9094 fi
   9095 
   9096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 	fi
   9100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9104   $as_echo_n "(cached) " >&6
   9105 else
   9106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9107 /* end confdefs.h.  */
   9108 int i;
   9109 _ACEOF
   9110 if ac_fn_c_try_compile "$LINENO"; then :
   9111   xorg_cv_cc_flag_unused_command_line_argument=yes
   9112 else
   9113   xorg_cv_cc_flag_unused_command_line_argument=no
   9114 fi
   9115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9116 fi
   9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9120 	CFLAGS="$xorg_testset_save_CFLAGS"
   9121 fi
   9122 
   9123 found="no"
   9124 
   9125 	if test $found = "no" ; then
   9126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9128 		fi
   9129 
   9130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9132 		fi
   9133 
   9134 		CFLAGS="$CFLAGS -Wsequence-point"
   9135 
   9136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9137 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9138 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9139 		if eval \${$cacheid+:} false; then :
   9140   $as_echo_n "(cached) " >&6
   9141 else
   9142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9143 /* end confdefs.h.  */
   9144 int i;
   9145 int
   9146 main ()
   9147 {
   9148 
   9149   ;
   9150   return 0;
   9151 }
   9152 _ACEOF
   9153 if ac_fn_c_try_link "$LINENO"; then :
   9154   eval $cacheid=yes
   9155 else
   9156   eval $cacheid=no
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext \
   9159     conftest$ac_exeext conftest.$ac_ext
   9160 fi
   9161 
   9162 
   9163 		CFLAGS="$xorg_testset_save_CFLAGS"
   9164 
   9165 		eval supported=\$$cacheid
   9166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9167 $as_echo "$supported" >&6; }
   9168 		if test "$supported" = "yes" ; then
   9169 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9170 			found="yes"
   9171 		fi
   9172 	fi
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 xorg_testset_save_CFLAGS="$CFLAGS"
   9189 
   9190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9193 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9194 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9195   $as_echo_n "(cached) " >&6
   9196 else
   9197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9198 /* end confdefs.h.  */
   9199 int i;
   9200 _ACEOF
   9201 if ac_fn_c_try_compile "$LINENO"; then :
   9202   xorg_cv_cc_flag_unknown_warning_option=yes
   9203 else
   9204   xorg_cv_cc_flag_unknown_warning_option=no
   9205 fi
   9206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9207 fi
   9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9209 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9211 	CFLAGS="$xorg_testset_save_CFLAGS"
   9212 fi
   9213 
   9214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9217 	fi
   9218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9220 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9221 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9222   $as_echo_n "(cached) " >&6
   9223 else
   9224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9225 /* end confdefs.h.  */
   9226 int i;
   9227 _ACEOF
   9228 if ac_fn_c_try_compile "$LINENO"; then :
   9229   xorg_cv_cc_flag_unused_command_line_argument=yes
   9230 else
   9231   xorg_cv_cc_flag_unused_command_line_argument=no
   9232 fi
   9233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9234 fi
   9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9236 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9238 	CFLAGS="$xorg_testset_save_CFLAGS"
   9239 fi
   9240 
   9241 found="no"
   9242 
   9243 	if test $found = "no" ; then
   9244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9246 		fi
   9247 
   9248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9250 		fi
   9251 
   9252 		CFLAGS="$CFLAGS -Wreturn-type"
   9253 
   9254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9255 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9256 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9257 		if eval \${$cacheid+:} false; then :
   9258   $as_echo_n "(cached) " >&6
   9259 else
   9260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9261 /* end confdefs.h.  */
   9262 int i;
   9263 int
   9264 main ()
   9265 {
   9266 
   9267   ;
   9268   return 0;
   9269 }
   9270 _ACEOF
   9271 if ac_fn_c_try_link "$LINENO"; then :
   9272   eval $cacheid=yes
   9273 else
   9274   eval $cacheid=no
   9275 fi
   9276 rm -f core conftest.err conftest.$ac_objext \
   9277     conftest$ac_exeext conftest.$ac_ext
   9278 fi
   9279 
   9280 
   9281 		CFLAGS="$xorg_testset_save_CFLAGS"
   9282 
   9283 		eval supported=\$$cacheid
   9284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9285 $as_echo "$supported" >&6; }
   9286 		if test "$supported" = "yes" ; then
   9287 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9288 			found="yes"
   9289 		fi
   9290 	fi
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 xorg_testset_save_CFLAGS="$CFLAGS"
   9307 
   9308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9311 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9312 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9313   $as_echo_n "(cached) " >&6
   9314 else
   9315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9316 /* end confdefs.h.  */
   9317 int i;
   9318 _ACEOF
   9319 if ac_fn_c_try_compile "$LINENO"; then :
   9320   xorg_cv_cc_flag_unknown_warning_option=yes
   9321 else
   9322   xorg_cv_cc_flag_unknown_warning_option=no
   9323 fi
   9324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9325 fi
   9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9327 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9329 	CFLAGS="$xorg_testset_save_CFLAGS"
   9330 fi
   9331 
   9332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9335 	fi
   9336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9338 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9339 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9340   $as_echo_n "(cached) " >&6
   9341 else
   9342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9343 /* end confdefs.h.  */
   9344 int i;
   9345 _ACEOF
   9346 if ac_fn_c_try_compile "$LINENO"; then :
   9347   xorg_cv_cc_flag_unused_command_line_argument=yes
   9348 else
   9349   xorg_cv_cc_flag_unused_command_line_argument=no
   9350 fi
   9351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9352 fi
   9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9354 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9356 	CFLAGS="$xorg_testset_save_CFLAGS"
   9357 fi
   9358 
   9359 found="no"
   9360 
   9361 	if test $found = "no" ; then
   9362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9364 		fi
   9365 
   9366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9368 		fi
   9369 
   9370 		CFLAGS="$CFLAGS -Wtrigraphs"
   9371 
   9372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9373 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9374 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9375 		if eval \${$cacheid+:} false; then :
   9376   $as_echo_n "(cached) " >&6
   9377 else
   9378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9379 /* end confdefs.h.  */
   9380 int i;
   9381 int
   9382 main ()
   9383 {
   9384 
   9385   ;
   9386   return 0;
   9387 }
   9388 _ACEOF
   9389 if ac_fn_c_try_link "$LINENO"; then :
   9390   eval $cacheid=yes
   9391 else
   9392   eval $cacheid=no
   9393 fi
   9394 rm -f core conftest.err conftest.$ac_objext \
   9395     conftest$ac_exeext conftest.$ac_ext
   9396 fi
   9397 
   9398 
   9399 		CFLAGS="$xorg_testset_save_CFLAGS"
   9400 
   9401 		eval supported=\$$cacheid
   9402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9403 $as_echo "$supported" >&6; }
   9404 		if test "$supported" = "yes" ; then
   9405 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9406 			found="yes"
   9407 		fi
   9408 	fi
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 xorg_testset_save_CFLAGS="$CFLAGS"
   9425 
   9426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9429 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9430 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9431   $as_echo_n "(cached) " >&6
   9432 else
   9433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9434 /* end confdefs.h.  */
   9435 int i;
   9436 _ACEOF
   9437 if ac_fn_c_try_compile "$LINENO"; then :
   9438   xorg_cv_cc_flag_unknown_warning_option=yes
   9439 else
   9440   xorg_cv_cc_flag_unknown_warning_option=no
   9441 fi
   9442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9443 fi
   9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9445 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9447 	CFLAGS="$xorg_testset_save_CFLAGS"
   9448 fi
   9449 
   9450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9453 	fi
   9454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9456 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9457 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9458   $as_echo_n "(cached) " >&6
   9459 else
   9460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9461 /* end confdefs.h.  */
   9462 int i;
   9463 _ACEOF
   9464 if ac_fn_c_try_compile "$LINENO"; then :
   9465   xorg_cv_cc_flag_unused_command_line_argument=yes
   9466 else
   9467   xorg_cv_cc_flag_unused_command_line_argument=no
   9468 fi
   9469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9470 fi
   9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9472 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9474 	CFLAGS="$xorg_testset_save_CFLAGS"
   9475 fi
   9476 
   9477 found="no"
   9478 
   9479 	if test $found = "no" ; then
   9480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9482 		fi
   9483 
   9484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9486 		fi
   9487 
   9488 		CFLAGS="$CFLAGS -Warray-bounds"
   9489 
   9490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9491 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9492 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9493 		if eval \${$cacheid+:} false; then :
   9494   $as_echo_n "(cached) " >&6
   9495 else
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 int i;
   9499 int
   9500 main ()
   9501 {
   9502 
   9503   ;
   9504   return 0;
   9505 }
   9506 _ACEOF
   9507 if ac_fn_c_try_link "$LINENO"; then :
   9508   eval $cacheid=yes
   9509 else
   9510   eval $cacheid=no
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext \
   9513     conftest$ac_exeext conftest.$ac_ext
   9514 fi
   9515 
   9516 
   9517 		CFLAGS="$xorg_testset_save_CFLAGS"
   9518 
   9519 		eval supported=\$$cacheid
   9520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9521 $as_echo "$supported" >&6; }
   9522 		if test "$supported" = "yes" ; then
   9523 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9524 			found="yes"
   9525 		fi
   9526 	fi
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 xorg_testset_save_CFLAGS="$CFLAGS"
   9543 
   9544 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9547 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9548 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9549   $as_echo_n "(cached) " >&6
   9550 else
   9551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9552 /* end confdefs.h.  */
   9553 int i;
   9554 _ACEOF
   9555 if ac_fn_c_try_compile "$LINENO"; then :
   9556   xorg_cv_cc_flag_unknown_warning_option=yes
   9557 else
   9558   xorg_cv_cc_flag_unknown_warning_option=no
   9559 fi
   9560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9561 fi
   9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9563 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9565 	CFLAGS="$xorg_testset_save_CFLAGS"
   9566 fi
   9567 
   9568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 	fi
   9572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9574 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9575 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9576   $as_echo_n "(cached) " >&6
   9577 else
   9578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9579 /* end confdefs.h.  */
   9580 int i;
   9581 _ACEOF
   9582 if ac_fn_c_try_compile "$LINENO"; then :
   9583   xorg_cv_cc_flag_unused_command_line_argument=yes
   9584 else
   9585   xorg_cv_cc_flag_unused_command_line_argument=no
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9588 fi
   9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9590 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9592 	CFLAGS="$xorg_testset_save_CFLAGS"
   9593 fi
   9594 
   9595 found="no"
   9596 
   9597 	if test $found = "no" ; then
   9598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9600 		fi
   9601 
   9602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9604 		fi
   9605 
   9606 		CFLAGS="$CFLAGS -Wwrite-strings"
   9607 
   9608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9609 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9610 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9611 		if eval \${$cacheid+:} false; then :
   9612   $as_echo_n "(cached) " >&6
   9613 else
   9614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9615 /* end confdefs.h.  */
   9616 int i;
   9617 int
   9618 main ()
   9619 {
   9620 
   9621   ;
   9622   return 0;
   9623 }
   9624 _ACEOF
   9625 if ac_fn_c_try_link "$LINENO"; then :
   9626   eval $cacheid=yes
   9627 else
   9628   eval $cacheid=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext \
   9631     conftest$ac_exeext conftest.$ac_ext
   9632 fi
   9633 
   9634 
   9635 		CFLAGS="$xorg_testset_save_CFLAGS"
   9636 
   9637 		eval supported=\$$cacheid
   9638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9639 $as_echo "$supported" >&6; }
   9640 		if test "$supported" = "yes" ; then
   9641 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9642 			found="yes"
   9643 		fi
   9644 	fi
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 xorg_testset_save_CFLAGS="$CFLAGS"
   9661 
   9662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9665 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9666 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9667   $as_echo_n "(cached) " >&6
   9668 else
   9669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9670 /* end confdefs.h.  */
   9671 int i;
   9672 _ACEOF
   9673 if ac_fn_c_try_compile "$LINENO"; then :
   9674   xorg_cv_cc_flag_unknown_warning_option=yes
   9675 else
   9676   xorg_cv_cc_flag_unknown_warning_option=no
   9677 fi
   9678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9679 fi
   9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9681 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9683 	CFLAGS="$xorg_testset_save_CFLAGS"
   9684 fi
   9685 
   9686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9689 	fi
   9690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9692 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9693 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9694   $as_echo_n "(cached) " >&6
   9695 else
   9696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 _ACEOF
   9700 if ac_fn_c_try_compile "$LINENO"; then :
   9701   xorg_cv_cc_flag_unused_command_line_argument=yes
   9702 else
   9703   xorg_cv_cc_flag_unused_command_line_argument=no
   9704 fi
   9705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9706 fi
   9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9708 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9709 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9710 	CFLAGS="$xorg_testset_save_CFLAGS"
   9711 fi
   9712 
   9713 found="no"
   9714 
   9715 	if test $found = "no" ; then
   9716 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9717 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9718 		fi
   9719 
   9720 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9721 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9722 		fi
   9723 
   9724 		CFLAGS="$CFLAGS -Waddress"
   9725 
   9726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9727 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9728 		cacheid=xorg_cv_cc_flag__Waddress
   9729 		if eval \${$cacheid+:} false; then :
   9730   $as_echo_n "(cached) " >&6
   9731 else
   9732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9733 /* end confdefs.h.  */
   9734 int i;
   9735 int
   9736 main ()
   9737 {
   9738 
   9739   ;
   9740   return 0;
   9741 }
   9742 _ACEOF
   9743 if ac_fn_c_try_link "$LINENO"; then :
   9744   eval $cacheid=yes
   9745 else
   9746   eval $cacheid=no
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext \
   9749     conftest$ac_exeext conftest.$ac_ext
   9750 fi
   9751 
   9752 
   9753 		CFLAGS="$xorg_testset_save_CFLAGS"
   9754 
   9755 		eval supported=\$$cacheid
   9756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9757 $as_echo "$supported" >&6; }
   9758 		if test "$supported" = "yes" ; then
   9759 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9760 			found="yes"
   9761 		fi
   9762 	fi
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 xorg_testset_save_CFLAGS="$CFLAGS"
   9779 
   9780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9783 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9784 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9785   $as_echo_n "(cached) " >&6
   9786 else
   9787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9788 /* end confdefs.h.  */
   9789 int i;
   9790 _ACEOF
   9791 if ac_fn_c_try_compile "$LINENO"; then :
   9792   xorg_cv_cc_flag_unknown_warning_option=yes
   9793 else
   9794   xorg_cv_cc_flag_unknown_warning_option=no
   9795 fi
   9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9797 fi
   9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9799 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9801 	CFLAGS="$xorg_testset_save_CFLAGS"
   9802 fi
   9803 
   9804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9807 	fi
   9808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9810 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9811 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9812   $as_echo_n "(cached) " >&6
   9813 else
   9814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9815 /* end confdefs.h.  */
   9816 int i;
   9817 _ACEOF
   9818 if ac_fn_c_try_compile "$LINENO"; then :
   9819   xorg_cv_cc_flag_unused_command_line_argument=yes
   9820 else
   9821   xorg_cv_cc_flag_unused_command_line_argument=no
   9822 fi
   9823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9824 fi
   9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9826 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9828 	CFLAGS="$xorg_testset_save_CFLAGS"
   9829 fi
   9830 
   9831 found="no"
   9832 
   9833 	if test $found = "no" ; then
   9834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9836 		fi
   9837 
   9838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9840 		fi
   9841 
   9842 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9843 
   9844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9845 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9846 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9847 		if eval \${$cacheid+:} false; then :
   9848   $as_echo_n "(cached) " >&6
   9849 else
   9850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9851 /* end confdefs.h.  */
   9852 int i;
   9853 int
   9854 main ()
   9855 {
   9856 
   9857   ;
   9858   return 0;
   9859 }
   9860 _ACEOF
   9861 if ac_fn_c_try_link "$LINENO"; then :
   9862   eval $cacheid=yes
   9863 else
   9864   eval $cacheid=no
   9865 fi
   9866 rm -f core conftest.err conftest.$ac_objext \
   9867     conftest$ac_exeext conftest.$ac_ext
   9868 fi
   9869 
   9870 
   9871 		CFLAGS="$xorg_testset_save_CFLAGS"
   9872 
   9873 		eval supported=\$$cacheid
   9874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9875 $as_echo "$supported" >&6; }
   9876 		if test "$supported" = "yes" ; then
   9877 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9878 			found="yes"
   9879 		fi
   9880 	fi
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 xorg_testset_save_CFLAGS="$CFLAGS"
   9897 
   9898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9901 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9902 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9903   $as_echo_n "(cached) " >&6
   9904 else
   9905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9906 /* end confdefs.h.  */
   9907 int i;
   9908 _ACEOF
   9909 if ac_fn_c_try_compile "$LINENO"; then :
   9910   xorg_cv_cc_flag_unknown_warning_option=yes
   9911 else
   9912   xorg_cv_cc_flag_unknown_warning_option=no
   9913 fi
   9914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9915 fi
   9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9917 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9918 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9919 	CFLAGS="$xorg_testset_save_CFLAGS"
   9920 fi
   9921 
   9922 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9923 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9924 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9925 	fi
   9926 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9928 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9929 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9930   $as_echo_n "(cached) " >&6
   9931 else
   9932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9933 /* end confdefs.h.  */
   9934 int i;
   9935 _ACEOF
   9936 if ac_fn_c_try_compile "$LINENO"; then :
   9937   xorg_cv_cc_flag_unused_command_line_argument=yes
   9938 else
   9939   xorg_cv_cc_flag_unused_command_line_argument=no
   9940 fi
   9941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9942 fi
   9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9944 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9946 	CFLAGS="$xorg_testset_save_CFLAGS"
   9947 fi
   9948 
   9949 found="no"
   9950 
   9951 	if test $found = "no" ; then
   9952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9954 		fi
   9955 
   9956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9958 		fi
   9959 
   9960 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9961 
   9962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9963 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9964 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9965 		if eval \${$cacheid+:} false; then :
   9966   $as_echo_n "(cached) " >&6
   9967 else
   9968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9969 /* end confdefs.h.  */
   9970 int i;
   9971 int
   9972 main ()
   9973 {
   9974 
   9975   ;
   9976   return 0;
   9977 }
   9978 _ACEOF
   9979 if ac_fn_c_try_link "$LINENO"; then :
   9980   eval $cacheid=yes
   9981 else
   9982   eval $cacheid=no
   9983 fi
   9984 rm -f core conftest.err conftest.$ac_objext \
   9985     conftest$ac_exeext conftest.$ac_ext
   9986 fi
   9987 
   9988 
   9989 		CFLAGS="$xorg_testset_save_CFLAGS"
   9990 
   9991 		eval supported=\$$cacheid
   9992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9993 $as_echo "$supported" >&6; }
   9994 		if test "$supported" = "yes" ; then
   9995 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9996 			found="yes"
   9997 		fi
   9998 	fi
   9999 
   10000 
   10001 fi
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 		CWARNFLAGS="$BASE_CFLAGS"
   10010 		if  test "x$GCC" = xyes ; then
   10011 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10012 		fi
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 # Check whether --enable-strict-compilation was given.
   10022 if test "${enable_strict_compilation+set}" = set; then :
   10023   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10024 else
   10025   STRICT_COMPILE=no
   10026 fi
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 STRICT_CFLAGS=""
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 xorg_testset_save_CFLAGS="$CFLAGS"
   10048 
   10049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10054   $as_echo_n "(cached) " >&6
   10055 else
   10056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10057 /* end confdefs.h.  */
   10058 int i;
   10059 _ACEOF
   10060 if ac_fn_c_try_compile "$LINENO"; then :
   10061   xorg_cv_cc_flag_unknown_warning_option=yes
   10062 else
   10063   xorg_cv_cc_flag_unknown_warning_option=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10066 fi
   10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10070 	CFLAGS="$xorg_testset_save_CFLAGS"
   10071 fi
   10072 
   10073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10076 	fi
   10077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10081   $as_echo_n "(cached) " >&6
   10082 else
   10083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10084 /* end confdefs.h.  */
   10085 int i;
   10086 _ACEOF
   10087 if ac_fn_c_try_compile "$LINENO"; then :
   10088   xorg_cv_cc_flag_unused_command_line_argument=yes
   10089 else
   10090   xorg_cv_cc_flag_unused_command_line_argument=no
   10091 fi
   10092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10093 fi
   10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10097 	CFLAGS="$xorg_testset_save_CFLAGS"
   10098 fi
   10099 
   10100 found="no"
   10101 
   10102 	if test $found = "no" ; then
   10103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10105 		fi
   10106 
   10107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10109 		fi
   10110 
   10111 		CFLAGS="$CFLAGS -pedantic"
   10112 
   10113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10114 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10115 		cacheid=xorg_cv_cc_flag__pedantic
   10116 		if eval \${$cacheid+:} false; then :
   10117   $as_echo_n "(cached) " >&6
   10118 else
   10119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10120 /* end confdefs.h.  */
   10121 int i;
   10122 int
   10123 main ()
   10124 {
   10125 
   10126   ;
   10127   return 0;
   10128 }
   10129 _ACEOF
   10130 if ac_fn_c_try_link "$LINENO"; then :
   10131   eval $cacheid=yes
   10132 else
   10133   eval $cacheid=no
   10134 fi
   10135 rm -f core conftest.err conftest.$ac_objext \
   10136     conftest$ac_exeext conftest.$ac_ext
   10137 fi
   10138 
   10139 
   10140 		CFLAGS="$xorg_testset_save_CFLAGS"
   10141 
   10142 		eval supported=\$$cacheid
   10143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10144 $as_echo "$supported" >&6; }
   10145 		if test "$supported" = "yes" ; then
   10146 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10147 			found="yes"
   10148 		fi
   10149 	fi
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 xorg_testset_save_CFLAGS="$CFLAGS"
   10166 
   10167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10170 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10171 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10172   $as_echo_n "(cached) " >&6
   10173 else
   10174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10175 /* end confdefs.h.  */
   10176 int i;
   10177 _ACEOF
   10178 if ac_fn_c_try_compile "$LINENO"; then :
   10179   xorg_cv_cc_flag_unknown_warning_option=yes
   10180 else
   10181   xorg_cv_cc_flag_unknown_warning_option=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10184 fi
   10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10186 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10188 	CFLAGS="$xorg_testset_save_CFLAGS"
   10189 fi
   10190 
   10191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 	fi
   10195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10198 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10199   $as_echo_n "(cached) " >&6
   10200 else
   10201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10202 /* end confdefs.h.  */
   10203 int i;
   10204 _ACEOF
   10205 if ac_fn_c_try_compile "$LINENO"; then :
   10206   xorg_cv_cc_flag_unused_command_line_argument=yes
   10207 else
   10208   xorg_cv_cc_flag_unused_command_line_argument=no
   10209 fi
   10210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10211 fi
   10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10213 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10215 	CFLAGS="$xorg_testset_save_CFLAGS"
   10216 fi
   10217 
   10218 found="no"
   10219 
   10220 	if test $found = "no" ; then
   10221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10223 		fi
   10224 
   10225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10227 		fi
   10228 
   10229 		CFLAGS="$CFLAGS -Werror"
   10230 
   10231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10232 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10233 		cacheid=xorg_cv_cc_flag__Werror
   10234 		if eval \${$cacheid+:} false; then :
   10235   $as_echo_n "(cached) " >&6
   10236 else
   10237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 int
   10241 main ()
   10242 {
   10243 
   10244   ;
   10245   return 0;
   10246 }
   10247 _ACEOF
   10248 if ac_fn_c_try_link "$LINENO"; then :
   10249   eval $cacheid=yes
   10250 else
   10251   eval $cacheid=no
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext \
   10254     conftest$ac_exeext conftest.$ac_ext
   10255 fi
   10256 
   10257 
   10258 		CFLAGS="$xorg_testset_save_CFLAGS"
   10259 
   10260 		eval supported=\$$cacheid
   10261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10262 $as_echo "$supported" >&6; }
   10263 		if test "$supported" = "yes" ; then
   10264 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10265 			found="yes"
   10266 		fi
   10267 	fi
   10268 
   10269 	if test $found = "no" ; then
   10270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10272 		fi
   10273 
   10274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10276 		fi
   10277 
   10278 		CFLAGS="$CFLAGS -errwarn"
   10279 
   10280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10281 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10282 		cacheid=xorg_cv_cc_flag__errwarn
   10283 		if eval \${$cacheid+:} false; then :
   10284   $as_echo_n "(cached) " >&6
   10285 else
   10286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10287 /* end confdefs.h.  */
   10288 int i;
   10289 int
   10290 main ()
   10291 {
   10292 
   10293   ;
   10294   return 0;
   10295 }
   10296 _ACEOF
   10297 if ac_fn_c_try_link "$LINENO"; then :
   10298   eval $cacheid=yes
   10299 else
   10300   eval $cacheid=no
   10301 fi
   10302 rm -f core conftest.err conftest.$ac_objext \
   10303     conftest$ac_exeext conftest.$ac_ext
   10304 fi
   10305 
   10306 
   10307 		CFLAGS="$xorg_testset_save_CFLAGS"
   10308 
   10309 		eval supported=\$$cacheid
   10310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10311 $as_echo "$supported" >&6; }
   10312 		if test "$supported" = "yes" ; then
   10313 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10314 			found="yes"
   10315 		fi
   10316 	fi
   10317 
   10318 
   10319 
   10320 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10321 # activate it with -Werror, so we add it here explicitly.
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 xorg_testset_save_CFLAGS="$CFLAGS"
   10336 
   10337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10342   $as_echo_n "(cached) " >&6
   10343 else
   10344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10345 /* end confdefs.h.  */
   10346 int i;
   10347 _ACEOF
   10348 if ac_fn_c_try_compile "$LINENO"; then :
   10349   xorg_cv_cc_flag_unknown_warning_option=yes
   10350 else
   10351   xorg_cv_cc_flag_unknown_warning_option=no
   10352 fi
   10353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10354 fi
   10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10358 	CFLAGS="$xorg_testset_save_CFLAGS"
   10359 fi
   10360 
   10361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10364 	fi
   10365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10369   $as_echo_n "(cached) " >&6
   10370 else
   10371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10372 /* end confdefs.h.  */
   10373 int i;
   10374 _ACEOF
   10375 if ac_fn_c_try_compile "$LINENO"; then :
   10376   xorg_cv_cc_flag_unused_command_line_argument=yes
   10377 else
   10378   xorg_cv_cc_flag_unused_command_line_argument=no
   10379 fi
   10380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10381 fi
   10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10385 	CFLAGS="$xorg_testset_save_CFLAGS"
   10386 fi
   10387 
   10388 found="no"
   10389 
   10390 	if test $found = "no" ; then
   10391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 		fi
   10394 
   10395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10397 		fi
   10398 
   10399 		CFLAGS="$CFLAGS -Werror=attributes"
   10400 
   10401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10402 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10403 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10404 		if eval \${$cacheid+:} false; then :
   10405   $as_echo_n "(cached) " >&6
   10406 else
   10407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 int
   10411 main ()
   10412 {
   10413 
   10414   ;
   10415   return 0;
   10416 }
   10417 _ACEOF
   10418 if ac_fn_c_try_link "$LINENO"; then :
   10419   eval $cacheid=yes
   10420 else
   10421   eval $cacheid=no
   10422 fi
   10423 rm -f core conftest.err conftest.$ac_objext \
   10424     conftest$ac_exeext conftest.$ac_ext
   10425 fi
   10426 
   10427 
   10428 		CFLAGS="$xorg_testset_save_CFLAGS"
   10429 
   10430 		eval supported=\$$cacheid
   10431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10432 $as_echo "$supported" >&6; }
   10433 		if test "$supported" = "yes" ; then
   10434 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10435 			found="yes"
   10436 		fi
   10437 	fi
   10438 
   10439 
   10440 
   10441 if test "x$STRICT_COMPILE" = "xyes"; then
   10442     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10443     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10444 fi
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 cat >>confdefs.h <<_ACEOF
   10452 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10453 _ACEOF
   10454 
   10455 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10456 	if test "x$PVM" = "x"; then
   10457 		PVM="0"
   10458 	fi
   10459 
   10460 cat >>confdefs.h <<_ACEOF
   10461 #define PACKAGE_VERSION_MINOR $PVM
   10462 _ACEOF
   10463 
   10464 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10465 	if test "x$PVP" = "x"; then
   10466 		PVP="0"
   10467 	fi
   10468 
   10469 cat >>confdefs.h <<_ACEOF
   10470 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10471 _ACEOF
   10472 
   10473 
   10474 
   10475 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10476 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10477 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10478 touch \$(top_srcdir)/ChangeLog; \
   10479 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10480 
   10481 
   10482 
   10483 
   10484 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10485 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10486 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10487 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10488 touch \$(top_srcdir)/INSTALL; \
   10489 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 case $host_os in
   10497     solaris*)
   10498         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10499         # check for a man page file found in later versions that use
   10500         # traditional section numbers instead
   10501         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10502 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10503 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10504   $as_echo_n "(cached) " >&6
   10505 else
   10506   test "$cross_compiling" = yes &&
   10507   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10508 if test -r "/usr/share/man/man7/attributes.7"; then
   10509   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10510 else
   10511   ac_cv_file__usr_share_man_man7_attributes_7=no
   10512 fi
   10513 fi
   10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10515 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10516 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10517   SYSV_MAN_SECTIONS=false
   10518 else
   10519   SYSV_MAN_SECTIONS=true
   10520 fi
   10521 
   10522         ;;
   10523     *) SYSV_MAN_SECTIONS=false ;;
   10524 esac
   10525 
   10526 if test x$APP_MAN_SUFFIX = x    ; then
   10527     APP_MAN_SUFFIX=1
   10528 fi
   10529 if test x$APP_MAN_DIR = x    ; then
   10530     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10531 fi
   10532 
   10533 if test x$LIB_MAN_SUFFIX = x    ; then
   10534     LIB_MAN_SUFFIX=3
   10535 fi
   10536 if test x$LIB_MAN_DIR = x    ; then
   10537     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10538 fi
   10539 
   10540 if test x$FILE_MAN_SUFFIX = x    ; then
   10541     case $SYSV_MAN_SECTIONS in
   10542 	true)				FILE_MAN_SUFFIX=4  ;;
   10543 	*)				FILE_MAN_SUFFIX=5  ;;
   10544     esac
   10545 fi
   10546 if test x$FILE_MAN_DIR = x    ; then
   10547     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10548 fi
   10549 
   10550 if test x$MISC_MAN_SUFFIX = x    ; then
   10551     case $SYSV_MAN_SECTIONS in
   10552 	true)				MISC_MAN_SUFFIX=5  ;;
   10553 	*)				MISC_MAN_SUFFIX=7  ;;
   10554     esac
   10555 fi
   10556 if test x$MISC_MAN_DIR = x    ; then
   10557     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10558 fi
   10559 
   10560 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10561     case $SYSV_MAN_SECTIONS in
   10562 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10563 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10564     esac
   10565 fi
   10566 if test x$DRIVER_MAN_DIR = x    ; then
   10567     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10568 fi
   10569 
   10570 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10571     case $SYSV_MAN_SECTIONS in
   10572 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10573 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10574     esac
   10575 fi
   10576 if test x$ADMIN_MAN_DIR = x    ; then
   10577     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10578 fi
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 XORG_MAN_PAGE="X Version 11"
   10595 
   10596 MAN_SUBSTS="\
   10597 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10598 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10599 	-e 's|__xservername__|Xorg|g' \
   10600 	-e 's|__xconfigfile__|xorg.conf|g' \
   10601 	-e 's|__projectroot__|\$(prefix)|g' \
   10602 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10603 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10604 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10605 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10606 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10607 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10608 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10609 
   10610 
   10611 
   10612 # Check whether --enable-silent-rules was given.
   10613 if test "${enable_silent_rules+set}" = set; then :
   10614   enableval=$enable_silent_rules;
   10615 fi
   10616 
   10617 case $enable_silent_rules in # (((
   10618   yes) AM_DEFAULT_VERBOSITY=0;;
   10619    no) AM_DEFAULT_VERBOSITY=1;;
   10620     *) AM_DEFAULT_VERBOSITY=0;;
   10621 esac
   10622 am_make=${MAKE-make}
   10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10624 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10625 if ${am_cv_make_support_nested_variables+:} false; then :
   10626   $as_echo_n "(cached) " >&6
   10627 else
   10628   if $as_echo 'TRUE=$(BAR$(V))
   10629 BAR0=false
   10630 BAR1=true
   10631 V=1
   10632 am__doit:
   10633 	@$(TRUE)
   10634 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10635   am_cv_make_support_nested_variables=yes
   10636 else
   10637   am_cv_make_support_nested_variables=no
   10638 fi
   10639 fi
   10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10641 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10642 if test $am_cv_make_support_nested_variables = yes; then
   10643     AM_V='$(V)'
   10644   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10645 else
   10646   AM_V=$AM_DEFAULT_VERBOSITY
   10647   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10648 fi
   10649 AM_BACKSLASH='\'
   10650 
   10651 
   10652 
   10653 # Obtain compiler/linker options for dependencies
   10654 
   10655 pkg_failed=no
   10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINPUT" >&5
   10657 $as_echo_n "checking for XINPUT... " >&6; }
   10658 
   10659 if test -n "$XINPUT_CFLAGS"; then
   10660     pkg_cv_XINPUT_CFLAGS="$XINPUT_CFLAGS"
   10661  elif test -n "$PKG_CONFIG"; then
   10662     if test -n "$PKG_CONFIG" && \
   10663     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama\""; } >&5
   10664   ($PKG_CONFIG --exists --print-errors "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama") 2>&5
   10665   ac_status=$?
   10666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10667   test $ac_status = 0; }; then
   10668   pkg_cv_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama" 2>/dev/null`
   10669 		      test "x$?" != "x0" && pkg_failed=yes
   10670 else
   10671   pkg_failed=yes
   10672 fi
   10673  else
   10674     pkg_failed=untried
   10675 fi
   10676 if test -n "$XINPUT_LIBS"; then
   10677     pkg_cv_XINPUT_LIBS="$XINPUT_LIBS"
   10678  elif test -n "$PKG_CONFIG"; then
   10679     if test -n "$PKG_CONFIG" && \
   10680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama\""; } >&5
   10681   ($PKG_CONFIG --exists --print-errors "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama") 2>&5
   10682   ac_status=$?
   10683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10684   test $ac_status = 0; }; then
   10685   pkg_cv_XINPUT_LIBS=`$PKG_CONFIG --libs "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama" 2>/dev/null`
   10686 		      test "x$?" != "x0" && pkg_failed=yes
   10687 else
   10688   pkg_failed=yes
   10689 fi
   10690  else
   10691     pkg_failed=untried
   10692 fi
   10693 
   10694 
   10695 
   10696 if test $pkg_failed = yes; then
   10697    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10698 $as_echo "no" >&6; }
   10699 
   10700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10701         _pkg_short_errors_supported=yes
   10702 else
   10703         _pkg_short_errors_supported=no
   10704 fi
   10705         if test $_pkg_short_errors_supported = yes; then
   10706 	        XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama" 2>&1`
   10707         else
   10708 	        XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama" 2>&1`
   10709         fi
   10710 	# Put the nasty error message in config.log where it belongs
   10711 	echo "$XINPUT_PKG_ERRORS" >&5
   10712 
   10713 	as_fn_error $? "Package requirements (x11 xext xi >= 1.2 inputproto >= 1.5 xrandr xinerama) were not met:
   10714 
   10715 $XINPUT_PKG_ERRORS
   10716 
   10717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10718 installed software in a non-standard prefix.
   10719 
   10720 Alternatively, you may set the environment variables XINPUT_CFLAGS
   10721 and XINPUT_LIBS to avoid the need to call pkg-config.
   10722 See the pkg-config man page for more details." "$LINENO" 5
   10723 elif test $pkg_failed = untried; then
   10724      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10725 $as_echo "no" >&6; }
   10726 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10728 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10729 is in your PATH or set the PKG_CONFIG environment variable to the full
   10730 path to pkg-config.
   10731 
   10732 Alternatively, you may set the environment variables XINPUT_CFLAGS
   10733 and XINPUT_LIBS to avoid the need to call pkg-config.
   10734 See the pkg-config man page for more details.
   10735 
   10736 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10737 See \`config.log' for more details" "$LINENO" 5; }
   10738 else
   10739 	XINPUT_CFLAGS=$pkg_cv_XINPUT_CFLAGS
   10740 	XINPUT_LIBS=$pkg_cv_XINPUT_LIBS
   10741         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10742 $as_echo "yes" >&6; }
   10743 
   10744 fi
   10745 
   10746 # XI2 support
   10747 
   10748 pkg_failed=no
   10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XI2" >&5
   10750 $as_echo_n "checking for XI2... " >&6; }
   10751 
   10752 if test -n "$XI2_CFLAGS"; then
   10753     pkg_cv_XI2_CFLAGS="$XI2_CFLAGS"
   10754  elif test -n "$PKG_CONFIG"; then
   10755     if test -n "$PKG_CONFIG" && \
   10756     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.2.99.2 inputproto >= 1.9.99.15\""; } >&5
   10757   ($PKG_CONFIG --exists --print-errors "xi >= 1.2.99.2 inputproto >= 1.9.99.15") 2>&5
   10758   ac_status=$?
   10759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10760   test $ac_status = 0; }; then
   10761   pkg_cv_XI2_CFLAGS=`$PKG_CONFIG --cflags "xi >= 1.2.99.2 inputproto >= 1.9.99.15" 2>/dev/null`
   10762 		      test "x$?" != "x0" && pkg_failed=yes
   10763 else
   10764   pkg_failed=yes
   10765 fi
   10766  else
   10767     pkg_failed=untried
   10768 fi
   10769 if test -n "$XI2_LIBS"; then
   10770     pkg_cv_XI2_LIBS="$XI2_LIBS"
   10771  elif test -n "$PKG_CONFIG"; then
   10772     if test -n "$PKG_CONFIG" && \
   10773     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.2.99.2 inputproto >= 1.9.99.15\""; } >&5
   10774   ($PKG_CONFIG --exists --print-errors "xi >= 1.2.99.2 inputproto >= 1.9.99.15") 2>&5
   10775   ac_status=$?
   10776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10777   test $ac_status = 0; }; then
   10778   pkg_cv_XI2_LIBS=`$PKG_CONFIG --libs "xi >= 1.2.99.2 inputproto >= 1.9.99.15" 2>/dev/null`
   10779 		      test "x$?" != "x0" && pkg_failed=yes
   10780 else
   10781   pkg_failed=yes
   10782 fi
   10783  else
   10784     pkg_failed=untried
   10785 fi
   10786 
   10787 
   10788 
   10789 if test $pkg_failed = yes; then
   10790    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10791 $as_echo "no" >&6; }
   10792 
   10793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10794         _pkg_short_errors_supported=yes
   10795 else
   10796         _pkg_short_errors_supported=no
   10797 fi
   10798         if test $_pkg_short_errors_supported = yes; then
   10799 	        XI2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi >= 1.2.99.2 inputproto >= 1.9.99.15" 2>&1`
   10800         else
   10801 	        XI2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi >= 1.2.99.2 inputproto >= 1.9.99.15" 2>&1`
   10802         fi
   10803 	# Put the nasty error message in config.log where it belongs
   10804 	echo "$XI2_PKG_ERRORS" >&5
   10805 
   10806 	HAVE_XI2="no"
   10807 elif test $pkg_failed = untried; then
   10808      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10809 $as_echo "no" >&6; }
   10810 	HAVE_XI2="no"
   10811 else
   10812 	XI2_CFLAGS=$pkg_cv_XI2_CFLAGS
   10813 	XI2_LIBS=$pkg_cv_XI2_LIBS
   10814         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10815 $as_echo "yes" >&6; }
   10816 	HAVE_XI2="yes";
   10817 $as_echo "#define HAVE_XI2 1" >>confdefs.h
   10818 
   10819 fi;
   10820  if  test "$HAVE_XI2" = "yes" ; then
   10821   HAVE_XI2_TRUE=
   10822   HAVE_XI2_FALSE='#'
   10823 else
   10824   HAVE_XI2_TRUE='#'
   10825   HAVE_XI2_FALSE=
   10826 fi
   10827 
   10828 
   10829 
   10830 # XI2.1 support
   10831 
   10832 pkg_failed=no
   10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XI21" >&5
   10834 $as_echo_n "checking for XI21... " >&6; }
   10835 
   10836 if test -n "$XI21_CFLAGS"; then
   10837     pkg_cv_XI21_CFLAGS="$XI21_CFLAGS"
   10838  elif test -n "$PKG_CONFIG"; then
   10839     if test -n "$PKG_CONFIG" && \
   10840     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.4.99.1 inputproto >= 2.0.99.1\""; } >&5
   10841   ($PKG_CONFIG --exists --print-errors "xi >= 1.4.99.1 inputproto >= 2.0.99.1") 2>&5
   10842   ac_status=$?
   10843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10844   test $ac_status = 0; }; then
   10845   pkg_cv_XI21_CFLAGS=`$PKG_CONFIG --cflags "xi >= 1.4.99.1 inputproto >= 2.0.99.1" 2>/dev/null`
   10846 		      test "x$?" != "x0" && pkg_failed=yes
   10847 else
   10848   pkg_failed=yes
   10849 fi
   10850  else
   10851     pkg_failed=untried
   10852 fi
   10853 if test -n "$XI21_LIBS"; then
   10854     pkg_cv_XI21_LIBS="$XI21_LIBS"
   10855  elif test -n "$PKG_CONFIG"; then
   10856     if test -n "$PKG_CONFIG" && \
   10857     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.4.99.1 inputproto >= 2.0.99.1\""; } >&5
   10858   ($PKG_CONFIG --exists --print-errors "xi >= 1.4.99.1 inputproto >= 2.0.99.1") 2>&5
   10859   ac_status=$?
   10860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10861   test $ac_status = 0; }; then
   10862   pkg_cv_XI21_LIBS=`$PKG_CONFIG --libs "xi >= 1.4.99.1 inputproto >= 2.0.99.1" 2>/dev/null`
   10863 		      test "x$?" != "x0" && pkg_failed=yes
   10864 else
   10865   pkg_failed=yes
   10866 fi
   10867  else
   10868     pkg_failed=untried
   10869 fi
   10870 
   10871 
   10872 
   10873 if test $pkg_failed = yes; then
   10874    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10875 $as_echo "no" >&6; }
   10876 
   10877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10878         _pkg_short_errors_supported=yes
   10879 else
   10880         _pkg_short_errors_supported=no
   10881 fi
   10882         if test $_pkg_short_errors_supported = yes; then
   10883 	        XI21_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi >= 1.4.99.1 inputproto >= 2.0.99.1" 2>&1`
   10884         else
   10885 	        XI21_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi >= 1.4.99.1 inputproto >= 2.0.99.1" 2>&1`
   10886         fi
   10887 	# Put the nasty error message in config.log where it belongs
   10888 	echo "$XI21_PKG_ERRORS" >&5
   10889 
   10890 	as_fn_error $? "Package requirements (xi >= 1.4.99.1 inputproto >= 2.0.99.1) were not met:
   10891 
   10892 $XI21_PKG_ERRORS
   10893 
   10894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10895 installed software in a non-standard prefix.
   10896 
   10897 Alternatively, you may set the environment variables XI21_CFLAGS
   10898 and XI21_LIBS to avoid the need to call pkg-config.
   10899 See the pkg-config man page for more details." "$LINENO" 5
   10900 elif test $pkg_failed = untried; then
   10901      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10902 $as_echo "no" >&6; }
   10903 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10905 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10906 is in your PATH or set the PKG_CONFIG environment variable to the full
   10907 path to pkg-config.
   10908 
   10909 Alternatively, you may set the environment variables XI21_CFLAGS
   10910 and XI21_LIBS to avoid the need to call pkg-config.
   10911 See the pkg-config man page for more details.
   10912 
   10913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10914 See \`config.log' for more details" "$LINENO" 5; }
   10915 else
   10916 	XI21_CFLAGS=$pkg_cv_XI21_CFLAGS
   10917 	XI21_LIBS=$pkg_cv_XI21_LIBS
   10918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10919 $as_echo "yes" >&6; }
   10920 
   10921 $as_echo "#define HAVE_XI21 1" >>confdefs.h
   10922 
   10923 fi;
   10924 # XI2.2 support
   10925 
   10926 pkg_failed=no
   10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XI22" >&5
   10928 $as_echo_n "checking for XI22... " >&6; }
   10929 
   10930 if test -n "$XI22_CFLAGS"; then
   10931     pkg_cv_XI22_CFLAGS="$XI22_CFLAGS"
   10932  elif test -n "$PKG_CONFIG"; then
   10933     if test -n "$PKG_CONFIG" && \
   10934     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.5.99.1 inputproto >= 2.1.99.1\""; } >&5
   10935   ($PKG_CONFIG --exists --print-errors "xi >= 1.5.99.1 inputproto >= 2.1.99.1") 2>&5
   10936   ac_status=$?
   10937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10938   test $ac_status = 0; }; then
   10939   pkg_cv_XI22_CFLAGS=`$PKG_CONFIG --cflags "xi >= 1.5.99.1 inputproto >= 2.1.99.1" 2>/dev/null`
   10940 		      test "x$?" != "x0" && pkg_failed=yes
   10941 else
   10942   pkg_failed=yes
   10943 fi
   10944  else
   10945     pkg_failed=untried
   10946 fi
   10947 if test -n "$XI22_LIBS"; then
   10948     pkg_cv_XI22_LIBS="$XI22_LIBS"
   10949  elif test -n "$PKG_CONFIG"; then
   10950     if test -n "$PKG_CONFIG" && \
   10951     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.5.99.1 inputproto >= 2.1.99.1\""; } >&5
   10952   ($PKG_CONFIG --exists --print-errors "xi >= 1.5.99.1 inputproto >= 2.1.99.1") 2>&5
   10953   ac_status=$?
   10954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10955   test $ac_status = 0; }; then
   10956   pkg_cv_XI22_LIBS=`$PKG_CONFIG --libs "xi >= 1.5.99.1 inputproto >= 2.1.99.1" 2>/dev/null`
   10957 		      test "x$?" != "x0" && pkg_failed=yes
   10958 else
   10959   pkg_failed=yes
   10960 fi
   10961  else
   10962     pkg_failed=untried
   10963 fi
   10964 
   10965 
   10966 
   10967 if test $pkg_failed = yes; then
   10968    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10969 $as_echo "no" >&6; }
   10970 
   10971 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10972         _pkg_short_errors_supported=yes
   10973 else
   10974         _pkg_short_errors_supported=no
   10975 fi
   10976         if test $_pkg_short_errors_supported = yes; then
   10977 	        XI22_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi >= 1.5.99.1 inputproto >= 2.1.99.1" 2>&1`
   10978         else
   10979 	        XI22_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi >= 1.5.99.1 inputproto >= 2.1.99.1" 2>&1`
   10980         fi
   10981 	# Put the nasty error message in config.log where it belongs
   10982 	echo "$XI22_PKG_ERRORS" >&5
   10983 
   10984 	as_fn_error $? "Package requirements (xi >= 1.5.99.1 inputproto >= 2.1.99.1) were not met:
   10985 
   10986 $XI22_PKG_ERRORS
   10987 
   10988 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10989 installed software in a non-standard prefix.
   10990 
   10991 Alternatively, you may set the environment variables XI22_CFLAGS
   10992 and XI22_LIBS to avoid the need to call pkg-config.
   10993 See the pkg-config man page for more details." "$LINENO" 5
   10994 elif test $pkg_failed = untried; then
   10995      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10996 $as_echo "no" >&6; }
   10997 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10999 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11000 is in your PATH or set the PKG_CONFIG environment variable to the full
   11001 path to pkg-config.
   11002 
   11003 Alternatively, you may set the environment variables XI22_CFLAGS
   11004 and XI22_LIBS to avoid the need to call pkg-config.
   11005 See the pkg-config man page for more details.
   11006 
   11007 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11008 See \`config.log' for more details" "$LINENO" 5; }
   11009 else
   11010 	XI22_CFLAGS=$pkg_cv_XI22_CFLAGS
   11011 	XI22_LIBS=$pkg_cv_XI22_LIBS
   11012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11013 $as_echo "yes" >&6; }
   11014 
   11015 $as_echo "#define HAVE_XI22 1" >>confdefs.h
   11016 
   11017 fi;
   11018 
   11019 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   11020 
   11021 cat >confcache <<\_ACEOF
   11022 # This file is a shell script that caches the results of configure
   11023 # tests run on this system so they can be shared between configure
   11024 # scripts and configure runs, see configure's option --config-cache.
   11025 # It is not useful on other systems.  If it contains results you don't
   11026 # want to keep, you may remove or edit it.
   11027 #
   11028 # config.status only pays attention to the cache file if you give it
   11029 # the --recheck option to rerun configure.
   11030 #
   11031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11033 # following values.
   11034 
   11035 _ACEOF
   11036 
   11037 # The following way of writing the cache mishandles newlines in values,
   11038 # but we know of no workaround that is simple, portable, and efficient.
   11039 # So, we kill variables containing newlines.
   11040 # Ultrix sh set writes to stderr and can't be redirected directly,
   11041 # and sets the high bit in the cache file unless we assign to the vars.
   11042 (
   11043   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11044     eval ac_val=\$$ac_var
   11045     case $ac_val in #(
   11046     *${as_nl}*)
   11047       case $ac_var in #(
   11048       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11050       esac
   11051       case $ac_var in #(
   11052       _ | IFS | as_nl) ;; #(
   11053       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11054       *) { eval $ac_var=; unset $ac_var;} ;;
   11055       esac ;;
   11056     esac
   11057   done
   11058 
   11059   (set) 2>&1 |
   11060     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11061     *${as_nl}ac_space=\ *)
   11062       # `set' does not quote correctly, so add quotes: double-quote
   11063       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11064       sed -n \
   11065 	"s/'/'\\\\''/g;
   11066 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11067       ;; #(
   11068     *)
   11069       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11070       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11071       ;;
   11072     esac |
   11073     sort
   11074 ) |
   11075   sed '
   11076      /^ac_cv_env_/b end
   11077      t clear
   11078      :clear
   11079      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11080      t end
   11081      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11082      :end' >>confcache
   11083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11084   if test -w "$cache_file"; then
   11085     if test "x$cache_file" != "x/dev/null"; then
   11086       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11087 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11088       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11089 	cat confcache >"$cache_file"
   11090       else
   11091         case $cache_file in #(
   11092         */* | ?:*)
   11093 	  mv -f confcache "$cache_file"$$ &&
   11094 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11095         *)
   11096 	  mv -f confcache "$cache_file" ;;
   11097 	esac
   11098       fi
   11099     fi
   11100   else
   11101     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11102 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11103   fi
   11104 fi
   11105 rm -f confcache
   11106 
   11107 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11108 # Let make expand exec_prefix.
   11109 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11110 
   11111 DEFS=-DHAVE_CONFIG_H
   11112 
   11113 ac_libobjs=
   11114 ac_ltlibobjs=
   11115 U=
   11116 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11117   # 1. Remove the extension, and $U if already installed.
   11118   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11119   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11120   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11121   #    will be set to the directory where LIBOBJS objects are built.
   11122   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11123   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11124 done
   11125 LIBOBJS=$ac_libobjs
   11126 
   11127 LTLIBOBJS=$ac_ltlibobjs
   11128 
   11129 
   11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11131 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11132    if test -n "$am_sleep_pid"; then
   11133      # Hide warnings about reused PIDs.
   11134      wait $am_sleep_pid 2>/dev/null
   11135    fi
   11136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11137 $as_echo "done" >&6; }
   11138  if test -n "$EXEEXT"; then
   11139   am__EXEEXT_TRUE=
   11140   am__EXEEXT_FALSE='#'
   11141 else
   11142   am__EXEEXT_TRUE='#'
   11143   am__EXEEXT_FALSE=
   11144 fi
   11145 
   11146 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11147   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11149 fi
   11150 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11151   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11153 fi
   11154 if test -z "${HAVE_XI2_TRUE}" && test -z "${HAVE_XI2_FALSE}"; then
   11155   as_fn_error $? "conditional \"HAVE_XI2\" was never defined.
   11156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11157 fi
   11158 
   11159 : "${CONFIG_STATUS=./config.status}"
   11160 ac_write_fail=0
   11161 ac_clean_files_save=$ac_clean_files
   11162 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11164 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11165 as_write_fail=0
   11166 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11167 #! $SHELL
   11168 # Generated by $as_me.
   11169 # Run this file to recreate the current configuration.
   11170 # Compiler output produced by configure, useful for debugging
   11171 # configure, is in config.log if it exists.
   11172 
   11173 debug=false
   11174 ac_cs_recheck=false
   11175 ac_cs_silent=false
   11176 
   11177 SHELL=\${CONFIG_SHELL-$SHELL}
   11178 export SHELL
   11179 _ASEOF
   11180 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11181 ## -------------------- ##
   11182 ## M4sh Initialization. ##
   11183 ## -------------------- ##
   11184 
   11185 # Be more Bourne compatible
   11186 DUALCASE=1; export DUALCASE # for MKS sh
   11187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11188   emulate sh
   11189   NULLCMD=:
   11190   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11191   # is contrary to our usage.  Disable this feature.
   11192   alias -g '${1+"$@"}'='"$@"'
   11193   setopt NO_GLOB_SUBST
   11194 else
   11195   case `(set -o) 2>/dev/null` in #(
   11196   *posix*) :
   11197     set -o posix ;; #(
   11198   *) :
   11199      ;;
   11200 esac
   11201 fi
   11202 
   11203 
   11204 as_nl='
   11205 '
   11206 export as_nl
   11207 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11208 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11209 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11210 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11211 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11212 # but without wasting forks for bash or zsh.
   11213 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11214     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11215   as_echo='print -r --'
   11216   as_echo_n='print -rn --'
   11217 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11218   as_echo='printf %s\n'
   11219   as_echo_n='printf %s'
   11220 else
   11221   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11222     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11223     as_echo_n='/usr/ucb/echo -n'
   11224   else
   11225     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11226     as_echo_n_body='eval
   11227       arg=$1;
   11228       case $arg in #(
   11229       *"$as_nl"*)
   11230 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11231 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11232       esac;
   11233       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11234     '
   11235     export as_echo_n_body
   11236     as_echo_n='sh -c $as_echo_n_body as_echo'
   11237   fi
   11238   export as_echo_body
   11239   as_echo='sh -c $as_echo_body as_echo'
   11240 fi
   11241 
   11242 # The user is always right.
   11243 if test "${PATH_SEPARATOR+set}" != set; then
   11244   PATH_SEPARATOR=:
   11245   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11246     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11247       PATH_SEPARATOR=';'
   11248   }
   11249 fi
   11250 
   11251 
   11252 # IFS
   11253 # We need space, tab and new line, in precisely that order.  Quoting is
   11254 # there to prevent editors from complaining about space-tab.
   11255 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11256 # splitting by setting IFS to empty value.)
   11257 IFS=" ""	$as_nl"
   11258 
   11259 # Find who we are.  Look in the path if we contain no directory separator.
   11260 as_myself=
   11261 case $0 in #((
   11262   *[\\/]* ) as_myself=$0 ;;
   11263   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11264 for as_dir in $PATH
   11265 do
   11266   IFS=$as_save_IFS
   11267   test -z "$as_dir" && as_dir=.
   11268     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11269   done
   11270 IFS=$as_save_IFS
   11271 
   11272      ;;
   11273 esac
   11274 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11275 # in which case we are not to be found in the path.
   11276 if test "x$as_myself" = x; then
   11277   as_myself=$0
   11278 fi
   11279 if test ! -f "$as_myself"; then
   11280   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11281   exit 1
   11282 fi
   11283 
   11284 # Unset variables that we do not need and which cause bugs (e.g. in
   11285 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11286 # suppresses any "Segmentation fault" message there.  '((' could
   11287 # trigger a bug in pdksh 5.2.14.
   11288 for as_var in BASH_ENV ENV MAIL MAILPATH
   11289 do eval test x\${$as_var+set} = xset \
   11290   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11291 done
   11292 PS1='$ '
   11293 PS2='> '
   11294 PS4='+ '
   11295 
   11296 # NLS nuisances.
   11297 LC_ALL=C
   11298 export LC_ALL
   11299 LANGUAGE=C
   11300 export LANGUAGE
   11301 
   11302 # CDPATH.
   11303 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11304 
   11305 
   11306 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11307 # ----------------------------------------
   11308 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11309 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11310 # script with STATUS, using 1 if that was 0.
   11311 as_fn_error ()
   11312 {
   11313   as_status=$1; test $as_status -eq 0 && as_status=1
   11314   if test "$4"; then
   11315     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11316     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11317   fi
   11318   $as_echo "$as_me: error: $2" >&2
   11319   as_fn_exit $as_status
   11320 } # as_fn_error
   11321 
   11322 
   11323 # as_fn_set_status STATUS
   11324 # -----------------------
   11325 # Set $? to STATUS, without forking.
   11326 as_fn_set_status ()
   11327 {
   11328   return $1
   11329 } # as_fn_set_status
   11330 
   11331 # as_fn_exit STATUS
   11332 # -----------------
   11333 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11334 as_fn_exit ()
   11335 {
   11336   set +e
   11337   as_fn_set_status $1
   11338   exit $1
   11339 } # as_fn_exit
   11340 
   11341 # as_fn_unset VAR
   11342 # ---------------
   11343 # Portably unset VAR.
   11344 as_fn_unset ()
   11345 {
   11346   { eval $1=; unset $1;}
   11347 }
   11348 as_unset=as_fn_unset
   11349 # as_fn_append VAR VALUE
   11350 # ----------------------
   11351 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11352 # advantage of any shell optimizations that allow amortized linear growth over
   11353 # repeated appends, instead of the typical quadratic growth present in naive
   11354 # implementations.
   11355 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11356   eval 'as_fn_append ()
   11357   {
   11358     eval $1+=\$2
   11359   }'
   11360 else
   11361   as_fn_append ()
   11362   {
   11363     eval $1=\$$1\$2
   11364   }
   11365 fi # as_fn_append
   11366 
   11367 # as_fn_arith ARG...
   11368 # ------------------
   11369 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11370 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11371 # must be portable across $(()) and expr.
   11372 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11373   eval 'as_fn_arith ()
   11374   {
   11375     as_val=$(( $* ))
   11376   }'
   11377 else
   11378   as_fn_arith ()
   11379   {
   11380     as_val=`expr "$@" || test $? -eq 1`
   11381   }
   11382 fi # as_fn_arith
   11383 
   11384 
   11385 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11386    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11387   as_expr=expr
   11388 else
   11389   as_expr=false
   11390 fi
   11391 
   11392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11393   as_basename=basename
   11394 else
   11395   as_basename=false
   11396 fi
   11397 
   11398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11399   as_dirname=dirname
   11400 else
   11401   as_dirname=false
   11402 fi
   11403 
   11404 as_me=`$as_basename -- "$0" ||
   11405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11406 	 X"$0" : 'X\(//\)$' \| \
   11407 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11408 $as_echo X/"$0" |
   11409     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11410 	    s//\1/
   11411 	    q
   11412 	  }
   11413 	  /^X\/\(\/\/\)$/{
   11414 	    s//\1/
   11415 	    q
   11416 	  }
   11417 	  /^X\/\(\/\).*/{
   11418 	    s//\1/
   11419 	    q
   11420 	  }
   11421 	  s/.*/./; q'`
   11422 
   11423 # Avoid depending upon Character Ranges.
   11424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11427 as_cr_digits='0123456789'
   11428 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11429 
   11430 ECHO_C= ECHO_N= ECHO_T=
   11431 case `echo -n x` in #(((((
   11432 -n*)
   11433   case `echo 'xy\c'` in
   11434   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11435   xy)  ECHO_C='\c';;
   11436   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11437        ECHO_T='	';;
   11438   esac;;
   11439 *)
   11440   ECHO_N='-n';;
   11441 esac
   11442 
   11443 rm -f conf$$ conf$$.exe conf$$.file
   11444 if test -d conf$$.dir; then
   11445   rm -f conf$$.dir/conf$$.file
   11446 else
   11447   rm -f conf$$.dir
   11448   mkdir conf$$.dir 2>/dev/null
   11449 fi
   11450 if (echo >conf$$.file) 2>/dev/null; then
   11451   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11452     as_ln_s='ln -s'
   11453     # ... but there are two gotchas:
   11454     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11455     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11456     # In both cases, we have to default to `cp -pR'.
   11457     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11458       as_ln_s='cp -pR'
   11459   elif ln conf$$.file conf$$ 2>/dev/null; then
   11460     as_ln_s=ln
   11461   else
   11462     as_ln_s='cp -pR'
   11463   fi
   11464 else
   11465   as_ln_s='cp -pR'
   11466 fi
   11467 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11468 rmdir conf$$.dir 2>/dev/null
   11469 
   11470 
   11471 # as_fn_mkdir_p
   11472 # -------------
   11473 # Create "$as_dir" as a directory, including parents if necessary.
   11474 as_fn_mkdir_p ()
   11475 {
   11476 
   11477   case $as_dir in #(
   11478   -*) as_dir=./$as_dir;;
   11479   esac
   11480   test -d "$as_dir" || eval $as_mkdir_p || {
   11481     as_dirs=
   11482     while :; do
   11483       case $as_dir in #(
   11484       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11485       *) as_qdir=$as_dir;;
   11486       esac
   11487       as_dirs="'$as_qdir' $as_dirs"
   11488       as_dir=`$as_dirname -- "$as_dir" ||
   11489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11490 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11491 	 X"$as_dir" : 'X\(//\)$' \| \
   11492 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11493 $as_echo X"$as_dir" |
   11494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11495 	    s//\1/
   11496 	    q
   11497 	  }
   11498 	  /^X\(\/\/\)[^/].*/{
   11499 	    s//\1/
   11500 	    q
   11501 	  }
   11502 	  /^X\(\/\/\)$/{
   11503 	    s//\1/
   11504 	    q
   11505 	  }
   11506 	  /^X\(\/\).*/{
   11507 	    s//\1/
   11508 	    q
   11509 	  }
   11510 	  s/.*/./; q'`
   11511       test -d "$as_dir" && break
   11512     done
   11513     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11514   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11515 
   11516 
   11517 } # as_fn_mkdir_p
   11518 if mkdir -p . 2>/dev/null; then
   11519   as_mkdir_p='mkdir -p "$as_dir"'
   11520 else
   11521   test -d ./-p && rmdir ./-p
   11522   as_mkdir_p=false
   11523 fi
   11524 
   11525 
   11526 # as_fn_executable_p FILE
   11527 # -----------------------
   11528 # Test if FILE is an executable regular file.
   11529 as_fn_executable_p ()
   11530 {
   11531   test -f "$1" && test -x "$1"
   11532 } # as_fn_executable_p
   11533 as_test_x='test -x'
   11534 as_executable_p=as_fn_executable_p
   11535 
   11536 # Sed expression to map a string onto a valid CPP name.
   11537 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11538 
   11539 # Sed expression to map a string onto a valid variable name.
   11540 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11541 
   11542 
   11543 exec 6>&1
   11544 ## ----------------------------------- ##
   11545 ## Main body of $CONFIG_STATUS script. ##
   11546 ## ----------------------------------- ##
   11547 _ASEOF
   11548 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11549 
   11550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11551 # Save the log message, to keep $0 and so on meaningful, and to
   11552 # report actual input values of CONFIG_FILES etc. instead of their
   11553 # values after options handling.
   11554 ac_log="
   11555 This file was extended by xinput $as_me 1.6.3, which was
   11556 generated by GNU Autoconf 2.69.  Invocation command line was
   11557 
   11558   CONFIG_FILES    = $CONFIG_FILES
   11559   CONFIG_HEADERS  = $CONFIG_HEADERS
   11560   CONFIG_LINKS    = $CONFIG_LINKS
   11561   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11562   $ $0 $@
   11563 
   11564 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11565 "
   11566 
   11567 _ACEOF
   11568 
   11569 case $ac_config_files in *"
   11570 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11571 esac
   11572 
   11573 case $ac_config_headers in *"
   11574 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11575 esac
   11576 
   11577 
   11578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11579 # Files that config.status was made for.
   11580 config_files="$ac_config_files"
   11581 config_headers="$ac_config_headers"
   11582 config_commands="$ac_config_commands"
   11583 
   11584 _ACEOF
   11585 
   11586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11587 ac_cs_usage="\
   11588 \`$as_me' instantiates files and other configuration actions
   11589 from templates according to the current configuration.  Unless the files
   11590 and actions are specified as TAGs, all are instantiated by default.
   11591 
   11592 Usage: $0 [OPTION]... [TAG]...
   11593 
   11594   -h, --help       print this help, then exit
   11595   -V, --version    print version number and configuration settings, then exit
   11596       --config     print configuration, then exit
   11597   -q, --quiet, --silent
   11598                    do not print progress messages
   11599   -d, --debug      don't remove temporary files
   11600       --recheck    update $as_me by reconfiguring in the same conditions
   11601       --file=FILE[:TEMPLATE]
   11602                    instantiate the configuration file FILE
   11603       --header=FILE[:TEMPLATE]
   11604                    instantiate the configuration header FILE
   11605 
   11606 Configuration files:
   11607 $config_files
   11608 
   11609 Configuration headers:
   11610 $config_headers
   11611 
   11612 Configuration commands:
   11613 $config_commands
   11614 
   11615 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinput/issues>."
   11616 
   11617 _ACEOF
   11618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11619 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11620 ac_cs_version="\\
   11621 xinput config.status 1.6.3
   11622 configured by $0, generated by GNU Autoconf 2.69,
   11623   with options \\"\$ac_cs_config\\"
   11624 
   11625 Copyright (C) 2012 Free Software Foundation, Inc.
   11626 This config.status script is free software; the Free Software Foundation
   11627 gives unlimited permission to copy, distribute and modify it."
   11628 
   11629 ac_pwd='$ac_pwd'
   11630 srcdir='$srcdir'
   11631 INSTALL='$INSTALL'
   11632 MKDIR_P='$MKDIR_P'
   11633 AWK='$AWK'
   11634 test -n "\$AWK" || AWK=awk
   11635 _ACEOF
   11636 
   11637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11638 # The default lists apply if the user does not specify any file.
   11639 ac_need_defaults=:
   11640 while test $# != 0
   11641 do
   11642   case $1 in
   11643   --*=?*)
   11644     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11645     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11646     ac_shift=:
   11647     ;;
   11648   --*=)
   11649     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11650     ac_optarg=
   11651     ac_shift=:
   11652     ;;
   11653   *)
   11654     ac_option=$1
   11655     ac_optarg=$2
   11656     ac_shift=shift
   11657     ;;
   11658   esac
   11659 
   11660   case $ac_option in
   11661   # Handling of the options.
   11662   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11663     ac_cs_recheck=: ;;
   11664   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11665     $as_echo "$ac_cs_version"; exit ;;
   11666   --config | --confi | --conf | --con | --co | --c )
   11667     $as_echo "$ac_cs_config"; exit ;;
   11668   --debug | --debu | --deb | --de | --d | -d )
   11669     debug=: ;;
   11670   --file | --fil | --fi | --f )
   11671     $ac_shift
   11672     case $ac_optarg in
   11673     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11674     '') as_fn_error $? "missing file argument" ;;
   11675     esac
   11676     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11677     ac_need_defaults=false;;
   11678   --header | --heade | --head | --hea )
   11679     $ac_shift
   11680     case $ac_optarg in
   11681     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11682     esac
   11683     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11684     ac_need_defaults=false;;
   11685   --he | --h)
   11686     # Conflict between --help and --header
   11687     as_fn_error $? "ambiguous option: \`$1'
   11688 Try \`$0 --help' for more information.";;
   11689   --help | --hel | -h )
   11690     $as_echo "$ac_cs_usage"; exit ;;
   11691   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11692   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11693     ac_cs_silent=: ;;
   11694 
   11695   # This is an error.
   11696   -*) as_fn_error $? "unrecognized option: \`$1'
   11697 Try \`$0 --help' for more information." ;;
   11698 
   11699   *) as_fn_append ac_config_targets " $1"
   11700      ac_need_defaults=false ;;
   11701 
   11702   esac
   11703   shift
   11704 done
   11705 
   11706 ac_configure_extra_args=
   11707 
   11708 if $ac_cs_silent; then
   11709   exec 6>/dev/null
   11710   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11711 fi
   11712 
   11713 _ACEOF
   11714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11715 if \$ac_cs_recheck; then
   11716   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11717   shift
   11718   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11719   CONFIG_SHELL='$SHELL'
   11720   export CONFIG_SHELL
   11721   exec "\$@"
   11722 fi
   11723 
   11724 _ACEOF
   11725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11726 exec 5>>config.log
   11727 {
   11728   echo
   11729   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11730 ## Running $as_me. ##
   11731 _ASBOX
   11732   $as_echo "$ac_log"
   11733 } >&5
   11734 
   11735 _ACEOF
   11736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11737 #
   11738 # INIT-COMMANDS
   11739 #
   11740 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11741 
   11742 _ACEOF
   11743 
   11744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11745 
   11746 # Handling of arguments.
   11747 for ac_config_target in $ac_config_targets
   11748 do
   11749   case $ac_config_target in
   11750     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11751     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11752     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11753     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   11754     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11755 
   11756   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11757   esac
   11758 done
   11759 
   11760 
   11761 # If the user did not use the arguments to specify the items to instantiate,
   11762 # then the envvar interface is used.  Set only those that are not.
   11763 # We use the long form for the default assignment because of an extremely
   11764 # bizarre bug on SunOS 4.1.3.
   11765 if $ac_need_defaults; then
   11766   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11767   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11768   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11769 fi
   11770 
   11771 # Have a temporary directory for convenience.  Make it in the build tree
   11772 # simply because there is no reason against having it here, and in addition,
   11773 # creating and moving files from /tmp can sometimes cause problems.
   11774 # Hook for its removal unless debugging.
   11775 # Note that there is a small window in which the directory will not be cleaned:
   11776 # after its creation but before its name has been assigned to `$tmp'.
   11777 $debug ||
   11778 {
   11779   tmp= ac_tmp=
   11780   trap 'exit_status=$?
   11781   : "${ac_tmp:=$tmp}"
   11782   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11783 ' 0
   11784   trap 'as_fn_exit 1' 1 2 13 15
   11785 }
   11786 # Create a (secure) tmp directory for tmp files.
   11787 
   11788 {
   11789   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11790   test -d "$tmp"
   11791 }  ||
   11792 {
   11793   tmp=./conf$$-$RANDOM
   11794   (umask 077 && mkdir "$tmp")
   11795 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11796 ac_tmp=$tmp
   11797 
   11798 # Set up the scripts for CONFIG_FILES section.
   11799 # No need to generate them if there are no CONFIG_FILES.
   11800 # This happens for instance with `./config.status config.h'.
   11801 if test -n "$CONFIG_FILES"; then
   11802 
   11803 
   11804 ac_cr=`echo X | tr X '\015'`
   11805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11806 # But we know of no other shell where ac_cr would be empty at this
   11807 # point, so we can use a bashism as a fallback.
   11808 if test "x$ac_cr" = x; then
   11809   eval ac_cr=\$\'\\r\'
   11810 fi
   11811 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11813   ac_cs_awk_cr='\\r'
   11814 else
   11815   ac_cs_awk_cr=$ac_cr
   11816 fi
   11817 
   11818 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11819 _ACEOF
   11820 
   11821 
   11822 {
   11823   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11824   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11825   echo "_ACEOF"
   11826 } >conf$$subs.sh ||
   11827   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11829 ac_delim='%!_!# '
   11830 for ac_last_try in false false false false false :; do
   11831   . ./conf$$subs.sh ||
   11832     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11833 
   11834   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11835   if test $ac_delim_n = $ac_delim_num; then
   11836     break
   11837   elif $ac_last_try; then
   11838     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11839   else
   11840     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11841   fi
   11842 done
   11843 rm -f conf$$subs.sh
   11844 
   11845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11846 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11847 _ACEOF
   11848 sed -n '
   11849 h
   11850 s/^/S["/; s/!.*/"]=/
   11851 p
   11852 g
   11853 s/^[^!]*!//
   11854 :repl
   11855 t repl
   11856 s/'"$ac_delim"'$//
   11857 t delim
   11858 :nl
   11859 h
   11860 s/\(.\{148\}\)..*/\1/
   11861 t more1
   11862 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11863 p
   11864 n
   11865 b repl
   11866 :more1
   11867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11868 p
   11869 g
   11870 s/.\{148\}//
   11871 t nl
   11872 :delim
   11873 h
   11874 s/\(.\{148\}\)..*/\1/
   11875 t more2
   11876 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11877 p
   11878 b
   11879 :more2
   11880 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11881 p
   11882 g
   11883 s/.\{148\}//
   11884 t delim
   11885 ' <conf$$subs.awk | sed '
   11886 /^[^""]/{
   11887   N
   11888   s/\n//
   11889 }
   11890 ' >>$CONFIG_STATUS || ac_write_fail=1
   11891 rm -f conf$$subs.awk
   11892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11893 _ACAWK
   11894 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11895   for (key in S) S_is_set[key] = 1
   11896   FS = ""
   11897 
   11898 }
   11899 {
   11900   line = $ 0
   11901   nfields = split(line, field, "@")
   11902   substed = 0
   11903   len = length(field[1])
   11904   for (i = 2; i < nfields; i++) {
   11905     key = field[i]
   11906     keylen = length(key)
   11907     if (S_is_set[key]) {
   11908       value = S[key]
   11909       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11910       len += length(value) + length(field[++i])
   11911       substed = 1
   11912     } else
   11913       len += 1 + keylen
   11914   }
   11915 
   11916   print line
   11917 }
   11918 
   11919 _ACAWK
   11920 _ACEOF
   11921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11922 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11923   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11924 else
   11925   cat
   11926 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11927   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11928 _ACEOF
   11929 
   11930 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11931 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11932 # trailing colons and then remove the whole line if VPATH becomes empty
   11933 # (actually we leave an empty line to preserve line numbers).
   11934 if test "x$srcdir" = x.; then
   11935   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11936 h
   11937 s///
   11938 s/^/:/
   11939 s/[	 ]*$/:/
   11940 s/:\$(srcdir):/:/g
   11941 s/:\${srcdir}:/:/g
   11942 s/:@srcdir@:/:/g
   11943 s/^:*//
   11944 s/:*$//
   11945 x
   11946 s/\(=[	 ]*\).*/\1/
   11947 G
   11948 s/\n//
   11949 s/^[^=]*=[	 ]*$//
   11950 }'
   11951 fi
   11952 
   11953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11954 fi # test -n "$CONFIG_FILES"
   11955 
   11956 # Set up the scripts for CONFIG_HEADERS section.
   11957 # No need to generate them if there are no CONFIG_HEADERS.
   11958 # This happens for instance with `./config.status Makefile'.
   11959 if test -n "$CONFIG_HEADERS"; then
   11960 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11961 BEGIN {
   11962 _ACEOF
   11963 
   11964 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11965 # here-document in config.status, that substitutes the proper values into
   11966 # config.h.in to produce config.h.
   11967 
   11968 # Create a delimiter string that does not exist in confdefs.h, to ease
   11969 # handling of long lines.
   11970 ac_delim='%!_!# '
   11971 for ac_last_try in false false :; do
   11972   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11973   if test -z "$ac_tt"; then
   11974     break
   11975   elif $ac_last_try; then
   11976     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11977   else
   11978     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11979   fi
   11980 done
   11981 
   11982 # For the awk script, D is an array of macro values keyed by name,
   11983 # likewise P contains macro parameters if any.  Preserve backslash
   11984 # newline sequences.
   11985 
   11986 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11987 sed -n '
   11988 s/.\{148\}/&'"$ac_delim"'/g
   11989 t rset
   11990 :rset
   11991 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11992 t def
   11993 d
   11994 :def
   11995 s/\\$//
   11996 t bsnl
   11997 s/["\\]/\\&/g
   11998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11999 D["\1"]=" \3"/p
   12000 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12001 d
   12002 :bsnl
   12003 s/["\\]/\\&/g
   12004 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12005 D["\1"]=" \3\\\\\\n"\\/p
   12006 t cont
   12007 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12008 t cont
   12009 d
   12010 :cont
   12011 n
   12012 s/.\{148\}/&'"$ac_delim"'/g
   12013 t clear
   12014 :clear
   12015 s/\\$//
   12016 t bsnlc
   12017 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12018 d
   12019 :bsnlc
   12020 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12021 b cont
   12022 ' <confdefs.h | sed '
   12023 s/'"$ac_delim"'/"\\\
   12024 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12025 
   12026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12027   for (key in D) D_is_set[key] = 1
   12028   FS = ""
   12029 }
   12030 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12031   line = \$ 0
   12032   split(line, arg, " ")
   12033   if (arg[1] == "#") {
   12034     defundef = arg[2]
   12035     mac1 = arg[3]
   12036   } else {
   12037     defundef = substr(arg[1], 2)
   12038     mac1 = arg[2]
   12039   }
   12040   split(mac1, mac2, "(") #)
   12041   macro = mac2[1]
   12042   prefix = substr(line, 1, index(line, defundef) - 1)
   12043   if (D_is_set[macro]) {
   12044     # Preserve the white space surrounding the "#".
   12045     print prefix "define", macro P[macro] D[macro]
   12046     next
   12047   } else {
   12048     # Replace #undef with comments.  This is necessary, for example,
   12049     # in the case of _POSIX_SOURCE, which is predefined and required
   12050     # on some systems where configure will not decide to define it.
   12051     if (defundef == "undef") {
   12052       print "/*", prefix defundef, macro, "*/"
   12053       next
   12054     }
   12055   }
   12056 }
   12057 { print }
   12058 _ACAWK
   12059 _ACEOF
   12060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12061   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12062 fi # test -n "$CONFIG_HEADERS"
   12063 
   12064 
   12065 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12066 shift
   12067 for ac_tag
   12068 do
   12069   case $ac_tag in
   12070   :[FHLC]) ac_mode=$ac_tag; continue;;
   12071   esac
   12072   case $ac_mode$ac_tag in
   12073   :[FHL]*:*);;
   12074   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12075   :[FH]-) ac_tag=-:-;;
   12076   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12077   esac
   12078   ac_save_IFS=$IFS
   12079   IFS=:
   12080   set x $ac_tag
   12081   IFS=$ac_save_IFS
   12082   shift
   12083   ac_file=$1
   12084   shift
   12085 
   12086   case $ac_mode in
   12087   :L) ac_source=$1;;
   12088   :[FH])
   12089     ac_file_inputs=
   12090     for ac_f
   12091     do
   12092       case $ac_f in
   12093       -) ac_f="$ac_tmp/stdin";;
   12094       *) # Look for the file first in the build tree, then in the source tree
   12095 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12096 	 # because $ac_f cannot contain `:'.
   12097 	 test -f "$ac_f" ||
   12098 	   case $ac_f in
   12099 	   [\\/$]*) false;;
   12100 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12101 	   esac ||
   12102 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12103       esac
   12104       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12105       as_fn_append ac_file_inputs " '$ac_f'"
   12106     done
   12107 
   12108     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12109     # use $as_me), people would be surprised to read:
   12110     #    /* config.h.  Generated by config.status.  */
   12111     configure_input='Generated from '`
   12112 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12113 	`' by configure.'
   12114     if test x"$ac_file" != x-; then
   12115       configure_input="$ac_file.  $configure_input"
   12116       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12117 $as_echo "$as_me: creating $ac_file" >&6;}
   12118     fi
   12119     # Neutralize special characters interpreted by sed in replacement strings.
   12120     case $configure_input in #(
   12121     *\&* | *\|* | *\\* )
   12122        ac_sed_conf_input=`$as_echo "$configure_input" |
   12123        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12124     *) ac_sed_conf_input=$configure_input;;
   12125     esac
   12126 
   12127     case $ac_tag in
   12128     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12129       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12130     esac
   12131     ;;
   12132   esac
   12133 
   12134   ac_dir=`$as_dirname -- "$ac_file" ||
   12135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12136 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12137 	 X"$ac_file" : 'X\(//\)$' \| \
   12138 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12139 $as_echo X"$ac_file" |
   12140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12141 	    s//\1/
   12142 	    q
   12143 	  }
   12144 	  /^X\(\/\/\)[^/].*/{
   12145 	    s//\1/
   12146 	    q
   12147 	  }
   12148 	  /^X\(\/\/\)$/{
   12149 	    s//\1/
   12150 	    q
   12151 	  }
   12152 	  /^X\(\/\).*/{
   12153 	    s//\1/
   12154 	    q
   12155 	  }
   12156 	  s/.*/./; q'`
   12157   as_dir="$ac_dir"; as_fn_mkdir_p
   12158   ac_builddir=.
   12159 
   12160 case "$ac_dir" in
   12161 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12162 *)
   12163   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12164   # A ".." for each directory in $ac_dir_suffix.
   12165   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12166   case $ac_top_builddir_sub in
   12167   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12168   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12169   esac ;;
   12170 esac
   12171 ac_abs_top_builddir=$ac_pwd
   12172 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12173 # for backward compatibility:
   12174 ac_top_builddir=$ac_top_build_prefix
   12175 
   12176 case $srcdir in
   12177   .)  # We are building in place.
   12178     ac_srcdir=.
   12179     ac_top_srcdir=$ac_top_builddir_sub
   12180     ac_abs_top_srcdir=$ac_pwd ;;
   12181   [\\/]* | ?:[\\/]* )  # Absolute name.
   12182     ac_srcdir=$srcdir$ac_dir_suffix;
   12183     ac_top_srcdir=$srcdir
   12184     ac_abs_top_srcdir=$srcdir ;;
   12185   *) # Relative name.
   12186     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12187     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12188     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12189 esac
   12190 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12191 
   12192 
   12193   case $ac_mode in
   12194   :F)
   12195   #
   12196   # CONFIG_FILE
   12197   #
   12198 
   12199   case $INSTALL in
   12200   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12201   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12202   esac
   12203   ac_MKDIR_P=$MKDIR_P
   12204   case $MKDIR_P in
   12205   [\\/$]* | ?:[\\/]* ) ;;
   12206   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12207   esac
   12208 _ACEOF
   12209 
   12210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12211 # If the template does not know about datarootdir, expand it.
   12212 # FIXME: This hack should be removed a few years after 2.60.
   12213 ac_datarootdir_hack=; ac_datarootdir_seen=
   12214 ac_sed_dataroot='
   12215 /datarootdir/ {
   12216   p
   12217   q
   12218 }
   12219 /@datadir@/p
   12220 /@docdir@/p
   12221 /@infodir@/p
   12222 /@localedir@/p
   12223 /@mandir@/p'
   12224 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12225 *datarootdir*) ac_datarootdir_seen=yes;;
   12226 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12227   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12228 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12229 _ACEOF
   12230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12231   ac_datarootdir_hack='
   12232   s&@datadir@&$datadir&g
   12233   s&@docdir@&$docdir&g
   12234   s&@infodir@&$infodir&g
   12235   s&@localedir@&$localedir&g
   12236   s&@mandir@&$mandir&g
   12237   s&\\\${datarootdir}&$datarootdir&g' ;;
   12238 esac
   12239 _ACEOF
   12240 
   12241 # Neutralize VPATH when `$srcdir' = `.'.
   12242 # Shell code in configure.ac might set extrasub.
   12243 # FIXME: do we really want to maintain this feature?
   12244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12245 ac_sed_extra="$ac_vpsub
   12246 $extrasub
   12247 _ACEOF
   12248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12249 :t
   12250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12251 s|@configure_input@|$ac_sed_conf_input|;t t
   12252 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12253 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12254 s&@srcdir@&$ac_srcdir&;t t
   12255 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12256 s&@top_srcdir@&$ac_top_srcdir&;t t
   12257 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12258 s&@builddir@&$ac_builddir&;t t
   12259 s&@abs_builddir@&$ac_abs_builddir&;t t
   12260 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12261 s&@INSTALL@&$ac_INSTALL&;t t
   12262 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12263 $ac_datarootdir_hack
   12264 "
   12265 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12266   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12267 
   12268 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12269   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12270   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12271       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12272   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12273 which seems to be undefined.  Please make sure it is defined" >&5
   12274 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12275 which seems to be undefined.  Please make sure it is defined" >&2;}
   12276 
   12277   rm -f "$ac_tmp/stdin"
   12278   case $ac_file in
   12279   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12280   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12281   esac \
   12282   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12283  ;;
   12284   :H)
   12285   #
   12286   # CONFIG_HEADER
   12287   #
   12288   if test x"$ac_file" != x-; then
   12289     {
   12290       $as_echo "/* $configure_input  */" \
   12291       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12292     } >"$ac_tmp/config.h" \
   12293       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12294     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12295       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12296 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12297     else
   12298       rm -f "$ac_file"
   12299       mv "$ac_tmp/config.h" "$ac_file" \
   12300 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12301     fi
   12302   else
   12303     $as_echo "/* $configure_input  */" \
   12304       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12305       || as_fn_error $? "could not create -" "$LINENO" 5
   12306   fi
   12307 # Compute "$ac_file"'s index in $config_headers.
   12308 _am_arg="$ac_file"
   12309 _am_stamp_count=1
   12310 for _am_header in $config_headers :; do
   12311   case $_am_header in
   12312     $_am_arg | $_am_arg:* )
   12313       break ;;
   12314     * )
   12315       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12316   esac
   12317 done
   12318 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12319 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12320 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12321 	 X"$_am_arg" : 'X\(//\)$' \| \
   12322 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12323 $as_echo X"$_am_arg" |
   12324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12325 	    s//\1/
   12326 	    q
   12327 	  }
   12328 	  /^X\(\/\/\)[^/].*/{
   12329 	    s//\1/
   12330 	    q
   12331 	  }
   12332 	  /^X\(\/\/\)$/{
   12333 	    s//\1/
   12334 	    q
   12335 	  }
   12336 	  /^X\(\/\).*/{
   12337 	    s//\1/
   12338 	    q
   12339 	  }
   12340 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12341  ;;
   12342 
   12343   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12344 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12345  ;;
   12346   esac
   12347 
   12348 
   12349   case $ac_file$ac_mode in
   12350     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12351   # Older Autoconf quotes --file arguments for eval, but not when files
   12352   # are listed without --file.  Let's play safe and only enable the eval
   12353   # if we detect the quoting.
   12354   # TODO: see whether this extra hack can be removed once we start
   12355   # requiring Autoconf 2.70 or later.
   12356   case $CONFIG_FILES in #(
   12357   *\'*) :
   12358     eval set x "$CONFIG_FILES" ;; #(
   12359   *) :
   12360     set x $CONFIG_FILES ;; #(
   12361   *) :
   12362      ;;
   12363 esac
   12364   shift
   12365   # Used to flag and report bootstrapping failures.
   12366   am_rc=0
   12367   for am_mf
   12368   do
   12369     # Strip MF so we end up with the name of the file.
   12370     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   12371     # Check whether this is an Automake generated Makefile which includes
   12372     # dependency-tracking related rules and includes.
   12373     # Grep'ing the whole file directly is not great: AIX grep has a line
   12374     # limit of 2048, but all sed's we know have understand at least 4000.
   12375     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12376       || continue
   12377     am_dirpart=`$as_dirname -- "$am_mf" ||
   12378 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12379 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12380 	 X"$am_mf" : 'X\(//\)$' \| \
   12381 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12382 $as_echo X"$am_mf" |
   12383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12384 	    s//\1/
   12385 	    q
   12386 	  }
   12387 	  /^X\(\/\/\)[^/].*/{
   12388 	    s//\1/
   12389 	    q
   12390 	  }
   12391 	  /^X\(\/\/\)$/{
   12392 	    s//\1/
   12393 	    q
   12394 	  }
   12395 	  /^X\(\/\).*/{
   12396 	    s//\1/
   12397 	    q
   12398 	  }
   12399 	  s/.*/./; q'`
   12400     am_filepart=`$as_basename -- "$am_mf" ||
   12401 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12402 	 X"$am_mf" : 'X\(//\)$' \| \
   12403 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12404 $as_echo X/"$am_mf" |
   12405     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12406 	    s//\1/
   12407 	    q
   12408 	  }
   12409 	  /^X\/\(\/\/\)$/{
   12410 	    s//\1/
   12411 	    q
   12412 	  }
   12413 	  /^X\/\(\/\).*/{
   12414 	    s//\1/
   12415 	    q
   12416 	  }
   12417 	  s/.*/./; q'`
   12418     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12419       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12420         | $MAKE -f - am--depfiles" >&5
   12421    (cd "$am_dirpart" \
   12422       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12423         | $MAKE -f - am--depfiles) >&5 2>&5
   12424    ac_status=$?
   12425    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12426    (exit $ac_status); } || am_rc=$?
   12427   done
   12428   if test $am_rc -ne 0; then
   12429     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12431 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12432     for automatic dependency tracking.  Try re-running configure with the
   12433     '--disable-dependency-tracking' option to at least be able to build
   12434     the package (albeit without support for automatic dependency tracking).
   12435 See \`config.log' for more details" "$LINENO" 5; }
   12436   fi
   12437   { am_dirpart=; unset am_dirpart;}
   12438   { am_filepart=; unset am_filepart;}
   12439   { am_mf=; unset am_mf;}
   12440   { am_rc=; unset am_rc;}
   12441   rm -f conftest-deps.mk
   12442 }
   12443  ;;
   12444 
   12445   esac
   12446 done # for ac_tag
   12447 
   12448 
   12449 as_fn_exit 0
   12450 _ACEOF
   12451 ac_clean_files=$ac_clean_files_save
   12452 
   12453 test $ac_write_fail = 0 ||
   12454   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12455 
   12456 
   12457 # configure is writing to config.log, and then calls config.status.
   12458 # config.status does its own redirection, appending to config.log.
   12459 # Unfortunately, on DOS this fails, as config.log is still kept open
   12460 # by configure, so config.status won't be able to write to it; its
   12461 # output is simply discarded.  So we exec the FD to /dev/null,
   12462 # effectively closing config.log, so it can be properly (re)opened and
   12463 # appended to by config.status.  When coming back to configure, we
   12464 # need to make the FD available again.
   12465 if test "$no_create" != yes; then
   12466   ac_cs_success=:
   12467   ac_config_status_args=
   12468   test "$silent" = yes &&
   12469     ac_config_status_args="$ac_config_status_args --quiet"
   12470   exec 5>/dev/null
   12471   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12472   exec 5>>config.log
   12473   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12474   # would make configure fail if this is the last instruction.
   12475   $ac_cs_success || as_fn_exit 1
   12476 fi
   12477 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12478   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12479 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12480 fi
   12481 
   12482