Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xauth 1.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xauth/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/xauth/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='xauth'
    583 PACKAGE_TARNAME='xauth'
    584 PACKAGE_VERSION='1.1'
    585 PACKAGE_STRING='xauth 1.1'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xauth/issues'
    587 PACKAGE_URL=''
    588 
    589 # Factoring default headers for most tests.
    590 ac_includes_default="\
    591 #include <stdio.h>
    592 #ifdef HAVE_SYS_TYPES_H
    593 # include <sys/types.h>
    594 #endif
    595 #ifdef HAVE_SYS_STAT_H
    596 # include <sys/stat.h>
    597 #endif
    598 #ifdef STDC_HEADERS
    599 # include <stdlib.h>
    600 # include <stddef.h>
    601 #else
    602 # ifdef HAVE_STDLIB_H
    603 #  include <stdlib.h>
    604 # endif
    605 #endif
    606 #ifdef HAVE_STRING_H
    607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    608 #  include <memory.h>
    609 # endif
    610 # include <string.h>
    611 #endif
    612 #ifdef HAVE_STRINGS_H
    613 # include <strings.h>
    614 #endif
    615 #ifdef HAVE_INTTYPES_H
    616 # include <inttypes.h>
    617 #endif
    618 #ifdef HAVE_STDINT_H
    619 # include <stdint.h>
    620 #endif
    621 #ifdef HAVE_UNISTD_H
    622 # include <unistd.h>
    623 #endif"
    624 
    625 ac_subst_vars='am__EXEEXT_FALSE
    626 am__EXEEXT_TRUE
    627 LTLIBOBJS
    628 LIBOBJS
    629 LINT_FALSE
    630 LINT_TRUE
    631 LINT_FLAGS
    632 LINT
    633 XAUTH_LIBS
    634 XAUTH_CFLAGS
    635 MAN_SUBSTS
    636 XORG_MAN_PAGE
    637 ADMIN_MAN_DIR
    638 DRIVER_MAN_DIR
    639 MISC_MAN_DIR
    640 FILE_MAN_DIR
    641 LIB_MAN_DIR
    642 APP_MAN_DIR
    643 ADMIN_MAN_SUFFIX
    644 DRIVER_MAN_SUFFIX
    645 MISC_MAN_SUFFIX
    646 FILE_MAN_SUFFIX
    647 LIB_MAN_SUFFIX
    648 APP_MAN_SUFFIX
    649 SED
    650 host_os
    651 host_vendor
    652 host_cpu
    653 host
    654 build_os
    655 build_vendor
    656 build_cpu
    657 build
    658 INSTALL_CMD
    659 PKG_CONFIG_LIBDIR
    660 PKG_CONFIG_PATH
    661 PKG_CONFIG
    662 CHANGELOG_CMD
    663 STRICT_CFLAGS
    664 CWARNFLAGS
    665 BASE_CFLAGS
    666 EGREP
    667 GREP
    668 CPP
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 am__untar
    690 am__tar
    691 AMTAR
    692 am__leading_dot
    693 SET_MAKE
    694 AWK
    695 mkdir_p
    696 MKDIR_P
    697 INSTALL_STRIP_PROGRAM
    698 STRIP
    699 install_sh
    700 MAKEINFO
    701 AUTOHEADER
    702 AUTOMAKE
    703 AUTOCONF
    704 ACLOCAL
    705 VERSION
    706 PACKAGE
    707 CYGPATH_W
    708 am__isrc
    709 INSTALL_DATA
    710 INSTALL_SCRIPT
    711 INSTALL_PROGRAM
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL
    750 am__quote'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_silent_rules
    755 enable_dependency_tracking
    756 enable_selective_werror
    757 enable_strict_compilation
    758 enable_unix_transport
    759 enable_tcp_transport
    760 enable_ipv6
    761 enable_local_transport
    762 with_lint
    763 '
    764       ac_precious_vars='build_alias
    765 host_alias
    766 target_alias
    767 CC
    768 CFLAGS
    769 LDFLAGS
    770 LIBS
    771 CPPFLAGS
    772 CPP
    773 PKG_CONFIG
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG_LIBDIR
    776 XAUTH_CFLAGS
    777 XAUTH_LIBS
    778 LINT
    779 LINT_FLAGS'
    780 
    781 
    782 # Initialize some variables set by options.
    783 ac_init_help=
    784 ac_init_version=false
    785 ac_unrecognized_opts=
    786 ac_unrecognized_sep=
    787 # The variables have the same names as the options, with
    788 # dashes changed to underlines.
    789 cache_file=/dev/null
    790 exec_prefix=NONE
    791 no_create=
    792 no_recursion=
    793 prefix=NONE
    794 program_prefix=NONE
    795 program_suffix=NONE
    796 program_transform_name=s,x,x,
    797 silent=
    798 site=
    799 srcdir=
    800 verbose=
    801 x_includes=NONE
    802 x_libraries=NONE
    803 
    804 # Installation directory options.
    805 # These are left unexpanded so users can "make install exec_prefix=/foo"
    806 # and all the variables that are supposed to be based on exec_prefix
    807 # by default will actually change.
    808 # Use braces instead of parens because sh, perl, etc. also accept them.
    809 # (The list follows the same order as the GNU Coding Standards.)
    810 bindir='${exec_prefix}/bin'
    811 sbindir='${exec_prefix}/sbin'
    812 libexecdir='${exec_prefix}/libexec'
    813 datarootdir='${prefix}/share'
    814 datadir='${datarootdir}'
    815 sysconfdir='${prefix}/etc'
    816 sharedstatedir='${prefix}/com'
    817 localstatedir='${prefix}/var'
    818 includedir='${prefix}/include'
    819 oldincludedir='/usr/include'
    820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    821 infodir='${datarootdir}/info'
    822 htmldir='${docdir}'
    823 dvidir='${docdir}'
    824 pdfdir='${docdir}'
    825 psdir='${docdir}'
    826 libdir='${exec_prefix}/lib'
    827 localedir='${datarootdir}/locale'
    828 mandir='${datarootdir}/man'
    829 
    830 ac_prev=
    831 ac_dashdash=
    832 for ac_option
    833 do
    834   # If the previous option needs an argument, assign it.
    835   if test -n "$ac_prev"; then
    836     eval $ac_prev=\$ac_option
    837     ac_prev=
    838     continue
    839   fi
    840 
    841   case $ac_option in
    842   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    843   *=)   ac_optarg= ;;
    844   *)    ac_optarg=yes ;;
    845   esac
    846 
    847   # Accept the important Cygnus configure options, so we can diagnose typos.
    848 
    849   case $ac_dashdash$ac_option in
    850   --)
    851     ac_dashdash=yes ;;
    852 
    853   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    854     ac_prev=bindir ;;
    855   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    856     bindir=$ac_optarg ;;
    857 
    858   -build | --build | --buil | --bui | --bu)
    859     ac_prev=build_alias ;;
    860   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    861     build_alias=$ac_optarg ;;
    862 
    863   -cache-file | --cache-file | --cache-fil | --cache-fi \
    864   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    865     ac_prev=cache_file ;;
    866   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    867   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    868     cache_file=$ac_optarg ;;
    869 
    870   --config-cache | -C)
    871     cache_file=config.cache ;;
    872 
    873   -datadir | --datadir | --datadi | --datad)
    874     ac_prev=datadir ;;
    875   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    876     datadir=$ac_optarg ;;
    877 
    878   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    879   | --dataroo | --dataro | --datar)
    880     ac_prev=datarootdir ;;
    881   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    882   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    883     datarootdir=$ac_optarg ;;
    884 
    885   -disable-* | --disable-*)
    886     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    887     # Reject names that are not valid shell variable names.
    888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       as_fn_error $? "invalid feature name: $ac_useropt"
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=no ;;
    900 
    901   -docdir | --docdir | --docdi | --doc | --do)
    902     ac_prev=docdir ;;
    903   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    904     docdir=$ac_optarg ;;
    905 
    906   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    907     ac_prev=dvidir ;;
    908   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    909     dvidir=$ac_optarg ;;
    910 
    911   -enable-* | --enable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: $ac_useropt"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=\$ac_optarg ;;
    926 
    927   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    928   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    929   | --exec | --exe | --ex)
    930     ac_prev=exec_prefix ;;
    931   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    932   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    933   | --exec=* | --exe=* | --ex=*)
    934     exec_prefix=$ac_optarg ;;
    935 
    936   -gas | --gas | --ga | --g)
    937     # Obsolete; use --with-gas.
    938     with_gas=yes ;;
    939 
    940   -help | --help | --hel | --he | -h)
    941     ac_init_help=long ;;
    942   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    943     ac_init_help=recursive ;;
    944   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    945     ac_init_help=short ;;
    946 
    947   -host | --host | --hos | --ho)
    948     ac_prev=host_alias ;;
    949   -host=* | --host=* | --hos=* | --ho=*)
    950     host_alias=$ac_optarg ;;
    951 
    952   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    953     ac_prev=htmldir ;;
    954   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    955   | --ht=*)
    956     htmldir=$ac_optarg ;;
    957 
    958   -includedir | --includedir | --includedi | --included | --include \
    959   | --includ | --inclu | --incl | --inc)
    960     ac_prev=includedir ;;
    961   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    962   | --includ=* | --inclu=* | --incl=* | --inc=*)
    963     includedir=$ac_optarg ;;
    964 
    965   -infodir | --infodir | --infodi | --infod | --info | --inf)
    966     ac_prev=infodir ;;
    967   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    968     infodir=$ac_optarg ;;
    969 
    970   -libdir | --libdir | --libdi | --libd)
    971     ac_prev=libdir ;;
    972   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    973     libdir=$ac_optarg ;;
    974 
    975   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    976   | --libexe | --libex | --libe)
    977     ac_prev=libexecdir ;;
    978   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    979   | --libexe=* | --libex=* | --libe=*)
    980     libexecdir=$ac_optarg ;;
    981 
    982   -localedir | --localedir | --localedi | --localed | --locale)
    983     ac_prev=localedir ;;
    984   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    985     localedir=$ac_optarg ;;
    986 
    987   -localstatedir | --localstatedir | --localstatedi | --localstated \
    988   | --localstate | --localstat | --localsta | --localst | --locals)
    989     ac_prev=localstatedir ;;
    990   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    991   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    992     localstatedir=$ac_optarg ;;
    993 
    994   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    995     ac_prev=mandir ;;
    996   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    997     mandir=$ac_optarg ;;
    998 
    999   -nfp | --nfp | --nf)
   1000     # Obsolete; use --without-fp.
   1001     with_fp=no ;;
   1002 
   1003   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1004   | --no-cr | --no-c | -n)
   1005     no_create=yes ;;
   1006 
   1007   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1008   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1009     no_recursion=yes ;;
   1010 
   1011   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1012   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1013   | --oldin | --oldi | --old | --ol | --o)
   1014     ac_prev=oldincludedir ;;
   1015   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1016   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1017   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1018     oldincludedir=$ac_optarg ;;
   1019 
   1020   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1021     ac_prev=prefix ;;
   1022   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1023     prefix=$ac_optarg ;;
   1024 
   1025   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1026   | --program-pre | --program-pr | --program-p)
   1027     ac_prev=program_prefix ;;
   1028   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1029   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1030     program_prefix=$ac_optarg ;;
   1031 
   1032   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1033   | --program-suf | --program-su | --program-s)
   1034     ac_prev=program_suffix ;;
   1035   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1036   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1037     program_suffix=$ac_optarg ;;
   1038 
   1039   -program-transform-name | --program-transform-name \
   1040   | --program-transform-nam | --program-transform-na \
   1041   | --program-transform-n | --program-transform- \
   1042   | --program-transform | --program-transfor \
   1043   | --program-transfo | --program-transf \
   1044   | --program-trans | --program-tran \
   1045   | --progr-tra | --program-tr | --program-t)
   1046     ac_prev=program_transform_name ;;
   1047   -program-transform-name=* | --program-transform-name=* \
   1048   | --program-transform-nam=* | --program-transform-na=* \
   1049   | --program-transform-n=* | --program-transform-=* \
   1050   | --program-transform=* | --program-transfor=* \
   1051   | --program-transfo=* | --program-transf=* \
   1052   | --program-trans=* | --program-tran=* \
   1053   | --progr-tra=* | --program-tr=* | --program-t=*)
   1054     program_transform_name=$ac_optarg ;;
   1055 
   1056   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1057     ac_prev=pdfdir ;;
   1058   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1059     pdfdir=$ac_optarg ;;
   1060 
   1061   -psdir | --psdir | --psdi | --psd | --ps)
   1062     ac_prev=psdir ;;
   1063   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1064     psdir=$ac_optarg ;;
   1065 
   1066   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1067   | -silent | --silent | --silen | --sile | --sil)
   1068     silent=yes ;;
   1069 
   1070   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1071     ac_prev=sbindir ;;
   1072   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1073   | --sbi=* | --sb=*)
   1074     sbindir=$ac_optarg ;;
   1075 
   1076   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1077   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1078   | --sharedst | --shareds | --shared | --share | --shar \
   1079   | --sha | --sh)
   1080     ac_prev=sharedstatedir ;;
   1081   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1082   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1083   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1084   | --sha=* | --sh=*)
   1085     sharedstatedir=$ac_optarg ;;
   1086 
   1087   -site | --site | --sit)
   1088     ac_prev=site ;;
   1089   -site=* | --site=* | --sit=*)
   1090     site=$ac_optarg ;;
   1091 
   1092   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1093     ac_prev=srcdir ;;
   1094   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1095     srcdir=$ac_optarg ;;
   1096 
   1097   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1098   | --syscon | --sysco | --sysc | --sys | --sy)
   1099     ac_prev=sysconfdir ;;
   1100   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1101   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1102     sysconfdir=$ac_optarg ;;
   1103 
   1104   -target | --target | --targe | --targ | --tar | --ta | --t)
   1105     ac_prev=target_alias ;;
   1106   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1107     target_alias=$ac_optarg ;;
   1108 
   1109   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1110     verbose=yes ;;
   1111 
   1112   -version | --version | --versio | --versi | --vers | -V)
   1113     ac_init_version=: ;;
   1114 
   1115   -with-* | --with-*)
   1116     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1117     # Reject names that are not valid shell variable names.
   1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1119       as_fn_error $? "invalid package name: $ac_useropt"
   1120     ac_useropt_orig=$ac_useropt
   1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1122     case $ac_user_opts in
   1123       *"
   1124 "with_$ac_useropt"
   1125 "*) ;;
   1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1127 	 ac_unrecognized_sep=', ';;
   1128     esac
   1129     eval with_$ac_useropt=\$ac_optarg ;;
   1130 
   1131   -without-* | --without-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid package name: $ac_useropt"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "with_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval with_$ac_useropt=no ;;
   1146 
   1147   --x)
   1148     # Obsolete; use --with-x.
   1149     with_x=yes ;;
   1150 
   1151   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1152   | --x-incl | --x-inc | --x-in | --x-i)
   1153     ac_prev=x_includes ;;
   1154   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1155   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1156     x_includes=$ac_optarg ;;
   1157 
   1158   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1159   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1160     ac_prev=x_libraries ;;
   1161   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1162   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1163     x_libraries=$ac_optarg ;;
   1164 
   1165   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1166 Try \`$0 --help' for more information"
   1167     ;;
   1168 
   1169   *=*)
   1170     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1171     # Reject names that are not valid shell variable names.
   1172     case $ac_envvar in #(
   1173       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1174       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1175     esac
   1176     eval $ac_envvar=\$ac_optarg
   1177     export $ac_envvar ;;
   1178 
   1179   *)
   1180     # FIXME: should be removed in autoconf 3.0.
   1181     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1182     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1183       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1184     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1185     ;;
   1186 
   1187   esac
   1188 done
   1189 
   1190 if test -n "$ac_prev"; then
   1191   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1192   as_fn_error $? "missing argument to $ac_option"
   1193 fi
   1194 
   1195 if test -n "$ac_unrecognized_opts"; then
   1196   case $enable_option_checking in
   1197     no) ;;
   1198     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1199     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1200   esac
   1201 fi
   1202 
   1203 # Check all directory arguments for consistency.
   1204 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1205 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1206 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1207 		libdir localedir mandir
   1208 do
   1209   eval ac_val=\$$ac_var
   1210   # Remove trailing slashes.
   1211   case $ac_val in
   1212     */ )
   1213       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1214       eval $ac_var=\$ac_val;;
   1215   esac
   1216   # Be sure to have absolute directory names.
   1217   case $ac_val in
   1218     [\\/$]* | ?:[\\/]* )  continue;;
   1219     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1220   esac
   1221   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1222 done
   1223 
   1224 # There might be people who depend on the old broken behavior: `$host'
   1225 # used to hold the argument of --host etc.
   1226 # FIXME: To remove some day.
   1227 build=$build_alias
   1228 host=$host_alias
   1229 target=$target_alias
   1230 
   1231 # FIXME: To remove some day.
   1232 if test "x$host_alias" != x; then
   1233   if test "x$build_alias" = x; then
   1234     cross_compiling=maybe
   1235   elif test "x$build_alias" != "x$host_alias"; then
   1236     cross_compiling=yes
   1237   fi
   1238 fi
   1239 
   1240 ac_tool_prefix=
   1241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1242 
   1243 test "$silent" = yes && exec 6>/dev/null
   1244 
   1245 
   1246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1247 ac_ls_di=`ls -di .` &&
   1248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1249   as_fn_error $? "working directory cannot be determined"
   1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1251   as_fn_error $? "pwd does not report name of working directory"
   1252 
   1253 
   1254 # Find the source files, if location was not specified.
   1255 if test -z "$srcdir"; then
   1256   ac_srcdir_defaulted=yes
   1257   # Try the directory containing this script, then the parent directory.
   1258   ac_confdir=`$as_dirname -- "$as_myself" ||
   1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1260 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1261 	 X"$as_myself" : 'X\(//\)$' \| \
   1262 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1263 $as_echo X"$as_myself" |
   1264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\/\)[^/].*/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\).*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  s/.*/./; q'`
   1281   srcdir=$ac_confdir
   1282   if test ! -r "$srcdir/$ac_unique_file"; then
   1283     srcdir=..
   1284   fi
   1285 else
   1286   ac_srcdir_defaulted=no
   1287 fi
   1288 if test ! -r "$srcdir/$ac_unique_file"; then
   1289   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1290   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1291 fi
   1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1293 ac_abs_confdir=`(
   1294 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1295 	pwd)`
   1296 # When building in place, set srcdir=.
   1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1298   srcdir=.
   1299 fi
   1300 # Remove unnecessary trailing slashes from srcdir.
   1301 # Double slashes in file names in object file debugging info
   1302 # mess up M-x gdb in Emacs.
   1303 case $srcdir in
   1304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1305 esac
   1306 for ac_var in $ac_precious_vars; do
   1307   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1308   eval ac_env_${ac_var}_value=\$${ac_var}
   1309   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1310   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1311 done
   1312 
   1313 #
   1314 # Report the --help message.
   1315 #
   1316 if test "$ac_init_help" = "long"; then
   1317   # Omit some internal or obsolete options to make the list less imposing.
   1318   # This message is too long to be a string in the A/UX 3.1 sh.
   1319   cat <<_ACEOF
   1320 \`configure' configures xauth 1.1 to adapt to many kinds of systems.
   1321 
   1322 Usage: $0 [OPTION]... [VAR=VALUE]...
   1323 
   1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1325 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1326 
   1327 Defaults for the options are specified in brackets.
   1328 
   1329 Configuration:
   1330   -h, --help              display this help and exit
   1331       --help=short        display options specific to this package
   1332       --help=recursive    display the short help of all the included packages
   1333   -V, --version           display version information and exit
   1334   -q, --quiet, --silent   do not print \`checking ...' messages
   1335       --cache-file=FILE   cache test results in FILE [disabled]
   1336   -C, --config-cache      alias for \`--cache-file=config.cache'
   1337   -n, --no-create         do not create output files
   1338       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1339 
   1340 Installation directories:
   1341   --prefix=PREFIX         install architecture-independent files in PREFIX
   1342                           [$ac_default_prefix]
   1343   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1344                           [PREFIX]
   1345 
   1346 By default, \`make install' will install all the files in
   1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1349 for instance \`--prefix=\$HOME'.
   1350 
   1351 For better control, use the options below.
   1352 
   1353 Fine tuning of the installation directories:
   1354   --bindir=DIR            user executables [EPREFIX/bin]
   1355   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1356   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1357   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1358   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1359   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1360   --libdir=DIR            object code libraries [EPREFIX/lib]
   1361   --includedir=DIR        C header files [PREFIX/include]
   1362   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1363   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1364   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1365   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1366   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1367   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1368   --docdir=DIR            documentation root [DATAROOTDIR/doc/xauth]
   1369   --htmldir=DIR           html documentation [DOCDIR]
   1370   --dvidir=DIR            dvi documentation [DOCDIR]
   1371   --pdfdir=DIR            pdf documentation [DOCDIR]
   1372   --psdir=DIR             ps documentation [DOCDIR]
   1373 _ACEOF
   1374 
   1375   cat <<\_ACEOF
   1376 
   1377 Program names:
   1378   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1379   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1380   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1381 
   1382 System types:
   1383   --build=BUILD     configure for building on BUILD [guessed]
   1384   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1385 _ACEOF
   1386 fi
   1387 
   1388 if test -n "$ac_init_help"; then
   1389   case $ac_init_help in
   1390      short | recursive ) echo "Configuration of xauth 1.1:";;
   1391    esac
   1392   cat <<\_ACEOF
   1393 
   1394 Optional Features:
   1395   --disable-option-checking  ignore unrecognized --enable/--with options
   1396   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1397   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1398   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1399   --disable-silent-rules  verbose build output (undo: "make V=0")
   1400   --enable-dependency-tracking
   1401                           do not reject slow dependency extractors
   1402   --disable-dependency-tracking
   1403                           speeds up one-time build
   1404   --disable-selective-werror
   1405                           Turn off selective compiler errors. (default:
   1406                           enabled)
   1407   --enable-strict-compilation
   1408                           Enable all warnings from compiler and make them
   1409                           errors (default: disabled)
   1410   --enable-unix-transport Enable UNIX domain socket transport
   1411   --enable-tcp-transport  Enable TCP socket transport
   1412   --enable-ipv6           Enable IPv6 support
   1413   --enable-local-transport
   1414                           Enable os-specific local transport
   1415 
   1416 Optional Packages:
   1417   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1418   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1419   --with-lint             Use a lint-style source code checker (default:
   1420                           disabled)
   1421 
   1422 Some influential environment variables:
   1423   CC          C compiler command
   1424   CFLAGS      C compiler flags
   1425   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1426               nonstandard directory <lib dir>
   1427   LIBS        libraries to pass to the linker, e.g. -l<library>
   1428   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1429               you have headers in a nonstandard directory <include dir>
   1430   CPP         C preprocessor
   1431   PKG_CONFIG  path to pkg-config utility
   1432   PKG_CONFIG_PATH
   1433               directories to add to pkg-config's search path
   1434   PKG_CONFIG_LIBDIR
   1435               path overriding pkg-config's built-in search path
   1436   XAUTH_CFLAGS
   1437               C compiler flags for XAUTH, overriding pkg-config
   1438   XAUTH_LIBS  linker flags for XAUTH, overriding pkg-config
   1439   LINT        Path to a lint-style command
   1440   LINT_FLAGS  Flags for the lint-style command
   1441 
   1442 Use these variables to override the choices made by `configure' or to help
   1443 it to find libraries and programs with nonstandard names/locations.
   1444 
   1445 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xauth/issues>.
   1446 _ACEOF
   1447 ac_status=$?
   1448 fi
   1449 
   1450 if test "$ac_init_help" = "recursive"; then
   1451   # If there are subdirs, report their specific --help.
   1452   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1453     test -d "$ac_dir" ||
   1454       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1455       continue
   1456     ac_builddir=.
   1457 
   1458 case "$ac_dir" in
   1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1460 *)
   1461   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1462   # A ".." for each directory in $ac_dir_suffix.
   1463   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1464   case $ac_top_builddir_sub in
   1465   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1466   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1467   esac ;;
   1468 esac
   1469 ac_abs_top_builddir=$ac_pwd
   1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1471 # for backward compatibility:
   1472 ac_top_builddir=$ac_top_build_prefix
   1473 
   1474 case $srcdir in
   1475   .)  # We are building in place.
   1476     ac_srcdir=.
   1477     ac_top_srcdir=$ac_top_builddir_sub
   1478     ac_abs_top_srcdir=$ac_pwd ;;
   1479   [\\/]* | ?:[\\/]* )  # Absolute name.
   1480     ac_srcdir=$srcdir$ac_dir_suffix;
   1481     ac_top_srcdir=$srcdir
   1482     ac_abs_top_srcdir=$srcdir ;;
   1483   *) # Relative name.
   1484     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1485     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1486     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1487 esac
   1488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1489 
   1490     cd "$ac_dir" || { ac_status=$?; continue; }
   1491     # Check for guested configure.
   1492     if test -f "$ac_srcdir/configure.gnu"; then
   1493       echo &&
   1494       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1495     elif test -f "$ac_srcdir/configure"; then
   1496       echo &&
   1497       $SHELL "$ac_srcdir/configure" --help=recursive
   1498     else
   1499       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1500     fi || ac_status=$?
   1501     cd "$ac_pwd" || { ac_status=$?; break; }
   1502   done
   1503 fi
   1504 
   1505 test -n "$ac_init_help" && exit $ac_status
   1506 if $ac_init_version; then
   1507   cat <<\_ACEOF
   1508 xauth configure 1.1
   1509 generated by GNU Autoconf 2.69
   1510 
   1511 Copyright (C) 2012 Free Software Foundation, Inc.
   1512 This configure script is free software; the Free Software Foundation
   1513 gives unlimited permission to copy, distribute and modify it.
   1514 _ACEOF
   1515   exit
   1516 fi
   1517 
   1518 ## ------------------------ ##
   1519 ## Autoconf initialization. ##
   1520 ## ------------------------ ##
   1521 
   1522 # ac_fn_c_try_compile LINENO
   1523 # --------------------------
   1524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1525 ac_fn_c_try_compile ()
   1526 {
   1527   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1528   rm -f conftest.$ac_objext
   1529   if { { ac_try="$ac_compile"
   1530 case "(($ac_try" in
   1531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1532   *) ac_try_echo=$ac_try;;
   1533 esac
   1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1535 $as_echo "$ac_try_echo"; } >&5
   1536   (eval "$ac_compile") 2>conftest.err
   1537   ac_status=$?
   1538   if test -s conftest.err; then
   1539     grep -v '^ *+' conftest.err >conftest.er1
   1540     cat conftest.er1 >&5
   1541     mv -f conftest.er1 conftest.err
   1542   fi
   1543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1544   test $ac_status = 0; } && {
   1545 	 test -z "$ac_c_werror_flag" ||
   1546 	 test ! -s conftest.err
   1547        } && test -s conftest.$ac_objext; then :
   1548   ac_retval=0
   1549 else
   1550   $as_echo "$as_me: failed program was:" >&5
   1551 sed 's/^/| /' conftest.$ac_ext >&5
   1552 
   1553 	ac_retval=1
   1554 fi
   1555   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1556   as_fn_set_status $ac_retval
   1557 
   1558 } # ac_fn_c_try_compile
   1559 
   1560 # ac_fn_c_try_cpp LINENO
   1561 # ----------------------
   1562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1563 ac_fn_c_try_cpp ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1567 case "(($ac_try" in
   1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1569   *) ac_try_echo=$ac_try;;
   1570 esac
   1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1572 $as_echo "$ac_try_echo"; } >&5
   1573   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1574   ac_status=$?
   1575   if test -s conftest.err; then
   1576     grep -v '^ *+' conftest.err >conftest.er1
   1577     cat conftest.er1 >&5
   1578     mv -f conftest.er1 conftest.err
   1579   fi
   1580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1581   test $ac_status = 0; } > conftest.i && {
   1582 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1583 	 test ! -s conftest.err
   1584        }; then :
   1585   ac_retval=0
   1586 else
   1587   $as_echo "$as_me: failed program was:" >&5
   1588 sed 's/^/| /' conftest.$ac_ext >&5
   1589 
   1590     ac_retval=1
   1591 fi
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593   as_fn_set_status $ac_retval
   1594 
   1595 } # ac_fn_c_try_cpp
   1596 
   1597 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1598 # -------------------------------------------------------
   1599 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1600 # the include files in INCLUDES and setting the cache variable VAR
   1601 # accordingly.
   1602 ac_fn_c_check_header_mongrel ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   if eval \${$3+:} false; then :
   1606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1607 $as_echo_n "checking for $2... " >&6; }
   1608 if eval \${$3+:} false; then :
   1609   $as_echo_n "(cached) " >&6
   1610 fi
   1611 eval ac_res=\$$3
   1612 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1613 $as_echo "$ac_res" >&6; }
   1614 else
   1615   # Is the header compilable?
   1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1617 $as_echo_n "checking $2 usability... " >&6; }
   1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1619 /* end confdefs.h.  */
   1620 $4
   1621 #include <$2>
   1622 _ACEOF
   1623 if ac_fn_c_try_compile "$LINENO"; then :
   1624   ac_header_compiler=yes
   1625 else
   1626   ac_header_compiler=no
   1627 fi
   1628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1630 $as_echo "$ac_header_compiler" >&6; }
   1631 
   1632 # Is the header present?
   1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1634 $as_echo_n "checking $2 presence... " >&6; }
   1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1636 /* end confdefs.h.  */
   1637 #include <$2>
   1638 _ACEOF
   1639 if ac_fn_c_try_cpp "$LINENO"; then :
   1640   ac_header_preproc=yes
   1641 else
   1642   ac_header_preproc=no
   1643 fi
   1644 rm -f conftest.err conftest.i conftest.$ac_ext
   1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1646 $as_echo "$ac_header_preproc" >&6; }
   1647 
   1648 # So?  What about this header?
   1649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1650   yes:no: )
   1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1652 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1655     ;;
   1656   no:yes:* )
   1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1658 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1660 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1662 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1664 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1667 ( $as_echo "## ------------------------------------------------------------------- ##
   1668 ## Report this to https://gitlab.freedesktop.org/xorg/app/xauth/issues ##
   1669 ## ------------------------------------------------------------------- ##"
   1670      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1671     ;;
   1672 esac
   1673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1674 $as_echo_n "checking for $2... " >&6; }
   1675 if eval \${$3+:} false; then :
   1676   $as_echo_n "(cached) " >&6
   1677 else
   1678   eval "$3=\$ac_header_compiler"
   1679 fi
   1680 eval ac_res=\$$3
   1681 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1682 $as_echo "$ac_res" >&6; }
   1683 fi
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685 
   1686 } # ac_fn_c_check_header_mongrel
   1687 
   1688 # ac_fn_c_try_run LINENO
   1689 # ----------------------
   1690 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1691 # that executables *can* be run.
   1692 ac_fn_c_try_run ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   if { { ac_try="$ac_link"
   1696 case "(($ac_try" in
   1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1698   *) ac_try_echo=$ac_try;;
   1699 esac
   1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1701 $as_echo "$ac_try_echo"; } >&5
   1702   (eval "$ac_link") 2>&5
   1703   ac_status=$?
   1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1706   { { case "(($ac_try" in
   1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1708   *) ac_try_echo=$ac_try;;
   1709 esac
   1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1711 $as_echo "$ac_try_echo"; } >&5
   1712   (eval "$ac_try") 2>&5
   1713   ac_status=$?
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; }; }; then :
   1716   ac_retval=0
   1717 else
   1718   $as_echo "$as_me: program exited with status $ac_status" >&5
   1719        $as_echo "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722        ac_retval=$ac_status
   1723 fi
   1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1726   as_fn_set_status $ac_retval
   1727 
   1728 } # ac_fn_c_try_run
   1729 
   1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1731 # -------------------------------------------------------
   1732 # Tests whether HEADER exists and can be compiled using the include files in
   1733 # INCLUDES, setting the cache variable VAR accordingly.
   1734 ac_fn_c_check_header_compile ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 $as_echo_n "checking for $2... " >&6; }
   1739 if eval \${$3+:} false; then :
   1740   $as_echo_n "(cached) " >&6
   1741 else
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 $4
   1745 #include <$2>
   1746 _ACEOF
   1747 if ac_fn_c_try_compile "$LINENO"; then :
   1748   eval "$3=yes"
   1749 else
   1750   eval "$3=no"
   1751 fi
   1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 $as_echo "$ac_res" >&6; }
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758 
   1759 } # ac_fn_c_check_header_compile
   1760 
   1761 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1762 # ---------------------------------------------
   1763 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1764 # accordingly.
   1765 ac_fn_c_check_decl ()
   1766 {
   1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1768   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1769   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1771 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1772 if eval \${$3+:} false; then :
   1773   $as_echo_n "(cached) " >&6
   1774 else
   1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 $4
   1778 int
   1779 main ()
   1780 {
   1781 #ifndef $as_decl_name
   1782 #ifdef __cplusplus
   1783   (void) $as_decl_use;
   1784 #else
   1785   (void) $as_decl_name;
   1786 #endif
   1787 #endif
   1788 
   1789   ;
   1790   return 0;
   1791 }
   1792 _ACEOF
   1793 if ac_fn_c_try_compile "$LINENO"; then :
   1794   eval "$3=yes"
   1795 else
   1796   eval "$3=no"
   1797 fi
   1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1799 fi
   1800 eval ac_res=\$$3
   1801 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1802 $as_echo "$ac_res" >&6; }
   1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1804 
   1805 } # ac_fn_c_check_decl
   1806 
   1807 # ac_fn_c_try_link LINENO
   1808 # -----------------------
   1809 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1810 ac_fn_c_try_link ()
   1811 {
   1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1813   rm -f conftest.$ac_objext conftest$ac_exeext
   1814   if { { ac_try="$ac_link"
   1815 case "(($ac_try" in
   1816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1817   *) ac_try_echo=$ac_try;;
   1818 esac
   1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1820 $as_echo "$ac_try_echo"; } >&5
   1821   (eval "$ac_link") 2>conftest.err
   1822   ac_status=$?
   1823   if test -s conftest.err; then
   1824     grep -v '^ *+' conftest.err >conftest.er1
   1825     cat conftest.er1 >&5
   1826     mv -f conftest.er1 conftest.err
   1827   fi
   1828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1829   test $ac_status = 0; } && {
   1830 	 test -z "$ac_c_werror_flag" ||
   1831 	 test ! -s conftest.err
   1832        } && test -s conftest$ac_exeext && {
   1833 	 test "$cross_compiling" = yes ||
   1834 	 test -x conftest$ac_exeext
   1835        }; then :
   1836   ac_retval=0
   1837 else
   1838   $as_echo "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841 	ac_retval=1
   1842 fi
   1843   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1844   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1845   # interfere with the next link command; also delete a directory that is
   1846   # left behind by Apple's compiler.  We do this before executing the actions.
   1847   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1849   as_fn_set_status $ac_retval
   1850 
   1851 } # ac_fn_c_try_link
   1852 
   1853 # ac_fn_c_check_func LINENO FUNC VAR
   1854 # ----------------------------------
   1855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1856 ac_fn_c_check_func ()
   1857 {
   1858   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1860 $as_echo_n "checking for $2... " >&6; }
   1861 if eval \${$3+:} false; then :
   1862   $as_echo_n "(cached) " >&6
   1863 else
   1864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1865 /* end confdefs.h.  */
   1866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1867    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1868 #define $2 innocuous_$2
   1869 
   1870 /* System header to define __stub macros and hopefully few prototypes,
   1871     which can conflict with char $2 (); below.
   1872     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1873     <limits.h> exists even on freestanding compilers.  */
   1874 
   1875 #ifdef __STDC__
   1876 # include <limits.h>
   1877 #else
   1878 # include <assert.h>
   1879 #endif
   1880 
   1881 #undef $2
   1882 
   1883 /* Override any GCC internal prototype to avoid an error.
   1884    Use char because int might match the return type of a GCC
   1885    builtin and then its argument prototype would still apply.  */
   1886 #ifdef __cplusplus
   1887 extern "C"
   1888 #endif
   1889 char $2 ();
   1890 /* The GNU C library defines this for functions which it implements
   1891     to always fail with ENOSYS.  Some functions are actually named
   1892     something starting with __ and the normal name is an alias.  */
   1893 #if defined __stub_$2 || defined __stub___$2
   1894 choke me
   1895 #endif
   1896 
   1897 int
   1898 main ()
   1899 {
   1900 return $2 ();
   1901   ;
   1902   return 0;
   1903 }
   1904 _ACEOF
   1905 if ac_fn_c_try_link "$LINENO"; then :
   1906   eval "$3=yes"
   1907 else
   1908   eval "$3=no"
   1909 fi
   1910 rm -f core conftest.err conftest.$ac_objext \
   1911     conftest$ac_exeext conftest.$ac_ext
   1912 fi
   1913 eval ac_res=\$$3
   1914 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1915 $as_echo "$ac_res" >&6; }
   1916   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1917 
   1918 } # ac_fn_c_check_func
   1919 
   1920 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1921 # ----------------------------------------------------
   1922 # Tries to find if the field MEMBER exists in type AGGR, after including
   1923 # INCLUDES, setting cache variable VAR accordingly.
   1924 ac_fn_c_check_member ()
   1925 {
   1926   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1928 $as_echo_n "checking for $2.$3... " >&6; }
   1929 if eval \${$4+:} false; then :
   1930   $as_echo_n "(cached) " >&6
   1931 else
   1932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1933 /* end confdefs.h.  */
   1934 $5
   1935 int
   1936 main ()
   1937 {
   1938 static $2 ac_aggr;
   1939 if (ac_aggr.$3)
   1940 return 0;
   1941   ;
   1942   return 0;
   1943 }
   1944 _ACEOF
   1945 if ac_fn_c_try_compile "$LINENO"; then :
   1946   eval "$4=yes"
   1947 else
   1948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1949 /* end confdefs.h.  */
   1950 $5
   1951 int
   1952 main ()
   1953 {
   1954 static $2 ac_aggr;
   1955 if (sizeof ac_aggr.$3)
   1956 return 0;
   1957   ;
   1958   return 0;
   1959 }
   1960 _ACEOF
   1961 if ac_fn_c_try_compile "$LINENO"; then :
   1962   eval "$4=yes"
   1963 else
   1964   eval "$4=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1967 fi
   1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1969 fi
   1970 eval ac_res=\$$4
   1971 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1972 $as_echo "$ac_res" >&6; }
   1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1974 
   1975 } # ac_fn_c_check_member
   1976 
   1977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1978 # -------------------------------------------
   1979 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1980 # variable VAR accordingly.
   1981 ac_fn_c_check_type ()
   1982 {
   1983   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1985 $as_echo_n "checking for $2... " >&6; }
   1986 if eval \${$3+:} false; then :
   1987   $as_echo_n "(cached) " >&6
   1988 else
   1989   eval "$3=no"
   1990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1991 /* end confdefs.h.  */
   1992 $4
   1993 int
   1994 main ()
   1995 {
   1996 if (sizeof ($2))
   1997 	 return 0;
   1998   ;
   1999   return 0;
   2000 }
   2001 _ACEOF
   2002 if ac_fn_c_try_compile "$LINENO"; then :
   2003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2004 /* end confdefs.h.  */
   2005 $4
   2006 int
   2007 main ()
   2008 {
   2009 if (sizeof (($2)))
   2010 	    return 0;
   2011   ;
   2012   return 0;
   2013 }
   2014 _ACEOF
   2015 if ac_fn_c_try_compile "$LINENO"; then :
   2016 
   2017 else
   2018   eval "$3=yes"
   2019 fi
   2020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2021 fi
   2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2023 fi
   2024 eval ac_res=\$$3
   2025 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2026 $as_echo "$ac_res" >&6; }
   2027   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2028 
   2029 } # ac_fn_c_check_type
   2030 cat >config.log <<_ACEOF
   2031 This file contains any messages produced by compilers while
   2032 running configure, to aid debugging if configure makes a mistake.
   2033 
   2034 It was created by xauth $as_me 1.1, which was
   2035 generated by GNU Autoconf 2.69.  Invocation command line was
   2036 
   2037   $ $0 $@
   2038 
   2039 _ACEOF
   2040 exec 5>>config.log
   2041 {
   2042 cat <<_ASUNAME
   2043 ## --------- ##
   2044 ## Platform. ##
   2045 ## --------- ##
   2046 
   2047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2052 
   2053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2054 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2055 
   2056 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2057 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2059 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2060 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2061 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2062 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2063 
   2064 _ASUNAME
   2065 
   2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2067 for as_dir in $PATH
   2068 do
   2069   IFS=$as_save_IFS
   2070   test -z "$as_dir" && as_dir=.
   2071     $as_echo "PATH: $as_dir"
   2072   done
   2073 IFS=$as_save_IFS
   2074 
   2075 } >&5
   2076 
   2077 cat >&5 <<_ACEOF
   2078 
   2079 
   2080 ## ----------- ##
   2081 ## Core tests. ##
   2082 ## ----------- ##
   2083 
   2084 _ACEOF
   2085 
   2086 
   2087 # Keep a trace of the command line.
   2088 # Strip out --no-create and --no-recursion so they do not pile up.
   2089 # Strip out --silent because we don't want to record it for future runs.
   2090 # Also quote any args containing shell meta-characters.
   2091 # Make two passes to allow for proper duplicate-argument suppression.
   2092 ac_configure_args=
   2093 ac_configure_args0=
   2094 ac_configure_args1=
   2095 ac_must_keep_next=false
   2096 for ac_pass in 1 2
   2097 do
   2098   for ac_arg
   2099   do
   2100     case $ac_arg in
   2101     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2102     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2103     | -silent | --silent | --silen | --sile | --sil)
   2104       continue ;;
   2105     *\'*)
   2106       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2107     esac
   2108     case $ac_pass in
   2109     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2110     2)
   2111       as_fn_append ac_configure_args1 " '$ac_arg'"
   2112       if test $ac_must_keep_next = true; then
   2113 	ac_must_keep_next=false # Got value, back to normal.
   2114       else
   2115 	case $ac_arg in
   2116 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2117 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2118 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2119 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2120 	    case "$ac_configure_args0 " in
   2121 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2122 	    esac
   2123 	    ;;
   2124 	  -* ) ac_must_keep_next=true ;;
   2125 	esac
   2126       fi
   2127       as_fn_append ac_configure_args " '$ac_arg'"
   2128       ;;
   2129     esac
   2130   done
   2131 done
   2132 { ac_configure_args0=; unset ac_configure_args0;}
   2133 { ac_configure_args1=; unset ac_configure_args1;}
   2134 
   2135 # When interrupted or exit'd, cleanup temporary files, and complete
   2136 # config.log.  We remove comments because anyway the quotes in there
   2137 # would cause problems or look ugly.
   2138 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2140 trap 'exit_status=$?
   2141   # Save into config.log some information that might help in debugging.
   2142   {
   2143     echo
   2144 
   2145     $as_echo "## ---------------- ##
   2146 ## Cache variables. ##
   2147 ## ---------------- ##"
   2148     echo
   2149     # The following way of writing the cache mishandles newlines in values,
   2150 (
   2151   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2152     eval ac_val=\$$ac_var
   2153     case $ac_val in #(
   2154     *${as_nl}*)
   2155       case $ac_var in #(
   2156       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2158       esac
   2159       case $ac_var in #(
   2160       _ | IFS | as_nl) ;; #(
   2161       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2162       *) { eval $ac_var=; unset $ac_var;} ;;
   2163       esac ;;
   2164     esac
   2165   done
   2166   (set) 2>&1 |
   2167     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2168     *${as_nl}ac_space=\ *)
   2169       sed -n \
   2170 	"s/'\''/'\''\\\\'\'''\''/g;
   2171 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2172       ;; #(
   2173     *)
   2174       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2175       ;;
   2176     esac |
   2177     sort
   2178 )
   2179     echo
   2180 
   2181     $as_echo "## ----------------- ##
   2182 ## Output variables. ##
   2183 ## ----------------- ##"
   2184     echo
   2185     for ac_var in $ac_subst_vars
   2186     do
   2187       eval ac_val=\$$ac_var
   2188       case $ac_val in
   2189       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2190       esac
   2191       $as_echo "$ac_var='\''$ac_val'\''"
   2192     done | sort
   2193     echo
   2194 
   2195     if test -n "$ac_subst_files"; then
   2196       $as_echo "## ------------------- ##
   2197 ## File substitutions. ##
   2198 ## ------------------- ##"
   2199       echo
   2200       for ac_var in $ac_subst_files
   2201       do
   2202 	eval ac_val=\$$ac_var
   2203 	case $ac_val in
   2204 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2205 	esac
   2206 	$as_echo "$ac_var='\''$ac_val'\''"
   2207       done | sort
   2208       echo
   2209     fi
   2210 
   2211     if test -s confdefs.h; then
   2212       $as_echo "## ----------- ##
   2213 ## confdefs.h. ##
   2214 ## ----------- ##"
   2215       echo
   2216       cat confdefs.h
   2217       echo
   2218     fi
   2219     test "$ac_signal" != 0 &&
   2220       $as_echo "$as_me: caught signal $ac_signal"
   2221     $as_echo "$as_me: exit $exit_status"
   2222   } >&5
   2223   rm -f core *.core core.conftest.* &&
   2224     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2225     exit $exit_status
   2226 ' 0
   2227 for ac_signal in 1 2 13 15; do
   2228   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2229 done
   2230 ac_signal=0
   2231 
   2232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2233 rm -f -r conftest* confdefs.h
   2234 
   2235 $as_echo "/* confdefs.h */" > confdefs.h
   2236 
   2237 # Predefined preprocessor variables.
   2238 
   2239 cat >>confdefs.h <<_ACEOF
   2240 #define PACKAGE_NAME "$PACKAGE_NAME"
   2241 _ACEOF
   2242 
   2243 cat >>confdefs.h <<_ACEOF
   2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2245 _ACEOF
   2246 
   2247 cat >>confdefs.h <<_ACEOF
   2248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2249 _ACEOF
   2250 
   2251 cat >>confdefs.h <<_ACEOF
   2252 #define PACKAGE_STRING "$PACKAGE_STRING"
   2253 _ACEOF
   2254 
   2255 cat >>confdefs.h <<_ACEOF
   2256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2257 _ACEOF
   2258 
   2259 cat >>confdefs.h <<_ACEOF
   2260 #define PACKAGE_URL "$PACKAGE_URL"
   2261 _ACEOF
   2262 
   2263 
   2264 # Let the site file select an alternate cache file if it wants to.
   2265 # Prefer an explicitly selected file to automatically selected ones.
   2266 ac_site_file1=NONE
   2267 ac_site_file2=NONE
   2268 if test -n "$CONFIG_SITE"; then
   2269   # We do not want a PATH search for config.site.
   2270   case $CONFIG_SITE in #((
   2271     -*)  ac_site_file1=./$CONFIG_SITE;;
   2272     */*) ac_site_file1=$CONFIG_SITE;;
   2273     *)   ac_site_file1=./$CONFIG_SITE;;
   2274   esac
   2275 elif test "x$prefix" != xNONE; then
   2276   ac_site_file1=$prefix/share/config.site
   2277   ac_site_file2=$prefix/etc/config.site
   2278 else
   2279   ac_site_file1=$ac_default_prefix/share/config.site
   2280   ac_site_file2=$ac_default_prefix/etc/config.site
   2281 fi
   2282 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2283 do
   2284   test "x$ac_site_file" = xNONE && continue
   2285   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2286     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2288     sed 's/^/| /' "$ac_site_file" >&5
   2289     . "$ac_site_file" \
   2290       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2292 as_fn_error $? "failed to load site script $ac_site_file
   2293 See \`config.log' for more details" "$LINENO" 5; }
   2294   fi
   2295 done
   2296 
   2297 if test -r "$cache_file"; then
   2298   # Some versions of bash will fail to source /dev/null (special files
   2299   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2300   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2301     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2302 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2303     case $cache_file in
   2304       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2305       *)                      . "./$cache_file";;
   2306     esac
   2307   fi
   2308 else
   2309   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2310 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2311   >$cache_file
   2312 fi
   2313 
   2314 # Check that the precious variables saved in the cache have kept the same
   2315 # value.
   2316 ac_cache_corrupted=false
   2317 for ac_var in $ac_precious_vars; do
   2318   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2319   eval ac_new_set=\$ac_env_${ac_var}_set
   2320   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2321   eval ac_new_val=\$ac_env_${ac_var}_value
   2322   case $ac_old_set,$ac_new_set in
   2323     set,)
   2324       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2326       ac_cache_corrupted=: ;;
   2327     ,set)
   2328       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2330       ac_cache_corrupted=: ;;
   2331     ,);;
   2332     *)
   2333       if test "x$ac_old_val" != "x$ac_new_val"; then
   2334 	# differences in whitespace do not lead to failure.
   2335 	ac_old_val_w=`echo x $ac_old_val`
   2336 	ac_new_val_w=`echo x $ac_new_val`
   2337 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2338 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2340 	  ac_cache_corrupted=:
   2341 	else
   2342 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2344 	  eval $ac_var=\$ac_old_val
   2345 	fi
   2346 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2347 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2348 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2349 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2350       fi;;
   2351   esac
   2352   # Pass precious variables to config.status.
   2353   if test "$ac_new_set" = set; then
   2354     case $ac_new_val in
   2355     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2356     *) ac_arg=$ac_var=$ac_new_val ;;
   2357     esac
   2358     case " $ac_configure_args " in
   2359       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2360       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2361     esac
   2362   fi
   2363 done
   2364 if $ac_cache_corrupted; then
   2365   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2367   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2369   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2370 fi
   2371 ## -------------------- ##
   2372 ## Main body of script. ##
   2373 ## -------------------- ##
   2374 
   2375 ac_ext=c
   2376 ac_cpp='$CPP $CPPFLAGS'
   2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2380 
   2381 
   2382 am__api_version='1.16'
   2383 
   2384 ac_aux_dir=
   2385 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2386   if test -f "$ac_dir/install-sh"; then
   2387     ac_aux_dir=$ac_dir
   2388     ac_install_sh="$ac_aux_dir/install-sh -c"
   2389     break
   2390   elif test -f "$ac_dir/install.sh"; then
   2391     ac_aux_dir=$ac_dir
   2392     ac_install_sh="$ac_aux_dir/install.sh -c"
   2393     break
   2394   elif test -f "$ac_dir/shtool"; then
   2395     ac_aux_dir=$ac_dir
   2396     ac_install_sh="$ac_aux_dir/shtool install -c"
   2397     break
   2398   fi
   2399 done
   2400 if test -z "$ac_aux_dir"; then
   2401   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2402 fi
   2403 
   2404 # These three variables are undocumented and unsupported,
   2405 # and are intended to be withdrawn in a future Autoconf release.
   2406 # They can cause serious problems if a builder's source tree is in a directory
   2407 # whose full name contains unusual characters.
   2408 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2409 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2410 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2411 
   2412 
   2413 # Find a good install program.  We prefer a C program (faster),
   2414 # so one script is as good as another.  But avoid the broken or
   2415 # incompatible versions:
   2416 # SysV /etc/install, /usr/sbin/install
   2417 # SunOS /usr/etc/install
   2418 # IRIX /sbin/install
   2419 # AIX /bin/install
   2420 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2424 # OS/2's system install, which has a completely different semantic
   2425 # ./install, which can be erroneously created by make from ./install.sh.
   2426 # Reject install programs that cannot install multiple files.
   2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2428 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2429 if test -z "$INSTALL"; then
   2430 if ${ac_cv_path_install+:} false; then :
   2431   $as_echo_n "(cached) " >&6
   2432 else
   2433   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438     # Account for people who put trailing slashes in PATH elements.
   2439 case $as_dir/ in #((
   2440   ./ | .// | /[cC]/* | \
   2441   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2442   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2443   /usr/ucb/* ) ;;
   2444   *)
   2445     # OSF1 and SCO ODT 3.0 have their own names for install.
   2446     # Don't use installbsd from OSF since it installs stuff as root
   2447     # by default.
   2448     for ac_prog in ginstall scoinst install; do
   2449       for ac_exec_ext in '' $ac_executable_extensions; do
   2450 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2451 	  if test $ac_prog = install &&
   2452 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2453 	    # AIX install.  It has an incompatible calling convention.
   2454 	    :
   2455 	  elif test $ac_prog = install &&
   2456 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2457 	    # program-specific install script used by HP pwplus--don't use.
   2458 	    :
   2459 	  else
   2460 	    rm -rf conftest.one conftest.two conftest.dir
   2461 	    echo one > conftest.one
   2462 	    echo two > conftest.two
   2463 	    mkdir conftest.dir
   2464 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2465 	      test -s conftest.one && test -s conftest.two &&
   2466 	      test -s conftest.dir/conftest.one &&
   2467 	      test -s conftest.dir/conftest.two
   2468 	    then
   2469 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2470 	      break 3
   2471 	    fi
   2472 	  fi
   2473 	fi
   2474       done
   2475     done
   2476     ;;
   2477 esac
   2478 
   2479   done
   2480 IFS=$as_save_IFS
   2481 
   2482 rm -rf conftest.one conftest.two conftest.dir
   2483 
   2484 fi
   2485   if test "${ac_cv_path_install+set}" = set; then
   2486     INSTALL=$ac_cv_path_install
   2487   else
   2488     # As a last resort, use the slow shell script.  Don't cache a
   2489     # value for INSTALL within a source directory, because that will
   2490     # break other packages using the cache if that directory is
   2491     # removed, or if the value is a relative name.
   2492     INSTALL=$ac_install_sh
   2493   fi
   2494 fi
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2496 $as_echo "$INSTALL" >&6; }
   2497 
   2498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2499 # It thinks the first close brace ends the variable substitution.
   2500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2501 
   2502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2503 
   2504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2505 
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2507 $as_echo_n "checking whether build environment is sane... " >&6; }
   2508 # Reject unsafe characters in $srcdir or the absolute working directory
   2509 # name.  Accept space and tab only in the latter.
   2510 am_lf='
   2511 '
   2512 case `pwd` in
   2513   *[\\\"\#\$\&\'\`$am_lf]*)
   2514     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2515 esac
   2516 case $srcdir in
   2517   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2518     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2519 esac
   2520 
   2521 # Do 'set' in a subshell so we don't clobber the current shell's
   2522 # arguments.  Must try -L first in case configure is actually a
   2523 # symlink; some systems play weird games with the mod time of symlinks
   2524 # (eg FreeBSD returns the mod time of the symlink's containing
   2525 # directory).
   2526 if (
   2527    am_has_slept=no
   2528    for am_try in 1 2; do
   2529      echo "timestamp, slept: $am_has_slept" > conftest.file
   2530      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2531      if test "$*" = "X"; then
   2532 	# -L didn't work.
   2533 	set X `ls -t "$srcdir/configure" conftest.file`
   2534      fi
   2535      if test "$*" != "X $srcdir/configure conftest.file" \
   2536 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2537 
   2538 	# If neither matched, then we have a broken ls.  This can happen
   2539 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2540 	# broken ls alias from the environment.  This has actually
   2541 	# happened.  Such a system could not be considered "sane".
   2542 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2543   alias in your environment" "$LINENO" 5
   2544      fi
   2545      if test "$2" = conftest.file || test $am_try -eq 2; then
   2546        break
   2547      fi
   2548      # Just in case.
   2549      sleep 1
   2550      am_has_slept=yes
   2551    done
   2552    test "$2" = conftest.file
   2553    )
   2554 then
   2555    # Ok.
   2556    :
   2557 else
   2558    as_fn_error $? "newly created file is older than distributed files!
   2559 Check your system clock" "$LINENO" 5
   2560 fi
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2562 $as_echo "yes" >&6; }
   2563 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2564 # generated files are strictly newer.
   2565 am_sleep_pid=
   2566 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2567   ( sleep 1 ) &
   2568   am_sleep_pid=$!
   2569 fi
   2570 
   2571 rm -f conftest.file
   2572 
   2573 test "$program_prefix" != NONE &&
   2574   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2575 # Use a double $ so make ignores it.
   2576 test "$program_suffix" != NONE &&
   2577   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2578 # Double any \ or $.
   2579 # By default was `s,x,x', remove it if useless.
   2580 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2581 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2582 
   2583 # Expand $ac_aux_dir to an absolute path.
   2584 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2585 
   2586 if test x"${MISSING+set}" != xset; then
   2587   case $am_aux_dir in
   2588   *\ * | *\	*)
   2589     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2590   *)
   2591     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2592   esac
   2593 fi
   2594 # Use eval to expand $SHELL
   2595 if eval "$MISSING --is-lightweight"; then
   2596   am_missing_run="$MISSING "
   2597 else
   2598   am_missing_run=
   2599   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2600 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2601 fi
   2602 
   2603 if test x"${install_sh+set}" != xset; then
   2604   case $am_aux_dir in
   2605   *\ * | *\	*)
   2606     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2607   *)
   2608     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2609   esac
   2610 fi
   2611 
   2612 # Installed binaries are usually stripped using 'strip' when the user
   2613 # run "make install-strip".  However 'strip' might not be the right
   2614 # tool to use in cross-compilation environments, therefore Automake
   2615 # will honor the 'STRIP' environment variable to overrule this program.
   2616 if test "$cross_compiling" != no; then
   2617   if test -n "$ac_tool_prefix"; then
   2618   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2619 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2621 $as_echo_n "checking for $ac_word... " >&6; }
   2622 if ${ac_cv_prog_STRIP+:} false; then :
   2623   $as_echo_n "(cached) " >&6
   2624 else
   2625   if test -n "$STRIP"; then
   2626   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2627 else
   2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2629 for as_dir in $PATH
   2630 do
   2631   IFS=$as_save_IFS
   2632   test -z "$as_dir" && as_dir=.
   2633     for ac_exec_ext in '' $ac_executable_extensions; do
   2634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2635     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2637     break 2
   2638   fi
   2639 done
   2640   done
   2641 IFS=$as_save_IFS
   2642 
   2643 fi
   2644 fi
   2645 STRIP=$ac_cv_prog_STRIP
   2646 if test -n "$STRIP"; then
   2647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2648 $as_echo "$STRIP" >&6; }
   2649 else
   2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2651 $as_echo "no" >&6; }
   2652 fi
   2653 
   2654 
   2655 fi
   2656 if test -z "$ac_cv_prog_STRIP"; then
   2657   ac_ct_STRIP=$STRIP
   2658   # Extract the first word of "strip", so it can be a program name with args.
   2659 set dummy strip; ac_word=$2
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2661 $as_echo_n "checking for $ac_word... " >&6; }
   2662 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2663   $as_echo_n "(cached) " >&6
   2664 else
   2665   if test -n "$ac_ct_STRIP"; then
   2666   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2667 else
   2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2669 for as_dir in $PATH
   2670 do
   2671   IFS=$as_save_IFS
   2672   test -z "$as_dir" && as_dir=.
   2673     for ac_exec_ext in '' $ac_executable_extensions; do
   2674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2675     ac_cv_prog_ac_ct_STRIP="strip"
   2676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2677     break 2
   2678   fi
   2679 done
   2680   done
   2681 IFS=$as_save_IFS
   2682 
   2683 fi
   2684 fi
   2685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2686 if test -n "$ac_ct_STRIP"; then
   2687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2688 $as_echo "$ac_ct_STRIP" >&6; }
   2689 else
   2690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2691 $as_echo "no" >&6; }
   2692 fi
   2693 
   2694   if test "x$ac_ct_STRIP" = x; then
   2695     STRIP=":"
   2696   else
   2697     case $cross_compiling:$ac_tool_warned in
   2698 yes:)
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2701 ac_tool_warned=yes ;;
   2702 esac
   2703     STRIP=$ac_ct_STRIP
   2704   fi
   2705 else
   2706   STRIP="$ac_cv_prog_STRIP"
   2707 fi
   2708 
   2709 fi
   2710 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2711 
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2713 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2714 if test -z "$MKDIR_P"; then
   2715   if ${ac_cv_path_mkdir+:} false; then :
   2716   $as_echo_n "(cached) " >&6
   2717 else
   2718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2719 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2720 do
   2721   IFS=$as_save_IFS
   2722   test -z "$as_dir" && as_dir=.
   2723     for ac_prog in mkdir gmkdir; do
   2724 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2725 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2726 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2727 	     'mkdir (GNU coreutils) '* | \
   2728 	     'mkdir (coreutils) '* | \
   2729 	     'mkdir (fileutils) '4.1*)
   2730 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2731 	       break 3;;
   2732 	   esac
   2733 	 done
   2734        done
   2735   done
   2736 IFS=$as_save_IFS
   2737 
   2738 fi
   2739 
   2740   test -d ./--version && rmdir ./--version
   2741   if test "${ac_cv_path_mkdir+set}" = set; then
   2742     MKDIR_P="$ac_cv_path_mkdir -p"
   2743   else
   2744     # As a last resort, use the slow shell script.  Don't cache a
   2745     # value for MKDIR_P within a source directory, because that will
   2746     # break other packages using the cache if that directory is
   2747     # removed, or if the value is a relative name.
   2748     MKDIR_P="$ac_install_sh -d"
   2749   fi
   2750 fi
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2752 $as_echo "$MKDIR_P" >&6; }
   2753 
   2754 for ac_prog in gawk mawk nawk awk
   2755 do
   2756   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2757 set dummy $ac_prog; ac_word=$2
   2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2759 $as_echo_n "checking for $ac_word... " >&6; }
   2760 if ${ac_cv_prog_AWK+:} false; then :
   2761   $as_echo_n "(cached) " >&6
   2762 else
   2763   if test -n "$AWK"; then
   2764   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2765 else
   2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2767 for as_dir in $PATH
   2768 do
   2769   IFS=$as_save_IFS
   2770   test -z "$as_dir" && as_dir=.
   2771     for ac_exec_ext in '' $ac_executable_extensions; do
   2772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2773     ac_cv_prog_AWK="$ac_prog"
   2774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2775     break 2
   2776   fi
   2777 done
   2778   done
   2779 IFS=$as_save_IFS
   2780 
   2781 fi
   2782 fi
   2783 AWK=$ac_cv_prog_AWK
   2784 if test -n "$AWK"; then
   2785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2786 $as_echo "$AWK" >&6; }
   2787 else
   2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2789 $as_echo "no" >&6; }
   2790 fi
   2791 
   2792 
   2793   test -n "$AWK" && break
   2794 done
   2795 
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2797 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2798 set x ${MAKE-make}
   2799 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2800 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2801   $as_echo_n "(cached) " >&6
   2802 else
   2803   cat >conftest.make <<\_ACEOF
   2804 SHELL = /bin/sh
   2805 all:
   2806 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2807 _ACEOF
   2808 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2809 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2810   *@@@%%%=?*=@@@%%%*)
   2811     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2812   *)
   2813     eval ac_cv_prog_make_${ac_make}_set=no;;
   2814 esac
   2815 rm -f conftest.make
   2816 fi
   2817 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2819 $as_echo "yes" >&6; }
   2820   SET_MAKE=
   2821 else
   2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2823 $as_echo "no" >&6; }
   2824   SET_MAKE="MAKE=${MAKE-make}"
   2825 fi
   2826 
   2827 rm -rf .tst 2>/dev/null
   2828 mkdir .tst 2>/dev/null
   2829 if test -d .tst; then
   2830   am__leading_dot=.
   2831 else
   2832   am__leading_dot=_
   2833 fi
   2834 rmdir .tst 2>/dev/null
   2835 
   2836 # Check whether --enable-silent-rules was given.
   2837 if test "${enable_silent_rules+set}" = set; then :
   2838   enableval=$enable_silent_rules;
   2839 fi
   2840 
   2841 case $enable_silent_rules in # (((
   2842   yes) AM_DEFAULT_VERBOSITY=0;;
   2843    no) AM_DEFAULT_VERBOSITY=1;;
   2844     *) AM_DEFAULT_VERBOSITY=1;;
   2845 esac
   2846 am_make=${MAKE-make}
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2848 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2849 if ${am_cv_make_support_nested_variables+:} false; then :
   2850   $as_echo_n "(cached) " >&6
   2851 else
   2852   if $as_echo 'TRUE=$(BAR$(V))
   2853 BAR0=false
   2854 BAR1=true
   2855 V=1
   2856 am__doit:
   2857 	@$(TRUE)
   2858 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2859   am_cv_make_support_nested_variables=yes
   2860 else
   2861   am_cv_make_support_nested_variables=no
   2862 fi
   2863 fi
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2865 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2866 if test $am_cv_make_support_nested_variables = yes; then
   2867     AM_V='$(V)'
   2868   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2869 else
   2870   AM_V=$AM_DEFAULT_VERBOSITY
   2871   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2872 fi
   2873 AM_BACKSLASH='\'
   2874 
   2875 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2876   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2877   # is not polluted with repeated "-I."
   2878   am__isrc=' -I$(srcdir)'
   2879   # test to see if srcdir already configured
   2880   if test -f $srcdir/config.status; then
   2881     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2882   fi
   2883 fi
   2884 
   2885 # test whether we have cygpath
   2886 if test -z "$CYGPATH_W"; then
   2887   if (cygpath --version) >/dev/null 2>/dev/null; then
   2888     CYGPATH_W='cygpath -w'
   2889   else
   2890     CYGPATH_W=echo
   2891   fi
   2892 fi
   2893 
   2894 
   2895 # Define the identity of the package.
   2896  PACKAGE='xauth'
   2897  VERSION='1.1'
   2898 
   2899 
   2900 cat >>confdefs.h <<_ACEOF
   2901 #define PACKAGE "$PACKAGE"
   2902 _ACEOF
   2903 
   2904 
   2905 cat >>confdefs.h <<_ACEOF
   2906 #define VERSION "$VERSION"
   2907 _ACEOF
   2908 
   2909 # Some tools Automake needs.
   2910 
   2911 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2912 
   2913 
   2914 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2915 
   2916 
   2917 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2918 
   2919 
   2920 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2921 
   2922 
   2923 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2924 
   2925 # For better backward compatibility.  To be removed once Automake 1.9.x
   2926 # dies out for good.  For more background, see:
   2927 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2928 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2929 mkdir_p='$(MKDIR_P)'
   2930 
   2931 # We need awk for the "check" target (and possibly the TAP driver).  The
   2932 # system "awk" is bad on some platforms.
   2933 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2934 # in the wild :-(  We should find a proper way to deprecate it ...
   2935 AMTAR='$${TAR-tar}'
   2936 
   2937 
   2938 # We'll loop over all known methods to create a tar archive until one works.
   2939 _am_tools='gnutar  pax cpio none'
   2940 
   2941 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2942 
   2943 
   2944 
   2945 
   2946 
   2947 
   2948 # POSIX will say in a future version that running "rm -f" with no argument
   2949 # is OK; and we want to be able to make that assumption in our Makefile
   2950 # recipes.  So use an aggressive probe to check that the usage we want is
   2951 # actually supported "in the wild" to an acceptable degree.
   2952 # See automake bug#10828.
   2953 # To make any issue more visible, cause the running configure to be aborted
   2954 # by default if the 'rm' program in use doesn't match our expectations; the
   2955 # user can still override this though.
   2956 if rm -f && rm -fr && rm -rf; then : OK; else
   2957   cat >&2 <<'END'
   2958 Oops!
   2959 
   2960 Your 'rm' program seems unable to run without file operands specified
   2961 on the command line, even when the '-f' option is present.  This is contrary
   2962 to the behaviour of most rm programs out there, and not conforming with
   2963 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2964 
   2965 Please tell bug-automake@gnu.org about your system, including the value
   2966 of your $PATH and any error possibly output before this message.  This
   2967 can help us improve future automake versions.
   2968 
   2969 END
   2970   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2971     echo 'Configuration will proceed anyway, since you have set the' >&2
   2972     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2973     echo >&2
   2974   else
   2975     cat >&2 <<'END'
   2976 Aborting the configuration process, to ensure you take notice of the issue.
   2977 
   2978 You can download and install GNU coreutils to get an 'rm' implementation
   2979 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2980 
   2981 If you want to complete the configuration process using your problematic
   2982 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2983 to "yes", and re-run configure.
   2984 
   2985 END
   2986     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2987   fi
   2988 fi
   2989 
   2990 
   2991 ac_config_headers="$ac_config_headers config.h"
   2992 
   2993 
   2994 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2995 # Must be called before any macros that run the compiler (like
   2996 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   2997 DEPDIR="${am__leading_dot}deps"
   2998 
   2999 ac_config_commands="$ac_config_commands depfiles"
   3000 
   3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3002 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3003 cat > confinc.mk << 'END'
   3004 am__doit:
   3005 	@echo this is the am__doit target >confinc.out
   3006 .PHONY: am__doit
   3007 END
   3008 am__include="#"
   3009 am__quote=
   3010 # BSD make does it like this.
   3011 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3012 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3013 echo 'include confinc.mk # ignored' > confmf.GNU
   3014 _am_result=no
   3015 for s in GNU BSD; do
   3016   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3017    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3018    ac_status=$?
   3019    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3020    (exit $ac_status); }
   3021   case $?:`cat confinc.out 2>/dev/null` in #(
   3022   '0:this is the am__doit target') :
   3023     case $s in #(
   3024   BSD) :
   3025     am__include='.include' am__quote='"' ;; #(
   3026   *) :
   3027     am__include='include' am__quote='' ;;
   3028 esac ;; #(
   3029   *) :
   3030      ;;
   3031 esac
   3032   if test "$am__include" != "#"; then
   3033     _am_result="yes ($s style)"
   3034     break
   3035   fi
   3036 done
   3037 rm -f confinc.* confmf.*
   3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3039 $as_echo "${_am_result}" >&6; }
   3040 
   3041 # Check whether --enable-dependency-tracking was given.
   3042 if test "${enable_dependency_tracking+set}" = set; then :
   3043   enableval=$enable_dependency_tracking;
   3044 fi
   3045 
   3046 if test "x$enable_dependency_tracking" != xno; then
   3047   am_depcomp="$ac_aux_dir/depcomp"
   3048   AMDEPBACKSLASH='\'
   3049   am__nodep='_no'
   3050 fi
   3051  if test "x$enable_dependency_tracking" != xno; then
   3052   AMDEP_TRUE=
   3053   AMDEP_FALSE='#'
   3054 else
   3055   AMDEP_TRUE='#'
   3056   AMDEP_FALSE=
   3057 fi
   3058 
   3059 
   3060 ac_ext=c
   3061 ac_cpp='$CPP $CPPFLAGS'
   3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3065 if test -n "$ac_tool_prefix"; then
   3066   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3069 $as_echo_n "checking for $ac_word... " >&6; }
   3070 if ${ac_cv_prog_CC+:} false; then :
   3071   $as_echo_n "(cached) " >&6
   3072 else
   3073   if test -n "$CC"; then
   3074   ac_cv_prog_CC="$CC" # Let the user override the test.
   3075 else
   3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3077 for as_dir in $PATH
   3078 do
   3079   IFS=$as_save_IFS
   3080   test -z "$as_dir" && as_dir=.
   3081     for ac_exec_ext in '' $ac_executable_extensions; do
   3082   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3083     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3085     break 2
   3086   fi
   3087 done
   3088   done
   3089 IFS=$as_save_IFS
   3090 
   3091 fi
   3092 fi
   3093 CC=$ac_cv_prog_CC
   3094 if test -n "$CC"; then
   3095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3096 $as_echo "$CC" >&6; }
   3097 else
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3099 $as_echo "no" >&6; }
   3100 fi
   3101 
   3102 
   3103 fi
   3104 if test -z "$ac_cv_prog_CC"; then
   3105   ac_ct_CC=$CC
   3106   # Extract the first word of "gcc", so it can be a program name with args.
   3107 set dummy gcc; ac_word=$2
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3109 $as_echo_n "checking for $ac_word... " >&6; }
   3110 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3111   $as_echo_n "(cached) " >&6
   3112 else
   3113   if test -n "$ac_ct_CC"; then
   3114   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3115 else
   3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3117 for as_dir in $PATH
   3118 do
   3119   IFS=$as_save_IFS
   3120   test -z "$as_dir" && as_dir=.
   3121     for ac_exec_ext in '' $ac_executable_extensions; do
   3122   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3123     ac_cv_prog_ac_ct_CC="gcc"
   3124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3125     break 2
   3126   fi
   3127 done
   3128   done
   3129 IFS=$as_save_IFS
   3130 
   3131 fi
   3132 fi
   3133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3134 if test -n "$ac_ct_CC"; then
   3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3136 $as_echo "$ac_ct_CC" >&6; }
   3137 else
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3139 $as_echo "no" >&6; }
   3140 fi
   3141 
   3142   if test "x$ac_ct_CC" = x; then
   3143     CC=""
   3144   else
   3145     case $cross_compiling:$ac_tool_warned in
   3146 yes:)
   3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3149 ac_tool_warned=yes ;;
   3150 esac
   3151     CC=$ac_ct_CC
   3152   fi
   3153 else
   3154   CC="$ac_cv_prog_CC"
   3155 fi
   3156 
   3157 if test -z "$CC"; then
   3158           if test -n "$ac_tool_prefix"; then
   3159     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3160 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3162 $as_echo_n "checking for $ac_word... " >&6; }
   3163 if ${ac_cv_prog_CC+:} false; then :
   3164   $as_echo_n "(cached) " >&6
   3165 else
   3166   if test -n "$CC"; then
   3167   ac_cv_prog_CC="$CC" # Let the user override the test.
   3168 else
   3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3170 for as_dir in $PATH
   3171 do
   3172   IFS=$as_save_IFS
   3173   test -z "$as_dir" && as_dir=.
   3174     for ac_exec_ext in '' $ac_executable_extensions; do
   3175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3176     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3178     break 2
   3179   fi
   3180 done
   3181   done
   3182 IFS=$as_save_IFS
   3183 
   3184 fi
   3185 fi
   3186 CC=$ac_cv_prog_CC
   3187 if test -n "$CC"; then
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3189 $as_echo "$CC" >&6; }
   3190 else
   3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3192 $as_echo "no" >&6; }
   3193 fi
   3194 
   3195 
   3196   fi
   3197 fi
   3198 if test -z "$CC"; then
   3199   # Extract the first word of "cc", so it can be a program name with args.
   3200 set dummy cc; ac_word=$2
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3202 $as_echo_n "checking for $ac_word... " >&6; }
   3203 if ${ac_cv_prog_CC+:} false; then :
   3204   $as_echo_n "(cached) " >&6
   3205 else
   3206   if test -n "$CC"; then
   3207   ac_cv_prog_CC="$CC" # Let the user override the test.
   3208 else
   3209   ac_prog_rejected=no
   3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3211 for as_dir in $PATH
   3212 do
   3213   IFS=$as_save_IFS
   3214   test -z "$as_dir" && as_dir=.
   3215     for ac_exec_ext in '' $ac_executable_extensions; do
   3216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3217     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3218        ac_prog_rejected=yes
   3219        continue
   3220      fi
   3221     ac_cv_prog_CC="cc"
   3222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3223     break 2
   3224   fi
   3225 done
   3226   done
   3227 IFS=$as_save_IFS
   3228 
   3229 if test $ac_prog_rejected = yes; then
   3230   # We found a bogon in the path, so make sure we never use it.
   3231   set dummy $ac_cv_prog_CC
   3232   shift
   3233   if test $# != 0; then
   3234     # We chose a different compiler from the bogus one.
   3235     # However, it has the same basename, so the bogon will be chosen
   3236     # first if we set CC to just the basename; use the full file name.
   3237     shift
   3238     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3239   fi
   3240 fi
   3241 fi
   3242 fi
   3243 CC=$ac_cv_prog_CC
   3244 if test -n "$CC"; then
   3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3246 $as_echo "$CC" >&6; }
   3247 else
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3249 $as_echo "no" >&6; }
   3250 fi
   3251 
   3252 
   3253 fi
   3254 if test -z "$CC"; then
   3255   if test -n "$ac_tool_prefix"; then
   3256   for ac_prog in cl.exe
   3257   do
   3258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3261 $as_echo_n "checking for $ac_word... " >&6; }
   3262 if ${ac_cv_prog_CC+:} false; then :
   3263   $as_echo_n "(cached) " >&6
   3264 else
   3265   if test -n "$CC"; then
   3266   ac_cv_prog_CC="$CC" # Let the user override the test.
   3267 else
   3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3269 for as_dir in $PATH
   3270 do
   3271   IFS=$as_save_IFS
   3272   test -z "$as_dir" && as_dir=.
   3273     for ac_exec_ext in '' $ac_executable_extensions; do
   3274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3275     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3277     break 2
   3278   fi
   3279 done
   3280   done
   3281 IFS=$as_save_IFS
   3282 
   3283 fi
   3284 fi
   3285 CC=$ac_cv_prog_CC
   3286 if test -n "$CC"; then
   3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3288 $as_echo "$CC" >&6; }
   3289 else
   3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3291 $as_echo "no" >&6; }
   3292 fi
   3293 
   3294 
   3295     test -n "$CC" && break
   3296   done
   3297 fi
   3298 if test -z "$CC"; then
   3299   ac_ct_CC=$CC
   3300   for ac_prog in cl.exe
   3301 do
   3302   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3303 set dummy $ac_prog; ac_word=$2
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3305 $as_echo_n "checking for $ac_word... " >&6; }
   3306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3307   $as_echo_n "(cached) " >&6
   3308 else
   3309   if test -n "$ac_ct_CC"; then
   3310   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3311 else
   3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3313 for as_dir in $PATH
   3314 do
   3315   IFS=$as_save_IFS
   3316   test -z "$as_dir" && as_dir=.
   3317     for ac_exec_ext in '' $ac_executable_extensions; do
   3318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3319     ac_cv_prog_ac_ct_CC="$ac_prog"
   3320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3321     break 2
   3322   fi
   3323 done
   3324   done
   3325 IFS=$as_save_IFS
   3326 
   3327 fi
   3328 fi
   3329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3330 if test -n "$ac_ct_CC"; then
   3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3332 $as_echo "$ac_ct_CC" >&6; }
   3333 else
   3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3335 $as_echo "no" >&6; }
   3336 fi
   3337 
   3338 
   3339   test -n "$ac_ct_CC" && break
   3340 done
   3341 
   3342   if test "x$ac_ct_CC" = x; then
   3343     CC=""
   3344   else
   3345     case $cross_compiling:$ac_tool_warned in
   3346 yes:)
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3349 ac_tool_warned=yes ;;
   3350 esac
   3351     CC=$ac_ct_CC
   3352   fi
   3353 fi
   3354 
   3355 fi
   3356 
   3357 
   3358 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3360 as_fn_error $? "no acceptable C compiler found in \$PATH
   3361 See \`config.log' for more details" "$LINENO" 5; }
   3362 
   3363 # Provide some information about the compiler.
   3364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3365 set X $ac_compile
   3366 ac_compiler=$2
   3367 for ac_option in --version -v -V -qversion; do
   3368   { { ac_try="$ac_compiler $ac_option >&5"
   3369 case "(($ac_try" in
   3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3371   *) ac_try_echo=$ac_try;;
   3372 esac
   3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3374 $as_echo "$ac_try_echo"; } >&5
   3375   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3376   ac_status=$?
   3377   if test -s conftest.err; then
   3378     sed '10a\
   3379 ... rest of stderr output deleted ...
   3380          10q' conftest.err >conftest.er1
   3381     cat conftest.er1 >&5
   3382   fi
   3383   rm -f conftest.er1 conftest.err
   3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3385   test $ac_status = 0; }
   3386 done
   3387 
   3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3389 /* end confdefs.h.  */
   3390 
   3391 int
   3392 main ()
   3393 {
   3394 
   3395   ;
   3396   return 0;
   3397 }
   3398 _ACEOF
   3399 ac_clean_files_save=$ac_clean_files
   3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3401 # Try to create an executable without -o first, disregard a.out.
   3402 # It will help us diagnose broken compilers, and finding out an intuition
   3403 # of exeext.
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3405 $as_echo_n "checking whether the C compiler works... " >&6; }
   3406 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3407 
   3408 # The possible output files:
   3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3410 
   3411 ac_rmfiles=
   3412 for ac_file in $ac_files
   3413 do
   3414   case $ac_file in
   3415     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3416     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3417   esac
   3418 done
   3419 rm -f $ac_rmfiles
   3420 
   3421 if { { ac_try="$ac_link_default"
   3422 case "(($ac_try" in
   3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3424   *) ac_try_echo=$ac_try;;
   3425 esac
   3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3427 $as_echo "$ac_try_echo"; } >&5
   3428   (eval "$ac_link_default") 2>&5
   3429   ac_status=$?
   3430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3431   test $ac_status = 0; }; then :
   3432   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3433 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3434 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3435 # so that the user can short-circuit this test for compilers unknown to
   3436 # Autoconf.
   3437 for ac_file in $ac_files ''
   3438 do
   3439   test -f "$ac_file" || continue
   3440   case $ac_file in
   3441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3442 	;;
   3443     [ab].out )
   3444 	# We found the default executable, but exeext='' is most
   3445 	# certainly right.
   3446 	break;;
   3447     *.* )
   3448 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3449 	then :; else
   3450 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3451 	fi
   3452 	# We set ac_cv_exeext here because the later test for it is not
   3453 	# safe: cross compilers may not add the suffix if given an `-o'
   3454 	# argument, so we may need to know it at that point already.
   3455 	# Even if this section looks crufty: it has the advantage of
   3456 	# actually working.
   3457 	break;;
   3458     * )
   3459 	break;;
   3460   esac
   3461 done
   3462 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3463 
   3464 else
   3465   ac_file=''
   3466 fi
   3467 if test -z "$ac_file"; then :
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3469 $as_echo "no" >&6; }
   3470 $as_echo "$as_me: failed program was:" >&5
   3471 sed 's/^/| /' conftest.$ac_ext >&5
   3472 
   3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3475 as_fn_error 77 "C compiler cannot create executables
   3476 See \`config.log' for more details" "$LINENO" 5; }
   3477 else
   3478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3479 $as_echo "yes" >&6; }
   3480 fi
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3482 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3484 $as_echo "$ac_file" >&6; }
   3485 ac_exeext=$ac_cv_exeext
   3486 
   3487 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3488 ac_clean_files=$ac_clean_files_save
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3490 $as_echo_n "checking for suffix of executables... " >&6; }
   3491 if { { ac_try="$ac_link"
   3492 case "(($ac_try" in
   3493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3494   *) ac_try_echo=$ac_try;;
   3495 esac
   3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3497 $as_echo "$ac_try_echo"; } >&5
   3498   (eval "$ac_link") 2>&5
   3499   ac_status=$?
   3500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3501   test $ac_status = 0; }; then :
   3502   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3503 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3504 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3505 # `rm'.
   3506 for ac_file in conftest.exe conftest conftest.*; do
   3507   test -f "$ac_file" || continue
   3508   case $ac_file in
   3509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3510     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3511 	  break;;
   3512     * ) break;;
   3513   esac
   3514 done
   3515 else
   3516   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3518 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3519 See \`config.log' for more details" "$LINENO" 5; }
   3520 fi
   3521 rm -f conftest conftest$ac_cv_exeext
   3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3523 $as_echo "$ac_cv_exeext" >&6; }
   3524 
   3525 rm -f conftest.$ac_ext
   3526 EXEEXT=$ac_cv_exeext
   3527 ac_exeext=$EXEEXT
   3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3529 /* end confdefs.h.  */
   3530 #include <stdio.h>
   3531 int
   3532 main ()
   3533 {
   3534 FILE *f = fopen ("conftest.out", "w");
   3535  return ferror (f) || fclose (f) != 0;
   3536 
   3537   ;
   3538   return 0;
   3539 }
   3540 _ACEOF
   3541 ac_clean_files="$ac_clean_files conftest.out"
   3542 # Check that the compiler produces executables we can run.  If not, either
   3543 # the compiler is broken, or we cross compile.
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3546 if test "$cross_compiling" != yes; then
   3547   { { ac_try="$ac_link"
   3548 case "(($ac_try" in
   3549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3550   *) ac_try_echo=$ac_try;;
   3551 esac
   3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3553 $as_echo "$ac_try_echo"; } >&5
   3554   (eval "$ac_link") 2>&5
   3555   ac_status=$?
   3556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3557   test $ac_status = 0; }
   3558   if { ac_try='./conftest$ac_cv_exeext'
   3559   { { case "(($ac_try" in
   3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3561   *) ac_try_echo=$ac_try;;
   3562 esac
   3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3564 $as_echo "$ac_try_echo"; } >&5
   3565   (eval "$ac_try") 2>&5
   3566   ac_status=$?
   3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3568   test $ac_status = 0; }; }; then
   3569     cross_compiling=no
   3570   else
   3571     if test "$cross_compiling" = maybe; then
   3572 	cross_compiling=yes
   3573     else
   3574 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3576 as_fn_error $? "cannot run C compiled programs.
   3577 If you meant to cross compile, use \`--host'.
   3578 See \`config.log' for more details" "$LINENO" 5; }
   3579     fi
   3580   fi
   3581 fi
   3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3583 $as_echo "$cross_compiling" >&6; }
   3584 
   3585 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3586 ac_clean_files=$ac_clean_files_save
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3588 $as_echo_n "checking for suffix of object files... " >&6; }
   3589 if ${ac_cv_objext+:} false; then :
   3590   $as_echo_n "(cached) " >&6
   3591 else
   3592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3593 /* end confdefs.h.  */
   3594 
   3595 int
   3596 main ()
   3597 {
   3598 
   3599   ;
   3600   return 0;
   3601 }
   3602 _ACEOF
   3603 rm -f conftest.o conftest.obj
   3604 if { { ac_try="$ac_compile"
   3605 case "(($ac_try" in
   3606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3607   *) ac_try_echo=$ac_try;;
   3608 esac
   3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3610 $as_echo "$ac_try_echo"; } >&5
   3611   (eval "$ac_compile") 2>&5
   3612   ac_status=$?
   3613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3614   test $ac_status = 0; }; then :
   3615   for ac_file in conftest.o conftest.obj conftest.*; do
   3616   test -f "$ac_file" || continue;
   3617   case $ac_file in
   3618     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3619     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3620        break;;
   3621   esac
   3622 done
   3623 else
   3624   $as_echo "$as_me: failed program was:" >&5
   3625 sed 's/^/| /' conftest.$ac_ext >&5
   3626 
   3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3629 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3630 See \`config.log' for more details" "$LINENO" 5; }
   3631 fi
   3632 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3633 fi
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3635 $as_echo "$ac_cv_objext" >&6; }
   3636 OBJEXT=$ac_cv_objext
   3637 ac_objext=$OBJEXT
   3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3639 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3640 if ${ac_cv_c_compiler_gnu+:} false; then :
   3641   $as_echo_n "(cached) " >&6
   3642 else
   3643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3644 /* end confdefs.h.  */
   3645 
   3646 int
   3647 main ()
   3648 {
   3649 #ifndef __GNUC__
   3650        choke me
   3651 #endif
   3652 
   3653   ;
   3654   return 0;
   3655 }
   3656 _ACEOF
   3657 if ac_fn_c_try_compile "$LINENO"; then :
   3658   ac_compiler_gnu=yes
   3659 else
   3660   ac_compiler_gnu=no
   3661 fi
   3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3663 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3664 
   3665 fi
   3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3667 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3668 if test $ac_compiler_gnu = yes; then
   3669   GCC=yes
   3670 else
   3671   GCC=
   3672 fi
   3673 ac_test_CFLAGS=${CFLAGS+set}
   3674 ac_save_CFLAGS=$CFLAGS
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3676 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3677 if ${ac_cv_prog_cc_g+:} false; then :
   3678   $as_echo_n "(cached) " >&6
   3679 else
   3680   ac_save_c_werror_flag=$ac_c_werror_flag
   3681    ac_c_werror_flag=yes
   3682    ac_cv_prog_cc_g=no
   3683    CFLAGS="-g"
   3684    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3685 /* end confdefs.h.  */
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695 if ac_fn_c_try_compile "$LINENO"; then :
   3696   ac_cv_prog_cc_g=yes
   3697 else
   3698   CFLAGS=""
   3699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3700 /* end confdefs.h.  */
   3701 
   3702 int
   3703 main ()
   3704 {
   3705 
   3706   ;
   3707   return 0;
   3708 }
   3709 _ACEOF
   3710 if ac_fn_c_try_compile "$LINENO"; then :
   3711 
   3712 else
   3713   ac_c_werror_flag=$ac_save_c_werror_flag
   3714 	 CFLAGS="-g"
   3715 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3716 /* end confdefs.h.  */
   3717 
   3718 int
   3719 main ()
   3720 {
   3721 
   3722   ;
   3723   return 0;
   3724 }
   3725 _ACEOF
   3726 if ac_fn_c_try_compile "$LINENO"; then :
   3727   ac_cv_prog_cc_g=yes
   3728 fi
   3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3730 fi
   3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3732 fi
   3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3734    ac_c_werror_flag=$ac_save_c_werror_flag
   3735 fi
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3737 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3738 if test "$ac_test_CFLAGS" = set; then
   3739   CFLAGS=$ac_save_CFLAGS
   3740 elif test $ac_cv_prog_cc_g = yes; then
   3741   if test "$GCC" = yes; then
   3742     CFLAGS="-g -O2"
   3743   else
   3744     CFLAGS="-g"
   3745   fi
   3746 else
   3747   if test "$GCC" = yes; then
   3748     CFLAGS="-O2"
   3749   else
   3750     CFLAGS=
   3751   fi
   3752 fi
   3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3755 if ${ac_cv_prog_cc_c89+:} false; then :
   3756   $as_echo_n "(cached) " >&6
   3757 else
   3758   ac_cv_prog_cc_c89=no
   3759 ac_save_CC=$CC
   3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3761 /* end confdefs.h.  */
   3762 #include <stdarg.h>
   3763 #include <stdio.h>
   3764 struct stat;
   3765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3766 struct buf { int x; };
   3767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3768 static char *e (p, i)
   3769      char **p;
   3770      int i;
   3771 {
   3772   return p[i];
   3773 }
   3774 static char *f (char * (*g) (char **, int), char **p, ...)
   3775 {
   3776   char *s;
   3777   va_list v;
   3778   va_start (v,p);
   3779   s = g (p, va_arg (v,int));
   3780   va_end (v);
   3781   return s;
   3782 }
   3783 
   3784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3785    function prototypes and stuff, but not '\xHH' hex character constants.
   3786    These don't provoke an error unfortunately, instead are silently treated
   3787    as 'x'.  The following induces an error, until -std is added to get
   3788    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3789    array size at least.  It's necessary to write '\x00'==0 to get something
   3790    that's true only with -std.  */
   3791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3792 
   3793 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3794    inside strings and character constants.  */
   3795 #define FOO(x) 'x'
   3796 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3797 
   3798 int test (int i, double x);
   3799 struct s1 {int (*f) (int a);};
   3800 struct s2 {int (*f) (double a);};
   3801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3802 int argc;
   3803 char **argv;
   3804 int
   3805 main ()
   3806 {
   3807 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3808   ;
   3809   return 0;
   3810 }
   3811 _ACEOF
   3812 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3813 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3814 do
   3815   CC="$ac_save_CC $ac_arg"
   3816   if ac_fn_c_try_compile "$LINENO"; then :
   3817   ac_cv_prog_cc_c89=$ac_arg
   3818 fi
   3819 rm -f core conftest.err conftest.$ac_objext
   3820   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3821 done
   3822 rm -f conftest.$ac_ext
   3823 CC=$ac_save_CC
   3824 
   3825 fi
   3826 # AC_CACHE_VAL
   3827 case "x$ac_cv_prog_cc_c89" in
   3828   x)
   3829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3830 $as_echo "none needed" >&6; } ;;
   3831   xno)
   3832     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3833 $as_echo "unsupported" >&6; } ;;
   3834   *)
   3835     CC="$CC $ac_cv_prog_cc_c89"
   3836     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3837 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3838 esac
   3839 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3840 
   3841 fi
   3842 
   3843 ac_ext=c
   3844 ac_cpp='$CPP $CPPFLAGS'
   3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3848 
   3849 ac_ext=c
   3850 ac_cpp='$CPP $CPPFLAGS'
   3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3855 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3856 if ${am_cv_prog_cc_c_o+:} false; then :
   3857   $as_echo_n "(cached) " >&6
   3858 else
   3859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3860 /* end confdefs.h.  */
   3861 
   3862 int
   3863 main ()
   3864 {
   3865 
   3866   ;
   3867   return 0;
   3868 }
   3869 _ACEOF
   3870   # Make sure it works both with $CC and with simple cc.
   3871   # Following AC_PROG_CC_C_O, we do the test twice because some
   3872   # compilers refuse to overwrite an existing .o file with -o,
   3873   # though they will create one.
   3874   am_cv_prog_cc_c_o=yes
   3875   for am_i in 1 2; do
   3876     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3877    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3878    ac_status=$?
   3879    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3880    (exit $ac_status); } \
   3881          && test -f conftest2.$ac_objext; then
   3882       : OK
   3883     else
   3884       am_cv_prog_cc_c_o=no
   3885       break
   3886     fi
   3887   done
   3888   rm -f core conftest*
   3889   unset am_i
   3890 fi
   3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3892 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3893 if test "$am_cv_prog_cc_c_o" != yes; then
   3894    # Losing compiler, so override with the script.
   3895    # FIXME: It is wrong to rewrite CC.
   3896    # But if we don't then we get into trouble of one sort or another.
   3897    # A longer-term fix would be to have automake use am__CC in this case,
   3898    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3899    CC="$am_aux_dir/compile $CC"
   3900 fi
   3901 ac_ext=c
   3902 ac_cpp='$CPP $CPPFLAGS'
   3903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3906 
   3907 
   3908 depcc="$CC"   am_compiler_list=
   3909 
   3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3911 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3912 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3913   $as_echo_n "(cached) " >&6
   3914 else
   3915   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3916   # We make a subdir and do the tests there.  Otherwise we can end up
   3917   # making bogus files that we don't know about and never remove.  For
   3918   # instance it was reported that on HP-UX the gcc test will end up
   3919   # making a dummy file named 'D' -- because '-MD' means "put the output
   3920   # in D".
   3921   rm -rf conftest.dir
   3922   mkdir conftest.dir
   3923   # Copy depcomp to subdir because otherwise we won't find it if we're
   3924   # using a relative directory.
   3925   cp "$am_depcomp" conftest.dir
   3926   cd conftest.dir
   3927   # We will build objects and dependencies in a subdirectory because
   3928   # it helps to detect inapplicable dependency modes.  For instance
   3929   # both Tru64's cc and ICC support -MD to output dependencies as a
   3930   # side effect of compilation, but ICC will put the dependencies in
   3931   # the current directory while Tru64 will put them in the object
   3932   # directory.
   3933   mkdir sub
   3934 
   3935   am_cv_CC_dependencies_compiler_type=none
   3936   if test "$am_compiler_list" = ""; then
   3937      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3938   fi
   3939   am__universal=false
   3940   case " $depcc " in #(
   3941      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3942      esac
   3943 
   3944   for depmode in $am_compiler_list; do
   3945     # Setup a source with many dependencies, because some compilers
   3946     # like to wrap large dependency lists on column 80 (with \), and
   3947     # we should not choose a depcomp mode which is confused by this.
   3948     #
   3949     # We need to recreate these files for each test, as the compiler may
   3950     # overwrite some of them when testing with obscure command lines.
   3951     # This happens at least with the AIX C compiler.
   3952     : > sub/conftest.c
   3953     for i in 1 2 3 4 5 6; do
   3954       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3955       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3956       # Solaris 10 /bin/sh.
   3957       echo '/* dummy */' > sub/conftst$i.h
   3958     done
   3959     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3960 
   3961     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3962     # mode.  It turns out that the SunPro C++ compiler does not properly
   3963     # handle '-M -o', and we need to detect this.  Also, some Intel
   3964     # versions had trouble with output in subdirs.
   3965     am__obj=sub/conftest.${OBJEXT-o}
   3966     am__minus_obj="-o $am__obj"
   3967     case $depmode in
   3968     gcc)
   3969       # This depmode causes a compiler race in universal mode.
   3970       test "$am__universal" = false || continue
   3971       ;;
   3972     nosideeffect)
   3973       # After this tag, mechanisms are not by side-effect, so they'll
   3974       # only be used when explicitly requested.
   3975       if test "x$enable_dependency_tracking" = xyes; then
   3976 	continue
   3977       else
   3978 	break
   3979       fi
   3980       ;;
   3981     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3982       # This compiler won't grok '-c -o', but also, the minuso test has
   3983       # not run yet.  These depmodes are late enough in the game, and
   3984       # so weak that their functioning should not be impacted.
   3985       am__obj=conftest.${OBJEXT-o}
   3986       am__minus_obj=
   3987       ;;
   3988     none) break ;;
   3989     esac
   3990     if depmode=$depmode \
   3991        source=sub/conftest.c object=$am__obj \
   3992        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3993        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3994          >/dev/null 2>conftest.err &&
   3995        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3996        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3997        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3998        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3999       # icc doesn't choke on unknown options, it will just issue warnings
   4000       # or remarks (even with -Werror).  So we grep stderr for any message
   4001       # that says an option was ignored or not supported.
   4002       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4003       #   icc: Command line warning: ignoring option '-M'; no argument required
   4004       # The diagnosis changed in icc 8.0:
   4005       #   icc: Command line remark: option '-MP' not supported
   4006       if (grep 'ignoring option' conftest.err ||
   4007           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4008         am_cv_CC_dependencies_compiler_type=$depmode
   4009         break
   4010       fi
   4011     fi
   4012   done
   4013 
   4014   cd ..
   4015   rm -rf conftest.dir
   4016 else
   4017   am_cv_CC_dependencies_compiler_type=none
   4018 fi
   4019 
   4020 fi
   4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4022 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4023 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4024 
   4025  if
   4026   test "x$enable_dependency_tracking" != xno \
   4027   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4028   am__fastdepCC_TRUE=
   4029   am__fastdepCC_FALSE='#'
   4030 else
   4031   am__fastdepCC_TRUE='#'
   4032   am__fastdepCC_FALSE=
   4033 fi
   4034 
   4035 
   4036 
   4037 ac_ext=c
   4038 ac_cpp='$CPP $CPPFLAGS'
   4039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4043 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4044 # On Suns, sometimes $CPP names a directory.
   4045 if test -n "$CPP" && test -d "$CPP"; then
   4046   CPP=
   4047 fi
   4048 if test -z "$CPP"; then
   4049   if ${ac_cv_prog_CPP+:} false; then :
   4050   $as_echo_n "(cached) " >&6
   4051 else
   4052       # Double quotes because CPP needs to be expanded
   4053     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4054     do
   4055       ac_preproc_ok=false
   4056 for ac_c_preproc_warn_flag in '' yes
   4057 do
   4058   # Use a header file that comes with gcc, so configuring glibc
   4059   # with a fresh cross-compiler works.
   4060   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4061   # <limits.h> exists even on freestanding compilers.
   4062   # On the NeXT, cc -E runs the code through the compiler's parser,
   4063   # not just through cpp. "Syntax error" is here to catch this case.
   4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4065 /* end confdefs.h.  */
   4066 #ifdef __STDC__
   4067 # include <limits.h>
   4068 #else
   4069 # include <assert.h>
   4070 #endif
   4071 		     Syntax error
   4072 _ACEOF
   4073 if ac_fn_c_try_cpp "$LINENO"; then :
   4074 
   4075 else
   4076   # Broken: fails on valid input.
   4077 continue
   4078 fi
   4079 rm -f conftest.err conftest.i conftest.$ac_ext
   4080 
   4081   # OK, works on sane cases.  Now check whether nonexistent headers
   4082   # can be detected and how.
   4083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4084 /* end confdefs.h.  */
   4085 #include <ac_nonexistent.h>
   4086 _ACEOF
   4087 if ac_fn_c_try_cpp "$LINENO"; then :
   4088   # Broken: success on invalid input.
   4089 continue
   4090 else
   4091   # Passes both tests.
   4092 ac_preproc_ok=:
   4093 break
   4094 fi
   4095 rm -f conftest.err conftest.i conftest.$ac_ext
   4096 
   4097 done
   4098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4099 rm -f conftest.i conftest.err conftest.$ac_ext
   4100 if $ac_preproc_ok; then :
   4101   break
   4102 fi
   4103 
   4104     done
   4105     ac_cv_prog_CPP=$CPP
   4106 
   4107 fi
   4108   CPP=$ac_cv_prog_CPP
   4109 else
   4110   ac_cv_prog_CPP=$CPP
   4111 fi
   4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4113 $as_echo "$CPP" >&6; }
   4114 ac_preproc_ok=false
   4115 for ac_c_preproc_warn_flag in '' yes
   4116 do
   4117   # Use a header file that comes with gcc, so configuring glibc
   4118   # with a fresh cross-compiler works.
   4119   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4120   # <limits.h> exists even on freestanding compilers.
   4121   # On the NeXT, cc -E runs the code through the compiler's parser,
   4122   # not just through cpp. "Syntax error" is here to catch this case.
   4123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4124 /* end confdefs.h.  */
   4125 #ifdef __STDC__
   4126 # include <limits.h>
   4127 #else
   4128 # include <assert.h>
   4129 #endif
   4130 		     Syntax error
   4131 _ACEOF
   4132 if ac_fn_c_try_cpp "$LINENO"; then :
   4133 
   4134 else
   4135   # Broken: fails on valid input.
   4136 continue
   4137 fi
   4138 rm -f conftest.err conftest.i conftest.$ac_ext
   4139 
   4140   # OK, works on sane cases.  Now check whether nonexistent headers
   4141   # can be detected and how.
   4142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4143 /* end confdefs.h.  */
   4144 #include <ac_nonexistent.h>
   4145 _ACEOF
   4146 if ac_fn_c_try_cpp "$LINENO"; then :
   4147   # Broken: success on invalid input.
   4148 continue
   4149 else
   4150   # Passes both tests.
   4151 ac_preproc_ok=:
   4152 break
   4153 fi
   4154 rm -f conftest.err conftest.i conftest.$ac_ext
   4155 
   4156 done
   4157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4158 rm -f conftest.i conftest.err conftest.$ac_ext
   4159 if $ac_preproc_ok; then :
   4160 
   4161 else
   4162   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4164 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4165 See \`config.log' for more details" "$LINENO" 5; }
   4166 fi
   4167 
   4168 ac_ext=c
   4169 ac_cpp='$CPP $CPPFLAGS'
   4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4173 
   4174 
   4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4176 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4177 if ${ac_cv_path_GREP+:} false; then :
   4178   $as_echo_n "(cached) " >&6
   4179 else
   4180   if test -z "$GREP"; then
   4181   ac_path_GREP_found=false
   4182   # Loop through the user's path and test for each of PROGNAME-LIST
   4183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4185 do
   4186   IFS=$as_save_IFS
   4187   test -z "$as_dir" && as_dir=.
   4188     for ac_prog in grep ggrep; do
   4189     for ac_exec_ext in '' $ac_executable_extensions; do
   4190       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4191       as_fn_executable_p "$ac_path_GREP" || continue
   4192 # Check for GNU ac_path_GREP and select it if it is found.
   4193   # Check for GNU $ac_path_GREP
   4194 case `"$ac_path_GREP" --version 2>&1` in
   4195 *GNU*)
   4196   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4197 *)
   4198   ac_count=0
   4199   $as_echo_n 0123456789 >"conftest.in"
   4200   while :
   4201   do
   4202     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4203     mv "conftest.tmp" "conftest.in"
   4204     cp "conftest.in" "conftest.nl"
   4205     $as_echo 'GREP' >> "conftest.nl"
   4206     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4207     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4208     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4209     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4210       # Best one so far, save it but keep looking for a better one
   4211       ac_cv_path_GREP="$ac_path_GREP"
   4212       ac_path_GREP_max=$ac_count
   4213     fi
   4214     # 10*(2^10) chars as input seems more than enough
   4215     test $ac_count -gt 10 && break
   4216   done
   4217   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4218 esac
   4219 
   4220       $ac_path_GREP_found && break 3
   4221     done
   4222   done
   4223   done
   4224 IFS=$as_save_IFS
   4225   if test -z "$ac_cv_path_GREP"; then
   4226     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4227   fi
   4228 else
   4229   ac_cv_path_GREP=$GREP
   4230 fi
   4231 
   4232 fi
   4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4234 $as_echo "$ac_cv_path_GREP" >&6; }
   4235  GREP="$ac_cv_path_GREP"
   4236 
   4237 
   4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4239 $as_echo_n "checking for egrep... " >&6; }
   4240 if ${ac_cv_path_EGREP+:} false; then :
   4241   $as_echo_n "(cached) " >&6
   4242 else
   4243   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4244    then ac_cv_path_EGREP="$GREP -E"
   4245    else
   4246      if test -z "$EGREP"; then
   4247   ac_path_EGREP_found=false
   4248   # Loop through the user's path and test for each of PROGNAME-LIST
   4249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4251 do
   4252   IFS=$as_save_IFS
   4253   test -z "$as_dir" && as_dir=.
   4254     for ac_prog in egrep; do
   4255     for ac_exec_ext in '' $ac_executable_extensions; do
   4256       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4257       as_fn_executable_p "$ac_path_EGREP" || continue
   4258 # Check for GNU ac_path_EGREP and select it if it is found.
   4259   # Check for GNU $ac_path_EGREP
   4260 case `"$ac_path_EGREP" --version 2>&1` in
   4261 *GNU*)
   4262   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4263 *)
   4264   ac_count=0
   4265   $as_echo_n 0123456789 >"conftest.in"
   4266   while :
   4267   do
   4268     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4269     mv "conftest.tmp" "conftest.in"
   4270     cp "conftest.in" "conftest.nl"
   4271     $as_echo 'EGREP' >> "conftest.nl"
   4272     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4273     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4274     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4275     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4276       # Best one so far, save it but keep looking for a better one
   4277       ac_cv_path_EGREP="$ac_path_EGREP"
   4278       ac_path_EGREP_max=$ac_count
   4279     fi
   4280     # 10*(2^10) chars as input seems more than enough
   4281     test $ac_count -gt 10 && break
   4282   done
   4283   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4284 esac
   4285 
   4286       $ac_path_EGREP_found && break 3
   4287     done
   4288   done
   4289   done
   4290 IFS=$as_save_IFS
   4291   if test -z "$ac_cv_path_EGREP"; then
   4292     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4293   fi
   4294 else
   4295   ac_cv_path_EGREP=$EGREP
   4296 fi
   4297 
   4298    fi
   4299 fi
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4301 $as_echo "$ac_cv_path_EGREP" >&6; }
   4302  EGREP="$ac_cv_path_EGREP"
   4303 
   4304 
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4306 $as_echo_n "checking for ANSI C header files... " >&6; }
   4307 if ${ac_cv_header_stdc+:} false; then :
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4311 /* end confdefs.h.  */
   4312 #include <stdlib.h>
   4313 #include <stdarg.h>
   4314 #include <string.h>
   4315 #include <float.h>
   4316 
   4317 int
   4318 main ()
   4319 {
   4320 
   4321   ;
   4322   return 0;
   4323 }
   4324 _ACEOF
   4325 if ac_fn_c_try_compile "$LINENO"; then :
   4326   ac_cv_header_stdc=yes
   4327 else
   4328   ac_cv_header_stdc=no
   4329 fi
   4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4331 
   4332 if test $ac_cv_header_stdc = yes; then
   4333   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4335 /* end confdefs.h.  */
   4336 #include <string.h>
   4337 
   4338 _ACEOF
   4339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4340   $EGREP "memchr" >/dev/null 2>&1; then :
   4341 
   4342 else
   4343   ac_cv_header_stdc=no
   4344 fi
   4345 rm -f conftest*
   4346 
   4347 fi
   4348 
   4349 if test $ac_cv_header_stdc = yes; then
   4350   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4352 /* end confdefs.h.  */
   4353 #include <stdlib.h>
   4354 
   4355 _ACEOF
   4356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4357   $EGREP "free" >/dev/null 2>&1; then :
   4358 
   4359 else
   4360   ac_cv_header_stdc=no
   4361 fi
   4362 rm -f conftest*
   4363 
   4364 fi
   4365 
   4366 if test $ac_cv_header_stdc = yes; then
   4367   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4368   if test "$cross_compiling" = yes; then :
   4369   :
   4370 else
   4371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4372 /* end confdefs.h.  */
   4373 #include <ctype.h>
   4374 #include <stdlib.h>
   4375 #if ((' ' & 0x0FF) == 0x020)
   4376 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4377 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4378 #else
   4379 # define ISLOWER(c) \
   4380 		   (('a' <= (c) && (c) <= 'i') \
   4381 		     || ('j' <= (c) && (c) <= 'r') \
   4382 		     || ('s' <= (c) && (c) <= 'z'))
   4383 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4384 #endif
   4385 
   4386 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4387 int
   4388 main ()
   4389 {
   4390   int i;
   4391   for (i = 0; i < 256; i++)
   4392     if (XOR (islower (i), ISLOWER (i))
   4393 	|| toupper (i) != TOUPPER (i))
   4394       return 2;
   4395   return 0;
   4396 }
   4397 _ACEOF
   4398 if ac_fn_c_try_run "$LINENO"; then :
   4399 
   4400 else
   4401   ac_cv_header_stdc=no
   4402 fi
   4403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4404   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4405 fi
   4406 
   4407 fi
   4408 fi
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4410 $as_echo "$ac_cv_header_stdc" >&6; }
   4411 if test $ac_cv_header_stdc = yes; then
   4412 
   4413 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4414 
   4415 fi
   4416 
   4417 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4418 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4419 		  inttypes.h stdint.h unistd.h
   4420 do :
   4421   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4422 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4423 "
   4424 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4425   cat >>confdefs.h <<_ACEOF
   4426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4427 _ACEOF
   4428 
   4429 fi
   4430 
   4431 done
   4432 
   4433 
   4434 
   4435   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4436 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4437   MINIX=yes
   4438 else
   4439   MINIX=
   4440 fi
   4441 
   4442 
   4443   if test "$MINIX" = yes; then
   4444 
   4445 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4446 
   4447 
   4448 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4449 
   4450 
   4451 $as_echo "#define _MINIX 1" >>confdefs.h
   4452 
   4453   fi
   4454 
   4455 
   4456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4457 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4458 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4462 /* end confdefs.h.  */
   4463 
   4464 #         define __EXTENSIONS__ 1
   4465           $ac_includes_default
   4466 int
   4467 main ()
   4468 {
   4469 
   4470   ;
   4471   return 0;
   4472 }
   4473 _ACEOF
   4474 if ac_fn_c_try_compile "$LINENO"; then :
   4475   ac_cv_safe_to_define___extensions__=yes
   4476 else
   4477   ac_cv_safe_to_define___extensions__=no
   4478 fi
   4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4480 fi
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4482 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4483   test $ac_cv_safe_to_define___extensions__ = yes &&
   4484     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4485 
   4486   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4487 
   4488   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4489 
   4490   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4491 
   4492   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4493 
   4494 
   4495 
   4496 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 
   4508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4509 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4510 if ${ac_cv_prog_cc_c99+:} false; then :
   4511   $as_echo_n "(cached) " >&6
   4512 else
   4513   ac_cv_prog_cc_c99=no
   4514 ac_save_CC=$CC
   4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4516 /* end confdefs.h.  */
   4517 #include <stdarg.h>
   4518 #include <stdbool.h>
   4519 #include <stdlib.h>
   4520 #include <wchar.h>
   4521 #include <stdio.h>
   4522 
   4523 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4524 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4525 #define showlist(...) puts (#__VA_ARGS__)
   4526 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4527 static void
   4528 test_varargs_macros (void)
   4529 {
   4530   int x = 1234;
   4531   int y = 5678;
   4532   debug ("Flag");
   4533   debug ("X = %d\n", x);
   4534   showlist (The first, second, and third items.);
   4535   report (x>y, "x is %d but y is %d", x, y);
   4536 }
   4537 
   4538 // Check long long types.
   4539 #define BIG64 18446744073709551615ull
   4540 #define BIG32 4294967295ul
   4541 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4542 #if !BIG_OK
   4543   your preprocessor is broken;
   4544 #endif
   4545 #if BIG_OK
   4546 #else
   4547   your preprocessor is broken;
   4548 #endif
   4549 static long long int bignum = -9223372036854775807LL;
   4550 static unsigned long long int ubignum = BIG64;
   4551 
   4552 struct incomplete_array
   4553 {
   4554   int datasize;
   4555   double data[];
   4556 };
   4557 
   4558 struct named_init {
   4559   int number;
   4560   const wchar_t *name;
   4561   double average;
   4562 };
   4563 
   4564 typedef const char *ccp;
   4565 
   4566 static inline int
   4567 test_restrict (ccp restrict text)
   4568 {
   4569   // See if C++-style comments work.
   4570   // Iterate through items via the restricted pointer.
   4571   // Also check for declarations in for loops.
   4572   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4573     continue;
   4574   return 0;
   4575 }
   4576 
   4577 // Check varargs and va_copy.
   4578 static void
   4579 test_varargs (const char *format, ...)
   4580 {
   4581   va_list args;
   4582   va_start (args, format);
   4583   va_list args_copy;
   4584   va_copy (args_copy, args);
   4585 
   4586   const char *str;
   4587   int number;
   4588   float fnumber;
   4589 
   4590   while (*format)
   4591     {
   4592       switch (*format++)
   4593 	{
   4594 	case 's': // string
   4595 	  str = va_arg (args_copy, const char *);
   4596 	  break;
   4597 	case 'd': // int
   4598 	  number = va_arg (args_copy, int);
   4599 	  break;
   4600 	case 'f': // float
   4601 	  fnumber = va_arg (args_copy, double);
   4602 	  break;
   4603 	default:
   4604 	  break;
   4605 	}
   4606     }
   4607   va_end (args_copy);
   4608   va_end (args);
   4609 }
   4610 
   4611 int
   4612 main ()
   4613 {
   4614 
   4615   // Check bool.
   4616   _Bool success = false;
   4617 
   4618   // Check restrict.
   4619   if (test_restrict ("String literal") == 0)
   4620     success = true;
   4621   char *restrict newvar = "Another string";
   4622 
   4623   // Check varargs.
   4624   test_varargs ("s, d' f .", "string", 65, 34.234);
   4625   test_varargs_macros ();
   4626 
   4627   // Check flexible array members.
   4628   struct incomplete_array *ia =
   4629     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4630   ia->datasize = 10;
   4631   for (int i = 0; i < ia->datasize; ++i)
   4632     ia->data[i] = i * 1.234;
   4633 
   4634   // Check named initializers.
   4635   struct named_init ni = {
   4636     .number = 34,
   4637     .name = L"Test wide string",
   4638     .average = 543.34343,
   4639   };
   4640 
   4641   ni.number = 58;
   4642 
   4643   int dynamic_array[ni.number];
   4644   dynamic_array[ni.number - 1] = 543;
   4645 
   4646   // work around unused variable warnings
   4647   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4648 	  || dynamic_array[ni.number - 1] != 543);
   4649 
   4650   ;
   4651   return 0;
   4652 }
   4653 _ACEOF
   4654 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4655 do
   4656   CC="$ac_save_CC $ac_arg"
   4657   if ac_fn_c_try_compile "$LINENO"; then :
   4658   ac_cv_prog_cc_c99=$ac_arg
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext
   4661   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4662 done
   4663 rm -f conftest.$ac_ext
   4664 CC=$ac_save_CC
   4665 
   4666 fi
   4667 # AC_CACHE_VAL
   4668 case "x$ac_cv_prog_cc_c99" in
   4669   x)
   4670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4671 $as_echo "none needed" >&6; } ;;
   4672   xno)
   4673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4674 $as_echo "unsupported" >&6; } ;;
   4675   *)
   4676     CC="$CC $ac_cv_prog_cc_c99"
   4677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4678 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4679 esac
   4680 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4681 
   4682 fi
   4683 
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4690 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4691   CLANGCC="yes"
   4692 else
   4693   CLANGCC="no"
   4694 fi
   4695 
   4696 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4697 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4698   INTELCC="yes"
   4699 else
   4700   INTELCC="no"
   4701 fi
   4702 
   4703 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4704 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4705   SUNCC="yes"
   4706 else
   4707   SUNCC="no"
   4708 fi
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4719 	if test -n "$ac_tool_prefix"; then
   4720   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4721 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4723 $as_echo_n "checking for $ac_word... " >&6; }
   4724 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4725   $as_echo_n "(cached) " >&6
   4726 else
   4727   case $PKG_CONFIG in
   4728   [\\/]* | ?:[\\/]*)
   4729   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4730   ;;
   4731   *)
   4732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4733 for as_dir in $PATH
   4734 do
   4735   IFS=$as_save_IFS
   4736   test -z "$as_dir" && as_dir=.
   4737     for ac_exec_ext in '' $ac_executable_extensions; do
   4738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4739     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4741     break 2
   4742   fi
   4743 done
   4744   done
   4745 IFS=$as_save_IFS
   4746 
   4747   ;;
   4748 esac
   4749 fi
   4750 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4751 if test -n "$PKG_CONFIG"; then
   4752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4753 $as_echo "$PKG_CONFIG" >&6; }
   4754 else
   4755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4756 $as_echo "no" >&6; }
   4757 fi
   4758 
   4759 
   4760 fi
   4761 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4762   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4763   # Extract the first word of "pkg-config", so it can be a program name with args.
   4764 set dummy pkg-config; ac_word=$2
   4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4766 $as_echo_n "checking for $ac_word... " >&6; }
   4767 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4768   $as_echo_n "(cached) " >&6
   4769 else
   4770   case $ac_pt_PKG_CONFIG in
   4771   [\\/]* | ?:[\\/]*)
   4772   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4773   ;;
   4774   *)
   4775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4776 for as_dir in $PATH
   4777 do
   4778   IFS=$as_save_IFS
   4779   test -z "$as_dir" && as_dir=.
   4780     for ac_exec_ext in '' $ac_executable_extensions; do
   4781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4782     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4784     break 2
   4785   fi
   4786 done
   4787   done
   4788 IFS=$as_save_IFS
   4789 
   4790   ;;
   4791 esac
   4792 fi
   4793 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4794 if test -n "$ac_pt_PKG_CONFIG"; then
   4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4796 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4797 else
   4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4799 $as_echo "no" >&6; }
   4800 fi
   4801 
   4802   if test "x$ac_pt_PKG_CONFIG" = x; then
   4803     PKG_CONFIG=""
   4804   else
   4805     case $cross_compiling:$ac_tool_warned in
   4806 yes:)
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4809 ac_tool_warned=yes ;;
   4810 esac
   4811     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4812   fi
   4813 else
   4814   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4815 fi
   4816 
   4817 fi
   4818 if test -n "$PKG_CONFIG"; then
   4819 	_pkg_min_version=0.9.0
   4820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4821 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4822 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4824 $as_echo "yes" >&6; }
   4825 	else
   4826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4827 $as_echo "no" >&6; }
   4828 		PKG_CONFIG=""
   4829 	fi
   4830 fi
   4831 # Make sure we can run config.sub.
   4832 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4833   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4834 
   4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4836 $as_echo_n "checking build system type... " >&6; }
   4837 if ${ac_cv_build+:} false; then :
   4838   $as_echo_n "(cached) " >&6
   4839 else
   4840   ac_build_alias=$build_alias
   4841 test "x$ac_build_alias" = x &&
   4842   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4843 test "x$ac_build_alias" = x &&
   4844   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4845 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4846   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4847 
   4848 fi
   4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4850 $as_echo "$ac_cv_build" >&6; }
   4851 case $ac_cv_build in
   4852 *-*-*) ;;
   4853 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4854 esac
   4855 build=$ac_cv_build
   4856 ac_save_IFS=$IFS; IFS='-'
   4857 set x $ac_cv_build
   4858 shift
   4859 build_cpu=$1
   4860 build_vendor=$2
   4861 shift; shift
   4862 # Remember, the first character of IFS is used to create $*,
   4863 # except with old shells:
   4864 build_os=$*
   4865 IFS=$ac_save_IFS
   4866 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4867 
   4868 
   4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4870 $as_echo_n "checking host system type... " >&6; }
   4871 if ${ac_cv_host+:} false; then :
   4872   $as_echo_n "(cached) " >&6
   4873 else
   4874   if test "x$host_alias" = x; then
   4875   ac_cv_host=$ac_cv_build
   4876 else
   4877   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4878     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4879 fi
   4880 
   4881 fi
   4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4883 $as_echo "$ac_cv_host" >&6; }
   4884 case $ac_cv_host in
   4885 *-*-*) ;;
   4886 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4887 esac
   4888 host=$ac_cv_host
   4889 ac_save_IFS=$IFS; IFS='-'
   4890 set x $ac_cv_host
   4891 shift
   4892 host_cpu=$1
   4893 host_vendor=$2
   4894 shift; shift
   4895 # Remember, the first character of IFS is used to create $*,
   4896 # except with old shells:
   4897 host_os=$*
   4898 IFS=$ac_save_IFS
   4899 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4900 
   4901 
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4903 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4904 if ${ac_cv_path_SED+:} false; then :
   4905   $as_echo_n "(cached) " >&6
   4906 else
   4907             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4908      for ac_i in 1 2 3 4 5 6 7; do
   4909        ac_script="$ac_script$as_nl$ac_script"
   4910      done
   4911      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4912      { ac_script=; unset ac_script;}
   4913      if test -z "$SED"; then
   4914   ac_path_SED_found=false
   4915   # Loop through the user's path and test for each of PROGNAME-LIST
   4916   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4917 for as_dir in $PATH
   4918 do
   4919   IFS=$as_save_IFS
   4920   test -z "$as_dir" && as_dir=.
   4921     for ac_prog in sed gsed; do
   4922     for ac_exec_ext in '' $ac_executable_extensions; do
   4923       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4924       as_fn_executable_p "$ac_path_SED" || continue
   4925 # Check for GNU ac_path_SED and select it if it is found.
   4926   # Check for GNU $ac_path_SED
   4927 case `"$ac_path_SED" --version 2>&1` in
   4928 *GNU*)
   4929   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4930 *)
   4931   ac_count=0
   4932   $as_echo_n 0123456789 >"conftest.in"
   4933   while :
   4934   do
   4935     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4936     mv "conftest.tmp" "conftest.in"
   4937     cp "conftest.in" "conftest.nl"
   4938     $as_echo '' >> "conftest.nl"
   4939     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4940     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4941     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4942     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4943       # Best one so far, save it but keep looking for a better one
   4944       ac_cv_path_SED="$ac_path_SED"
   4945       ac_path_SED_max=$ac_count
   4946     fi
   4947     # 10*(2^10) chars as input seems more than enough
   4948     test $ac_count -gt 10 && break
   4949   done
   4950   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4951 esac
   4952 
   4953       $ac_path_SED_found && break 3
   4954     done
   4955   done
   4956   done
   4957 IFS=$as_save_IFS
   4958   if test -z "$ac_cv_path_SED"; then
   4959     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4960   fi
   4961 else
   4962   ac_cv_path_SED=$SED
   4963 fi
   4964 
   4965 fi
   4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4967 $as_echo "$ac_cv_path_SED" >&6; }
   4968  SED="$ac_cv_path_SED"
   4969   rm -f conftest.sed
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 # Check whether --enable-selective-werror was given.
   4977 if test "${enable_selective_werror+set}" = set; then :
   4978   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4979 else
   4980   SELECTIVE_WERROR=yes
   4981 fi
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4988 if test "x$SUNCC" = "xyes"; then
   4989     BASE_CFLAGS="-v"
   4990 else
   4991     BASE_CFLAGS=""
   4992 fi
   4993 
   4994 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 xorg_testset_save_CFLAGS="$CFLAGS"
   5009 
   5010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5015   $as_echo_n "(cached) " >&6
   5016 else
   5017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5018 /* end confdefs.h.  */
   5019 int i;
   5020 _ACEOF
   5021 if ac_fn_c_try_compile "$LINENO"; then :
   5022   xorg_cv_cc_flag_unknown_warning_option=yes
   5023 else
   5024   xorg_cv_cc_flag_unknown_warning_option=no
   5025 fi
   5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5027 fi
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5031 	CFLAGS="$xorg_testset_save_CFLAGS"
   5032 fi
   5033 
   5034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 	fi
   5038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unused_command_line_argument=yes
   5050 else
   5051   xorg_cv_cc_flag_unused_command_line_argument=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 found="no"
   5062 
   5063 	if test $found = "no" ; then
   5064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5066 		fi
   5067 
   5068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5070 		fi
   5071 
   5072 		CFLAGS="$CFLAGS -Wall"
   5073 
   5074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5075 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5076 		cacheid=xorg_cv_cc_flag__Wall
   5077 		if eval \${$cacheid+:} false; then :
   5078   $as_echo_n "(cached) " >&6
   5079 else
   5080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 int
   5084 main ()
   5085 {
   5086 
   5087   ;
   5088   return 0;
   5089 }
   5090 _ACEOF
   5091 if ac_fn_c_try_link "$LINENO"; then :
   5092   eval $cacheid=yes
   5093 else
   5094   eval $cacheid=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext \
   5097     conftest$ac_exeext conftest.$ac_ext
   5098 fi
   5099 
   5100 
   5101 		CFLAGS="$xorg_testset_save_CFLAGS"
   5102 
   5103 		eval supported=\$$cacheid
   5104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5105 $as_echo "$supported" >&6; }
   5106 		if test "$supported" = "yes" ; then
   5107 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5108 			found="yes"
   5109 		fi
   5110 	fi
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 xorg_testset_save_CFLAGS="$CFLAGS"
   5127 
   5128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5133   $as_echo_n "(cached) " >&6
   5134 else
   5135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5136 /* end confdefs.h.  */
   5137 int i;
   5138 _ACEOF
   5139 if ac_fn_c_try_compile "$LINENO"; then :
   5140   xorg_cv_cc_flag_unknown_warning_option=yes
   5141 else
   5142   xorg_cv_cc_flag_unknown_warning_option=no
   5143 fi
   5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5145 fi
   5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5149 	CFLAGS="$xorg_testset_save_CFLAGS"
   5150 fi
   5151 
   5152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5155 	fi
   5156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"; then :
   5167   xorg_cv_cc_flag_unused_command_line_argument=yes
   5168 else
   5169   xorg_cv_cc_flag_unused_command_line_argument=no
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 found="no"
   5180 
   5181 	if test $found = "no" ; then
   5182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5184 		fi
   5185 
   5186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5188 		fi
   5189 
   5190 		CFLAGS="$CFLAGS -Wpointer-arith"
   5191 
   5192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5193 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5194 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5195 		if eval \${$cacheid+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 int i;
   5201 int
   5202 main ()
   5203 {
   5204 
   5205   ;
   5206   return 0;
   5207 }
   5208 _ACEOF
   5209 if ac_fn_c_try_link "$LINENO"; then :
   5210   eval $cacheid=yes
   5211 else
   5212   eval $cacheid=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext \
   5215     conftest$ac_exeext conftest.$ac_ext
   5216 fi
   5217 
   5218 
   5219 		CFLAGS="$xorg_testset_save_CFLAGS"
   5220 
   5221 		eval supported=\$$cacheid
   5222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5223 $as_echo "$supported" >&6; }
   5224 		if test "$supported" = "yes" ; then
   5225 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5226 			found="yes"
   5227 		fi
   5228 	fi
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 xorg_testset_save_CFLAGS="$CFLAGS"
   5245 
   5246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5251   $as_echo_n "(cached) " >&6
   5252 else
   5253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5254 /* end confdefs.h.  */
   5255 int i;
   5256 _ACEOF
   5257 if ac_fn_c_try_compile "$LINENO"; then :
   5258   xorg_cv_cc_flag_unknown_warning_option=yes
   5259 else
   5260   xorg_cv_cc_flag_unknown_warning_option=no
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5263 fi
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5267 	CFLAGS="$xorg_testset_save_CFLAGS"
   5268 fi
   5269 
   5270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5273 	fi
   5274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"; then :
   5285   xorg_cv_cc_flag_unused_command_line_argument=yes
   5286 else
   5287   xorg_cv_cc_flag_unused_command_line_argument=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 fi
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5294 	CFLAGS="$xorg_testset_save_CFLAGS"
   5295 fi
   5296 
   5297 found="no"
   5298 
   5299 	if test $found = "no" ; then
   5300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5302 		fi
   5303 
   5304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5306 		fi
   5307 
   5308 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5309 
   5310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5311 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5312 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5313 		if eval \${$cacheid+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 int i;
   5319 int
   5320 main ()
   5321 {
   5322 
   5323   ;
   5324   return 0;
   5325 }
   5326 _ACEOF
   5327 if ac_fn_c_try_link "$LINENO"; then :
   5328   eval $cacheid=yes
   5329 else
   5330   eval $cacheid=no
   5331 fi
   5332 rm -f core conftest.err conftest.$ac_objext \
   5333     conftest$ac_exeext conftest.$ac_ext
   5334 fi
   5335 
   5336 
   5337 		CFLAGS="$xorg_testset_save_CFLAGS"
   5338 
   5339 		eval supported=\$$cacheid
   5340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5341 $as_echo "$supported" >&6; }
   5342 		if test "$supported" = "yes" ; then
   5343 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5344 			found="yes"
   5345 		fi
   5346 	fi
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 xorg_testset_save_CFLAGS="$CFLAGS"
   5363 
   5364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5372 /* end confdefs.h.  */
   5373 int i;
   5374 _ACEOF
   5375 if ac_fn_c_try_compile "$LINENO"; then :
   5376   xorg_cv_cc_flag_unknown_warning_option=yes
   5377 else
   5378   xorg_cv_cc_flag_unknown_warning_option=no
   5379 fi
   5380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5381 fi
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5385 	CFLAGS="$xorg_testset_save_CFLAGS"
   5386 fi
   5387 
   5388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5391 	fi
   5392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5399 /* end confdefs.h.  */
   5400 int i;
   5401 _ACEOF
   5402 if ac_fn_c_try_compile "$LINENO"; then :
   5403   xorg_cv_cc_flag_unused_command_line_argument=yes
   5404 else
   5405   xorg_cv_cc_flag_unused_command_line_argument=no
   5406 fi
   5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5408 fi
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 found="no"
   5416 
   5417 	if test $found = "no" ; then
   5418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5420 		fi
   5421 
   5422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5424 		fi
   5425 
   5426 		CFLAGS="$CFLAGS -Wformat=2"
   5427 
   5428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5429 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5430 		cacheid=xorg_cv_cc_flag__Wformat_2
   5431 		if eval \${$cacheid+:} false; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 int
   5438 main ()
   5439 {
   5440 
   5441   ;
   5442   return 0;
   5443 }
   5444 _ACEOF
   5445 if ac_fn_c_try_link "$LINENO"; then :
   5446   eval $cacheid=yes
   5447 else
   5448   eval $cacheid=no
   5449 fi
   5450 rm -f core conftest.err conftest.$ac_objext \
   5451     conftest$ac_exeext conftest.$ac_ext
   5452 fi
   5453 
   5454 
   5455 		CFLAGS="$xorg_testset_save_CFLAGS"
   5456 
   5457 		eval supported=\$$cacheid
   5458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5459 $as_echo "$supported" >&6; }
   5460 		if test "$supported" = "yes" ; then
   5461 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5462 			found="yes"
   5463 		fi
   5464 	fi
   5465 
   5466 	if test $found = "no" ; then
   5467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5469 		fi
   5470 
   5471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5473 		fi
   5474 
   5475 		CFLAGS="$CFLAGS -Wformat"
   5476 
   5477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5478 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5479 		cacheid=xorg_cv_cc_flag__Wformat
   5480 		if eval \${$cacheid+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5484 /* end confdefs.h.  */
   5485 int i;
   5486 int
   5487 main ()
   5488 {
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 if ac_fn_c_try_link "$LINENO"; then :
   5495   eval $cacheid=yes
   5496 else
   5497   eval $cacheid=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext \
   5500     conftest$ac_exeext conftest.$ac_ext
   5501 fi
   5502 
   5503 
   5504 		CFLAGS="$xorg_testset_save_CFLAGS"
   5505 
   5506 		eval supported=\$$cacheid
   5507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5508 $as_echo "$supported" >&6; }
   5509 		if test "$supported" = "yes" ; then
   5510 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5511 			found="yes"
   5512 		fi
   5513 	fi
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 xorg_testset_save_CFLAGS="$CFLAGS"
   5532 
   5533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5538   $as_echo_n "(cached) " >&6
   5539 else
   5540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"; then :
   5545   xorg_cv_cc_flag_unknown_warning_option=yes
   5546 else
   5547   xorg_cv_cc_flag_unknown_warning_option=no
   5548 fi
   5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5550 fi
   5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5554 	CFLAGS="$xorg_testset_save_CFLAGS"
   5555 fi
   5556 
   5557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 	fi
   5561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unused_command_line_argument=yes
   5573 else
   5574   xorg_cv_cc_flag_unused_command_line_argument=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 found="no"
   5585 
   5586 	if test $found = "no" ; then
   5587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5589 		fi
   5590 
   5591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 		fi
   5594 
   5595 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5596 
   5597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5598 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5599 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5600 		if eval \${$cacheid+:} false; then :
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5604 /* end confdefs.h.  */
   5605 int i;
   5606 int
   5607 main ()
   5608 {
   5609 
   5610   ;
   5611   return 0;
   5612 }
   5613 _ACEOF
   5614 if ac_fn_c_try_link "$LINENO"; then :
   5615   eval $cacheid=yes
   5616 else
   5617   eval $cacheid=no
   5618 fi
   5619 rm -f core conftest.err conftest.$ac_objext \
   5620     conftest$ac_exeext conftest.$ac_ext
   5621 fi
   5622 
   5623 
   5624 		CFLAGS="$xorg_testset_save_CFLAGS"
   5625 
   5626 		eval supported=\$$cacheid
   5627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5628 $as_echo "$supported" >&6; }
   5629 		if test "$supported" = "yes" ; then
   5630 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5631 			found="yes"
   5632 		fi
   5633 	fi
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 xorg_testset_save_CFLAGS="$CFLAGS"
   5650 
   5651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5656   $as_echo_n "(cached) " >&6
   5657 else
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 _ACEOF
   5662 if ac_fn_c_try_compile "$LINENO"; then :
   5663   xorg_cv_cc_flag_unknown_warning_option=yes
   5664 else
   5665   xorg_cv_cc_flag_unknown_warning_option=no
   5666 fi
   5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5672 	CFLAGS="$xorg_testset_save_CFLAGS"
   5673 fi
   5674 
   5675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 	fi
   5679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unused_command_line_argument=yes
   5691 else
   5692   xorg_cv_cc_flag_unused_command_line_argument=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 found="no"
   5703 
   5704 	if test $found = "no" ; then
   5705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5707 		fi
   5708 
   5709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 		fi
   5712 
   5713 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5714 
   5715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5716 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5717 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5718 		if eval \${$cacheid+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 int i;
   5724 int
   5725 main ()
   5726 {
   5727 
   5728   ;
   5729   return 0;
   5730 }
   5731 _ACEOF
   5732 if ac_fn_c_try_link "$LINENO"; then :
   5733   eval $cacheid=yes
   5734 else
   5735   eval $cacheid=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext \
   5738     conftest$ac_exeext conftest.$ac_ext
   5739 fi
   5740 
   5741 
   5742 		CFLAGS="$xorg_testset_save_CFLAGS"
   5743 
   5744 		eval supported=\$$cacheid
   5745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5746 $as_echo "$supported" >&6; }
   5747 		if test "$supported" = "yes" ; then
   5748 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5749 			found="yes"
   5750 		fi
   5751 	fi
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 xorg_testset_save_CFLAGS="$CFLAGS"
   5768 
   5769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5774   $as_echo_n "(cached) " >&6
   5775 else
   5776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 _ACEOF
   5780 if ac_fn_c_try_compile "$LINENO"; then :
   5781   xorg_cv_cc_flag_unknown_warning_option=yes
   5782 else
   5783   xorg_cv_cc_flag_unknown_warning_option=no
   5784 fi
   5785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5786 fi
   5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5790 	CFLAGS="$xorg_testset_save_CFLAGS"
   5791 fi
   5792 
   5793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5796 	fi
   5797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unused_command_line_argument=yes
   5809 else
   5810   xorg_cv_cc_flag_unused_command_line_argument=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 found="no"
   5821 
   5822 	if test $found = "no" ; then
   5823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5825 		fi
   5826 
   5827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 		fi
   5830 
   5831 		CFLAGS="$CFLAGS -Wnested-externs"
   5832 
   5833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5834 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5835 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5836 		if eval \${$cacheid+:} false; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main ()
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"; then :
   5851   eval $cacheid=yes
   5852 else
   5853   eval $cacheid=no
   5854 fi
   5855 rm -f core conftest.err conftest.$ac_objext \
   5856     conftest$ac_exeext conftest.$ac_ext
   5857 fi
   5858 
   5859 
   5860 		CFLAGS="$xorg_testset_save_CFLAGS"
   5861 
   5862 		eval supported=\$$cacheid
   5863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5864 $as_echo "$supported" >&6; }
   5865 		if test "$supported" = "yes" ; then
   5866 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5867 			found="yes"
   5868 		fi
   5869 	fi
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 xorg_testset_save_CFLAGS="$CFLAGS"
   5886 
   5887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 _ACEOF
   5898 if ac_fn_c_try_compile "$LINENO"; then :
   5899   xorg_cv_cc_flag_unknown_warning_option=yes
   5900 else
   5901   xorg_cv_cc_flag_unknown_warning_option=no
   5902 fi
   5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5904 fi
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5908 	CFLAGS="$xorg_testset_save_CFLAGS"
   5909 fi
   5910 
   5911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5914 	fi
   5915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unused_command_line_argument=yes
   5927 else
   5928   xorg_cv_cc_flag_unused_command_line_argument=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 found="no"
   5939 
   5940 	if test $found = "no" ; then
   5941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5943 		fi
   5944 
   5945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 		fi
   5948 
   5949 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5950 
   5951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5952 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5953 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5954 		if eval \${$cacheid+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 int
   5961 main ()
   5962 {
   5963 
   5964   ;
   5965   return 0;
   5966 }
   5967 _ACEOF
   5968 if ac_fn_c_try_link "$LINENO"; then :
   5969   eval $cacheid=yes
   5970 else
   5971   eval $cacheid=no
   5972 fi
   5973 rm -f core conftest.err conftest.$ac_objext \
   5974     conftest$ac_exeext conftest.$ac_ext
   5975 fi
   5976 
   5977 
   5978 		CFLAGS="$xorg_testset_save_CFLAGS"
   5979 
   5980 		eval supported=\$$cacheid
   5981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5982 $as_echo "$supported" >&6; }
   5983 		if test "$supported" = "yes" ; then
   5984 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5985 			found="yes"
   5986 		fi
   5987 	fi
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 xorg_testset_save_CFLAGS="$CFLAGS"
   6004 
   6005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6010   $as_echo_n "(cached) " >&6
   6011 else
   6012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 int i;
   6015 _ACEOF
   6016 if ac_fn_c_try_compile "$LINENO"; then :
   6017   xorg_cv_cc_flag_unknown_warning_option=yes
   6018 else
   6019   xorg_cv_cc_flag_unknown_warning_option=no
   6020 fi
   6021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6022 fi
   6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6026 	CFLAGS="$xorg_testset_save_CFLAGS"
   6027 fi
   6028 
   6029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6032 	fi
   6033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6037   $as_echo_n "(cached) " >&6
   6038 else
   6039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 _ACEOF
   6043 if ac_fn_c_try_compile "$LINENO"; then :
   6044   xorg_cv_cc_flag_unused_command_line_argument=yes
   6045 else
   6046   xorg_cv_cc_flag_unused_command_line_argument=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6049 fi
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6053 	CFLAGS="$xorg_testset_save_CFLAGS"
   6054 fi
   6055 
   6056 found="no"
   6057 
   6058 	if test $found = "no" ; then
   6059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6061 		fi
   6062 
   6063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6065 		fi
   6066 
   6067 		CFLAGS="$CFLAGS -Wold-style-definition"
   6068 
   6069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6070 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6071 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6072 		if eval \${$cacheid+:} false; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 int
   6079 main ()
   6080 {
   6081 
   6082   ;
   6083   return 0;
   6084 }
   6085 _ACEOF
   6086 if ac_fn_c_try_link "$LINENO"; then :
   6087   eval $cacheid=yes
   6088 else
   6089   eval $cacheid=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext \
   6092     conftest$ac_exeext conftest.$ac_ext
   6093 fi
   6094 
   6095 
   6096 		CFLAGS="$xorg_testset_save_CFLAGS"
   6097 
   6098 		eval supported=\$$cacheid
   6099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6100 $as_echo "$supported" >&6; }
   6101 		if test "$supported" = "yes" ; then
   6102 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6103 			found="yes"
   6104 		fi
   6105 	fi
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -fd"
   6117 
   6118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6119 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__fd
   6121 		if eval \${$cacheid+:} false; then :
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 int
   6128 main ()
   6129 {
   6130 
   6131   ;
   6132   return 0;
   6133 }
   6134 _ACEOF
   6135 if ac_fn_c_try_link "$LINENO"; then :
   6136   eval $cacheid=yes
   6137 else
   6138   eval $cacheid=no
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext \
   6141     conftest$ac_exeext conftest.$ac_ext
   6142 fi
   6143 
   6144 
   6145 		CFLAGS="$xorg_testset_save_CFLAGS"
   6146 
   6147 		eval supported=\$$cacheid
   6148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6149 $as_echo "$supported" >&6; }
   6150 		if test "$supported" = "yes" ; then
   6151 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6152 			found="yes"
   6153 		fi
   6154 	fi
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 xorg_testset_save_CFLAGS="$CFLAGS"
   6171 
   6172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"; then :
   6184   xorg_cv_cc_flag_unknown_warning_option=yes
   6185 else
   6186   xorg_cv_cc_flag_unknown_warning_option=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6193 	CFLAGS="$xorg_testset_save_CFLAGS"
   6194 fi
   6195 
   6196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	fi
   6200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6204   $as_echo_n "(cached) " >&6
   6205 else
   6206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6207 /* end confdefs.h.  */
   6208 int i;
   6209 _ACEOF
   6210 if ac_fn_c_try_compile "$LINENO"; then :
   6211   xorg_cv_cc_flag_unused_command_line_argument=yes
   6212 else
   6213   xorg_cv_cc_flag_unused_command_line_argument=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 found="no"
   6224 
   6225 	if test $found = "no" ; then
   6226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6228 		fi
   6229 
   6230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 		fi
   6233 
   6234 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6235 
   6236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6237 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6238 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6239 		if eval \${$cacheid+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 int
   6246 main ()
   6247 {
   6248 
   6249   ;
   6250   return 0;
   6251 }
   6252 _ACEOF
   6253 if ac_fn_c_try_link "$LINENO"; then :
   6254   eval $cacheid=yes
   6255 else
   6256   eval $cacheid=no
   6257 fi
   6258 rm -f core conftest.err conftest.$ac_objext \
   6259     conftest$ac_exeext conftest.$ac_ext
   6260 fi
   6261 
   6262 
   6263 		CFLAGS="$xorg_testset_save_CFLAGS"
   6264 
   6265 		eval supported=\$$cacheid
   6266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6267 $as_echo "$supported" >&6; }
   6268 		if test "$supported" = "yes" ; then
   6269 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6270 			found="yes"
   6271 		fi
   6272 	fi
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 # This chunk adds additional warnings that could catch undesired effects.
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 xorg_testset_save_CFLAGS="$CFLAGS"
   6293 
   6294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6298 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 int i;
   6304 _ACEOF
   6305 if ac_fn_c_try_compile "$LINENO"; then :
   6306   xorg_cv_cc_flag_unknown_warning_option=yes
   6307 else
   6308   xorg_cv_cc_flag_unknown_warning_option=no
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6311 fi
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6315 	CFLAGS="$xorg_testset_save_CFLAGS"
   6316 fi
   6317 
   6318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6321 	fi
   6322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   xorg_cv_cc_flag_unused_command_line_argument=yes
   6334 else
   6335   xorg_cv_cc_flag_unused_command_line_argument=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 found="no"
   6346 
   6347 	if test $found = "no" ; then
   6348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 		fi
   6351 
   6352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 		fi
   6355 
   6356 		CFLAGS="$CFLAGS -Wunused"
   6357 
   6358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6359 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6360 		cacheid=xorg_cv_cc_flag__Wunused
   6361 		if eval \${$cacheid+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 int
   6368 main ()
   6369 {
   6370 
   6371   ;
   6372   return 0;
   6373 }
   6374 _ACEOF
   6375 if ac_fn_c_try_link "$LINENO"; then :
   6376   eval $cacheid=yes
   6377 else
   6378   eval $cacheid=no
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext \
   6381     conftest$ac_exeext conftest.$ac_ext
   6382 fi
   6383 
   6384 
   6385 		CFLAGS="$xorg_testset_save_CFLAGS"
   6386 
   6387 		eval supported=\$$cacheid
   6388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6389 $as_echo "$supported" >&6; }
   6390 		if test "$supported" = "yes" ; then
   6391 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6392 			found="yes"
   6393 		fi
   6394 	fi
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 xorg_testset_save_CFLAGS="$CFLAGS"
   6411 
   6412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 _ACEOF
   6423 if ac_fn_c_try_compile "$LINENO"; then :
   6424   xorg_cv_cc_flag_unknown_warning_option=yes
   6425 else
   6426   xorg_cv_cc_flag_unknown_warning_option=no
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6429 fi
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6433 	CFLAGS="$xorg_testset_save_CFLAGS"
   6434 fi
   6435 
   6436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6439 	fi
   6440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unused_command_line_argument=yes
   6452 else
   6453   xorg_cv_cc_flag_unused_command_line_argument=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 found="no"
   6464 
   6465 	if test $found = "no" ; then
   6466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6468 		fi
   6469 
   6470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 		fi
   6473 
   6474 		CFLAGS="$CFLAGS -Wuninitialized"
   6475 
   6476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6477 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6478 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6479 		if eval \${$cacheid+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 int
   6486 main ()
   6487 {
   6488 
   6489   ;
   6490   return 0;
   6491 }
   6492 _ACEOF
   6493 if ac_fn_c_try_link "$LINENO"; then :
   6494   eval $cacheid=yes
   6495 else
   6496   eval $cacheid=no
   6497 fi
   6498 rm -f core conftest.err conftest.$ac_objext \
   6499     conftest$ac_exeext conftest.$ac_ext
   6500 fi
   6501 
   6502 
   6503 		CFLAGS="$xorg_testset_save_CFLAGS"
   6504 
   6505 		eval supported=\$$cacheid
   6506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6507 $as_echo "$supported" >&6; }
   6508 		if test "$supported" = "yes" ; then
   6509 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6510 			found="yes"
   6511 		fi
   6512 	fi
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 xorg_testset_save_CFLAGS="$CFLAGS"
   6529 
   6530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"; then :
   6542   xorg_cv_cc_flag_unknown_warning_option=yes
   6543 else
   6544   xorg_cv_cc_flag_unknown_warning_option=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547 fi
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6557 	fi
   6558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unused_command_line_argument=yes
   6570 else
   6571   xorg_cv_cc_flag_unused_command_line_argument=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 found="no"
   6582 
   6583 	if test $found = "no" ; then
   6584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6586 		fi
   6587 
   6588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 		fi
   6591 
   6592 		CFLAGS="$CFLAGS -Wshadow"
   6593 
   6594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6595 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6596 		cacheid=xorg_cv_cc_flag__Wshadow
   6597 		if eval \${$cacheid+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 int
   6604 main ()
   6605 {
   6606 
   6607   ;
   6608   return 0;
   6609 }
   6610 _ACEOF
   6611 if ac_fn_c_try_link "$LINENO"; then :
   6612   eval $cacheid=yes
   6613 else
   6614   eval $cacheid=no
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext \
   6617     conftest$ac_exeext conftest.$ac_ext
   6618 fi
   6619 
   6620 
   6621 		CFLAGS="$xorg_testset_save_CFLAGS"
   6622 
   6623 		eval supported=\$$cacheid
   6624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6625 $as_echo "$supported" >&6; }
   6626 		if test "$supported" = "yes" ; then
   6627 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6628 			found="yes"
   6629 		fi
   6630 	fi
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 xorg_testset_save_CFLAGS="$CFLAGS"
   6647 
   6648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 _ACEOF
   6659 if ac_fn_c_try_compile "$LINENO"; then :
   6660   xorg_cv_cc_flag_unknown_warning_option=yes
   6661 else
   6662   xorg_cv_cc_flag_unknown_warning_option=no
   6663 fi
   6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6665 fi
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6669 	CFLAGS="$xorg_testset_save_CFLAGS"
   6670 fi
   6671 
   6672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6675 	fi
   6676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unused_command_line_argument=yes
   6688 else
   6689   xorg_cv_cc_flag_unused_command_line_argument=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 found="no"
   6700 
   6701 	if test $found = "no" ; then
   6702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6704 		fi
   6705 
   6706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 		fi
   6709 
   6710 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6711 
   6712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6713 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6714 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6715 		if eval \${$cacheid+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 int
   6722 main ()
   6723 {
   6724 
   6725   ;
   6726   return 0;
   6727 }
   6728 _ACEOF
   6729 if ac_fn_c_try_link "$LINENO"; then :
   6730   eval $cacheid=yes
   6731 else
   6732   eval $cacheid=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext \
   6735     conftest$ac_exeext conftest.$ac_ext
   6736 fi
   6737 
   6738 
   6739 		CFLAGS="$xorg_testset_save_CFLAGS"
   6740 
   6741 		eval supported=\$$cacheid
   6742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6743 $as_echo "$supported" >&6; }
   6744 		if test "$supported" = "yes" ; then
   6745 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6746 			found="yes"
   6747 		fi
   6748 	fi
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 xorg_testset_save_CFLAGS="$CFLAGS"
   6765 
   6766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 _ACEOF
   6777 if ac_fn_c_try_compile "$LINENO"; then :
   6778   xorg_cv_cc_flag_unknown_warning_option=yes
   6779 else
   6780   xorg_cv_cc_flag_unknown_warning_option=no
   6781 fi
   6782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6783 fi
   6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6787 	CFLAGS="$xorg_testset_save_CFLAGS"
   6788 fi
   6789 
   6790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6793 	fi
   6794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unused_command_line_argument=yes
   6806 else
   6807   xorg_cv_cc_flag_unused_command_line_argument=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 found="no"
   6818 
   6819 	if test $found = "no" ; then
   6820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6822 		fi
   6823 
   6824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 		fi
   6827 
   6828 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6829 
   6830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6831 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6832 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6833 		if eval \${$cacheid+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6837 /* end confdefs.h.  */
   6838 int i;
   6839 int
   6840 main ()
   6841 {
   6842 
   6843   ;
   6844   return 0;
   6845 }
   6846 _ACEOF
   6847 if ac_fn_c_try_link "$LINENO"; then :
   6848   eval $cacheid=yes
   6849 else
   6850   eval $cacheid=no
   6851 fi
   6852 rm -f core conftest.err conftest.$ac_objext \
   6853     conftest$ac_exeext conftest.$ac_ext
   6854 fi
   6855 
   6856 
   6857 		CFLAGS="$xorg_testset_save_CFLAGS"
   6858 
   6859 		eval supported=\$$cacheid
   6860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6861 $as_echo "$supported" >&6; }
   6862 		if test "$supported" = "yes" ; then
   6863 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6864 			found="yes"
   6865 		fi
   6866 	fi
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 xorg_testset_save_CFLAGS="$CFLAGS"
   6883 
   6884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 _ACEOF
   6895 if ac_fn_c_try_compile "$LINENO"; then :
   6896   xorg_cv_cc_flag_unknown_warning_option=yes
   6897 else
   6898   xorg_cv_cc_flag_unknown_warning_option=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6901 fi
   6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6905 	CFLAGS="$xorg_testset_save_CFLAGS"
   6906 fi
   6907 
   6908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6911 	fi
   6912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 _ACEOF
   6922 if ac_fn_c_try_compile "$LINENO"; then :
   6923   xorg_cv_cc_flag_unused_command_line_argument=yes
   6924 else
   6925   xorg_cv_cc_flag_unused_command_line_argument=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6928 fi
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6932 	CFLAGS="$xorg_testset_save_CFLAGS"
   6933 fi
   6934 
   6935 found="no"
   6936 
   6937 	if test $found = "no" ; then
   6938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6940 		fi
   6941 
   6942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 		fi
   6945 
   6946 		CFLAGS="$CFLAGS -Wredundant-decls"
   6947 
   6948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6949 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6950 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6951 		if eval \${$cacheid+:} false; then :
   6952   $as_echo_n "(cached) " >&6
   6953 else
   6954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6955 /* end confdefs.h.  */
   6956 int i;
   6957 int
   6958 main ()
   6959 {
   6960 
   6961   ;
   6962   return 0;
   6963 }
   6964 _ACEOF
   6965 if ac_fn_c_try_link "$LINENO"; then :
   6966   eval $cacheid=yes
   6967 else
   6968   eval $cacheid=no
   6969 fi
   6970 rm -f core conftest.err conftest.$ac_objext \
   6971     conftest$ac_exeext conftest.$ac_ext
   6972 fi
   6973 
   6974 
   6975 		CFLAGS="$xorg_testset_save_CFLAGS"
   6976 
   6977 		eval supported=\$$cacheid
   6978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6979 $as_echo "$supported" >&6; }
   6980 		if test "$supported" = "yes" ; then
   6981 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6982 			found="yes"
   6983 		fi
   6984 	fi
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 xorg_testset_save_CFLAGS="$CFLAGS"
   7001 
   7002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7007   $as_echo_n "(cached) " >&6
   7008 else
   7009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7010 /* end confdefs.h.  */
   7011 int i;
   7012 _ACEOF
   7013 if ac_fn_c_try_compile "$LINENO"; then :
   7014   xorg_cv_cc_flag_unknown_warning_option=yes
   7015 else
   7016   xorg_cv_cc_flag_unknown_warning_option=no
   7017 fi
   7018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7019 fi
   7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7023 	CFLAGS="$xorg_testset_save_CFLAGS"
   7024 fi
   7025 
   7026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7029 	fi
   7030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 int i;
   7039 _ACEOF
   7040 if ac_fn_c_try_compile "$LINENO"; then :
   7041   xorg_cv_cc_flag_unused_command_line_argument=yes
   7042 else
   7043   xorg_cv_cc_flag_unused_command_line_argument=no
   7044 fi
   7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7046 fi
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7050 	CFLAGS="$xorg_testset_save_CFLAGS"
   7051 fi
   7052 
   7053 found="no"
   7054 
   7055 	if test $found = "no" ; then
   7056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 		fi
   7059 
   7060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7062 		fi
   7063 
   7064 		CFLAGS="$CFLAGS -Wlogical-op"
   7065 
   7066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7067 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7068 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7069 		if eval \${$cacheid+:} false; then :
   7070   $as_echo_n "(cached) " >&6
   7071 else
   7072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 int i;
   7075 int
   7076 main ()
   7077 {
   7078 
   7079   ;
   7080   return 0;
   7081 }
   7082 _ACEOF
   7083 if ac_fn_c_try_link "$LINENO"; then :
   7084   eval $cacheid=yes
   7085 else
   7086   eval $cacheid=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext \
   7089     conftest$ac_exeext conftest.$ac_ext
   7090 fi
   7091 
   7092 
   7093 		CFLAGS="$xorg_testset_save_CFLAGS"
   7094 
   7095 		eval supported=\$$cacheid
   7096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7097 $as_echo "$supported" >&6; }
   7098 		if test "$supported" = "yes" ; then
   7099 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7100 			found="yes"
   7101 		fi
   7102 	fi
   7103 
   7104 
   7105 
   7106 # These are currently disabled because they are noisy.  They will be enabled
   7107 # in the future once the codebase is sufficiently modernized to silence
   7108 # them.  For now, I don't want them to drown out the other warnings.
   7109 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7110 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7111 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7112 
   7113 # Turn some warnings into errors, so we don't accidently get successful builds
   7114 # when there are problems that should be fixed.
   7115 
   7116 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 xorg_testset_save_CFLAGS="$CFLAGS"
   7131 
   7132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7137   $as_echo_n "(cached) " >&6
   7138 else
   7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7140 /* end confdefs.h.  */
   7141 int i;
   7142 _ACEOF
   7143 if ac_fn_c_try_compile "$LINENO"; then :
   7144   xorg_cv_cc_flag_unknown_warning_option=yes
   7145 else
   7146   xorg_cv_cc_flag_unknown_warning_option=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7149 fi
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7153 	CFLAGS="$xorg_testset_save_CFLAGS"
   7154 fi
   7155 
   7156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7159 	fi
   7160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7164   $as_echo_n "(cached) " >&6
   7165 else
   7166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7167 /* end confdefs.h.  */
   7168 int i;
   7169 _ACEOF
   7170 if ac_fn_c_try_compile "$LINENO"; then :
   7171   xorg_cv_cc_flag_unused_command_line_argument=yes
   7172 else
   7173   xorg_cv_cc_flag_unused_command_line_argument=no
   7174 fi
   7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7176 fi
   7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 found="no"
   7184 
   7185 	if test $found = "no" ; then
   7186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 		fi
   7189 
   7190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 		fi
   7193 
   7194 		CFLAGS="$CFLAGS -Werror=implicit"
   7195 
   7196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7197 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7198 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7199 		if eval \${$cacheid+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main ()
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"; then :
   7214   eval $cacheid=yes
   7215 else
   7216   eval $cacheid=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext \
   7219     conftest$ac_exeext conftest.$ac_ext
   7220 fi
   7221 
   7222 
   7223 		CFLAGS="$xorg_testset_save_CFLAGS"
   7224 
   7225 		eval supported=\$$cacheid
   7226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7227 $as_echo "$supported" >&6; }
   7228 		if test "$supported" = "yes" ; then
   7229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7230 			found="yes"
   7231 		fi
   7232 	fi
   7233 
   7234 	if test $found = "no" ; then
   7235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7237 		fi
   7238 
   7239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 		fi
   7242 
   7243 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7244 
   7245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7246 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7247 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7248 		if eval \${$cacheid+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 int
   7255 main ()
   7256 {
   7257 
   7258   ;
   7259   return 0;
   7260 }
   7261 _ACEOF
   7262 if ac_fn_c_try_link "$LINENO"; then :
   7263   eval $cacheid=yes
   7264 else
   7265   eval $cacheid=no
   7266 fi
   7267 rm -f core conftest.err conftest.$ac_objext \
   7268     conftest$ac_exeext conftest.$ac_ext
   7269 fi
   7270 
   7271 
   7272 		CFLAGS="$xorg_testset_save_CFLAGS"
   7273 
   7274 		eval supported=\$$cacheid
   7275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7276 $as_echo "$supported" >&6; }
   7277 		if test "$supported" = "yes" ; then
   7278 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7279 			found="yes"
   7280 		fi
   7281 	fi
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 xorg_testset_save_CFLAGS="$CFLAGS"
   7298 
   7299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 _ACEOF
   7310 if ac_fn_c_try_compile "$LINENO"; then :
   7311   xorg_cv_cc_flag_unknown_warning_option=yes
   7312 else
   7313   xorg_cv_cc_flag_unknown_warning_option=no
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7316 fi
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7320 	CFLAGS="$xorg_testset_save_CFLAGS"
   7321 fi
   7322 
   7323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7326 	fi
   7327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"; then :
   7338   xorg_cv_cc_flag_unused_command_line_argument=yes
   7339 else
   7340   xorg_cv_cc_flag_unused_command_line_argument=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7343 fi
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7347 	CFLAGS="$xorg_testset_save_CFLAGS"
   7348 fi
   7349 
   7350 found="no"
   7351 
   7352 	if test $found = "no" ; then
   7353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7355 		fi
   7356 
   7357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 		fi
   7360 
   7361 		CFLAGS="$CFLAGS -Werror=nonnull"
   7362 
   7363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7364 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7365 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7366 		if eval \${$cacheid+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 int
   7373 main ()
   7374 {
   7375 
   7376   ;
   7377   return 0;
   7378 }
   7379 _ACEOF
   7380 if ac_fn_c_try_link "$LINENO"; then :
   7381   eval $cacheid=yes
   7382 else
   7383   eval $cacheid=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext \
   7386     conftest$ac_exeext conftest.$ac_ext
   7387 fi
   7388 
   7389 
   7390 		CFLAGS="$xorg_testset_save_CFLAGS"
   7391 
   7392 		eval supported=\$$cacheid
   7393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7394 $as_echo "$supported" >&6; }
   7395 		if test "$supported" = "yes" ; then
   7396 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7397 			found="yes"
   7398 		fi
   7399 	fi
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 xorg_testset_save_CFLAGS="$CFLAGS"
   7416 
   7417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7425 /* end confdefs.h.  */
   7426 int i;
   7427 _ACEOF
   7428 if ac_fn_c_try_compile "$LINENO"; then :
   7429   xorg_cv_cc_flag_unknown_warning_option=yes
   7430 else
   7431   xorg_cv_cc_flag_unknown_warning_option=no
   7432 fi
   7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7434 fi
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7438 	CFLAGS="$xorg_testset_save_CFLAGS"
   7439 fi
   7440 
   7441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7444 	fi
   7445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unused_command_line_argument=yes
   7457 else
   7458   xorg_cv_cc_flag_unused_command_line_argument=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 found="no"
   7469 
   7470 	if test $found = "no" ; then
   7471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7473 		fi
   7474 
   7475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 		fi
   7478 
   7479 		CFLAGS="$CFLAGS -Werror=init-self"
   7480 
   7481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7482 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7483 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7484 		if eval \${$cacheid+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 int
   7491 main ()
   7492 {
   7493 
   7494   ;
   7495   return 0;
   7496 }
   7497 _ACEOF
   7498 if ac_fn_c_try_link "$LINENO"; then :
   7499   eval $cacheid=yes
   7500 else
   7501   eval $cacheid=no
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext \
   7504     conftest$ac_exeext conftest.$ac_ext
   7505 fi
   7506 
   7507 
   7508 		CFLAGS="$xorg_testset_save_CFLAGS"
   7509 
   7510 		eval supported=\$$cacheid
   7511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7512 $as_echo "$supported" >&6; }
   7513 		if test "$supported" = "yes" ; then
   7514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7515 			found="yes"
   7516 		fi
   7517 	fi
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 xorg_testset_save_CFLAGS="$CFLAGS"
   7534 
   7535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7540   $as_echo_n "(cached) " >&6
   7541 else
   7542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7543 /* end confdefs.h.  */
   7544 int i;
   7545 _ACEOF
   7546 if ac_fn_c_try_compile "$LINENO"; then :
   7547   xorg_cv_cc_flag_unknown_warning_option=yes
   7548 else
   7549   xorg_cv_cc_flag_unknown_warning_option=no
   7550 fi
   7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7552 fi
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7556 	CFLAGS="$xorg_testset_save_CFLAGS"
   7557 fi
   7558 
   7559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7562 	fi
   7563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unused_command_line_argument=yes
   7575 else
   7576   xorg_cv_cc_flag_unused_command_line_argument=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 found="no"
   7587 
   7588 	if test $found = "no" ; then
   7589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7591 		fi
   7592 
   7593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7595 		fi
   7596 
   7597 		CFLAGS="$CFLAGS -Werror=main"
   7598 
   7599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7600 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7601 		cacheid=xorg_cv_cc_flag__Werror_main
   7602 		if eval \${$cacheid+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 int
   7609 main ()
   7610 {
   7611 
   7612   ;
   7613   return 0;
   7614 }
   7615 _ACEOF
   7616 if ac_fn_c_try_link "$LINENO"; then :
   7617   eval $cacheid=yes
   7618 else
   7619   eval $cacheid=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext \
   7622     conftest$ac_exeext conftest.$ac_ext
   7623 fi
   7624 
   7625 
   7626 		CFLAGS="$xorg_testset_save_CFLAGS"
   7627 
   7628 		eval supported=\$$cacheid
   7629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7630 $as_echo "$supported" >&6; }
   7631 		if test "$supported" = "yes" ; then
   7632 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7633 			found="yes"
   7634 		fi
   7635 	fi
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 xorg_testset_save_CFLAGS="$CFLAGS"
   7652 
   7653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"; then :
   7665   xorg_cv_cc_flag_unknown_warning_option=yes
   7666 else
   7667   xorg_cv_cc_flag_unknown_warning_option=no
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7670 fi
   7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7674 	CFLAGS="$xorg_testset_save_CFLAGS"
   7675 fi
   7676 
   7677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7680 	fi
   7681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"; then :
   7692   xorg_cv_cc_flag_unused_command_line_argument=yes
   7693 else
   7694   xorg_cv_cc_flag_unused_command_line_argument=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7697 fi
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 found="no"
   7705 
   7706 	if test $found = "no" ; then
   7707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7709 		fi
   7710 
   7711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 		fi
   7714 
   7715 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7716 
   7717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7718 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7719 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7720 		if eval \${$cacheid+:} false; then :
   7721   $as_echo_n "(cached) " >&6
   7722 else
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 int
   7727 main ()
   7728 {
   7729 
   7730   ;
   7731   return 0;
   7732 }
   7733 _ACEOF
   7734 if ac_fn_c_try_link "$LINENO"; then :
   7735   eval $cacheid=yes
   7736 else
   7737   eval $cacheid=no
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext \
   7740     conftest$ac_exeext conftest.$ac_ext
   7741 fi
   7742 
   7743 
   7744 		CFLAGS="$xorg_testset_save_CFLAGS"
   7745 
   7746 		eval supported=\$$cacheid
   7747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7748 $as_echo "$supported" >&6; }
   7749 		if test "$supported" = "yes" ; then
   7750 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7751 			found="yes"
   7752 		fi
   7753 	fi
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 xorg_testset_save_CFLAGS="$CFLAGS"
   7770 
   7771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7776   $as_echo_n "(cached) " >&6
   7777 else
   7778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 _ACEOF
   7782 if ac_fn_c_try_compile "$LINENO"; then :
   7783   xorg_cv_cc_flag_unknown_warning_option=yes
   7784 else
   7785   xorg_cv_cc_flag_unknown_warning_option=no
   7786 fi
   7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7788 fi
   7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7792 	CFLAGS="$xorg_testset_save_CFLAGS"
   7793 fi
   7794 
   7795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7798 	fi
   7799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unused_command_line_argument=yes
   7811 else
   7812   xorg_cv_cc_flag_unused_command_line_argument=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 found="no"
   7823 
   7824 	if test $found = "no" ; then
   7825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7827 		fi
   7828 
   7829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 		fi
   7832 
   7833 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7834 
   7835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7836 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7837 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7838 		if eval \${$cacheid+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 int
   7845 main ()
   7846 {
   7847 
   7848   ;
   7849   return 0;
   7850 }
   7851 _ACEOF
   7852 if ac_fn_c_try_link "$LINENO"; then :
   7853   eval $cacheid=yes
   7854 else
   7855   eval $cacheid=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext \
   7858     conftest$ac_exeext conftest.$ac_ext
   7859 fi
   7860 
   7861 
   7862 		CFLAGS="$xorg_testset_save_CFLAGS"
   7863 
   7864 		eval supported=\$$cacheid
   7865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7866 $as_echo "$supported" >&6; }
   7867 		if test "$supported" = "yes" ; then
   7868 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7869 			found="yes"
   7870 		fi
   7871 	fi
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 xorg_testset_save_CFLAGS="$CFLAGS"
   7888 
   7889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7894   $as_echo_n "(cached) " >&6
   7895 else
   7896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7897 /* end confdefs.h.  */
   7898 int i;
   7899 _ACEOF
   7900 if ac_fn_c_try_compile "$LINENO"; then :
   7901   xorg_cv_cc_flag_unknown_warning_option=yes
   7902 else
   7903   xorg_cv_cc_flag_unknown_warning_option=no
   7904 fi
   7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7906 fi
   7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7910 	CFLAGS="$xorg_testset_save_CFLAGS"
   7911 fi
   7912 
   7913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7916 	fi
   7917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7924 /* end confdefs.h.  */
   7925 int i;
   7926 _ACEOF
   7927 if ac_fn_c_try_compile "$LINENO"; then :
   7928   xorg_cv_cc_flag_unused_command_line_argument=yes
   7929 else
   7930   xorg_cv_cc_flag_unused_command_line_argument=no
   7931 fi
   7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7933 fi
   7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 found="no"
   7941 
   7942 	if test $found = "no" ; then
   7943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7945 		fi
   7946 
   7947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7949 		fi
   7950 
   7951 		CFLAGS="$CFLAGS -Werror=return-type"
   7952 
   7953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7954 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7955 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7956 		if eval \${$cacheid+:} false; then :
   7957   $as_echo_n "(cached) " >&6
   7958 else
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 int i;
   7962 int
   7963 main ()
   7964 {
   7965 
   7966   ;
   7967   return 0;
   7968 }
   7969 _ACEOF
   7970 if ac_fn_c_try_link "$LINENO"; then :
   7971   eval $cacheid=yes
   7972 else
   7973   eval $cacheid=no
   7974 fi
   7975 rm -f core conftest.err conftest.$ac_objext \
   7976     conftest$ac_exeext conftest.$ac_ext
   7977 fi
   7978 
   7979 
   7980 		CFLAGS="$xorg_testset_save_CFLAGS"
   7981 
   7982 		eval supported=\$$cacheid
   7983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7984 $as_echo "$supported" >&6; }
   7985 		if test "$supported" = "yes" ; then
   7986 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7987 			found="yes"
   7988 		fi
   7989 	fi
   7990 
   7991 	if test $found = "no" ; then
   7992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7994 		fi
   7995 
   7996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 		fi
   7999 
   8000 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8001 
   8002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8003 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8004 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8005 		if eval \${$cacheid+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 int
   8012 main ()
   8013 {
   8014 
   8015   ;
   8016   return 0;
   8017 }
   8018 _ACEOF
   8019 if ac_fn_c_try_link "$LINENO"; then :
   8020   eval $cacheid=yes
   8021 else
   8022   eval $cacheid=no
   8023 fi
   8024 rm -f core conftest.err conftest.$ac_objext \
   8025     conftest$ac_exeext conftest.$ac_ext
   8026 fi
   8027 
   8028 
   8029 		CFLAGS="$xorg_testset_save_CFLAGS"
   8030 
   8031 		eval supported=\$$cacheid
   8032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8033 $as_echo "$supported" >&6; }
   8034 		if test "$supported" = "yes" ; then
   8035 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8036 			found="yes"
   8037 		fi
   8038 	fi
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 xorg_testset_save_CFLAGS="$CFLAGS"
   8055 
   8056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8064 /* end confdefs.h.  */
   8065 int i;
   8066 _ACEOF
   8067 if ac_fn_c_try_compile "$LINENO"; then :
   8068   xorg_cv_cc_flag_unknown_warning_option=yes
   8069 else
   8070   xorg_cv_cc_flag_unknown_warning_option=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 	fi
   8084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 _ACEOF
   8094 if ac_fn_c_try_compile "$LINENO"; then :
   8095   xorg_cv_cc_flag_unused_command_line_argument=yes
   8096 else
   8097   xorg_cv_cc_flag_unused_command_line_argument=no
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8100 fi
   8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8104 	CFLAGS="$xorg_testset_save_CFLAGS"
   8105 fi
   8106 
   8107 found="no"
   8108 
   8109 	if test $found = "no" ; then
   8110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8112 		fi
   8113 
   8114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8116 		fi
   8117 
   8118 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8119 
   8120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8121 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8122 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8123 		if eval \${$cacheid+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 int
   8130 main ()
   8131 {
   8132 
   8133   ;
   8134   return 0;
   8135 }
   8136 _ACEOF
   8137 if ac_fn_c_try_link "$LINENO"; then :
   8138   eval $cacheid=yes
   8139 else
   8140   eval $cacheid=no
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext \
   8143     conftest$ac_exeext conftest.$ac_ext
   8144 fi
   8145 
   8146 
   8147 		CFLAGS="$xorg_testset_save_CFLAGS"
   8148 
   8149 		eval supported=\$$cacheid
   8150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8151 $as_echo "$supported" >&6; }
   8152 		if test "$supported" = "yes" ; then
   8153 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8154 			found="yes"
   8155 		fi
   8156 	fi
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 xorg_testset_save_CFLAGS="$CFLAGS"
   8173 
   8174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8179   $as_echo_n "(cached) " >&6
   8180 else
   8181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8182 /* end confdefs.h.  */
   8183 int i;
   8184 _ACEOF
   8185 if ac_fn_c_try_compile "$LINENO"; then :
   8186   xorg_cv_cc_flag_unknown_warning_option=yes
   8187 else
   8188   xorg_cv_cc_flag_unknown_warning_option=no
   8189 fi
   8190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8191 fi
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8195 	CFLAGS="$xorg_testset_save_CFLAGS"
   8196 fi
   8197 
   8198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 	fi
   8202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else
   8215   xorg_cv_cc_flag_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 found="no"
   8226 
   8227 	if test $found = "no" ; then
   8228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 		fi
   8231 
   8232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 		fi
   8235 
   8236 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8237 
   8238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8239 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8240 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8241 		if eval \${$cacheid+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 int
   8248 main ()
   8249 {
   8250 
   8251   ;
   8252   return 0;
   8253 }
   8254 _ACEOF
   8255 if ac_fn_c_try_link "$LINENO"; then :
   8256   eval $cacheid=yes
   8257 else
   8258   eval $cacheid=no
   8259 fi
   8260 rm -f core conftest.err conftest.$ac_objext \
   8261     conftest$ac_exeext conftest.$ac_ext
   8262 fi
   8263 
   8264 
   8265 		CFLAGS="$xorg_testset_save_CFLAGS"
   8266 
   8267 		eval supported=\$$cacheid
   8268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8269 $as_echo "$supported" >&6; }
   8270 		if test "$supported" = "yes" ; then
   8271 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8272 			found="yes"
   8273 		fi
   8274 	fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 xorg_testset_save_CFLAGS="$CFLAGS"
   8291 
   8292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8297   $as_echo_n "(cached) " >&6
   8298 else
   8299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8300 /* end confdefs.h.  */
   8301 int i;
   8302 _ACEOF
   8303 if ac_fn_c_try_compile "$LINENO"; then :
   8304   xorg_cv_cc_flag_unknown_warning_option=yes
   8305 else
   8306   xorg_cv_cc_flag_unknown_warning_option=no
   8307 fi
   8308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8309 fi
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8313 	CFLAGS="$xorg_testset_save_CFLAGS"
   8314 fi
   8315 
   8316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8319 	fi
   8320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"; then :
   8331   xorg_cv_cc_flag_unused_command_line_argument=yes
   8332 else
   8333   xorg_cv_cc_flag_unused_command_line_argument=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 found="no"
   8344 
   8345 	if test $found = "no" ; then
   8346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8348 		fi
   8349 
   8350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 		fi
   8353 
   8354 		CFLAGS="$CFLAGS -Werror=write-strings"
   8355 
   8356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8357 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8358 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8359 		if eval \${$cacheid+:} false; then :
   8360   $as_echo_n "(cached) " >&6
   8361 else
   8362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8363 /* end confdefs.h.  */
   8364 int i;
   8365 int
   8366 main ()
   8367 {
   8368 
   8369   ;
   8370   return 0;
   8371 }
   8372 _ACEOF
   8373 if ac_fn_c_try_link "$LINENO"; then :
   8374   eval $cacheid=yes
   8375 else
   8376   eval $cacheid=no
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext \
   8379     conftest$ac_exeext conftest.$ac_ext
   8380 fi
   8381 
   8382 
   8383 		CFLAGS="$xorg_testset_save_CFLAGS"
   8384 
   8385 		eval supported=\$$cacheid
   8386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8387 $as_echo "$supported" >&6; }
   8388 		if test "$supported" = "yes" ; then
   8389 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8390 			found="yes"
   8391 		fi
   8392 	fi
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 xorg_testset_save_CFLAGS="$CFLAGS"
   8409 
   8410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8415   $as_echo_n "(cached) " >&6
   8416 else
   8417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8418 /* end confdefs.h.  */
   8419 int i;
   8420 _ACEOF
   8421 if ac_fn_c_try_compile "$LINENO"; then :
   8422   xorg_cv_cc_flag_unknown_warning_option=yes
   8423 else
   8424   xorg_cv_cc_flag_unknown_warning_option=no
   8425 fi
   8426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8427 fi
   8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8431 	CFLAGS="$xorg_testset_save_CFLAGS"
   8432 fi
   8433 
   8434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 	fi
   8438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"; then :
   8449   xorg_cv_cc_flag_unused_command_line_argument=yes
   8450 else
   8451   xorg_cv_cc_flag_unused_command_line_argument=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8454 fi
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 found="no"
   8462 
   8463 	if test $found = "no" ; then
   8464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8466 		fi
   8467 
   8468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 		fi
   8471 
   8472 		CFLAGS="$CFLAGS -Werror=address"
   8473 
   8474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8475 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8476 		cacheid=xorg_cv_cc_flag__Werror_address
   8477 		if eval \${$cacheid+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 int
   8484 main ()
   8485 {
   8486 
   8487   ;
   8488   return 0;
   8489 }
   8490 _ACEOF
   8491 if ac_fn_c_try_link "$LINENO"; then :
   8492   eval $cacheid=yes
   8493 else
   8494   eval $cacheid=no
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext \
   8497     conftest$ac_exeext conftest.$ac_ext
   8498 fi
   8499 
   8500 
   8501 		CFLAGS="$xorg_testset_save_CFLAGS"
   8502 
   8503 		eval supported=\$$cacheid
   8504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8505 $as_echo "$supported" >&6; }
   8506 		if test "$supported" = "yes" ; then
   8507 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8508 			found="yes"
   8509 		fi
   8510 	fi
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 xorg_testset_save_CFLAGS="$CFLAGS"
   8527 
   8528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8533   $as_echo_n "(cached) " >&6
   8534 else
   8535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8536 /* end confdefs.h.  */
   8537 int i;
   8538 _ACEOF
   8539 if ac_fn_c_try_compile "$LINENO"; then :
   8540   xorg_cv_cc_flag_unknown_warning_option=yes
   8541 else
   8542   xorg_cv_cc_flag_unknown_warning_option=no
   8543 fi
   8544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8545 fi
   8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8549 	CFLAGS="$xorg_testset_save_CFLAGS"
   8550 fi
   8551 
   8552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8555 	fi
   8556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8560   $as_echo_n "(cached) " >&6
   8561 else
   8562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8563 /* end confdefs.h.  */
   8564 int i;
   8565 _ACEOF
   8566 if ac_fn_c_try_compile "$LINENO"; then :
   8567   xorg_cv_cc_flag_unused_command_line_argument=yes
   8568 else
   8569   xorg_cv_cc_flag_unused_command_line_argument=no
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8572 fi
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8576 	CFLAGS="$xorg_testset_save_CFLAGS"
   8577 fi
   8578 
   8579 found="no"
   8580 
   8581 	if test $found = "no" ; then
   8582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8584 		fi
   8585 
   8586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8588 		fi
   8589 
   8590 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8591 
   8592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8593 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8594 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8595 		if eval \${$cacheid+:} false; then :
   8596   $as_echo_n "(cached) " >&6
   8597 else
   8598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8599 /* end confdefs.h.  */
   8600 int i;
   8601 int
   8602 main ()
   8603 {
   8604 
   8605   ;
   8606   return 0;
   8607 }
   8608 _ACEOF
   8609 if ac_fn_c_try_link "$LINENO"; then :
   8610   eval $cacheid=yes
   8611 else
   8612   eval $cacheid=no
   8613 fi
   8614 rm -f core conftest.err conftest.$ac_objext \
   8615     conftest$ac_exeext conftest.$ac_ext
   8616 fi
   8617 
   8618 
   8619 		CFLAGS="$xorg_testset_save_CFLAGS"
   8620 
   8621 		eval supported=\$$cacheid
   8622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8623 $as_echo "$supported" >&6; }
   8624 		if test "$supported" = "yes" ; then
   8625 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8626 			found="yes"
   8627 		fi
   8628 	fi
   8629 
   8630 	if test $found = "no" ; then
   8631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 		fi
   8634 
   8635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 		fi
   8638 
   8639 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8640 
   8641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8642 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8643 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8644 		if eval \${$cacheid+:} false; then :
   8645   $as_echo_n "(cached) " >&6
   8646 else
   8647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8648 /* end confdefs.h.  */
   8649 int i;
   8650 int
   8651 main ()
   8652 {
   8653 
   8654   ;
   8655   return 0;
   8656 }
   8657 _ACEOF
   8658 if ac_fn_c_try_link "$LINENO"; then :
   8659   eval $cacheid=yes
   8660 else
   8661   eval $cacheid=no
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext \
   8664     conftest$ac_exeext conftest.$ac_ext
   8665 fi
   8666 
   8667 
   8668 		CFLAGS="$xorg_testset_save_CFLAGS"
   8669 
   8670 		eval supported=\$$cacheid
   8671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8672 $as_echo "$supported" >&6; }
   8673 		if test "$supported" = "yes" ; then
   8674 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8675 			found="yes"
   8676 		fi
   8677 	fi
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 xorg_testset_save_CFLAGS="$CFLAGS"
   8694 
   8695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8700   $as_echo_n "(cached) " >&6
   8701 else
   8702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8703 /* end confdefs.h.  */
   8704 int i;
   8705 _ACEOF
   8706 if ac_fn_c_try_compile "$LINENO"; then :
   8707   xorg_cv_cc_flag_unknown_warning_option=yes
   8708 else
   8709   xorg_cv_cc_flag_unknown_warning_option=no
   8710 fi
   8711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8712 fi
   8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8716 	CFLAGS="$xorg_testset_save_CFLAGS"
   8717 fi
   8718 
   8719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 	fi
   8723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8727   $as_echo_n "(cached) " >&6
   8728 else
   8729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8730 /* end confdefs.h.  */
   8731 int i;
   8732 _ACEOF
   8733 if ac_fn_c_try_compile "$LINENO"; then :
   8734   xorg_cv_cc_flag_unused_command_line_argument=yes
   8735 else
   8736   xorg_cv_cc_flag_unused_command_line_argument=no
   8737 fi
   8738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8739 fi
   8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8743 	CFLAGS="$xorg_testset_save_CFLAGS"
   8744 fi
   8745 
   8746 found="no"
   8747 
   8748 	if test $found = "no" ; then
   8749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8751 		fi
   8752 
   8753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8755 		fi
   8756 
   8757 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8758 
   8759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8760 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8761 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8762 		if eval \${$cacheid+:} false; then :
   8763   $as_echo_n "(cached) " >&6
   8764 else
   8765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8766 /* end confdefs.h.  */
   8767 int i;
   8768 int
   8769 main ()
   8770 {
   8771 
   8772   ;
   8773   return 0;
   8774 }
   8775 _ACEOF
   8776 if ac_fn_c_try_link "$LINENO"; then :
   8777   eval $cacheid=yes
   8778 else
   8779   eval $cacheid=no
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext \
   8782     conftest$ac_exeext conftest.$ac_ext
   8783 fi
   8784 
   8785 
   8786 		CFLAGS="$xorg_testset_save_CFLAGS"
   8787 
   8788 		eval supported=\$$cacheid
   8789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8790 $as_echo "$supported" >&6; }
   8791 		if test "$supported" = "yes" ; then
   8792 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8793 			found="yes"
   8794 		fi
   8795 	fi
   8796 
   8797  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8798 else
   8799 { $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
   8800 $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;}
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 xorg_testset_save_CFLAGS="$CFLAGS"
   8815 
   8816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8821   $as_echo_n "(cached) " >&6
   8822 else
   8823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8824 /* end confdefs.h.  */
   8825 int i;
   8826 _ACEOF
   8827 if ac_fn_c_try_compile "$LINENO"; then :
   8828   xorg_cv_cc_flag_unknown_warning_option=yes
   8829 else
   8830   xorg_cv_cc_flag_unknown_warning_option=no
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8833 fi
   8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8837 	CFLAGS="$xorg_testset_save_CFLAGS"
   8838 fi
   8839 
   8840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8843 	fi
   8844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"; then :
   8855   xorg_cv_cc_flag_unused_command_line_argument=yes
   8856 else
   8857   xorg_cv_cc_flag_unused_command_line_argument=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 found="no"
   8868 
   8869 	if test $found = "no" ; then
   8870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8872 		fi
   8873 
   8874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 		fi
   8877 
   8878 		CFLAGS="$CFLAGS -Wimplicit"
   8879 
   8880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8881 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8882 		cacheid=xorg_cv_cc_flag__Wimplicit
   8883 		if eval \${$cacheid+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 int
   8890 main ()
   8891 {
   8892 
   8893   ;
   8894   return 0;
   8895 }
   8896 _ACEOF
   8897 if ac_fn_c_try_link "$LINENO"; then :
   8898   eval $cacheid=yes
   8899 else
   8900   eval $cacheid=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext \
   8903     conftest$ac_exeext conftest.$ac_ext
   8904 fi
   8905 
   8906 
   8907 		CFLAGS="$xorg_testset_save_CFLAGS"
   8908 
   8909 		eval supported=\$$cacheid
   8910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8911 $as_echo "$supported" >&6; }
   8912 		if test "$supported" = "yes" ; then
   8913 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8914 			found="yes"
   8915 		fi
   8916 	fi
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 xorg_testset_save_CFLAGS="$CFLAGS"
   8933 
   8934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 _ACEOF
   8945 if ac_fn_c_try_compile "$LINENO"; then :
   8946   xorg_cv_cc_flag_unknown_warning_option=yes
   8947 else
   8948   xorg_cv_cc_flag_unknown_warning_option=no
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8951 fi
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8955 	CFLAGS="$xorg_testset_save_CFLAGS"
   8956 fi
   8957 
   8958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8961 	fi
   8962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unused_command_line_argument=yes
   8974 else
   8975   xorg_cv_cc_flag_unused_command_line_argument=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 found="no"
   8986 
   8987 	if test $found = "no" ; then
   8988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8990 		fi
   8991 
   8992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 		fi
   8995 
   8996 		CFLAGS="$CFLAGS -Wnonnull"
   8997 
   8998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8999 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9000 		cacheid=xorg_cv_cc_flag__Wnonnull
   9001 		if eval \${$cacheid+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 int
   9008 main ()
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"; then :
   9016   eval $cacheid=yes
   9017 else
   9018   eval $cacheid=no
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext \
   9021     conftest$ac_exeext conftest.$ac_ext
   9022 fi
   9023 
   9024 
   9025 		CFLAGS="$xorg_testset_save_CFLAGS"
   9026 
   9027 		eval supported=\$$cacheid
   9028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9029 $as_echo "$supported" >&6; }
   9030 		if test "$supported" = "yes" ; then
   9031 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9032 			found="yes"
   9033 		fi
   9034 	fi
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 xorg_testset_save_CFLAGS="$CFLAGS"
   9051 
   9052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9057   $as_echo_n "(cached) " >&6
   9058 else
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 int i;
   9062 _ACEOF
   9063 if ac_fn_c_try_compile "$LINENO"; then :
   9064   xorg_cv_cc_flag_unknown_warning_option=yes
   9065 else
   9066   xorg_cv_cc_flag_unknown_warning_option=no
   9067 fi
   9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9069 fi
   9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9073 	CFLAGS="$xorg_testset_save_CFLAGS"
   9074 fi
   9075 
   9076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9079 	fi
   9080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unused_command_line_argument=yes
   9092 else
   9093   xorg_cv_cc_flag_unused_command_line_argument=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 found="no"
   9104 
   9105 	if test $found = "no" ; then
   9106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9108 		fi
   9109 
   9110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9112 		fi
   9113 
   9114 		CFLAGS="$CFLAGS -Winit-self"
   9115 
   9116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9117 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9118 		cacheid=xorg_cv_cc_flag__Winit_self
   9119 		if eval \${$cacheid+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 int
   9126 main ()
   9127 {
   9128 
   9129   ;
   9130   return 0;
   9131 }
   9132 _ACEOF
   9133 if ac_fn_c_try_link "$LINENO"; then :
   9134   eval $cacheid=yes
   9135 else
   9136   eval $cacheid=no
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext \
   9139     conftest$ac_exeext conftest.$ac_ext
   9140 fi
   9141 
   9142 
   9143 		CFLAGS="$xorg_testset_save_CFLAGS"
   9144 
   9145 		eval supported=\$$cacheid
   9146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9147 $as_echo "$supported" >&6; }
   9148 		if test "$supported" = "yes" ; then
   9149 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9150 			found="yes"
   9151 		fi
   9152 	fi
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 xorg_testset_save_CFLAGS="$CFLAGS"
   9169 
   9170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9178 /* end confdefs.h.  */
   9179 int i;
   9180 _ACEOF
   9181 if ac_fn_c_try_compile "$LINENO"; then :
   9182   xorg_cv_cc_flag_unknown_warning_option=yes
   9183 else
   9184   xorg_cv_cc_flag_unknown_warning_option=no
   9185 fi
   9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9187 fi
   9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 	fi
   9198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unused_command_line_argument=yes
   9210 else
   9211   xorg_cv_cc_flag_unused_command_line_argument=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 found="no"
   9222 
   9223 	if test $found = "no" ; then
   9224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9226 		fi
   9227 
   9228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9230 		fi
   9231 
   9232 		CFLAGS="$CFLAGS -Wmain"
   9233 
   9234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9235 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9236 		cacheid=xorg_cv_cc_flag__Wmain
   9237 		if eval \${$cacheid+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 int
   9244 main ()
   9245 {
   9246 
   9247   ;
   9248   return 0;
   9249 }
   9250 _ACEOF
   9251 if ac_fn_c_try_link "$LINENO"; then :
   9252   eval $cacheid=yes
   9253 else
   9254   eval $cacheid=no
   9255 fi
   9256 rm -f core conftest.err conftest.$ac_objext \
   9257     conftest$ac_exeext conftest.$ac_ext
   9258 fi
   9259 
   9260 
   9261 		CFLAGS="$xorg_testset_save_CFLAGS"
   9262 
   9263 		eval supported=\$$cacheid
   9264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9265 $as_echo "$supported" >&6; }
   9266 		if test "$supported" = "yes" ; then
   9267 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9268 			found="yes"
   9269 		fi
   9270 	fi
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 xorg_testset_save_CFLAGS="$CFLAGS"
   9287 
   9288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9293   $as_echo_n "(cached) " >&6
   9294 else
   9295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9296 /* end confdefs.h.  */
   9297 int i;
   9298 _ACEOF
   9299 if ac_fn_c_try_compile "$LINENO"; then :
   9300   xorg_cv_cc_flag_unknown_warning_option=yes
   9301 else
   9302   xorg_cv_cc_flag_unknown_warning_option=no
   9303 fi
   9304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9305 fi
   9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9309 	CFLAGS="$xorg_testset_save_CFLAGS"
   9310 fi
   9311 
   9312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9315 	fi
   9316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unused_command_line_argument=yes
   9328 else
   9329   xorg_cv_cc_flag_unused_command_line_argument=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 found="no"
   9340 
   9341 	if test $found = "no" ; then
   9342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9344 		fi
   9345 
   9346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9348 		fi
   9349 
   9350 		CFLAGS="$CFLAGS -Wmissing-braces"
   9351 
   9352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9353 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9354 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9355 		if eval \${$cacheid+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 int
   9362 main ()
   9363 {
   9364 
   9365   ;
   9366   return 0;
   9367 }
   9368 _ACEOF
   9369 if ac_fn_c_try_link "$LINENO"; then :
   9370   eval $cacheid=yes
   9371 else
   9372   eval $cacheid=no
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext \
   9375     conftest$ac_exeext conftest.$ac_ext
   9376 fi
   9377 
   9378 
   9379 		CFLAGS="$xorg_testset_save_CFLAGS"
   9380 
   9381 		eval supported=\$$cacheid
   9382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9383 $as_echo "$supported" >&6; }
   9384 		if test "$supported" = "yes" ; then
   9385 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9386 			found="yes"
   9387 		fi
   9388 	fi
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 xorg_testset_save_CFLAGS="$CFLAGS"
   9405 
   9406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 int i;
   9416 _ACEOF
   9417 if ac_fn_c_try_compile "$LINENO"; then :
   9418   xorg_cv_cc_flag_unknown_warning_option=yes
   9419 else
   9420   xorg_cv_cc_flag_unknown_warning_option=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9423 fi
   9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9433 	fi
   9434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unused_command_line_argument=yes
   9446 else
   9447   xorg_cv_cc_flag_unused_command_line_argument=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 found="no"
   9458 
   9459 	if test $found = "no" ; then
   9460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9462 		fi
   9463 
   9464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9466 		fi
   9467 
   9468 		CFLAGS="$CFLAGS -Wsequence-point"
   9469 
   9470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9471 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9472 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9473 		if eval \${$cacheid+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 int
   9480 main ()
   9481 {
   9482 
   9483   ;
   9484   return 0;
   9485 }
   9486 _ACEOF
   9487 if ac_fn_c_try_link "$LINENO"; then :
   9488   eval $cacheid=yes
   9489 else
   9490   eval $cacheid=no
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext \
   9493     conftest$ac_exeext conftest.$ac_ext
   9494 fi
   9495 
   9496 
   9497 		CFLAGS="$xorg_testset_save_CFLAGS"
   9498 
   9499 		eval supported=\$$cacheid
   9500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9501 $as_echo "$supported" >&6; }
   9502 		if test "$supported" = "yes" ; then
   9503 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9504 			found="yes"
   9505 		fi
   9506 	fi
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 xorg_testset_save_CFLAGS="$CFLAGS"
   9523 
   9524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9529   $as_echo_n "(cached) " >&6
   9530 else
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"; then :
   9536   xorg_cv_cc_flag_unknown_warning_option=yes
   9537 else
   9538   xorg_cv_cc_flag_unknown_warning_option=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9545 	CFLAGS="$xorg_testset_save_CFLAGS"
   9546 fi
   9547 
   9548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9551 	fi
   9552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unused_command_line_argument=yes
   9564 else
   9565   xorg_cv_cc_flag_unused_command_line_argument=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 found="no"
   9576 
   9577 	if test $found = "no" ; then
   9578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 		fi
   9581 
   9582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 		fi
   9585 
   9586 		CFLAGS="$CFLAGS -Wreturn-type"
   9587 
   9588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9589 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9590 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9591 		if eval \${$cacheid+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 int
   9598 main ()
   9599 {
   9600 
   9601   ;
   9602   return 0;
   9603 }
   9604 _ACEOF
   9605 if ac_fn_c_try_link "$LINENO"; then :
   9606   eval $cacheid=yes
   9607 else
   9608   eval $cacheid=no
   9609 fi
   9610 rm -f core conftest.err conftest.$ac_objext \
   9611     conftest$ac_exeext conftest.$ac_ext
   9612 fi
   9613 
   9614 
   9615 		CFLAGS="$xorg_testset_save_CFLAGS"
   9616 
   9617 		eval supported=\$$cacheid
   9618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9619 $as_echo "$supported" >&6; }
   9620 		if test "$supported" = "yes" ; then
   9621 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9622 			found="yes"
   9623 		fi
   9624 	fi
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 xorg_testset_save_CFLAGS="$CFLAGS"
   9641 
   9642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9647   $as_echo_n "(cached) " >&6
   9648 else
   9649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"; then :
   9654   xorg_cv_cc_flag_unknown_warning_option=yes
   9655 else
   9656   xorg_cv_cc_flag_unknown_warning_option=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9659 fi
   9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 	fi
   9670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unused_command_line_argument=yes
   9682 else
   9683   xorg_cv_cc_flag_unused_command_line_argument=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 found="no"
   9694 
   9695 	if test $found = "no" ; then
   9696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9698 		fi
   9699 
   9700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 		fi
   9703 
   9704 		CFLAGS="$CFLAGS -Wtrigraphs"
   9705 
   9706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9707 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9708 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9709 		if eval \${$cacheid+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 int
   9716 main ()
   9717 {
   9718 
   9719   ;
   9720   return 0;
   9721 }
   9722 _ACEOF
   9723 if ac_fn_c_try_link "$LINENO"; then :
   9724   eval $cacheid=yes
   9725 else
   9726   eval $cacheid=no
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext \
   9729     conftest$ac_exeext conftest.$ac_ext
   9730 fi
   9731 
   9732 
   9733 		CFLAGS="$xorg_testset_save_CFLAGS"
   9734 
   9735 		eval supported=\$$cacheid
   9736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9737 $as_echo "$supported" >&6; }
   9738 		if test "$supported" = "yes" ; then
   9739 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9740 			found="yes"
   9741 		fi
   9742 	fi
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 xorg_testset_save_CFLAGS="$CFLAGS"
   9759 
   9760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"; then :
   9772   xorg_cv_cc_flag_unknown_warning_option=yes
   9773 else
   9774   xorg_cv_cc_flag_unknown_warning_option=no
   9775 fi
   9776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9781 	CFLAGS="$xorg_testset_save_CFLAGS"
   9782 fi
   9783 
   9784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9787 	fi
   9788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unused_command_line_argument=yes
   9800 else
   9801   xorg_cv_cc_flag_unused_command_line_argument=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 found="no"
   9812 
   9813 	if test $found = "no" ; then
   9814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9816 		fi
   9817 
   9818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9820 		fi
   9821 
   9822 		CFLAGS="$CFLAGS -Warray-bounds"
   9823 
   9824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9825 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9826 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9827 		if eval \${$cacheid+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 int
   9834 main ()
   9835 {
   9836 
   9837   ;
   9838   return 0;
   9839 }
   9840 _ACEOF
   9841 if ac_fn_c_try_link "$LINENO"; then :
   9842   eval $cacheid=yes
   9843 else
   9844   eval $cacheid=no
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext \
   9847     conftest$ac_exeext conftest.$ac_ext
   9848 fi
   9849 
   9850 
   9851 		CFLAGS="$xorg_testset_save_CFLAGS"
   9852 
   9853 		eval supported=\$$cacheid
   9854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9855 $as_echo "$supported" >&6; }
   9856 		if test "$supported" = "yes" ; then
   9857 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9858 			found="yes"
   9859 		fi
   9860 	fi
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 xorg_testset_save_CFLAGS="$CFLAGS"
   9877 
   9878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9883   $as_echo_n "(cached) " >&6
   9884 else
   9885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 _ACEOF
   9889 if ac_fn_c_try_compile "$LINENO"; then :
   9890   xorg_cv_cc_flag_unknown_warning_option=yes
   9891 else
   9892   xorg_cv_cc_flag_unknown_warning_option=no
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9895 fi
   9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9899 	CFLAGS="$xorg_testset_save_CFLAGS"
   9900 fi
   9901 
   9902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9905 	fi
   9906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unused_command_line_argument=yes
   9918 else
   9919   xorg_cv_cc_flag_unused_command_line_argument=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 found="no"
   9930 
   9931 	if test $found = "no" ; then
   9932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 		fi
   9935 
   9936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 		fi
   9939 
   9940 		CFLAGS="$CFLAGS -Wwrite-strings"
   9941 
   9942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9943 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9944 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9945 		if eval \${$cacheid+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 int
   9952 main ()
   9953 {
   9954 
   9955   ;
   9956   return 0;
   9957 }
   9958 _ACEOF
   9959 if ac_fn_c_try_link "$LINENO"; then :
   9960   eval $cacheid=yes
   9961 else
   9962   eval $cacheid=no
   9963 fi
   9964 rm -f core conftest.err conftest.$ac_objext \
   9965     conftest$ac_exeext conftest.$ac_ext
   9966 fi
   9967 
   9968 
   9969 		CFLAGS="$xorg_testset_save_CFLAGS"
   9970 
   9971 		eval supported=\$$cacheid
   9972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9973 $as_echo "$supported" >&6; }
   9974 		if test "$supported" = "yes" ; then
   9975 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9976 			found="yes"
   9977 		fi
   9978 	fi
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 xorg_testset_save_CFLAGS="$CFLAGS"
   9995 
   9996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10001   $as_echo_n "(cached) " >&6
   10002 else
   10003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10004 /* end confdefs.h.  */
   10005 int i;
   10006 _ACEOF
   10007 if ac_fn_c_try_compile "$LINENO"; then :
   10008   xorg_cv_cc_flag_unknown_warning_option=yes
   10009 else
   10010   xorg_cv_cc_flag_unknown_warning_option=no
   10011 fi
   10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10013 fi
   10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10017 	CFLAGS="$xorg_testset_save_CFLAGS"
   10018 fi
   10019 
   10020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 	fi
   10024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unused_command_line_argument=yes
   10036 else
   10037   xorg_cv_cc_flag_unused_command_line_argument=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 found="no"
   10048 
   10049 	if test $found = "no" ; then
   10050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 		fi
   10053 
   10054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 		fi
   10057 
   10058 		CFLAGS="$CFLAGS -Waddress"
   10059 
   10060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10061 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10062 		cacheid=xorg_cv_cc_flag__Waddress
   10063 		if eval \${$cacheid+:} false; then :
   10064   $as_echo_n "(cached) " >&6
   10065 else
   10066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 int
   10070 main ()
   10071 {
   10072 
   10073   ;
   10074   return 0;
   10075 }
   10076 _ACEOF
   10077 if ac_fn_c_try_link "$LINENO"; then :
   10078   eval $cacheid=yes
   10079 else
   10080   eval $cacheid=no
   10081 fi
   10082 rm -f core conftest.err conftest.$ac_objext \
   10083     conftest$ac_exeext conftest.$ac_ext
   10084 fi
   10085 
   10086 
   10087 		CFLAGS="$xorg_testset_save_CFLAGS"
   10088 
   10089 		eval supported=\$$cacheid
   10090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10091 $as_echo "$supported" >&6; }
   10092 		if test "$supported" = "yes" ; then
   10093 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10094 			found="yes"
   10095 		fi
   10096 	fi
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 xorg_testset_save_CFLAGS="$CFLAGS"
   10113 
   10114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10119   $as_echo_n "(cached) " >&6
   10120 else
   10121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10122 /* end confdefs.h.  */
   10123 int i;
   10124 _ACEOF
   10125 if ac_fn_c_try_compile "$LINENO"; then :
   10126   xorg_cv_cc_flag_unknown_warning_option=yes
   10127 else
   10128   xorg_cv_cc_flag_unknown_warning_option=no
   10129 fi
   10130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10131 fi
   10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10135 	CFLAGS="$xorg_testset_save_CFLAGS"
   10136 fi
   10137 
   10138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10141 	fi
   10142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10146   $as_echo_n "(cached) " >&6
   10147 else
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 int i;
   10151 _ACEOF
   10152 if ac_fn_c_try_compile "$LINENO"; then :
   10153   xorg_cv_cc_flag_unused_command_line_argument=yes
   10154 else
   10155   xorg_cv_cc_flag_unused_command_line_argument=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10158 fi
   10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 found="no"
   10166 
   10167 	if test $found = "no" ; then
   10168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10170 		fi
   10171 
   10172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 		fi
   10175 
   10176 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10177 
   10178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10179 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10180 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10181 		if eval \${$cacheid+:} false; then :
   10182   $as_echo_n "(cached) " >&6
   10183 else
   10184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10185 /* end confdefs.h.  */
   10186 int i;
   10187 int
   10188 main ()
   10189 {
   10190 
   10191   ;
   10192   return 0;
   10193 }
   10194 _ACEOF
   10195 if ac_fn_c_try_link "$LINENO"; then :
   10196   eval $cacheid=yes
   10197 else
   10198   eval $cacheid=no
   10199 fi
   10200 rm -f core conftest.err conftest.$ac_objext \
   10201     conftest$ac_exeext conftest.$ac_ext
   10202 fi
   10203 
   10204 
   10205 		CFLAGS="$xorg_testset_save_CFLAGS"
   10206 
   10207 		eval supported=\$$cacheid
   10208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10209 $as_echo "$supported" >&6; }
   10210 		if test "$supported" = "yes" ; then
   10211 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10212 			found="yes"
   10213 		fi
   10214 	fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 xorg_testset_save_CFLAGS="$CFLAGS"
   10231 
   10232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10235 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10236 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10237   $as_echo_n "(cached) " >&6
   10238 else
   10239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10240 /* end confdefs.h.  */
   10241 int i;
   10242 _ACEOF
   10243 if ac_fn_c_try_compile "$LINENO"; then :
   10244   xorg_cv_cc_flag_unknown_warning_option=yes
   10245 else
   10246   xorg_cv_cc_flag_unknown_warning_option=no
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10249 fi
   10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10251 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10253 	CFLAGS="$xorg_testset_save_CFLAGS"
   10254 fi
   10255 
   10256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10259 	fi
   10260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10262 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10263 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10264   $as_echo_n "(cached) " >&6
   10265 else
   10266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10267 /* end confdefs.h.  */
   10268 int i;
   10269 _ACEOF
   10270 if ac_fn_c_try_compile "$LINENO"; then :
   10271   xorg_cv_cc_flag_unused_command_line_argument=yes
   10272 else
   10273   xorg_cv_cc_flag_unused_command_line_argument=no
   10274 fi
   10275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10276 fi
   10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10278 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10280 	CFLAGS="$xorg_testset_save_CFLAGS"
   10281 fi
   10282 
   10283 found="no"
   10284 
   10285 	if test $found = "no" ; then
   10286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10288 		fi
   10289 
   10290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10292 		fi
   10293 
   10294 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10295 
   10296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10297 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10298 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10299 		if eval \${$cacheid+:} false; then :
   10300   $as_echo_n "(cached) " >&6
   10301 else
   10302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10303 /* end confdefs.h.  */
   10304 int i;
   10305 int
   10306 main ()
   10307 {
   10308 
   10309   ;
   10310   return 0;
   10311 }
   10312 _ACEOF
   10313 if ac_fn_c_try_link "$LINENO"; then :
   10314   eval $cacheid=yes
   10315 else
   10316   eval $cacheid=no
   10317 fi
   10318 rm -f core conftest.err conftest.$ac_objext \
   10319     conftest$ac_exeext conftest.$ac_ext
   10320 fi
   10321 
   10322 
   10323 		CFLAGS="$xorg_testset_save_CFLAGS"
   10324 
   10325 		eval supported=\$$cacheid
   10326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10327 $as_echo "$supported" >&6; }
   10328 		if test "$supported" = "yes" ; then
   10329 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10330 			found="yes"
   10331 		fi
   10332 	fi
   10333 
   10334 
   10335 fi
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 		CWARNFLAGS="$BASE_CFLAGS"
   10344 		if  test "x$GCC" = xyes ; then
   10345 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10346 		fi
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 # Check whether --enable-strict-compilation was given.
   10356 if test "${enable_strict_compilation+set}" = set; then :
   10357   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10358 else
   10359   STRICT_COMPILE=no
   10360 fi
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 STRICT_CFLAGS=""
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 xorg_testset_save_CFLAGS="$CFLAGS"
   10382 
   10383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10386 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10387 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10388   $as_echo_n "(cached) " >&6
   10389 else
   10390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10391 /* end confdefs.h.  */
   10392 int i;
   10393 _ACEOF
   10394 if ac_fn_c_try_compile "$LINENO"; then :
   10395   xorg_cv_cc_flag_unknown_warning_option=yes
   10396 else
   10397   xorg_cv_cc_flag_unknown_warning_option=no
   10398 fi
   10399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10400 fi
   10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10402 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10404 	CFLAGS="$xorg_testset_save_CFLAGS"
   10405 fi
   10406 
   10407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10410 	fi
   10411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10413 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10414 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10415   $as_echo_n "(cached) " >&6
   10416 else
   10417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"; then :
   10422   xorg_cv_cc_flag_unused_command_line_argument=yes
   10423 else
   10424   xorg_cv_cc_flag_unused_command_line_argument=no
   10425 fi
   10426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10427 fi
   10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10429 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10431 	CFLAGS="$xorg_testset_save_CFLAGS"
   10432 fi
   10433 
   10434 found="no"
   10435 
   10436 	if test $found = "no" ; then
   10437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10439 		fi
   10440 
   10441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10443 		fi
   10444 
   10445 		CFLAGS="$CFLAGS -pedantic"
   10446 
   10447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10448 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10449 		cacheid=xorg_cv_cc_flag__pedantic
   10450 		if eval \${$cacheid+:} false; then :
   10451   $as_echo_n "(cached) " >&6
   10452 else
   10453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10454 /* end confdefs.h.  */
   10455 int i;
   10456 int
   10457 main ()
   10458 {
   10459 
   10460   ;
   10461   return 0;
   10462 }
   10463 _ACEOF
   10464 if ac_fn_c_try_link "$LINENO"; then :
   10465   eval $cacheid=yes
   10466 else
   10467   eval $cacheid=no
   10468 fi
   10469 rm -f core conftest.err conftest.$ac_objext \
   10470     conftest$ac_exeext conftest.$ac_ext
   10471 fi
   10472 
   10473 
   10474 		CFLAGS="$xorg_testset_save_CFLAGS"
   10475 
   10476 		eval supported=\$$cacheid
   10477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10478 $as_echo "$supported" >&6; }
   10479 		if test "$supported" = "yes" ; then
   10480 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10481 			found="yes"
   10482 		fi
   10483 	fi
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 xorg_testset_save_CFLAGS="$CFLAGS"
   10500 
   10501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10504 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10505 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10506   $as_echo_n "(cached) " >&6
   10507 else
   10508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10509 /* end confdefs.h.  */
   10510 int i;
   10511 _ACEOF
   10512 if ac_fn_c_try_compile "$LINENO"; then :
   10513   xorg_cv_cc_flag_unknown_warning_option=yes
   10514 else
   10515   xorg_cv_cc_flag_unknown_warning_option=no
   10516 fi
   10517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10518 fi
   10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10520 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10522 	CFLAGS="$xorg_testset_save_CFLAGS"
   10523 fi
   10524 
   10525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10528 	fi
   10529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10531 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10532 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10533   $as_echo_n "(cached) " >&6
   10534 else
   10535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10536 /* end confdefs.h.  */
   10537 int i;
   10538 _ACEOF
   10539 if ac_fn_c_try_compile "$LINENO"; then :
   10540   xorg_cv_cc_flag_unused_command_line_argument=yes
   10541 else
   10542   xorg_cv_cc_flag_unused_command_line_argument=no
   10543 fi
   10544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10545 fi
   10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10547 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10549 	CFLAGS="$xorg_testset_save_CFLAGS"
   10550 fi
   10551 
   10552 found="no"
   10553 
   10554 	if test $found = "no" ; then
   10555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10557 		fi
   10558 
   10559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10561 		fi
   10562 
   10563 		CFLAGS="$CFLAGS -Werror"
   10564 
   10565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10566 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10567 		cacheid=xorg_cv_cc_flag__Werror
   10568 		if eval \${$cacheid+:} false; then :
   10569   $as_echo_n "(cached) " >&6
   10570 else
   10571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10572 /* end confdefs.h.  */
   10573 int i;
   10574 int
   10575 main ()
   10576 {
   10577 
   10578   ;
   10579   return 0;
   10580 }
   10581 _ACEOF
   10582 if ac_fn_c_try_link "$LINENO"; then :
   10583   eval $cacheid=yes
   10584 else
   10585   eval $cacheid=no
   10586 fi
   10587 rm -f core conftest.err conftest.$ac_objext \
   10588     conftest$ac_exeext conftest.$ac_ext
   10589 fi
   10590 
   10591 
   10592 		CFLAGS="$xorg_testset_save_CFLAGS"
   10593 
   10594 		eval supported=\$$cacheid
   10595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10596 $as_echo "$supported" >&6; }
   10597 		if test "$supported" = "yes" ; then
   10598 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10599 			found="yes"
   10600 		fi
   10601 	fi
   10602 
   10603 	if test $found = "no" ; then
   10604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10606 		fi
   10607 
   10608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10610 		fi
   10611 
   10612 		CFLAGS="$CFLAGS -errwarn"
   10613 
   10614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10615 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10616 		cacheid=xorg_cv_cc_flag__errwarn
   10617 		if eval \${$cacheid+:} false; then :
   10618   $as_echo_n "(cached) " >&6
   10619 else
   10620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10621 /* end confdefs.h.  */
   10622 int i;
   10623 int
   10624 main ()
   10625 {
   10626 
   10627   ;
   10628   return 0;
   10629 }
   10630 _ACEOF
   10631 if ac_fn_c_try_link "$LINENO"; then :
   10632   eval $cacheid=yes
   10633 else
   10634   eval $cacheid=no
   10635 fi
   10636 rm -f core conftest.err conftest.$ac_objext \
   10637     conftest$ac_exeext conftest.$ac_ext
   10638 fi
   10639 
   10640 
   10641 		CFLAGS="$xorg_testset_save_CFLAGS"
   10642 
   10643 		eval supported=\$$cacheid
   10644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10645 $as_echo "$supported" >&6; }
   10646 		if test "$supported" = "yes" ; then
   10647 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10648 			found="yes"
   10649 		fi
   10650 	fi
   10651 
   10652 
   10653 
   10654 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10655 # activate it with -Werror, so we add it here explicitly.
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 xorg_testset_save_CFLAGS="$CFLAGS"
   10670 
   10671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10676   $as_echo_n "(cached) " >&6
   10677 else
   10678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10679 /* end confdefs.h.  */
   10680 int i;
   10681 _ACEOF
   10682 if ac_fn_c_try_compile "$LINENO"; then :
   10683   xorg_cv_cc_flag_unknown_warning_option=yes
   10684 else
   10685   xorg_cv_cc_flag_unknown_warning_option=no
   10686 fi
   10687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10688 fi
   10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10692 	CFLAGS="$xorg_testset_save_CFLAGS"
   10693 fi
   10694 
   10695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10698 	fi
   10699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10703   $as_echo_n "(cached) " >&6
   10704 else
   10705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10706 /* end confdefs.h.  */
   10707 int i;
   10708 _ACEOF
   10709 if ac_fn_c_try_compile "$LINENO"; then :
   10710   xorg_cv_cc_flag_unused_command_line_argument=yes
   10711 else
   10712   xorg_cv_cc_flag_unused_command_line_argument=no
   10713 fi
   10714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10715 fi
   10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10719 	CFLAGS="$xorg_testset_save_CFLAGS"
   10720 fi
   10721 
   10722 found="no"
   10723 
   10724 	if test $found = "no" ; then
   10725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10727 		fi
   10728 
   10729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10731 		fi
   10732 
   10733 		CFLAGS="$CFLAGS -Werror=attributes"
   10734 
   10735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10736 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10737 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10738 		if eval \${$cacheid+:} false; then :
   10739   $as_echo_n "(cached) " >&6
   10740 else
   10741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10742 /* end confdefs.h.  */
   10743 int i;
   10744 int
   10745 main ()
   10746 {
   10747 
   10748   ;
   10749   return 0;
   10750 }
   10751 _ACEOF
   10752 if ac_fn_c_try_link "$LINENO"; then :
   10753   eval $cacheid=yes
   10754 else
   10755   eval $cacheid=no
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext \
   10758     conftest$ac_exeext conftest.$ac_ext
   10759 fi
   10760 
   10761 
   10762 		CFLAGS="$xorg_testset_save_CFLAGS"
   10763 
   10764 		eval supported=\$$cacheid
   10765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10766 $as_echo "$supported" >&6; }
   10767 		if test "$supported" = "yes" ; then
   10768 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10769 			found="yes"
   10770 		fi
   10771 	fi
   10772 
   10773 
   10774 
   10775 if test "x$STRICT_COMPILE" = "xyes"; then
   10776     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10777     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10778 fi
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 cat >>confdefs.h <<_ACEOF
   10786 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10787 _ACEOF
   10788 
   10789 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10790 	if test "x$PVM" = "x"; then
   10791 		PVM="0"
   10792 	fi
   10793 
   10794 cat >>confdefs.h <<_ACEOF
   10795 #define PACKAGE_VERSION_MINOR $PVM
   10796 _ACEOF
   10797 
   10798 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10799 	if test "x$PVP" = "x"; then
   10800 		PVP="0"
   10801 	fi
   10802 
   10803 cat >>confdefs.h <<_ACEOF
   10804 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10805 _ACEOF
   10806 
   10807 
   10808 
   10809 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10810 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10811 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10812 touch \$(top_srcdir)/ChangeLog; \
   10813 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10814 
   10815 
   10816 
   10817 
   10818 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10819 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10820 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10821 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10822 touch \$(top_srcdir)/INSTALL; \
   10823 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 case $host_os in
   10831     solaris*)
   10832         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10833         # check for a man page file found in later versions that use
   10834         # traditional section numbers instead
   10835         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10836 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10837 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10838   $as_echo_n "(cached) " >&6
   10839 else
   10840   test "$cross_compiling" = yes &&
   10841   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10842 if test -r "/usr/share/man/man7/attributes.7"; then
   10843   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10844 else
   10845   ac_cv_file__usr_share_man_man7_attributes_7=no
   10846 fi
   10847 fi
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10849 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10850 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10851   SYSV_MAN_SECTIONS=false
   10852 else
   10853   SYSV_MAN_SECTIONS=true
   10854 fi
   10855 
   10856         ;;
   10857     *) SYSV_MAN_SECTIONS=false ;;
   10858 esac
   10859 
   10860 if test x$APP_MAN_SUFFIX = x    ; then
   10861     APP_MAN_SUFFIX=1
   10862 fi
   10863 if test x$APP_MAN_DIR = x    ; then
   10864     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10865 fi
   10866 
   10867 if test x$LIB_MAN_SUFFIX = x    ; then
   10868     LIB_MAN_SUFFIX=3
   10869 fi
   10870 if test x$LIB_MAN_DIR = x    ; then
   10871     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10872 fi
   10873 
   10874 if test x$FILE_MAN_SUFFIX = x    ; then
   10875     case $SYSV_MAN_SECTIONS in
   10876 	true)				FILE_MAN_SUFFIX=4  ;;
   10877 	*)				FILE_MAN_SUFFIX=5  ;;
   10878     esac
   10879 fi
   10880 if test x$FILE_MAN_DIR = x    ; then
   10881     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10882 fi
   10883 
   10884 if test x$MISC_MAN_SUFFIX = x    ; then
   10885     case $SYSV_MAN_SECTIONS in
   10886 	true)				MISC_MAN_SUFFIX=5  ;;
   10887 	*)				MISC_MAN_SUFFIX=7  ;;
   10888     esac
   10889 fi
   10890 if test x$MISC_MAN_DIR = x    ; then
   10891     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10892 fi
   10893 
   10894 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10895     case $SYSV_MAN_SECTIONS in
   10896 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10897 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10898     esac
   10899 fi
   10900 if test x$DRIVER_MAN_DIR = x    ; then
   10901     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10902 fi
   10903 
   10904 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10905     case $SYSV_MAN_SECTIONS in
   10906 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10907 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10908     esac
   10909 fi
   10910 if test x$ADMIN_MAN_DIR = x    ; then
   10911     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10912 fi
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 XORG_MAN_PAGE="X Version 11"
   10929 
   10930 MAN_SUBSTS="\
   10931 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10932 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10933 	-e 's|__xservername__|Xorg|g' \
   10934 	-e 's|__xconfigfile__|xorg.conf|g' \
   10935 	-e 's|__projectroot__|\$(prefix)|g' \
   10936 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10937 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10938 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10939 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10940 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10941 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10942 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10943 
   10944 
   10945 
   10946 # Check whether --enable-silent-rules was given.
   10947 if test "${enable_silent_rules+set}" = set; then :
   10948   enableval=$enable_silent_rules;
   10949 fi
   10950 
   10951 case $enable_silent_rules in # (((
   10952   yes) AM_DEFAULT_VERBOSITY=0;;
   10953    no) AM_DEFAULT_VERBOSITY=1;;
   10954     *) AM_DEFAULT_VERBOSITY=0;;
   10955 esac
   10956 am_make=${MAKE-make}
   10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10958 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10959 if ${am_cv_make_support_nested_variables+:} false; then :
   10960   $as_echo_n "(cached) " >&6
   10961 else
   10962   if $as_echo 'TRUE=$(BAR$(V))
   10963 BAR0=false
   10964 BAR1=true
   10965 V=1
   10966 am__doit:
   10967 	@$(TRUE)
   10968 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10969   am_cv_make_support_nested_variables=yes
   10970 else
   10971   am_cv_make_support_nested_variables=no
   10972 fi
   10973 fi
   10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10975 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10976 if test $am_cv_make_support_nested_variables = yes; then
   10977     AM_V='$(V)'
   10978   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10979 else
   10980   AM_V=$AM_DEFAULT_VERBOSITY
   10981   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10982 fi
   10983 AM_BACKSLASH='\'
   10984 
   10985 
   10986 
   10987 for ac_header in net/errno.h
   10988 do :
   10989   ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default"
   10990 if test "x$ac_cv_header_net_errno_h" = xyes; then :
   10991   cat >>confdefs.h <<_ACEOF
   10992 #define HAVE_NET_ERRNO_H 1
   10993 _ACEOF
   10994 
   10995 fi
   10996 
   10997 done
   10998 
   10999 
   11000 for ac_func in strlcpy
   11001 do :
   11002   ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   11003 if test "x$ac_cv_func_strlcpy" = xyes; then :
   11004   cat >>confdefs.h <<_ACEOF
   11005 #define HAVE_STRLCPY 1
   11006 _ACEOF
   11007 
   11008 fi
   11009 done
   11010 
   11011 
   11012 # Checks for pkg-config packages
   11013 
   11014 pkg_failed=no
   11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAUTH" >&5
   11016 $as_echo_n "checking for XAUTH... " >&6; }
   11017 
   11018 if test -n "$XAUTH_CFLAGS"; then
   11019     pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS"
   11020  elif test -n "$PKG_CONFIG"; then
   11021     if test -n "$PKG_CONFIG" && \
   11022     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu xproto >= 7.0.17\""; } >&5
   11023   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu xproto >= 7.0.17") 2>&5
   11024   ac_status=$?
   11025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11026   test $ac_status = 0; }; then
   11027   pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu xproto >= 7.0.17" 2>/dev/null`
   11028 		      test "x$?" != "x0" && pkg_failed=yes
   11029 else
   11030   pkg_failed=yes
   11031 fi
   11032  else
   11033     pkg_failed=untried
   11034 fi
   11035 if test -n "$XAUTH_LIBS"; then
   11036     pkg_cv_XAUTH_LIBS="$XAUTH_LIBS"
   11037  elif test -n "$PKG_CONFIG"; then
   11038     if test -n "$PKG_CONFIG" && \
   11039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu xproto >= 7.0.17\""; } >&5
   11040   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu xproto >= 7.0.17") 2>&5
   11041   ac_status=$?
   11042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11043   test $ac_status = 0; }; then
   11044   pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu xproto >= 7.0.17" 2>/dev/null`
   11045 		      test "x$?" != "x0" && pkg_failed=yes
   11046 else
   11047   pkg_failed=yes
   11048 fi
   11049  else
   11050     pkg_failed=untried
   11051 fi
   11052 
   11053 
   11054 
   11055 if test $pkg_failed = yes; then
   11056    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11057 $as_echo "no" >&6; }
   11058 
   11059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11060         _pkg_short_errors_supported=yes
   11061 else
   11062         _pkg_short_errors_supported=no
   11063 fi
   11064         if test $_pkg_short_errors_supported = yes; then
   11065 	        XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xau xext xmuu xproto >= 7.0.17" 2>&1`
   11066         else
   11067 	        XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xau xext xmuu xproto >= 7.0.17" 2>&1`
   11068         fi
   11069 	# Put the nasty error message in config.log where it belongs
   11070 	echo "$XAUTH_PKG_ERRORS" >&5
   11071 
   11072 	as_fn_error $? "Package requirements (x11 xau xext xmuu xproto >= 7.0.17) were not met:
   11073 
   11074 $XAUTH_PKG_ERRORS
   11075 
   11076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11077 installed software in a non-standard prefix.
   11078 
   11079 Alternatively, you may set the environment variables XAUTH_CFLAGS
   11080 and XAUTH_LIBS to avoid the need to call pkg-config.
   11081 See the pkg-config man page for more details." "$LINENO" 5
   11082 elif test $pkg_failed = untried; then
   11083      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11084 $as_echo "no" >&6; }
   11085 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11087 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11088 is in your PATH or set the PKG_CONFIG environment variable to the full
   11089 path to pkg-config.
   11090 
   11091 Alternatively, you may set the environment variables XAUTH_CFLAGS
   11092 and XAUTH_LIBS to avoid the need to call pkg-config.
   11093 See the pkg-config man page for more details.
   11094 
   11095 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11096 See \`config.log' for more details" "$LINENO" 5; }
   11097 else
   11098 	XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS
   11099 	XAUTH_LIBS=$pkg_cv_XAUTH_LIBS
   11100         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11101 $as_echo "yes" >&6; }
   11102 
   11103 fi
   11104 
   11105 # Transport selection macro from xtrans.m4
   11106 # Needed to set *CONN defines for gethost.c & parsedpy.c
   11107 
   11108 
   11109  case $host_os in
   11110 	mingw*)	unixdef="no"   ;;
   11111 	*)	unixdef="yes"  ;;
   11112  esac
   11113  # Check whether --enable-unix-transport was given.
   11114 if test "${enable_unix_transport+set}" = set; then :
   11115   enableval=$enable_unix_transport; UNIXCONN=$enableval
   11116 else
   11117   UNIXCONN=$unixdef
   11118 fi
   11119 
   11120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   11121 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   11122  if test "$UNIXCONN" = "yes"; then
   11123 
   11124 $as_echo "#define UNIXCONN 1" >>confdefs.h
   11125 
   11126  fi
   11127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   11128 $as_echo "$UNIXCONN" >&6; }
   11129  # Check whether --enable-tcp-transport was given.
   11130 if test "${enable_tcp_transport+set}" = set; then :
   11131   enableval=$enable_tcp_transport; TCPCONN=$enableval
   11132 else
   11133   TCPCONN=yes
   11134 fi
   11135 
   11136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   11137 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   11138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   11139 $as_echo "$TCPCONN" >&6; }
   11140  if test "$TCPCONN" = "yes"; then
   11141 
   11142 $as_echo "#define TCPCONN 1" >>confdefs.h
   11143 
   11144 
   11145  # SVR4 hides these in libraries other than libc
   11146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   11147 $as_echo_n "checking for library containing socket... " >&6; }
   11148 if ${ac_cv_search_socket+:} false; then :
   11149   $as_echo_n "(cached) " >&6
   11150 else
   11151   ac_func_search_save_LIBS=$LIBS
   11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11153 /* end confdefs.h.  */
   11154 
   11155 /* Override any GCC internal prototype to avoid an error.
   11156    Use char because int might match the return type of a GCC
   11157    builtin and then its argument prototype would still apply.  */
   11158 #ifdef __cplusplus
   11159 extern "C"
   11160 #endif
   11161 char socket ();
   11162 int
   11163 main ()
   11164 {
   11165 return socket ();
   11166   ;
   11167   return 0;
   11168 }
   11169 _ACEOF
   11170 for ac_lib in '' socket; do
   11171   if test -z "$ac_lib"; then
   11172     ac_res="none required"
   11173   else
   11174     ac_res=-l$ac_lib
   11175     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11176   fi
   11177   if ac_fn_c_try_link "$LINENO"; then :
   11178   ac_cv_search_socket=$ac_res
   11179 fi
   11180 rm -f core conftest.err conftest.$ac_objext \
   11181     conftest$ac_exeext
   11182   if ${ac_cv_search_socket+:} false; then :
   11183   break
   11184 fi
   11185 done
   11186 if ${ac_cv_search_socket+:} false; then :
   11187 
   11188 else
   11189   ac_cv_search_socket=no
   11190 fi
   11191 rm conftest.$ac_ext
   11192 LIBS=$ac_func_search_save_LIBS
   11193 fi
   11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   11195 $as_echo "$ac_cv_search_socket" >&6; }
   11196 ac_res=$ac_cv_search_socket
   11197 if test "$ac_res" != no; then :
   11198   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11199 
   11200 fi
   11201 
   11202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   11203 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   11204 if ${ac_cv_search_gethostbyname+:} false; then :
   11205   $as_echo_n "(cached) " >&6
   11206 else
   11207   ac_func_search_save_LIBS=$LIBS
   11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11209 /* end confdefs.h.  */
   11210 
   11211 /* Override any GCC internal prototype to avoid an error.
   11212    Use char because int might match the return type of a GCC
   11213    builtin and then its argument prototype would still apply.  */
   11214 #ifdef __cplusplus
   11215 extern "C"
   11216 #endif
   11217 char gethostbyname ();
   11218 int
   11219 main ()
   11220 {
   11221 return gethostbyname ();
   11222   ;
   11223   return 0;
   11224 }
   11225 _ACEOF
   11226 for ac_lib in '' nsl; do
   11227   if test -z "$ac_lib"; then
   11228     ac_res="none required"
   11229   else
   11230     ac_res=-l$ac_lib
   11231     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11232   fi
   11233   if ac_fn_c_try_link "$LINENO"; then :
   11234   ac_cv_search_gethostbyname=$ac_res
   11235 fi
   11236 rm -f core conftest.err conftest.$ac_objext \
   11237     conftest$ac_exeext
   11238   if ${ac_cv_search_gethostbyname+:} false; then :
   11239   break
   11240 fi
   11241 done
   11242 if ${ac_cv_search_gethostbyname+:} false; then :
   11243 
   11244 else
   11245   ac_cv_search_gethostbyname=no
   11246 fi
   11247 rm conftest.$ac_ext
   11248 LIBS=$ac_func_search_save_LIBS
   11249 fi
   11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   11251 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   11252 ac_res=$ac_cv_search_gethostbyname
   11253 if test "$ac_res" != no; then :
   11254   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11255 
   11256 fi
   11257 
   11258  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   11259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11260 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11261 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11262   $as_echo_n "(cached) " >&6
   11263 else
   11264   ac_check_lib_save_LIBS=$LIBS
   11265 LIBS="-lws2_32  $LIBS"
   11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11267 /* end confdefs.h.  */
   11268 
   11269 
   11270 int
   11271 main ()
   11272 {
   11273 return main ();
   11274   ;
   11275   return 0;
   11276 }
   11277 _ACEOF
   11278 if ac_fn_c_try_link "$LINENO"; then :
   11279   ac_cv_lib_ws2_32_main=yes
   11280 else
   11281   ac_cv_lib_ws2_32_main=no
   11282 fi
   11283 rm -f core conftest.err conftest.$ac_objext \
   11284     conftest$ac_exeext conftest.$ac_ext
   11285 LIBS=$ac_check_lib_save_LIBS
   11286 fi
   11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11288 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11289 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11290   cat >>confdefs.h <<_ACEOF
   11291 #define HAVE_LIBWS2_32 1
   11292 _ACEOF
   11293 
   11294   LIBS="-lws2_32 $LIBS"
   11295 
   11296 fi
   11297 
   11298  fi
   11299 
   11300  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   11301  # Check whether --enable-ipv6 was given.
   11302 if test "${enable_ipv6+set}" = set; then :
   11303   enableval=$enable_ipv6; IPV6CONN=$enableval
   11304 else
   11305   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   11306 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   11307   IPV6CONN=yes
   11308 else
   11309   IPV6CONN=no
   11310 fi
   11311 
   11312 fi
   11313 
   11314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11315 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11316  if test "$IPV6CONN" = "yes"; then
   11317 
   11318 $as_echo "#define IPv6 1" >>confdefs.h
   11319 
   11320  fi
   11321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11322 $as_echo "$IPV6CONN" >&6; }
   11323 
   11324  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11325  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11326 #include <sys/types.h>
   11327 #include <sys/socket.h>
   11328 #include <netinet/in.h>
   11329 
   11330 "
   11331 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11332 
   11333 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11334 
   11335 fi
   11336 
   11337 
   11338  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11339  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11340 $ac_includes_default
   11341 #include <sys/socket.h>
   11342 "
   11343 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11344 
   11345 cat >>confdefs.h <<_ACEOF
   11346 #define HAVE_SOCKLEN_T 1
   11347 _ACEOF
   11348 
   11349 
   11350 fi
   11351 
   11352 
   11353  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   11354  # _XOPEN_SOURCE to get it (such as on Solaris)
   11355  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11356 $ac_includes_default
   11357 #include <sys/socket.h>
   11358 
   11359 "
   11360 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11361 
   11362 fi
   11363 
   11364  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   11365  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11366      unset ac_cv_member_struct_msghdr_msg_control
   11367      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   11368 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   11369      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11370 #define _XOPEN_SOURCE 600
   11371 $ac_includes_default
   11372 #include <sys/socket.h>
   11373 
   11374 "
   11375 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11376 
   11377 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   11378 
   11379 
   11380 fi
   11381 
   11382  fi
   11383  # If that didn't work, fall back to XPG5/UNIX98 with C89
   11384  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11385      unset ac_cv_member_struct_msghdr_msg_control
   11386      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   11387 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   11388      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11389 #define _XOPEN_SOURCE 500
   11390 $ac_includes_default
   11391 #include <sys/socket.h>
   11392 
   11393 "
   11394 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11395 
   11396 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   11397 
   11398 
   11399 fi
   11400 
   11401  fi
   11402 
   11403 
   11404 
   11405  fi
   11406  case $host_os in
   11407 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11408 	*)			localdef="no"  ;;
   11409  esac
   11410  # Check whether --enable-local-transport was given.
   11411 if test "${enable_local_transport+set}" = set; then :
   11412   enableval=$enable_local_transport; LOCALCONN=$enableval
   11413 else
   11414   LOCALCONN=$localdef
   11415 fi
   11416 
   11417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11418 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11420 $as_echo "$LOCALCONN" >&6; }
   11421  if test "$LOCALCONN" = "yes"; then
   11422 
   11423 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11424 
   11425  fi
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 # Check whether --with-lint was given.
   11435 if test "${with_lint+set}" = set; then :
   11436   withval=$with_lint; use_lint=$withval
   11437 else
   11438   use_lint=no
   11439 fi
   11440 
   11441 
   11442 # Obtain platform specific info like program name and options
   11443 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11444 case $host_os in
   11445   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11446 	lint_name=splint
   11447 	lint_options="-badflag"
   11448 	;;
   11449   *freebsd* | *netbsd*)
   11450 	lint_name=lint
   11451 	lint_options="-u -b"
   11452 	;;
   11453   *solaris*)
   11454 	lint_name=lint
   11455 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11456 	;;
   11457 esac
   11458 
   11459 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11460 if test "x$use_lint" = x"yes" ; then
   11461    # Extract the first word of "$lint_name", so it can be a program name with args.
   11462 set dummy $lint_name; ac_word=$2
   11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11464 $as_echo_n "checking for $ac_word... " >&6; }
   11465 if ${ac_cv_path_LINT+:} false; then :
   11466   $as_echo_n "(cached) " >&6
   11467 else
   11468   case $LINT in
   11469   [\\/]* | ?:[\\/]*)
   11470   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11471   ;;
   11472   *)
   11473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11474 for as_dir in $PATH
   11475 do
   11476   IFS=$as_save_IFS
   11477   test -z "$as_dir" && as_dir=.
   11478     for ac_exec_ext in '' $ac_executable_extensions; do
   11479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11480     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11482     break 2
   11483   fi
   11484 done
   11485   done
   11486 IFS=$as_save_IFS
   11487 
   11488   ;;
   11489 esac
   11490 fi
   11491 LINT=$ac_cv_path_LINT
   11492 if test -n "$LINT"; then
   11493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11494 $as_echo "$LINT" >&6; }
   11495 else
   11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11497 $as_echo "no" >&6; }
   11498 fi
   11499 
   11500 
   11501    if test "x$LINT" = "x"; then
   11502         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11503    fi
   11504 elif test "x$use_lint" = x"no" ; then
   11505    if test "x$LINT" != "x"; then
   11506       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11507 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11508    fi
   11509 else
   11510    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11511 fi
   11512 
   11513 # User supplied flags override default flags
   11514 if test "x$LINT_FLAGS" != "x"; then
   11515    lint_options=$LINT_FLAGS
   11516 fi
   11517 
   11518 LINT_FLAGS=$lint_options
   11519 
   11520  if test "x$LINT" != x; then
   11521   LINT_TRUE=
   11522   LINT_FALSE='#'
   11523 else
   11524   LINT_TRUE='#'
   11525   LINT_FALSE=
   11526 fi
   11527 
   11528 
   11529 
   11530 
   11531 ac_config_files="$ac_config_files Makefile tests/Makefile man/Makefile"
   11532 
   11533 cat >confcache <<\_ACEOF
   11534 # This file is a shell script that caches the results of configure
   11535 # tests run on this system so they can be shared between configure
   11536 # scripts and configure runs, see configure's option --config-cache.
   11537 # It is not useful on other systems.  If it contains results you don't
   11538 # want to keep, you may remove or edit it.
   11539 #
   11540 # config.status only pays attention to the cache file if you give it
   11541 # the --recheck option to rerun configure.
   11542 #
   11543 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11544 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11545 # following values.
   11546 
   11547 _ACEOF
   11548 
   11549 # The following way of writing the cache mishandles newlines in values,
   11550 # but we know of no workaround that is simple, portable, and efficient.
   11551 # So, we kill variables containing newlines.
   11552 # Ultrix sh set writes to stderr and can't be redirected directly,
   11553 # and sets the high bit in the cache file unless we assign to the vars.
   11554 (
   11555   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11556     eval ac_val=\$$ac_var
   11557     case $ac_val in #(
   11558     *${as_nl}*)
   11559       case $ac_var in #(
   11560       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11561 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11562       esac
   11563       case $ac_var in #(
   11564       _ | IFS | as_nl) ;; #(
   11565       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11566       *) { eval $ac_var=; unset $ac_var;} ;;
   11567       esac ;;
   11568     esac
   11569   done
   11570 
   11571   (set) 2>&1 |
   11572     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11573     *${as_nl}ac_space=\ *)
   11574       # `set' does not quote correctly, so add quotes: double-quote
   11575       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11576       sed -n \
   11577 	"s/'/'\\\\''/g;
   11578 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11579       ;; #(
   11580     *)
   11581       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11582       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11583       ;;
   11584     esac |
   11585     sort
   11586 ) |
   11587   sed '
   11588      /^ac_cv_env_/b end
   11589      t clear
   11590      :clear
   11591      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11592      t end
   11593      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11594      :end' >>confcache
   11595 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11596   if test -w "$cache_file"; then
   11597     if test "x$cache_file" != "x/dev/null"; then
   11598       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11599 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11600       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11601 	cat confcache >"$cache_file"
   11602       else
   11603         case $cache_file in #(
   11604         */* | ?:*)
   11605 	  mv -f confcache "$cache_file"$$ &&
   11606 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11607         *)
   11608 	  mv -f confcache "$cache_file" ;;
   11609 	esac
   11610       fi
   11611     fi
   11612   else
   11613     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11614 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11615   fi
   11616 fi
   11617 rm -f confcache
   11618 
   11619 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11620 # Let make expand exec_prefix.
   11621 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11622 
   11623 DEFS=-DHAVE_CONFIG_H
   11624 
   11625 ac_libobjs=
   11626 ac_ltlibobjs=
   11627 U=
   11628 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11629   # 1. Remove the extension, and $U if already installed.
   11630   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11631   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11632   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11633   #    will be set to the directory where LIBOBJS objects are built.
   11634   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11635   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11636 done
   11637 LIBOBJS=$ac_libobjs
   11638 
   11639 LTLIBOBJS=$ac_ltlibobjs
   11640 
   11641 
   11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11643 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11644    if test -n "$am_sleep_pid"; then
   11645      # Hide warnings about reused PIDs.
   11646      wait $am_sleep_pid 2>/dev/null
   11647    fi
   11648    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11649 $as_echo "done" >&6; }
   11650  if test -n "$EXEEXT"; then
   11651   am__EXEEXT_TRUE=
   11652   am__EXEEXT_FALSE='#'
   11653 else
   11654   am__EXEEXT_TRUE='#'
   11655   am__EXEEXT_FALSE=
   11656 fi
   11657 
   11658 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11659   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11661 fi
   11662 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11663   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11665 fi
   11666 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11667   as_fn_error $? "conditional \"LINT\" was never defined.
   11668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11669 fi
   11670 
   11671 : "${CONFIG_STATUS=./config.status}"
   11672 ac_write_fail=0
   11673 ac_clean_files_save=$ac_clean_files
   11674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11676 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11677 as_write_fail=0
   11678 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11679 #! $SHELL
   11680 # Generated by $as_me.
   11681 # Run this file to recreate the current configuration.
   11682 # Compiler output produced by configure, useful for debugging
   11683 # configure, is in config.log if it exists.
   11684 
   11685 debug=false
   11686 ac_cs_recheck=false
   11687 ac_cs_silent=false
   11688 
   11689 SHELL=\${CONFIG_SHELL-$SHELL}
   11690 export SHELL
   11691 _ASEOF
   11692 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11693 ## -------------------- ##
   11694 ## M4sh Initialization. ##
   11695 ## -------------------- ##
   11696 
   11697 # Be more Bourne compatible
   11698 DUALCASE=1; export DUALCASE # for MKS sh
   11699 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11700   emulate sh
   11701   NULLCMD=:
   11702   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11703   # is contrary to our usage.  Disable this feature.
   11704   alias -g '${1+"$@"}'='"$@"'
   11705   setopt NO_GLOB_SUBST
   11706 else
   11707   case `(set -o) 2>/dev/null` in #(
   11708   *posix*) :
   11709     set -o posix ;; #(
   11710   *) :
   11711      ;;
   11712 esac
   11713 fi
   11714 
   11715 
   11716 as_nl='
   11717 '
   11718 export as_nl
   11719 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11720 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11723 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11724 # but without wasting forks for bash or zsh.
   11725 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11726     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11727   as_echo='print -r --'
   11728   as_echo_n='print -rn --'
   11729 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11730   as_echo='printf %s\n'
   11731   as_echo_n='printf %s'
   11732 else
   11733   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11734     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11735     as_echo_n='/usr/ucb/echo -n'
   11736   else
   11737     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11738     as_echo_n_body='eval
   11739       arg=$1;
   11740       case $arg in #(
   11741       *"$as_nl"*)
   11742 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11743 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11744       esac;
   11745       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11746     '
   11747     export as_echo_n_body
   11748     as_echo_n='sh -c $as_echo_n_body as_echo'
   11749   fi
   11750   export as_echo_body
   11751   as_echo='sh -c $as_echo_body as_echo'
   11752 fi
   11753 
   11754 # The user is always right.
   11755 if test "${PATH_SEPARATOR+set}" != set; then
   11756   PATH_SEPARATOR=:
   11757   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11758     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11759       PATH_SEPARATOR=';'
   11760   }
   11761 fi
   11762 
   11763 
   11764 # IFS
   11765 # We need space, tab and new line, in precisely that order.  Quoting is
   11766 # there to prevent editors from complaining about space-tab.
   11767 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11768 # splitting by setting IFS to empty value.)
   11769 IFS=" ""	$as_nl"
   11770 
   11771 # Find who we are.  Look in the path if we contain no directory separator.
   11772 as_myself=
   11773 case $0 in #((
   11774   *[\\/]* ) as_myself=$0 ;;
   11775   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11776 for as_dir in $PATH
   11777 do
   11778   IFS=$as_save_IFS
   11779   test -z "$as_dir" && as_dir=.
   11780     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11781   done
   11782 IFS=$as_save_IFS
   11783 
   11784      ;;
   11785 esac
   11786 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11787 # in which case we are not to be found in the path.
   11788 if test "x$as_myself" = x; then
   11789   as_myself=$0
   11790 fi
   11791 if test ! -f "$as_myself"; then
   11792   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11793   exit 1
   11794 fi
   11795 
   11796 # Unset variables that we do not need and which cause bugs (e.g. in
   11797 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11798 # suppresses any "Segmentation fault" message there.  '((' could
   11799 # trigger a bug in pdksh 5.2.14.
   11800 for as_var in BASH_ENV ENV MAIL MAILPATH
   11801 do eval test x\${$as_var+set} = xset \
   11802   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11803 done
   11804 PS1='$ '
   11805 PS2='> '
   11806 PS4='+ '
   11807 
   11808 # NLS nuisances.
   11809 LC_ALL=C
   11810 export LC_ALL
   11811 LANGUAGE=C
   11812 export LANGUAGE
   11813 
   11814 # CDPATH.
   11815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11816 
   11817 
   11818 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11819 # ----------------------------------------
   11820 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11821 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11822 # script with STATUS, using 1 if that was 0.
   11823 as_fn_error ()
   11824 {
   11825   as_status=$1; test $as_status -eq 0 && as_status=1
   11826   if test "$4"; then
   11827     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11828     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11829   fi
   11830   $as_echo "$as_me: error: $2" >&2
   11831   as_fn_exit $as_status
   11832 } # as_fn_error
   11833 
   11834 
   11835 # as_fn_set_status STATUS
   11836 # -----------------------
   11837 # Set $? to STATUS, without forking.
   11838 as_fn_set_status ()
   11839 {
   11840   return $1
   11841 } # as_fn_set_status
   11842 
   11843 # as_fn_exit STATUS
   11844 # -----------------
   11845 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11846 as_fn_exit ()
   11847 {
   11848   set +e
   11849   as_fn_set_status $1
   11850   exit $1
   11851 } # as_fn_exit
   11852 
   11853 # as_fn_unset VAR
   11854 # ---------------
   11855 # Portably unset VAR.
   11856 as_fn_unset ()
   11857 {
   11858   { eval $1=; unset $1;}
   11859 }
   11860 as_unset=as_fn_unset
   11861 # as_fn_append VAR VALUE
   11862 # ----------------------
   11863 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11864 # advantage of any shell optimizations that allow amortized linear growth over
   11865 # repeated appends, instead of the typical quadratic growth present in naive
   11866 # implementations.
   11867 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11868   eval 'as_fn_append ()
   11869   {
   11870     eval $1+=\$2
   11871   }'
   11872 else
   11873   as_fn_append ()
   11874   {
   11875     eval $1=\$$1\$2
   11876   }
   11877 fi # as_fn_append
   11878 
   11879 # as_fn_arith ARG...
   11880 # ------------------
   11881 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11883 # must be portable across $(()) and expr.
   11884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11885   eval 'as_fn_arith ()
   11886   {
   11887     as_val=$(( $* ))
   11888   }'
   11889 else
   11890   as_fn_arith ()
   11891   {
   11892     as_val=`expr "$@" || test $? -eq 1`
   11893   }
   11894 fi # as_fn_arith
   11895 
   11896 
   11897 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11898    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11899   as_expr=expr
   11900 else
   11901   as_expr=false
   11902 fi
   11903 
   11904 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11905   as_basename=basename
   11906 else
   11907   as_basename=false
   11908 fi
   11909 
   11910 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11911   as_dirname=dirname
   11912 else
   11913   as_dirname=false
   11914 fi
   11915 
   11916 as_me=`$as_basename -- "$0" ||
   11917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11918 	 X"$0" : 'X\(//\)$' \| \
   11919 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11920 $as_echo X/"$0" |
   11921     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11922 	    s//\1/
   11923 	    q
   11924 	  }
   11925 	  /^X\/\(\/\/\)$/{
   11926 	    s//\1/
   11927 	    q
   11928 	  }
   11929 	  /^X\/\(\/\).*/{
   11930 	    s//\1/
   11931 	    q
   11932 	  }
   11933 	  s/.*/./; q'`
   11934 
   11935 # Avoid depending upon Character Ranges.
   11936 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11937 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11938 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11939 as_cr_digits='0123456789'
   11940 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11941 
   11942 ECHO_C= ECHO_N= ECHO_T=
   11943 case `echo -n x` in #(((((
   11944 -n*)
   11945   case `echo 'xy\c'` in
   11946   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11947   xy)  ECHO_C='\c';;
   11948   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11949        ECHO_T='	';;
   11950   esac;;
   11951 *)
   11952   ECHO_N='-n';;
   11953 esac
   11954 
   11955 rm -f conf$$ conf$$.exe conf$$.file
   11956 if test -d conf$$.dir; then
   11957   rm -f conf$$.dir/conf$$.file
   11958 else
   11959   rm -f conf$$.dir
   11960   mkdir conf$$.dir 2>/dev/null
   11961 fi
   11962 if (echo >conf$$.file) 2>/dev/null; then
   11963   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11964     as_ln_s='ln -s'
   11965     # ... but there are two gotchas:
   11966     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11967     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11968     # In both cases, we have to default to `cp -pR'.
   11969     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11970       as_ln_s='cp -pR'
   11971   elif ln conf$$.file conf$$ 2>/dev/null; then
   11972     as_ln_s=ln
   11973   else
   11974     as_ln_s='cp -pR'
   11975   fi
   11976 else
   11977   as_ln_s='cp -pR'
   11978 fi
   11979 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11980 rmdir conf$$.dir 2>/dev/null
   11981 
   11982 
   11983 # as_fn_mkdir_p
   11984 # -------------
   11985 # Create "$as_dir" as a directory, including parents if necessary.
   11986 as_fn_mkdir_p ()
   11987 {
   11988 
   11989   case $as_dir in #(
   11990   -*) as_dir=./$as_dir;;
   11991   esac
   11992   test -d "$as_dir" || eval $as_mkdir_p || {
   11993     as_dirs=
   11994     while :; do
   11995       case $as_dir in #(
   11996       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11997       *) as_qdir=$as_dir;;
   11998       esac
   11999       as_dirs="'$as_qdir' $as_dirs"
   12000       as_dir=`$as_dirname -- "$as_dir" ||
   12001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12002 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12003 	 X"$as_dir" : 'X\(//\)$' \| \
   12004 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12005 $as_echo X"$as_dir" |
   12006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12007 	    s//\1/
   12008 	    q
   12009 	  }
   12010 	  /^X\(\/\/\)[^/].*/{
   12011 	    s//\1/
   12012 	    q
   12013 	  }
   12014 	  /^X\(\/\/\)$/{
   12015 	    s//\1/
   12016 	    q
   12017 	  }
   12018 	  /^X\(\/\).*/{
   12019 	    s//\1/
   12020 	    q
   12021 	  }
   12022 	  s/.*/./; q'`
   12023       test -d "$as_dir" && break
   12024     done
   12025     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12026   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12027 
   12028 
   12029 } # as_fn_mkdir_p
   12030 if mkdir -p . 2>/dev/null; then
   12031   as_mkdir_p='mkdir -p "$as_dir"'
   12032 else
   12033   test -d ./-p && rmdir ./-p
   12034   as_mkdir_p=false
   12035 fi
   12036 
   12037 
   12038 # as_fn_executable_p FILE
   12039 # -----------------------
   12040 # Test if FILE is an executable regular file.
   12041 as_fn_executable_p ()
   12042 {
   12043   test -f "$1" && test -x "$1"
   12044 } # as_fn_executable_p
   12045 as_test_x='test -x'
   12046 as_executable_p=as_fn_executable_p
   12047 
   12048 # Sed expression to map a string onto a valid CPP name.
   12049 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12050 
   12051 # Sed expression to map a string onto a valid variable name.
   12052 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12053 
   12054 
   12055 exec 6>&1
   12056 ## ----------------------------------- ##
   12057 ## Main body of $CONFIG_STATUS script. ##
   12058 ## ----------------------------------- ##
   12059 _ASEOF
   12060 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12061 
   12062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12063 # Save the log message, to keep $0 and so on meaningful, and to
   12064 # report actual input values of CONFIG_FILES etc. instead of their
   12065 # values after options handling.
   12066 ac_log="
   12067 This file was extended by xauth $as_me 1.1, which was
   12068 generated by GNU Autoconf 2.69.  Invocation command line was
   12069 
   12070   CONFIG_FILES    = $CONFIG_FILES
   12071   CONFIG_HEADERS  = $CONFIG_HEADERS
   12072   CONFIG_LINKS    = $CONFIG_LINKS
   12073   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12074   $ $0 $@
   12075 
   12076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12077 "
   12078 
   12079 _ACEOF
   12080 
   12081 case $ac_config_files in *"
   12082 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12083 esac
   12084 
   12085 case $ac_config_headers in *"
   12086 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12087 esac
   12088 
   12089 
   12090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12091 # Files that config.status was made for.
   12092 config_files="$ac_config_files"
   12093 config_headers="$ac_config_headers"
   12094 config_commands="$ac_config_commands"
   12095 
   12096 _ACEOF
   12097 
   12098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12099 ac_cs_usage="\
   12100 \`$as_me' instantiates files and other configuration actions
   12101 from templates according to the current configuration.  Unless the files
   12102 and actions are specified as TAGs, all are instantiated by default.
   12103 
   12104 Usage: $0 [OPTION]... [TAG]...
   12105 
   12106   -h, --help       print this help, then exit
   12107   -V, --version    print version number and configuration settings, then exit
   12108       --config     print configuration, then exit
   12109   -q, --quiet, --silent
   12110                    do not print progress messages
   12111   -d, --debug      don't remove temporary files
   12112       --recheck    update $as_me by reconfiguring in the same conditions
   12113       --file=FILE[:TEMPLATE]
   12114                    instantiate the configuration file FILE
   12115       --header=FILE[:TEMPLATE]
   12116                    instantiate the configuration header FILE
   12117 
   12118 Configuration files:
   12119 $config_files
   12120 
   12121 Configuration headers:
   12122 $config_headers
   12123 
   12124 Configuration commands:
   12125 $config_commands
   12126 
   12127 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xauth/issues>."
   12128 
   12129 _ACEOF
   12130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12131 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12132 ac_cs_version="\\
   12133 xauth config.status 1.1
   12134 configured by $0, generated by GNU Autoconf 2.69,
   12135   with options \\"\$ac_cs_config\\"
   12136 
   12137 Copyright (C) 2012 Free Software Foundation, Inc.
   12138 This config.status script is free software; the Free Software Foundation
   12139 gives unlimited permission to copy, distribute and modify it."
   12140 
   12141 ac_pwd='$ac_pwd'
   12142 srcdir='$srcdir'
   12143 INSTALL='$INSTALL'
   12144 MKDIR_P='$MKDIR_P'
   12145 AWK='$AWK'
   12146 test -n "\$AWK" || AWK=awk
   12147 _ACEOF
   12148 
   12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12150 # The default lists apply if the user does not specify any file.
   12151 ac_need_defaults=:
   12152 while test $# != 0
   12153 do
   12154   case $1 in
   12155   --*=?*)
   12156     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12157     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12158     ac_shift=:
   12159     ;;
   12160   --*=)
   12161     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12162     ac_optarg=
   12163     ac_shift=:
   12164     ;;
   12165   *)
   12166     ac_option=$1
   12167     ac_optarg=$2
   12168     ac_shift=shift
   12169     ;;
   12170   esac
   12171 
   12172   case $ac_option in
   12173   # Handling of the options.
   12174   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12175     ac_cs_recheck=: ;;
   12176   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12177     $as_echo "$ac_cs_version"; exit ;;
   12178   --config | --confi | --conf | --con | --co | --c )
   12179     $as_echo "$ac_cs_config"; exit ;;
   12180   --debug | --debu | --deb | --de | --d | -d )
   12181     debug=: ;;
   12182   --file | --fil | --fi | --f )
   12183     $ac_shift
   12184     case $ac_optarg in
   12185     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12186     '') as_fn_error $? "missing file argument" ;;
   12187     esac
   12188     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12189     ac_need_defaults=false;;
   12190   --header | --heade | --head | --hea )
   12191     $ac_shift
   12192     case $ac_optarg in
   12193     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12194     esac
   12195     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12196     ac_need_defaults=false;;
   12197   --he | --h)
   12198     # Conflict between --help and --header
   12199     as_fn_error $? "ambiguous option: \`$1'
   12200 Try \`$0 --help' for more information.";;
   12201   --help | --hel | -h )
   12202     $as_echo "$ac_cs_usage"; exit ;;
   12203   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12204   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12205     ac_cs_silent=: ;;
   12206 
   12207   # This is an error.
   12208   -*) as_fn_error $? "unrecognized option: \`$1'
   12209 Try \`$0 --help' for more information." ;;
   12210 
   12211   *) as_fn_append ac_config_targets " $1"
   12212      ac_need_defaults=false ;;
   12213 
   12214   esac
   12215   shift
   12216 done
   12217 
   12218 ac_configure_extra_args=
   12219 
   12220 if $ac_cs_silent; then
   12221   exec 6>/dev/null
   12222   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12223 fi
   12224 
   12225 _ACEOF
   12226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12227 if \$ac_cs_recheck; then
   12228   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12229   shift
   12230   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12231   CONFIG_SHELL='$SHELL'
   12232   export CONFIG_SHELL
   12233   exec "\$@"
   12234 fi
   12235 
   12236 _ACEOF
   12237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12238 exec 5>>config.log
   12239 {
   12240   echo
   12241   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12242 ## Running $as_me. ##
   12243 _ASBOX
   12244   $as_echo "$ac_log"
   12245 } >&5
   12246 
   12247 _ACEOF
   12248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12249 #
   12250 # INIT-COMMANDS
   12251 #
   12252 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12253 
   12254 _ACEOF
   12255 
   12256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12257 
   12258 # Handling of arguments.
   12259 for ac_config_target in $ac_config_targets
   12260 do
   12261   case $ac_config_target in
   12262     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12263     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12264     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12265     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   12266     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12267 
   12268   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12269   esac
   12270 done
   12271 
   12272 
   12273 # If the user did not use the arguments to specify the items to instantiate,
   12274 # then the envvar interface is used.  Set only those that are not.
   12275 # We use the long form for the default assignment because of an extremely
   12276 # bizarre bug on SunOS 4.1.3.
   12277 if $ac_need_defaults; then
   12278   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12279   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12280   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12281 fi
   12282 
   12283 # Have a temporary directory for convenience.  Make it in the build tree
   12284 # simply because there is no reason against having it here, and in addition,
   12285 # creating and moving files from /tmp can sometimes cause problems.
   12286 # Hook for its removal unless debugging.
   12287 # Note that there is a small window in which the directory will not be cleaned:
   12288 # after its creation but before its name has been assigned to `$tmp'.
   12289 $debug ||
   12290 {
   12291   tmp= ac_tmp=
   12292   trap 'exit_status=$?
   12293   : "${ac_tmp:=$tmp}"
   12294   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12295 ' 0
   12296   trap 'as_fn_exit 1' 1 2 13 15
   12297 }
   12298 # Create a (secure) tmp directory for tmp files.
   12299 
   12300 {
   12301   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12302   test -d "$tmp"
   12303 }  ||
   12304 {
   12305   tmp=./conf$$-$RANDOM
   12306   (umask 077 && mkdir "$tmp")
   12307 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12308 ac_tmp=$tmp
   12309 
   12310 # Set up the scripts for CONFIG_FILES section.
   12311 # No need to generate them if there are no CONFIG_FILES.
   12312 # This happens for instance with `./config.status config.h'.
   12313 if test -n "$CONFIG_FILES"; then
   12314 
   12315 
   12316 ac_cr=`echo X | tr X '\015'`
   12317 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12318 # But we know of no other shell where ac_cr would be empty at this
   12319 # point, so we can use a bashism as a fallback.
   12320 if test "x$ac_cr" = x; then
   12321   eval ac_cr=\$\'\\r\'
   12322 fi
   12323 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12324 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12325   ac_cs_awk_cr='\\r'
   12326 else
   12327   ac_cs_awk_cr=$ac_cr
   12328 fi
   12329 
   12330 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12331 _ACEOF
   12332 
   12333 
   12334 {
   12335   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12336   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12337   echo "_ACEOF"
   12338 } >conf$$subs.sh ||
   12339   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12340 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12341 ac_delim='%!_!# '
   12342 for ac_last_try in false false false false false :; do
   12343   . ./conf$$subs.sh ||
   12344     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12345 
   12346   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12347   if test $ac_delim_n = $ac_delim_num; then
   12348     break
   12349   elif $ac_last_try; then
   12350     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12351   else
   12352     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12353   fi
   12354 done
   12355 rm -f conf$$subs.sh
   12356 
   12357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12358 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12359 _ACEOF
   12360 sed -n '
   12361 h
   12362 s/^/S["/; s/!.*/"]=/
   12363 p
   12364 g
   12365 s/^[^!]*!//
   12366 :repl
   12367 t repl
   12368 s/'"$ac_delim"'$//
   12369 t delim
   12370 :nl
   12371 h
   12372 s/\(.\{148\}\)..*/\1/
   12373 t more1
   12374 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12375 p
   12376 n
   12377 b repl
   12378 :more1
   12379 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12380 p
   12381 g
   12382 s/.\{148\}//
   12383 t nl
   12384 :delim
   12385 h
   12386 s/\(.\{148\}\)..*/\1/
   12387 t more2
   12388 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12389 p
   12390 b
   12391 :more2
   12392 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12393 p
   12394 g
   12395 s/.\{148\}//
   12396 t delim
   12397 ' <conf$$subs.awk | sed '
   12398 /^[^""]/{
   12399   N
   12400   s/\n//
   12401 }
   12402 ' >>$CONFIG_STATUS || ac_write_fail=1
   12403 rm -f conf$$subs.awk
   12404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12405 _ACAWK
   12406 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12407   for (key in S) S_is_set[key] = 1
   12408   FS = ""
   12409 
   12410 }
   12411 {
   12412   line = $ 0
   12413   nfields = split(line, field, "@")
   12414   substed = 0
   12415   len = length(field[1])
   12416   for (i = 2; i < nfields; i++) {
   12417     key = field[i]
   12418     keylen = length(key)
   12419     if (S_is_set[key]) {
   12420       value = S[key]
   12421       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12422       len += length(value) + length(field[++i])
   12423       substed = 1
   12424     } else
   12425       len += 1 + keylen
   12426   }
   12427 
   12428   print line
   12429 }
   12430 
   12431 _ACAWK
   12432 _ACEOF
   12433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12434 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12435   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12436 else
   12437   cat
   12438 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12439   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12440 _ACEOF
   12441 
   12442 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12443 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12444 # trailing colons and then remove the whole line if VPATH becomes empty
   12445 # (actually we leave an empty line to preserve line numbers).
   12446 if test "x$srcdir" = x.; then
   12447   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12448 h
   12449 s///
   12450 s/^/:/
   12451 s/[	 ]*$/:/
   12452 s/:\$(srcdir):/:/g
   12453 s/:\${srcdir}:/:/g
   12454 s/:@srcdir@:/:/g
   12455 s/^:*//
   12456 s/:*$//
   12457 x
   12458 s/\(=[	 ]*\).*/\1/
   12459 G
   12460 s/\n//
   12461 s/^[^=]*=[	 ]*$//
   12462 }'
   12463 fi
   12464 
   12465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12466 fi # test -n "$CONFIG_FILES"
   12467 
   12468 # Set up the scripts for CONFIG_HEADERS section.
   12469 # No need to generate them if there are no CONFIG_HEADERS.
   12470 # This happens for instance with `./config.status Makefile'.
   12471 if test -n "$CONFIG_HEADERS"; then
   12472 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12473 BEGIN {
   12474 _ACEOF
   12475 
   12476 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12477 # here-document in config.status, that substitutes the proper values into
   12478 # config.h.in to produce config.h.
   12479 
   12480 # Create a delimiter string that does not exist in confdefs.h, to ease
   12481 # handling of long lines.
   12482 ac_delim='%!_!# '
   12483 for ac_last_try in false false :; do
   12484   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12485   if test -z "$ac_tt"; then
   12486     break
   12487   elif $ac_last_try; then
   12488     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12489   else
   12490     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12491   fi
   12492 done
   12493 
   12494 # For the awk script, D is an array of macro values keyed by name,
   12495 # likewise P contains macro parameters if any.  Preserve backslash
   12496 # newline sequences.
   12497 
   12498 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12499 sed -n '
   12500 s/.\{148\}/&'"$ac_delim"'/g
   12501 t rset
   12502 :rset
   12503 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12504 t def
   12505 d
   12506 :def
   12507 s/\\$//
   12508 t bsnl
   12509 s/["\\]/\\&/g
   12510 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12511 D["\1"]=" \3"/p
   12512 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12513 d
   12514 :bsnl
   12515 s/["\\]/\\&/g
   12516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12517 D["\1"]=" \3\\\\\\n"\\/p
   12518 t cont
   12519 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12520 t cont
   12521 d
   12522 :cont
   12523 n
   12524 s/.\{148\}/&'"$ac_delim"'/g
   12525 t clear
   12526 :clear
   12527 s/\\$//
   12528 t bsnlc
   12529 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12530 d
   12531 :bsnlc
   12532 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12533 b cont
   12534 ' <confdefs.h | sed '
   12535 s/'"$ac_delim"'/"\\\
   12536 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12537 
   12538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12539   for (key in D) D_is_set[key] = 1
   12540   FS = ""
   12541 }
   12542 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12543   line = \$ 0
   12544   split(line, arg, " ")
   12545   if (arg[1] == "#") {
   12546     defundef = arg[2]
   12547     mac1 = arg[3]
   12548   } else {
   12549     defundef = substr(arg[1], 2)
   12550     mac1 = arg[2]
   12551   }
   12552   split(mac1, mac2, "(") #)
   12553   macro = mac2[1]
   12554   prefix = substr(line, 1, index(line, defundef) - 1)
   12555   if (D_is_set[macro]) {
   12556     # Preserve the white space surrounding the "#".
   12557     print prefix "define", macro P[macro] D[macro]
   12558     next
   12559   } else {
   12560     # Replace #undef with comments.  This is necessary, for example,
   12561     # in the case of _POSIX_SOURCE, which is predefined and required
   12562     # on some systems where configure will not decide to define it.
   12563     if (defundef == "undef") {
   12564       print "/*", prefix defundef, macro, "*/"
   12565       next
   12566     }
   12567   }
   12568 }
   12569 { print }
   12570 _ACAWK
   12571 _ACEOF
   12572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12573   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12574 fi # test -n "$CONFIG_HEADERS"
   12575 
   12576 
   12577 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12578 shift
   12579 for ac_tag
   12580 do
   12581   case $ac_tag in
   12582   :[FHLC]) ac_mode=$ac_tag; continue;;
   12583   esac
   12584   case $ac_mode$ac_tag in
   12585   :[FHL]*:*);;
   12586   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12587   :[FH]-) ac_tag=-:-;;
   12588   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12589   esac
   12590   ac_save_IFS=$IFS
   12591   IFS=:
   12592   set x $ac_tag
   12593   IFS=$ac_save_IFS
   12594   shift
   12595   ac_file=$1
   12596   shift
   12597 
   12598   case $ac_mode in
   12599   :L) ac_source=$1;;
   12600   :[FH])
   12601     ac_file_inputs=
   12602     for ac_f
   12603     do
   12604       case $ac_f in
   12605       -) ac_f="$ac_tmp/stdin";;
   12606       *) # Look for the file first in the build tree, then in the source tree
   12607 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12608 	 # because $ac_f cannot contain `:'.
   12609 	 test -f "$ac_f" ||
   12610 	   case $ac_f in
   12611 	   [\\/$]*) false;;
   12612 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12613 	   esac ||
   12614 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12615       esac
   12616       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12617       as_fn_append ac_file_inputs " '$ac_f'"
   12618     done
   12619 
   12620     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12621     # use $as_me), people would be surprised to read:
   12622     #    /* config.h.  Generated by config.status.  */
   12623     configure_input='Generated from '`
   12624 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12625 	`' by configure.'
   12626     if test x"$ac_file" != x-; then
   12627       configure_input="$ac_file.  $configure_input"
   12628       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12629 $as_echo "$as_me: creating $ac_file" >&6;}
   12630     fi
   12631     # Neutralize special characters interpreted by sed in replacement strings.
   12632     case $configure_input in #(
   12633     *\&* | *\|* | *\\* )
   12634        ac_sed_conf_input=`$as_echo "$configure_input" |
   12635        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12636     *) ac_sed_conf_input=$configure_input;;
   12637     esac
   12638 
   12639     case $ac_tag in
   12640     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12641       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12642     esac
   12643     ;;
   12644   esac
   12645 
   12646   ac_dir=`$as_dirname -- "$ac_file" ||
   12647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12648 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12649 	 X"$ac_file" : 'X\(//\)$' \| \
   12650 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12651 $as_echo X"$ac_file" |
   12652     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12653 	    s//\1/
   12654 	    q
   12655 	  }
   12656 	  /^X\(\/\/\)[^/].*/{
   12657 	    s//\1/
   12658 	    q
   12659 	  }
   12660 	  /^X\(\/\/\)$/{
   12661 	    s//\1/
   12662 	    q
   12663 	  }
   12664 	  /^X\(\/\).*/{
   12665 	    s//\1/
   12666 	    q
   12667 	  }
   12668 	  s/.*/./; q'`
   12669   as_dir="$ac_dir"; as_fn_mkdir_p
   12670   ac_builddir=.
   12671 
   12672 case "$ac_dir" in
   12673 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12674 *)
   12675   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12676   # A ".." for each directory in $ac_dir_suffix.
   12677   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12678   case $ac_top_builddir_sub in
   12679   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12680   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12681   esac ;;
   12682 esac
   12683 ac_abs_top_builddir=$ac_pwd
   12684 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12685 # for backward compatibility:
   12686 ac_top_builddir=$ac_top_build_prefix
   12687 
   12688 case $srcdir in
   12689   .)  # We are building in place.
   12690     ac_srcdir=.
   12691     ac_top_srcdir=$ac_top_builddir_sub
   12692     ac_abs_top_srcdir=$ac_pwd ;;
   12693   [\\/]* | ?:[\\/]* )  # Absolute name.
   12694     ac_srcdir=$srcdir$ac_dir_suffix;
   12695     ac_top_srcdir=$srcdir
   12696     ac_abs_top_srcdir=$srcdir ;;
   12697   *) # Relative name.
   12698     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12699     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12700     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12701 esac
   12702 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12703 
   12704 
   12705   case $ac_mode in
   12706   :F)
   12707   #
   12708   # CONFIG_FILE
   12709   #
   12710 
   12711   case $INSTALL in
   12712   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12713   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12714   esac
   12715   ac_MKDIR_P=$MKDIR_P
   12716   case $MKDIR_P in
   12717   [\\/$]* | ?:[\\/]* ) ;;
   12718   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12719   esac
   12720 _ACEOF
   12721 
   12722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12723 # If the template does not know about datarootdir, expand it.
   12724 # FIXME: This hack should be removed a few years after 2.60.
   12725 ac_datarootdir_hack=; ac_datarootdir_seen=
   12726 ac_sed_dataroot='
   12727 /datarootdir/ {
   12728   p
   12729   q
   12730 }
   12731 /@datadir@/p
   12732 /@docdir@/p
   12733 /@infodir@/p
   12734 /@localedir@/p
   12735 /@mandir@/p'
   12736 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12737 *datarootdir*) ac_datarootdir_seen=yes;;
   12738 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12739   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12740 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12741 _ACEOF
   12742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12743   ac_datarootdir_hack='
   12744   s&@datadir@&$datadir&g
   12745   s&@docdir@&$docdir&g
   12746   s&@infodir@&$infodir&g
   12747   s&@localedir@&$localedir&g
   12748   s&@mandir@&$mandir&g
   12749   s&\\\${datarootdir}&$datarootdir&g' ;;
   12750 esac
   12751 _ACEOF
   12752 
   12753 # Neutralize VPATH when `$srcdir' = `.'.
   12754 # Shell code in configure.ac might set extrasub.
   12755 # FIXME: do we really want to maintain this feature?
   12756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12757 ac_sed_extra="$ac_vpsub
   12758 $extrasub
   12759 _ACEOF
   12760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12761 :t
   12762 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12763 s|@configure_input@|$ac_sed_conf_input|;t t
   12764 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12765 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12766 s&@srcdir@&$ac_srcdir&;t t
   12767 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12768 s&@top_srcdir@&$ac_top_srcdir&;t t
   12769 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12770 s&@builddir@&$ac_builddir&;t t
   12771 s&@abs_builddir@&$ac_abs_builddir&;t t
   12772 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12773 s&@INSTALL@&$ac_INSTALL&;t t
   12774 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12775 $ac_datarootdir_hack
   12776 "
   12777 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12778   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12779 
   12780 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12781   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12782   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12783       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12784   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12785 which seems to be undefined.  Please make sure it is defined" >&5
   12786 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12787 which seems to be undefined.  Please make sure it is defined" >&2;}
   12788 
   12789   rm -f "$ac_tmp/stdin"
   12790   case $ac_file in
   12791   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12792   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12793   esac \
   12794   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12795  ;;
   12796   :H)
   12797   #
   12798   # CONFIG_HEADER
   12799   #
   12800   if test x"$ac_file" != x-; then
   12801     {
   12802       $as_echo "/* $configure_input  */" \
   12803       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12804     } >"$ac_tmp/config.h" \
   12805       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12806     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12807       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12808 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12809     else
   12810       rm -f "$ac_file"
   12811       mv "$ac_tmp/config.h" "$ac_file" \
   12812 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12813     fi
   12814   else
   12815     $as_echo "/* $configure_input  */" \
   12816       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12817       || as_fn_error $? "could not create -" "$LINENO" 5
   12818   fi
   12819 # Compute "$ac_file"'s index in $config_headers.
   12820 _am_arg="$ac_file"
   12821 _am_stamp_count=1
   12822 for _am_header in $config_headers :; do
   12823   case $_am_header in
   12824     $_am_arg | $_am_arg:* )
   12825       break ;;
   12826     * )
   12827       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12828   esac
   12829 done
   12830 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12831 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12832 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12833 	 X"$_am_arg" : 'X\(//\)$' \| \
   12834 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12835 $as_echo X"$_am_arg" |
   12836     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12837 	    s//\1/
   12838 	    q
   12839 	  }
   12840 	  /^X\(\/\/\)[^/].*/{
   12841 	    s//\1/
   12842 	    q
   12843 	  }
   12844 	  /^X\(\/\/\)$/{
   12845 	    s//\1/
   12846 	    q
   12847 	  }
   12848 	  /^X\(\/\).*/{
   12849 	    s//\1/
   12850 	    q
   12851 	  }
   12852 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12853  ;;
   12854 
   12855   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12856 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12857  ;;
   12858   esac
   12859 
   12860 
   12861   case $ac_file$ac_mode in
   12862     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12863   # Older Autoconf quotes --file arguments for eval, but not when files
   12864   # are listed without --file.  Let's play safe and only enable the eval
   12865   # if we detect the quoting.
   12866   # TODO: see whether this extra hack can be removed once we start
   12867   # requiring Autoconf 2.70 or later.
   12868   case $CONFIG_FILES in #(
   12869   *\'*) :
   12870     eval set x "$CONFIG_FILES" ;; #(
   12871   *) :
   12872     set x $CONFIG_FILES ;; #(
   12873   *) :
   12874      ;;
   12875 esac
   12876   shift
   12877   # Used to flag and report bootstrapping failures.
   12878   am_rc=0
   12879   for am_mf
   12880   do
   12881     # Strip MF so we end up with the name of the file.
   12882     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   12883     # Check whether this is an Automake generated Makefile which includes
   12884     # dependency-tracking related rules and includes.
   12885     # Grep'ing the whole file directly is not great: AIX grep has a line
   12886     # limit of 2048, but all sed's we know have understand at least 4000.
   12887     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12888       || continue
   12889     am_dirpart=`$as_dirname -- "$am_mf" ||
   12890 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12891 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12892 	 X"$am_mf" : 'X\(//\)$' \| \
   12893 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12894 $as_echo X"$am_mf" |
   12895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12896 	    s//\1/
   12897 	    q
   12898 	  }
   12899 	  /^X\(\/\/\)[^/].*/{
   12900 	    s//\1/
   12901 	    q
   12902 	  }
   12903 	  /^X\(\/\/\)$/{
   12904 	    s//\1/
   12905 	    q
   12906 	  }
   12907 	  /^X\(\/\).*/{
   12908 	    s//\1/
   12909 	    q
   12910 	  }
   12911 	  s/.*/./; q'`
   12912     am_filepart=`$as_basename -- "$am_mf" ||
   12913 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12914 	 X"$am_mf" : 'X\(//\)$' \| \
   12915 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12916 $as_echo X/"$am_mf" |
   12917     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12918 	    s//\1/
   12919 	    q
   12920 	  }
   12921 	  /^X\/\(\/\/\)$/{
   12922 	    s//\1/
   12923 	    q
   12924 	  }
   12925 	  /^X\/\(\/\).*/{
   12926 	    s//\1/
   12927 	    q
   12928 	  }
   12929 	  s/.*/./; q'`
   12930     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12931       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12932         | $MAKE -f - am--depfiles" >&5
   12933    (cd "$am_dirpart" \
   12934       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12935         | $MAKE -f - am--depfiles) >&5 2>&5
   12936    ac_status=$?
   12937    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12938    (exit $ac_status); } || am_rc=$?
   12939   done
   12940   if test $am_rc -ne 0; then
   12941     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12943 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12944     for automatic dependency tracking.  Try re-running configure with the
   12945     '--disable-dependency-tracking' option to at least be able to build
   12946     the package (albeit without support for automatic dependency tracking).
   12947 See \`config.log' for more details" "$LINENO" 5; }
   12948   fi
   12949   { am_dirpart=; unset am_dirpart;}
   12950   { am_filepart=; unset am_filepart;}
   12951   { am_mf=; unset am_mf;}
   12952   { am_rc=; unset am_rc;}
   12953   rm -f conftest-deps.mk
   12954 }
   12955  ;;
   12956 
   12957   esac
   12958 done # for ac_tag
   12959 
   12960 
   12961 as_fn_exit 0
   12962 _ACEOF
   12963 ac_clean_files=$ac_clean_files_save
   12964 
   12965 test $ac_write_fail = 0 ||
   12966   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12967 
   12968 
   12969 # configure is writing to config.log, and then calls config.status.
   12970 # config.status does its own redirection, appending to config.log.
   12971 # Unfortunately, on DOS this fails, as config.log is still kept open
   12972 # by configure, so config.status won't be able to write to it; its
   12973 # output is simply discarded.  So we exec the FD to /dev/null,
   12974 # effectively closing config.log, so it can be properly (re)opened and
   12975 # appended to by config.status.  When coming back to configure, we
   12976 # need to make the FD available again.
   12977 if test "$no_create" != yes; then
   12978   ac_cs_success=:
   12979   ac_config_status_args=
   12980   test "$silent" = yes &&
   12981     ac_config_status_args="$ac_config_status_args --quiet"
   12982   exec 5>/dev/null
   12983   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12984   exec 5>>config.log
   12985   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12986   # would make configure fail if this is the last instruction.
   12987   $ac_cs_success || as_fn_exit 1
   12988 fi
   12989 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12990   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12991 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12992 fi
   12993 
   12994