Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xhost 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xhost/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/xhost/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='xhost'
    583 PACKAGE_TARNAME='xhost'
    584 PACKAGE_VERSION='1.0.8'
    585 PACKAGE_STRING='xhost 1.0.8'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xhost/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XAU_LIBS
    631 XAU_CFLAGS
    632 XHOST_LIBS
    633 XHOST_CFLAGS
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 host_os
    650 host_vendor
    651 host_cpu
    652 host
    653 build_os
    654 build_vendor
    655 build_cpu
    656 build
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 EGREP
    666 GREP
    667 CPP
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__quote
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 am__untar
    690 am__tar
    691 AMTAR
    692 am__leading_dot
    693 SET_MAKE
    694 AWK
    695 mkdir_p
    696 MKDIR_P
    697 INSTALL_STRIP_PROGRAM
    698 STRIP
    699 install_sh
    700 MAKEINFO
    701 AUTOHEADER
    702 AUTOMAKE
    703 AUTOCONF
    704 ACLOCAL
    705 VERSION
    706 PACKAGE
    707 CYGPATH_W
    708 am__isrc
    709 INSTALL_DATA
    710 INSTALL_SCRIPT
    711 INSTALL_PROGRAM
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL'
    750 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_silent_rules
    754 enable_dependency_tracking
    755 enable_selective_werror
    756 enable_strict_compilation
    757 enable_unix_transport
    758 enable_tcp_transport
    759 enable_ipv6
    760 enable_local_transport
    761 enable_secure_rpc
    762 '
    763       ac_precious_vars='build_alias
    764 host_alias
    765 target_alias
    766 CC
    767 CFLAGS
    768 LDFLAGS
    769 LIBS
    770 CPPFLAGS
    771 CPP
    772 PKG_CONFIG
    773 PKG_CONFIG_PATH
    774 PKG_CONFIG_LIBDIR
    775 XHOST_CFLAGS
    776 XHOST_LIBS
    777 XAU_CFLAGS
    778 XAU_LIBS'
    779 
    780 
    781 # Initialize some variables set by options.
    782 ac_init_help=
    783 ac_init_version=false
    784 ac_unrecognized_opts=
    785 ac_unrecognized_sep=
    786 # The variables have the same names as the options, with
    787 # dashes changed to underlines.
    788 cache_file=/dev/null
    789 exec_prefix=NONE
    790 no_create=
    791 no_recursion=
    792 prefix=NONE
    793 program_prefix=NONE
    794 program_suffix=NONE
    795 program_transform_name=s,x,x,
    796 silent=
    797 site=
    798 srcdir=
    799 verbose=
    800 x_includes=NONE
    801 x_libraries=NONE
    802 
    803 # Installation directory options.
    804 # These are left unexpanded so users can "make install exec_prefix=/foo"
    805 # and all the variables that are supposed to be based on exec_prefix
    806 # by default will actually change.
    807 # Use braces instead of parens because sh, perl, etc. also accept them.
    808 # (The list follows the same order as the GNU Coding Standards.)
    809 bindir='${exec_prefix}/bin'
    810 sbindir='${exec_prefix}/sbin'
    811 libexecdir='${exec_prefix}/libexec'
    812 datarootdir='${prefix}/share'
    813 datadir='${datarootdir}'
    814 sysconfdir='${prefix}/etc'
    815 sharedstatedir='${prefix}/com'
    816 localstatedir='${prefix}/var'
    817 includedir='${prefix}/include'
    818 oldincludedir='/usr/include'
    819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    820 infodir='${datarootdir}/info'
    821 htmldir='${docdir}'
    822 dvidir='${docdir}'
    823 pdfdir='${docdir}'
    824 psdir='${docdir}'
    825 libdir='${exec_prefix}/lib'
    826 localedir='${datarootdir}/locale'
    827 mandir='${datarootdir}/man'
    828 
    829 ac_prev=
    830 ac_dashdash=
    831 for ac_option
    832 do
    833   # If the previous option needs an argument, assign it.
    834   if test -n "$ac_prev"; then
    835     eval $ac_prev=\$ac_option
    836     ac_prev=
    837     continue
    838   fi
    839 
    840   case $ac_option in
    841   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    842   *=)   ac_optarg= ;;
    843   *)    ac_optarg=yes ;;
    844   esac
    845 
    846   # Accept the important Cygnus configure options, so we can diagnose typos.
    847 
    848   case $ac_dashdash$ac_option in
    849   --)
    850     ac_dashdash=yes ;;
    851 
    852   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    853     ac_prev=bindir ;;
    854   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    855     bindir=$ac_optarg ;;
    856 
    857   -build | --build | --buil | --bui | --bu)
    858     ac_prev=build_alias ;;
    859   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    860     build_alias=$ac_optarg ;;
    861 
    862   -cache-file | --cache-file | --cache-fil | --cache-fi \
    863   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    864     ac_prev=cache_file ;;
    865   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    866   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    867     cache_file=$ac_optarg ;;
    868 
    869   --config-cache | -C)
    870     cache_file=config.cache ;;
    871 
    872   -datadir | --datadir | --datadi | --datad)
    873     ac_prev=datadir ;;
    874   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    875     datadir=$ac_optarg ;;
    876 
    877   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    878   | --dataroo | --dataro | --datar)
    879     ac_prev=datarootdir ;;
    880   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    881   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    882     datarootdir=$ac_optarg ;;
    883 
    884   -disable-* | --disable-*)
    885     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    886     # Reject names that are not valid shell variable names.
    887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    888       as_fn_error $? "invalid feature name: $ac_useropt"
    889     ac_useropt_orig=$ac_useropt
    890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    891     case $ac_user_opts in
    892       *"
    893 "enable_$ac_useropt"
    894 "*) ;;
    895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    896 	 ac_unrecognized_sep=', ';;
    897     esac
    898     eval enable_$ac_useropt=no ;;
    899 
    900   -docdir | --docdir | --docdi | --doc | --do)
    901     ac_prev=docdir ;;
    902   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    903     docdir=$ac_optarg ;;
    904 
    905   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    906     ac_prev=dvidir ;;
    907   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    908     dvidir=$ac_optarg ;;
    909 
    910   -enable-* | --enable-*)
    911     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    912     # Reject names that are not valid shell variable names.
    913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    914       as_fn_error $? "invalid feature name: $ac_useropt"
    915     ac_useropt_orig=$ac_useropt
    916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    917     case $ac_user_opts in
    918       *"
    919 "enable_$ac_useropt"
    920 "*) ;;
    921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    922 	 ac_unrecognized_sep=', ';;
    923     esac
    924     eval enable_$ac_useropt=\$ac_optarg ;;
    925 
    926   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    927   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    928   | --exec | --exe | --ex)
    929     ac_prev=exec_prefix ;;
    930   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    931   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    932   | --exec=* | --exe=* | --ex=*)
    933     exec_prefix=$ac_optarg ;;
    934 
    935   -gas | --gas | --ga | --g)
    936     # Obsolete; use --with-gas.
    937     with_gas=yes ;;
    938 
    939   -help | --help | --hel | --he | -h)
    940     ac_init_help=long ;;
    941   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    942     ac_init_help=recursive ;;
    943   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    944     ac_init_help=short ;;
    945 
    946   -host | --host | --hos | --ho)
    947     ac_prev=host_alias ;;
    948   -host=* | --host=* | --hos=* | --ho=*)
    949     host_alias=$ac_optarg ;;
    950 
    951   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    952     ac_prev=htmldir ;;
    953   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    954   | --ht=*)
    955     htmldir=$ac_optarg ;;
    956 
    957   -includedir | --includedir | --includedi | --included | --include \
    958   | --includ | --inclu | --incl | --inc)
    959     ac_prev=includedir ;;
    960   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    961   | --includ=* | --inclu=* | --incl=* | --inc=*)
    962     includedir=$ac_optarg ;;
    963 
    964   -infodir | --infodir | --infodi | --infod | --info | --inf)
    965     ac_prev=infodir ;;
    966   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    967     infodir=$ac_optarg ;;
    968 
    969   -libdir | --libdir | --libdi | --libd)
    970     ac_prev=libdir ;;
    971   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    972     libdir=$ac_optarg ;;
    973 
    974   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    975   | --libexe | --libex | --libe)
    976     ac_prev=libexecdir ;;
    977   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    978   | --libexe=* | --libex=* | --libe=*)
    979     libexecdir=$ac_optarg ;;
    980 
    981   -localedir | --localedir | --localedi | --localed | --locale)
    982     ac_prev=localedir ;;
    983   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    984     localedir=$ac_optarg ;;
    985 
    986   -localstatedir | --localstatedir | --localstatedi | --localstated \
    987   | --localstate | --localstat | --localsta | --localst | --locals)
    988     ac_prev=localstatedir ;;
    989   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    990   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    991     localstatedir=$ac_optarg ;;
    992 
    993   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    994     ac_prev=mandir ;;
    995   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    996     mandir=$ac_optarg ;;
    997 
    998   -nfp | --nfp | --nf)
    999     # Obsolete; use --without-fp.
   1000     with_fp=no ;;
   1001 
   1002   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1003   | --no-cr | --no-c | -n)
   1004     no_create=yes ;;
   1005 
   1006   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1007   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1008     no_recursion=yes ;;
   1009 
   1010   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1011   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1012   | --oldin | --oldi | --old | --ol | --o)
   1013     ac_prev=oldincludedir ;;
   1014   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1015   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1016   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1017     oldincludedir=$ac_optarg ;;
   1018 
   1019   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1020     ac_prev=prefix ;;
   1021   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1022     prefix=$ac_optarg ;;
   1023 
   1024   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1025   | --program-pre | --program-pr | --program-p)
   1026     ac_prev=program_prefix ;;
   1027   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1028   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1029     program_prefix=$ac_optarg ;;
   1030 
   1031   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1032   | --program-suf | --program-su | --program-s)
   1033     ac_prev=program_suffix ;;
   1034   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1035   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1036     program_suffix=$ac_optarg ;;
   1037 
   1038   -program-transform-name | --program-transform-name \
   1039   | --program-transform-nam | --program-transform-na \
   1040   | --program-transform-n | --program-transform- \
   1041   | --program-transform | --program-transfor \
   1042   | --program-transfo | --program-transf \
   1043   | --program-trans | --program-tran \
   1044   | --progr-tra | --program-tr | --program-t)
   1045     ac_prev=program_transform_name ;;
   1046   -program-transform-name=* | --program-transform-name=* \
   1047   | --program-transform-nam=* | --program-transform-na=* \
   1048   | --program-transform-n=* | --program-transform-=* \
   1049   | --program-transform=* | --program-transfor=* \
   1050   | --program-transfo=* | --program-transf=* \
   1051   | --program-trans=* | --program-tran=* \
   1052   | --progr-tra=* | --program-tr=* | --program-t=*)
   1053     program_transform_name=$ac_optarg ;;
   1054 
   1055   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1056     ac_prev=pdfdir ;;
   1057   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1058     pdfdir=$ac_optarg ;;
   1059 
   1060   -psdir | --psdir | --psdi | --psd | --ps)
   1061     ac_prev=psdir ;;
   1062   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1063     psdir=$ac_optarg ;;
   1064 
   1065   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1066   | -silent | --silent | --silen | --sile | --sil)
   1067     silent=yes ;;
   1068 
   1069   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1070     ac_prev=sbindir ;;
   1071   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1072   | --sbi=* | --sb=*)
   1073     sbindir=$ac_optarg ;;
   1074 
   1075   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1076   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1077   | --sharedst | --shareds | --shared | --share | --shar \
   1078   | --sha | --sh)
   1079     ac_prev=sharedstatedir ;;
   1080   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1081   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1082   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1083   | --sha=* | --sh=*)
   1084     sharedstatedir=$ac_optarg ;;
   1085 
   1086   -site | --site | --sit)
   1087     ac_prev=site ;;
   1088   -site=* | --site=* | --sit=*)
   1089     site=$ac_optarg ;;
   1090 
   1091   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1092     ac_prev=srcdir ;;
   1093   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1094     srcdir=$ac_optarg ;;
   1095 
   1096   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1097   | --syscon | --sysco | --sysc | --sys | --sy)
   1098     ac_prev=sysconfdir ;;
   1099   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1100   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1101     sysconfdir=$ac_optarg ;;
   1102 
   1103   -target | --target | --targe | --targ | --tar | --ta | --t)
   1104     ac_prev=target_alias ;;
   1105   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1106     target_alias=$ac_optarg ;;
   1107 
   1108   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1109     verbose=yes ;;
   1110 
   1111   -version | --version | --versio | --versi | --vers | -V)
   1112     ac_init_version=: ;;
   1113 
   1114   -with-* | --with-*)
   1115     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1116     # Reject names that are not valid shell variable names.
   1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1118       as_fn_error $? "invalid package name: $ac_useropt"
   1119     ac_useropt_orig=$ac_useropt
   1120     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1121     case $ac_user_opts in
   1122       *"
   1123 "with_$ac_useropt"
   1124 "*) ;;
   1125       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1126 	 ac_unrecognized_sep=', ';;
   1127     esac
   1128     eval with_$ac_useropt=\$ac_optarg ;;
   1129 
   1130   -without-* | --without-*)
   1131     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1132     # Reject names that are not valid shell variable names.
   1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1134       as_fn_error $? "invalid package name: $ac_useropt"
   1135     ac_useropt_orig=$ac_useropt
   1136     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1137     case $ac_user_opts in
   1138       *"
   1139 "with_$ac_useropt"
   1140 "*) ;;
   1141       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1142 	 ac_unrecognized_sep=', ';;
   1143     esac
   1144     eval with_$ac_useropt=no ;;
   1145 
   1146   --x)
   1147     # Obsolete; use --with-x.
   1148     with_x=yes ;;
   1149 
   1150   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1151   | --x-incl | --x-inc | --x-in | --x-i)
   1152     ac_prev=x_includes ;;
   1153   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1154   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1155     x_includes=$ac_optarg ;;
   1156 
   1157   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1158   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1159     ac_prev=x_libraries ;;
   1160   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1161   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1162     x_libraries=$ac_optarg ;;
   1163 
   1164   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1165 Try \`$0 --help' for more information"
   1166     ;;
   1167 
   1168   *=*)
   1169     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1170     # Reject names that are not valid shell variable names.
   1171     case $ac_envvar in #(
   1172       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1173       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1174     esac
   1175     eval $ac_envvar=\$ac_optarg
   1176     export $ac_envvar ;;
   1177 
   1178   *)
   1179     # FIXME: should be removed in autoconf 3.0.
   1180     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1181     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1182       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1183     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1184     ;;
   1185 
   1186   esac
   1187 done
   1188 
   1189 if test -n "$ac_prev"; then
   1190   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1191   as_fn_error $? "missing argument to $ac_option"
   1192 fi
   1193 
   1194 if test -n "$ac_unrecognized_opts"; then
   1195   case $enable_option_checking in
   1196     no) ;;
   1197     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1198     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1199   esac
   1200 fi
   1201 
   1202 # Check all directory arguments for consistency.
   1203 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1204 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1205 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1206 		libdir localedir mandir
   1207 do
   1208   eval ac_val=\$$ac_var
   1209   # Remove trailing slashes.
   1210   case $ac_val in
   1211     */ )
   1212       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1213       eval $ac_var=\$ac_val;;
   1214   esac
   1215   # Be sure to have absolute directory names.
   1216   case $ac_val in
   1217     [\\/$]* | ?:[\\/]* )  continue;;
   1218     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1219   esac
   1220   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1221 done
   1222 
   1223 # There might be people who depend on the old broken behavior: `$host'
   1224 # used to hold the argument of --host etc.
   1225 # FIXME: To remove some day.
   1226 build=$build_alias
   1227 host=$host_alias
   1228 target=$target_alias
   1229 
   1230 # FIXME: To remove some day.
   1231 if test "x$host_alias" != x; then
   1232   if test "x$build_alias" = x; then
   1233     cross_compiling=maybe
   1234   elif test "x$build_alias" != "x$host_alias"; then
   1235     cross_compiling=yes
   1236   fi
   1237 fi
   1238 
   1239 ac_tool_prefix=
   1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1241 
   1242 test "$silent" = yes && exec 6>/dev/null
   1243 
   1244 
   1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1246 ac_ls_di=`ls -di .` &&
   1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1248   as_fn_error $? "working directory cannot be determined"
   1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1250   as_fn_error $? "pwd does not report name of working directory"
   1251 
   1252 
   1253 # Find the source files, if location was not specified.
   1254 if test -z "$srcdir"; then
   1255   ac_srcdir_defaulted=yes
   1256   # Try the directory containing this script, then the parent directory.
   1257   ac_confdir=`$as_dirname -- "$as_myself" ||
   1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1259 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1260 	 X"$as_myself" : 'X\(//\)$' \| \
   1261 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1262 $as_echo X"$as_myself" |
   1263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1264 	    s//\1/
   1265 	    q
   1266 	  }
   1267 	  /^X\(\/\/\)[^/].*/{
   1268 	    s//\1/
   1269 	    q
   1270 	  }
   1271 	  /^X\(\/\/\)$/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  /^X\(\/\).*/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  s/.*/./; q'`
   1280   srcdir=$ac_confdir
   1281   if test ! -r "$srcdir/$ac_unique_file"; then
   1282     srcdir=..
   1283   fi
   1284 else
   1285   ac_srcdir_defaulted=no
   1286 fi
   1287 if test ! -r "$srcdir/$ac_unique_file"; then
   1288   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1289   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1290 fi
   1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1292 ac_abs_confdir=`(
   1293 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1294 	pwd)`
   1295 # When building in place, set srcdir=.
   1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1297   srcdir=.
   1298 fi
   1299 # Remove unnecessary trailing slashes from srcdir.
   1300 # Double slashes in file names in object file debugging info
   1301 # mess up M-x gdb in Emacs.
   1302 case $srcdir in
   1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1304 esac
   1305 for ac_var in $ac_precious_vars; do
   1306   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1307   eval ac_env_${ac_var}_value=\$${ac_var}
   1308   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1309   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1310 done
   1311 
   1312 #
   1313 # Report the --help message.
   1314 #
   1315 if test "$ac_init_help" = "long"; then
   1316   # Omit some internal or obsolete options to make the list less imposing.
   1317   # This message is too long to be a string in the A/UX 3.1 sh.
   1318   cat <<_ACEOF
   1319 \`configure' configures xhost 1.0.8 to adapt to many kinds of systems.
   1320 
   1321 Usage: $0 [OPTION]... [VAR=VALUE]...
   1322 
   1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1324 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1325 
   1326 Defaults for the options are specified in brackets.
   1327 
   1328 Configuration:
   1329   -h, --help              display this help and exit
   1330       --help=short        display options specific to this package
   1331       --help=recursive    display the short help of all the included packages
   1332   -V, --version           display version information and exit
   1333   -q, --quiet, --silent   do not print \`checking ...' messages
   1334       --cache-file=FILE   cache test results in FILE [disabled]
   1335   -C, --config-cache      alias for \`--cache-file=config.cache'
   1336   -n, --no-create         do not create output files
   1337       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1338 
   1339 Installation directories:
   1340   --prefix=PREFIX         install architecture-independent files in PREFIX
   1341                           [$ac_default_prefix]
   1342   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1343                           [PREFIX]
   1344 
   1345 By default, \`make install' will install all the files in
   1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1348 for instance \`--prefix=\$HOME'.
   1349 
   1350 For better control, use the options below.
   1351 
   1352 Fine tuning of the installation directories:
   1353   --bindir=DIR            user executables [EPREFIX/bin]
   1354   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1355   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1356   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1357   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1358   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1359   --libdir=DIR            object code libraries [EPREFIX/lib]
   1360   --includedir=DIR        C header files [PREFIX/include]
   1361   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1362   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1363   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1364   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1365   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1366   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1367   --docdir=DIR            documentation root [DATAROOTDIR/doc/xhost]
   1368   --htmldir=DIR           html documentation [DOCDIR]
   1369   --dvidir=DIR            dvi documentation [DOCDIR]
   1370   --pdfdir=DIR            pdf documentation [DOCDIR]
   1371   --psdir=DIR             ps documentation [DOCDIR]
   1372 _ACEOF
   1373 
   1374   cat <<\_ACEOF
   1375 
   1376 Program names:
   1377   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1378   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1379   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1380 
   1381 System types:
   1382   --build=BUILD     configure for building on BUILD [guessed]
   1383   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1384 _ACEOF
   1385 fi
   1386 
   1387 if test -n "$ac_init_help"; then
   1388   case $ac_init_help in
   1389      short | recursive ) echo "Configuration of xhost 1.0.8:";;
   1390    esac
   1391   cat <<\_ACEOF
   1392 
   1393 Optional Features:
   1394   --disable-option-checking  ignore unrecognized --enable/--with options
   1395   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1396   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1397   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1398   --disable-silent-rules  verbose build output (undo: "make V=0")
   1399   --enable-dependency-tracking
   1400                           do not reject slow dependency extractors
   1401   --disable-dependency-tracking
   1402                           speeds up one-time build
   1403   --disable-selective-werror
   1404                           Turn off selective compiler errors. (default:
   1405                           enabled)
   1406   --enable-strict-compilation
   1407                           Enable all warnings from compiler and make them
   1408                           errors (default: disabled)
   1409   --enable-unix-transport Enable UNIX domain socket transport
   1410   --enable-tcp-transport  Enable TCP socket transport
   1411   --enable-ipv6           Enable IPv6 support
   1412   --enable-local-transport
   1413                           Enable os-specific local transport
   1414   --enable-secure-rpc     Enable Secure RPC
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   CPP         C preprocessor
   1425   PKG_CONFIG  path to pkg-config utility
   1426   PKG_CONFIG_PATH
   1427               directories to add to pkg-config's search path
   1428   PKG_CONFIG_LIBDIR
   1429               path overriding pkg-config's built-in search path
   1430   XHOST_CFLAGS
   1431               C compiler flags for XHOST, overriding pkg-config
   1432   XHOST_LIBS  linker flags for XHOST, overriding pkg-config
   1433   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1434   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1435 
   1436 Use these variables to override the choices made by `configure' or to help
   1437 it to find libraries and programs with nonstandard names/locations.
   1438 
   1439 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xhost/issues>.
   1440 _ACEOF
   1441 ac_status=$?
   1442 fi
   1443 
   1444 if test "$ac_init_help" = "recursive"; then
   1445   # If there are subdirs, report their specific --help.
   1446   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1447     test -d "$ac_dir" ||
   1448       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1449       continue
   1450     ac_builddir=.
   1451 
   1452 case "$ac_dir" in
   1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1454 *)
   1455   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1456   # A ".." for each directory in $ac_dir_suffix.
   1457   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1458   case $ac_top_builddir_sub in
   1459   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1460   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1461   esac ;;
   1462 esac
   1463 ac_abs_top_builddir=$ac_pwd
   1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1465 # for backward compatibility:
   1466 ac_top_builddir=$ac_top_build_prefix
   1467 
   1468 case $srcdir in
   1469   .)  # We are building in place.
   1470     ac_srcdir=.
   1471     ac_top_srcdir=$ac_top_builddir_sub
   1472     ac_abs_top_srcdir=$ac_pwd ;;
   1473   [\\/]* | ?:[\\/]* )  # Absolute name.
   1474     ac_srcdir=$srcdir$ac_dir_suffix;
   1475     ac_top_srcdir=$srcdir
   1476     ac_abs_top_srcdir=$srcdir ;;
   1477   *) # Relative name.
   1478     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1479     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1480     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1481 esac
   1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1483 
   1484     cd "$ac_dir" || { ac_status=$?; continue; }
   1485     # Check for guested configure.
   1486     if test -f "$ac_srcdir/configure.gnu"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1489     elif test -f "$ac_srcdir/configure"; then
   1490       echo &&
   1491       $SHELL "$ac_srcdir/configure" --help=recursive
   1492     else
   1493       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1494     fi || ac_status=$?
   1495     cd "$ac_pwd" || { ac_status=$?; break; }
   1496   done
   1497 fi
   1498 
   1499 test -n "$ac_init_help" && exit $ac_status
   1500 if $ac_init_version; then
   1501   cat <<\_ACEOF
   1502 xhost configure 1.0.8
   1503 generated by GNU Autoconf 2.69
   1504 
   1505 Copyright (C) 2012 Free Software Foundation, Inc.
   1506 This configure script is free software; the Free Software Foundation
   1507 gives unlimited permission to copy, distribute and modify it.
   1508 _ACEOF
   1509   exit
   1510 fi
   1511 
   1512 ## ------------------------ ##
   1513 ## Autoconf initialization. ##
   1514 ## ------------------------ ##
   1515 
   1516 # ac_fn_c_try_compile LINENO
   1517 # --------------------------
   1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1519 ac_fn_c_try_compile ()
   1520 {
   1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1522   rm -f conftest.$ac_objext
   1523   if { { ac_try="$ac_compile"
   1524 case "(($ac_try" in
   1525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1526   *) ac_try_echo=$ac_try;;
   1527 esac
   1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1529 $as_echo "$ac_try_echo"; } >&5
   1530   (eval "$ac_compile") 2>conftest.err
   1531   ac_status=$?
   1532   if test -s conftest.err; then
   1533     grep -v '^ *+' conftest.err >conftest.er1
   1534     cat conftest.er1 >&5
   1535     mv -f conftest.er1 conftest.err
   1536   fi
   1537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1538   test $ac_status = 0; } && {
   1539 	 test -z "$ac_c_werror_flag" ||
   1540 	 test ! -s conftest.err
   1541        } && test -s conftest.$ac_objext; then :
   1542   ac_retval=0
   1543 else
   1544   $as_echo "$as_me: failed program was:" >&5
   1545 sed 's/^/| /' conftest.$ac_ext >&5
   1546 
   1547 	ac_retval=1
   1548 fi
   1549   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1550   as_fn_set_status $ac_retval
   1551 
   1552 } # ac_fn_c_try_compile
   1553 
   1554 # ac_fn_c_try_cpp LINENO
   1555 # ----------------------
   1556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1557 ac_fn_c_try_cpp ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1561 case "(($ac_try" in
   1562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1563   *) ac_try_echo=$ac_try;;
   1564 esac
   1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1566 $as_echo "$ac_try_echo"; } >&5
   1567   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1568   ac_status=$?
   1569   if test -s conftest.err; then
   1570     grep -v '^ *+' conftest.err >conftest.er1
   1571     cat conftest.er1 >&5
   1572     mv -f conftest.er1 conftest.err
   1573   fi
   1574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1575   test $ac_status = 0; } > conftest.i && {
   1576 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1577 	 test ! -s conftest.err
   1578        }; then :
   1579   ac_retval=0
   1580 else
   1581   $as_echo "$as_me: failed program was:" >&5
   1582 sed 's/^/| /' conftest.$ac_ext >&5
   1583 
   1584     ac_retval=1
   1585 fi
   1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1587   as_fn_set_status $ac_retval
   1588 
   1589 } # ac_fn_c_try_cpp
   1590 
   1591 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1592 # -------------------------------------------------------
   1593 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1594 # the include files in INCLUDES and setting the cache variable VAR
   1595 # accordingly.
   1596 ac_fn_c_check_header_mongrel ()
   1597 {
   1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1599   if eval \${$3+:} false; then :
   1600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1601 $as_echo_n "checking for $2... " >&6; }
   1602 if eval \${$3+:} false; then :
   1603   $as_echo_n "(cached) " >&6
   1604 fi
   1605 eval ac_res=\$$3
   1606 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1607 $as_echo "$ac_res" >&6; }
   1608 else
   1609   # Is the header compilable?
   1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1611 $as_echo_n "checking $2 usability... " >&6; }
   1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1613 /* end confdefs.h.  */
   1614 $4
   1615 #include <$2>
   1616 _ACEOF
   1617 if ac_fn_c_try_compile "$LINENO"; then :
   1618   ac_header_compiler=yes
   1619 else
   1620   ac_header_compiler=no
   1621 fi
   1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1624 $as_echo "$ac_header_compiler" >&6; }
   1625 
   1626 # Is the header present?
   1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1628 $as_echo_n "checking $2 presence... " >&6; }
   1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1630 /* end confdefs.h.  */
   1631 #include <$2>
   1632 _ACEOF
   1633 if ac_fn_c_try_cpp "$LINENO"; then :
   1634   ac_header_preproc=yes
   1635 else
   1636   ac_header_preproc=no
   1637 fi
   1638 rm -f conftest.err conftest.i conftest.$ac_ext
   1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1640 $as_echo "$ac_header_preproc" >&6; }
   1641 
   1642 # So?  What about this header?
   1643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1644   yes:no: )
   1645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1646 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1649     ;;
   1650   no:yes:* )
   1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1652 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1654 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1656 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1658 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1661 ( $as_echo "## ------------------------------------------------------------------- ##
   1662 ## Report this to https://gitlab.freedesktop.org/xorg/app/xhost/issues ##
   1663 ## ------------------------------------------------------------------- ##"
   1664      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1665     ;;
   1666 esac
   1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1668 $as_echo_n "checking for $2... " >&6; }
   1669 if eval \${$3+:} false; then :
   1670   $as_echo_n "(cached) " >&6
   1671 else
   1672   eval "$3=\$ac_header_compiler"
   1673 fi
   1674 eval ac_res=\$$3
   1675 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1676 $as_echo "$ac_res" >&6; }
   1677 fi
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679 
   1680 } # ac_fn_c_check_header_mongrel
   1681 
   1682 # ac_fn_c_try_run LINENO
   1683 # ----------------------
   1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1685 # that executables *can* be run.
   1686 ac_fn_c_try_run ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   if { { ac_try="$ac_link"
   1690 case "(($ac_try" in
   1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1692   *) ac_try_echo=$ac_try;;
   1693 esac
   1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1695 $as_echo "$ac_try_echo"; } >&5
   1696   (eval "$ac_link") 2>&5
   1697   ac_status=$?
   1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1699   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1700   { { case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_try") 2>&5
   1707   ac_status=$?
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; }; }; then :
   1710   ac_retval=0
   1711 else
   1712   $as_echo "$as_me: program exited with status $ac_status" >&5
   1713        $as_echo "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716        ac_retval=$ac_status
   1717 fi
   1718   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720   as_fn_set_status $ac_retval
   1721 
   1722 } # ac_fn_c_try_run
   1723 
   1724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1725 # -------------------------------------------------------
   1726 # Tests whether HEADER exists and can be compiled using the include files in
   1727 # INCLUDES, setting the cache variable VAR accordingly.
   1728 ac_fn_c_check_header_compile ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1732 $as_echo_n "checking for $2... " >&6; }
   1733 if eval \${$3+:} false; then :
   1734   $as_echo_n "(cached) " >&6
   1735 else
   1736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_compile "$LINENO"; then :
   1742   eval "$3=yes"
   1743 else
   1744   eval "$3=no"
   1745 fi
   1746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1747 fi
   1748 eval ac_res=\$$3
   1749 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1750 $as_echo "$ac_res" >&6; }
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752 
   1753 } # ac_fn_c_check_header_compile
   1754 
   1755 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1756 # ---------------------------------------------
   1757 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1758 # accordingly.
   1759 ac_fn_c_check_decl ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1763   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1765 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1766 if eval \${$3+:} false; then :
   1767   $as_echo_n "(cached) " >&6
   1768 else
   1769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1770 /* end confdefs.h.  */
   1771 $4
   1772 int
   1773 main ()
   1774 {
   1775 #ifndef $as_decl_name
   1776 #ifdef __cplusplus
   1777   (void) $as_decl_use;
   1778 #else
   1779   (void) $as_decl_name;
   1780 #endif
   1781 #endif
   1782 
   1783   ;
   1784   return 0;
   1785 }
   1786 _ACEOF
   1787 if ac_fn_c_try_compile "$LINENO"; then :
   1788   eval "$3=yes"
   1789 else
   1790   eval "$3=no"
   1791 fi
   1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_decl
   1800 
   1801 # ac_fn_c_try_link LINENO
   1802 # -----------------------
   1803 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1804 ac_fn_c_try_link ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   rm -f conftest.$ac_objext conftest$ac_exeext
   1808   if { { ac_try="$ac_link"
   1809 case "(($ac_try" in
   1810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1811   *) ac_try_echo=$ac_try;;
   1812 esac
   1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1814 $as_echo "$ac_try_echo"; } >&5
   1815   (eval "$ac_link") 2>conftest.err
   1816   ac_status=$?
   1817   if test -s conftest.err; then
   1818     grep -v '^ *+' conftest.err >conftest.er1
   1819     cat conftest.er1 >&5
   1820     mv -f conftest.er1 conftest.err
   1821   fi
   1822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1823   test $ac_status = 0; } && {
   1824 	 test -z "$ac_c_werror_flag" ||
   1825 	 test ! -s conftest.err
   1826        } && test -s conftest$ac_exeext && {
   1827 	 test "$cross_compiling" = yes ||
   1828 	 test -x conftest$ac_exeext
   1829        }; then :
   1830   ac_retval=0
   1831 else
   1832   $as_echo "$as_me: failed program was:" >&5
   1833 sed 's/^/| /' conftest.$ac_ext >&5
   1834 
   1835 	ac_retval=1
   1836 fi
   1837   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1838   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1839   # interfere with the next link command; also delete a directory that is
   1840   # left behind by Apple's compiler.  We do this before executing the actions.
   1841   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843   as_fn_set_status $ac_retval
   1844 
   1845 } # ac_fn_c_try_link
   1846 
   1847 # ac_fn_c_check_func LINENO FUNC VAR
   1848 # ----------------------------------
   1849 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1850 ac_fn_c_check_func ()
   1851 {
   1852   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1854 $as_echo_n "checking for $2... " >&6; }
   1855 if eval \${$3+:} false; then :
   1856   $as_echo_n "(cached) " >&6
   1857 else
   1858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1859 /* end confdefs.h.  */
   1860 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1862 #define $2 innocuous_$2
   1863 
   1864 /* System header to define __stub macros and hopefully few prototypes,
   1865     which can conflict with char $2 (); below.
   1866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1867     <limits.h> exists even on freestanding compilers.  */
   1868 
   1869 #ifdef __STDC__
   1870 # include <limits.h>
   1871 #else
   1872 # include <assert.h>
   1873 #endif
   1874 
   1875 #undef $2
   1876 
   1877 /* Override any GCC internal prototype to avoid an error.
   1878    Use char because int might match the return type of a GCC
   1879    builtin and then its argument prototype would still apply.  */
   1880 #ifdef __cplusplus
   1881 extern "C"
   1882 #endif
   1883 char $2 ();
   1884 /* The GNU C library defines this for functions which it implements
   1885     to always fail with ENOSYS.  Some functions are actually named
   1886     something starting with __ and the normal name is an alias.  */
   1887 #if defined __stub_$2 || defined __stub___$2
   1888 choke me
   1889 #endif
   1890 
   1891 int
   1892 main ()
   1893 {
   1894 return $2 ();
   1895   ;
   1896   return 0;
   1897 }
   1898 _ACEOF
   1899 if ac_fn_c_try_link "$LINENO"; then :
   1900   eval "$3=yes"
   1901 else
   1902   eval "$3=no"
   1903 fi
   1904 rm -f core conftest.err conftest.$ac_objext \
   1905     conftest$ac_exeext conftest.$ac_ext
   1906 fi
   1907 eval ac_res=\$$3
   1908 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1909 $as_echo "$ac_res" >&6; }
   1910   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1911 
   1912 } # ac_fn_c_check_func
   1913 
   1914 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1915 # ----------------------------------------------------
   1916 # Tries to find if the field MEMBER exists in type AGGR, after including
   1917 # INCLUDES, setting cache variable VAR accordingly.
   1918 ac_fn_c_check_member ()
   1919 {
   1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1922 $as_echo_n "checking for $2.$3... " >&6; }
   1923 if eval \${$4+:} false; then :
   1924   $as_echo_n "(cached) " >&6
   1925 else
   1926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1927 /* end confdefs.h.  */
   1928 $5
   1929 int
   1930 main ()
   1931 {
   1932 static $2 ac_aggr;
   1933 if (ac_aggr.$3)
   1934 return 0;
   1935   ;
   1936   return 0;
   1937 }
   1938 _ACEOF
   1939 if ac_fn_c_try_compile "$LINENO"; then :
   1940   eval "$4=yes"
   1941 else
   1942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 $5
   1945 int
   1946 main ()
   1947 {
   1948 static $2 ac_aggr;
   1949 if (sizeof ac_aggr.$3)
   1950 return 0;
   1951   ;
   1952   return 0;
   1953 }
   1954 _ACEOF
   1955 if ac_fn_c_try_compile "$LINENO"; then :
   1956   eval "$4=yes"
   1957 else
   1958   eval "$4=no"
   1959 fi
   1960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1961 fi
   1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1963 fi
   1964 eval ac_res=\$$4
   1965 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1966 $as_echo "$ac_res" >&6; }
   1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1968 
   1969 } # ac_fn_c_check_member
   1970 
   1971 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1972 # -------------------------------------------
   1973 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1974 # variable VAR accordingly.
   1975 ac_fn_c_check_type ()
   1976 {
   1977   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1979 $as_echo_n "checking for $2... " >&6; }
   1980 if eval \${$3+:} false; then :
   1981   $as_echo_n "(cached) " >&6
   1982 else
   1983   eval "$3=no"
   1984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1985 /* end confdefs.h.  */
   1986 $4
   1987 int
   1988 main ()
   1989 {
   1990 if (sizeof ($2))
   1991 	 return 0;
   1992   ;
   1993   return 0;
   1994 }
   1995 _ACEOF
   1996 if ac_fn_c_try_compile "$LINENO"; then :
   1997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1998 /* end confdefs.h.  */
   1999 $4
   2000 int
   2001 main ()
   2002 {
   2003 if (sizeof (($2)))
   2004 	    return 0;
   2005   ;
   2006   return 0;
   2007 }
   2008 _ACEOF
   2009 if ac_fn_c_try_compile "$LINENO"; then :
   2010 
   2011 else
   2012   eval "$3=yes"
   2013 fi
   2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2015 fi
   2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2017 fi
   2018 eval ac_res=\$$3
   2019 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2020 $as_echo "$ac_res" >&6; }
   2021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2022 
   2023 } # ac_fn_c_check_type
   2024 cat >config.log <<_ACEOF
   2025 This file contains any messages produced by compilers while
   2026 running configure, to aid debugging if configure makes a mistake.
   2027 
   2028 It was created by xhost $as_me 1.0.8, which was
   2029 generated by GNU Autoconf 2.69.  Invocation command line was
   2030 
   2031   $ $0 $@
   2032 
   2033 _ACEOF
   2034 exec 5>>config.log
   2035 {
   2036 cat <<_ASUNAME
   2037 ## --------- ##
   2038 ## Platform. ##
   2039 ## --------- ##
   2040 
   2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2046 
   2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2048 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2049 
   2050 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2051 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2053 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2054 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2055 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2056 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2057 
   2058 _ASUNAME
   2059 
   2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2061 for as_dir in $PATH
   2062 do
   2063   IFS=$as_save_IFS
   2064   test -z "$as_dir" && as_dir=.
   2065     $as_echo "PATH: $as_dir"
   2066   done
   2067 IFS=$as_save_IFS
   2068 
   2069 } >&5
   2070 
   2071 cat >&5 <<_ACEOF
   2072 
   2073 
   2074 ## ----------- ##
   2075 ## Core tests. ##
   2076 ## ----------- ##
   2077 
   2078 _ACEOF
   2079 
   2080 
   2081 # Keep a trace of the command line.
   2082 # Strip out --no-create and --no-recursion so they do not pile up.
   2083 # Strip out --silent because we don't want to record it for future runs.
   2084 # Also quote any args containing shell meta-characters.
   2085 # Make two passes to allow for proper duplicate-argument suppression.
   2086 ac_configure_args=
   2087 ac_configure_args0=
   2088 ac_configure_args1=
   2089 ac_must_keep_next=false
   2090 for ac_pass in 1 2
   2091 do
   2092   for ac_arg
   2093   do
   2094     case $ac_arg in
   2095     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2096     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2097     | -silent | --silent | --silen | --sile | --sil)
   2098       continue ;;
   2099     *\'*)
   2100       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2101     esac
   2102     case $ac_pass in
   2103     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2104     2)
   2105       as_fn_append ac_configure_args1 " '$ac_arg'"
   2106       if test $ac_must_keep_next = true; then
   2107 	ac_must_keep_next=false # Got value, back to normal.
   2108       else
   2109 	case $ac_arg in
   2110 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2111 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2112 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2113 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2114 	    case "$ac_configure_args0 " in
   2115 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2116 	    esac
   2117 	    ;;
   2118 	  -* ) ac_must_keep_next=true ;;
   2119 	esac
   2120       fi
   2121       as_fn_append ac_configure_args " '$ac_arg'"
   2122       ;;
   2123     esac
   2124   done
   2125 done
   2126 { ac_configure_args0=; unset ac_configure_args0;}
   2127 { ac_configure_args1=; unset ac_configure_args1;}
   2128 
   2129 # When interrupted or exit'd, cleanup temporary files, and complete
   2130 # config.log.  We remove comments because anyway the quotes in there
   2131 # would cause problems or look ugly.
   2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2134 trap 'exit_status=$?
   2135   # Save into config.log some information that might help in debugging.
   2136   {
   2137     echo
   2138 
   2139     $as_echo "## ---------------- ##
   2140 ## Cache variables. ##
   2141 ## ---------------- ##"
   2142     echo
   2143     # The following way of writing the cache mishandles newlines in values,
   2144 (
   2145   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2146     eval ac_val=\$$ac_var
   2147     case $ac_val in #(
   2148     *${as_nl}*)
   2149       case $ac_var in #(
   2150       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2152       esac
   2153       case $ac_var in #(
   2154       _ | IFS | as_nl) ;; #(
   2155       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2156       *) { eval $ac_var=; unset $ac_var;} ;;
   2157       esac ;;
   2158     esac
   2159   done
   2160   (set) 2>&1 |
   2161     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2162     *${as_nl}ac_space=\ *)
   2163       sed -n \
   2164 	"s/'\''/'\''\\\\'\'''\''/g;
   2165 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2166       ;; #(
   2167     *)
   2168       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2169       ;;
   2170     esac |
   2171     sort
   2172 )
   2173     echo
   2174 
   2175     $as_echo "## ----------------- ##
   2176 ## Output variables. ##
   2177 ## ----------------- ##"
   2178     echo
   2179     for ac_var in $ac_subst_vars
   2180     do
   2181       eval ac_val=\$$ac_var
   2182       case $ac_val in
   2183       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2184       esac
   2185       $as_echo "$ac_var='\''$ac_val'\''"
   2186     done | sort
   2187     echo
   2188 
   2189     if test -n "$ac_subst_files"; then
   2190       $as_echo "## ------------------- ##
   2191 ## File substitutions. ##
   2192 ## ------------------- ##"
   2193       echo
   2194       for ac_var in $ac_subst_files
   2195       do
   2196 	eval ac_val=\$$ac_var
   2197 	case $ac_val in
   2198 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2199 	esac
   2200 	$as_echo "$ac_var='\''$ac_val'\''"
   2201       done | sort
   2202       echo
   2203     fi
   2204 
   2205     if test -s confdefs.h; then
   2206       $as_echo "## ----------- ##
   2207 ## confdefs.h. ##
   2208 ## ----------- ##"
   2209       echo
   2210       cat confdefs.h
   2211       echo
   2212     fi
   2213     test "$ac_signal" != 0 &&
   2214       $as_echo "$as_me: caught signal $ac_signal"
   2215     $as_echo "$as_me: exit $exit_status"
   2216   } >&5
   2217   rm -f core *.core core.conftest.* &&
   2218     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2219     exit $exit_status
   2220 ' 0
   2221 for ac_signal in 1 2 13 15; do
   2222   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2223 done
   2224 ac_signal=0
   2225 
   2226 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2227 rm -f -r conftest* confdefs.h
   2228 
   2229 $as_echo "/* confdefs.h */" > confdefs.h
   2230 
   2231 # Predefined preprocessor variables.
   2232 
   2233 cat >>confdefs.h <<_ACEOF
   2234 #define PACKAGE_NAME "$PACKAGE_NAME"
   2235 _ACEOF
   2236 
   2237 cat >>confdefs.h <<_ACEOF
   2238 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2239 _ACEOF
   2240 
   2241 cat >>confdefs.h <<_ACEOF
   2242 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2243 _ACEOF
   2244 
   2245 cat >>confdefs.h <<_ACEOF
   2246 #define PACKAGE_STRING "$PACKAGE_STRING"
   2247 _ACEOF
   2248 
   2249 cat >>confdefs.h <<_ACEOF
   2250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2251 _ACEOF
   2252 
   2253 cat >>confdefs.h <<_ACEOF
   2254 #define PACKAGE_URL "$PACKAGE_URL"
   2255 _ACEOF
   2256 
   2257 
   2258 # Let the site file select an alternate cache file if it wants to.
   2259 # Prefer an explicitly selected file to automatically selected ones.
   2260 ac_site_file1=NONE
   2261 ac_site_file2=NONE
   2262 if test -n "$CONFIG_SITE"; then
   2263   # We do not want a PATH search for config.site.
   2264   case $CONFIG_SITE in #((
   2265     -*)  ac_site_file1=./$CONFIG_SITE;;
   2266     */*) ac_site_file1=$CONFIG_SITE;;
   2267     *)   ac_site_file1=./$CONFIG_SITE;;
   2268   esac
   2269 elif test "x$prefix" != xNONE; then
   2270   ac_site_file1=$prefix/share/config.site
   2271   ac_site_file2=$prefix/etc/config.site
   2272 else
   2273   ac_site_file1=$ac_default_prefix/share/config.site
   2274   ac_site_file2=$ac_default_prefix/etc/config.site
   2275 fi
   2276 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2277 do
   2278   test "x$ac_site_file" = xNONE && continue
   2279   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2280     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2281 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2282     sed 's/^/| /' "$ac_site_file" >&5
   2283     . "$ac_site_file" \
   2284       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2286 as_fn_error $? "failed to load site script $ac_site_file
   2287 See \`config.log' for more details" "$LINENO" 5; }
   2288   fi
   2289 done
   2290 
   2291 if test -r "$cache_file"; then
   2292   # Some versions of bash will fail to source /dev/null (special files
   2293   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2294   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2295     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2296 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2297     case $cache_file in
   2298       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2299       *)                      . "./$cache_file";;
   2300     esac
   2301   fi
   2302 else
   2303   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2304 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2305   >$cache_file
   2306 fi
   2307 
   2308 # Check that the precious variables saved in the cache have kept the same
   2309 # value.
   2310 ac_cache_corrupted=false
   2311 for ac_var in $ac_precious_vars; do
   2312   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2313   eval ac_new_set=\$ac_env_${ac_var}_set
   2314   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2315   eval ac_new_val=\$ac_env_${ac_var}_value
   2316   case $ac_old_set,$ac_new_set in
   2317     set,)
   2318       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2319 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2320       ac_cache_corrupted=: ;;
   2321     ,set)
   2322       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2323 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2324       ac_cache_corrupted=: ;;
   2325     ,);;
   2326     *)
   2327       if test "x$ac_old_val" != "x$ac_new_val"; then
   2328 	# differences in whitespace do not lead to failure.
   2329 	ac_old_val_w=`echo x $ac_old_val`
   2330 	ac_new_val_w=`echo x $ac_new_val`
   2331 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2332 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2333 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2334 	  ac_cache_corrupted=:
   2335 	else
   2336 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2337 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2338 	  eval $ac_var=\$ac_old_val
   2339 	fi
   2340 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2341 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2342 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2343 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2344       fi;;
   2345   esac
   2346   # Pass precious variables to config.status.
   2347   if test "$ac_new_set" = set; then
   2348     case $ac_new_val in
   2349     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2350     *) ac_arg=$ac_var=$ac_new_val ;;
   2351     esac
   2352     case " $ac_configure_args " in
   2353       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2354       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2355     esac
   2356   fi
   2357 done
   2358 if $ac_cache_corrupted; then
   2359   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2361   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2362 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2363   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2364 fi
   2365 ## -------------------- ##
   2366 ## Main body of script. ##
   2367 ## -------------------- ##
   2368 
   2369 ac_ext=c
   2370 ac_cpp='$CPP $CPPFLAGS'
   2371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2374 
   2375 
   2376 
   2377 ac_config_headers="$ac_config_headers config.h"
   2378 
   2379 
   2380 # Initialize Automake
   2381 am__api_version='1.15'
   2382 
   2383 ac_aux_dir=
   2384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2385   if test -f "$ac_dir/install-sh"; then
   2386     ac_aux_dir=$ac_dir
   2387     ac_install_sh="$ac_aux_dir/install-sh -c"
   2388     break
   2389   elif test -f "$ac_dir/install.sh"; then
   2390     ac_aux_dir=$ac_dir
   2391     ac_install_sh="$ac_aux_dir/install.sh -c"
   2392     break
   2393   elif test -f "$ac_dir/shtool"; then
   2394     ac_aux_dir=$ac_dir
   2395     ac_install_sh="$ac_aux_dir/shtool install -c"
   2396     break
   2397   fi
   2398 done
   2399 if test -z "$ac_aux_dir"; then
   2400   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2401 fi
   2402 
   2403 # These three variables are undocumented and unsupported,
   2404 # and are intended to be withdrawn in a future Autoconf release.
   2405 # They can cause serious problems if a builder's source tree is in a directory
   2406 # whose full name contains unusual characters.
   2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2409 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2410 
   2411 
   2412 # Find a good install program.  We prefer a C program (faster),
   2413 # so one script is as good as another.  But avoid the broken or
   2414 # incompatible versions:
   2415 # SysV /etc/install, /usr/sbin/install
   2416 # SunOS /usr/etc/install
   2417 # IRIX /sbin/install
   2418 # AIX /bin/install
   2419 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2423 # OS/2's system install, which has a completely different semantic
   2424 # ./install, which can be erroneously created by make from ./install.sh.
   2425 # Reject install programs that cannot install multiple files.
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2427 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2428 if test -z "$INSTALL"; then
   2429 if ${ac_cv_path_install+:} false; then :
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437     # Account for people who put trailing slashes in PATH elements.
   2438 case $as_dir/ in #((
   2439   ./ | .// | /[cC]/* | \
   2440   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2441   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2442   /usr/ucb/* ) ;;
   2443   *)
   2444     # OSF1 and SCO ODT 3.0 have their own names for install.
   2445     # Don't use installbsd from OSF since it installs stuff as root
   2446     # by default.
   2447     for ac_prog in ginstall scoinst install; do
   2448       for ac_exec_ext in '' $ac_executable_extensions; do
   2449 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2450 	  if test $ac_prog = install &&
   2451 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2452 	    # AIX install.  It has an incompatible calling convention.
   2453 	    :
   2454 	  elif test $ac_prog = install &&
   2455 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2456 	    # program-specific install script used by HP pwplus--don't use.
   2457 	    :
   2458 	  else
   2459 	    rm -rf conftest.one conftest.two conftest.dir
   2460 	    echo one > conftest.one
   2461 	    echo two > conftest.two
   2462 	    mkdir conftest.dir
   2463 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2464 	      test -s conftest.one && test -s conftest.two &&
   2465 	      test -s conftest.dir/conftest.one &&
   2466 	      test -s conftest.dir/conftest.two
   2467 	    then
   2468 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2469 	      break 3
   2470 	    fi
   2471 	  fi
   2472 	fi
   2473       done
   2474     done
   2475     ;;
   2476 esac
   2477 
   2478   done
   2479 IFS=$as_save_IFS
   2480 
   2481 rm -rf conftest.one conftest.two conftest.dir
   2482 
   2483 fi
   2484   if test "${ac_cv_path_install+set}" = set; then
   2485     INSTALL=$ac_cv_path_install
   2486   else
   2487     # As a last resort, use the slow shell script.  Don't cache a
   2488     # value for INSTALL within a source directory, because that will
   2489     # break other packages using the cache if that directory is
   2490     # removed, or if the value is a relative name.
   2491     INSTALL=$ac_install_sh
   2492   fi
   2493 fi
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2495 $as_echo "$INSTALL" >&6; }
   2496 
   2497 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2498 # It thinks the first close brace ends the variable substitution.
   2499 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2500 
   2501 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2502 
   2503 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2506 $as_echo_n "checking whether build environment is sane... " >&6; }
   2507 # Reject unsafe characters in $srcdir or the absolute working directory
   2508 # name.  Accept space and tab only in the latter.
   2509 am_lf='
   2510 '
   2511 case `pwd` in
   2512   *[\\\"\#\$\&\'\`$am_lf]*)
   2513     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2514 esac
   2515 case $srcdir in
   2516   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2517     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2518 esac
   2519 
   2520 # Do 'set' in a subshell so we don't clobber the current shell's
   2521 # arguments.  Must try -L first in case configure is actually a
   2522 # symlink; some systems play weird games with the mod time of symlinks
   2523 # (eg FreeBSD returns the mod time of the symlink's containing
   2524 # directory).
   2525 if (
   2526    am_has_slept=no
   2527    for am_try in 1 2; do
   2528      echo "timestamp, slept: $am_has_slept" > conftest.file
   2529      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2530      if test "$*" = "X"; then
   2531 	# -L didn't work.
   2532 	set X `ls -t "$srcdir/configure" conftest.file`
   2533      fi
   2534      if test "$*" != "X $srcdir/configure conftest.file" \
   2535 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2536 
   2537 	# If neither matched, then we have a broken ls.  This can happen
   2538 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2539 	# broken ls alias from the environment.  This has actually
   2540 	# happened.  Such a system could not be considered "sane".
   2541 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2542   alias in your environment" "$LINENO" 5
   2543      fi
   2544      if test "$2" = conftest.file || test $am_try -eq 2; then
   2545        break
   2546      fi
   2547      # Just in case.
   2548      sleep 1
   2549      am_has_slept=yes
   2550    done
   2551    test "$2" = conftest.file
   2552    )
   2553 then
   2554    # Ok.
   2555    :
   2556 else
   2557    as_fn_error $? "newly created file is older than distributed files!
   2558 Check your system clock" "$LINENO" 5
   2559 fi
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2561 $as_echo "yes" >&6; }
   2562 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2563 # generated files are strictly newer.
   2564 am_sleep_pid=
   2565 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2566   ( sleep 1 ) &
   2567   am_sleep_pid=$!
   2568 fi
   2569 
   2570 rm -f conftest.file
   2571 
   2572 test "$program_prefix" != NONE &&
   2573   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2574 # Use a double $ so make ignores it.
   2575 test "$program_suffix" != NONE &&
   2576   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2577 # Double any \ or $.
   2578 # By default was `s,x,x', remove it if useless.
   2579 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2580 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2581 
   2582 # Expand $ac_aux_dir to an absolute path.
   2583 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2584 
   2585 if test x"${MISSING+set}" != xset; then
   2586   case $am_aux_dir in
   2587   *\ * | *\	*)
   2588     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2589   *)
   2590     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2591   esac
   2592 fi
   2593 # Use eval to expand $SHELL
   2594 if eval "$MISSING --is-lightweight"; then
   2595   am_missing_run="$MISSING "
   2596 else
   2597   am_missing_run=
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2599 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2600 fi
   2601 
   2602 if test x"${install_sh+set}" != xset; then
   2603   case $am_aux_dir in
   2604   *\ * | *\	*)
   2605     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2606   *)
   2607     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2608   esac
   2609 fi
   2610 
   2611 # Installed binaries are usually stripped using 'strip' when the user
   2612 # run "make install-strip".  However 'strip' might not be the right
   2613 # tool to use in cross-compilation environments, therefore Automake
   2614 # will honor the 'STRIP' environment variable to overrule this program.
   2615 if test "$cross_compiling" != no; then
   2616   if test -n "$ac_tool_prefix"; then
   2617   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2618 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2620 $as_echo_n "checking for $ac_word... " >&6; }
   2621 if ${ac_cv_prog_STRIP+:} false; then :
   2622   $as_echo_n "(cached) " >&6
   2623 else
   2624   if test -n "$STRIP"; then
   2625   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2626 else
   2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2628 for as_dir in $PATH
   2629 do
   2630   IFS=$as_save_IFS
   2631   test -z "$as_dir" && as_dir=.
   2632     for ac_exec_ext in '' $ac_executable_extensions; do
   2633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2634     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2636     break 2
   2637   fi
   2638 done
   2639   done
   2640 IFS=$as_save_IFS
   2641 
   2642 fi
   2643 fi
   2644 STRIP=$ac_cv_prog_STRIP
   2645 if test -n "$STRIP"; then
   2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2647 $as_echo "$STRIP" >&6; }
   2648 else
   2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2650 $as_echo "no" >&6; }
   2651 fi
   2652 
   2653 
   2654 fi
   2655 if test -z "$ac_cv_prog_STRIP"; then
   2656   ac_ct_STRIP=$STRIP
   2657   # Extract the first word of "strip", so it can be a program name with args.
   2658 set dummy strip; ac_word=$2
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2660 $as_echo_n "checking for $ac_word... " >&6; }
   2661 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2662   $as_echo_n "(cached) " >&6
   2663 else
   2664   if test -n "$ac_ct_STRIP"; then
   2665   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2666 else
   2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2668 for as_dir in $PATH
   2669 do
   2670   IFS=$as_save_IFS
   2671   test -z "$as_dir" && as_dir=.
   2672     for ac_exec_ext in '' $ac_executable_extensions; do
   2673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2674     ac_cv_prog_ac_ct_STRIP="strip"
   2675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2676     break 2
   2677   fi
   2678 done
   2679   done
   2680 IFS=$as_save_IFS
   2681 
   2682 fi
   2683 fi
   2684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2685 if test -n "$ac_ct_STRIP"; then
   2686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2687 $as_echo "$ac_ct_STRIP" >&6; }
   2688 else
   2689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2690 $as_echo "no" >&6; }
   2691 fi
   2692 
   2693   if test "x$ac_ct_STRIP" = x; then
   2694     STRIP=":"
   2695   else
   2696     case $cross_compiling:$ac_tool_warned in
   2697 yes:)
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2700 ac_tool_warned=yes ;;
   2701 esac
   2702     STRIP=$ac_ct_STRIP
   2703   fi
   2704 else
   2705   STRIP="$ac_cv_prog_STRIP"
   2706 fi
   2707 
   2708 fi
   2709 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2710 
   2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2712 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2713 if test -z "$MKDIR_P"; then
   2714   if ${ac_cv_path_mkdir+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2718 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2719 do
   2720   IFS=$as_save_IFS
   2721   test -z "$as_dir" && as_dir=.
   2722     for ac_prog in mkdir gmkdir; do
   2723 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2724 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2725 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2726 	     'mkdir (GNU coreutils) '* | \
   2727 	     'mkdir (coreutils) '* | \
   2728 	     'mkdir (fileutils) '4.1*)
   2729 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2730 	       break 3;;
   2731 	   esac
   2732 	 done
   2733        done
   2734   done
   2735 IFS=$as_save_IFS
   2736 
   2737 fi
   2738 
   2739   test -d ./--version && rmdir ./--version
   2740   if test "${ac_cv_path_mkdir+set}" = set; then
   2741     MKDIR_P="$ac_cv_path_mkdir -p"
   2742   else
   2743     # As a last resort, use the slow shell script.  Don't cache a
   2744     # value for MKDIR_P within a source directory, because that will
   2745     # break other packages using the cache if that directory is
   2746     # removed, or if the value is a relative name.
   2747     MKDIR_P="$ac_install_sh -d"
   2748   fi
   2749 fi
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2751 $as_echo "$MKDIR_P" >&6; }
   2752 
   2753 for ac_prog in gawk mawk nawk awk
   2754 do
   2755   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2756 set dummy $ac_prog; ac_word=$2
   2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2758 $as_echo_n "checking for $ac_word... " >&6; }
   2759 if ${ac_cv_prog_AWK+:} false; then :
   2760   $as_echo_n "(cached) " >&6
   2761 else
   2762   if test -n "$AWK"; then
   2763   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2764 else
   2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2766 for as_dir in $PATH
   2767 do
   2768   IFS=$as_save_IFS
   2769   test -z "$as_dir" && as_dir=.
   2770     for ac_exec_ext in '' $ac_executable_extensions; do
   2771   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2772     ac_cv_prog_AWK="$ac_prog"
   2773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2774     break 2
   2775   fi
   2776 done
   2777   done
   2778 IFS=$as_save_IFS
   2779 
   2780 fi
   2781 fi
   2782 AWK=$ac_cv_prog_AWK
   2783 if test -n "$AWK"; then
   2784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2785 $as_echo "$AWK" >&6; }
   2786 else
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2788 $as_echo "no" >&6; }
   2789 fi
   2790 
   2791 
   2792   test -n "$AWK" && break
   2793 done
   2794 
   2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2796 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2797 set x ${MAKE-make}
   2798 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2799 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2800   $as_echo_n "(cached) " >&6
   2801 else
   2802   cat >conftest.make <<\_ACEOF
   2803 SHELL = /bin/sh
   2804 all:
   2805 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2806 _ACEOF
   2807 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2809   *@@@%%%=?*=@@@%%%*)
   2810     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2811   *)
   2812     eval ac_cv_prog_make_${ac_make}_set=no;;
   2813 esac
   2814 rm -f conftest.make
   2815 fi
   2816 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2818 $as_echo "yes" >&6; }
   2819   SET_MAKE=
   2820 else
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2822 $as_echo "no" >&6; }
   2823   SET_MAKE="MAKE=${MAKE-make}"
   2824 fi
   2825 
   2826 rm -rf .tst 2>/dev/null
   2827 mkdir .tst 2>/dev/null
   2828 if test -d .tst; then
   2829   am__leading_dot=.
   2830 else
   2831   am__leading_dot=_
   2832 fi
   2833 rmdir .tst 2>/dev/null
   2834 
   2835 # Check whether --enable-silent-rules was given.
   2836 if test "${enable_silent_rules+set}" = set; then :
   2837   enableval=$enable_silent_rules;
   2838 fi
   2839 
   2840 case $enable_silent_rules in # (((
   2841   yes) AM_DEFAULT_VERBOSITY=0;;
   2842    no) AM_DEFAULT_VERBOSITY=1;;
   2843     *) AM_DEFAULT_VERBOSITY=1;;
   2844 esac
   2845 am_make=${MAKE-make}
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2847 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2848 if ${am_cv_make_support_nested_variables+:} false; then :
   2849   $as_echo_n "(cached) " >&6
   2850 else
   2851   if $as_echo 'TRUE=$(BAR$(V))
   2852 BAR0=false
   2853 BAR1=true
   2854 V=1
   2855 am__doit:
   2856 	@$(TRUE)
   2857 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2858   am_cv_make_support_nested_variables=yes
   2859 else
   2860   am_cv_make_support_nested_variables=no
   2861 fi
   2862 fi
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2864 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2865 if test $am_cv_make_support_nested_variables = yes; then
   2866     AM_V='$(V)'
   2867   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2868 else
   2869   AM_V=$AM_DEFAULT_VERBOSITY
   2870   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2871 fi
   2872 AM_BACKSLASH='\'
   2873 
   2874 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2875   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2876   # is not polluted with repeated "-I."
   2877   am__isrc=' -I$(srcdir)'
   2878   # test to see if srcdir already configured
   2879   if test -f $srcdir/config.status; then
   2880     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2881   fi
   2882 fi
   2883 
   2884 # test whether we have cygpath
   2885 if test -z "$CYGPATH_W"; then
   2886   if (cygpath --version) >/dev/null 2>/dev/null; then
   2887     CYGPATH_W='cygpath -w'
   2888   else
   2889     CYGPATH_W=echo
   2890   fi
   2891 fi
   2892 
   2893 
   2894 # Define the identity of the package.
   2895  PACKAGE='xhost'
   2896  VERSION='1.0.8'
   2897 
   2898 
   2899 cat >>confdefs.h <<_ACEOF
   2900 #define PACKAGE "$PACKAGE"
   2901 _ACEOF
   2902 
   2903 
   2904 cat >>confdefs.h <<_ACEOF
   2905 #define VERSION "$VERSION"
   2906 _ACEOF
   2907 
   2908 # Some tools Automake needs.
   2909 
   2910 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2911 
   2912 
   2913 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2914 
   2915 
   2916 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2917 
   2918 
   2919 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2920 
   2921 
   2922 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2923 
   2924 # For better backward compatibility.  To be removed once Automake 1.9.x
   2925 # dies out for good.  For more background, see:
   2926 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2927 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2928 mkdir_p='$(MKDIR_P)'
   2929 
   2930 # We need awk for the "check" target (and possibly the TAP driver).  The
   2931 # system "awk" is bad on some platforms.
   2932 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2933 # in the wild :-(  We should find a proper way to deprecate it ...
   2934 AMTAR='$${TAR-tar}'
   2935 
   2936 
   2937 # We'll loop over all known methods to create a tar archive until one works.
   2938 _am_tools='gnutar  pax cpio none'
   2939 
   2940 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2941 
   2942 
   2943 
   2944 
   2945 
   2946 
   2947 # POSIX will say in a future version that running "rm -f" with no argument
   2948 # is OK; and we want to be able to make that assumption in our Makefile
   2949 # recipes.  So use an aggressive probe to check that the usage we want is
   2950 # actually supported "in the wild" to an acceptable degree.
   2951 # See automake bug#10828.
   2952 # To make any issue more visible, cause the running configure to be aborted
   2953 # by default if the 'rm' program in use doesn't match our expectations; the
   2954 # user can still override this though.
   2955 if rm -f && rm -fr && rm -rf; then : OK; else
   2956   cat >&2 <<'END'
   2957 Oops!
   2958 
   2959 Your 'rm' program seems unable to run without file operands specified
   2960 on the command line, even when the '-f' option is present.  This is contrary
   2961 to the behaviour of most rm programs out there, and not conforming with
   2962 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2963 
   2964 Please tell bug-automake@gnu.org about your system, including the value
   2965 of your $PATH and any error possibly output before this message.  This
   2966 can help us improve future automake versions.
   2967 
   2968 END
   2969   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2970     echo 'Configuration will proceed anyway, since you have set the' >&2
   2971     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2972     echo >&2
   2973   else
   2974     cat >&2 <<'END'
   2975 Aborting the configuration process, to ensure you take notice of the issue.
   2976 
   2977 You can download and install GNU coreutils to get an 'rm' implementation
   2978 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2979 
   2980 If you want to complete the configuration process using your problematic
   2981 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2982 to "yes", and re-run configure.
   2983 
   2984 END
   2985     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2986   fi
   2987 fi
   2988 
   2989 
   2990 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2991 # Must be called before any macros that run the compiler (like
   2992 # XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
   2993 DEPDIR="${am__leading_dot}deps"
   2994 
   2995 ac_config_commands="$ac_config_commands depfiles"
   2996 
   2997 
   2998 am_make=${MAKE-make}
   2999 cat > confinc << 'END'
   3000 am__doit:
   3001 	@echo this is the am__doit target
   3002 .PHONY: am__doit
   3003 END
   3004 # If we don't find an include directive, just comment out the code.
   3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3006 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3007 am__include="#"
   3008 am__quote=
   3009 _am_result=none
   3010 # First try GNU make style include.
   3011 echo "include confinc" > confmf
   3012 # Ignore all kinds of additional output from 'make'.
   3013 case `$am_make -s -f confmf 2> /dev/null` in #(
   3014 *the\ am__doit\ target*)
   3015   am__include=include
   3016   am__quote=
   3017   _am_result=GNU
   3018   ;;
   3019 esac
   3020 # Now try BSD make style include.
   3021 if test "$am__include" = "#"; then
   3022    echo '.include "confinc"' > confmf
   3023    case `$am_make -s -f confmf 2> /dev/null` in #(
   3024    *the\ am__doit\ target*)
   3025      am__include=.include
   3026      am__quote="\""
   3027      _am_result=BSD
   3028      ;;
   3029    esac
   3030 fi
   3031 
   3032 
   3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3034 $as_echo "$_am_result" >&6; }
   3035 rm -f confinc confmf
   3036 
   3037 # Check whether --enable-dependency-tracking was given.
   3038 if test "${enable_dependency_tracking+set}" = set; then :
   3039   enableval=$enable_dependency_tracking;
   3040 fi
   3041 
   3042 if test "x$enable_dependency_tracking" != xno; then
   3043   am_depcomp="$ac_aux_dir/depcomp"
   3044   AMDEPBACKSLASH='\'
   3045   am__nodep='_no'
   3046 fi
   3047  if test "x$enable_dependency_tracking" != xno; then
   3048   AMDEP_TRUE=
   3049   AMDEP_FALSE='#'
   3050 else
   3051   AMDEP_TRUE='#'
   3052   AMDEP_FALSE=
   3053 fi
   3054 
   3055 
   3056 ac_ext=c
   3057 ac_cpp='$CPP $CPPFLAGS'
   3058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3061 if test -n "$ac_tool_prefix"; then
   3062   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3063 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if ${ac_cv_prog_CC+:} false; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$CC"; then
   3070   ac_cv_prog_CC="$CC" # Let the user override the test.
   3071 else
   3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3073 for as_dir in $PATH
   3074 do
   3075   IFS=$as_save_IFS
   3076   test -z "$as_dir" && as_dir=.
   3077     for ac_exec_ext in '' $ac_executable_extensions; do
   3078   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3079     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3081     break 2
   3082   fi
   3083 done
   3084   done
   3085 IFS=$as_save_IFS
   3086 
   3087 fi
   3088 fi
   3089 CC=$ac_cv_prog_CC
   3090 if test -n "$CC"; then
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3092 $as_echo "$CC" >&6; }
   3093 else
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 $as_echo "no" >&6; }
   3096 fi
   3097 
   3098 
   3099 fi
   3100 if test -z "$ac_cv_prog_CC"; then
   3101   ac_ct_CC=$CC
   3102   # Extract the first word of "gcc", so it can be a program name with args.
   3103 set dummy gcc; ac_word=$2
   3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3105 $as_echo_n "checking for $ac_word... " >&6; }
   3106 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3107   $as_echo_n "(cached) " >&6
   3108 else
   3109   if test -n "$ac_ct_CC"; then
   3110   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3111 else
   3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3113 for as_dir in $PATH
   3114 do
   3115   IFS=$as_save_IFS
   3116   test -z "$as_dir" && as_dir=.
   3117     for ac_exec_ext in '' $ac_executable_extensions; do
   3118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3119     ac_cv_prog_ac_ct_CC="gcc"
   3120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3121     break 2
   3122   fi
   3123 done
   3124   done
   3125 IFS=$as_save_IFS
   3126 
   3127 fi
   3128 fi
   3129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3130 if test -n "$ac_ct_CC"; then
   3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3132 $as_echo "$ac_ct_CC" >&6; }
   3133 else
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 $as_echo "no" >&6; }
   3136 fi
   3137 
   3138   if test "x$ac_ct_CC" = x; then
   3139     CC=""
   3140   else
   3141     case $cross_compiling:$ac_tool_warned in
   3142 yes:)
   3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3145 ac_tool_warned=yes ;;
   3146 esac
   3147     CC=$ac_ct_CC
   3148   fi
   3149 else
   3150   CC="$ac_cv_prog_CC"
   3151 fi
   3152 
   3153 if test -z "$CC"; then
   3154           if test -n "$ac_tool_prefix"; then
   3155     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3156 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3158 $as_echo_n "checking for $ac_word... " >&6; }
   3159 if ${ac_cv_prog_CC+:} false; then :
   3160   $as_echo_n "(cached) " >&6
   3161 else
   3162   if test -n "$CC"; then
   3163   ac_cv_prog_CC="$CC" # Let the user override the test.
   3164 else
   3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3166 for as_dir in $PATH
   3167 do
   3168   IFS=$as_save_IFS
   3169   test -z "$as_dir" && as_dir=.
   3170     for ac_exec_ext in '' $ac_executable_extensions; do
   3171   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3172     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3174     break 2
   3175   fi
   3176 done
   3177   done
   3178 IFS=$as_save_IFS
   3179 
   3180 fi
   3181 fi
   3182 CC=$ac_cv_prog_CC
   3183 if test -n "$CC"; then
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3185 $as_echo "$CC" >&6; }
   3186 else
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3188 $as_echo "no" >&6; }
   3189 fi
   3190 
   3191 
   3192   fi
   3193 fi
   3194 if test -z "$CC"; then
   3195   # Extract the first word of "cc", so it can be a program name with args.
   3196 set dummy cc; ac_word=$2
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3198 $as_echo_n "checking for $ac_word... " >&6; }
   3199 if ${ac_cv_prog_CC+:} false; then :
   3200   $as_echo_n "(cached) " >&6
   3201 else
   3202   if test -n "$CC"; then
   3203   ac_cv_prog_CC="$CC" # Let the user override the test.
   3204 else
   3205   ac_prog_rejected=no
   3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3207 for as_dir in $PATH
   3208 do
   3209   IFS=$as_save_IFS
   3210   test -z "$as_dir" && as_dir=.
   3211     for ac_exec_ext in '' $ac_executable_extensions; do
   3212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3213     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3214        ac_prog_rejected=yes
   3215        continue
   3216      fi
   3217     ac_cv_prog_CC="cc"
   3218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3219     break 2
   3220   fi
   3221 done
   3222   done
   3223 IFS=$as_save_IFS
   3224 
   3225 if test $ac_prog_rejected = yes; then
   3226   # We found a bogon in the path, so make sure we never use it.
   3227   set dummy $ac_cv_prog_CC
   3228   shift
   3229   if test $# != 0; then
   3230     # We chose a different compiler from the bogus one.
   3231     # However, it has the same basename, so the bogon will be chosen
   3232     # first if we set CC to just the basename; use the full file name.
   3233     shift
   3234     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3235   fi
   3236 fi
   3237 fi
   3238 fi
   3239 CC=$ac_cv_prog_CC
   3240 if test -n "$CC"; then
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3242 $as_echo "$CC" >&6; }
   3243 else
   3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3245 $as_echo "no" >&6; }
   3246 fi
   3247 
   3248 
   3249 fi
   3250 if test -z "$CC"; then
   3251   if test -n "$ac_tool_prefix"; then
   3252   for ac_prog in cl.exe
   3253   do
   3254     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3257 $as_echo_n "checking for $ac_word... " >&6; }
   3258 if ${ac_cv_prog_CC+:} false; then :
   3259   $as_echo_n "(cached) " >&6
   3260 else
   3261   if test -n "$CC"; then
   3262   ac_cv_prog_CC="$CC" # Let the user override the test.
   3263 else
   3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3265 for as_dir in $PATH
   3266 do
   3267   IFS=$as_save_IFS
   3268   test -z "$as_dir" && as_dir=.
   3269     for ac_exec_ext in '' $ac_executable_extensions; do
   3270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3271     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3273     break 2
   3274   fi
   3275 done
   3276   done
   3277 IFS=$as_save_IFS
   3278 
   3279 fi
   3280 fi
   3281 CC=$ac_cv_prog_CC
   3282 if test -n "$CC"; then
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3284 $as_echo "$CC" >&6; }
   3285 else
   3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3287 $as_echo "no" >&6; }
   3288 fi
   3289 
   3290 
   3291     test -n "$CC" && break
   3292   done
   3293 fi
   3294 if test -z "$CC"; then
   3295   ac_ct_CC=$CC
   3296   for ac_prog in cl.exe
   3297 do
   3298   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3299 set dummy $ac_prog; ac_word=$2
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3301 $as_echo_n "checking for $ac_word... " >&6; }
   3302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3303   $as_echo_n "(cached) " >&6
   3304 else
   3305   if test -n "$ac_ct_CC"; then
   3306   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3307 else
   3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3309 for as_dir in $PATH
   3310 do
   3311   IFS=$as_save_IFS
   3312   test -z "$as_dir" && as_dir=.
   3313     for ac_exec_ext in '' $ac_executable_extensions; do
   3314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3315     ac_cv_prog_ac_ct_CC="$ac_prog"
   3316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3317     break 2
   3318   fi
   3319 done
   3320   done
   3321 IFS=$as_save_IFS
   3322 
   3323 fi
   3324 fi
   3325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3326 if test -n "$ac_ct_CC"; then
   3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3328 $as_echo "$ac_ct_CC" >&6; }
   3329 else
   3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3331 $as_echo "no" >&6; }
   3332 fi
   3333 
   3334 
   3335   test -n "$ac_ct_CC" && break
   3336 done
   3337 
   3338   if test "x$ac_ct_CC" = x; then
   3339     CC=""
   3340   else
   3341     case $cross_compiling:$ac_tool_warned in
   3342 yes:)
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3345 ac_tool_warned=yes ;;
   3346 esac
   3347     CC=$ac_ct_CC
   3348   fi
   3349 fi
   3350 
   3351 fi
   3352 
   3353 
   3354 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3356 as_fn_error $? "no acceptable C compiler found in \$PATH
   3357 See \`config.log' for more details" "$LINENO" 5; }
   3358 
   3359 # Provide some information about the compiler.
   3360 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3361 set X $ac_compile
   3362 ac_compiler=$2
   3363 for ac_option in --version -v -V -qversion; do
   3364   { { ac_try="$ac_compiler $ac_option >&5"
   3365 case "(($ac_try" in
   3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3367   *) ac_try_echo=$ac_try;;
   3368 esac
   3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3370 $as_echo "$ac_try_echo"; } >&5
   3371   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3372   ac_status=$?
   3373   if test -s conftest.err; then
   3374     sed '10a\
   3375 ... rest of stderr output deleted ...
   3376          10q' conftest.err >conftest.er1
   3377     cat conftest.er1 >&5
   3378   fi
   3379   rm -f conftest.er1 conftest.err
   3380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3381   test $ac_status = 0; }
   3382 done
   3383 
   3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3385 /* end confdefs.h.  */
   3386 
   3387 int
   3388 main ()
   3389 {
   3390 
   3391   ;
   3392   return 0;
   3393 }
   3394 _ACEOF
   3395 ac_clean_files_save=$ac_clean_files
   3396 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3397 # Try to create an executable without -o first, disregard a.out.
   3398 # It will help us diagnose broken compilers, and finding out an intuition
   3399 # of exeext.
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3401 $as_echo_n "checking whether the C compiler works... " >&6; }
   3402 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3403 
   3404 # The possible output files:
   3405 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3406 
   3407 ac_rmfiles=
   3408 for ac_file in $ac_files
   3409 do
   3410   case $ac_file in
   3411     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3412     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3413   esac
   3414 done
   3415 rm -f $ac_rmfiles
   3416 
   3417 if { { ac_try="$ac_link_default"
   3418 case "(($ac_try" in
   3419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3420   *) ac_try_echo=$ac_try;;
   3421 esac
   3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3423 $as_echo "$ac_try_echo"; } >&5
   3424   (eval "$ac_link_default") 2>&5
   3425   ac_status=$?
   3426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3427   test $ac_status = 0; }; then :
   3428   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3429 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3430 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3431 # so that the user can short-circuit this test for compilers unknown to
   3432 # Autoconf.
   3433 for ac_file in $ac_files ''
   3434 do
   3435   test -f "$ac_file" || continue
   3436   case $ac_file in
   3437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3438 	;;
   3439     [ab].out )
   3440 	# We found the default executable, but exeext='' is most
   3441 	# certainly right.
   3442 	break;;
   3443     *.* )
   3444 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3445 	then :; else
   3446 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3447 	fi
   3448 	# We set ac_cv_exeext here because the later test for it is not
   3449 	# safe: cross compilers may not add the suffix if given an `-o'
   3450 	# argument, so we may need to know it at that point already.
   3451 	# Even if this section looks crufty: it has the advantage of
   3452 	# actually working.
   3453 	break;;
   3454     * )
   3455 	break;;
   3456   esac
   3457 done
   3458 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3459 
   3460 else
   3461   ac_file=''
   3462 fi
   3463 if test -z "$ac_file"; then :
   3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 $as_echo "no" >&6; }
   3466 $as_echo "$as_me: failed program was:" >&5
   3467 sed 's/^/| /' conftest.$ac_ext >&5
   3468 
   3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3471 as_fn_error 77 "C compiler cannot create executables
   3472 See \`config.log' for more details" "$LINENO" 5; }
   3473 else
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3475 $as_echo "yes" >&6; }
   3476 fi
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3478 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3480 $as_echo "$ac_file" >&6; }
   3481 ac_exeext=$ac_cv_exeext
   3482 
   3483 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3484 ac_clean_files=$ac_clean_files_save
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3486 $as_echo_n "checking for suffix of executables... " >&6; }
   3487 if { { ac_try="$ac_link"
   3488 case "(($ac_try" in
   3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3490   *) ac_try_echo=$ac_try;;
   3491 esac
   3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3493 $as_echo "$ac_try_echo"; } >&5
   3494   (eval "$ac_link") 2>&5
   3495   ac_status=$?
   3496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3497   test $ac_status = 0; }; then :
   3498   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3499 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3500 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3501 # `rm'.
   3502 for ac_file in conftest.exe conftest conftest.*; do
   3503   test -f "$ac_file" || continue
   3504   case $ac_file in
   3505     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3506     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3507 	  break;;
   3508     * ) break;;
   3509   esac
   3510 done
   3511 else
   3512   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3514 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3515 See \`config.log' for more details" "$LINENO" 5; }
   3516 fi
   3517 rm -f conftest conftest$ac_cv_exeext
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3519 $as_echo "$ac_cv_exeext" >&6; }
   3520 
   3521 rm -f conftest.$ac_ext
   3522 EXEEXT=$ac_cv_exeext
   3523 ac_exeext=$EXEEXT
   3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 #include <stdio.h>
   3527 int
   3528 main ()
   3529 {
   3530 FILE *f = fopen ("conftest.out", "w");
   3531  return ferror (f) || fclose (f) != 0;
   3532 
   3533   ;
   3534   return 0;
   3535 }
   3536 _ACEOF
   3537 ac_clean_files="$ac_clean_files conftest.out"
   3538 # Check that the compiler produces executables we can run.  If not, either
   3539 # the compiler is broken, or we cross compile.
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3541 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3542 if test "$cross_compiling" != yes; then
   3543   { { ac_try="$ac_link"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo"; } >&5
   3550   (eval "$ac_link") 2>&5
   3551   ac_status=$?
   3552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3553   test $ac_status = 0; }
   3554   if { ac_try='./conftest$ac_cv_exeext'
   3555   { { case "(($ac_try" in
   3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3557   *) ac_try_echo=$ac_try;;
   3558 esac
   3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3560 $as_echo "$ac_try_echo"; } >&5
   3561   (eval "$ac_try") 2>&5
   3562   ac_status=$?
   3563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3564   test $ac_status = 0; }; }; then
   3565     cross_compiling=no
   3566   else
   3567     if test "$cross_compiling" = maybe; then
   3568 	cross_compiling=yes
   3569     else
   3570 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3572 as_fn_error $? "cannot run C compiled programs.
   3573 If you meant to cross compile, use \`--host'.
   3574 See \`config.log' for more details" "$LINENO" 5; }
   3575     fi
   3576   fi
   3577 fi
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3579 $as_echo "$cross_compiling" >&6; }
   3580 
   3581 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3582 ac_clean_files=$ac_clean_files_save
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3584 $as_echo_n "checking for suffix of object files... " >&6; }
   3585 if ${ac_cv_objext+:} false; then :
   3586   $as_echo_n "(cached) " >&6
   3587 else
   3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3589 /* end confdefs.h.  */
   3590 
   3591 int
   3592 main ()
   3593 {
   3594 
   3595   ;
   3596   return 0;
   3597 }
   3598 _ACEOF
   3599 rm -f conftest.o conftest.obj
   3600 if { { ac_try="$ac_compile"
   3601 case "(($ac_try" in
   3602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3603   *) ac_try_echo=$ac_try;;
   3604 esac
   3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3606 $as_echo "$ac_try_echo"; } >&5
   3607   (eval "$ac_compile") 2>&5
   3608   ac_status=$?
   3609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3610   test $ac_status = 0; }; then :
   3611   for ac_file in conftest.o conftest.obj conftest.*; do
   3612   test -f "$ac_file" || continue;
   3613   case $ac_file in
   3614     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3615     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3616        break;;
   3617   esac
   3618 done
   3619 else
   3620   $as_echo "$as_me: failed program was:" >&5
   3621 sed 's/^/| /' conftest.$ac_ext >&5
   3622 
   3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3625 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3626 See \`config.log' for more details" "$LINENO" 5; }
   3627 fi
   3628 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3629 fi
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3631 $as_echo "$ac_cv_objext" >&6; }
   3632 OBJEXT=$ac_cv_objext
   3633 ac_objext=$OBJEXT
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3635 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3636 if ${ac_cv_c_compiler_gnu+:} false; then :
   3637   $as_echo_n "(cached) " >&6
   3638 else
   3639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3640 /* end confdefs.h.  */
   3641 
   3642 int
   3643 main ()
   3644 {
   3645 #ifndef __GNUC__
   3646        choke me
   3647 #endif
   3648 
   3649   ;
   3650   return 0;
   3651 }
   3652 _ACEOF
   3653 if ac_fn_c_try_compile "$LINENO"; then :
   3654   ac_compiler_gnu=yes
   3655 else
   3656   ac_compiler_gnu=no
   3657 fi
   3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3660 
   3661 fi
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3663 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3664 if test $ac_compiler_gnu = yes; then
   3665   GCC=yes
   3666 else
   3667   GCC=
   3668 fi
   3669 ac_test_CFLAGS=${CFLAGS+set}
   3670 ac_save_CFLAGS=$CFLAGS
   3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3672 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3673 if ${ac_cv_prog_cc_g+:} false; then :
   3674   $as_echo_n "(cached) " >&6
   3675 else
   3676   ac_save_c_werror_flag=$ac_c_werror_flag
   3677    ac_c_werror_flag=yes
   3678    ac_cv_prog_cc_g=no
   3679    CFLAGS="-g"
   3680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3681 /* end confdefs.h.  */
   3682 
   3683 int
   3684 main ()
   3685 {
   3686 
   3687   ;
   3688   return 0;
   3689 }
   3690 _ACEOF
   3691 if ac_fn_c_try_compile "$LINENO"; then :
   3692   ac_cv_prog_cc_g=yes
   3693 else
   3694   CFLAGS=""
   3695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3696 /* end confdefs.h.  */
   3697 
   3698 int
   3699 main ()
   3700 {
   3701 
   3702   ;
   3703   return 0;
   3704 }
   3705 _ACEOF
   3706 if ac_fn_c_try_compile "$LINENO"; then :
   3707 
   3708 else
   3709   ac_c_werror_flag=$ac_save_c_werror_flag
   3710 	 CFLAGS="-g"
   3711 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714 int
   3715 main ()
   3716 {
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 if ac_fn_c_try_compile "$LINENO"; then :
   3723   ac_cv_prog_cc_g=yes
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3726 fi
   3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3728 fi
   3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3730    ac_c_werror_flag=$ac_save_c_werror_flag
   3731 fi
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3733 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3734 if test "$ac_test_CFLAGS" = set; then
   3735   CFLAGS=$ac_save_CFLAGS
   3736 elif test $ac_cv_prog_cc_g = yes; then
   3737   if test "$GCC" = yes; then
   3738     CFLAGS="-g -O2"
   3739   else
   3740     CFLAGS="-g"
   3741   fi
   3742 else
   3743   if test "$GCC" = yes; then
   3744     CFLAGS="-O2"
   3745   else
   3746     CFLAGS=
   3747   fi
   3748 fi
   3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3750 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3751 if ${ac_cv_prog_cc_c89+:} false; then :
   3752   $as_echo_n "(cached) " >&6
   3753 else
   3754   ac_cv_prog_cc_c89=no
   3755 ac_save_CC=$CC
   3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3757 /* end confdefs.h.  */
   3758 #include <stdarg.h>
   3759 #include <stdio.h>
   3760 struct stat;
   3761 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3762 struct buf { int x; };
   3763 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3764 static char *e (p, i)
   3765      char **p;
   3766      int i;
   3767 {
   3768   return p[i];
   3769 }
   3770 static char *f (char * (*g) (char **, int), char **p, ...)
   3771 {
   3772   char *s;
   3773   va_list v;
   3774   va_start (v,p);
   3775   s = g (p, va_arg (v,int));
   3776   va_end (v);
   3777   return s;
   3778 }
   3779 
   3780 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3781    function prototypes and stuff, but not '\xHH' hex character constants.
   3782    These don't provoke an error unfortunately, instead are silently treated
   3783    as 'x'.  The following induces an error, until -std is added to get
   3784    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3785    array size at least.  It's necessary to write '\x00'==0 to get something
   3786    that's true only with -std.  */
   3787 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3788 
   3789 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3790    inside strings and character constants.  */
   3791 #define FOO(x) 'x'
   3792 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3793 
   3794 int test (int i, double x);
   3795 struct s1 {int (*f) (int a);};
   3796 struct s2 {int (*f) (double a);};
   3797 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3798 int argc;
   3799 char **argv;
   3800 int
   3801 main ()
   3802 {
   3803 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3804   ;
   3805   return 0;
   3806 }
   3807 _ACEOF
   3808 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3809 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3810 do
   3811   CC="$ac_save_CC $ac_arg"
   3812   if ac_fn_c_try_compile "$LINENO"; then :
   3813   ac_cv_prog_cc_c89=$ac_arg
   3814 fi
   3815 rm -f core conftest.err conftest.$ac_objext
   3816   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3817 done
   3818 rm -f conftest.$ac_ext
   3819 CC=$ac_save_CC
   3820 
   3821 fi
   3822 # AC_CACHE_VAL
   3823 case "x$ac_cv_prog_cc_c89" in
   3824   x)
   3825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3826 $as_echo "none needed" >&6; } ;;
   3827   xno)
   3828     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3829 $as_echo "unsupported" >&6; } ;;
   3830   *)
   3831     CC="$CC $ac_cv_prog_cc_c89"
   3832     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3833 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3834 esac
   3835 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3836 
   3837 fi
   3838 
   3839 ac_ext=c
   3840 ac_cpp='$CPP $CPPFLAGS'
   3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3844 
   3845 ac_ext=c
   3846 ac_cpp='$CPP $CPPFLAGS'
   3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3851 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3852 if ${am_cv_prog_cc_c_o+:} false; then :
   3853   $as_echo_n "(cached) " >&6
   3854 else
   3855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3856 /* end confdefs.h.  */
   3857 
   3858 int
   3859 main ()
   3860 {
   3861 
   3862   ;
   3863   return 0;
   3864 }
   3865 _ACEOF
   3866   # Make sure it works both with $CC and with simple cc.
   3867   # Following AC_PROG_CC_C_O, we do the test twice because some
   3868   # compilers refuse to overwrite an existing .o file with -o,
   3869   # though they will create one.
   3870   am_cv_prog_cc_c_o=yes
   3871   for am_i in 1 2; do
   3872     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3873    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3874    ac_status=$?
   3875    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3876    (exit $ac_status); } \
   3877          && test -f conftest2.$ac_objext; then
   3878       : OK
   3879     else
   3880       am_cv_prog_cc_c_o=no
   3881       break
   3882     fi
   3883   done
   3884   rm -f core conftest*
   3885   unset am_i
   3886 fi
   3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3888 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3889 if test "$am_cv_prog_cc_c_o" != yes; then
   3890    # Losing compiler, so override with the script.
   3891    # FIXME: It is wrong to rewrite CC.
   3892    # But if we don't then we get into trouble of one sort or another.
   3893    # A longer-term fix would be to have automake use am__CC in this case,
   3894    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3895    CC="$am_aux_dir/compile $CC"
   3896 fi
   3897 ac_ext=c
   3898 ac_cpp='$CPP $CPPFLAGS'
   3899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3902 
   3903 
   3904 depcc="$CC"   am_compiler_list=
   3905 
   3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3907 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3908 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3909   $as_echo_n "(cached) " >&6
   3910 else
   3911   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3912   # We make a subdir and do the tests there.  Otherwise we can end up
   3913   # making bogus files that we don't know about and never remove.  For
   3914   # instance it was reported that on HP-UX the gcc test will end up
   3915   # making a dummy file named 'D' -- because '-MD' means "put the output
   3916   # in D".
   3917   rm -rf conftest.dir
   3918   mkdir conftest.dir
   3919   # Copy depcomp to subdir because otherwise we won't find it if we're
   3920   # using a relative directory.
   3921   cp "$am_depcomp" conftest.dir
   3922   cd conftest.dir
   3923   # We will build objects and dependencies in a subdirectory because
   3924   # it helps to detect inapplicable dependency modes.  For instance
   3925   # both Tru64's cc and ICC support -MD to output dependencies as a
   3926   # side effect of compilation, but ICC will put the dependencies in
   3927   # the current directory while Tru64 will put them in the object
   3928   # directory.
   3929   mkdir sub
   3930 
   3931   am_cv_CC_dependencies_compiler_type=none
   3932   if test "$am_compiler_list" = ""; then
   3933      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3934   fi
   3935   am__universal=false
   3936   case " $depcc " in #(
   3937      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3938      esac
   3939 
   3940   for depmode in $am_compiler_list; do
   3941     # Setup a source with many dependencies, because some compilers
   3942     # like to wrap large dependency lists on column 80 (with \), and
   3943     # we should not choose a depcomp mode which is confused by this.
   3944     #
   3945     # We need to recreate these files for each test, as the compiler may
   3946     # overwrite some of them when testing with obscure command lines.
   3947     # This happens at least with the AIX C compiler.
   3948     : > sub/conftest.c
   3949     for i in 1 2 3 4 5 6; do
   3950       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3951       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3952       # Solaris 10 /bin/sh.
   3953       echo '/* dummy */' > sub/conftst$i.h
   3954     done
   3955     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3956 
   3957     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3958     # mode.  It turns out that the SunPro C++ compiler does not properly
   3959     # handle '-M -o', and we need to detect this.  Also, some Intel
   3960     # versions had trouble with output in subdirs.
   3961     am__obj=sub/conftest.${OBJEXT-o}
   3962     am__minus_obj="-o $am__obj"
   3963     case $depmode in
   3964     gcc)
   3965       # This depmode causes a compiler race in universal mode.
   3966       test "$am__universal" = false || continue
   3967       ;;
   3968     nosideeffect)
   3969       # After this tag, mechanisms are not by side-effect, so they'll
   3970       # only be used when explicitly requested.
   3971       if test "x$enable_dependency_tracking" = xyes; then
   3972 	continue
   3973       else
   3974 	break
   3975       fi
   3976       ;;
   3977     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3978       # This compiler won't grok '-c -o', but also, the minuso test has
   3979       # not run yet.  These depmodes are late enough in the game, and
   3980       # so weak that their functioning should not be impacted.
   3981       am__obj=conftest.${OBJEXT-o}
   3982       am__minus_obj=
   3983       ;;
   3984     none) break ;;
   3985     esac
   3986     if depmode=$depmode \
   3987        source=sub/conftest.c object=$am__obj \
   3988        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3989        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3990          >/dev/null 2>conftest.err &&
   3991        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3992        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3993        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3994        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3995       # icc doesn't choke on unknown options, it will just issue warnings
   3996       # or remarks (even with -Werror).  So we grep stderr for any message
   3997       # that says an option was ignored or not supported.
   3998       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3999       #   icc: Command line warning: ignoring option '-M'; no argument required
   4000       # The diagnosis changed in icc 8.0:
   4001       #   icc: Command line remark: option '-MP' not supported
   4002       if (grep 'ignoring option' conftest.err ||
   4003           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4004         am_cv_CC_dependencies_compiler_type=$depmode
   4005         break
   4006       fi
   4007     fi
   4008   done
   4009 
   4010   cd ..
   4011   rm -rf conftest.dir
   4012 else
   4013   am_cv_CC_dependencies_compiler_type=none
   4014 fi
   4015 
   4016 fi
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4018 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4019 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4020 
   4021  if
   4022   test "x$enable_dependency_tracking" != xno \
   4023   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4024   am__fastdepCC_TRUE=
   4025   am__fastdepCC_FALSE='#'
   4026 else
   4027   am__fastdepCC_TRUE='#'
   4028   am__fastdepCC_FALSE=
   4029 fi
   4030 
   4031 
   4032 
   4033 ac_ext=c
   4034 ac_cpp='$CPP $CPPFLAGS'
   4035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4039 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4040 # On Suns, sometimes $CPP names a directory.
   4041 if test -n "$CPP" && test -d "$CPP"; then
   4042   CPP=
   4043 fi
   4044 if test -z "$CPP"; then
   4045   if ${ac_cv_prog_CPP+:} false; then :
   4046   $as_echo_n "(cached) " >&6
   4047 else
   4048       # Double quotes because CPP needs to be expanded
   4049     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4050     do
   4051       ac_preproc_ok=false
   4052 for ac_c_preproc_warn_flag in '' yes
   4053 do
   4054   # Use a header file that comes with gcc, so configuring glibc
   4055   # with a fresh cross-compiler works.
   4056   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4057   # <limits.h> exists even on freestanding compilers.
   4058   # On the NeXT, cc -E runs the code through the compiler's parser,
   4059   # not just through cpp. "Syntax error" is here to catch this case.
   4060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4061 /* end confdefs.h.  */
   4062 #ifdef __STDC__
   4063 # include <limits.h>
   4064 #else
   4065 # include <assert.h>
   4066 #endif
   4067 		     Syntax error
   4068 _ACEOF
   4069 if ac_fn_c_try_cpp "$LINENO"; then :
   4070 
   4071 else
   4072   # Broken: fails on valid input.
   4073 continue
   4074 fi
   4075 rm -f conftest.err conftest.i conftest.$ac_ext
   4076 
   4077   # OK, works on sane cases.  Now check whether nonexistent headers
   4078   # can be detected and how.
   4079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4080 /* end confdefs.h.  */
   4081 #include <ac_nonexistent.h>
   4082 _ACEOF
   4083 if ac_fn_c_try_cpp "$LINENO"; then :
   4084   # Broken: success on invalid input.
   4085 continue
   4086 else
   4087   # Passes both tests.
   4088 ac_preproc_ok=:
   4089 break
   4090 fi
   4091 rm -f conftest.err conftest.i conftest.$ac_ext
   4092 
   4093 done
   4094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4095 rm -f conftest.i conftest.err conftest.$ac_ext
   4096 if $ac_preproc_ok; then :
   4097   break
   4098 fi
   4099 
   4100     done
   4101     ac_cv_prog_CPP=$CPP
   4102 
   4103 fi
   4104   CPP=$ac_cv_prog_CPP
   4105 else
   4106   ac_cv_prog_CPP=$CPP
   4107 fi
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4109 $as_echo "$CPP" >&6; }
   4110 ac_preproc_ok=false
   4111 for ac_c_preproc_warn_flag in '' yes
   4112 do
   4113   # Use a header file that comes with gcc, so configuring glibc
   4114   # with a fresh cross-compiler works.
   4115   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4116   # <limits.h> exists even on freestanding compilers.
   4117   # On the NeXT, cc -E runs the code through the compiler's parser,
   4118   # not just through cpp. "Syntax error" is here to catch this case.
   4119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4120 /* end confdefs.h.  */
   4121 #ifdef __STDC__
   4122 # include <limits.h>
   4123 #else
   4124 # include <assert.h>
   4125 #endif
   4126 		     Syntax error
   4127 _ACEOF
   4128 if ac_fn_c_try_cpp "$LINENO"; then :
   4129 
   4130 else
   4131   # Broken: fails on valid input.
   4132 continue
   4133 fi
   4134 rm -f conftest.err conftest.i conftest.$ac_ext
   4135 
   4136   # OK, works on sane cases.  Now check whether nonexistent headers
   4137   # can be detected and how.
   4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4139 /* end confdefs.h.  */
   4140 #include <ac_nonexistent.h>
   4141 _ACEOF
   4142 if ac_fn_c_try_cpp "$LINENO"; then :
   4143   # Broken: success on invalid input.
   4144 continue
   4145 else
   4146   # Passes both tests.
   4147 ac_preproc_ok=:
   4148 break
   4149 fi
   4150 rm -f conftest.err conftest.i conftest.$ac_ext
   4151 
   4152 done
   4153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4154 rm -f conftest.i conftest.err conftest.$ac_ext
   4155 if $ac_preproc_ok; then :
   4156 
   4157 else
   4158   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4160 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4161 See \`config.log' for more details" "$LINENO" 5; }
   4162 fi
   4163 
   4164 ac_ext=c
   4165 ac_cpp='$CPP $CPPFLAGS'
   4166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4169 
   4170 
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4172 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4173 if ${ac_cv_path_GREP+:} false; then :
   4174   $as_echo_n "(cached) " >&6
   4175 else
   4176   if test -z "$GREP"; then
   4177   ac_path_GREP_found=false
   4178   # Loop through the user's path and test for each of PROGNAME-LIST
   4179   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4181 do
   4182   IFS=$as_save_IFS
   4183   test -z "$as_dir" && as_dir=.
   4184     for ac_prog in grep ggrep; do
   4185     for ac_exec_ext in '' $ac_executable_extensions; do
   4186       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4187       as_fn_executable_p "$ac_path_GREP" || continue
   4188 # Check for GNU ac_path_GREP and select it if it is found.
   4189   # Check for GNU $ac_path_GREP
   4190 case `"$ac_path_GREP" --version 2>&1` in
   4191 *GNU*)
   4192   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4193 *)
   4194   ac_count=0
   4195   $as_echo_n 0123456789 >"conftest.in"
   4196   while :
   4197   do
   4198     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4199     mv "conftest.tmp" "conftest.in"
   4200     cp "conftest.in" "conftest.nl"
   4201     $as_echo 'GREP' >> "conftest.nl"
   4202     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4203     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4204     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4205     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4206       # Best one so far, save it but keep looking for a better one
   4207       ac_cv_path_GREP="$ac_path_GREP"
   4208       ac_path_GREP_max=$ac_count
   4209     fi
   4210     # 10*(2^10) chars as input seems more than enough
   4211     test $ac_count -gt 10 && break
   4212   done
   4213   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4214 esac
   4215 
   4216       $ac_path_GREP_found && break 3
   4217     done
   4218   done
   4219   done
   4220 IFS=$as_save_IFS
   4221   if test -z "$ac_cv_path_GREP"; then
   4222     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4223   fi
   4224 else
   4225   ac_cv_path_GREP=$GREP
   4226 fi
   4227 
   4228 fi
   4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4230 $as_echo "$ac_cv_path_GREP" >&6; }
   4231  GREP="$ac_cv_path_GREP"
   4232 
   4233 
   4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4235 $as_echo_n "checking for egrep... " >&6; }
   4236 if ${ac_cv_path_EGREP+:} false; then :
   4237   $as_echo_n "(cached) " >&6
   4238 else
   4239   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4240    then ac_cv_path_EGREP="$GREP -E"
   4241    else
   4242      if test -z "$EGREP"; then
   4243   ac_path_EGREP_found=false
   4244   # Loop through the user's path and test for each of PROGNAME-LIST
   4245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4247 do
   4248   IFS=$as_save_IFS
   4249   test -z "$as_dir" && as_dir=.
   4250     for ac_prog in egrep; do
   4251     for ac_exec_ext in '' $ac_executable_extensions; do
   4252       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4253       as_fn_executable_p "$ac_path_EGREP" || continue
   4254 # Check for GNU ac_path_EGREP and select it if it is found.
   4255   # Check for GNU $ac_path_EGREP
   4256 case `"$ac_path_EGREP" --version 2>&1` in
   4257 *GNU*)
   4258   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4259 *)
   4260   ac_count=0
   4261   $as_echo_n 0123456789 >"conftest.in"
   4262   while :
   4263   do
   4264     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4265     mv "conftest.tmp" "conftest.in"
   4266     cp "conftest.in" "conftest.nl"
   4267     $as_echo 'EGREP' >> "conftest.nl"
   4268     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4269     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4270     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4271     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4272       # Best one so far, save it but keep looking for a better one
   4273       ac_cv_path_EGREP="$ac_path_EGREP"
   4274       ac_path_EGREP_max=$ac_count
   4275     fi
   4276     # 10*(2^10) chars as input seems more than enough
   4277     test $ac_count -gt 10 && break
   4278   done
   4279   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4280 esac
   4281 
   4282       $ac_path_EGREP_found && break 3
   4283     done
   4284   done
   4285   done
   4286 IFS=$as_save_IFS
   4287   if test -z "$ac_cv_path_EGREP"; then
   4288     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4289   fi
   4290 else
   4291   ac_cv_path_EGREP=$EGREP
   4292 fi
   4293 
   4294    fi
   4295 fi
   4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4297 $as_echo "$ac_cv_path_EGREP" >&6; }
   4298  EGREP="$ac_cv_path_EGREP"
   4299 
   4300 
   4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4302 $as_echo_n "checking for ANSI C header files... " >&6; }
   4303 if ${ac_cv_header_stdc+:} false; then :
   4304   $as_echo_n "(cached) " >&6
   4305 else
   4306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 #include <stdlib.h>
   4309 #include <stdarg.h>
   4310 #include <string.h>
   4311 #include <float.h>
   4312 
   4313 int
   4314 main ()
   4315 {
   4316 
   4317   ;
   4318   return 0;
   4319 }
   4320 _ACEOF
   4321 if ac_fn_c_try_compile "$LINENO"; then :
   4322   ac_cv_header_stdc=yes
   4323 else
   4324   ac_cv_header_stdc=no
   4325 fi
   4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4327 
   4328 if test $ac_cv_header_stdc = yes; then
   4329   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4331 /* end confdefs.h.  */
   4332 #include <string.h>
   4333 
   4334 _ACEOF
   4335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4336   $EGREP "memchr" >/dev/null 2>&1; then :
   4337 
   4338 else
   4339   ac_cv_header_stdc=no
   4340 fi
   4341 rm -f conftest*
   4342 
   4343 fi
   4344 
   4345 if test $ac_cv_header_stdc = yes; then
   4346   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4348 /* end confdefs.h.  */
   4349 #include <stdlib.h>
   4350 
   4351 _ACEOF
   4352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4353   $EGREP "free" >/dev/null 2>&1; then :
   4354 
   4355 else
   4356   ac_cv_header_stdc=no
   4357 fi
   4358 rm -f conftest*
   4359 
   4360 fi
   4361 
   4362 if test $ac_cv_header_stdc = yes; then
   4363   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4364   if test "$cross_compiling" = yes; then :
   4365   :
   4366 else
   4367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4368 /* end confdefs.h.  */
   4369 #include <ctype.h>
   4370 #include <stdlib.h>
   4371 #if ((' ' & 0x0FF) == 0x020)
   4372 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4373 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4374 #else
   4375 # define ISLOWER(c) \
   4376 		   (('a' <= (c) && (c) <= 'i') \
   4377 		     || ('j' <= (c) && (c) <= 'r') \
   4378 		     || ('s' <= (c) && (c) <= 'z'))
   4379 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4380 #endif
   4381 
   4382 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4383 int
   4384 main ()
   4385 {
   4386   int i;
   4387   for (i = 0; i < 256; i++)
   4388     if (XOR (islower (i), ISLOWER (i))
   4389 	|| toupper (i) != TOUPPER (i))
   4390       return 2;
   4391   return 0;
   4392 }
   4393 _ACEOF
   4394 if ac_fn_c_try_run "$LINENO"; then :
   4395 
   4396 else
   4397   ac_cv_header_stdc=no
   4398 fi
   4399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4400   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4401 fi
   4402 
   4403 fi
   4404 fi
   4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4406 $as_echo "$ac_cv_header_stdc" >&6; }
   4407 if test $ac_cv_header_stdc = yes; then
   4408 
   4409 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4410 
   4411 fi
   4412 
   4413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4414 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4415 		  inttypes.h stdint.h unistd.h
   4416 do :
   4417   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4418 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4419 "
   4420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4421   cat >>confdefs.h <<_ACEOF
   4422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4423 _ACEOF
   4424 
   4425 fi
   4426 
   4427 done
   4428 
   4429 
   4430 
   4431   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4432 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4433   MINIX=yes
   4434 else
   4435   MINIX=
   4436 fi
   4437 
   4438 
   4439   if test "$MINIX" = yes; then
   4440 
   4441 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4442 
   4443 
   4444 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4445 
   4446 
   4447 $as_echo "#define _MINIX 1" >>confdefs.h
   4448 
   4449   fi
   4450 
   4451 
   4452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4453 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4454 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4458 /* end confdefs.h.  */
   4459 
   4460 #         define __EXTENSIONS__ 1
   4461           $ac_includes_default
   4462 int
   4463 main ()
   4464 {
   4465 
   4466   ;
   4467   return 0;
   4468 }
   4469 _ACEOF
   4470 if ac_fn_c_try_compile "$LINENO"; then :
   4471   ac_cv_safe_to_define___extensions__=yes
   4472 else
   4473   ac_cv_safe_to_define___extensions__=no
   4474 fi
   4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4476 fi
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4478 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4479   test $ac_cv_safe_to_define___extensions__ = yes &&
   4480     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4481 
   4482   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4483 
   4484   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4485 
   4486   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4487 
   4488   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4489 
   4490 
   4491 
   4492 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4493 
   4494 
   4495 
   4496 
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4505 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4506 if ${ac_cv_prog_cc_c99+:} false; then :
   4507   $as_echo_n "(cached) " >&6
   4508 else
   4509   ac_cv_prog_cc_c99=no
   4510 ac_save_CC=$CC
   4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4512 /* end confdefs.h.  */
   4513 #include <stdarg.h>
   4514 #include <stdbool.h>
   4515 #include <stdlib.h>
   4516 #include <wchar.h>
   4517 #include <stdio.h>
   4518 
   4519 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4520 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4521 #define showlist(...) puts (#__VA_ARGS__)
   4522 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4523 static void
   4524 test_varargs_macros (void)
   4525 {
   4526   int x = 1234;
   4527   int y = 5678;
   4528   debug ("Flag");
   4529   debug ("X = %d\n", x);
   4530   showlist (The first, second, and third items.);
   4531   report (x>y, "x is %d but y is %d", x, y);
   4532 }
   4533 
   4534 // Check long long types.
   4535 #define BIG64 18446744073709551615ull
   4536 #define BIG32 4294967295ul
   4537 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4538 #if !BIG_OK
   4539   your preprocessor is broken;
   4540 #endif
   4541 #if BIG_OK
   4542 #else
   4543   your preprocessor is broken;
   4544 #endif
   4545 static long long int bignum = -9223372036854775807LL;
   4546 static unsigned long long int ubignum = BIG64;
   4547 
   4548 struct incomplete_array
   4549 {
   4550   int datasize;
   4551   double data[];
   4552 };
   4553 
   4554 struct named_init {
   4555   int number;
   4556   const wchar_t *name;
   4557   double average;
   4558 };
   4559 
   4560 typedef const char *ccp;
   4561 
   4562 static inline int
   4563 test_restrict (ccp restrict text)
   4564 {
   4565   // See if C++-style comments work.
   4566   // Iterate through items via the restricted pointer.
   4567   // Also check for declarations in for loops.
   4568   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4569     continue;
   4570   return 0;
   4571 }
   4572 
   4573 // Check varargs and va_copy.
   4574 static void
   4575 test_varargs (const char *format, ...)
   4576 {
   4577   va_list args;
   4578   va_start (args, format);
   4579   va_list args_copy;
   4580   va_copy (args_copy, args);
   4581 
   4582   const char *str;
   4583   int number;
   4584   float fnumber;
   4585 
   4586   while (*format)
   4587     {
   4588       switch (*format++)
   4589 	{
   4590 	case 's': // string
   4591 	  str = va_arg (args_copy, const char *);
   4592 	  break;
   4593 	case 'd': // int
   4594 	  number = va_arg (args_copy, int);
   4595 	  break;
   4596 	case 'f': // float
   4597 	  fnumber = va_arg (args_copy, double);
   4598 	  break;
   4599 	default:
   4600 	  break;
   4601 	}
   4602     }
   4603   va_end (args_copy);
   4604   va_end (args);
   4605 }
   4606 
   4607 int
   4608 main ()
   4609 {
   4610 
   4611   // Check bool.
   4612   _Bool success = false;
   4613 
   4614   // Check restrict.
   4615   if (test_restrict ("String literal") == 0)
   4616     success = true;
   4617   char *restrict newvar = "Another string";
   4618 
   4619   // Check varargs.
   4620   test_varargs ("s, d' f .", "string", 65, 34.234);
   4621   test_varargs_macros ();
   4622 
   4623   // Check flexible array members.
   4624   struct incomplete_array *ia =
   4625     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4626   ia->datasize = 10;
   4627   for (int i = 0; i < ia->datasize; ++i)
   4628     ia->data[i] = i * 1.234;
   4629 
   4630   // Check named initializers.
   4631   struct named_init ni = {
   4632     .number = 34,
   4633     .name = L"Test wide string",
   4634     .average = 543.34343,
   4635   };
   4636 
   4637   ni.number = 58;
   4638 
   4639   int dynamic_array[ni.number];
   4640   dynamic_array[ni.number - 1] = 543;
   4641 
   4642   // work around unused variable warnings
   4643   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4644 	  || dynamic_array[ni.number - 1] != 543);
   4645 
   4646   ;
   4647   return 0;
   4648 }
   4649 _ACEOF
   4650 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4651 do
   4652   CC="$ac_save_CC $ac_arg"
   4653   if ac_fn_c_try_compile "$LINENO"; then :
   4654   ac_cv_prog_cc_c99=$ac_arg
   4655 fi
   4656 rm -f core conftest.err conftest.$ac_objext
   4657   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4658 done
   4659 rm -f conftest.$ac_ext
   4660 CC=$ac_save_CC
   4661 
   4662 fi
   4663 # AC_CACHE_VAL
   4664 case "x$ac_cv_prog_cc_c99" in
   4665   x)
   4666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4667 $as_echo "none needed" >&6; } ;;
   4668   xno)
   4669     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4670 $as_echo "unsupported" >&6; } ;;
   4671   *)
   4672     CC="$CC $ac_cv_prog_cc_c99"
   4673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4674 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4675 esac
   4676 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4677 
   4678 fi
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4686 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4687   CLANGCC="yes"
   4688 else
   4689   CLANGCC="no"
   4690 fi
   4691 
   4692 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4693 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4694   INTELCC="yes"
   4695 else
   4696   INTELCC="no"
   4697 fi
   4698 
   4699 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4700 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4701   SUNCC="yes"
   4702 else
   4703   SUNCC="no"
   4704 fi
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4715 	if test -n "$ac_tool_prefix"; then
   4716   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4717 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4719 $as_echo_n "checking for $ac_word... " >&6; }
   4720 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723   case $PKG_CONFIG in
   4724   [\\/]* | ?:[\\/]*)
   4725   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4726   ;;
   4727   *)
   4728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4729 for as_dir in $PATH
   4730 do
   4731   IFS=$as_save_IFS
   4732   test -z "$as_dir" && as_dir=.
   4733     for ac_exec_ext in '' $ac_executable_extensions; do
   4734   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4735     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4737     break 2
   4738   fi
   4739 done
   4740   done
   4741 IFS=$as_save_IFS
   4742 
   4743   ;;
   4744 esac
   4745 fi
   4746 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4747 if test -n "$PKG_CONFIG"; then
   4748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4749 $as_echo "$PKG_CONFIG" >&6; }
   4750 else
   4751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4752 $as_echo "no" >&6; }
   4753 fi
   4754 
   4755 
   4756 fi
   4757 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4758   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4759   # Extract the first word of "pkg-config", so it can be a program name with args.
   4760 set dummy pkg-config; ac_word=$2
   4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4762 $as_echo_n "checking for $ac_word... " >&6; }
   4763 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4764   $as_echo_n "(cached) " >&6
   4765 else
   4766   case $ac_pt_PKG_CONFIG in
   4767   [\\/]* | ?:[\\/]*)
   4768   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4769   ;;
   4770   *)
   4771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4772 for as_dir in $PATH
   4773 do
   4774   IFS=$as_save_IFS
   4775   test -z "$as_dir" && as_dir=.
   4776     for ac_exec_ext in '' $ac_executable_extensions; do
   4777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4778     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4780     break 2
   4781   fi
   4782 done
   4783   done
   4784 IFS=$as_save_IFS
   4785 
   4786   ;;
   4787 esac
   4788 fi
   4789 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4790 if test -n "$ac_pt_PKG_CONFIG"; then
   4791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4792 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4793 else
   4794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4795 $as_echo "no" >&6; }
   4796 fi
   4797 
   4798   if test "x$ac_pt_PKG_CONFIG" = x; then
   4799     PKG_CONFIG=""
   4800   else
   4801     case $cross_compiling:$ac_tool_warned in
   4802 yes:)
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4805 ac_tool_warned=yes ;;
   4806 esac
   4807     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4808   fi
   4809 else
   4810   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4811 fi
   4812 
   4813 fi
   4814 if test -n "$PKG_CONFIG"; then
   4815 	_pkg_min_version=0.9.0
   4816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4817 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4818 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4820 $as_echo "yes" >&6; }
   4821 	else
   4822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4823 $as_echo "no" >&6; }
   4824 		PKG_CONFIG=""
   4825 	fi
   4826 fi
   4827 # Make sure we can run config.sub.
   4828 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4829   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4830 
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4832 $as_echo_n "checking build system type... " >&6; }
   4833 if ${ac_cv_build+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   ac_build_alias=$build_alias
   4837 test "x$ac_build_alias" = x &&
   4838   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4839 test "x$ac_build_alias" = x &&
   4840   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4841 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4842   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4843 
   4844 fi
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4846 $as_echo "$ac_cv_build" >&6; }
   4847 case $ac_cv_build in
   4848 *-*-*) ;;
   4849 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4850 esac
   4851 build=$ac_cv_build
   4852 ac_save_IFS=$IFS; IFS='-'
   4853 set x $ac_cv_build
   4854 shift
   4855 build_cpu=$1
   4856 build_vendor=$2
   4857 shift; shift
   4858 # Remember, the first character of IFS is used to create $*,
   4859 # except with old shells:
   4860 build_os=$*
   4861 IFS=$ac_save_IFS
   4862 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4863 
   4864 
   4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4866 $as_echo_n "checking host system type... " >&6; }
   4867 if ${ac_cv_host+:} false; then :
   4868   $as_echo_n "(cached) " >&6
   4869 else
   4870   if test "x$host_alias" = x; then
   4871   ac_cv_host=$ac_cv_build
   4872 else
   4873   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4874     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4875 fi
   4876 
   4877 fi
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4879 $as_echo "$ac_cv_host" >&6; }
   4880 case $ac_cv_host in
   4881 *-*-*) ;;
   4882 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4883 esac
   4884 host=$ac_cv_host
   4885 ac_save_IFS=$IFS; IFS='-'
   4886 set x $ac_cv_host
   4887 shift
   4888 host_cpu=$1
   4889 host_vendor=$2
   4890 shift; shift
   4891 # Remember, the first character of IFS is used to create $*,
   4892 # except with old shells:
   4893 host_os=$*
   4894 IFS=$ac_save_IFS
   4895 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4896 
   4897 
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4899 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4900 if ${ac_cv_path_SED+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4904      for ac_i in 1 2 3 4 5 6 7; do
   4905        ac_script="$ac_script$as_nl$ac_script"
   4906      done
   4907      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4908      { ac_script=; unset ac_script;}
   4909      if test -z "$SED"; then
   4910   ac_path_SED_found=false
   4911   # Loop through the user's path and test for each of PROGNAME-LIST
   4912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4913 for as_dir in $PATH
   4914 do
   4915   IFS=$as_save_IFS
   4916   test -z "$as_dir" && as_dir=.
   4917     for ac_prog in sed gsed; do
   4918     for ac_exec_ext in '' $ac_executable_extensions; do
   4919       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4920       as_fn_executable_p "$ac_path_SED" || continue
   4921 # Check for GNU ac_path_SED and select it if it is found.
   4922   # Check for GNU $ac_path_SED
   4923 case `"$ac_path_SED" --version 2>&1` in
   4924 *GNU*)
   4925   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4926 *)
   4927   ac_count=0
   4928   $as_echo_n 0123456789 >"conftest.in"
   4929   while :
   4930   do
   4931     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4932     mv "conftest.tmp" "conftest.in"
   4933     cp "conftest.in" "conftest.nl"
   4934     $as_echo '' >> "conftest.nl"
   4935     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4936     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4937     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4938     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4939       # Best one so far, save it but keep looking for a better one
   4940       ac_cv_path_SED="$ac_path_SED"
   4941       ac_path_SED_max=$ac_count
   4942     fi
   4943     # 10*(2^10) chars as input seems more than enough
   4944     test $ac_count -gt 10 && break
   4945   done
   4946   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4947 esac
   4948 
   4949       $ac_path_SED_found && break 3
   4950     done
   4951   done
   4952   done
   4953 IFS=$as_save_IFS
   4954   if test -z "$ac_cv_path_SED"; then
   4955     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4956   fi
   4957 else
   4958   ac_cv_path_SED=$SED
   4959 fi
   4960 
   4961 fi
   4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4963 $as_echo "$ac_cv_path_SED" >&6; }
   4964  SED="$ac_cv_path_SED"
   4965   rm -f conftest.sed
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 # Check whether --enable-selective-werror was given.
   4973 if test "${enable_selective_werror+set}" = set; then :
   4974   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4975 else
   4976   SELECTIVE_WERROR=yes
   4977 fi
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4984 if test "x$SUNCC" = "xyes"; then
   4985     BASE_CFLAGS="-v"
   4986 else
   4987     BASE_CFLAGS=""
   4988 fi
   4989 
   4990 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 xorg_testset_save_CFLAGS="$CFLAGS"
   5005 
   5006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5014 /* end confdefs.h.  */
   5015 int i;
   5016 _ACEOF
   5017 if ac_fn_c_try_compile "$LINENO"; then :
   5018   xorg_cv_cc_flag_unknown_warning_option=yes
   5019 else
   5020   xorg_cv_cc_flag_unknown_warning_option=no
   5021 fi
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 fi
   5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5027 	CFLAGS="$xorg_testset_save_CFLAGS"
   5028 fi
   5029 
   5030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 	fi
   5034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5041 /* end confdefs.h.  */
   5042 int i;
   5043 _ACEOF
   5044 if ac_fn_c_try_compile "$LINENO"; then :
   5045   xorg_cv_cc_flag_unused_command_line_argument=yes
   5046 else
   5047   xorg_cv_cc_flag_unused_command_line_argument=no
   5048 fi
   5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5050 fi
   5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5054 	CFLAGS="$xorg_testset_save_CFLAGS"
   5055 fi
   5056 
   5057 found="no"
   5058 
   5059 	if test $found = "no" ; then
   5060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5062 		fi
   5063 
   5064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 		fi
   5067 
   5068 		CFLAGS="$CFLAGS -Wall"
   5069 
   5070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5071 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5072 		cacheid=xorg_cv_cc_flag__Wall
   5073 		if eval \${$cacheid+:} false; then :
   5074   $as_echo_n "(cached) " >&6
   5075 else
   5076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5077 /* end confdefs.h.  */
   5078 int i;
   5079 int
   5080 main ()
   5081 {
   5082 
   5083   ;
   5084   return 0;
   5085 }
   5086 _ACEOF
   5087 if ac_fn_c_try_link "$LINENO"; then :
   5088   eval $cacheid=yes
   5089 else
   5090   eval $cacheid=no
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext \
   5093     conftest$ac_exeext conftest.$ac_ext
   5094 fi
   5095 
   5096 
   5097 		CFLAGS="$xorg_testset_save_CFLAGS"
   5098 
   5099 		eval supported=\$$cacheid
   5100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5101 $as_echo "$supported" >&6; }
   5102 		if test "$supported" = "yes" ; then
   5103 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5104 			found="yes"
   5105 		fi
   5106 	fi
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 xorg_testset_save_CFLAGS="$CFLAGS"
   5123 
   5124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5127 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5128 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5129   $as_echo_n "(cached) " >&6
   5130 else
   5131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 int i;
   5134 _ACEOF
   5135 if ac_fn_c_try_compile "$LINENO"; then :
   5136   xorg_cv_cc_flag_unknown_warning_option=yes
   5137 else
   5138   xorg_cv_cc_flag_unknown_warning_option=no
   5139 fi
   5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5141 fi
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5143 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5145 	CFLAGS="$xorg_testset_save_CFLAGS"
   5146 fi
   5147 
   5148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 	fi
   5152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5154 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5155 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5159 /* end confdefs.h.  */
   5160 int i;
   5161 _ACEOF
   5162 if ac_fn_c_try_compile "$LINENO"; then :
   5163   xorg_cv_cc_flag_unused_command_line_argument=yes
   5164 else
   5165   xorg_cv_cc_flag_unused_command_line_argument=no
   5166 fi
   5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5168 fi
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5170 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5172 	CFLAGS="$xorg_testset_save_CFLAGS"
   5173 fi
   5174 
   5175 found="no"
   5176 
   5177 	if test $found = "no" ; then
   5178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 		fi
   5181 
   5182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 		fi
   5185 
   5186 		CFLAGS="$CFLAGS -Wpointer-arith"
   5187 
   5188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5189 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5190 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5191 		if eval \${$cacheid+:} false; then :
   5192   $as_echo_n "(cached) " >&6
   5193 else
   5194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 int i;
   5197 int
   5198 main ()
   5199 {
   5200 
   5201   ;
   5202   return 0;
   5203 }
   5204 _ACEOF
   5205 if ac_fn_c_try_link "$LINENO"; then :
   5206   eval $cacheid=yes
   5207 else
   5208   eval $cacheid=no
   5209 fi
   5210 rm -f core conftest.err conftest.$ac_objext \
   5211     conftest$ac_exeext conftest.$ac_ext
   5212 fi
   5213 
   5214 
   5215 		CFLAGS="$xorg_testset_save_CFLAGS"
   5216 
   5217 		eval supported=\$$cacheid
   5218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5219 $as_echo "$supported" >&6; }
   5220 		if test "$supported" = "yes" ; then
   5221 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5222 			found="yes"
   5223 		fi
   5224 	fi
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 xorg_testset_save_CFLAGS="$CFLAGS"
   5241 
   5242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5245 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5246 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5247   $as_echo_n "(cached) " >&6
   5248 else
   5249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5250 /* end confdefs.h.  */
   5251 int i;
   5252 _ACEOF
   5253 if ac_fn_c_try_compile "$LINENO"; then :
   5254   xorg_cv_cc_flag_unknown_warning_option=yes
   5255 else
   5256   xorg_cv_cc_flag_unknown_warning_option=no
   5257 fi
   5258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5259 fi
   5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5261 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5263 	CFLAGS="$xorg_testset_save_CFLAGS"
   5264 fi
   5265 
   5266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5269 	fi
   5270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5272 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5273 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5274   $as_echo_n "(cached) " >&6
   5275 else
   5276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5277 /* end confdefs.h.  */
   5278 int i;
   5279 _ACEOF
   5280 if ac_fn_c_try_compile "$LINENO"; then :
   5281   xorg_cv_cc_flag_unused_command_line_argument=yes
   5282 else
   5283   xorg_cv_cc_flag_unused_command_line_argument=no
   5284 fi
   5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5286 fi
   5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5288 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5290 	CFLAGS="$xorg_testset_save_CFLAGS"
   5291 fi
   5292 
   5293 found="no"
   5294 
   5295 	if test $found = "no" ; then
   5296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5298 		fi
   5299 
   5300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5302 		fi
   5303 
   5304 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5305 
   5306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5307 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5308 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5309 		if eval \${$cacheid+:} false; then :
   5310   $as_echo_n "(cached) " >&6
   5311 else
   5312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5313 /* end confdefs.h.  */
   5314 int i;
   5315 int
   5316 main ()
   5317 {
   5318 
   5319   ;
   5320   return 0;
   5321 }
   5322 _ACEOF
   5323 if ac_fn_c_try_link "$LINENO"; then :
   5324   eval $cacheid=yes
   5325 else
   5326   eval $cacheid=no
   5327 fi
   5328 rm -f core conftest.err conftest.$ac_objext \
   5329     conftest$ac_exeext conftest.$ac_ext
   5330 fi
   5331 
   5332 
   5333 		CFLAGS="$xorg_testset_save_CFLAGS"
   5334 
   5335 		eval supported=\$$cacheid
   5336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5337 $as_echo "$supported" >&6; }
   5338 		if test "$supported" = "yes" ; then
   5339 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5340 			found="yes"
   5341 		fi
   5342 	fi
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 xorg_testset_save_CFLAGS="$CFLAGS"
   5359 
   5360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5363 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5364 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5368 /* end confdefs.h.  */
   5369 int i;
   5370 _ACEOF
   5371 if ac_fn_c_try_compile "$LINENO"; then :
   5372   xorg_cv_cc_flag_unknown_warning_option=yes
   5373 else
   5374   xorg_cv_cc_flag_unknown_warning_option=no
   5375 fi
   5376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5377 fi
   5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5379 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5381 	CFLAGS="$xorg_testset_save_CFLAGS"
   5382 fi
   5383 
   5384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 	fi
   5388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5390 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5391 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5392   $as_echo_n "(cached) " >&6
   5393 else
   5394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 _ACEOF
   5398 if ac_fn_c_try_compile "$LINENO"; then :
   5399   xorg_cv_cc_flag_unused_command_line_argument=yes
   5400 else
   5401   xorg_cv_cc_flag_unused_command_line_argument=no
   5402 fi
   5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5404 fi
   5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5406 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5408 	CFLAGS="$xorg_testset_save_CFLAGS"
   5409 fi
   5410 
   5411 found="no"
   5412 
   5413 	if test $found = "no" ; then
   5414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5416 		fi
   5417 
   5418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5420 		fi
   5421 
   5422 		CFLAGS="$CFLAGS -Wformat=2"
   5423 
   5424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5425 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5426 		cacheid=xorg_cv_cc_flag__Wformat_2
   5427 		if eval \${$cacheid+:} false; then :
   5428   $as_echo_n "(cached) " >&6
   5429 else
   5430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5431 /* end confdefs.h.  */
   5432 int i;
   5433 int
   5434 main ()
   5435 {
   5436 
   5437   ;
   5438   return 0;
   5439 }
   5440 _ACEOF
   5441 if ac_fn_c_try_link "$LINENO"; then :
   5442   eval $cacheid=yes
   5443 else
   5444   eval $cacheid=no
   5445 fi
   5446 rm -f core conftest.err conftest.$ac_objext \
   5447     conftest$ac_exeext conftest.$ac_ext
   5448 fi
   5449 
   5450 
   5451 		CFLAGS="$xorg_testset_save_CFLAGS"
   5452 
   5453 		eval supported=\$$cacheid
   5454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5455 $as_echo "$supported" >&6; }
   5456 		if test "$supported" = "yes" ; then
   5457 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5458 			found="yes"
   5459 		fi
   5460 	fi
   5461 
   5462 	if test $found = "no" ; then
   5463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5465 		fi
   5466 
   5467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5469 		fi
   5470 
   5471 		CFLAGS="$CFLAGS -Wformat"
   5472 
   5473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5474 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5475 		cacheid=xorg_cv_cc_flag__Wformat
   5476 		if eval \${$cacheid+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5480 /* end confdefs.h.  */
   5481 int i;
   5482 int
   5483 main ()
   5484 {
   5485 
   5486   ;
   5487   return 0;
   5488 }
   5489 _ACEOF
   5490 if ac_fn_c_try_link "$LINENO"; then :
   5491   eval $cacheid=yes
   5492 else
   5493   eval $cacheid=no
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext \
   5496     conftest$ac_exeext conftest.$ac_ext
   5497 fi
   5498 
   5499 
   5500 		CFLAGS="$xorg_testset_save_CFLAGS"
   5501 
   5502 		eval supported=\$$cacheid
   5503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5504 $as_echo "$supported" >&6; }
   5505 		if test "$supported" = "yes" ; then
   5506 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5507 			found="yes"
   5508 		fi
   5509 	fi
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 xorg_testset_save_CFLAGS="$CFLAGS"
   5528 
   5529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 int i;
   5539 _ACEOF
   5540 if ac_fn_c_try_compile "$LINENO"; then :
   5541   xorg_cv_cc_flag_unknown_warning_option=yes
   5542 else
   5543   xorg_cv_cc_flag_unknown_warning_option=no
   5544 fi
   5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5546 fi
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5550 	CFLAGS="$xorg_testset_save_CFLAGS"
   5551 fi
   5552 
   5553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5556 	fi
   5557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5561   $as_echo_n "(cached) " >&6
   5562 else
   5563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"; then :
   5568   xorg_cv_cc_flag_unused_command_line_argument=yes
   5569 else
   5570   xorg_cv_cc_flag_unused_command_line_argument=no
   5571 fi
   5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5573 fi
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5577 	CFLAGS="$xorg_testset_save_CFLAGS"
   5578 fi
   5579 
   5580 found="no"
   5581 
   5582 	if test $found = "no" ; then
   5583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5585 		fi
   5586 
   5587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 		fi
   5590 
   5591 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5592 
   5593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5594 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5595 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5596 		if eval \${$cacheid+:} false; then :
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5600 /* end confdefs.h.  */
   5601 int i;
   5602 int
   5603 main ()
   5604 {
   5605 
   5606   ;
   5607   return 0;
   5608 }
   5609 _ACEOF
   5610 if ac_fn_c_try_link "$LINENO"; then :
   5611   eval $cacheid=yes
   5612 else
   5613   eval $cacheid=no
   5614 fi
   5615 rm -f core conftest.err conftest.$ac_objext \
   5616     conftest$ac_exeext conftest.$ac_ext
   5617 fi
   5618 
   5619 
   5620 		CFLAGS="$xorg_testset_save_CFLAGS"
   5621 
   5622 		eval supported=\$$cacheid
   5623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5624 $as_echo "$supported" >&6; }
   5625 		if test "$supported" = "yes" ; then
   5626 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5627 			found="yes"
   5628 		fi
   5629 	fi
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 xorg_testset_save_CFLAGS="$CFLAGS"
   5646 
   5647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5652   $as_echo_n "(cached) " >&6
   5653 else
   5654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5655 /* end confdefs.h.  */
   5656 int i;
   5657 _ACEOF
   5658 if ac_fn_c_try_compile "$LINENO"; then :
   5659   xorg_cv_cc_flag_unknown_warning_option=yes
   5660 else
   5661   xorg_cv_cc_flag_unknown_warning_option=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5664 fi
   5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	fi
   5675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5682 /* end confdefs.h.  */
   5683 int i;
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"; then :
   5686   xorg_cv_cc_flag_unused_command_line_argument=yes
   5687 else
   5688   xorg_cv_cc_flag_unused_command_line_argument=no
   5689 fi
   5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5691 fi
   5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5695 	CFLAGS="$xorg_testset_save_CFLAGS"
   5696 fi
   5697 
   5698 found="no"
   5699 
   5700 	if test $found = "no" ; then
   5701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5703 		fi
   5704 
   5705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 		fi
   5708 
   5709 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5710 
   5711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5712 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5713 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5714 		if eval \${$cacheid+:} false; then :
   5715   $as_echo_n "(cached) " >&6
   5716 else
   5717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 int
   5721 main ()
   5722 {
   5723 
   5724   ;
   5725   return 0;
   5726 }
   5727 _ACEOF
   5728 if ac_fn_c_try_link "$LINENO"; then :
   5729   eval $cacheid=yes
   5730 else
   5731   eval $cacheid=no
   5732 fi
   5733 rm -f core conftest.err conftest.$ac_objext \
   5734     conftest$ac_exeext conftest.$ac_ext
   5735 fi
   5736 
   5737 
   5738 		CFLAGS="$xorg_testset_save_CFLAGS"
   5739 
   5740 		eval supported=\$$cacheid
   5741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5742 $as_echo "$supported" >&6; }
   5743 		if test "$supported" = "yes" ; then
   5744 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5745 			found="yes"
   5746 		fi
   5747 	fi
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 xorg_testset_save_CFLAGS="$CFLAGS"
   5764 
   5765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 int i;
   5775 _ACEOF
   5776 if ac_fn_c_try_compile "$LINENO"; then :
   5777   xorg_cv_cc_flag_unknown_warning_option=yes
   5778 else
   5779   xorg_cv_cc_flag_unknown_warning_option=no
   5780 fi
   5781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5782 fi
   5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5786 	CFLAGS="$xorg_testset_save_CFLAGS"
   5787 fi
   5788 
   5789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5792 	fi
   5793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5797   $as_echo_n "(cached) " >&6
   5798 else
   5799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5800 /* end confdefs.h.  */
   5801 int i;
   5802 _ACEOF
   5803 if ac_fn_c_try_compile "$LINENO"; then :
   5804   xorg_cv_cc_flag_unused_command_line_argument=yes
   5805 else
   5806   xorg_cv_cc_flag_unused_command_line_argument=no
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5809 fi
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5813 	CFLAGS="$xorg_testset_save_CFLAGS"
   5814 fi
   5815 
   5816 found="no"
   5817 
   5818 	if test $found = "no" ; then
   5819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5821 		fi
   5822 
   5823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 		fi
   5826 
   5827 		CFLAGS="$CFLAGS -Wnested-externs"
   5828 
   5829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5830 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5831 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5832 		if eval \${$cacheid+:} false; then :
   5833   $as_echo_n "(cached) " >&6
   5834 else
   5835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5836 /* end confdefs.h.  */
   5837 int i;
   5838 int
   5839 main ()
   5840 {
   5841 
   5842   ;
   5843   return 0;
   5844 }
   5845 _ACEOF
   5846 if ac_fn_c_try_link "$LINENO"; then :
   5847   eval $cacheid=yes
   5848 else
   5849   eval $cacheid=no
   5850 fi
   5851 rm -f core conftest.err conftest.$ac_objext \
   5852     conftest$ac_exeext conftest.$ac_ext
   5853 fi
   5854 
   5855 
   5856 		CFLAGS="$xorg_testset_save_CFLAGS"
   5857 
   5858 		eval supported=\$$cacheid
   5859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5860 $as_echo "$supported" >&6; }
   5861 		if test "$supported" = "yes" ; then
   5862 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5863 			found="yes"
   5864 		fi
   5865 	fi
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 xorg_testset_save_CFLAGS="$CFLAGS"
   5882 
   5883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5891 /* end confdefs.h.  */
   5892 int i;
   5893 _ACEOF
   5894 if ac_fn_c_try_compile "$LINENO"; then :
   5895   xorg_cv_cc_flag_unknown_warning_option=yes
   5896 else
   5897   xorg_cv_cc_flag_unknown_warning_option=no
   5898 fi
   5899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5900 fi
   5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5904 	CFLAGS="$xorg_testset_save_CFLAGS"
   5905 fi
   5906 
   5907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5910 	fi
   5911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5915   $as_echo_n "(cached) " >&6
   5916 else
   5917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5918 /* end confdefs.h.  */
   5919 int i;
   5920 _ACEOF
   5921 if ac_fn_c_try_compile "$LINENO"; then :
   5922   xorg_cv_cc_flag_unused_command_line_argument=yes
   5923 else
   5924   xorg_cv_cc_flag_unused_command_line_argument=no
   5925 fi
   5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5927 fi
   5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5931 	CFLAGS="$xorg_testset_save_CFLAGS"
   5932 fi
   5933 
   5934 found="no"
   5935 
   5936 	if test $found = "no" ; then
   5937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5939 		fi
   5940 
   5941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5943 		fi
   5944 
   5945 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5946 
   5947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5948 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5949 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5950 		if eval \${$cacheid+:} false; then :
   5951   $as_echo_n "(cached) " >&6
   5952 else
   5953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5954 /* end confdefs.h.  */
   5955 int i;
   5956 int
   5957 main ()
   5958 {
   5959 
   5960   ;
   5961   return 0;
   5962 }
   5963 _ACEOF
   5964 if ac_fn_c_try_link "$LINENO"; then :
   5965   eval $cacheid=yes
   5966 else
   5967   eval $cacheid=no
   5968 fi
   5969 rm -f core conftest.err conftest.$ac_objext \
   5970     conftest$ac_exeext conftest.$ac_ext
   5971 fi
   5972 
   5973 
   5974 		CFLAGS="$xorg_testset_save_CFLAGS"
   5975 
   5976 		eval supported=\$$cacheid
   5977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5978 $as_echo "$supported" >&6; }
   5979 		if test "$supported" = "yes" ; then
   5980 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5981 			found="yes"
   5982 		fi
   5983 	fi
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 xorg_testset_save_CFLAGS="$CFLAGS"
   6000 
   6001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6006   $as_echo_n "(cached) " >&6
   6007 else
   6008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"; then :
   6013   xorg_cv_cc_flag_unknown_warning_option=yes
   6014 else
   6015   xorg_cv_cc_flag_unknown_warning_option=no
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6018 fi
   6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6022 	CFLAGS="$xorg_testset_save_CFLAGS"
   6023 fi
   6024 
   6025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	fi
   6029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6033   $as_echo_n "(cached) " >&6
   6034 else
   6035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6036 /* end confdefs.h.  */
   6037 int i;
   6038 _ACEOF
   6039 if ac_fn_c_try_compile "$LINENO"; then :
   6040   xorg_cv_cc_flag_unused_command_line_argument=yes
   6041 else
   6042   xorg_cv_cc_flag_unused_command_line_argument=no
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6045 fi
   6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6049 	CFLAGS="$xorg_testset_save_CFLAGS"
   6050 fi
   6051 
   6052 found="no"
   6053 
   6054 	if test $found = "no" ; then
   6055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6057 		fi
   6058 
   6059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6061 		fi
   6062 
   6063 		CFLAGS="$CFLAGS -Wold-style-definition"
   6064 
   6065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6066 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6067 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6068 		if eval \${$cacheid+:} false; then :
   6069   $as_echo_n "(cached) " >&6
   6070 else
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 int
   6075 main ()
   6076 {
   6077 
   6078   ;
   6079   return 0;
   6080 }
   6081 _ACEOF
   6082 if ac_fn_c_try_link "$LINENO"; then :
   6083   eval $cacheid=yes
   6084 else
   6085   eval $cacheid=no
   6086 fi
   6087 rm -f core conftest.err conftest.$ac_objext \
   6088     conftest$ac_exeext conftest.$ac_ext
   6089 fi
   6090 
   6091 
   6092 		CFLAGS="$xorg_testset_save_CFLAGS"
   6093 
   6094 		eval supported=\$$cacheid
   6095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6096 $as_echo "$supported" >&6; }
   6097 		if test "$supported" = "yes" ; then
   6098 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6099 			found="yes"
   6100 		fi
   6101 	fi
   6102 
   6103 	if test $found = "no" ; then
   6104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6106 		fi
   6107 
   6108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6110 		fi
   6111 
   6112 		CFLAGS="$CFLAGS -fd"
   6113 
   6114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6115 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6116 		cacheid=xorg_cv_cc_flag__fd
   6117 		if eval \${$cacheid+:} false; then :
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6121 /* end confdefs.h.  */
   6122 int i;
   6123 int
   6124 main ()
   6125 {
   6126 
   6127   ;
   6128   return 0;
   6129 }
   6130 _ACEOF
   6131 if ac_fn_c_try_link "$LINENO"; then :
   6132   eval $cacheid=yes
   6133 else
   6134   eval $cacheid=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext \
   6137     conftest$ac_exeext conftest.$ac_ext
   6138 fi
   6139 
   6140 
   6141 		CFLAGS="$xorg_testset_save_CFLAGS"
   6142 
   6143 		eval supported=\$$cacheid
   6144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6145 $as_echo "$supported" >&6; }
   6146 		if test "$supported" = "yes" ; then
   6147 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6148 			found="yes"
   6149 		fi
   6150 	fi
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 xorg_testset_save_CFLAGS="$CFLAGS"
   6167 
   6168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6173   $as_echo_n "(cached) " >&6
   6174 else
   6175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 _ACEOF
   6179 if ac_fn_c_try_compile "$LINENO"; then :
   6180   xorg_cv_cc_flag_unknown_warning_option=yes
   6181 else
   6182   xorg_cv_cc_flag_unknown_warning_option=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6185 fi
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6189 	CFLAGS="$xorg_testset_save_CFLAGS"
   6190 fi
   6191 
   6192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6195 	fi
   6196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6200   $as_echo_n "(cached) " >&6
   6201 else
   6202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6203 /* end confdefs.h.  */
   6204 int i;
   6205 _ACEOF
   6206 if ac_fn_c_try_compile "$LINENO"; then :
   6207   xorg_cv_cc_flag_unused_command_line_argument=yes
   6208 else
   6209   xorg_cv_cc_flag_unused_command_line_argument=no
   6210 fi
   6211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6212 fi
   6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6216 	CFLAGS="$xorg_testset_save_CFLAGS"
   6217 fi
   6218 
   6219 found="no"
   6220 
   6221 	if test $found = "no" ; then
   6222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 		fi
   6225 
   6226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6228 		fi
   6229 
   6230 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6231 
   6232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6233 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6234 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6235 		if eval \${$cacheid+:} false; then :
   6236   $as_echo_n "(cached) " >&6
   6237 else
   6238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6239 /* end confdefs.h.  */
   6240 int i;
   6241 int
   6242 main ()
   6243 {
   6244 
   6245   ;
   6246   return 0;
   6247 }
   6248 _ACEOF
   6249 if ac_fn_c_try_link "$LINENO"; then :
   6250   eval $cacheid=yes
   6251 else
   6252   eval $cacheid=no
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext \
   6255     conftest$ac_exeext conftest.$ac_ext
   6256 fi
   6257 
   6258 
   6259 		CFLAGS="$xorg_testset_save_CFLAGS"
   6260 
   6261 		eval supported=\$$cacheid
   6262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6263 $as_echo "$supported" >&6; }
   6264 		if test "$supported" = "yes" ; then
   6265 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6266 			found="yes"
   6267 		fi
   6268 	fi
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 # This chunk adds additional warnings that could catch undesired effects.
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 xorg_testset_save_CFLAGS="$CFLAGS"
   6289 
   6290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 _ACEOF
   6301 if ac_fn_c_try_compile "$LINENO"; then :
   6302   xorg_cv_cc_flag_unknown_warning_option=yes
   6303 else
   6304   xorg_cv_cc_flag_unknown_warning_option=no
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6307 fi
   6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	fi
   6318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 int i;
   6327 _ACEOF
   6328 if ac_fn_c_try_compile "$LINENO"; then :
   6329   xorg_cv_cc_flag_unused_command_line_argument=yes
   6330 else
   6331   xorg_cv_cc_flag_unused_command_line_argument=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6334 fi
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6338 	CFLAGS="$xorg_testset_save_CFLAGS"
   6339 fi
   6340 
   6341 found="no"
   6342 
   6343 	if test $found = "no" ; then
   6344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 		fi
   6347 
   6348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 		fi
   6351 
   6352 		CFLAGS="$CFLAGS -Wunused"
   6353 
   6354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6355 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6356 		cacheid=xorg_cv_cc_flag__Wunused
   6357 		if eval \${$cacheid+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 int
   6364 main ()
   6365 {
   6366 
   6367   ;
   6368   return 0;
   6369 }
   6370 _ACEOF
   6371 if ac_fn_c_try_link "$LINENO"; then :
   6372   eval $cacheid=yes
   6373 else
   6374   eval $cacheid=no
   6375 fi
   6376 rm -f core conftest.err conftest.$ac_objext \
   6377     conftest$ac_exeext conftest.$ac_ext
   6378 fi
   6379 
   6380 
   6381 		CFLAGS="$xorg_testset_save_CFLAGS"
   6382 
   6383 		eval supported=\$$cacheid
   6384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6385 $as_echo "$supported" >&6; }
   6386 		if test "$supported" = "yes" ; then
   6387 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6388 			found="yes"
   6389 		fi
   6390 	fi
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 xorg_testset_save_CFLAGS="$CFLAGS"
   6407 
   6408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6413   $as_echo_n "(cached) " >&6
   6414 else
   6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6416 /* end confdefs.h.  */
   6417 int i;
   6418 _ACEOF
   6419 if ac_fn_c_try_compile "$LINENO"; then :
   6420   xorg_cv_cc_flag_unknown_warning_option=yes
   6421 else
   6422   xorg_cv_cc_flag_unknown_warning_option=no
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6425 fi
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6429 	CFLAGS="$xorg_testset_save_CFLAGS"
   6430 fi
   6431 
   6432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 	fi
   6436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 _ACEOF
   6446 if ac_fn_c_try_compile "$LINENO"; then :
   6447   xorg_cv_cc_flag_unused_command_line_argument=yes
   6448 else
   6449   xorg_cv_cc_flag_unused_command_line_argument=no
   6450 fi
   6451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6452 fi
   6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6456 	CFLAGS="$xorg_testset_save_CFLAGS"
   6457 fi
   6458 
   6459 found="no"
   6460 
   6461 	if test $found = "no" ; then
   6462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6464 		fi
   6465 
   6466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 		fi
   6469 
   6470 		CFLAGS="$CFLAGS -Wuninitialized"
   6471 
   6472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6473 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6474 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6475 		if eval \${$cacheid+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 int
   6482 main ()
   6483 {
   6484 
   6485   ;
   6486   return 0;
   6487 }
   6488 _ACEOF
   6489 if ac_fn_c_try_link "$LINENO"; then :
   6490   eval $cacheid=yes
   6491 else
   6492   eval $cacheid=no
   6493 fi
   6494 rm -f core conftest.err conftest.$ac_objext \
   6495     conftest$ac_exeext conftest.$ac_ext
   6496 fi
   6497 
   6498 
   6499 		CFLAGS="$xorg_testset_save_CFLAGS"
   6500 
   6501 		eval supported=\$$cacheid
   6502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6503 $as_echo "$supported" >&6; }
   6504 		if test "$supported" = "yes" ; then
   6505 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6506 			found="yes"
   6507 		fi
   6508 	fi
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 xorg_testset_save_CFLAGS="$CFLAGS"
   6525 
   6526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 int i;
   6536 _ACEOF
   6537 if ac_fn_c_try_compile "$LINENO"; then :
   6538   xorg_cv_cc_flag_unknown_warning_option=yes
   6539 else
   6540   xorg_cv_cc_flag_unknown_warning_option=no
   6541 fi
   6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6543 fi
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6547 	CFLAGS="$xorg_testset_save_CFLAGS"
   6548 fi
   6549 
   6550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	fi
   6554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6558   $as_echo_n "(cached) " >&6
   6559 else
   6560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6561 /* end confdefs.h.  */
   6562 int i;
   6563 _ACEOF
   6564 if ac_fn_c_try_compile "$LINENO"; then :
   6565   xorg_cv_cc_flag_unused_command_line_argument=yes
   6566 else
   6567   xorg_cv_cc_flag_unused_command_line_argument=no
   6568 fi
   6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6570 fi
   6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6574 	CFLAGS="$xorg_testset_save_CFLAGS"
   6575 fi
   6576 
   6577 found="no"
   6578 
   6579 	if test $found = "no" ; then
   6580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6582 		fi
   6583 
   6584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 		fi
   6587 
   6588 		CFLAGS="$CFLAGS -Wshadow"
   6589 
   6590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6591 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6592 		cacheid=xorg_cv_cc_flag__Wshadow
   6593 		if eval \${$cacheid+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6597 /* end confdefs.h.  */
   6598 int i;
   6599 int
   6600 main ()
   6601 {
   6602 
   6603   ;
   6604   return 0;
   6605 }
   6606 _ACEOF
   6607 if ac_fn_c_try_link "$LINENO"; then :
   6608   eval $cacheid=yes
   6609 else
   6610   eval $cacheid=no
   6611 fi
   6612 rm -f core conftest.err conftest.$ac_objext \
   6613     conftest$ac_exeext conftest.$ac_ext
   6614 fi
   6615 
   6616 
   6617 		CFLAGS="$xorg_testset_save_CFLAGS"
   6618 
   6619 		eval supported=\$$cacheid
   6620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6621 $as_echo "$supported" >&6; }
   6622 		if test "$supported" = "yes" ; then
   6623 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6624 			found="yes"
   6625 		fi
   6626 	fi
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 xorg_testset_save_CFLAGS="$CFLAGS"
   6643 
   6644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"; then :
   6656   xorg_cv_cc_flag_unknown_warning_option=yes
   6657 else
   6658   xorg_cv_cc_flag_unknown_warning_option=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6661 fi
   6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6665 	CFLAGS="$xorg_testset_save_CFLAGS"
   6666 fi
   6667 
   6668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 	fi
   6672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6676   $as_echo_n "(cached) " >&6
   6677 else
   6678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6679 /* end confdefs.h.  */
   6680 int i;
   6681 _ACEOF
   6682 if ac_fn_c_try_compile "$LINENO"; then :
   6683   xorg_cv_cc_flag_unused_command_line_argument=yes
   6684 else
   6685   xorg_cv_cc_flag_unused_command_line_argument=no
   6686 fi
   6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6688 fi
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6692 	CFLAGS="$xorg_testset_save_CFLAGS"
   6693 fi
   6694 
   6695 found="no"
   6696 
   6697 	if test $found = "no" ; then
   6698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6700 		fi
   6701 
   6702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 		fi
   6705 
   6706 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6707 
   6708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6709 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6710 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6711 		if eval \${$cacheid+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 int
   6718 main ()
   6719 {
   6720 
   6721   ;
   6722   return 0;
   6723 }
   6724 _ACEOF
   6725 if ac_fn_c_try_link "$LINENO"; then :
   6726   eval $cacheid=yes
   6727 else
   6728   eval $cacheid=no
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext \
   6731     conftest$ac_exeext conftest.$ac_ext
   6732 fi
   6733 
   6734 
   6735 		CFLAGS="$xorg_testset_save_CFLAGS"
   6736 
   6737 		eval supported=\$$cacheid
   6738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6739 $as_echo "$supported" >&6; }
   6740 		if test "$supported" = "yes" ; then
   6741 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6742 			found="yes"
   6743 		fi
   6744 	fi
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 xorg_testset_save_CFLAGS="$CFLAGS"
   6761 
   6762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6767   $as_echo_n "(cached) " >&6
   6768 else
   6769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6770 /* end confdefs.h.  */
   6771 int i;
   6772 _ACEOF
   6773 if ac_fn_c_try_compile "$LINENO"; then :
   6774   xorg_cv_cc_flag_unknown_warning_option=yes
   6775 else
   6776   xorg_cv_cc_flag_unknown_warning_option=no
   6777 fi
   6778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6779 fi
   6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6783 	CFLAGS="$xorg_testset_save_CFLAGS"
   6784 fi
   6785 
   6786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6789 	fi
   6790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6794   $as_echo_n "(cached) " >&6
   6795 else
   6796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6797 /* end confdefs.h.  */
   6798 int i;
   6799 _ACEOF
   6800 if ac_fn_c_try_compile "$LINENO"; then :
   6801   xorg_cv_cc_flag_unused_command_line_argument=yes
   6802 else
   6803   xorg_cv_cc_flag_unused_command_line_argument=no
   6804 fi
   6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6806 fi
   6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6810 	CFLAGS="$xorg_testset_save_CFLAGS"
   6811 fi
   6812 
   6813 found="no"
   6814 
   6815 	if test $found = "no" ; then
   6816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6818 		fi
   6819 
   6820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 		fi
   6823 
   6824 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6825 
   6826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6827 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6828 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6829 		if eval \${$cacheid+:} false; then :
   6830   $as_echo_n "(cached) " >&6
   6831 else
   6832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 int
   6836 main ()
   6837 {
   6838 
   6839   ;
   6840   return 0;
   6841 }
   6842 _ACEOF
   6843 if ac_fn_c_try_link "$LINENO"; then :
   6844   eval $cacheid=yes
   6845 else
   6846   eval $cacheid=no
   6847 fi
   6848 rm -f core conftest.err conftest.$ac_objext \
   6849     conftest$ac_exeext conftest.$ac_ext
   6850 fi
   6851 
   6852 
   6853 		CFLAGS="$xorg_testset_save_CFLAGS"
   6854 
   6855 		eval supported=\$$cacheid
   6856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6857 $as_echo "$supported" >&6; }
   6858 		if test "$supported" = "yes" ; then
   6859 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6860 			found="yes"
   6861 		fi
   6862 	fi
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 xorg_testset_save_CFLAGS="$CFLAGS"
   6879 
   6880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6885   $as_echo_n "(cached) " >&6
   6886 else
   6887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6888 /* end confdefs.h.  */
   6889 int i;
   6890 _ACEOF
   6891 if ac_fn_c_try_compile "$LINENO"; then :
   6892   xorg_cv_cc_flag_unknown_warning_option=yes
   6893 else
   6894   xorg_cv_cc_flag_unknown_warning_option=no
   6895 fi
   6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6897 fi
   6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6901 	CFLAGS="$xorg_testset_save_CFLAGS"
   6902 fi
   6903 
   6904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6907 	fi
   6908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6915 /* end confdefs.h.  */
   6916 int i;
   6917 _ACEOF
   6918 if ac_fn_c_try_compile "$LINENO"; then :
   6919   xorg_cv_cc_flag_unused_command_line_argument=yes
   6920 else
   6921   xorg_cv_cc_flag_unused_command_line_argument=no
   6922 fi
   6923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6924 fi
   6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6928 	CFLAGS="$xorg_testset_save_CFLAGS"
   6929 fi
   6930 
   6931 found="no"
   6932 
   6933 	if test $found = "no" ; then
   6934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6936 		fi
   6937 
   6938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6940 		fi
   6941 
   6942 		CFLAGS="$CFLAGS -Wredundant-decls"
   6943 
   6944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6945 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6946 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6947 		if eval \${$cacheid+:} false; then :
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6951 /* end confdefs.h.  */
   6952 int i;
   6953 int
   6954 main ()
   6955 {
   6956 
   6957   ;
   6958   return 0;
   6959 }
   6960 _ACEOF
   6961 if ac_fn_c_try_link "$LINENO"; then :
   6962   eval $cacheid=yes
   6963 else
   6964   eval $cacheid=no
   6965 fi
   6966 rm -f core conftest.err conftest.$ac_objext \
   6967     conftest$ac_exeext conftest.$ac_ext
   6968 fi
   6969 
   6970 
   6971 		CFLAGS="$xorg_testset_save_CFLAGS"
   6972 
   6973 		eval supported=\$$cacheid
   6974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6975 $as_echo "$supported" >&6; }
   6976 		if test "$supported" = "yes" ; then
   6977 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6978 			found="yes"
   6979 		fi
   6980 	fi
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 xorg_testset_save_CFLAGS="$CFLAGS"
   6997 
   6998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 int i;
   7008 _ACEOF
   7009 if ac_fn_c_try_compile "$LINENO"; then :
   7010   xorg_cv_cc_flag_unknown_warning_option=yes
   7011 else
   7012   xorg_cv_cc_flag_unknown_warning_option=no
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7015 fi
   7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7019 	CFLAGS="$xorg_testset_save_CFLAGS"
   7020 fi
   7021 
   7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	fi
   7026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"; then :
   7037   xorg_cv_cc_flag_unused_command_line_argument=yes
   7038 else
   7039   xorg_cv_cc_flag_unused_command_line_argument=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7042 fi
   7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7046 	CFLAGS="$xorg_testset_save_CFLAGS"
   7047 fi
   7048 
   7049 found="no"
   7050 
   7051 	if test $found = "no" ; then
   7052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 		fi
   7055 
   7056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7058 		fi
   7059 
   7060 		CFLAGS="$CFLAGS -Wlogical-op"
   7061 
   7062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7063 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7064 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7065 		if eval \${$cacheid+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 int
   7072 main ()
   7073 {
   7074 
   7075   ;
   7076   return 0;
   7077 }
   7078 _ACEOF
   7079 if ac_fn_c_try_link "$LINENO"; then :
   7080   eval $cacheid=yes
   7081 else
   7082   eval $cacheid=no
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext \
   7085     conftest$ac_exeext conftest.$ac_ext
   7086 fi
   7087 
   7088 
   7089 		CFLAGS="$xorg_testset_save_CFLAGS"
   7090 
   7091 		eval supported=\$$cacheid
   7092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7093 $as_echo "$supported" >&6; }
   7094 		if test "$supported" = "yes" ; then
   7095 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7096 			found="yes"
   7097 		fi
   7098 	fi
   7099 
   7100 
   7101 
   7102 # These are currently disabled because they are noisy.  They will be enabled
   7103 # in the future once the codebase is sufficiently modernized to silence
   7104 # them.  For now, I don't want them to drown out the other warnings.
   7105 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7106 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7107 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7108 
   7109 # Turn some warnings into errors, so we don't accidently get successful builds
   7110 # when there are problems that should be fixed.
   7111 
   7112 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 xorg_testset_save_CFLAGS="$CFLAGS"
   7127 
   7128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7133   $as_echo_n "(cached) " >&6
   7134 else
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 _ACEOF
   7139 if ac_fn_c_try_compile "$LINENO"; then :
   7140   xorg_cv_cc_flag_unknown_warning_option=yes
   7141 else
   7142   xorg_cv_cc_flag_unknown_warning_option=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7145 fi
   7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	fi
   7156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7160   $as_echo_n "(cached) " >&6
   7161 else
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 _ACEOF
   7166 if ac_fn_c_try_compile "$LINENO"; then :
   7167   xorg_cv_cc_flag_unused_command_line_argument=yes
   7168 else
   7169   xorg_cv_cc_flag_unused_command_line_argument=no
   7170 fi
   7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7172 fi
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7176 	CFLAGS="$xorg_testset_save_CFLAGS"
   7177 fi
   7178 
   7179 found="no"
   7180 
   7181 	if test $found = "no" ; then
   7182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7184 		fi
   7185 
   7186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7188 		fi
   7189 
   7190 		CFLAGS="$CFLAGS -Werror=implicit"
   7191 
   7192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7193 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7194 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7195 		if eval \${$cacheid+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 int
   7202 main ()
   7203 {
   7204 
   7205   ;
   7206   return 0;
   7207 }
   7208 _ACEOF
   7209 if ac_fn_c_try_link "$LINENO"; then :
   7210   eval $cacheid=yes
   7211 else
   7212   eval $cacheid=no
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext \
   7215     conftest$ac_exeext conftest.$ac_ext
   7216 fi
   7217 
   7218 
   7219 		CFLAGS="$xorg_testset_save_CFLAGS"
   7220 
   7221 		eval supported=\$$cacheid
   7222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7223 $as_echo "$supported" >&6; }
   7224 		if test "$supported" = "yes" ; then
   7225 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7226 			found="yes"
   7227 		fi
   7228 	fi
   7229 
   7230 	if test $found = "no" ; then
   7231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7233 		fi
   7234 
   7235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 		fi
   7238 
   7239 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7240 
   7241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7242 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7243 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7244 		if eval \${$cacheid+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 int
   7251 main ()
   7252 {
   7253 
   7254   ;
   7255   return 0;
   7256 }
   7257 _ACEOF
   7258 if ac_fn_c_try_link "$LINENO"; then :
   7259   eval $cacheid=yes
   7260 else
   7261   eval $cacheid=no
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext \
   7264     conftest$ac_exeext conftest.$ac_ext
   7265 fi
   7266 
   7267 
   7268 		CFLAGS="$xorg_testset_save_CFLAGS"
   7269 
   7270 		eval supported=\$$cacheid
   7271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7272 $as_echo "$supported" >&6; }
   7273 		if test "$supported" = "yes" ; then
   7274 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7275 			found="yes"
   7276 		fi
   7277 	fi
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 xorg_testset_save_CFLAGS="$CFLAGS"
   7294 
   7295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 _ACEOF
   7306 if ac_fn_c_try_compile "$LINENO"; then :
   7307   xorg_cv_cc_flag_unknown_warning_option=yes
   7308 else
   7309   xorg_cv_cc_flag_unknown_warning_option=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7312 fi
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7316 	CFLAGS="$xorg_testset_save_CFLAGS"
   7317 fi
   7318 
   7319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7322 	fi
   7323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7327   $as_echo_n "(cached) " >&6
   7328 else
   7329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7330 /* end confdefs.h.  */
   7331 int i;
   7332 _ACEOF
   7333 if ac_fn_c_try_compile "$LINENO"; then :
   7334   xorg_cv_cc_flag_unused_command_line_argument=yes
   7335 else
   7336   xorg_cv_cc_flag_unused_command_line_argument=no
   7337 fi
   7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7339 fi
   7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7343 	CFLAGS="$xorg_testset_save_CFLAGS"
   7344 fi
   7345 
   7346 found="no"
   7347 
   7348 	if test $found = "no" ; then
   7349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7351 		fi
   7352 
   7353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7355 		fi
   7356 
   7357 		CFLAGS="$CFLAGS -Werror=nonnull"
   7358 
   7359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7360 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7361 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7362 		if eval \${$cacheid+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 int
   7369 main ()
   7370 {
   7371 
   7372   ;
   7373   return 0;
   7374 }
   7375 _ACEOF
   7376 if ac_fn_c_try_link "$LINENO"; then :
   7377   eval $cacheid=yes
   7378 else
   7379   eval $cacheid=no
   7380 fi
   7381 rm -f core conftest.err conftest.$ac_objext \
   7382     conftest$ac_exeext conftest.$ac_ext
   7383 fi
   7384 
   7385 
   7386 		CFLAGS="$xorg_testset_save_CFLAGS"
   7387 
   7388 		eval supported=\$$cacheid
   7389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7390 $as_echo "$supported" >&6; }
   7391 		if test "$supported" = "yes" ; then
   7392 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7393 			found="yes"
   7394 		fi
   7395 	fi
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 xorg_testset_save_CFLAGS="$CFLAGS"
   7412 
   7413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 int i;
   7423 _ACEOF
   7424 if ac_fn_c_try_compile "$LINENO"; then :
   7425   xorg_cv_cc_flag_unknown_warning_option=yes
   7426 else
   7427   xorg_cv_cc_flag_unknown_warning_option=no
   7428 fi
   7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7430 fi
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7434 	CFLAGS="$xorg_testset_save_CFLAGS"
   7435 fi
   7436 
   7437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	fi
   7441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7445   $as_echo_n "(cached) " >&6
   7446 else
   7447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7448 /* end confdefs.h.  */
   7449 int i;
   7450 _ACEOF
   7451 if ac_fn_c_try_compile "$LINENO"; then :
   7452   xorg_cv_cc_flag_unused_command_line_argument=yes
   7453 else
   7454   xorg_cv_cc_flag_unused_command_line_argument=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7457 fi
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7461 	CFLAGS="$xorg_testset_save_CFLAGS"
   7462 fi
   7463 
   7464 found="no"
   7465 
   7466 	if test $found = "no" ; then
   7467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7469 		fi
   7470 
   7471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 		fi
   7474 
   7475 		CFLAGS="$CFLAGS -Werror=init-self"
   7476 
   7477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7478 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7479 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7480 		if eval \${$cacheid+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 int
   7487 main ()
   7488 {
   7489 
   7490   ;
   7491   return 0;
   7492 }
   7493 _ACEOF
   7494 if ac_fn_c_try_link "$LINENO"; then :
   7495   eval $cacheid=yes
   7496 else
   7497   eval $cacheid=no
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext \
   7500     conftest$ac_exeext conftest.$ac_ext
   7501 fi
   7502 
   7503 
   7504 		CFLAGS="$xorg_testset_save_CFLAGS"
   7505 
   7506 		eval supported=\$$cacheid
   7507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7508 $as_echo "$supported" >&6; }
   7509 		if test "$supported" = "yes" ; then
   7510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7511 			found="yes"
   7512 		fi
   7513 	fi
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 xorg_testset_save_CFLAGS="$CFLAGS"
   7530 
   7531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7536   $as_echo_n "(cached) " >&6
   7537 else
   7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7539 /* end confdefs.h.  */
   7540 int i;
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   xorg_cv_cc_flag_unknown_warning_option=yes
   7544 else
   7545   xorg_cv_cc_flag_unknown_warning_option=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7552 	CFLAGS="$xorg_testset_save_CFLAGS"
   7553 fi
   7554 
   7555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 	fi
   7559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7563   $as_echo_n "(cached) " >&6
   7564 else
   7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7566 /* end confdefs.h.  */
   7567 int i;
   7568 _ACEOF
   7569 if ac_fn_c_try_compile "$LINENO"; then :
   7570   xorg_cv_cc_flag_unused_command_line_argument=yes
   7571 else
   7572   xorg_cv_cc_flag_unused_command_line_argument=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7575 fi
   7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7579 	CFLAGS="$xorg_testset_save_CFLAGS"
   7580 fi
   7581 
   7582 found="no"
   7583 
   7584 	if test $found = "no" ; then
   7585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 		fi
   7588 
   7589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 		fi
   7592 
   7593 		CFLAGS="$CFLAGS -Werror=main"
   7594 
   7595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7596 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7597 		cacheid=xorg_cv_cc_flag__Werror_main
   7598 		if eval \${$cacheid+:} false; then :
   7599   $as_echo_n "(cached) " >&6
   7600 else
   7601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 int
   7605 main ()
   7606 {
   7607 
   7608   ;
   7609   return 0;
   7610 }
   7611 _ACEOF
   7612 if ac_fn_c_try_link "$LINENO"; then :
   7613   eval $cacheid=yes
   7614 else
   7615   eval $cacheid=no
   7616 fi
   7617 rm -f core conftest.err conftest.$ac_objext \
   7618     conftest$ac_exeext conftest.$ac_ext
   7619 fi
   7620 
   7621 
   7622 		CFLAGS="$xorg_testset_save_CFLAGS"
   7623 
   7624 		eval supported=\$$cacheid
   7625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7626 $as_echo "$supported" >&6; }
   7627 		if test "$supported" = "yes" ; then
   7628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7629 			found="yes"
   7630 		fi
   7631 	fi
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 xorg_testset_save_CFLAGS="$CFLAGS"
   7648 
   7649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7654   $as_echo_n "(cached) " >&6
   7655 else
   7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 int i;
   7659 _ACEOF
   7660 if ac_fn_c_try_compile "$LINENO"; then :
   7661   xorg_cv_cc_flag_unknown_warning_option=yes
   7662 else
   7663   xorg_cv_cc_flag_unknown_warning_option=no
   7664 fi
   7665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7666 fi
   7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7670 	CFLAGS="$xorg_testset_save_CFLAGS"
   7671 fi
   7672 
   7673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7676 	fi
   7677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7681   $as_echo_n "(cached) " >&6
   7682 else
   7683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7684 /* end confdefs.h.  */
   7685 int i;
   7686 _ACEOF
   7687 if ac_fn_c_try_compile "$LINENO"; then :
   7688   xorg_cv_cc_flag_unused_command_line_argument=yes
   7689 else
   7690   xorg_cv_cc_flag_unused_command_line_argument=no
   7691 fi
   7692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7693 fi
   7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7697 	CFLAGS="$xorg_testset_save_CFLAGS"
   7698 fi
   7699 
   7700 found="no"
   7701 
   7702 	if test $found = "no" ; then
   7703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7705 		fi
   7706 
   7707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7709 		fi
   7710 
   7711 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7712 
   7713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7714 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7715 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7716 		if eval \${$cacheid+:} false; then :
   7717   $as_echo_n "(cached) " >&6
   7718 else
   7719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7720 /* end confdefs.h.  */
   7721 int i;
   7722 int
   7723 main ()
   7724 {
   7725 
   7726   ;
   7727   return 0;
   7728 }
   7729 _ACEOF
   7730 if ac_fn_c_try_link "$LINENO"; then :
   7731   eval $cacheid=yes
   7732 else
   7733   eval $cacheid=no
   7734 fi
   7735 rm -f core conftest.err conftest.$ac_objext \
   7736     conftest$ac_exeext conftest.$ac_ext
   7737 fi
   7738 
   7739 
   7740 		CFLAGS="$xorg_testset_save_CFLAGS"
   7741 
   7742 		eval supported=\$$cacheid
   7743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7744 $as_echo "$supported" >&6; }
   7745 		if test "$supported" = "yes" ; then
   7746 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7747 			found="yes"
   7748 		fi
   7749 	fi
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 xorg_testset_save_CFLAGS="$CFLAGS"
   7766 
   7767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7772   $as_echo_n "(cached) " >&6
   7773 else
   7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7775 /* end confdefs.h.  */
   7776 int i;
   7777 _ACEOF
   7778 if ac_fn_c_try_compile "$LINENO"; then :
   7779   xorg_cv_cc_flag_unknown_warning_option=yes
   7780 else
   7781   xorg_cv_cc_flag_unknown_warning_option=no
   7782 fi
   7783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7784 fi
   7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7788 	CFLAGS="$xorg_testset_save_CFLAGS"
   7789 fi
   7790 
   7791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7794 	fi
   7795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7799   $as_echo_n "(cached) " >&6
   7800 else
   7801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7802 /* end confdefs.h.  */
   7803 int i;
   7804 _ACEOF
   7805 if ac_fn_c_try_compile "$LINENO"; then :
   7806   xorg_cv_cc_flag_unused_command_line_argument=yes
   7807 else
   7808   xorg_cv_cc_flag_unused_command_line_argument=no
   7809 fi
   7810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7811 fi
   7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7815 	CFLAGS="$xorg_testset_save_CFLAGS"
   7816 fi
   7817 
   7818 found="no"
   7819 
   7820 	if test $found = "no" ; then
   7821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7823 		fi
   7824 
   7825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7827 		fi
   7828 
   7829 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7830 
   7831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7832 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7833 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7834 		if eval \${$cacheid+:} false; then :
   7835   $as_echo_n "(cached) " >&6
   7836 else
   7837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7838 /* end confdefs.h.  */
   7839 int i;
   7840 int
   7841 main ()
   7842 {
   7843 
   7844   ;
   7845   return 0;
   7846 }
   7847 _ACEOF
   7848 if ac_fn_c_try_link "$LINENO"; then :
   7849   eval $cacheid=yes
   7850 else
   7851   eval $cacheid=no
   7852 fi
   7853 rm -f core conftest.err conftest.$ac_objext \
   7854     conftest$ac_exeext conftest.$ac_ext
   7855 fi
   7856 
   7857 
   7858 		CFLAGS="$xorg_testset_save_CFLAGS"
   7859 
   7860 		eval supported=\$$cacheid
   7861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7862 $as_echo "$supported" >&6; }
   7863 		if test "$supported" = "yes" ; then
   7864 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7865 			found="yes"
   7866 		fi
   7867 	fi
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 xorg_testset_save_CFLAGS="$CFLAGS"
   7884 
   7885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7890   $as_echo_n "(cached) " >&6
   7891 else
   7892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7893 /* end confdefs.h.  */
   7894 int i;
   7895 _ACEOF
   7896 if ac_fn_c_try_compile "$LINENO"; then :
   7897   xorg_cv_cc_flag_unknown_warning_option=yes
   7898 else
   7899   xorg_cv_cc_flag_unknown_warning_option=no
   7900 fi
   7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7902 fi
   7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7906 	CFLAGS="$xorg_testset_save_CFLAGS"
   7907 fi
   7908 
   7909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7912 	fi
   7913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7917   $as_echo_n "(cached) " >&6
   7918 else
   7919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7920 /* end confdefs.h.  */
   7921 int i;
   7922 _ACEOF
   7923 if ac_fn_c_try_compile "$LINENO"; then :
   7924   xorg_cv_cc_flag_unused_command_line_argument=yes
   7925 else
   7926   xorg_cv_cc_flag_unused_command_line_argument=no
   7927 fi
   7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7929 fi
   7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7933 	CFLAGS="$xorg_testset_save_CFLAGS"
   7934 fi
   7935 
   7936 found="no"
   7937 
   7938 	if test $found = "no" ; then
   7939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7941 		fi
   7942 
   7943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7945 		fi
   7946 
   7947 		CFLAGS="$CFLAGS -Werror=return-type"
   7948 
   7949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7950 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7951 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7952 		if eval \${$cacheid+:} false; then :
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7956 /* end confdefs.h.  */
   7957 int i;
   7958 int
   7959 main ()
   7960 {
   7961 
   7962   ;
   7963   return 0;
   7964 }
   7965 _ACEOF
   7966 if ac_fn_c_try_link "$LINENO"; then :
   7967   eval $cacheid=yes
   7968 else
   7969   eval $cacheid=no
   7970 fi
   7971 rm -f core conftest.err conftest.$ac_objext \
   7972     conftest$ac_exeext conftest.$ac_ext
   7973 fi
   7974 
   7975 
   7976 		CFLAGS="$xorg_testset_save_CFLAGS"
   7977 
   7978 		eval supported=\$$cacheid
   7979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7980 $as_echo "$supported" >&6; }
   7981 		if test "$supported" = "yes" ; then
   7982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7983 			found="yes"
   7984 		fi
   7985 	fi
   7986 
   7987 	if test $found = "no" ; then
   7988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7990 		fi
   7991 
   7992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 		fi
   7995 
   7996 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7997 
   7998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7999 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8000 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8001 		if eval \${$cacheid+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8005 /* end confdefs.h.  */
   8006 int i;
   8007 int
   8008 main ()
   8009 {
   8010 
   8011   ;
   8012   return 0;
   8013 }
   8014 _ACEOF
   8015 if ac_fn_c_try_link "$LINENO"; then :
   8016   eval $cacheid=yes
   8017 else
   8018   eval $cacheid=no
   8019 fi
   8020 rm -f core conftest.err conftest.$ac_objext \
   8021     conftest$ac_exeext conftest.$ac_ext
   8022 fi
   8023 
   8024 
   8025 		CFLAGS="$xorg_testset_save_CFLAGS"
   8026 
   8027 		eval supported=\$$cacheid
   8028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8029 $as_echo "$supported" >&6; }
   8030 		if test "$supported" = "yes" ; then
   8031 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8032 			found="yes"
   8033 		fi
   8034 	fi
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 xorg_testset_save_CFLAGS="$CFLAGS"
   8051 
   8052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8057   $as_echo_n "(cached) " >&6
   8058 else
   8059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8060 /* end confdefs.h.  */
   8061 int i;
   8062 _ACEOF
   8063 if ac_fn_c_try_compile "$LINENO"; then :
   8064   xorg_cv_cc_flag_unknown_warning_option=yes
   8065 else
   8066   xorg_cv_cc_flag_unknown_warning_option=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8069 fi
   8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8079 	fi
   8080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8084   $as_echo_n "(cached) " >&6
   8085 else
   8086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8087 /* end confdefs.h.  */
   8088 int i;
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"; then :
   8091   xorg_cv_cc_flag_unused_command_line_argument=yes
   8092 else
   8093   xorg_cv_cc_flag_unused_command_line_argument=no
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8096 fi
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8100 	CFLAGS="$xorg_testset_save_CFLAGS"
   8101 fi
   8102 
   8103 found="no"
   8104 
   8105 	if test $found = "no" ; then
   8106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8108 		fi
   8109 
   8110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8112 		fi
   8113 
   8114 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8115 
   8116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8117 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8118 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8119 		if eval \${$cacheid+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 int
   8126 main ()
   8127 {
   8128 
   8129   ;
   8130   return 0;
   8131 }
   8132 _ACEOF
   8133 if ac_fn_c_try_link "$LINENO"; then :
   8134   eval $cacheid=yes
   8135 else
   8136   eval $cacheid=no
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext \
   8139     conftest$ac_exeext conftest.$ac_ext
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 $as_echo "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8175   $as_echo_n "(cached) " >&6
   8176 else
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 _ACEOF
   8181 if ac_fn_c_try_compile "$LINENO"; then :
   8182   xorg_cv_cc_flag_unknown_warning_option=yes
   8183 else
   8184   xorg_cv_cc_flag_unknown_warning_option=no
   8185 fi
   8186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8187 fi
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8191 	CFLAGS="$xorg_testset_save_CFLAGS"
   8192 fi
   8193 
   8194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8197 	fi
   8198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8202   $as_echo_n "(cached) " >&6
   8203 else
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 _ACEOF
   8208 if ac_fn_c_try_compile "$LINENO"; then :
   8209   xorg_cv_cc_flag_unused_command_line_argument=yes
   8210 else
   8211   xorg_cv_cc_flag_unused_command_line_argument=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8218 	CFLAGS="$xorg_testset_save_CFLAGS"
   8219 fi
   8220 
   8221 found="no"
   8222 
   8223 	if test $found = "no" ; then
   8224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 		fi
   8227 
   8228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 		fi
   8231 
   8232 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8233 
   8234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8235 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8236 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8237 		if eval \${$cacheid+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 int
   8244 main ()
   8245 {
   8246 
   8247   ;
   8248   return 0;
   8249 }
   8250 _ACEOF
   8251 if ac_fn_c_try_link "$LINENO"; then :
   8252   eval $cacheid=yes
   8253 else
   8254   eval $cacheid=no
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext \
   8257     conftest$ac_exeext conftest.$ac_ext
   8258 fi
   8259 
   8260 
   8261 		CFLAGS="$xorg_testset_save_CFLAGS"
   8262 
   8263 		eval supported=\$$cacheid
   8264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8265 $as_echo "$supported" >&6; }
   8266 		if test "$supported" = "yes" ; then
   8267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8268 			found="yes"
   8269 		fi
   8270 	fi
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 xorg_testset_save_CFLAGS="$CFLAGS"
   8287 
   8288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 _ACEOF
   8299 if ac_fn_c_try_compile "$LINENO"; then :
   8300   xorg_cv_cc_flag_unknown_warning_option=yes
   8301 else
   8302   xorg_cv_cc_flag_unknown_warning_option=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8305 fi
   8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8309 	CFLAGS="$xorg_testset_save_CFLAGS"
   8310 fi
   8311 
   8312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8315 	fi
   8316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8320   $as_echo_n "(cached) " >&6
   8321 else
   8322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8323 /* end confdefs.h.  */
   8324 int i;
   8325 _ACEOF
   8326 if ac_fn_c_try_compile "$LINENO"; then :
   8327   xorg_cv_cc_flag_unused_command_line_argument=yes
   8328 else
   8329   xorg_cv_cc_flag_unused_command_line_argument=no
   8330 fi
   8331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8332 fi
   8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8336 	CFLAGS="$xorg_testset_save_CFLAGS"
   8337 fi
   8338 
   8339 found="no"
   8340 
   8341 	if test $found = "no" ; then
   8342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8344 		fi
   8345 
   8346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8348 		fi
   8349 
   8350 		CFLAGS="$CFLAGS -Werror=write-strings"
   8351 
   8352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8353 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8354 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8355 		if eval \${$cacheid+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 int
   8362 main ()
   8363 {
   8364 
   8365   ;
   8366   return 0;
   8367 }
   8368 _ACEOF
   8369 if ac_fn_c_try_link "$LINENO"; then :
   8370   eval $cacheid=yes
   8371 else
   8372   eval $cacheid=no
   8373 fi
   8374 rm -f core conftest.err conftest.$ac_objext \
   8375     conftest$ac_exeext conftest.$ac_ext
   8376 fi
   8377 
   8378 
   8379 		CFLAGS="$xorg_testset_save_CFLAGS"
   8380 
   8381 		eval supported=\$$cacheid
   8382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8383 $as_echo "$supported" >&6; }
   8384 		if test "$supported" = "yes" ; then
   8385 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8386 			found="yes"
   8387 		fi
   8388 	fi
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 xorg_testset_save_CFLAGS="$CFLAGS"
   8405 
   8406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8411   $as_echo_n "(cached) " >&6
   8412 else
   8413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 _ACEOF
   8417 if ac_fn_c_try_compile "$LINENO"; then :
   8418   xorg_cv_cc_flag_unknown_warning_option=yes
   8419 else
   8420   xorg_cv_cc_flag_unknown_warning_option=no
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8423 fi
   8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8427 	CFLAGS="$xorg_testset_save_CFLAGS"
   8428 fi
   8429 
   8430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8433 	fi
   8434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8438   $as_echo_n "(cached) " >&6
   8439 else
   8440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8441 /* end confdefs.h.  */
   8442 int i;
   8443 _ACEOF
   8444 if ac_fn_c_try_compile "$LINENO"; then :
   8445   xorg_cv_cc_flag_unused_command_line_argument=yes
   8446 else
   8447   xorg_cv_cc_flag_unused_command_line_argument=no
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8450 fi
   8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8454 	CFLAGS="$xorg_testset_save_CFLAGS"
   8455 fi
   8456 
   8457 found="no"
   8458 
   8459 	if test $found = "no" ; then
   8460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8462 		fi
   8463 
   8464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8466 		fi
   8467 
   8468 		CFLAGS="$CFLAGS -Werror=address"
   8469 
   8470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8471 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8472 		cacheid=xorg_cv_cc_flag__Werror_address
   8473 		if eval \${$cacheid+:} false; then :
   8474   $as_echo_n "(cached) " >&6
   8475 else
   8476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 int
   8480 main ()
   8481 {
   8482 
   8483   ;
   8484   return 0;
   8485 }
   8486 _ACEOF
   8487 if ac_fn_c_try_link "$LINENO"; then :
   8488   eval $cacheid=yes
   8489 else
   8490   eval $cacheid=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext \
   8493     conftest$ac_exeext conftest.$ac_ext
   8494 fi
   8495 
   8496 
   8497 		CFLAGS="$xorg_testset_save_CFLAGS"
   8498 
   8499 		eval supported=\$$cacheid
   8500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8501 $as_echo "$supported" >&6; }
   8502 		if test "$supported" = "yes" ; then
   8503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8504 			found="yes"
   8505 		fi
   8506 	fi
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 xorg_testset_save_CFLAGS="$CFLAGS"
   8523 
   8524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8529   $as_echo_n "(cached) " >&6
   8530 else
   8531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8532 /* end confdefs.h.  */
   8533 int i;
   8534 _ACEOF
   8535 if ac_fn_c_try_compile "$LINENO"; then :
   8536   xorg_cv_cc_flag_unknown_warning_option=yes
   8537 else
   8538   xorg_cv_cc_flag_unknown_warning_option=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8541 fi
   8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8545 	CFLAGS="$xorg_testset_save_CFLAGS"
   8546 fi
   8547 
   8548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8551 	fi
   8552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8556   $as_echo_n "(cached) " >&6
   8557 else
   8558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8559 /* end confdefs.h.  */
   8560 int i;
   8561 _ACEOF
   8562 if ac_fn_c_try_compile "$LINENO"; then :
   8563   xorg_cv_cc_flag_unused_command_line_argument=yes
   8564 else
   8565   xorg_cv_cc_flag_unused_command_line_argument=no
   8566 fi
   8567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8568 fi
   8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8572 	CFLAGS="$xorg_testset_save_CFLAGS"
   8573 fi
   8574 
   8575 found="no"
   8576 
   8577 	if test $found = "no" ; then
   8578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8580 		fi
   8581 
   8582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8584 		fi
   8585 
   8586 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8587 
   8588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8589 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8590 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8591 		if eval \${$cacheid+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 int
   8598 main ()
   8599 {
   8600 
   8601   ;
   8602   return 0;
   8603 }
   8604 _ACEOF
   8605 if ac_fn_c_try_link "$LINENO"; then :
   8606   eval $cacheid=yes
   8607 else
   8608   eval $cacheid=no
   8609 fi
   8610 rm -f core conftest.err conftest.$ac_objext \
   8611     conftest$ac_exeext conftest.$ac_ext
   8612 fi
   8613 
   8614 
   8615 		CFLAGS="$xorg_testset_save_CFLAGS"
   8616 
   8617 		eval supported=\$$cacheid
   8618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8619 $as_echo "$supported" >&6; }
   8620 		if test "$supported" = "yes" ; then
   8621 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8622 			found="yes"
   8623 		fi
   8624 	fi
   8625 
   8626 	if test $found = "no" ; then
   8627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8629 		fi
   8630 
   8631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8633 		fi
   8634 
   8635 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8636 
   8637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8638 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8639 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8640 		if eval \${$cacheid+:} false; then :
   8641   $as_echo_n "(cached) " >&6
   8642 else
   8643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8644 /* end confdefs.h.  */
   8645 int i;
   8646 int
   8647 main ()
   8648 {
   8649 
   8650   ;
   8651   return 0;
   8652 }
   8653 _ACEOF
   8654 if ac_fn_c_try_link "$LINENO"; then :
   8655   eval $cacheid=yes
   8656 else
   8657   eval $cacheid=no
   8658 fi
   8659 rm -f core conftest.err conftest.$ac_objext \
   8660     conftest$ac_exeext conftest.$ac_ext
   8661 fi
   8662 
   8663 
   8664 		CFLAGS="$xorg_testset_save_CFLAGS"
   8665 
   8666 		eval supported=\$$cacheid
   8667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8668 $as_echo "$supported" >&6; }
   8669 		if test "$supported" = "yes" ; then
   8670 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8671 			found="yes"
   8672 		fi
   8673 	fi
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 xorg_testset_save_CFLAGS="$CFLAGS"
   8690 
   8691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8694 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8695 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8696   $as_echo_n "(cached) " >&6
   8697 else
   8698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8699 /* end confdefs.h.  */
   8700 int i;
   8701 _ACEOF
   8702 if ac_fn_c_try_compile "$LINENO"; then :
   8703   xorg_cv_cc_flag_unknown_warning_option=yes
   8704 else
   8705   xorg_cv_cc_flag_unknown_warning_option=no
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8708 fi
   8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8710 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8712 	CFLAGS="$xorg_testset_save_CFLAGS"
   8713 fi
   8714 
   8715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8718 	fi
   8719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8721 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8722 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8723   $as_echo_n "(cached) " >&6
   8724 else
   8725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8726 /* end confdefs.h.  */
   8727 int i;
   8728 _ACEOF
   8729 if ac_fn_c_try_compile "$LINENO"; then :
   8730   xorg_cv_cc_flag_unused_command_line_argument=yes
   8731 else
   8732   xorg_cv_cc_flag_unused_command_line_argument=no
   8733 fi
   8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8735 fi
   8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8737 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8739 	CFLAGS="$xorg_testset_save_CFLAGS"
   8740 fi
   8741 
   8742 found="no"
   8743 
   8744 	if test $found = "no" ; then
   8745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8747 		fi
   8748 
   8749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8751 		fi
   8752 
   8753 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8754 
   8755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8756 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8757 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8758 		if eval \${$cacheid+:} false; then :
   8759   $as_echo_n "(cached) " >&6
   8760 else
   8761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8762 /* end confdefs.h.  */
   8763 int i;
   8764 int
   8765 main ()
   8766 {
   8767 
   8768   ;
   8769   return 0;
   8770 }
   8771 _ACEOF
   8772 if ac_fn_c_try_link "$LINENO"; then :
   8773   eval $cacheid=yes
   8774 else
   8775   eval $cacheid=no
   8776 fi
   8777 rm -f core conftest.err conftest.$ac_objext \
   8778     conftest$ac_exeext conftest.$ac_ext
   8779 fi
   8780 
   8781 
   8782 		CFLAGS="$xorg_testset_save_CFLAGS"
   8783 
   8784 		eval supported=\$$cacheid
   8785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8786 $as_echo "$supported" >&6; }
   8787 		if test "$supported" = "yes" ; then
   8788 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8789 			found="yes"
   8790 		fi
   8791 	fi
   8792 
   8793  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8794 else
   8795 { $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
   8796 $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;}
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 xorg_testset_save_CFLAGS="$CFLAGS"
   8811 
   8812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8817   $as_echo_n "(cached) " >&6
   8818 else
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 _ACEOF
   8823 if ac_fn_c_try_compile "$LINENO"; then :
   8824   xorg_cv_cc_flag_unknown_warning_option=yes
   8825 else
   8826   xorg_cv_cc_flag_unknown_warning_option=no
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8829 fi
   8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8833 	CFLAGS="$xorg_testset_save_CFLAGS"
   8834 fi
   8835 
   8836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	fi
   8840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8847 /* end confdefs.h.  */
   8848 int i;
   8849 _ACEOF
   8850 if ac_fn_c_try_compile "$LINENO"; then :
   8851   xorg_cv_cc_flag_unused_command_line_argument=yes
   8852 else
   8853   xorg_cv_cc_flag_unused_command_line_argument=no
   8854 fi
   8855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8856 fi
   8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8860 	CFLAGS="$xorg_testset_save_CFLAGS"
   8861 fi
   8862 
   8863 found="no"
   8864 
   8865 	if test $found = "no" ; then
   8866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8868 		fi
   8869 
   8870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8872 		fi
   8873 
   8874 		CFLAGS="$CFLAGS -Wimplicit"
   8875 
   8876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8877 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8878 		cacheid=xorg_cv_cc_flag__Wimplicit
   8879 		if eval \${$cacheid+:} false; then :
   8880   $as_echo_n "(cached) " >&6
   8881 else
   8882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 int
   8886 main ()
   8887 {
   8888 
   8889   ;
   8890   return 0;
   8891 }
   8892 _ACEOF
   8893 if ac_fn_c_try_link "$LINENO"; then :
   8894   eval $cacheid=yes
   8895 else
   8896   eval $cacheid=no
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext \
   8899     conftest$ac_exeext conftest.$ac_ext
   8900 fi
   8901 
   8902 
   8903 		CFLAGS="$xorg_testset_save_CFLAGS"
   8904 
   8905 		eval supported=\$$cacheid
   8906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8907 $as_echo "$supported" >&6; }
   8908 		if test "$supported" = "yes" ; then
   8909 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8910 			found="yes"
   8911 		fi
   8912 	fi
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 xorg_testset_save_CFLAGS="$CFLAGS"
   8929 
   8930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"; then :
   8942   xorg_cv_cc_flag_unknown_warning_option=yes
   8943 else
   8944   xorg_cv_cc_flag_unknown_warning_option=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	fi
   8958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8962   $as_echo_n "(cached) " >&6
   8963 else
   8964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"; then :
   8969   xorg_cv_cc_flag_unused_command_line_argument=yes
   8970 else
   8971   xorg_cv_cc_flag_unused_command_line_argument=no
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8974 fi
   8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8978 	CFLAGS="$xorg_testset_save_CFLAGS"
   8979 fi
   8980 
   8981 found="no"
   8982 
   8983 	if test $found = "no" ; then
   8984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 		fi
   8987 
   8988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 		fi
   8991 
   8992 		CFLAGS="$CFLAGS -Wnonnull"
   8993 
   8994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8995 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8996 		cacheid=xorg_cv_cc_flag__Wnonnull
   8997 		if eval \${$cacheid+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 int
   9004 main ()
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"; then :
   9012   eval $cacheid=yes
   9013 else
   9014   eval $cacheid=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 fi
   9019 
   9020 
   9021 		CFLAGS="$xorg_testset_save_CFLAGS"
   9022 
   9023 		eval supported=\$$cacheid
   9024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9025 $as_echo "$supported" >&6; }
   9026 		if test "$supported" = "yes" ; then
   9027 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9028 			found="yes"
   9029 		fi
   9030 	fi
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 xorg_testset_save_CFLAGS="$CFLAGS"
   9047 
   9048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"; then :
   9060   xorg_cv_cc_flag_unknown_warning_option=yes
   9061 else
   9062   xorg_cv_cc_flag_unknown_warning_option=no
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9065 fi
   9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9069 	CFLAGS="$xorg_testset_save_CFLAGS"
   9070 fi
   9071 
   9072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9075 	fi
   9076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9080   $as_echo_n "(cached) " >&6
   9081 else
   9082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 _ACEOF
   9086 if ac_fn_c_try_compile "$LINENO"; then :
   9087   xorg_cv_cc_flag_unused_command_line_argument=yes
   9088 else
   9089   xorg_cv_cc_flag_unused_command_line_argument=no
   9090 fi
   9091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9092 fi
   9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9096 	CFLAGS="$xorg_testset_save_CFLAGS"
   9097 fi
   9098 
   9099 found="no"
   9100 
   9101 	if test $found = "no" ; then
   9102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9104 		fi
   9105 
   9106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 		fi
   9109 
   9110 		CFLAGS="$CFLAGS -Winit-self"
   9111 
   9112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9113 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9114 		cacheid=xorg_cv_cc_flag__Winit_self
   9115 		if eval \${$cacheid+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 int
   9122 main ()
   9123 {
   9124 
   9125   ;
   9126   return 0;
   9127 }
   9128 _ACEOF
   9129 if ac_fn_c_try_link "$LINENO"; then :
   9130   eval $cacheid=yes
   9131 else
   9132   eval $cacheid=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext \
   9135     conftest$ac_exeext conftest.$ac_ext
   9136 fi
   9137 
   9138 
   9139 		CFLAGS="$xorg_testset_save_CFLAGS"
   9140 
   9141 		eval supported=\$$cacheid
   9142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9143 $as_echo "$supported" >&6; }
   9144 		if test "$supported" = "yes" ; then
   9145 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9146 			found="yes"
   9147 		fi
   9148 	fi
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 xorg_testset_save_CFLAGS="$CFLAGS"
   9165 
   9166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 _ACEOF
   9177 if ac_fn_c_try_compile "$LINENO"; then :
   9178   xorg_cv_cc_flag_unknown_warning_option=yes
   9179 else
   9180   xorg_cv_cc_flag_unknown_warning_option=no
   9181 fi
   9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9183 fi
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9187 	CFLAGS="$xorg_testset_save_CFLAGS"
   9188 fi
   9189 
   9190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	fi
   9194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9198   $as_echo_n "(cached) " >&6
   9199 else
   9200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9201 /* end confdefs.h.  */
   9202 int i;
   9203 _ACEOF
   9204 if ac_fn_c_try_compile "$LINENO"; then :
   9205   xorg_cv_cc_flag_unused_command_line_argument=yes
   9206 else
   9207   xorg_cv_cc_flag_unused_command_line_argument=no
   9208 fi
   9209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9210 fi
   9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9214 	CFLAGS="$xorg_testset_save_CFLAGS"
   9215 fi
   9216 
   9217 found="no"
   9218 
   9219 	if test $found = "no" ; then
   9220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9222 		fi
   9223 
   9224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 		fi
   9227 
   9228 		CFLAGS="$CFLAGS -Wmain"
   9229 
   9230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9231 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9232 		cacheid=xorg_cv_cc_flag__Wmain
   9233 		if eval \${$cacheid+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 int
   9240 main ()
   9241 {
   9242 
   9243   ;
   9244   return 0;
   9245 }
   9246 _ACEOF
   9247 if ac_fn_c_try_link "$LINENO"; then :
   9248   eval $cacheid=yes
   9249 else
   9250   eval $cacheid=no
   9251 fi
   9252 rm -f core conftest.err conftest.$ac_objext \
   9253     conftest$ac_exeext conftest.$ac_ext
   9254 fi
   9255 
   9256 
   9257 		CFLAGS="$xorg_testset_save_CFLAGS"
   9258 
   9259 		eval supported=\$$cacheid
   9260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9261 $as_echo "$supported" >&6; }
   9262 		if test "$supported" = "yes" ; then
   9263 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9264 			found="yes"
   9265 		fi
   9266 	fi
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 xorg_testset_save_CFLAGS="$CFLAGS"
   9283 
   9284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 _ACEOF
   9295 if ac_fn_c_try_compile "$LINENO"; then :
   9296   xorg_cv_cc_flag_unknown_warning_option=yes
   9297 else
   9298   xorg_cv_cc_flag_unknown_warning_option=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9301 fi
   9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9305 	CFLAGS="$xorg_testset_save_CFLAGS"
   9306 fi
   9307 
   9308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	fi
   9312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9316   $as_echo_n "(cached) " >&6
   9317 else
   9318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9319 /* end confdefs.h.  */
   9320 int i;
   9321 _ACEOF
   9322 if ac_fn_c_try_compile "$LINENO"; then :
   9323   xorg_cv_cc_flag_unused_command_line_argument=yes
   9324 else
   9325   xorg_cv_cc_flag_unused_command_line_argument=no
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9328 fi
   9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9332 	CFLAGS="$xorg_testset_save_CFLAGS"
   9333 fi
   9334 
   9335 found="no"
   9336 
   9337 	if test $found = "no" ; then
   9338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 		fi
   9341 
   9342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 		fi
   9345 
   9346 		CFLAGS="$CFLAGS -Wmissing-braces"
   9347 
   9348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9349 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9350 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9351 		if eval \${$cacheid+:} false; then :
   9352   $as_echo_n "(cached) " >&6
   9353 else
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 int
   9358 main ()
   9359 {
   9360 
   9361   ;
   9362   return 0;
   9363 }
   9364 _ACEOF
   9365 if ac_fn_c_try_link "$LINENO"; then :
   9366   eval $cacheid=yes
   9367 else
   9368   eval $cacheid=no
   9369 fi
   9370 rm -f core conftest.err conftest.$ac_objext \
   9371     conftest$ac_exeext conftest.$ac_ext
   9372 fi
   9373 
   9374 
   9375 		CFLAGS="$xorg_testset_save_CFLAGS"
   9376 
   9377 		eval supported=\$$cacheid
   9378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9379 $as_echo "$supported" >&6; }
   9380 		if test "$supported" = "yes" ; then
   9381 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9382 			found="yes"
   9383 		fi
   9384 	fi
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 xorg_testset_save_CFLAGS="$CFLAGS"
   9401 
   9402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9407   $as_echo_n "(cached) " >&6
   9408 else
   9409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9410 /* end confdefs.h.  */
   9411 int i;
   9412 _ACEOF
   9413 if ac_fn_c_try_compile "$LINENO"; then :
   9414   xorg_cv_cc_flag_unknown_warning_option=yes
   9415 else
   9416   xorg_cv_cc_flag_unknown_warning_option=no
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9419 fi
   9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9423 	CFLAGS="$xorg_testset_save_CFLAGS"
   9424 fi
   9425 
   9426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9429 	fi
   9430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9434   $as_echo_n "(cached) " >&6
   9435 else
   9436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 _ACEOF
   9440 if ac_fn_c_try_compile "$LINENO"; then :
   9441   xorg_cv_cc_flag_unused_command_line_argument=yes
   9442 else
   9443   xorg_cv_cc_flag_unused_command_line_argument=no
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9446 fi
   9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9450 	CFLAGS="$xorg_testset_save_CFLAGS"
   9451 fi
   9452 
   9453 found="no"
   9454 
   9455 	if test $found = "no" ; then
   9456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9458 		fi
   9459 
   9460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 		fi
   9463 
   9464 		CFLAGS="$CFLAGS -Wsequence-point"
   9465 
   9466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9467 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9468 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9469 		if eval \${$cacheid+:} false; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 int
   9476 main ()
   9477 {
   9478 
   9479   ;
   9480   return 0;
   9481 }
   9482 _ACEOF
   9483 if ac_fn_c_try_link "$LINENO"; then :
   9484   eval $cacheid=yes
   9485 else
   9486   eval $cacheid=no
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext \
   9489     conftest$ac_exeext conftest.$ac_ext
   9490 fi
   9491 
   9492 
   9493 		CFLAGS="$xorg_testset_save_CFLAGS"
   9494 
   9495 		eval supported=\$$cacheid
   9496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9497 $as_echo "$supported" >&6; }
   9498 		if test "$supported" = "yes" ; then
   9499 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9500 			found="yes"
   9501 		fi
   9502 	fi
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 xorg_testset_save_CFLAGS="$CFLAGS"
   9519 
   9520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"; then :
   9532   xorg_cv_cc_flag_unknown_warning_option=yes
   9533 else
   9534   xorg_cv_cc_flag_unknown_warning_option=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9537 fi
   9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9541 	CFLAGS="$xorg_testset_save_CFLAGS"
   9542 fi
   9543 
   9544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 	fi
   9548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9552   $as_echo_n "(cached) " >&6
   9553 else
   9554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9555 /* end confdefs.h.  */
   9556 int i;
   9557 _ACEOF
   9558 if ac_fn_c_try_compile "$LINENO"; then :
   9559   xorg_cv_cc_flag_unused_command_line_argument=yes
   9560 else
   9561   xorg_cv_cc_flag_unused_command_line_argument=no
   9562 fi
   9563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9564 fi
   9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9568 	CFLAGS="$xorg_testset_save_CFLAGS"
   9569 fi
   9570 
   9571 found="no"
   9572 
   9573 	if test $found = "no" ; then
   9574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9576 		fi
   9577 
   9578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 		fi
   9581 
   9582 		CFLAGS="$CFLAGS -Wreturn-type"
   9583 
   9584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9585 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9586 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9587 		if eval \${$cacheid+:} false; then :
   9588   $as_echo_n "(cached) " >&6
   9589 else
   9590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9591 /* end confdefs.h.  */
   9592 int i;
   9593 int
   9594 main ()
   9595 {
   9596 
   9597   ;
   9598   return 0;
   9599 }
   9600 _ACEOF
   9601 if ac_fn_c_try_link "$LINENO"; then :
   9602   eval $cacheid=yes
   9603 else
   9604   eval $cacheid=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 $as_echo "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9643   $as_echo_n "(cached) " >&6
   9644 else
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"; then :
   9650   xorg_cv_cc_flag_unknown_warning_option=yes
   9651 else
   9652   xorg_cv_cc_flag_unknown_warning_option=no
   9653 fi
   9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9655 fi
   9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9659 	CFLAGS="$xorg_testset_save_CFLAGS"
   9660 fi
   9661 
   9662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 	fi
   9666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9670   $as_echo_n "(cached) " >&6
   9671 else
   9672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9673 /* end confdefs.h.  */
   9674 int i;
   9675 _ACEOF
   9676 if ac_fn_c_try_compile "$LINENO"; then :
   9677   xorg_cv_cc_flag_unused_command_line_argument=yes
   9678 else
   9679   xorg_cv_cc_flag_unused_command_line_argument=no
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9682 fi
   9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9686 	CFLAGS="$xorg_testset_save_CFLAGS"
   9687 fi
   9688 
   9689 found="no"
   9690 
   9691 	if test $found = "no" ; then
   9692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9694 		fi
   9695 
   9696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 		fi
   9699 
   9700 		CFLAGS="$CFLAGS -Wtrigraphs"
   9701 
   9702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9703 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9704 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9705 		if eval \${$cacheid+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 int
   9712 main ()
   9713 {
   9714 
   9715   ;
   9716   return 0;
   9717 }
   9718 _ACEOF
   9719 if ac_fn_c_try_link "$LINENO"; then :
   9720   eval $cacheid=yes
   9721 else
   9722   eval $cacheid=no
   9723 fi
   9724 rm -f core conftest.err conftest.$ac_objext \
   9725     conftest$ac_exeext conftest.$ac_ext
   9726 fi
   9727 
   9728 
   9729 		CFLAGS="$xorg_testset_save_CFLAGS"
   9730 
   9731 		eval supported=\$$cacheid
   9732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9733 $as_echo "$supported" >&6; }
   9734 		if test "$supported" = "yes" ; then
   9735 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9736 			found="yes"
   9737 		fi
   9738 	fi
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 xorg_testset_save_CFLAGS="$CFLAGS"
   9755 
   9756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 _ACEOF
   9767 if ac_fn_c_try_compile "$LINENO"; then :
   9768   xorg_cv_cc_flag_unknown_warning_option=yes
   9769 else
   9770   xorg_cv_cc_flag_unknown_warning_option=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9773 fi
   9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9777 	CFLAGS="$xorg_testset_save_CFLAGS"
   9778 fi
   9779 
   9780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9783 	fi
   9784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9788   $as_echo_n "(cached) " >&6
   9789 else
   9790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9791 /* end confdefs.h.  */
   9792 int i;
   9793 _ACEOF
   9794 if ac_fn_c_try_compile "$LINENO"; then :
   9795   xorg_cv_cc_flag_unused_command_line_argument=yes
   9796 else
   9797   xorg_cv_cc_flag_unused_command_line_argument=no
   9798 fi
   9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9800 fi
   9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9804 	CFLAGS="$xorg_testset_save_CFLAGS"
   9805 fi
   9806 
   9807 found="no"
   9808 
   9809 	if test $found = "no" ; then
   9810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9812 		fi
   9813 
   9814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 		fi
   9817 
   9818 		CFLAGS="$CFLAGS -Warray-bounds"
   9819 
   9820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9821 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9822 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9823 		if eval \${$cacheid+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 int
   9830 main ()
   9831 {
   9832 
   9833   ;
   9834   return 0;
   9835 }
   9836 _ACEOF
   9837 if ac_fn_c_try_link "$LINENO"; then :
   9838   eval $cacheid=yes
   9839 else
   9840   eval $cacheid=no
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext \
   9843     conftest$ac_exeext conftest.$ac_ext
   9844 fi
   9845 
   9846 
   9847 		CFLAGS="$xorg_testset_save_CFLAGS"
   9848 
   9849 		eval supported=\$$cacheid
   9850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9851 $as_echo "$supported" >&6; }
   9852 		if test "$supported" = "yes" ; then
   9853 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9854 			found="yes"
   9855 		fi
   9856 	fi
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 xorg_testset_save_CFLAGS="$CFLAGS"
   9873 
   9874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"; then :
   9886   xorg_cv_cc_flag_unknown_warning_option=yes
   9887 else
   9888   xorg_cv_cc_flag_unknown_warning_option=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9891 fi
   9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	fi
   9902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9906   $as_echo_n "(cached) " >&6
   9907 else
   9908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9909 /* end confdefs.h.  */
   9910 int i;
   9911 _ACEOF
   9912 if ac_fn_c_try_compile "$LINENO"; then :
   9913   xorg_cv_cc_flag_unused_command_line_argument=yes
   9914 else
   9915   xorg_cv_cc_flag_unused_command_line_argument=no
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9918 fi
   9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 found="no"
   9926 
   9927 	if test $found = "no" ; then
   9928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9930 		fi
   9931 
   9932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 		fi
   9935 
   9936 		CFLAGS="$CFLAGS -Wwrite-strings"
   9937 
   9938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9939 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9940 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9941 		if eval \${$cacheid+:} false; then :
   9942   $as_echo_n "(cached) " >&6
   9943 else
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 int
   9948 main ()
   9949 {
   9950 
   9951   ;
   9952   return 0;
   9953 }
   9954 _ACEOF
   9955 if ac_fn_c_try_link "$LINENO"; then :
   9956   eval $cacheid=yes
   9957 else
   9958   eval $cacheid=no
   9959 fi
   9960 rm -f core conftest.err conftest.$ac_objext \
   9961     conftest$ac_exeext conftest.$ac_ext
   9962 fi
   9963 
   9964 
   9965 		CFLAGS="$xorg_testset_save_CFLAGS"
   9966 
   9967 		eval supported=\$$cacheid
   9968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9969 $as_echo "$supported" >&6; }
   9970 		if test "$supported" = "yes" ; then
   9971 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9972 			found="yes"
   9973 		fi
   9974 	fi
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 xorg_testset_save_CFLAGS="$CFLAGS"
   9991 
   9992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9995 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9996 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9997   $as_echo_n "(cached) " >&6
   9998 else
   9999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10000 /* end confdefs.h.  */
   10001 int i;
   10002 _ACEOF
   10003 if ac_fn_c_try_compile "$LINENO"; then :
   10004   xorg_cv_cc_flag_unknown_warning_option=yes
   10005 else
   10006   xorg_cv_cc_flag_unknown_warning_option=no
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10009 fi
   10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10011 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10013 	CFLAGS="$xorg_testset_save_CFLAGS"
   10014 fi
   10015 
   10016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 	fi
   10020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10022 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10023 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10024   $as_echo_n "(cached) " >&6
   10025 else
   10026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10027 /* end confdefs.h.  */
   10028 int i;
   10029 _ACEOF
   10030 if ac_fn_c_try_compile "$LINENO"; then :
   10031   xorg_cv_cc_flag_unused_command_line_argument=yes
   10032 else
   10033   xorg_cv_cc_flag_unused_command_line_argument=no
   10034 fi
   10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10036 fi
   10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10038 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10040 	CFLAGS="$xorg_testset_save_CFLAGS"
   10041 fi
   10042 
   10043 found="no"
   10044 
   10045 	if test $found = "no" ; then
   10046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10048 		fi
   10049 
   10050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 		fi
   10053 
   10054 		CFLAGS="$CFLAGS -Waddress"
   10055 
   10056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10057 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10058 		cacheid=xorg_cv_cc_flag__Waddress
   10059 		if eval \${$cacheid+:} false; then :
   10060   $as_echo_n "(cached) " >&6
   10061 else
   10062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10063 /* end confdefs.h.  */
   10064 int i;
   10065 int
   10066 main ()
   10067 {
   10068 
   10069   ;
   10070   return 0;
   10071 }
   10072 _ACEOF
   10073 if ac_fn_c_try_link "$LINENO"; then :
   10074   eval $cacheid=yes
   10075 else
   10076   eval $cacheid=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext \
   10079     conftest$ac_exeext conftest.$ac_ext
   10080 fi
   10081 
   10082 
   10083 		CFLAGS="$xorg_testset_save_CFLAGS"
   10084 
   10085 		eval supported=\$$cacheid
   10086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10087 $as_echo "$supported" >&6; }
   10088 		if test "$supported" = "yes" ; then
   10089 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10090 			found="yes"
   10091 		fi
   10092 	fi
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 xorg_testset_save_CFLAGS="$CFLAGS"
   10109 
   10110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10113 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10114 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10118 /* end confdefs.h.  */
   10119 int i;
   10120 _ACEOF
   10121 if ac_fn_c_try_compile "$LINENO"; then :
   10122   xorg_cv_cc_flag_unknown_warning_option=yes
   10123 else
   10124   xorg_cv_cc_flag_unknown_warning_option=no
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10127 fi
   10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10129 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10131 	CFLAGS="$xorg_testset_save_CFLAGS"
   10132 fi
   10133 
   10134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	fi
   10138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10140 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10141 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10142   $as_echo_n "(cached) " >&6
   10143 else
   10144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10145 /* end confdefs.h.  */
   10146 int i;
   10147 _ACEOF
   10148 if ac_fn_c_try_compile "$LINENO"; then :
   10149   xorg_cv_cc_flag_unused_command_line_argument=yes
   10150 else
   10151   xorg_cv_cc_flag_unused_command_line_argument=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10154 fi
   10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10156 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10158 	CFLAGS="$xorg_testset_save_CFLAGS"
   10159 fi
   10160 
   10161 found="no"
   10162 
   10163 	if test $found = "no" ; then
   10164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10166 		fi
   10167 
   10168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 		fi
   10171 
   10172 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10173 
   10174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10175 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10176 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10177 		if eval \${$cacheid+:} false; then :
   10178   $as_echo_n "(cached) " >&6
   10179 else
   10180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 int
   10184 main ()
   10185 {
   10186 
   10187   ;
   10188   return 0;
   10189 }
   10190 _ACEOF
   10191 if ac_fn_c_try_link "$LINENO"; then :
   10192   eval $cacheid=yes
   10193 else
   10194   eval $cacheid=no
   10195 fi
   10196 rm -f core conftest.err conftest.$ac_objext \
   10197     conftest$ac_exeext conftest.$ac_ext
   10198 fi
   10199 
   10200 
   10201 		CFLAGS="$xorg_testset_save_CFLAGS"
   10202 
   10203 		eval supported=\$$cacheid
   10204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10205 $as_echo "$supported" >&6; }
   10206 		if test "$supported" = "yes" ; then
   10207 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10208 			found="yes"
   10209 		fi
   10210 	fi
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 xorg_testset_save_CFLAGS="$CFLAGS"
   10227 
   10228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10231 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10232 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10233   $as_echo_n "(cached) " >&6
   10234 else
   10235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10236 /* end confdefs.h.  */
   10237 int i;
   10238 _ACEOF
   10239 if ac_fn_c_try_compile "$LINENO"; then :
   10240   xorg_cv_cc_flag_unknown_warning_option=yes
   10241 else
   10242   xorg_cv_cc_flag_unknown_warning_option=no
   10243 fi
   10244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10245 fi
   10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10247 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10249 	CFLAGS="$xorg_testset_save_CFLAGS"
   10250 fi
   10251 
   10252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10255 	fi
   10256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10258 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10259 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 _ACEOF
   10266 if ac_fn_c_try_compile "$LINENO"; then :
   10267   xorg_cv_cc_flag_unused_command_line_argument=yes
   10268 else
   10269   xorg_cv_cc_flag_unused_command_line_argument=no
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10272 fi
   10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10274 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10276 	CFLAGS="$xorg_testset_save_CFLAGS"
   10277 fi
   10278 
   10279 found="no"
   10280 
   10281 	if test $found = "no" ; then
   10282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10284 		fi
   10285 
   10286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10288 		fi
   10289 
   10290 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10291 
   10292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10293 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10294 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10295 		if eval \${$cacheid+:} false; then :
   10296   $as_echo_n "(cached) " >&6
   10297 else
   10298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10299 /* end confdefs.h.  */
   10300 int i;
   10301 int
   10302 main ()
   10303 {
   10304 
   10305   ;
   10306   return 0;
   10307 }
   10308 _ACEOF
   10309 if ac_fn_c_try_link "$LINENO"; then :
   10310   eval $cacheid=yes
   10311 else
   10312   eval $cacheid=no
   10313 fi
   10314 rm -f core conftest.err conftest.$ac_objext \
   10315     conftest$ac_exeext conftest.$ac_ext
   10316 fi
   10317 
   10318 
   10319 		CFLAGS="$xorg_testset_save_CFLAGS"
   10320 
   10321 		eval supported=\$$cacheid
   10322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10323 $as_echo "$supported" >&6; }
   10324 		if test "$supported" = "yes" ; then
   10325 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10326 			found="yes"
   10327 		fi
   10328 	fi
   10329 
   10330 
   10331 fi
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 		CWARNFLAGS="$BASE_CFLAGS"
   10340 		if  test "x$GCC" = xyes ; then
   10341 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10342 		fi
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 # Check whether --enable-strict-compilation was given.
   10352 if test "${enable_strict_compilation+set}" = set; then :
   10353   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10354 else
   10355   STRICT_COMPILE=no
   10356 fi
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 STRICT_CFLAGS=""
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 xorg_testset_save_CFLAGS="$CFLAGS"
   10378 
   10379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10384   $as_echo_n "(cached) " >&6
   10385 else
   10386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 int i;
   10389 _ACEOF
   10390 if ac_fn_c_try_compile "$LINENO"; then :
   10391   xorg_cv_cc_flag_unknown_warning_option=yes
   10392 else
   10393   xorg_cv_cc_flag_unknown_warning_option=no
   10394 fi
   10395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10396 fi
   10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10400 	CFLAGS="$xorg_testset_save_CFLAGS"
   10401 fi
   10402 
   10403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10406 	fi
   10407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10411   $as_echo_n "(cached) " >&6
   10412 else
   10413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10414 /* end confdefs.h.  */
   10415 int i;
   10416 _ACEOF
   10417 if ac_fn_c_try_compile "$LINENO"; then :
   10418   xorg_cv_cc_flag_unused_command_line_argument=yes
   10419 else
   10420   xorg_cv_cc_flag_unused_command_line_argument=no
   10421 fi
   10422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10423 fi
   10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10427 	CFLAGS="$xorg_testset_save_CFLAGS"
   10428 fi
   10429 
   10430 found="no"
   10431 
   10432 	if test $found = "no" ; then
   10433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10435 		fi
   10436 
   10437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10439 		fi
   10440 
   10441 		CFLAGS="$CFLAGS -pedantic"
   10442 
   10443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10444 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10445 		cacheid=xorg_cv_cc_flag__pedantic
   10446 		if eval \${$cacheid+:} false; then :
   10447   $as_echo_n "(cached) " >&6
   10448 else
   10449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10450 /* end confdefs.h.  */
   10451 int i;
   10452 int
   10453 main ()
   10454 {
   10455 
   10456   ;
   10457   return 0;
   10458 }
   10459 _ACEOF
   10460 if ac_fn_c_try_link "$LINENO"; then :
   10461   eval $cacheid=yes
   10462 else
   10463   eval $cacheid=no
   10464 fi
   10465 rm -f core conftest.err conftest.$ac_objext \
   10466     conftest$ac_exeext conftest.$ac_ext
   10467 fi
   10468 
   10469 
   10470 		CFLAGS="$xorg_testset_save_CFLAGS"
   10471 
   10472 		eval supported=\$$cacheid
   10473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10474 $as_echo "$supported" >&6; }
   10475 		if test "$supported" = "yes" ; then
   10476 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10477 			found="yes"
   10478 		fi
   10479 	fi
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 xorg_testset_save_CFLAGS="$CFLAGS"
   10496 
   10497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10502   $as_echo_n "(cached) " >&6
   10503 else
   10504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10505 /* end confdefs.h.  */
   10506 int i;
   10507 _ACEOF
   10508 if ac_fn_c_try_compile "$LINENO"; then :
   10509   xorg_cv_cc_flag_unknown_warning_option=yes
   10510 else
   10511   xorg_cv_cc_flag_unknown_warning_option=no
   10512 fi
   10513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10514 fi
   10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10518 	CFLAGS="$xorg_testset_save_CFLAGS"
   10519 fi
   10520 
   10521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10524 	fi
   10525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10529   $as_echo_n "(cached) " >&6
   10530 else
   10531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10532 /* end confdefs.h.  */
   10533 int i;
   10534 _ACEOF
   10535 if ac_fn_c_try_compile "$LINENO"; then :
   10536   xorg_cv_cc_flag_unused_command_line_argument=yes
   10537 else
   10538   xorg_cv_cc_flag_unused_command_line_argument=no
   10539 fi
   10540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10541 fi
   10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10545 	CFLAGS="$xorg_testset_save_CFLAGS"
   10546 fi
   10547 
   10548 found="no"
   10549 
   10550 	if test $found = "no" ; then
   10551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10553 		fi
   10554 
   10555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10557 		fi
   10558 
   10559 		CFLAGS="$CFLAGS -Werror"
   10560 
   10561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10562 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10563 		cacheid=xorg_cv_cc_flag__Werror
   10564 		if eval \${$cacheid+:} false; then :
   10565   $as_echo_n "(cached) " >&6
   10566 else
   10567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10568 /* end confdefs.h.  */
   10569 int i;
   10570 int
   10571 main ()
   10572 {
   10573 
   10574   ;
   10575   return 0;
   10576 }
   10577 _ACEOF
   10578 if ac_fn_c_try_link "$LINENO"; then :
   10579   eval $cacheid=yes
   10580 else
   10581   eval $cacheid=no
   10582 fi
   10583 rm -f core conftest.err conftest.$ac_objext \
   10584     conftest$ac_exeext conftest.$ac_ext
   10585 fi
   10586 
   10587 
   10588 		CFLAGS="$xorg_testset_save_CFLAGS"
   10589 
   10590 		eval supported=\$$cacheid
   10591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10592 $as_echo "$supported" >&6; }
   10593 		if test "$supported" = "yes" ; then
   10594 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10595 			found="yes"
   10596 		fi
   10597 	fi
   10598 
   10599 	if test $found = "no" ; then
   10600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10602 		fi
   10603 
   10604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10606 		fi
   10607 
   10608 		CFLAGS="$CFLAGS -errwarn"
   10609 
   10610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10611 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10612 		cacheid=xorg_cv_cc_flag__errwarn
   10613 		if eval \${$cacheid+:} false; then :
   10614   $as_echo_n "(cached) " >&6
   10615 else
   10616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10617 /* end confdefs.h.  */
   10618 int i;
   10619 int
   10620 main ()
   10621 {
   10622 
   10623   ;
   10624   return 0;
   10625 }
   10626 _ACEOF
   10627 if ac_fn_c_try_link "$LINENO"; then :
   10628   eval $cacheid=yes
   10629 else
   10630   eval $cacheid=no
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext \
   10633     conftest$ac_exeext conftest.$ac_ext
   10634 fi
   10635 
   10636 
   10637 		CFLAGS="$xorg_testset_save_CFLAGS"
   10638 
   10639 		eval supported=\$$cacheid
   10640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10641 $as_echo "$supported" >&6; }
   10642 		if test "$supported" = "yes" ; then
   10643 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10644 			found="yes"
   10645 		fi
   10646 	fi
   10647 
   10648 
   10649 
   10650 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10651 # activate it with -Werror, so we add it here explicitly.
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 xorg_testset_save_CFLAGS="$CFLAGS"
   10666 
   10667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10672   $as_echo_n "(cached) " >&6
   10673 else
   10674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10675 /* end confdefs.h.  */
   10676 int i;
   10677 _ACEOF
   10678 if ac_fn_c_try_compile "$LINENO"; then :
   10679   xorg_cv_cc_flag_unknown_warning_option=yes
   10680 else
   10681   xorg_cv_cc_flag_unknown_warning_option=no
   10682 fi
   10683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10684 fi
   10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10688 	CFLAGS="$xorg_testset_save_CFLAGS"
   10689 fi
   10690 
   10691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10694 	fi
   10695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10699   $as_echo_n "(cached) " >&6
   10700 else
   10701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10702 /* end confdefs.h.  */
   10703 int i;
   10704 _ACEOF
   10705 if ac_fn_c_try_compile "$LINENO"; then :
   10706   xorg_cv_cc_flag_unused_command_line_argument=yes
   10707 else
   10708   xorg_cv_cc_flag_unused_command_line_argument=no
   10709 fi
   10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10711 fi
   10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10715 	CFLAGS="$xorg_testset_save_CFLAGS"
   10716 fi
   10717 
   10718 found="no"
   10719 
   10720 	if test $found = "no" ; then
   10721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10723 		fi
   10724 
   10725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10727 		fi
   10728 
   10729 		CFLAGS="$CFLAGS -Werror=attributes"
   10730 
   10731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10732 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10733 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10734 		if eval \${$cacheid+:} false; then :
   10735   $as_echo_n "(cached) " >&6
   10736 else
   10737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10738 /* end confdefs.h.  */
   10739 int i;
   10740 int
   10741 main ()
   10742 {
   10743 
   10744   ;
   10745   return 0;
   10746 }
   10747 _ACEOF
   10748 if ac_fn_c_try_link "$LINENO"; then :
   10749   eval $cacheid=yes
   10750 else
   10751   eval $cacheid=no
   10752 fi
   10753 rm -f core conftest.err conftest.$ac_objext \
   10754     conftest$ac_exeext conftest.$ac_ext
   10755 fi
   10756 
   10757 
   10758 		CFLAGS="$xorg_testset_save_CFLAGS"
   10759 
   10760 		eval supported=\$$cacheid
   10761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10762 $as_echo "$supported" >&6; }
   10763 		if test "$supported" = "yes" ; then
   10764 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10765 			found="yes"
   10766 		fi
   10767 	fi
   10768 
   10769 
   10770 
   10771 if test "x$STRICT_COMPILE" = "xyes"; then
   10772     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10773     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10774 fi
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 cat >>confdefs.h <<_ACEOF
   10782 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10783 _ACEOF
   10784 
   10785 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10786 	if test "x$PVM" = "x"; then
   10787 		PVM="0"
   10788 	fi
   10789 
   10790 cat >>confdefs.h <<_ACEOF
   10791 #define PACKAGE_VERSION_MINOR $PVM
   10792 _ACEOF
   10793 
   10794 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10795 	if test "x$PVP" = "x"; then
   10796 		PVP="0"
   10797 	fi
   10798 
   10799 cat >>confdefs.h <<_ACEOF
   10800 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10801 _ACEOF
   10802 
   10803 
   10804 
   10805 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10806 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10807 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10808 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10809 
   10810 
   10811 
   10812 
   10813 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10814 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10815 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10816 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10817 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 if test x$APP_MAN_SUFFIX = x    ; then
   10825     APP_MAN_SUFFIX=1
   10826 fi
   10827 if test x$APP_MAN_DIR = x    ; then
   10828     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10829 fi
   10830 
   10831 if test x$LIB_MAN_SUFFIX = x    ; then
   10832     LIB_MAN_SUFFIX=3
   10833 fi
   10834 if test x$LIB_MAN_DIR = x    ; then
   10835     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10836 fi
   10837 
   10838 if test x$FILE_MAN_SUFFIX = x    ; then
   10839     case $host_os in
   10840 	# Solaris 2.0 - 11 use SysV man page sections
   10841 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10842 	*)				FILE_MAN_SUFFIX=5  ;;
   10843     esac
   10844 fi
   10845 if test x$FILE_MAN_DIR = x    ; then
   10846     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10847 fi
   10848 
   10849 if test x$MISC_MAN_SUFFIX = x    ; then
   10850     case $host_os in
   10851 	# Solaris 2.0 - 11 use SysV man page sections
   10852 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10853 	*)				MISC_MAN_SUFFIX=7  ;;
   10854     esac
   10855 fi
   10856 if test x$MISC_MAN_DIR = x    ; then
   10857     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10858 fi
   10859 
   10860 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10861     case $host_os in
   10862 	# Solaris 2.0 - 11 use SysV man page sections
   10863 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10864 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10865     esac
   10866 fi
   10867 if test x$DRIVER_MAN_DIR = x    ; then
   10868     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10869 fi
   10870 
   10871 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10872     case $host_os in
   10873 	# Solaris 2.0 - 11 use SysV man page sections
   10874 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10875 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10876     esac
   10877 fi
   10878 if test x$ADMIN_MAN_DIR = x    ; then
   10879     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10880 fi
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 XORG_MAN_PAGE="X Version 11"
   10897 
   10898 MAN_SUBSTS="\
   10899 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10900 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10901 	-e 's|__xservername__|Xorg|g' \
   10902 	-e 's|__xconfigfile__|xorg.conf|g' \
   10903 	-e 's|__projectroot__|\$(prefix)|g' \
   10904 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10905 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10906 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10907 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10908 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10909 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10910 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10911 
   10912 
   10913 
   10914 # Check whether --enable-silent-rules was given.
   10915 if test "${enable_silent_rules+set}" = set; then :
   10916   enableval=$enable_silent_rules;
   10917 fi
   10918 
   10919 case $enable_silent_rules in # (((
   10920   yes) AM_DEFAULT_VERBOSITY=0;;
   10921    no) AM_DEFAULT_VERBOSITY=1;;
   10922     *) AM_DEFAULT_VERBOSITY=0;;
   10923 esac
   10924 am_make=${MAKE-make}
   10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10926 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10927 if ${am_cv_make_support_nested_variables+:} false; then :
   10928   $as_echo_n "(cached) " >&6
   10929 else
   10930   if $as_echo 'TRUE=$(BAR$(V))
   10931 BAR0=false
   10932 BAR1=true
   10933 V=1
   10934 am__doit:
   10935 	@$(TRUE)
   10936 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10937   am_cv_make_support_nested_variables=yes
   10938 else
   10939   am_cv_make_support_nested_variables=no
   10940 fi
   10941 fi
   10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10943 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10944 if test $am_cv_make_support_nested_variables = yes; then
   10945     AM_V='$(V)'
   10946   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10947 else
   10948   AM_V=$AM_DEFAULT_VERBOSITY
   10949   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10950 fi
   10951 AM_BACKSLASH='\'
   10952 
   10953 
   10954 
   10955 # Checks for pkg-config packages
   10956 # - Both CFLAGS & LIBS needed:
   10957 
   10958 pkg_failed=no
   10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XHOST" >&5
   10960 $as_echo_n "checking for XHOST... " >&6; }
   10961 
   10962 if test -n "$XHOST_CFLAGS"; then
   10963     pkg_cv_XHOST_CFLAGS="$XHOST_CFLAGS"
   10964  elif test -n "$PKG_CONFIG"; then
   10965     if test -n "$PKG_CONFIG" && \
   10966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 x11 xmuu\""; } >&5
   10967   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 x11 xmuu") 2>&5
   10968   ac_status=$?
   10969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10970   test $ac_status = 0; }; then
   10971   pkg_cv_XHOST_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 x11 xmuu" 2>/dev/null`
   10972 		      test "x$?" != "x0" && pkg_failed=yes
   10973 else
   10974   pkg_failed=yes
   10975 fi
   10976  else
   10977     pkg_failed=untried
   10978 fi
   10979 if test -n "$XHOST_LIBS"; then
   10980     pkg_cv_XHOST_LIBS="$XHOST_LIBS"
   10981  elif test -n "$PKG_CONFIG"; then
   10982     if test -n "$PKG_CONFIG" && \
   10983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 x11 xmuu\""; } >&5
   10984   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 x11 xmuu") 2>&5
   10985   ac_status=$?
   10986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10987   test $ac_status = 0; }; then
   10988   pkg_cv_XHOST_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 x11 xmuu" 2>/dev/null`
   10989 		      test "x$?" != "x0" && pkg_failed=yes
   10990 else
   10991   pkg_failed=yes
   10992 fi
   10993  else
   10994     pkg_failed=untried
   10995 fi
   10996 
   10997 
   10998 
   10999 if test $pkg_failed = yes; then
   11000    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11001 $as_echo "no" >&6; }
   11002 
   11003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11004         _pkg_short_errors_supported=yes
   11005 else
   11006         _pkg_short_errors_supported=no
   11007 fi
   11008         if test $_pkg_short_errors_supported = yes; then
   11009 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.22 x11 xmuu" 2>&1`
   11010         else
   11011 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.22 x11 xmuu" 2>&1`
   11012         fi
   11013 	# Put the nasty error message in config.log where it belongs
   11014 	echo "$XHOST_PKG_ERRORS" >&5
   11015 
   11016 	as_fn_error $? "Package requirements (xproto >= 7.0.22 x11 xmuu) were not met:
   11017 
   11018 $XHOST_PKG_ERRORS
   11019 
   11020 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11021 installed software in a non-standard prefix.
   11022 
   11023 Alternatively, you may set the environment variables XHOST_CFLAGS
   11024 and XHOST_LIBS to avoid the need to call pkg-config.
   11025 See the pkg-config man page for more details." "$LINENO" 5
   11026 elif test $pkg_failed = untried; then
   11027      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11028 $as_echo "no" >&6; }
   11029 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11031 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11032 is in your PATH or set the PKG_CONFIG environment variable to the full
   11033 path to pkg-config.
   11034 
   11035 Alternatively, you may set the environment variables XHOST_CFLAGS
   11036 and XHOST_LIBS to avoid the need to call pkg-config.
   11037 See the pkg-config man page for more details.
   11038 
   11039 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11040 See \`config.log' for more details" "$LINENO" 5; }
   11041 else
   11042 	XHOST_CFLAGS=$pkg_cv_XHOST_CFLAGS
   11043 	XHOST_LIBS=$pkg_cv_XHOST_LIBS
   11044         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11045 $as_echo "yes" >&6; }
   11046 
   11047 fi
   11048 # - Only CFLAGS needed, not libs:
   11049 
   11050 pkg_failed=no
   11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAU" >&5
   11052 $as_echo_n "checking for XAU... " >&6; }
   11053 
   11054 if test -n "$XAU_CFLAGS"; then
   11055     pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   11056  elif test -n "$PKG_CONFIG"; then
   11057     if test -n "$PKG_CONFIG" && \
   11058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   11059   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   11060   ac_status=$?
   11061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11062   test $ac_status = 0; }; then
   11063   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xau" 2>/dev/null`
   11064 		      test "x$?" != "x0" && pkg_failed=yes
   11065 else
   11066   pkg_failed=yes
   11067 fi
   11068  else
   11069     pkg_failed=untried
   11070 fi
   11071 if test -n "$XAU_LIBS"; then
   11072     pkg_cv_XAU_LIBS="$XAU_LIBS"
   11073  elif test -n "$PKG_CONFIG"; then
   11074     if test -n "$PKG_CONFIG" && \
   11075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   11076   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   11077   ac_status=$?
   11078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11079   test $ac_status = 0; }; then
   11080   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xau" 2>/dev/null`
   11081 		      test "x$?" != "x0" && pkg_failed=yes
   11082 else
   11083   pkg_failed=yes
   11084 fi
   11085  else
   11086     pkg_failed=untried
   11087 fi
   11088 
   11089 
   11090 
   11091 if test $pkg_failed = yes; then
   11092    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11093 $as_echo "no" >&6; }
   11094 
   11095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11096         _pkg_short_errors_supported=yes
   11097 else
   11098         _pkg_short_errors_supported=no
   11099 fi
   11100         if test $_pkg_short_errors_supported = yes; then
   11101 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xau" 2>&1`
   11102         else
   11103 	        XAU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xau" 2>&1`
   11104         fi
   11105 	# Put the nasty error message in config.log where it belongs
   11106 	echo "$XAU_PKG_ERRORS" >&5
   11107 
   11108 	as_fn_error $? "Package requirements (xau) were not met:
   11109 
   11110 $XAU_PKG_ERRORS
   11111 
   11112 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11113 installed software in a non-standard prefix.
   11114 
   11115 Alternatively, you may set the environment variables XAU_CFLAGS
   11116 and XAU_LIBS to avoid the need to call pkg-config.
   11117 See the pkg-config man page for more details." "$LINENO" 5
   11118 elif test $pkg_failed = untried; then
   11119      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11120 $as_echo "no" >&6; }
   11121 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11123 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11124 is in your PATH or set the PKG_CONFIG environment variable to the full
   11125 path to pkg-config.
   11126 
   11127 Alternatively, you may set the environment variables XAU_CFLAGS
   11128 and XAU_LIBS to avoid the need to call pkg-config.
   11129 See the pkg-config man page for more details.
   11130 
   11131 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11132 See \`config.log' for more details" "$LINENO" 5; }
   11133 else
   11134 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   11135 	XAU_LIBS=$pkg_cv_XAU_LIBS
   11136         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11137 $as_echo "yes" >&6; }
   11138 
   11139 fi
   11140 
   11141 # Transport selection macro from xtrans.m4
   11142 
   11143 
   11144  case $host_os in
   11145 	mingw*)	unixdef="no"   ;;
   11146 	*)	unixdef="yes"  ;;
   11147  esac
   11148  # Check whether --enable-unix-transport was given.
   11149 if test "${enable_unix_transport+set}" = set; then :
   11150   enableval=$enable_unix_transport; UNIXCONN=$enableval
   11151 else
   11152   UNIXCONN=$unixdef
   11153 fi
   11154 
   11155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   11156 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   11157  if test "$UNIXCONN" = "yes"; then
   11158 
   11159 $as_echo "#define UNIXCONN 1" >>confdefs.h
   11160 
   11161  fi
   11162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   11163 $as_echo "$UNIXCONN" >&6; }
   11164  # Check whether --enable-tcp-transport was given.
   11165 if test "${enable_tcp_transport+set}" = set; then :
   11166   enableval=$enable_tcp_transport; TCPCONN=$enableval
   11167 else
   11168   TCPCONN=yes
   11169 fi
   11170 
   11171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   11172 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   11173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   11174 $as_echo "$TCPCONN" >&6; }
   11175  if test "$TCPCONN" = "yes"; then
   11176 
   11177 $as_echo "#define TCPCONN 1" >>confdefs.h
   11178 
   11179 
   11180  # SVR4 hides these in libraries other than libc
   11181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   11182 $as_echo_n "checking for library containing socket... " >&6; }
   11183 if ${ac_cv_search_socket+:} false; then :
   11184   $as_echo_n "(cached) " >&6
   11185 else
   11186   ac_func_search_save_LIBS=$LIBS
   11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11188 /* end confdefs.h.  */
   11189 
   11190 /* Override any GCC internal prototype to avoid an error.
   11191    Use char because int might match the return type of a GCC
   11192    builtin and then its argument prototype would still apply.  */
   11193 #ifdef __cplusplus
   11194 extern "C"
   11195 #endif
   11196 char socket ();
   11197 int
   11198 main ()
   11199 {
   11200 return socket ();
   11201   ;
   11202   return 0;
   11203 }
   11204 _ACEOF
   11205 for ac_lib in '' socket; do
   11206   if test -z "$ac_lib"; then
   11207     ac_res="none required"
   11208   else
   11209     ac_res=-l$ac_lib
   11210     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11211   fi
   11212   if ac_fn_c_try_link "$LINENO"; then :
   11213   ac_cv_search_socket=$ac_res
   11214 fi
   11215 rm -f core conftest.err conftest.$ac_objext \
   11216     conftest$ac_exeext
   11217   if ${ac_cv_search_socket+:} false; then :
   11218   break
   11219 fi
   11220 done
   11221 if ${ac_cv_search_socket+:} false; then :
   11222 
   11223 else
   11224   ac_cv_search_socket=no
   11225 fi
   11226 rm conftest.$ac_ext
   11227 LIBS=$ac_func_search_save_LIBS
   11228 fi
   11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   11230 $as_echo "$ac_cv_search_socket" >&6; }
   11231 ac_res=$ac_cv_search_socket
   11232 if test "$ac_res" != no; then :
   11233   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11234 
   11235 fi
   11236 
   11237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   11238 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   11239 if ${ac_cv_search_gethostbyname+:} false; then :
   11240   $as_echo_n "(cached) " >&6
   11241 else
   11242   ac_func_search_save_LIBS=$LIBS
   11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11244 /* end confdefs.h.  */
   11245 
   11246 /* Override any GCC internal prototype to avoid an error.
   11247    Use char because int might match the return type of a GCC
   11248    builtin and then its argument prototype would still apply.  */
   11249 #ifdef __cplusplus
   11250 extern "C"
   11251 #endif
   11252 char gethostbyname ();
   11253 int
   11254 main ()
   11255 {
   11256 return gethostbyname ();
   11257   ;
   11258   return 0;
   11259 }
   11260 _ACEOF
   11261 for ac_lib in '' nsl; do
   11262   if test -z "$ac_lib"; then
   11263     ac_res="none required"
   11264   else
   11265     ac_res=-l$ac_lib
   11266     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11267   fi
   11268   if ac_fn_c_try_link "$LINENO"; then :
   11269   ac_cv_search_gethostbyname=$ac_res
   11270 fi
   11271 rm -f core conftest.err conftest.$ac_objext \
   11272     conftest$ac_exeext
   11273   if ${ac_cv_search_gethostbyname+:} false; then :
   11274   break
   11275 fi
   11276 done
   11277 if ${ac_cv_search_gethostbyname+:} false; then :
   11278 
   11279 else
   11280   ac_cv_search_gethostbyname=no
   11281 fi
   11282 rm conftest.$ac_ext
   11283 LIBS=$ac_func_search_save_LIBS
   11284 fi
   11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   11286 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   11287 ac_res=$ac_cv_search_gethostbyname
   11288 if test "$ac_res" != no; then :
   11289   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11290 
   11291 fi
   11292 
   11293  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   11294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11295 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11296 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11297   $as_echo_n "(cached) " >&6
   11298 else
   11299   ac_check_lib_save_LIBS=$LIBS
   11300 LIBS="-lws2_32  $LIBS"
   11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11302 /* end confdefs.h.  */
   11303 
   11304 
   11305 int
   11306 main ()
   11307 {
   11308 return main ();
   11309   ;
   11310   return 0;
   11311 }
   11312 _ACEOF
   11313 if ac_fn_c_try_link "$LINENO"; then :
   11314   ac_cv_lib_ws2_32_main=yes
   11315 else
   11316   ac_cv_lib_ws2_32_main=no
   11317 fi
   11318 rm -f core conftest.err conftest.$ac_objext \
   11319     conftest$ac_exeext conftest.$ac_ext
   11320 LIBS=$ac_check_lib_save_LIBS
   11321 fi
   11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11323 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11324 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11325   cat >>confdefs.h <<_ACEOF
   11326 #define HAVE_LIBWS2_32 1
   11327 _ACEOF
   11328 
   11329   LIBS="-lws2_32 $LIBS"
   11330 
   11331 fi
   11332 
   11333  fi
   11334 
   11335  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   11336  # Check whether --enable-ipv6 was given.
   11337 if test "${enable_ipv6+set}" = set; then :
   11338   enableval=$enable_ipv6; IPV6CONN=$enableval
   11339 else
   11340   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   11341 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   11342   IPV6CONN=yes
   11343 else
   11344   IPV6CONN=no
   11345 fi
   11346 
   11347 fi
   11348 
   11349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11350 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11351  if test "$IPV6CONN" = "yes"; then
   11352 
   11353 $as_echo "#define IPv6 1" >>confdefs.h
   11354 
   11355  fi
   11356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11357 $as_echo "$IPV6CONN" >&6; }
   11358 
   11359  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11360  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11361 #include <sys/types.h>
   11362 #include <sys/socket.h>
   11363 #include <netinet/in.h>
   11364 
   11365 "
   11366 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11367 
   11368 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11369 
   11370 fi
   11371 
   11372 
   11373  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11374  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11375 $ac_includes_default
   11376 #include <sys/socket.h>
   11377 "
   11378 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11379 
   11380 cat >>confdefs.h <<_ACEOF
   11381 #define HAVE_SOCKLEN_T 1
   11382 _ACEOF
   11383 
   11384 
   11385 fi
   11386 
   11387 
   11388  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   11389  # _XOPEN_SOURCE to get it (such as on Solaris)
   11390  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11391 $ac_includes_default
   11392 #include <sys/socket.h>
   11393 
   11394 "
   11395 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11396 
   11397 fi
   11398 
   11399  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   11400  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11401      unset ac_cv_member_struct_msghdr_msg_control
   11402      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   11403 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   11404      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11405 #define _XOPEN_SOURCE 600
   11406 $ac_includes_default
   11407 #include <sys/socket.h>
   11408 
   11409 "
   11410 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11411 
   11412 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   11413 
   11414 
   11415 fi
   11416 
   11417  fi
   11418  # If that didn't work, fall back to XPG5/UNIX98 with C89
   11419  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11420      unset ac_cv_member_struct_msghdr_msg_control
   11421      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   11422 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   11423      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11424 #define _XOPEN_SOURCE 500
   11425 $ac_includes_default
   11426 #include <sys/socket.h>
   11427 
   11428 "
   11429 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11430 
   11431 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   11432 
   11433 
   11434 fi
   11435 
   11436  fi
   11437 
   11438 
   11439 
   11440  fi
   11441  case $host_os in
   11442 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11443 	*)			localdef="no"  ;;
   11444  esac
   11445  # Check whether --enable-local-transport was given.
   11446 if test "${enable_local_transport+set}" = set; then :
   11447   enableval=$enable_local_transport; LOCALCONN=$enableval
   11448 else
   11449   LOCALCONN=$localdef
   11450 fi
   11451 
   11452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11453 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11455 $as_echo "$LOCALCONN" >&6; }
   11456  if test "$LOCALCONN" = "yes"; then
   11457 
   11458 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11459 
   11460  fi
   11461 
   11462 
   11463 
   11464 # Secure RPC detection macro from xtrans.m4
   11465 
   11466  # Check whether --enable-secure-rpc was given.
   11467 if test "${enable_secure_rpc+set}" = set; then :
   11468   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   11469 else
   11470   SECURE_RPC="try"
   11471 fi
   11472 
   11473 
   11474  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   11475 	FOUND_SECURE_RPC="no"
   11476 	for ac_func in authdes_seccreate authdes_create
   11477 do :
   11478   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11481   cat >>confdefs.h <<_ACEOF
   11482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11483 _ACEOF
   11484  FOUND_SECURE_RPC="yes"
   11485 fi
   11486 done
   11487 
   11488 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   11489 		if test "x$SECURE_RPC" = "xyes" ; then
   11490 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   11491 		fi
   11492 		SECURE_RPC="no"
   11493 	else
   11494 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   11495 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   11496 if ${ac_cv_search_getsecretkey+:} false; then :
   11497   $as_echo_n "(cached) " >&6
   11498 else
   11499   ac_func_search_save_LIBS=$LIBS
   11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11501 /* end confdefs.h.  */
   11502 
   11503 /* Override any GCC internal prototype to avoid an error.
   11504    Use char because int might match the return type of a GCC
   11505    builtin and then its argument prototype would still apply.  */
   11506 #ifdef __cplusplus
   11507 extern "C"
   11508 #endif
   11509 char getsecretkey ();
   11510 int
   11511 main ()
   11512 {
   11513 return getsecretkey ();
   11514   ;
   11515   return 0;
   11516 }
   11517 _ACEOF
   11518 for ac_lib in '' rpcsvc; do
   11519   if test -z "$ac_lib"; then
   11520     ac_res="none required"
   11521   else
   11522     ac_res=-l$ac_lib
   11523     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11524   fi
   11525   if ac_fn_c_try_link "$LINENO"; then :
   11526   ac_cv_search_getsecretkey=$ac_res
   11527 fi
   11528 rm -f core conftest.err conftest.$ac_objext \
   11529     conftest$ac_exeext
   11530   if ${ac_cv_search_getsecretkey+:} false; then :
   11531   break
   11532 fi
   11533 done
   11534 if ${ac_cv_search_getsecretkey+:} false; then :
   11535 
   11536 else
   11537   ac_cv_search_getsecretkey=no
   11538 fi
   11539 rm conftest.$ac_ext
   11540 LIBS=$ac_func_search_save_LIBS
   11541 fi
   11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   11543 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   11544 ac_res=$ac_cv_search_getsecretkey
   11545 if test "$ac_res" != no; then :
   11546   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11547 
   11548 fi
   11549 
   11550 		SECURE_RPC="yes"
   11551 	fi
   11552  fi
   11553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   11554 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   11555  if test "x$SECURE_RPC" = "xyes" ; then
   11556 
   11557 $as_echo "#define SECURE_RPC 1" >>confdefs.h
   11558 
   11559  fi
   11560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   11561 $as_echo "$SECURE_RPC" >&6; }
   11562 
   11563 
   11564 # Link with winsock if mingw target
   11565 case $host_os in
   11566  *mingw*)
   11567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11568 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11569 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11570   $as_echo_n "(cached) " >&6
   11571 else
   11572   ac_check_lib_save_LIBS=$LIBS
   11573 LIBS="-lws2_32  $LIBS"
   11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11575 /* end confdefs.h.  */
   11576 
   11577 
   11578 int
   11579 main ()
   11580 {
   11581 return main ();
   11582   ;
   11583   return 0;
   11584 }
   11585 _ACEOF
   11586 if ac_fn_c_try_link "$LINENO"; then :
   11587   ac_cv_lib_ws2_32_main=yes
   11588 else
   11589   ac_cv_lib_ws2_32_main=no
   11590 fi
   11591 rm -f core conftest.err conftest.$ac_objext \
   11592     conftest$ac_exeext conftest.$ac_ext
   11593 LIBS=$ac_check_lib_save_LIBS
   11594 fi
   11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11596 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11597 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11598   cat >>confdefs.h <<_ACEOF
   11599 #define HAVE_LIBWS2_32 1
   11600 _ACEOF
   11601 
   11602   LIBS="-lws2_32 $LIBS"
   11603 
   11604 fi
   11605 
   11606   ;;
   11607  *)
   11608   ;;
   11609 esac
   11610 
   11611 # Checks for library functions.
   11612 for ac_func in inet_aton
   11613 do :
   11614   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
   11615 if test "x$ac_cv_func_inet_aton" = xyes; then :
   11616   cat >>confdefs.h <<_ACEOF
   11617 #define HAVE_INET_ATON 1
   11618 _ACEOF
   11619 
   11620 fi
   11621 done
   11622 
   11623 
   11624 ac_config_files="$ac_config_files Makefile man/Makefile"
   11625 
   11626 cat >confcache <<\_ACEOF
   11627 # This file is a shell script that caches the results of configure
   11628 # tests run on this system so they can be shared between configure
   11629 # scripts and configure runs, see configure's option --config-cache.
   11630 # It is not useful on other systems.  If it contains results you don't
   11631 # want to keep, you may remove or edit it.
   11632 #
   11633 # config.status only pays attention to the cache file if you give it
   11634 # the --recheck option to rerun configure.
   11635 #
   11636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11638 # following values.
   11639 
   11640 _ACEOF
   11641 
   11642 # The following way of writing the cache mishandles newlines in values,
   11643 # but we know of no workaround that is simple, portable, and efficient.
   11644 # So, we kill variables containing newlines.
   11645 # Ultrix sh set writes to stderr and can't be redirected directly,
   11646 # and sets the high bit in the cache file unless we assign to the vars.
   11647 (
   11648   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11649     eval ac_val=\$$ac_var
   11650     case $ac_val in #(
   11651     *${as_nl}*)
   11652       case $ac_var in #(
   11653       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11654 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11655       esac
   11656       case $ac_var in #(
   11657       _ | IFS | as_nl) ;; #(
   11658       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11659       *) { eval $ac_var=; unset $ac_var;} ;;
   11660       esac ;;
   11661     esac
   11662   done
   11663 
   11664   (set) 2>&1 |
   11665     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11666     *${as_nl}ac_space=\ *)
   11667       # `set' does not quote correctly, so add quotes: double-quote
   11668       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11669       sed -n \
   11670 	"s/'/'\\\\''/g;
   11671 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11672       ;; #(
   11673     *)
   11674       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11675       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11676       ;;
   11677     esac |
   11678     sort
   11679 ) |
   11680   sed '
   11681      /^ac_cv_env_/b end
   11682      t clear
   11683      :clear
   11684      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11685      t end
   11686      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11687      :end' >>confcache
   11688 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11689   if test -w "$cache_file"; then
   11690     if test "x$cache_file" != "x/dev/null"; then
   11691       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11692 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11693       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11694 	cat confcache >"$cache_file"
   11695       else
   11696         case $cache_file in #(
   11697         */* | ?:*)
   11698 	  mv -f confcache "$cache_file"$$ &&
   11699 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11700         *)
   11701 	  mv -f confcache "$cache_file" ;;
   11702 	esac
   11703       fi
   11704     fi
   11705   else
   11706     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11707 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11708   fi
   11709 fi
   11710 rm -f confcache
   11711 
   11712 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11713 # Let make expand exec_prefix.
   11714 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11715 
   11716 DEFS=-DHAVE_CONFIG_H
   11717 
   11718 ac_libobjs=
   11719 ac_ltlibobjs=
   11720 U=
   11721 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11722   # 1. Remove the extension, and $U if already installed.
   11723   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11724   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11725   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11726   #    will be set to the directory where LIBOBJS objects are built.
   11727   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11728   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11729 done
   11730 LIBOBJS=$ac_libobjs
   11731 
   11732 LTLIBOBJS=$ac_ltlibobjs
   11733 
   11734 
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11736 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11737    if test -n "$am_sleep_pid"; then
   11738      # Hide warnings about reused PIDs.
   11739      wait $am_sleep_pid 2>/dev/null
   11740    fi
   11741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11742 $as_echo "done" >&6; }
   11743  if test -n "$EXEEXT"; then
   11744   am__EXEEXT_TRUE=
   11745   am__EXEEXT_FALSE='#'
   11746 else
   11747   am__EXEEXT_TRUE='#'
   11748   am__EXEEXT_FALSE=
   11749 fi
   11750 
   11751 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11752   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11754 fi
   11755 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11756   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11758 fi
   11759 
   11760 : "${CONFIG_STATUS=./config.status}"
   11761 ac_write_fail=0
   11762 ac_clean_files_save=$ac_clean_files
   11763 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11765 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11766 as_write_fail=0
   11767 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11768 #! $SHELL
   11769 # Generated by $as_me.
   11770 # Run this file to recreate the current configuration.
   11771 # Compiler output produced by configure, useful for debugging
   11772 # configure, is in config.log if it exists.
   11773 
   11774 debug=false
   11775 ac_cs_recheck=false
   11776 ac_cs_silent=false
   11777 
   11778 SHELL=\${CONFIG_SHELL-$SHELL}
   11779 export SHELL
   11780 _ASEOF
   11781 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11782 ## -------------------- ##
   11783 ## M4sh Initialization. ##
   11784 ## -------------------- ##
   11785 
   11786 # Be more Bourne compatible
   11787 DUALCASE=1; export DUALCASE # for MKS sh
   11788 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11789   emulate sh
   11790   NULLCMD=:
   11791   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11792   # is contrary to our usage.  Disable this feature.
   11793   alias -g '${1+"$@"}'='"$@"'
   11794   setopt NO_GLOB_SUBST
   11795 else
   11796   case `(set -o) 2>/dev/null` in #(
   11797   *posix*) :
   11798     set -o posix ;; #(
   11799   *) :
   11800      ;;
   11801 esac
   11802 fi
   11803 
   11804 
   11805 as_nl='
   11806 '
   11807 export as_nl
   11808 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11809 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11812 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11813 # but without wasting forks for bash or zsh.
   11814 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11815     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11816   as_echo='print -r --'
   11817   as_echo_n='print -rn --'
   11818 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11819   as_echo='printf %s\n'
   11820   as_echo_n='printf %s'
   11821 else
   11822   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11823     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11824     as_echo_n='/usr/ucb/echo -n'
   11825   else
   11826     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11827     as_echo_n_body='eval
   11828       arg=$1;
   11829       case $arg in #(
   11830       *"$as_nl"*)
   11831 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11832 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11833       esac;
   11834       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11835     '
   11836     export as_echo_n_body
   11837     as_echo_n='sh -c $as_echo_n_body as_echo'
   11838   fi
   11839   export as_echo_body
   11840   as_echo='sh -c $as_echo_body as_echo'
   11841 fi
   11842 
   11843 # The user is always right.
   11844 if test "${PATH_SEPARATOR+set}" != set; then
   11845   PATH_SEPARATOR=:
   11846   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11847     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11848       PATH_SEPARATOR=';'
   11849   }
   11850 fi
   11851 
   11852 
   11853 # IFS
   11854 # We need space, tab and new line, in precisely that order.  Quoting is
   11855 # there to prevent editors from complaining about space-tab.
   11856 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11857 # splitting by setting IFS to empty value.)
   11858 IFS=" ""	$as_nl"
   11859 
   11860 # Find who we are.  Look in the path if we contain no directory separator.
   11861 as_myself=
   11862 case $0 in #((
   11863   *[\\/]* ) as_myself=$0 ;;
   11864   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11865 for as_dir in $PATH
   11866 do
   11867   IFS=$as_save_IFS
   11868   test -z "$as_dir" && as_dir=.
   11869     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11870   done
   11871 IFS=$as_save_IFS
   11872 
   11873      ;;
   11874 esac
   11875 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11876 # in which case we are not to be found in the path.
   11877 if test "x$as_myself" = x; then
   11878   as_myself=$0
   11879 fi
   11880 if test ! -f "$as_myself"; then
   11881   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11882   exit 1
   11883 fi
   11884 
   11885 # Unset variables that we do not need and which cause bugs (e.g. in
   11886 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11887 # suppresses any "Segmentation fault" message there.  '((' could
   11888 # trigger a bug in pdksh 5.2.14.
   11889 for as_var in BASH_ENV ENV MAIL MAILPATH
   11890 do eval test x\${$as_var+set} = xset \
   11891   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11892 done
   11893 PS1='$ '
   11894 PS2='> '
   11895 PS4='+ '
   11896 
   11897 # NLS nuisances.
   11898 LC_ALL=C
   11899 export LC_ALL
   11900 LANGUAGE=C
   11901 export LANGUAGE
   11902 
   11903 # CDPATH.
   11904 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11905 
   11906 
   11907 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11908 # ----------------------------------------
   11909 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11910 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11911 # script with STATUS, using 1 if that was 0.
   11912 as_fn_error ()
   11913 {
   11914   as_status=$1; test $as_status -eq 0 && as_status=1
   11915   if test "$4"; then
   11916     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11917     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11918   fi
   11919   $as_echo "$as_me: error: $2" >&2
   11920   as_fn_exit $as_status
   11921 } # as_fn_error
   11922 
   11923 
   11924 # as_fn_set_status STATUS
   11925 # -----------------------
   11926 # Set $? to STATUS, without forking.
   11927 as_fn_set_status ()
   11928 {
   11929   return $1
   11930 } # as_fn_set_status
   11931 
   11932 # as_fn_exit STATUS
   11933 # -----------------
   11934 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11935 as_fn_exit ()
   11936 {
   11937   set +e
   11938   as_fn_set_status $1
   11939   exit $1
   11940 } # as_fn_exit
   11941 
   11942 # as_fn_unset VAR
   11943 # ---------------
   11944 # Portably unset VAR.
   11945 as_fn_unset ()
   11946 {
   11947   { eval $1=; unset $1;}
   11948 }
   11949 as_unset=as_fn_unset
   11950 # as_fn_append VAR VALUE
   11951 # ----------------------
   11952 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11953 # advantage of any shell optimizations that allow amortized linear growth over
   11954 # repeated appends, instead of the typical quadratic growth present in naive
   11955 # implementations.
   11956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11957   eval 'as_fn_append ()
   11958   {
   11959     eval $1+=\$2
   11960   }'
   11961 else
   11962   as_fn_append ()
   11963   {
   11964     eval $1=\$$1\$2
   11965   }
   11966 fi # as_fn_append
   11967 
   11968 # as_fn_arith ARG...
   11969 # ------------------
   11970 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11971 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11972 # must be portable across $(()) and expr.
   11973 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11974   eval 'as_fn_arith ()
   11975   {
   11976     as_val=$(( $* ))
   11977   }'
   11978 else
   11979   as_fn_arith ()
   11980   {
   11981     as_val=`expr "$@" || test $? -eq 1`
   11982   }
   11983 fi # as_fn_arith
   11984 
   11985 
   11986 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11987    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11988   as_expr=expr
   11989 else
   11990   as_expr=false
   11991 fi
   11992 
   11993 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11994   as_basename=basename
   11995 else
   11996   as_basename=false
   11997 fi
   11998 
   11999 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12000   as_dirname=dirname
   12001 else
   12002   as_dirname=false
   12003 fi
   12004 
   12005 as_me=`$as_basename -- "$0" ||
   12006 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12007 	 X"$0" : 'X\(//\)$' \| \
   12008 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12009 $as_echo X/"$0" |
   12010     sed '/^.*\/\([^/][^/]*\)\/*$/{
   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 
   12024 # Avoid depending upon Character Ranges.
   12025 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12026 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12027 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12028 as_cr_digits='0123456789'
   12029 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12030 
   12031 ECHO_C= ECHO_N= ECHO_T=
   12032 case `echo -n x` in #(((((
   12033 -n*)
   12034   case `echo 'xy\c'` in
   12035   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12036   xy)  ECHO_C='\c';;
   12037   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12038        ECHO_T='	';;
   12039   esac;;
   12040 *)
   12041   ECHO_N='-n';;
   12042 esac
   12043 
   12044 rm -f conf$$ conf$$.exe conf$$.file
   12045 if test -d conf$$.dir; then
   12046   rm -f conf$$.dir/conf$$.file
   12047 else
   12048   rm -f conf$$.dir
   12049   mkdir conf$$.dir 2>/dev/null
   12050 fi
   12051 if (echo >conf$$.file) 2>/dev/null; then
   12052   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12053     as_ln_s='ln -s'
   12054     # ... but there are two gotchas:
   12055     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12056     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12057     # In both cases, we have to default to `cp -pR'.
   12058     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12059       as_ln_s='cp -pR'
   12060   elif ln conf$$.file conf$$ 2>/dev/null; then
   12061     as_ln_s=ln
   12062   else
   12063     as_ln_s='cp -pR'
   12064   fi
   12065 else
   12066   as_ln_s='cp -pR'
   12067 fi
   12068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12069 rmdir conf$$.dir 2>/dev/null
   12070 
   12071 
   12072 # as_fn_mkdir_p
   12073 # -------------
   12074 # Create "$as_dir" as a directory, including parents if necessary.
   12075 as_fn_mkdir_p ()
   12076 {
   12077 
   12078   case $as_dir in #(
   12079   -*) as_dir=./$as_dir;;
   12080   esac
   12081   test -d "$as_dir" || eval $as_mkdir_p || {
   12082     as_dirs=
   12083     while :; do
   12084       case $as_dir in #(
   12085       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12086       *) as_qdir=$as_dir;;
   12087       esac
   12088       as_dirs="'$as_qdir' $as_dirs"
   12089       as_dir=`$as_dirname -- "$as_dir" ||
   12090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12091 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12092 	 X"$as_dir" : 'X\(//\)$' \| \
   12093 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12094 $as_echo X"$as_dir" |
   12095     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12096 	    s//\1/
   12097 	    q
   12098 	  }
   12099 	  /^X\(\/\/\)[^/].*/{
   12100 	    s//\1/
   12101 	    q
   12102 	  }
   12103 	  /^X\(\/\/\)$/{
   12104 	    s//\1/
   12105 	    q
   12106 	  }
   12107 	  /^X\(\/\).*/{
   12108 	    s//\1/
   12109 	    q
   12110 	  }
   12111 	  s/.*/./; q'`
   12112       test -d "$as_dir" && break
   12113     done
   12114     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12115   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12116 
   12117 
   12118 } # as_fn_mkdir_p
   12119 if mkdir -p . 2>/dev/null; then
   12120   as_mkdir_p='mkdir -p "$as_dir"'
   12121 else
   12122   test -d ./-p && rmdir ./-p
   12123   as_mkdir_p=false
   12124 fi
   12125 
   12126 
   12127 # as_fn_executable_p FILE
   12128 # -----------------------
   12129 # Test if FILE is an executable regular file.
   12130 as_fn_executable_p ()
   12131 {
   12132   test -f "$1" && test -x "$1"
   12133 } # as_fn_executable_p
   12134 as_test_x='test -x'
   12135 as_executable_p=as_fn_executable_p
   12136 
   12137 # Sed expression to map a string onto a valid CPP name.
   12138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12139 
   12140 # Sed expression to map a string onto a valid variable name.
   12141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12142 
   12143 
   12144 exec 6>&1
   12145 ## ----------------------------------- ##
   12146 ## Main body of $CONFIG_STATUS script. ##
   12147 ## ----------------------------------- ##
   12148 _ASEOF
   12149 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12150 
   12151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12152 # Save the log message, to keep $0 and so on meaningful, and to
   12153 # report actual input values of CONFIG_FILES etc. instead of their
   12154 # values after options handling.
   12155 ac_log="
   12156 This file was extended by xhost $as_me 1.0.8, which was
   12157 generated by GNU Autoconf 2.69.  Invocation command line was
   12158 
   12159   CONFIG_FILES    = $CONFIG_FILES
   12160   CONFIG_HEADERS  = $CONFIG_HEADERS
   12161   CONFIG_LINKS    = $CONFIG_LINKS
   12162   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12163   $ $0 $@
   12164 
   12165 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12166 "
   12167 
   12168 _ACEOF
   12169 
   12170 case $ac_config_files in *"
   12171 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12172 esac
   12173 
   12174 case $ac_config_headers in *"
   12175 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12176 esac
   12177 
   12178 
   12179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12180 # Files that config.status was made for.
   12181 config_files="$ac_config_files"
   12182 config_headers="$ac_config_headers"
   12183 config_commands="$ac_config_commands"
   12184 
   12185 _ACEOF
   12186 
   12187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12188 ac_cs_usage="\
   12189 \`$as_me' instantiates files and other configuration actions
   12190 from templates according to the current configuration.  Unless the files
   12191 and actions are specified as TAGs, all are instantiated by default.
   12192 
   12193 Usage: $0 [OPTION]... [TAG]...
   12194 
   12195   -h, --help       print this help, then exit
   12196   -V, --version    print version number and configuration settings, then exit
   12197       --config     print configuration, then exit
   12198   -q, --quiet, --silent
   12199                    do not print progress messages
   12200   -d, --debug      don't remove temporary files
   12201       --recheck    update $as_me by reconfiguring in the same conditions
   12202       --file=FILE[:TEMPLATE]
   12203                    instantiate the configuration file FILE
   12204       --header=FILE[:TEMPLATE]
   12205                    instantiate the configuration header FILE
   12206 
   12207 Configuration files:
   12208 $config_files
   12209 
   12210 Configuration headers:
   12211 $config_headers
   12212 
   12213 Configuration commands:
   12214 $config_commands
   12215 
   12216 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xhost/issues>."
   12217 
   12218 _ACEOF
   12219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12220 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12221 ac_cs_version="\\
   12222 xhost config.status 1.0.8
   12223 configured by $0, generated by GNU Autoconf 2.69,
   12224   with options \\"\$ac_cs_config\\"
   12225 
   12226 Copyright (C) 2012 Free Software Foundation, Inc.
   12227 This config.status script is free software; the Free Software Foundation
   12228 gives unlimited permission to copy, distribute and modify it."
   12229 
   12230 ac_pwd='$ac_pwd'
   12231 srcdir='$srcdir'
   12232 INSTALL='$INSTALL'
   12233 MKDIR_P='$MKDIR_P'
   12234 AWK='$AWK'
   12235 test -n "\$AWK" || AWK=awk
   12236 _ACEOF
   12237 
   12238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12239 # The default lists apply if the user does not specify any file.
   12240 ac_need_defaults=:
   12241 while test $# != 0
   12242 do
   12243   case $1 in
   12244   --*=?*)
   12245     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12246     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12247     ac_shift=:
   12248     ;;
   12249   --*=)
   12250     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12251     ac_optarg=
   12252     ac_shift=:
   12253     ;;
   12254   *)
   12255     ac_option=$1
   12256     ac_optarg=$2
   12257     ac_shift=shift
   12258     ;;
   12259   esac
   12260 
   12261   case $ac_option in
   12262   # Handling of the options.
   12263   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12264     ac_cs_recheck=: ;;
   12265   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12266     $as_echo "$ac_cs_version"; exit ;;
   12267   --config | --confi | --conf | --con | --co | --c )
   12268     $as_echo "$ac_cs_config"; exit ;;
   12269   --debug | --debu | --deb | --de | --d | -d )
   12270     debug=: ;;
   12271   --file | --fil | --fi | --f )
   12272     $ac_shift
   12273     case $ac_optarg in
   12274     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12275     '') as_fn_error $? "missing file argument" ;;
   12276     esac
   12277     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12278     ac_need_defaults=false;;
   12279   --header | --heade | --head | --hea )
   12280     $ac_shift
   12281     case $ac_optarg in
   12282     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12283     esac
   12284     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12285     ac_need_defaults=false;;
   12286   --he | --h)
   12287     # Conflict between --help and --header
   12288     as_fn_error $? "ambiguous option: \`$1'
   12289 Try \`$0 --help' for more information.";;
   12290   --help | --hel | -h )
   12291     $as_echo "$ac_cs_usage"; exit ;;
   12292   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12293   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12294     ac_cs_silent=: ;;
   12295 
   12296   # This is an error.
   12297   -*) as_fn_error $? "unrecognized option: \`$1'
   12298 Try \`$0 --help' for more information." ;;
   12299 
   12300   *) as_fn_append ac_config_targets " $1"
   12301      ac_need_defaults=false ;;
   12302 
   12303   esac
   12304   shift
   12305 done
   12306 
   12307 ac_configure_extra_args=
   12308 
   12309 if $ac_cs_silent; then
   12310   exec 6>/dev/null
   12311   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12312 fi
   12313 
   12314 _ACEOF
   12315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12316 if \$ac_cs_recheck; then
   12317   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12318   shift
   12319   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12320   CONFIG_SHELL='$SHELL'
   12321   export CONFIG_SHELL
   12322   exec "\$@"
   12323 fi
   12324 
   12325 _ACEOF
   12326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12327 exec 5>>config.log
   12328 {
   12329   echo
   12330   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12331 ## Running $as_me. ##
   12332 _ASBOX
   12333   $as_echo "$ac_log"
   12334 } >&5
   12335 
   12336 _ACEOF
   12337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12338 #
   12339 # INIT-COMMANDS
   12340 #
   12341 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12342 
   12343 _ACEOF
   12344 
   12345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12346 
   12347 # Handling of arguments.
   12348 for ac_config_target in $ac_config_targets
   12349 do
   12350   case $ac_config_target in
   12351     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12352     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12353     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12354     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12355 
   12356   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12357   esac
   12358 done
   12359 
   12360 
   12361 # If the user did not use the arguments to specify the items to instantiate,
   12362 # then the envvar interface is used.  Set only those that are not.
   12363 # We use the long form for the default assignment because of an extremely
   12364 # bizarre bug on SunOS 4.1.3.
   12365 if $ac_need_defaults; then
   12366   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12367   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12368   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12369 fi
   12370 
   12371 # Have a temporary directory for convenience.  Make it in the build tree
   12372 # simply because there is no reason against having it here, and in addition,
   12373 # creating and moving files from /tmp can sometimes cause problems.
   12374 # Hook for its removal unless debugging.
   12375 # Note that there is a small window in which the directory will not be cleaned:
   12376 # after its creation but before its name has been assigned to `$tmp'.
   12377 $debug ||
   12378 {
   12379   tmp= ac_tmp=
   12380   trap 'exit_status=$?
   12381   : "${ac_tmp:=$tmp}"
   12382   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12383 ' 0
   12384   trap 'as_fn_exit 1' 1 2 13 15
   12385 }
   12386 # Create a (secure) tmp directory for tmp files.
   12387 
   12388 {
   12389   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12390   test -d "$tmp"
   12391 }  ||
   12392 {
   12393   tmp=./conf$$-$RANDOM
   12394   (umask 077 && mkdir "$tmp")
   12395 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12396 ac_tmp=$tmp
   12397 
   12398 # Set up the scripts for CONFIG_FILES section.
   12399 # No need to generate them if there are no CONFIG_FILES.
   12400 # This happens for instance with `./config.status config.h'.
   12401 if test -n "$CONFIG_FILES"; then
   12402 
   12403 
   12404 ac_cr=`echo X | tr X '\015'`
   12405 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12406 # But we know of no other shell where ac_cr would be empty at this
   12407 # point, so we can use a bashism as a fallback.
   12408 if test "x$ac_cr" = x; then
   12409   eval ac_cr=\$\'\\r\'
   12410 fi
   12411 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12412 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12413   ac_cs_awk_cr='\\r'
   12414 else
   12415   ac_cs_awk_cr=$ac_cr
   12416 fi
   12417 
   12418 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12419 _ACEOF
   12420 
   12421 
   12422 {
   12423   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12424   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12425   echo "_ACEOF"
   12426 } >conf$$subs.sh ||
   12427   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12429 ac_delim='%!_!# '
   12430 for ac_last_try in false false false false false :; do
   12431   . ./conf$$subs.sh ||
   12432     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12433 
   12434   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12435   if test $ac_delim_n = $ac_delim_num; then
   12436     break
   12437   elif $ac_last_try; then
   12438     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12439   else
   12440     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12441   fi
   12442 done
   12443 rm -f conf$$subs.sh
   12444 
   12445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12446 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12447 _ACEOF
   12448 sed -n '
   12449 h
   12450 s/^/S["/; s/!.*/"]=/
   12451 p
   12452 g
   12453 s/^[^!]*!//
   12454 :repl
   12455 t repl
   12456 s/'"$ac_delim"'$//
   12457 t delim
   12458 :nl
   12459 h
   12460 s/\(.\{148\}\)..*/\1/
   12461 t more1
   12462 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12463 p
   12464 n
   12465 b repl
   12466 :more1
   12467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12468 p
   12469 g
   12470 s/.\{148\}//
   12471 t nl
   12472 :delim
   12473 h
   12474 s/\(.\{148\}\)..*/\1/
   12475 t more2
   12476 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12477 p
   12478 b
   12479 :more2
   12480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12481 p
   12482 g
   12483 s/.\{148\}//
   12484 t delim
   12485 ' <conf$$subs.awk | sed '
   12486 /^[^""]/{
   12487   N
   12488   s/\n//
   12489 }
   12490 ' >>$CONFIG_STATUS || ac_write_fail=1
   12491 rm -f conf$$subs.awk
   12492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12493 _ACAWK
   12494 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12495   for (key in S) S_is_set[key] = 1
   12496   FS = ""
   12497 
   12498 }
   12499 {
   12500   line = $ 0
   12501   nfields = split(line, field, "@")
   12502   substed = 0
   12503   len = length(field[1])
   12504   for (i = 2; i < nfields; i++) {
   12505     key = field[i]
   12506     keylen = length(key)
   12507     if (S_is_set[key]) {
   12508       value = S[key]
   12509       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12510       len += length(value) + length(field[++i])
   12511       substed = 1
   12512     } else
   12513       len += 1 + keylen
   12514   }
   12515 
   12516   print line
   12517 }
   12518 
   12519 _ACAWK
   12520 _ACEOF
   12521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12522 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12523   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12524 else
   12525   cat
   12526 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12527   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12528 _ACEOF
   12529 
   12530 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12531 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12532 # trailing colons and then remove the whole line if VPATH becomes empty
   12533 # (actually we leave an empty line to preserve line numbers).
   12534 if test "x$srcdir" = x.; then
   12535   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12536 h
   12537 s///
   12538 s/^/:/
   12539 s/[	 ]*$/:/
   12540 s/:\$(srcdir):/:/g
   12541 s/:\${srcdir}:/:/g
   12542 s/:@srcdir@:/:/g
   12543 s/^:*//
   12544 s/:*$//
   12545 x
   12546 s/\(=[	 ]*\).*/\1/
   12547 G
   12548 s/\n//
   12549 s/^[^=]*=[	 ]*$//
   12550 }'
   12551 fi
   12552 
   12553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12554 fi # test -n "$CONFIG_FILES"
   12555 
   12556 # Set up the scripts for CONFIG_HEADERS section.
   12557 # No need to generate them if there are no CONFIG_HEADERS.
   12558 # This happens for instance with `./config.status Makefile'.
   12559 if test -n "$CONFIG_HEADERS"; then
   12560 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12561 BEGIN {
   12562 _ACEOF
   12563 
   12564 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12565 # here-document in config.status, that substitutes the proper values into
   12566 # config.h.in to produce config.h.
   12567 
   12568 # Create a delimiter string that does not exist in confdefs.h, to ease
   12569 # handling of long lines.
   12570 ac_delim='%!_!# '
   12571 for ac_last_try in false false :; do
   12572   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12573   if test -z "$ac_tt"; then
   12574     break
   12575   elif $ac_last_try; then
   12576     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12577   else
   12578     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12579   fi
   12580 done
   12581 
   12582 # For the awk script, D is an array of macro values keyed by name,
   12583 # likewise P contains macro parameters if any.  Preserve backslash
   12584 # newline sequences.
   12585 
   12586 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12587 sed -n '
   12588 s/.\{148\}/&'"$ac_delim"'/g
   12589 t rset
   12590 :rset
   12591 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12592 t def
   12593 d
   12594 :def
   12595 s/\\$//
   12596 t bsnl
   12597 s/["\\]/\\&/g
   12598 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12599 D["\1"]=" \3"/p
   12600 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12601 d
   12602 :bsnl
   12603 s/["\\]/\\&/g
   12604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12605 D["\1"]=" \3\\\\\\n"\\/p
   12606 t cont
   12607 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12608 t cont
   12609 d
   12610 :cont
   12611 n
   12612 s/.\{148\}/&'"$ac_delim"'/g
   12613 t clear
   12614 :clear
   12615 s/\\$//
   12616 t bsnlc
   12617 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12618 d
   12619 :bsnlc
   12620 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12621 b cont
   12622 ' <confdefs.h | sed '
   12623 s/'"$ac_delim"'/"\\\
   12624 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12625 
   12626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12627   for (key in D) D_is_set[key] = 1
   12628   FS = ""
   12629 }
   12630 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12631   line = \$ 0
   12632   split(line, arg, " ")
   12633   if (arg[1] == "#") {
   12634     defundef = arg[2]
   12635     mac1 = arg[3]
   12636   } else {
   12637     defundef = substr(arg[1], 2)
   12638     mac1 = arg[2]
   12639   }
   12640   split(mac1, mac2, "(") #)
   12641   macro = mac2[1]
   12642   prefix = substr(line, 1, index(line, defundef) - 1)
   12643   if (D_is_set[macro]) {
   12644     # Preserve the white space surrounding the "#".
   12645     print prefix "define", macro P[macro] D[macro]
   12646     next
   12647   } else {
   12648     # Replace #undef with comments.  This is necessary, for example,
   12649     # in the case of _POSIX_SOURCE, which is predefined and required
   12650     # on some systems where configure will not decide to define it.
   12651     if (defundef == "undef") {
   12652       print "/*", prefix defundef, macro, "*/"
   12653       next
   12654     }
   12655   }
   12656 }
   12657 { print }
   12658 _ACAWK
   12659 _ACEOF
   12660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12661   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12662 fi # test -n "$CONFIG_HEADERS"
   12663 
   12664 
   12665 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12666 shift
   12667 for ac_tag
   12668 do
   12669   case $ac_tag in
   12670   :[FHLC]) ac_mode=$ac_tag; continue;;
   12671   esac
   12672   case $ac_mode$ac_tag in
   12673   :[FHL]*:*);;
   12674   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12675   :[FH]-) ac_tag=-:-;;
   12676   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12677   esac
   12678   ac_save_IFS=$IFS
   12679   IFS=:
   12680   set x $ac_tag
   12681   IFS=$ac_save_IFS
   12682   shift
   12683   ac_file=$1
   12684   shift
   12685 
   12686   case $ac_mode in
   12687   :L) ac_source=$1;;
   12688   :[FH])
   12689     ac_file_inputs=
   12690     for ac_f
   12691     do
   12692       case $ac_f in
   12693       -) ac_f="$ac_tmp/stdin";;
   12694       *) # Look for the file first in the build tree, then in the source tree
   12695 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12696 	 # because $ac_f cannot contain `:'.
   12697 	 test -f "$ac_f" ||
   12698 	   case $ac_f in
   12699 	   [\\/$]*) false;;
   12700 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12701 	   esac ||
   12702 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12703       esac
   12704       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12705       as_fn_append ac_file_inputs " '$ac_f'"
   12706     done
   12707 
   12708     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12709     # use $as_me), people would be surprised to read:
   12710     #    /* config.h.  Generated by config.status.  */
   12711     configure_input='Generated from '`
   12712 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12713 	`' by configure.'
   12714     if test x"$ac_file" != x-; then
   12715       configure_input="$ac_file.  $configure_input"
   12716       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12717 $as_echo "$as_me: creating $ac_file" >&6;}
   12718     fi
   12719     # Neutralize special characters interpreted by sed in replacement strings.
   12720     case $configure_input in #(
   12721     *\&* | *\|* | *\\* )
   12722        ac_sed_conf_input=`$as_echo "$configure_input" |
   12723        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12724     *) ac_sed_conf_input=$configure_input;;
   12725     esac
   12726 
   12727     case $ac_tag in
   12728     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12729       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12730     esac
   12731     ;;
   12732   esac
   12733 
   12734   ac_dir=`$as_dirname -- "$ac_file" ||
   12735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12736 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12737 	 X"$ac_file" : 'X\(//\)$' \| \
   12738 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12739 $as_echo X"$ac_file" |
   12740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12741 	    s//\1/
   12742 	    q
   12743 	  }
   12744 	  /^X\(\/\/\)[^/].*/{
   12745 	    s//\1/
   12746 	    q
   12747 	  }
   12748 	  /^X\(\/\/\)$/{
   12749 	    s//\1/
   12750 	    q
   12751 	  }
   12752 	  /^X\(\/\).*/{
   12753 	    s//\1/
   12754 	    q
   12755 	  }
   12756 	  s/.*/./; q'`
   12757   as_dir="$ac_dir"; as_fn_mkdir_p
   12758   ac_builddir=.
   12759 
   12760 case "$ac_dir" in
   12761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12762 *)
   12763   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12764   # A ".." for each directory in $ac_dir_suffix.
   12765   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12766   case $ac_top_builddir_sub in
   12767   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12768   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12769   esac ;;
   12770 esac
   12771 ac_abs_top_builddir=$ac_pwd
   12772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12773 # for backward compatibility:
   12774 ac_top_builddir=$ac_top_build_prefix
   12775 
   12776 case $srcdir in
   12777   .)  # We are building in place.
   12778     ac_srcdir=.
   12779     ac_top_srcdir=$ac_top_builddir_sub
   12780     ac_abs_top_srcdir=$ac_pwd ;;
   12781   [\\/]* | ?:[\\/]* )  # Absolute name.
   12782     ac_srcdir=$srcdir$ac_dir_suffix;
   12783     ac_top_srcdir=$srcdir
   12784     ac_abs_top_srcdir=$srcdir ;;
   12785   *) # Relative name.
   12786     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12787     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12788     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12789 esac
   12790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12791 
   12792 
   12793   case $ac_mode in
   12794   :F)
   12795   #
   12796   # CONFIG_FILE
   12797   #
   12798 
   12799   case $INSTALL in
   12800   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12801   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12802   esac
   12803   ac_MKDIR_P=$MKDIR_P
   12804   case $MKDIR_P in
   12805   [\\/$]* | ?:[\\/]* ) ;;
   12806   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12807   esac
   12808 _ACEOF
   12809 
   12810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12811 # If the template does not know about datarootdir, expand it.
   12812 # FIXME: This hack should be removed a few years after 2.60.
   12813 ac_datarootdir_hack=; ac_datarootdir_seen=
   12814 ac_sed_dataroot='
   12815 /datarootdir/ {
   12816   p
   12817   q
   12818 }
   12819 /@datadir@/p
   12820 /@docdir@/p
   12821 /@infodir@/p
   12822 /@localedir@/p
   12823 /@mandir@/p'
   12824 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12825 *datarootdir*) ac_datarootdir_seen=yes;;
   12826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12827   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12828 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12829 _ACEOF
   12830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12831   ac_datarootdir_hack='
   12832   s&@datadir@&$datadir&g
   12833   s&@docdir@&$docdir&g
   12834   s&@infodir@&$infodir&g
   12835   s&@localedir@&$localedir&g
   12836   s&@mandir@&$mandir&g
   12837   s&\\\${datarootdir}&$datarootdir&g' ;;
   12838 esac
   12839 _ACEOF
   12840 
   12841 # Neutralize VPATH when `$srcdir' = `.'.
   12842 # Shell code in configure.ac might set extrasub.
   12843 # FIXME: do we really want to maintain this feature?
   12844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12845 ac_sed_extra="$ac_vpsub
   12846 $extrasub
   12847 _ACEOF
   12848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12849 :t
   12850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12851 s|@configure_input@|$ac_sed_conf_input|;t t
   12852 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12853 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12854 s&@srcdir@&$ac_srcdir&;t t
   12855 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12856 s&@top_srcdir@&$ac_top_srcdir&;t t
   12857 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12858 s&@builddir@&$ac_builddir&;t t
   12859 s&@abs_builddir@&$ac_abs_builddir&;t t
   12860 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12861 s&@INSTALL@&$ac_INSTALL&;t t
   12862 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12863 $ac_datarootdir_hack
   12864 "
   12865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12866   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12867 
   12868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12869   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12870   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12871       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12872   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12873 which seems to be undefined.  Please make sure it is defined" >&5
   12874 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12875 which seems to be undefined.  Please make sure it is defined" >&2;}
   12876 
   12877   rm -f "$ac_tmp/stdin"
   12878   case $ac_file in
   12879   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12880   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12881   esac \
   12882   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12883  ;;
   12884   :H)
   12885   #
   12886   # CONFIG_HEADER
   12887   #
   12888   if test x"$ac_file" != x-; then
   12889     {
   12890       $as_echo "/* $configure_input  */" \
   12891       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12892     } >"$ac_tmp/config.h" \
   12893       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12894     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12895       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12896 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12897     else
   12898       rm -f "$ac_file"
   12899       mv "$ac_tmp/config.h" "$ac_file" \
   12900 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12901     fi
   12902   else
   12903     $as_echo "/* $configure_input  */" \
   12904       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12905       || as_fn_error $? "could not create -" "$LINENO" 5
   12906   fi
   12907 # Compute "$ac_file"'s index in $config_headers.
   12908 _am_arg="$ac_file"
   12909 _am_stamp_count=1
   12910 for _am_header in $config_headers :; do
   12911   case $_am_header in
   12912     $_am_arg | $_am_arg:* )
   12913       break ;;
   12914     * )
   12915       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12916   esac
   12917 done
   12918 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12919 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12920 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12921 	 X"$_am_arg" : 'X\(//\)$' \| \
   12922 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12923 $as_echo X"$_am_arg" |
   12924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12925 	    s//\1/
   12926 	    q
   12927 	  }
   12928 	  /^X\(\/\/\)[^/].*/{
   12929 	    s//\1/
   12930 	    q
   12931 	  }
   12932 	  /^X\(\/\/\)$/{
   12933 	    s//\1/
   12934 	    q
   12935 	  }
   12936 	  /^X\(\/\).*/{
   12937 	    s//\1/
   12938 	    q
   12939 	  }
   12940 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12941  ;;
   12942 
   12943   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12944 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12945  ;;
   12946   esac
   12947 
   12948 
   12949   case $ac_file$ac_mode in
   12950     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12951   # Older Autoconf quotes --file arguments for eval, but not when files
   12952   # are listed without --file.  Let's play safe and only enable the eval
   12953   # if we detect the quoting.
   12954   case $CONFIG_FILES in
   12955   *\'*) eval set x "$CONFIG_FILES" ;;
   12956   *)   set x $CONFIG_FILES ;;
   12957   esac
   12958   shift
   12959   for mf
   12960   do
   12961     # Strip MF so we end up with the name of the file.
   12962     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12963     # Check whether this is an Automake generated Makefile or not.
   12964     # We used to match only the files named 'Makefile.in', but
   12965     # some people rename them; so instead we look at the file content.
   12966     # Grep'ing the first line is not enough: some people post-process
   12967     # each Makefile.in and add a new line on top of each file to say so.
   12968     # Grep'ing the whole file is not good either: AIX grep has a line
   12969     # limit of 2048, but all sed's we know have understand at least 4000.
   12970     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12971       dirpart=`$as_dirname -- "$mf" ||
   12972 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12973 	 X"$mf" : 'X\(//\)[^/]' \| \
   12974 	 X"$mf" : 'X\(//\)$' \| \
   12975 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12976 $as_echo X"$mf" |
   12977     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12978 	    s//\1/
   12979 	    q
   12980 	  }
   12981 	  /^X\(\/\/\)[^/].*/{
   12982 	    s//\1/
   12983 	    q
   12984 	  }
   12985 	  /^X\(\/\/\)$/{
   12986 	    s//\1/
   12987 	    q
   12988 	  }
   12989 	  /^X\(\/\).*/{
   12990 	    s//\1/
   12991 	    q
   12992 	  }
   12993 	  s/.*/./; q'`
   12994     else
   12995       continue
   12996     fi
   12997     # Extract the definition of DEPDIR, am__include, and am__quote
   12998     # from the Makefile without running 'make'.
   12999     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13000     test -z "$DEPDIR" && continue
   13001     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13002     test -z "$am__include" && continue
   13003     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13004     # Find all dependency output files, they are included files with
   13005     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13006     # simplest approach to changing $(DEPDIR) to its actual value in the
   13007     # expansion.
   13008     for file in `sed -n "
   13009       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13010 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   13011       # Make sure the directory exists.
   13012       test -f "$dirpart/$file" && continue
   13013       fdir=`$as_dirname -- "$file" ||
   13014 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13015 	 X"$file" : 'X\(//\)[^/]' \| \
   13016 	 X"$file" : 'X\(//\)$' \| \
   13017 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13018 $as_echo X"$file" |
   13019     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13020 	    s//\1/
   13021 	    q
   13022 	  }
   13023 	  /^X\(\/\/\)[^/].*/{
   13024 	    s//\1/
   13025 	    q
   13026 	  }
   13027 	  /^X\(\/\/\)$/{
   13028 	    s//\1/
   13029 	    q
   13030 	  }
   13031 	  /^X\(\/\).*/{
   13032 	    s//\1/
   13033 	    q
   13034 	  }
   13035 	  s/.*/./; q'`
   13036       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13037       # echo "creating $dirpart/$file"
   13038       echo '# dummy' > "$dirpart/$file"
   13039     done
   13040   done
   13041 }
   13042  ;;
   13043 
   13044   esac
   13045 done # for ac_tag
   13046 
   13047 
   13048 as_fn_exit 0
   13049 _ACEOF
   13050 ac_clean_files=$ac_clean_files_save
   13051 
   13052 test $ac_write_fail = 0 ||
   13053   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13054 
   13055 
   13056 # configure is writing to config.log, and then calls config.status.
   13057 # config.status does its own redirection, appending to config.log.
   13058 # Unfortunately, on DOS this fails, as config.log is still kept open
   13059 # by configure, so config.status won't be able to write to it; its
   13060 # output is simply discarded.  So we exec the FD to /dev/null,
   13061 # effectively closing config.log, so it can be properly (re)opened and
   13062 # appended to by config.status.  When coming back to configure, we
   13063 # need to make the FD available again.
   13064 if test "$no_create" != yes; then
   13065   ac_cs_success=:
   13066   ac_config_status_args=
   13067   test "$silent" = yes &&
   13068     ac_config_status_args="$ac_config_status_args --quiet"
   13069   exec 5>/dev/null
   13070   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13071   exec 5>>config.log
   13072   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13073   # would make configure fail if this is the last instruction.
   13074   $ac_cs_success || as_fn_exit 1
   13075 fi
   13076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13077   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13079 fi
   13080 
   13081