Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for iceauth 1.0.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='iceauth'
    583 PACKAGE_TARNAME='iceauth'
    584 PACKAGE_VERSION='1.0.8'
    585 PACKAGE_STRING='iceauth 1.0.8'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 ICEAUTH_LIBS
    635 ICEAUTH_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 EGREP
    668 GREP
    669 CPP
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 AM_BACKSLASH
    688 AM_DEFAULT_VERBOSITY
    689 AM_DEFAULT_V
    690 AM_V
    691 am__untar
    692 am__tar
    693 AMTAR
    694 am__leading_dot
    695 SET_MAKE
    696 AWK
    697 mkdir_p
    698 MKDIR_P
    699 INSTALL_STRIP_PROGRAM
    700 STRIP
    701 install_sh
    702 MAKEINFO
    703 AUTOHEADER
    704 AUTOMAKE
    705 AUTOCONF
    706 ACLOCAL
    707 VERSION
    708 PACKAGE
    709 CYGPATH_W
    710 am__isrc
    711 INSTALL_DATA
    712 INSTALL_SCRIPT
    713 INSTALL_PROGRAM
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_silent_rules
    756 enable_dependency_tracking
    757 enable_selective_werror
    758 enable_strict_compilation
    759 with_lint
    760 '
    761       ac_precious_vars='build_alias
    762 host_alias
    763 target_alias
    764 CC
    765 CFLAGS
    766 LDFLAGS
    767 LIBS
    768 CPPFLAGS
    769 CPP
    770 PKG_CONFIG
    771 PKG_CONFIG_PATH
    772 PKG_CONFIG_LIBDIR
    773 ICEAUTH_CFLAGS
    774 ICEAUTH_LIBS
    775 LINT
    776 LINT_FLAGS'
    777 
    778 
    779 # Initialize some variables set by options.
    780 ac_init_help=
    781 ac_init_version=false
    782 ac_unrecognized_opts=
    783 ac_unrecognized_sep=
    784 # The variables have the same names as the options, with
    785 # dashes changed to underlines.
    786 cache_file=/dev/null
    787 exec_prefix=NONE
    788 no_create=
    789 no_recursion=
    790 prefix=NONE
    791 program_prefix=NONE
    792 program_suffix=NONE
    793 program_transform_name=s,x,x,
    794 silent=
    795 site=
    796 srcdir=
    797 verbose=
    798 x_includes=NONE
    799 x_libraries=NONE
    800 
    801 # Installation directory options.
    802 # These are left unexpanded so users can "make install exec_prefix=/foo"
    803 # and all the variables that are supposed to be based on exec_prefix
    804 # by default will actually change.
    805 # Use braces instead of parens because sh, perl, etc. also accept them.
    806 # (The list follows the same order as the GNU Coding Standards.)
    807 bindir='${exec_prefix}/bin'
    808 sbindir='${exec_prefix}/sbin'
    809 libexecdir='${exec_prefix}/libexec'
    810 datarootdir='${prefix}/share'
    811 datadir='${datarootdir}'
    812 sysconfdir='${prefix}/etc'
    813 sharedstatedir='${prefix}/com'
    814 localstatedir='${prefix}/var'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   # Accept the important Cygnus configure options, so we can diagnose typos.
    845 
    846   case $ac_dashdash$ac_option in
    847   --)
    848     ac_dashdash=yes ;;
    849 
    850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    851     ac_prev=bindir ;;
    852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    853     bindir=$ac_optarg ;;
    854 
    855   -build | --build | --buil | --bui | --bu)
    856     ac_prev=build_alias ;;
    857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    858     build_alias=$ac_optarg ;;
    859 
    860   -cache-file | --cache-file | --cache-fil | --cache-fi \
    861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    862     ac_prev=cache_file ;;
    863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    865     cache_file=$ac_optarg ;;
    866 
    867   --config-cache | -C)
    868     cache_file=config.cache ;;
    869 
    870   -datadir | --datadir | --datadi | --datad)
    871     ac_prev=datadir ;;
    872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    873     datadir=$ac_optarg ;;
    874 
    875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    876   | --dataroo | --dataro | --datar)
    877     ac_prev=datarootdir ;;
    878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    880     datarootdir=$ac_optarg ;;
    881 
    882   -disable-* | --disable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: $ac_useropt"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=no ;;
    897 
    898   -docdir | --docdir | --docdi | --doc | --do)
    899     ac_prev=docdir ;;
    900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    901     docdir=$ac_optarg ;;
    902 
    903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    904     ac_prev=dvidir ;;
    905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    906     dvidir=$ac_optarg ;;
    907 
    908   -enable-* | --enable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: $ac_useropt"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=\$ac_optarg ;;
    923 
    924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    926   | --exec | --exe | --ex)
    927     ac_prev=exec_prefix ;;
    928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    930   | --exec=* | --exe=* | --ex=*)
    931     exec_prefix=$ac_optarg ;;
    932 
    933   -gas | --gas | --ga | --g)
    934     # Obsolete; use --with-gas.
    935     with_gas=yes ;;
    936 
    937   -help | --help | --hel | --he | -h)
    938     ac_init_help=long ;;
    939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    940     ac_init_help=recursive ;;
    941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    942     ac_init_help=short ;;
    943 
    944   -host | --host | --hos | --ho)
    945     ac_prev=host_alias ;;
    946   -host=* | --host=* | --hos=* | --ho=*)
    947     host_alias=$ac_optarg ;;
    948 
    949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    950     ac_prev=htmldir ;;
    951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    952   | --ht=*)
    953     htmldir=$ac_optarg ;;
    954 
    955   -includedir | --includedir | --includedi | --included | --include \
    956   | --includ | --inclu | --incl | --inc)
    957     ac_prev=includedir ;;
    958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    959   | --includ=* | --inclu=* | --incl=* | --inc=*)
    960     includedir=$ac_optarg ;;
    961 
    962   -infodir | --infodir | --infodi | --infod | --info | --inf)
    963     ac_prev=infodir ;;
    964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    965     infodir=$ac_optarg ;;
    966 
    967   -libdir | --libdir | --libdi | --libd)
    968     ac_prev=libdir ;;
    969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    970     libdir=$ac_optarg ;;
    971 
    972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    973   | --libexe | --libex | --libe)
    974     ac_prev=libexecdir ;;
    975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    976   | --libexe=* | --libex=* | --libe=*)
    977     libexecdir=$ac_optarg ;;
    978 
    979   -localedir | --localedir | --localedi | --localed | --locale)
    980     ac_prev=localedir ;;
    981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    982     localedir=$ac_optarg ;;
    983 
    984   -localstatedir | --localstatedir | --localstatedi | --localstated \
    985   | --localstate | --localstat | --localsta | --localst | --locals)
    986     ac_prev=localstatedir ;;
    987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    989     localstatedir=$ac_optarg ;;
    990 
    991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    992     ac_prev=mandir ;;
    993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    994     mandir=$ac_optarg ;;
    995 
    996   -nfp | --nfp | --nf)
    997     # Obsolete; use --without-fp.
    998     with_fp=no ;;
    999 
   1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1001   | --no-cr | --no-c | -n)
   1002     no_create=yes ;;
   1003 
   1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1006     no_recursion=yes ;;
   1007 
   1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1010   | --oldin | --oldi | --old | --ol | --o)
   1011     ac_prev=oldincludedir ;;
   1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1015     oldincludedir=$ac_optarg ;;
   1016 
   1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1018     ac_prev=prefix ;;
   1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1020     prefix=$ac_optarg ;;
   1021 
   1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1023   | --program-pre | --program-pr | --program-p)
   1024     ac_prev=program_prefix ;;
   1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1027     program_prefix=$ac_optarg ;;
   1028 
   1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1030   | --program-suf | --program-su | --program-s)
   1031     ac_prev=program_suffix ;;
   1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1034     program_suffix=$ac_optarg ;;
   1035 
   1036   -program-transform-name | --program-transform-name \
   1037   | --program-transform-nam | --program-transform-na \
   1038   | --program-transform-n | --program-transform- \
   1039   | --program-transform | --program-transfor \
   1040   | --program-transfo | --program-transf \
   1041   | --program-trans | --program-tran \
   1042   | --progr-tra | --program-tr | --program-t)
   1043     ac_prev=program_transform_name ;;
   1044   -program-transform-name=* | --program-transform-name=* \
   1045   | --program-transform-nam=* | --program-transform-na=* \
   1046   | --program-transform-n=* | --program-transform-=* \
   1047   | --program-transform=* | --program-transfor=* \
   1048   | --program-transfo=* | --program-transf=* \
   1049   | --program-trans=* | --program-tran=* \
   1050   | --progr-tra=* | --program-tr=* | --program-t=*)
   1051     program_transform_name=$ac_optarg ;;
   1052 
   1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1054     ac_prev=pdfdir ;;
   1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1056     pdfdir=$ac_optarg ;;
   1057 
   1058   -psdir | --psdir | --psdi | --psd | --ps)
   1059     ac_prev=psdir ;;
   1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1061     psdir=$ac_optarg ;;
   1062 
   1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1064   | -silent | --silent | --silen | --sile | --sil)
   1065     silent=yes ;;
   1066 
   1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1068     ac_prev=sbindir ;;
   1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1070   | --sbi=* | --sb=*)
   1071     sbindir=$ac_optarg ;;
   1072 
   1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1075   | --sharedst | --shareds | --shared | --share | --shar \
   1076   | --sha | --sh)
   1077     ac_prev=sharedstatedir ;;
   1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1081   | --sha=* | --sh=*)
   1082     sharedstatedir=$ac_optarg ;;
   1083 
   1084   -site | --site | --sit)
   1085     ac_prev=site ;;
   1086   -site=* | --site=* | --sit=*)
   1087     site=$ac_optarg ;;
   1088 
   1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1090     ac_prev=srcdir ;;
   1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1092     srcdir=$ac_optarg ;;
   1093 
   1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1095   | --syscon | --sysco | --sysc | --sys | --sy)
   1096     ac_prev=sysconfdir ;;
   1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1099     sysconfdir=$ac_optarg ;;
   1100 
   1101   -target | --target | --targe | --targ | --tar | --ta | --t)
   1102     ac_prev=target_alias ;;
   1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1104     target_alias=$ac_optarg ;;
   1105 
   1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1107     verbose=yes ;;
   1108 
   1109   -version | --version | --versio | --versi | --vers | -V)
   1110     ac_init_version=: ;;
   1111 
   1112   -with-* | --with-*)
   1113     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1114     # Reject names that are not valid shell variable names.
   1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1116       as_fn_error $? "invalid package name: $ac_useropt"
   1117     ac_useropt_orig=$ac_useropt
   1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1119     case $ac_user_opts in
   1120       *"
   1121 "with_$ac_useropt"
   1122 "*) ;;
   1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1124 	 ac_unrecognized_sep=', ';;
   1125     esac
   1126     eval with_$ac_useropt=\$ac_optarg ;;
   1127 
   1128   -without-* | --without-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=no ;;
   1143 
   1144   --x)
   1145     # Obsolete; use --with-x.
   1146     with_x=yes ;;
   1147 
   1148   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1149   | --x-incl | --x-inc | --x-in | --x-i)
   1150     ac_prev=x_includes ;;
   1151   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1152   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1153     x_includes=$ac_optarg ;;
   1154 
   1155   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1156   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1157     ac_prev=x_libraries ;;
   1158   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1159   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1160     x_libraries=$ac_optarg ;;
   1161 
   1162   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1163 Try \`$0 --help' for more information"
   1164     ;;
   1165 
   1166   *=*)
   1167     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1168     # Reject names that are not valid shell variable names.
   1169     case $ac_envvar in #(
   1170       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1171       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1172     esac
   1173     eval $ac_envvar=\$ac_optarg
   1174     export $ac_envvar ;;
   1175 
   1176   *)
   1177     # FIXME: should be removed in autoconf 3.0.
   1178     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1179     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1180       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1181     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1182     ;;
   1183 
   1184   esac
   1185 done
   1186 
   1187 if test -n "$ac_prev"; then
   1188   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1189   as_fn_error $? "missing argument to $ac_option"
   1190 fi
   1191 
   1192 if test -n "$ac_unrecognized_opts"; then
   1193   case $enable_option_checking in
   1194     no) ;;
   1195     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1196     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1197   esac
   1198 fi
   1199 
   1200 # Check all directory arguments for consistency.
   1201 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1202 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1203 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1204 		libdir localedir mandir
   1205 do
   1206   eval ac_val=\$$ac_var
   1207   # Remove trailing slashes.
   1208   case $ac_val in
   1209     */ )
   1210       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1211       eval $ac_var=\$ac_val;;
   1212   esac
   1213   # Be sure to have absolute directory names.
   1214   case $ac_val in
   1215     [\\/$]* | ?:[\\/]* )  continue;;
   1216     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1217   esac
   1218   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1219 done
   1220 
   1221 # There might be people who depend on the old broken behavior: `$host'
   1222 # used to hold the argument of --host etc.
   1223 # FIXME: To remove some day.
   1224 build=$build_alias
   1225 host=$host_alias
   1226 target=$target_alias
   1227 
   1228 # FIXME: To remove some day.
   1229 if test "x$host_alias" != x; then
   1230   if test "x$build_alias" = x; then
   1231     cross_compiling=maybe
   1232   elif test "x$build_alias" != "x$host_alias"; then
   1233     cross_compiling=yes
   1234   fi
   1235 fi
   1236 
   1237 ac_tool_prefix=
   1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1239 
   1240 test "$silent" = yes && exec 6>/dev/null
   1241 
   1242 
   1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1244 ac_ls_di=`ls -di .` &&
   1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1246   as_fn_error $? "working directory cannot be determined"
   1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1248   as_fn_error $? "pwd does not report name of working directory"
   1249 
   1250 
   1251 # Find the source files, if location was not specified.
   1252 if test -z "$srcdir"; then
   1253   ac_srcdir_defaulted=yes
   1254   # Try the directory containing this script, then the parent directory.
   1255   ac_confdir=`$as_dirname -- "$as_myself" ||
   1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1257 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1258 	 X"$as_myself" : 'X\(//\)$' \| \
   1259 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1260 $as_echo X"$as_myself" |
   1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)[^/].*/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\/\)$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\).*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  s/.*/./; q'`
   1278   srcdir=$ac_confdir
   1279   if test ! -r "$srcdir/$ac_unique_file"; then
   1280     srcdir=..
   1281   fi
   1282 else
   1283   ac_srcdir_defaulted=no
   1284 fi
   1285 if test ! -r "$srcdir/$ac_unique_file"; then
   1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1287   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1288 fi
   1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1290 ac_abs_confdir=`(
   1291 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1292 	pwd)`
   1293 # When building in place, set srcdir=.
   1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1295   srcdir=.
   1296 fi
   1297 # Remove unnecessary trailing slashes from srcdir.
   1298 # Double slashes in file names in object file debugging info
   1299 # mess up M-x gdb in Emacs.
   1300 case $srcdir in
   1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1302 esac
   1303 for ac_var in $ac_precious_vars; do
   1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_env_${ac_var}_value=\$${ac_var}
   1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1308 done
   1309 
   1310 #
   1311 # Report the --help message.
   1312 #
   1313 if test "$ac_init_help" = "long"; then
   1314   # Omit some internal or obsolete options to make the list less imposing.
   1315   # This message is too long to be a string in the A/UX 3.1 sh.
   1316   cat <<_ACEOF
   1317 \`configure' configures iceauth 1.0.8 to adapt to many kinds of systems.
   1318 
   1319 Usage: $0 [OPTION]... [VAR=VALUE]...
   1320 
   1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1323 
   1324 Defaults for the options are specified in brackets.
   1325 
   1326 Configuration:
   1327   -h, --help              display this help and exit
   1328       --help=short        display options specific to this package
   1329       --help=recursive    display the short help of all the included packages
   1330   -V, --version           display version information and exit
   1331   -q, --quiet, --silent   do not print \`checking ...' messages
   1332       --cache-file=FILE   cache test results in FILE [disabled]
   1333   -C, --config-cache      alias for \`--cache-file=config.cache'
   1334   -n, --no-create         do not create output files
   1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1336 
   1337 Installation directories:
   1338   --prefix=PREFIX         install architecture-independent files in PREFIX
   1339                           [$ac_default_prefix]
   1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1341                           [PREFIX]
   1342 
   1343 By default, \`make install' will install all the files in
   1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1346 for instance \`--prefix=\$HOME'.
   1347 
   1348 For better control, use the options below.
   1349 
   1350 Fine tuning of the installation directories:
   1351   --bindir=DIR            user executables [EPREFIX/bin]
   1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1357   --libdir=DIR            object code libraries [EPREFIX/lib]
   1358   --includedir=DIR        C header files [PREFIX/include]
   1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1365   --docdir=DIR            documentation root [DATAROOTDIR/doc/iceauth]
   1366   --htmldir=DIR           html documentation [DOCDIR]
   1367   --dvidir=DIR            dvi documentation [DOCDIR]
   1368   --pdfdir=DIR            pdf documentation [DOCDIR]
   1369   --psdir=DIR             ps documentation [DOCDIR]
   1370 _ACEOF
   1371 
   1372   cat <<\_ACEOF
   1373 
   1374 Program names:
   1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1378 
   1379 System types:
   1380   --build=BUILD     configure for building on BUILD [guessed]
   1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1382 _ACEOF
   1383 fi
   1384 
   1385 if test -n "$ac_init_help"; then
   1386   case $ac_init_help in
   1387      short | recursive ) echo "Configuration of iceauth 1.0.8:";;
   1388    esac
   1389   cat <<\_ACEOF
   1390 
   1391 Optional Features:
   1392   --disable-option-checking  ignore unrecognized --enable/--with options
   1393   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1394   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1395   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1396   --disable-silent-rules  verbose build output (undo: "make V=0")
   1397   --enable-dependency-tracking
   1398                           do not reject slow dependency extractors
   1399   --disable-dependency-tracking
   1400                           speeds up one-time build
   1401   --disable-selective-werror
   1402                           Turn off selective compiler errors. (default:
   1403                           enabled)
   1404   --enable-strict-compilation
   1405                           Enable all warnings from compiler and make them
   1406                           errors (default: disabled)
   1407 
   1408 Optional Packages:
   1409   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1410   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1411   --with-lint             Use a lint-style source code checker (default:
   1412                           disabled)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   PKG_CONFIG_PATH
   1425               directories to add to pkg-config's search path
   1426   PKG_CONFIG_LIBDIR
   1427               path overriding pkg-config's built-in search path
   1428   ICEAUTH_CFLAGS
   1429               C compiler flags for ICEAUTH, overriding pkg-config
   1430   ICEAUTH_LIBS
   1431               linker flags for ICEAUTH, overriding pkg-config
   1432   LINT        Path to a lint-style command
   1433   LINT_FLAGS  Flags for the lint-style command
   1434 
   1435 Use these variables to override the choices made by `configure' or to help
   1436 it to find libraries and programs with nonstandard names/locations.
   1437 
   1438 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1439 _ACEOF
   1440 ac_status=$?
   1441 fi
   1442 
   1443 if test "$ac_init_help" = "recursive"; then
   1444   # If there are subdirs, report their specific --help.
   1445   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1446     test -d "$ac_dir" ||
   1447       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1448       continue
   1449     ac_builddir=.
   1450 
   1451 case "$ac_dir" in
   1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453 *)
   1454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1455   # A ".." for each directory in $ac_dir_suffix.
   1456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1457   case $ac_top_builddir_sub in
   1458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1460   esac ;;
   1461 esac
   1462 ac_abs_top_builddir=$ac_pwd
   1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1464 # for backward compatibility:
   1465 ac_top_builddir=$ac_top_build_prefix
   1466 
   1467 case $srcdir in
   1468   .)  # We are building in place.
   1469     ac_srcdir=.
   1470     ac_top_srcdir=$ac_top_builddir_sub
   1471     ac_abs_top_srcdir=$ac_pwd ;;
   1472   [\\/]* | ?:[\\/]* )  # Absolute name.
   1473     ac_srcdir=$srcdir$ac_dir_suffix;
   1474     ac_top_srcdir=$srcdir
   1475     ac_abs_top_srcdir=$srcdir ;;
   1476   *) # Relative name.
   1477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1478     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1480 esac
   1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1482 
   1483     cd "$ac_dir" || { ac_status=$?; continue; }
   1484     # Check for guested configure.
   1485     if test -f "$ac_srcdir/configure.gnu"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1488     elif test -f "$ac_srcdir/configure"; then
   1489       echo &&
   1490       $SHELL "$ac_srcdir/configure" --help=recursive
   1491     else
   1492       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1493     fi || ac_status=$?
   1494     cd "$ac_pwd" || { ac_status=$?; break; }
   1495   done
   1496 fi
   1497 
   1498 test -n "$ac_init_help" && exit $ac_status
   1499 if $ac_init_version; then
   1500   cat <<\_ACEOF
   1501 iceauth configure 1.0.8
   1502 generated by GNU Autoconf 2.69
   1503 
   1504 Copyright (C) 2012 Free Software Foundation, Inc.
   1505 This configure script is free software; the Free Software Foundation
   1506 gives unlimited permission to copy, distribute and modify it.
   1507 _ACEOF
   1508   exit
   1509 fi
   1510 
   1511 ## ------------------------ ##
   1512 ## Autoconf initialization. ##
   1513 ## ------------------------ ##
   1514 
   1515 # ac_fn_c_try_compile LINENO
   1516 # --------------------------
   1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1518 ac_fn_c_try_compile ()
   1519 {
   1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1521   rm -f conftest.$ac_objext
   1522   if { { ac_try="$ac_compile"
   1523 case "(($ac_try" in
   1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1525   *) ac_try_echo=$ac_try;;
   1526 esac
   1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1528 $as_echo "$ac_try_echo"; } >&5
   1529   (eval "$ac_compile") 2>conftest.err
   1530   ac_status=$?
   1531   if test -s conftest.err; then
   1532     grep -v '^ *+' conftest.err >conftest.er1
   1533     cat conftest.er1 >&5
   1534     mv -f conftest.er1 conftest.err
   1535   fi
   1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1537   test $ac_status = 0; } && {
   1538 	 test -z "$ac_c_werror_flag" ||
   1539 	 test ! -s conftest.err
   1540        } && test -s conftest.$ac_objext; then :
   1541   ac_retval=0
   1542 else
   1543   $as_echo "$as_me: failed program was:" >&5
   1544 sed 's/^/| /' conftest.$ac_ext >&5
   1545 
   1546 	ac_retval=1
   1547 fi
   1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1549   as_fn_set_status $ac_retval
   1550 
   1551 } # ac_fn_c_try_compile
   1552 
   1553 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1554 # ---------------------------------------------
   1555 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1556 # accordingly.
   1557 ac_fn_c_check_decl ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1561   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1563 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1564 if eval \${$3+:} false; then :
   1565   $as_echo_n "(cached) " >&6
   1566 else
   1567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1568 /* end confdefs.h.  */
   1569 $4
   1570 int
   1571 main ()
   1572 {
   1573 #ifndef $as_decl_name
   1574 #ifdef __cplusplus
   1575   (void) $as_decl_use;
   1576 #else
   1577   (void) $as_decl_name;
   1578 #endif
   1579 #endif
   1580 
   1581   ;
   1582   return 0;
   1583 }
   1584 _ACEOF
   1585 if ac_fn_c_try_compile "$LINENO"; then :
   1586   eval "$3=yes"
   1587 else
   1588   eval "$3=no"
   1589 fi
   1590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1591 fi
   1592 eval ac_res=\$$3
   1593 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1594 $as_echo "$ac_res" >&6; }
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596 
   1597 } # ac_fn_c_check_decl
   1598 
   1599 # ac_fn_c_try_cpp LINENO
   1600 # ----------------------
   1601 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1602 ac_fn_c_try_cpp ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1606 case "(($ac_try" in
   1607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1608   *) ac_try_echo=$ac_try;;
   1609 esac
   1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1611 $as_echo "$ac_try_echo"; } >&5
   1612   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1613   ac_status=$?
   1614   if test -s conftest.err; then
   1615     grep -v '^ *+' conftest.err >conftest.er1
   1616     cat conftest.er1 >&5
   1617     mv -f conftest.er1 conftest.err
   1618   fi
   1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1620   test $ac_status = 0; } > conftest.i && {
   1621 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1622 	 test ! -s conftest.err
   1623        }; then :
   1624   ac_retval=0
   1625 else
   1626   $as_echo "$as_me: failed program was:" >&5
   1627 sed 's/^/| /' conftest.$ac_ext >&5
   1628 
   1629     ac_retval=1
   1630 fi
   1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1632   as_fn_set_status $ac_retval
   1633 
   1634 } # ac_fn_c_try_cpp
   1635 
   1636 # ac_fn_c_try_run LINENO
   1637 # ----------------------
   1638 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1639 # that executables *can* be run.
   1640 ac_fn_c_try_run ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   if { { ac_try="$ac_link"
   1644 case "(($ac_try" in
   1645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1646   *) ac_try_echo=$ac_try;;
   1647 esac
   1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1649 $as_echo "$ac_try_echo"; } >&5
   1650   (eval "$ac_link") 2>&5
   1651   ac_status=$?
   1652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1653   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1654   { { case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_try") 2>&5
   1661   ac_status=$?
   1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; }; }; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: program exited with status $ac_status" >&5
   1667        $as_echo "$as_me: failed program was:" >&5
   1668 sed 's/^/| /' conftest.$ac_ext >&5
   1669 
   1670        ac_retval=$ac_status
   1671 fi
   1672   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674   as_fn_set_status $ac_retval
   1675 
   1676 } # ac_fn_c_try_run
   1677 
   1678 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1679 # -------------------------------------------------------
   1680 # Tests whether HEADER exists and can be compiled using the include files in
   1681 # INCLUDES, setting the cache variable VAR accordingly.
   1682 ac_fn_c_check_header_compile ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1686 $as_echo_n "checking for $2... " >&6; }
   1687 if eval \${$3+:} false; then :
   1688   $as_echo_n "(cached) " >&6
   1689 else
   1690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1691 /* end confdefs.h.  */
   1692 $4
   1693 #include <$2>
   1694 _ACEOF
   1695 if ac_fn_c_try_compile "$LINENO"; then :
   1696   eval "$3=yes"
   1697 else
   1698   eval "$3=no"
   1699 fi
   1700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1701 fi
   1702 eval ac_res=\$$3
   1703 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1704 $as_echo "$ac_res" >&6; }
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706 
   1707 } # ac_fn_c_check_header_compile
   1708 
   1709 # ac_fn_c_try_link LINENO
   1710 # -----------------------
   1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1712 ac_fn_c_try_link ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   rm -f conftest.$ac_objext conftest$ac_exeext
   1716   if { { ac_try="$ac_link"
   1717 case "(($ac_try" in
   1718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1719   *) ac_try_echo=$ac_try;;
   1720 esac
   1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1722 $as_echo "$ac_try_echo"; } >&5
   1723   (eval "$ac_link") 2>conftest.err
   1724   ac_status=$?
   1725   if test -s conftest.err; then
   1726     grep -v '^ *+' conftest.err >conftest.er1
   1727     cat conftest.er1 >&5
   1728     mv -f conftest.er1 conftest.err
   1729   fi
   1730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1731   test $ac_status = 0; } && {
   1732 	 test -z "$ac_c_werror_flag" ||
   1733 	 test ! -s conftest.err
   1734        } && test -s conftest$ac_exeext && {
   1735 	 test "$cross_compiling" = yes ||
   1736 	 test -x conftest$ac_exeext
   1737        }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743 	ac_retval=1
   1744 fi
   1745   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1746   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1747   # interfere with the next link command; also delete a directory that is
   1748   # left behind by Apple's compiler.  We do this before executing the actions.
   1749   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751   as_fn_set_status $ac_retval
   1752 
   1753 } # ac_fn_c_try_link
   1754 cat >config.log <<_ACEOF
   1755 This file contains any messages produced by compilers while
   1756 running configure, to aid debugging if configure makes a mistake.
   1757 
   1758 It was created by iceauth $as_me 1.0.8, which was
   1759 generated by GNU Autoconf 2.69.  Invocation command line was
   1760 
   1761   $ $0 $@
   1762 
   1763 _ACEOF
   1764 exec 5>>config.log
   1765 {
   1766 cat <<_ASUNAME
   1767 ## --------- ##
   1768 ## Platform. ##
   1769 ## --------- ##
   1770 
   1771 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1772 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1773 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1774 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1775 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1776 
   1777 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1778 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1779 
   1780 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1781 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1782 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1783 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1784 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1785 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1786 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1787 
   1788 _ASUNAME
   1789 
   1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1791 for as_dir in $PATH
   1792 do
   1793   IFS=$as_save_IFS
   1794   test -z "$as_dir" && as_dir=.
   1795     $as_echo "PATH: $as_dir"
   1796   done
   1797 IFS=$as_save_IFS
   1798 
   1799 } >&5
   1800 
   1801 cat >&5 <<_ACEOF
   1802 
   1803 
   1804 ## ----------- ##
   1805 ## Core tests. ##
   1806 ## ----------- ##
   1807 
   1808 _ACEOF
   1809 
   1810 
   1811 # Keep a trace of the command line.
   1812 # Strip out --no-create and --no-recursion so they do not pile up.
   1813 # Strip out --silent because we don't want to record it for future runs.
   1814 # Also quote any args containing shell meta-characters.
   1815 # Make two passes to allow for proper duplicate-argument suppression.
   1816 ac_configure_args=
   1817 ac_configure_args0=
   1818 ac_configure_args1=
   1819 ac_must_keep_next=false
   1820 for ac_pass in 1 2
   1821 do
   1822   for ac_arg
   1823   do
   1824     case $ac_arg in
   1825     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1826     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1827     | -silent | --silent | --silen | --sile | --sil)
   1828       continue ;;
   1829     *\'*)
   1830       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1831     esac
   1832     case $ac_pass in
   1833     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1834     2)
   1835       as_fn_append ac_configure_args1 " '$ac_arg'"
   1836       if test $ac_must_keep_next = true; then
   1837 	ac_must_keep_next=false # Got value, back to normal.
   1838       else
   1839 	case $ac_arg in
   1840 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1841 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1842 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1843 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1844 	    case "$ac_configure_args0 " in
   1845 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1846 	    esac
   1847 	    ;;
   1848 	  -* ) ac_must_keep_next=true ;;
   1849 	esac
   1850       fi
   1851       as_fn_append ac_configure_args " '$ac_arg'"
   1852       ;;
   1853     esac
   1854   done
   1855 done
   1856 { ac_configure_args0=; unset ac_configure_args0;}
   1857 { ac_configure_args1=; unset ac_configure_args1;}
   1858 
   1859 # When interrupted or exit'd, cleanup temporary files, and complete
   1860 # config.log.  We remove comments because anyway the quotes in there
   1861 # would cause problems or look ugly.
   1862 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1863 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1864 trap 'exit_status=$?
   1865   # Save into config.log some information that might help in debugging.
   1866   {
   1867     echo
   1868 
   1869     $as_echo "## ---------------- ##
   1870 ## Cache variables. ##
   1871 ## ---------------- ##"
   1872     echo
   1873     # The following way of writing the cache mishandles newlines in values,
   1874 (
   1875   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1876     eval ac_val=\$$ac_var
   1877     case $ac_val in #(
   1878     *${as_nl}*)
   1879       case $ac_var in #(
   1880       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1881 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1882       esac
   1883       case $ac_var in #(
   1884       _ | IFS | as_nl) ;; #(
   1885       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1886       *) { eval $ac_var=; unset $ac_var;} ;;
   1887       esac ;;
   1888     esac
   1889   done
   1890   (set) 2>&1 |
   1891     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1892     *${as_nl}ac_space=\ *)
   1893       sed -n \
   1894 	"s/'\''/'\''\\\\'\'''\''/g;
   1895 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1896       ;; #(
   1897     *)
   1898       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1899       ;;
   1900     esac |
   1901     sort
   1902 )
   1903     echo
   1904 
   1905     $as_echo "## ----------------- ##
   1906 ## Output variables. ##
   1907 ## ----------------- ##"
   1908     echo
   1909     for ac_var in $ac_subst_vars
   1910     do
   1911       eval ac_val=\$$ac_var
   1912       case $ac_val in
   1913       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1914       esac
   1915       $as_echo "$ac_var='\''$ac_val'\''"
   1916     done | sort
   1917     echo
   1918 
   1919     if test -n "$ac_subst_files"; then
   1920       $as_echo "## ------------------- ##
   1921 ## File substitutions. ##
   1922 ## ------------------- ##"
   1923       echo
   1924       for ac_var in $ac_subst_files
   1925       do
   1926 	eval ac_val=\$$ac_var
   1927 	case $ac_val in
   1928 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1929 	esac
   1930 	$as_echo "$ac_var='\''$ac_val'\''"
   1931       done | sort
   1932       echo
   1933     fi
   1934 
   1935     if test -s confdefs.h; then
   1936       $as_echo "## ----------- ##
   1937 ## confdefs.h. ##
   1938 ## ----------- ##"
   1939       echo
   1940       cat confdefs.h
   1941       echo
   1942     fi
   1943     test "$ac_signal" != 0 &&
   1944       $as_echo "$as_me: caught signal $ac_signal"
   1945     $as_echo "$as_me: exit $exit_status"
   1946   } >&5
   1947   rm -f core *.core core.conftest.* &&
   1948     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1949     exit $exit_status
   1950 ' 0
   1951 for ac_signal in 1 2 13 15; do
   1952   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1953 done
   1954 ac_signal=0
   1955 
   1956 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1957 rm -f -r conftest* confdefs.h
   1958 
   1959 $as_echo "/* confdefs.h */" > confdefs.h
   1960 
   1961 # Predefined preprocessor variables.
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_NAME "$PACKAGE_NAME"
   1965 _ACEOF
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1969 _ACEOF
   1970 
   1971 cat >>confdefs.h <<_ACEOF
   1972 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1973 _ACEOF
   1974 
   1975 cat >>confdefs.h <<_ACEOF
   1976 #define PACKAGE_STRING "$PACKAGE_STRING"
   1977 _ACEOF
   1978 
   1979 cat >>confdefs.h <<_ACEOF
   1980 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1981 _ACEOF
   1982 
   1983 cat >>confdefs.h <<_ACEOF
   1984 #define PACKAGE_URL "$PACKAGE_URL"
   1985 _ACEOF
   1986 
   1987 
   1988 # Let the site file select an alternate cache file if it wants to.
   1989 # Prefer an explicitly selected file to automatically selected ones.
   1990 ac_site_file1=NONE
   1991 ac_site_file2=NONE
   1992 if test -n "$CONFIG_SITE"; then
   1993   # We do not want a PATH search for config.site.
   1994   case $CONFIG_SITE in #((
   1995     -*)  ac_site_file1=./$CONFIG_SITE;;
   1996     */*) ac_site_file1=$CONFIG_SITE;;
   1997     *)   ac_site_file1=./$CONFIG_SITE;;
   1998   esac
   1999 elif test "x$prefix" != xNONE; then
   2000   ac_site_file1=$prefix/share/config.site
   2001   ac_site_file2=$prefix/etc/config.site
   2002 else
   2003   ac_site_file1=$ac_default_prefix/share/config.site
   2004   ac_site_file2=$ac_default_prefix/etc/config.site
   2005 fi
   2006 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2007 do
   2008   test "x$ac_site_file" = xNONE && continue
   2009   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2010     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2011 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2012     sed 's/^/| /' "$ac_site_file" >&5
   2013     . "$ac_site_file" \
   2014       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2016 as_fn_error $? "failed to load site script $ac_site_file
   2017 See \`config.log' for more details" "$LINENO" 5; }
   2018   fi
   2019 done
   2020 
   2021 if test -r "$cache_file"; then
   2022   # Some versions of bash will fail to source /dev/null (special files
   2023   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2024   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2025     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2026 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2027     case $cache_file in
   2028       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2029       *)                      . "./$cache_file";;
   2030     esac
   2031   fi
   2032 else
   2033   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2034 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2035   >$cache_file
   2036 fi
   2037 
   2038 # Check that the precious variables saved in the cache have kept the same
   2039 # value.
   2040 ac_cache_corrupted=false
   2041 for ac_var in $ac_precious_vars; do
   2042   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2043   eval ac_new_set=\$ac_env_${ac_var}_set
   2044   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2045   eval ac_new_val=\$ac_env_${ac_var}_value
   2046   case $ac_old_set,$ac_new_set in
   2047     set,)
   2048       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2049 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2050       ac_cache_corrupted=: ;;
   2051     ,set)
   2052       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2053 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2054       ac_cache_corrupted=: ;;
   2055     ,);;
   2056     *)
   2057       if test "x$ac_old_val" != "x$ac_new_val"; then
   2058 	# differences in whitespace do not lead to failure.
   2059 	ac_old_val_w=`echo x $ac_old_val`
   2060 	ac_new_val_w=`echo x $ac_new_val`
   2061 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2062 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2063 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2064 	  ac_cache_corrupted=:
   2065 	else
   2066 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2067 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2068 	  eval $ac_var=\$ac_old_val
   2069 	fi
   2070 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2071 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2072 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2073 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2074       fi;;
   2075   esac
   2076   # Pass precious variables to config.status.
   2077   if test "$ac_new_set" = set; then
   2078     case $ac_new_val in
   2079     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2080     *) ac_arg=$ac_var=$ac_new_val ;;
   2081     esac
   2082     case " $ac_configure_args " in
   2083       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2084       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2085     esac
   2086   fi
   2087 done
   2088 if $ac_cache_corrupted; then
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2091   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2092 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2093   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2094 fi
   2095 ## -------------------- ##
   2096 ## Main body of script. ##
   2097 ## -------------------- ##
   2098 
   2099 ac_ext=c
   2100 ac_cpp='$CPP $CPPFLAGS'
   2101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2104 
   2105 
   2106 
   2107 ac_config_headers="$ac_config_headers config.h"
   2108 
   2109 
   2110 # Initialize Automake
   2111 am__api_version='1.15'
   2112 
   2113 ac_aux_dir=
   2114 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2115   if test -f "$ac_dir/install-sh"; then
   2116     ac_aux_dir=$ac_dir
   2117     ac_install_sh="$ac_aux_dir/install-sh -c"
   2118     break
   2119   elif test -f "$ac_dir/install.sh"; then
   2120     ac_aux_dir=$ac_dir
   2121     ac_install_sh="$ac_aux_dir/install.sh -c"
   2122     break
   2123   elif test -f "$ac_dir/shtool"; then
   2124     ac_aux_dir=$ac_dir
   2125     ac_install_sh="$ac_aux_dir/shtool install -c"
   2126     break
   2127   fi
   2128 done
   2129 if test -z "$ac_aux_dir"; then
   2130   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2131 fi
   2132 
   2133 # These three variables are undocumented and unsupported,
   2134 # and are intended to be withdrawn in a future Autoconf release.
   2135 # They can cause serious problems if a builder's source tree is in a directory
   2136 # whose full name contains unusual characters.
   2137 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2138 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2139 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2140 
   2141 
   2142 # Find a good install program.  We prefer a C program (faster),
   2143 # so one script is as good as another.  But avoid the broken or
   2144 # incompatible versions:
   2145 # SysV /etc/install, /usr/sbin/install
   2146 # SunOS /usr/etc/install
   2147 # IRIX /sbin/install
   2148 # AIX /bin/install
   2149 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2153 # OS/2's system install, which has a completely different semantic
   2154 # ./install, which can be erroneously created by make from ./install.sh.
   2155 # Reject install programs that cannot install multiple files.
   2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2157 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2158 if test -z "$INSTALL"; then
   2159 if ${ac_cv_path_install+:} false; then :
   2160   $as_echo_n "(cached) " >&6
   2161 else
   2162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2163 for as_dir in $PATH
   2164 do
   2165   IFS=$as_save_IFS
   2166   test -z "$as_dir" && as_dir=.
   2167     # Account for people who put trailing slashes in PATH elements.
   2168 case $as_dir/ in #((
   2169   ./ | .// | /[cC]/* | \
   2170   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2171   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2172   /usr/ucb/* ) ;;
   2173   *)
   2174     # OSF1 and SCO ODT 3.0 have their own names for install.
   2175     # Don't use installbsd from OSF since it installs stuff as root
   2176     # by default.
   2177     for ac_prog in ginstall scoinst install; do
   2178       for ac_exec_ext in '' $ac_executable_extensions; do
   2179 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2180 	  if test $ac_prog = install &&
   2181 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2182 	    # AIX install.  It has an incompatible calling convention.
   2183 	    :
   2184 	  elif test $ac_prog = install &&
   2185 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2186 	    # program-specific install script used by HP pwplus--don't use.
   2187 	    :
   2188 	  else
   2189 	    rm -rf conftest.one conftest.two conftest.dir
   2190 	    echo one > conftest.one
   2191 	    echo two > conftest.two
   2192 	    mkdir conftest.dir
   2193 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2194 	      test -s conftest.one && test -s conftest.two &&
   2195 	      test -s conftest.dir/conftest.one &&
   2196 	      test -s conftest.dir/conftest.two
   2197 	    then
   2198 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2199 	      break 3
   2200 	    fi
   2201 	  fi
   2202 	fi
   2203       done
   2204     done
   2205     ;;
   2206 esac
   2207 
   2208   done
   2209 IFS=$as_save_IFS
   2210 
   2211 rm -rf conftest.one conftest.two conftest.dir
   2212 
   2213 fi
   2214   if test "${ac_cv_path_install+set}" = set; then
   2215     INSTALL=$ac_cv_path_install
   2216   else
   2217     # As a last resort, use the slow shell script.  Don't cache a
   2218     # value for INSTALL within a source directory, because that will
   2219     # break other packages using the cache if that directory is
   2220     # removed, or if the value is a relative name.
   2221     INSTALL=$ac_install_sh
   2222   fi
   2223 fi
   2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2225 $as_echo "$INSTALL" >&6; }
   2226 
   2227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2228 # It thinks the first close brace ends the variable substitution.
   2229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2230 
   2231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2232 
   2233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2234 
   2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2236 $as_echo_n "checking whether build environment is sane... " >&6; }
   2237 # Reject unsafe characters in $srcdir or the absolute working directory
   2238 # name.  Accept space and tab only in the latter.
   2239 am_lf='
   2240 '
   2241 case `pwd` in
   2242   *[\\\"\#\$\&\'\`$am_lf]*)
   2243     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2244 esac
   2245 case $srcdir in
   2246   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2247     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2248 esac
   2249 
   2250 # Do 'set' in a subshell so we don't clobber the current shell's
   2251 # arguments.  Must try -L first in case configure is actually a
   2252 # symlink; some systems play weird games with the mod time of symlinks
   2253 # (eg FreeBSD returns the mod time of the symlink's containing
   2254 # directory).
   2255 if (
   2256    am_has_slept=no
   2257    for am_try in 1 2; do
   2258      echo "timestamp, slept: $am_has_slept" > conftest.file
   2259      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2260      if test "$*" = "X"; then
   2261 	# -L didn't work.
   2262 	set X `ls -t "$srcdir/configure" conftest.file`
   2263      fi
   2264      if test "$*" != "X $srcdir/configure conftest.file" \
   2265 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2266 
   2267 	# If neither matched, then we have a broken ls.  This can happen
   2268 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2269 	# broken ls alias from the environment.  This has actually
   2270 	# happened.  Such a system could not be considered "sane".
   2271 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2272   alias in your environment" "$LINENO" 5
   2273      fi
   2274      if test "$2" = conftest.file || test $am_try -eq 2; then
   2275        break
   2276      fi
   2277      # Just in case.
   2278      sleep 1
   2279      am_has_slept=yes
   2280    done
   2281    test "$2" = conftest.file
   2282    )
   2283 then
   2284    # Ok.
   2285    :
   2286 else
   2287    as_fn_error $? "newly created file is older than distributed files!
   2288 Check your system clock" "$LINENO" 5
   2289 fi
   2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2291 $as_echo "yes" >&6; }
   2292 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2293 # generated files are strictly newer.
   2294 am_sleep_pid=
   2295 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2296   ( sleep 1 ) &
   2297   am_sleep_pid=$!
   2298 fi
   2299 
   2300 rm -f conftest.file
   2301 
   2302 test "$program_prefix" != NONE &&
   2303   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2304 # Use a double $ so make ignores it.
   2305 test "$program_suffix" != NONE &&
   2306   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2307 # Double any \ or $.
   2308 # By default was `s,x,x', remove it if useless.
   2309 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2310 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2311 
   2312 # Expand $ac_aux_dir to an absolute path.
   2313 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2314 
   2315 if test x"${MISSING+set}" != xset; then
   2316   case $am_aux_dir in
   2317   *\ * | *\	*)
   2318     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2319   *)
   2320     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2321   esac
   2322 fi
   2323 # Use eval to expand $SHELL
   2324 if eval "$MISSING --is-lightweight"; then
   2325   am_missing_run="$MISSING "
   2326 else
   2327   am_missing_run=
   2328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2329 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2330 fi
   2331 
   2332 if test x"${install_sh+set}" != xset; then
   2333   case $am_aux_dir in
   2334   *\ * | *\	*)
   2335     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2336   *)
   2337     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2338   esac
   2339 fi
   2340 
   2341 # Installed binaries are usually stripped using 'strip' when the user
   2342 # run "make install-strip".  However 'strip' might not be the right
   2343 # tool to use in cross-compilation environments, therefore Automake
   2344 # will honor the 'STRIP' environment variable to overrule this program.
   2345 if test "$cross_compiling" != no; then
   2346   if test -n "$ac_tool_prefix"; then
   2347   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2348 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2350 $as_echo_n "checking for $ac_word... " >&6; }
   2351 if ${ac_cv_prog_STRIP+:} false; then :
   2352   $as_echo_n "(cached) " >&6
   2353 else
   2354   if test -n "$STRIP"; then
   2355   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362     for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2364     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369   done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 STRIP=$ac_cv_prog_STRIP
   2375 if test -n "$STRIP"; then
   2376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2377 $as_echo "$STRIP" >&6; }
   2378 else
   2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2380 $as_echo "no" >&6; }
   2381 fi
   2382 
   2383 
   2384 fi
   2385 if test -z "$ac_cv_prog_STRIP"; then
   2386   ac_ct_STRIP=$STRIP
   2387   # Extract the first word of "strip", so it can be a program name with args.
   2388 set dummy strip; ac_word=$2
   2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2390 $as_echo_n "checking for $ac_word... " >&6; }
   2391 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2392   $as_echo_n "(cached) " >&6
   2393 else
   2394   if test -n "$ac_ct_STRIP"; then
   2395   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2396 else
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402     for ac_exec_ext in '' $ac_executable_extensions; do
   2403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2404     ac_cv_prog_ac_ct_STRIP="strip"
   2405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2406     break 2
   2407   fi
   2408 done
   2409   done
   2410 IFS=$as_save_IFS
   2411 
   2412 fi
   2413 fi
   2414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2415 if test -n "$ac_ct_STRIP"; then
   2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2417 $as_echo "$ac_ct_STRIP" >&6; }
   2418 else
   2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2420 $as_echo "no" >&6; }
   2421 fi
   2422 
   2423   if test "x$ac_ct_STRIP" = x; then
   2424     STRIP=":"
   2425   else
   2426     case $cross_compiling:$ac_tool_warned in
   2427 yes:)
   2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2430 ac_tool_warned=yes ;;
   2431 esac
   2432     STRIP=$ac_ct_STRIP
   2433   fi
   2434 else
   2435   STRIP="$ac_cv_prog_STRIP"
   2436 fi
   2437 
   2438 fi
   2439 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2440 
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2442 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2443 if test -z "$MKDIR_P"; then
   2444   if ${ac_cv_path_mkdir+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2449 do
   2450   IFS=$as_save_IFS
   2451   test -z "$as_dir" && as_dir=.
   2452     for ac_prog in mkdir gmkdir; do
   2453 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2454 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2455 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2456 	     'mkdir (GNU coreutils) '* | \
   2457 	     'mkdir (coreutils) '* | \
   2458 	     'mkdir (fileutils) '4.1*)
   2459 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2460 	       break 3;;
   2461 	   esac
   2462 	 done
   2463        done
   2464   done
   2465 IFS=$as_save_IFS
   2466 
   2467 fi
   2468 
   2469   test -d ./--version && rmdir ./--version
   2470   if test "${ac_cv_path_mkdir+set}" = set; then
   2471     MKDIR_P="$ac_cv_path_mkdir -p"
   2472   else
   2473     # As a last resort, use the slow shell script.  Don't cache a
   2474     # value for MKDIR_P within a source directory, because that will
   2475     # break other packages using the cache if that directory is
   2476     # removed, or if the value is a relative name.
   2477     MKDIR_P="$ac_install_sh -d"
   2478   fi
   2479 fi
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2481 $as_echo "$MKDIR_P" >&6; }
   2482 
   2483 for ac_prog in gawk mawk nawk awk
   2484 do
   2485   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2486 set dummy $ac_prog; ac_word=$2
   2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2488 $as_echo_n "checking for $ac_word... " >&6; }
   2489 if ${ac_cv_prog_AWK+:} false; then :
   2490   $as_echo_n "(cached) " >&6
   2491 else
   2492   if test -n "$AWK"; then
   2493   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2494 else
   2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2496 for as_dir in $PATH
   2497 do
   2498   IFS=$as_save_IFS
   2499   test -z "$as_dir" && as_dir=.
   2500     for ac_exec_ext in '' $ac_executable_extensions; do
   2501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2502     ac_cv_prog_AWK="$ac_prog"
   2503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2504     break 2
   2505   fi
   2506 done
   2507   done
   2508 IFS=$as_save_IFS
   2509 
   2510 fi
   2511 fi
   2512 AWK=$ac_cv_prog_AWK
   2513 if test -n "$AWK"; then
   2514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2515 $as_echo "$AWK" >&6; }
   2516 else
   2517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2518 $as_echo "no" >&6; }
   2519 fi
   2520 
   2521 
   2522   test -n "$AWK" && break
   2523 done
   2524 
   2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2527 set x ${MAKE-make}
   2528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2529 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2530   $as_echo_n "(cached) " >&6
   2531 else
   2532   cat >conftest.make <<\_ACEOF
   2533 SHELL = /bin/sh
   2534 all:
   2535 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2536 _ACEOF
   2537 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2539   *@@@%%%=?*=@@@%%%*)
   2540     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2541   *)
   2542     eval ac_cv_prog_make_${ac_make}_set=no;;
   2543 esac
   2544 rm -f conftest.make
   2545 fi
   2546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2548 $as_echo "yes" >&6; }
   2549   SET_MAKE=
   2550 else
   2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2552 $as_echo "no" >&6; }
   2553   SET_MAKE="MAKE=${MAKE-make}"
   2554 fi
   2555 
   2556 rm -rf .tst 2>/dev/null
   2557 mkdir .tst 2>/dev/null
   2558 if test -d .tst; then
   2559   am__leading_dot=.
   2560 else
   2561   am__leading_dot=_
   2562 fi
   2563 rmdir .tst 2>/dev/null
   2564 
   2565 # Check whether --enable-silent-rules was given.
   2566 if test "${enable_silent_rules+set}" = set; then :
   2567   enableval=$enable_silent_rules;
   2568 fi
   2569 
   2570 case $enable_silent_rules in # (((
   2571   yes) AM_DEFAULT_VERBOSITY=0;;
   2572    no) AM_DEFAULT_VERBOSITY=1;;
   2573     *) AM_DEFAULT_VERBOSITY=1;;
   2574 esac
   2575 am_make=${MAKE-make}
   2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2577 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2578 if ${am_cv_make_support_nested_variables+:} false; then :
   2579   $as_echo_n "(cached) " >&6
   2580 else
   2581   if $as_echo 'TRUE=$(BAR$(V))
   2582 BAR0=false
   2583 BAR1=true
   2584 V=1
   2585 am__doit:
   2586 	@$(TRUE)
   2587 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2588   am_cv_make_support_nested_variables=yes
   2589 else
   2590   am_cv_make_support_nested_variables=no
   2591 fi
   2592 fi
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2594 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2595 if test $am_cv_make_support_nested_variables = yes; then
   2596     AM_V='$(V)'
   2597   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2598 else
   2599   AM_V=$AM_DEFAULT_VERBOSITY
   2600   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2601 fi
   2602 AM_BACKSLASH='\'
   2603 
   2604 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2605   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2606   # is not polluted with repeated "-I."
   2607   am__isrc=' -I$(srcdir)'
   2608   # test to see if srcdir already configured
   2609   if test -f $srcdir/config.status; then
   2610     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2611   fi
   2612 fi
   2613 
   2614 # test whether we have cygpath
   2615 if test -z "$CYGPATH_W"; then
   2616   if (cygpath --version) >/dev/null 2>/dev/null; then
   2617     CYGPATH_W='cygpath -w'
   2618   else
   2619     CYGPATH_W=echo
   2620   fi
   2621 fi
   2622 
   2623 
   2624 # Define the identity of the package.
   2625  PACKAGE='iceauth'
   2626  VERSION='1.0.8'
   2627 
   2628 
   2629 cat >>confdefs.h <<_ACEOF
   2630 #define PACKAGE "$PACKAGE"
   2631 _ACEOF
   2632 
   2633 
   2634 cat >>confdefs.h <<_ACEOF
   2635 #define VERSION "$VERSION"
   2636 _ACEOF
   2637 
   2638 # Some tools Automake needs.
   2639 
   2640 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2641 
   2642 
   2643 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2644 
   2645 
   2646 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2647 
   2648 
   2649 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2650 
   2651 
   2652 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2653 
   2654 # For better backward compatibility.  To be removed once Automake 1.9.x
   2655 # dies out for good.  For more background, see:
   2656 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2657 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2658 mkdir_p='$(MKDIR_P)'
   2659 
   2660 # We need awk for the "check" target (and possibly the TAP driver).  The
   2661 # system "awk" is bad on some platforms.
   2662 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2663 # in the wild :-(  We should find a proper way to deprecate it ...
   2664 AMTAR='$${TAR-tar}'
   2665 
   2666 
   2667 # We'll loop over all known methods to create a tar archive until one works.
   2668 _am_tools='gnutar  pax cpio none'
   2669 
   2670 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2671 
   2672 
   2673 
   2674 
   2675 
   2676 
   2677 # POSIX will say in a future version that running "rm -f" with no argument
   2678 # is OK; and we want to be able to make that assumption in our Makefile
   2679 # recipes.  So use an aggressive probe to check that the usage we want is
   2680 # actually supported "in the wild" to an acceptable degree.
   2681 # See automake bug#10828.
   2682 # To make any issue more visible, cause the running configure to be aborted
   2683 # by default if the 'rm' program in use doesn't match our expectations; the
   2684 # user can still override this though.
   2685 if rm -f && rm -fr && rm -rf; then : OK; else
   2686   cat >&2 <<'END'
   2687 Oops!
   2688 
   2689 Your 'rm' program seems unable to run without file operands specified
   2690 on the command line, even when the '-f' option is present.  This is contrary
   2691 to the behaviour of most rm programs out there, and not conforming with
   2692 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2693 
   2694 Please tell bug-automake@gnu.org about your system, including the value
   2695 of your $PATH and any error possibly output before this message.  This
   2696 can help us improve future automake versions.
   2697 
   2698 END
   2699   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2700     echo 'Configuration will proceed anyway, since you have set the' >&2
   2701     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2702     echo >&2
   2703   else
   2704     cat >&2 <<'END'
   2705 Aborting the configuration process, to ensure you take notice of the issue.
   2706 
   2707 You can download and install GNU coreutils to get an 'rm' implementation
   2708 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2709 
   2710 If you want to complete the configuration process using your problematic
   2711 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2712 to "yes", and re-run configure.
   2713 
   2714 END
   2715     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2716   fi
   2717 fi
   2718 
   2719 
   2720 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 DEPDIR="${am__leading_dot}deps"
   2733 
   2734 ac_config_commands="$ac_config_commands depfiles"
   2735 
   2736 
   2737 am_make=${MAKE-make}
   2738 cat > confinc << 'END'
   2739 am__doit:
   2740 	@echo this is the am__doit target
   2741 .PHONY: am__doit
   2742 END
   2743 # If we don't find an include directive, just comment out the code.
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2745 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2746 am__include="#"
   2747 am__quote=
   2748 _am_result=none
   2749 # First try GNU make style include.
   2750 echo "include confinc" > confmf
   2751 # Ignore all kinds of additional output from 'make'.
   2752 case `$am_make -s -f confmf 2> /dev/null` in #(
   2753 *the\ am__doit\ target*)
   2754   am__include=include
   2755   am__quote=
   2756   _am_result=GNU
   2757   ;;
   2758 esac
   2759 # Now try BSD make style include.
   2760 if test "$am__include" = "#"; then
   2761    echo '.include "confinc"' > confmf
   2762    case `$am_make -s -f confmf 2> /dev/null` in #(
   2763    *the\ am__doit\ target*)
   2764      am__include=.include
   2765      am__quote="\""
   2766      _am_result=BSD
   2767      ;;
   2768    esac
   2769 fi
   2770 
   2771 
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2773 $as_echo "$_am_result" >&6; }
   2774 rm -f confinc confmf
   2775 
   2776 # Check whether --enable-dependency-tracking was given.
   2777 if test "${enable_dependency_tracking+set}" = set; then :
   2778   enableval=$enable_dependency_tracking;
   2779 fi
   2780 
   2781 if test "x$enable_dependency_tracking" != xno; then
   2782   am_depcomp="$ac_aux_dir/depcomp"
   2783   AMDEPBACKSLASH='\'
   2784   am__nodep='_no'
   2785 fi
   2786  if test "x$enable_dependency_tracking" != xno; then
   2787   AMDEP_TRUE=
   2788   AMDEP_FALSE='#'
   2789 else
   2790   AMDEP_TRUE='#'
   2791   AMDEP_FALSE=
   2792 fi
   2793 
   2794 
   2795 ac_ext=c
   2796 ac_cpp='$CPP $CPPFLAGS'
   2797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2800 if test -n "$ac_tool_prefix"; then
   2801   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2804 $as_echo_n "checking for $ac_word... " >&6; }
   2805 if ${ac_cv_prog_CC+:} false; then :
   2806   $as_echo_n "(cached) " >&6
   2807 else
   2808   if test -n "$CC"; then
   2809   ac_cv_prog_CC="$CC" # Let the user override the test.
   2810 else
   2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH
   2813 do
   2814   IFS=$as_save_IFS
   2815   test -z "$as_dir" && as_dir=.
   2816     for ac_exec_ext in '' $ac_executable_extensions; do
   2817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2818     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2820     break 2
   2821   fi
   2822 done
   2823   done
   2824 IFS=$as_save_IFS
   2825 
   2826 fi
   2827 fi
   2828 CC=$ac_cv_prog_CC
   2829 if test -n "$CC"; then
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2831 $as_echo "$CC" >&6; }
   2832 else
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2834 $as_echo "no" >&6; }
   2835 fi
   2836 
   2837 
   2838 fi
   2839 if test -z "$ac_cv_prog_CC"; then
   2840   ac_ct_CC=$CC
   2841   # Extract the first word of "gcc", so it can be a program name with args.
   2842 set dummy gcc; ac_word=$2
   2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2844 $as_echo_n "checking for $ac_word... " >&6; }
   2845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test -n "$ac_ct_CC"; then
   2849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   test -z "$as_dir" && as_dir=.
   2856     for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2858     ac_cv_prog_ac_ct_CC="gcc"
   2859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2869 if test -n "$ac_ct_CC"; then
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2871 $as_echo "$ac_ct_CC" >&6; }
   2872 else
   2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2874 $as_echo "no" >&6; }
   2875 fi
   2876 
   2877   if test "x$ac_ct_CC" = x; then
   2878     CC=""
   2879   else
   2880     case $cross_compiling:$ac_tool_warned in
   2881 yes:)
   2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2884 ac_tool_warned=yes ;;
   2885 esac
   2886     CC=$ac_ct_CC
   2887   fi
   2888 else
   2889   CC="$ac_cv_prog_CC"
   2890 fi
   2891 
   2892 if test -z "$CC"; then
   2893           if test -n "$ac_tool_prefix"; then
   2894     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 $as_echo_n "checking for $ac_word... " >&6; }
   2898 if ${ac_cv_prog_CC+:} false; then :
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   if test -n "$CC"; then
   2902   ac_cv_prog_CC="$CC" # Let the user override the test.
   2903 else
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   test -z "$as_dir" && as_dir=.
   2909     for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2911     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2913     break 2
   2914   fi
   2915 done
   2916   done
   2917 IFS=$as_save_IFS
   2918 
   2919 fi
   2920 fi
   2921 CC=$ac_cv_prog_CC
   2922 if test -n "$CC"; then
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2924 $as_echo "$CC" >&6; }
   2925 else
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2927 $as_echo "no" >&6; }
   2928 fi
   2929 
   2930 
   2931   fi
   2932 fi
   2933 if test -z "$CC"; then
   2934   # Extract the first word of "cc", so it can be a program name with args.
   2935 set dummy cc; ac_word=$2
   2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2937 $as_echo_n "checking for $ac_word... " >&6; }
   2938 if ${ac_cv_prog_CC+:} false; then :
   2939   $as_echo_n "(cached) " >&6
   2940 else
   2941   if test -n "$CC"; then
   2942   ac_cv_prog_CC="$CC" # Let the user override the test.
   2943 else
   2944   ac_prog_rejected=no
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950     for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2952     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2953        ac_prog_rejected=yes
   2954        continue
   2955      fi
   2956     ac_cv_prog_CC="cc"
   2957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2958     break 2
   2959   fi
   2960 done
   2961   done
   2962 IFS=$as_save_IFS
   2963 
   2964 if test $ac_prog_rejected = yes; then
   2965   # We found a bogon in the path, so make sure we never use it.
   2966   set dummy $ac_cv_prog_CC
   2967   shift
   2968   if test $# != 0; then
   2969     # We chose a different compiler from the bogus one.
   2970     # However, it has the same basename, so the bogon will be chosen
   2971     # first if we set CC to just the basename; use the full file name.
   2972     shift
   2973     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2974   fi
   2975 fi
   2976 fi
   2977 fi
   2978 CC=$ac_cv_prog_CC
   2979 if test -n "$CC"; then
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2981 $as_echo "$CC" >&6; }
   2982 else
   2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2984 $as_echo "no" >&6; }
   2985 fi
   2986 
   2987 
   2988 fi
   2989 if test -z "$CC"; then
   2990   if test -n "$ac_tool_prefix"; then
   2991   for ac_prog in cl.exe
   2992   do
   2993     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2996 $as_echo_n "checking for $ac_word... " >&6; }
   2997 if ${ac_cv_prog_CC+:} false; then :
   2998   $as_echo_n "(cached) " >&6
   2999 else
   3000   if test -n "$CC"; then
   3001   ac_cv_prog_CC="$CC" # Let the user override the test.
   3002 else
   3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH
   3005 do
   3006   IFS=$as_save_IFS
   3007   test -z "$as_dir" && as_dir=.
   3008     for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3010     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015   done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi
   3019 fi
   3020 CC=$ac_cv_prog_CC
   3021 if test -n "$CC"; then
   3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3023 $as_echo "$CC" >&6; }
   3024 else
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3026 $as_echo "no" >&6; }
   3027 fi
   3028 
   3029 
   3030     test -n "$CC" && break
   3031   done
   3032 fi
   3033 if test -z "$CC"; then
   3034   ac_ct_CC=$CC
   3035   for ac_prog in cl.exe
   3036 do
   3037   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3038 set dummy $ac_prog; ac_word=$2
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3040 $as_echo_n "checking for $ac_word... " >&6; }
   3041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   if test -n "$ac_ct_CC"; then
   3045   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3046 else
   3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3048 for as_dir in $PATH
   3049 do
   3050   IFS=$as_save_IFS
   3051   test -z "$as_dir" && as_dir=.
   3052     for ac_exec_ext in '' $ac_executable_extensions; do
   3053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3054     ac_cv_prog_ac_ct_CC="$ac_prog"
   3055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3056     break 2
   3057   fi
   3058 done
   3059   done
   3060 IFS=$as_save_IFS
   3061 
   3062 fi
   3063 fi
   3064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3065 if test -n "$ac_ct_CC"; then
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3067 $as_echo "$ac_ct_CC" >&6; }
   3068 else
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 $as_echo "no" >&6; }
   3071 fi
   3072 
   3073 
   3074   test -n "$ac_ct_CC" && break
   3075 done
   3076 
   3077   if test "x$ac_ct_CC" = x; then
   3078     CC=""
   3079   else
   3080     case $cross_compiling:$ac_tool_warned in
   3081 yes:)
   3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3084 ac_tool_warned=yes ;;
   3085 esac
   3086     CC=$ac_ct_CC
   3087   fi
   3088 fi
   3089 
   3090 fi
   3091 
   3092 
   3093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3095 as_fn_error $? "no acceptable C compiler found in \$PATH
   3096 See \`config.log' for more details" "$LINENO" 5; }
   3097 
   3098 # Provide some information about the compiler.
   3099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3100 set X $ac_compile
   3101 ac_compiler=$2
   3102 for ac_option in --version -v -V -qversion; do
   3103   { { ac_try="$ac_compiler $ac_option >&5"
   3104 case "(($ac_try" in
   3105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3106   *) ac_try_echo=$ac_try;;
   3107 esac
   3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3109 $as_echo "$ac_try_echo"; } >&5
   3110   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3111   ac_status=$?
   3112   if test -s conftest.err; then
   3113     sed '10a\
   3114 ... rest of stderr output deleted ...
   3115          10q' conftest.err >conftest.er1
   3116     cat conftest.er1 >&5
   3117   fi
   3118   rm -f conftest.er1 conftest.err
   3119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3120   test $ac_status = 0; }
   3121 done
   3122 
   3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3124 /* end confdefs.h.  */
   3125 
   3126 int
   3127 main ()
   3128 {
   3129 
   3130   ;
   3131   return 0;
   3132 }
   3133 _ACEOF
   3134 ac_clean_files_save=$ac_clean_files
   3135 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3136 # Try to create an executable without -o first, disregard a.out.
   3137 # It will help us diagnose broken compilers, and finding out an intuition
   3138 # of exeext.
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3140 $as_echo_n "checking whether the C compiler works... " >&6; }
   3141 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3142 
   3143 # The possible output files:
   3144 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3145 
   3146 ac_rmfiles=
   3147 for ac_file in $ac_files
   3148 do
   3149   case $ac_file in
   3150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3151     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3152   esac
   3153 done
   3154 rm -f $ac_rmfiles
   3155 
   3156 if { { ac_try="$ac_link_default"
   3157 case "(($ac_try" in
   3158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3159   *) ac_try_echo=$ac_try;;
   3160 esac
   3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3162 $as_echo "$ac_try_echo"; } >&5
   3163   (eval "$ac_link_default") 2>&5
   3164   ac_status=$?
   3165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3166   test $ac_status = 0; }; then :
   3167   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3169 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3170 # so that the user can short-circuit this test for compilers unknown to
   3171 # Autoconf.
   3172 for ac_file in $ac_files ''
   3173 do
   3174   test -f "$ac_file" || continue
   3175   case $ac_file in
   3176     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3177 	;;
   3178     [ab].out )
   3179 	# We found the default executable, but exeext='' is most
   3180 	# certainly right.
   3181 	break;;
   3182     *.* )
   3183 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3184 	then :; else
   3185 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3186 	fi
   3187 	# We set ac_cv_exeext here because the later test for it is not
   3188 	# safe: cross compilers may not add the suffix if given an `-o'
   3189 	# argument, so we may need to know it at that point already.
   3190 	# Even if this section looks crufty: it has the advantage of
   3191 	# actually working.
   3192 	break;;
   3193     * )
   3194 	break;;
   3195   esac
   3196 done
   3197 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3198 
   3199 else
   3200   ac_file=''
   3201 fi
   3202 if test -z "$ac_file"; then :
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3204 $as_echo "no" >&6; }
   3205 $as_echo "$as_me: failed program was:" >&5
   3206 sed 's/^/| /' conftest.$ac_ext >&5
   3207 
   3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3210 as_fn_error 77 "C compiler cannot create executables
   3211 See \`config.log' for more details" "$LINENO" 5; }
   3212 else
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3214 $as_echo "yes" >&6; }
   3215 fi
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3217 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3219 $as_echo "$ac_file" >&6; }
   3220 ac_exeext=$ac_cv_exeext
   3221 
   3222 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3223 ac_clean_files=$ac_clean_files_save
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3225 $as_echo_n "checking for suffix of executables... " >&6; }
   3226 if { { ac_try="$ac_link"
   3227 case "(($ac_try" in
   3228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3229   *) ac_try_echo=$ac_try;;
   3230 esac
   3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3232 $as_echo "$ac_try_echo"; } >&5
   3233   (eval "$ac_link") 2>&5
   3234   ac_status=$?
   3235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3236   test $ac_status = 0; }; then :
   3237   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3238 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3239 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3240 # `rm'.
   3241 for ac_file in conftest.exe conftest conftest.*; do
   3242   test -f "$ac_file" || continue
   3243   case $ac_file in
   3244     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3245     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3246 	  break;;
   3247     * ) break;;
   3248   esac
   3249 done
   3250 else
   3251   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3254 See \`config.log' for more details" "$LINENO" 5; }
   3255 fi
   3256 rm -f conftest conftest$ac_cv_exeext
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3258 $as_echo "$ac_cv_exeext" >&6; }
   3259 
   3260 rm -f conftest.$ac_ext
   3261 EXEEXT=$ac_cv_exeext
   3262 ac_exeext=$EXEEXT
   3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3264 /* end confdefs.h.  */
   3265 #include <stdio.h>
   3266 int
   3267 main ()
   3268 {
   3269 FILE *f = fopen ("conftest.out", "w");
   3270  return ferror (f) || fclose (f) != 0;
   3271 
   3272   ;
   3273   return 0;
   3274 }
   3275 _ACEOF
   3276 ac_clean_files="$ac_clean_files conftest.out"
   3277 # Check that the compiler produces executables we can run.  If not, either
   3278 # the compiler is broken, or we cross compile.
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3280 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3281 if test "$cross_compiling" != yes; then
   3282   { { ac_try="$ac_link"
   3283 case "(($ac_try" in
   3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3285   *) ac_try_echo=$ac_try;;
   3286 esac
   3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3288 $as_echo "$ac_try_echo"; } >&5
   3289   (eval "$ac_link") 2>&5
   3290   ac_status=$?
   3291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3292   test $ac_status = 0; }
   3293   if { ac_try='./conftest$ac_cv_exeext'
   3294   { { case "(($ac_try" in
   3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3296   *) ac_try_echo=$ac_try;;
   3297 esac
   3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3299 $as_echo "$ac_try_echo"; } >&5
   3300   (eval "$ac_try") 2>&5
   3301   ac_status=$?
   3302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3303   test $ac_status = 0; }; }; then
   3304     cross_compiling=no
   3305   else
   3306     if test "$cross_compiling" = maybe; then
   3307 	cross_compiling=yes
   3308     else
   3309 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3311 as_fn_error $? "cannot run C compiled programs.
   3312 If you meant to cross compile, use \`--host'.
   3313 See \`config.log' for more details" "$LINENO" 5; }
   3314     fi
   3315   fi
   3316 fi
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3318 $as_echo "$cross_compiling" >&6; }
   3319 
   3320 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3321 ac_clean_files=$ac_clean_files_save
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3323 $as_echo_n "checking for suffix of object files... " >&6; }
   3324 if ${ac_cv_objext+:} false; then :
   3325   $as_echo_n "(cached) " >&6
   3326 else
   3327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 rm -f conftest.o conftest.obj
   3339 if { { ac_try="$ac_compile"
   3340 case "(($ac_try" in
   3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3342   *) ac_try_echo=$ac_try;;
   3343 esac
   3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3345 $as_echo "$ac_try_echo"; } >&5
   3346   (eval "$ac_compile") 2>&5
   3347   ac_status=$?
   3348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3349   test $ac_status = 0; }; then :
   3350   for ac_file in conftest.o conftest.obj conftest.*; do
   3351   test -f "$ac_file" || continue;
   3352   case $ac_file in
   3353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3354     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3355        break;;
   3356   esac
   3357 done
   3358 else
   3359   $as_echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3364 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3365 See \`config.log' for more details" "$LINENO" 5; }
   3366 fi
   3367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3368 fi
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3370 $as_echo "$ac_cv_objext" >&6; }
   3371 OBJEXT=$ac_cv_objext
   3372 ac_objext=$OBJEXT
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3374 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3375 if ${ac_cv_c_compiler_gnu+:} false; then :
   3376   $as_echo_n "(cached) " >&6
   3377 else
   3378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 
   3381 int
   3382 main ()
   3383 {
   3384 #ifndef __GNUC__
   3385        choke me
   3386 #endif
   3387 
   3388   ;
   3389   return 0;
   3390 }
   3391 _ACEOF
   3392 if ac_fn_c_try_compile "$LINENO"; then :
   3393   ac_compiler_gnu=yes
   3394 else
   3395   ac_compiler_gnu=no
   3396 fi
   3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3399 
   3400 fi
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3402 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3403 if test $ac_compiler_gnu = yes; then
   3404   GCC=yes
   3405 else
   3406   GCC=
   3407 fi
   3408 ac_test_CFLAGS=${CFLAGS+set}
   3409 ac_save_CFLAGS=$CFLAGS
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3411 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3412 if ${ac_cv_prog_cc_g+:} false; then :
   3413   $as_echo_n "(cached) " >&6
   3414 else
   3415   ac_save_c_werror_flag=$ac_c_werror_flag
   3416    ac_c_werror_flag=yes
   3417    ac_cv_prog_cc_g=no
   3418    CFLAGS="-g"
   3419    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 
   3422 int
   3423 main ()
   3424 {
   3425 
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 if ac_fn_c_try_compile "$LINENO"; then :
   3431   ac_cv_prog_cc_g=yes
   3432 else
   3433   CFLAGS=""
   3434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 
   3437 int
   3438 main ()
   3439 {
   3440 
   3441   ;
   3442   return 0;
   3443 }
   3444 _ACEOF
   3445 if ac_fn_c_try_compile "$LINENO"; then :
   3446 
   3447 else
   3448   ac_c_werror_flag=$ac_save_c_werror_flag
   3449 	 CFLAGS="-g"
   3450 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3451 /* end confdefs.h.  */
   3452 
   3453 int
   3454 main ()
   3455 {
   3456 
   3457   ;
   3458   return 0;
   3459 }
   3460 _ACEOF
   3461 if ac_fn_c_try_compile "$LINENO"; then :
   3462   ac_cv_prog_cc_g=yes
   3463 fi
   3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467 fi
   3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3469    ac_c_werror_flag=$ac_save_c_werror_flag
   3470 fi
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3472 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3473 if test "$ac_test_CFLAGS" = set; then
   3474   CFLAGS=$ac_save_CFLAGS
   3475 elif test $ac_cv_prog_cc_g = yes; then
   3476   if test "$GCC" = yes; then
   3477     CFLAGS="-g -O2"
   3478   else
   3479     CFLAGS="-g"
   3480   fi
   3481 else
   3482   if test "$GCC" = yes; then
   3483     CFLAGS="-O2"
   3484   else
   3485     CFLAGS=
   3486   fi
   3487 fi
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3489 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3490 if ${ac_cv_prog_cc_c89+:} false; then :
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   ac_cv_prog_cc_c89=no
   3494 ac_save_CC=$CC
   3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 #include <stdarg.h>
   3498 #include <stdio.h>
   3499 struct stat;
   3500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3501 struct buf { int x; };
   3502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3503 static char *e (p, i)
   3504      char **p;
   3505      int i;
   3506 {
   3507   return p[i];
   3508 }
   3509 static char *f (char * (*g) (char **, int), char **p, ...)
   3510 {
   3511   char *s;
   3512   va_list v;
   3513   va_start (v,p);
   3514   s = g (p, va_arg (v,int));
   3515   va_end (v);
   3516   return s;
   3517 }
   3518 
   3519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3520    function prototypes and stuff, but not '\xHH' hex character constants.
   3521    These don't provoke an error unfortunately, instead are silently treated
   3522    as 'x'.  The following induces an error, until -std is added to get
   3523    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3524    array size at least.  It's necessary to write '\x00'==0 to get something
   3525    that's true only with -std.  */
   3526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3527 
   3528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3529    inside strings and character constants.  */
   3530 #define FOO(x) 'x'
   3531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3532 
   3533 int test (int i, double x);
   3534 struct s1 {int (*f) (int a);};
   3535 struct s2 {int (*f) (double a);};
   3536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3537 int argc;
   3538 char **argv;
   3539 int
   3540 main ()
   3541 {
   3542 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3548 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3549 do
   3550   CC="$ac_save_CC $ac_arg"
   3551   if ac_fn_c_try_compile "$LINENO"; then :
   3552   ac_cv_prog_cc_c89=$ac_arg
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext
   3555   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3556 done
   3557 rm -f conftest.$ac_ext
   3558 CC=$ac_save_CC
   3559 
   3560 fi
   3561 # AC_CACHE_VAL
   3562 case "x$ac_cv_prog_cc_c89" in
   3563   x)
   3564     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3565 $as_echo "none needed" >&6; } ;;
   3566   xno)
   3567     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3568 $as_echo "unsupported" >&6; } ;;
   3569   *)
   3570     CC="$CC $ac_cv_prog_cc_c89"
   3571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3572 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3573 esac
   3574 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3575 
   3576 fi
   3577 
   3578 ac_ext=c
   3579 ac_cpp='$CPP $CPPFLAGS'
   3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3583 
   3584 ac_ext=c
   3585 ac_cpp='$CPP $CPPFLAGS'
   3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3590 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3591 if ${am_cv_prog_cc_c_o+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 
   3597 int
   3598 main ()
   3599 {
   3600 
   3601   ;
   3602   return 0;
   3603 }
   3604 _ACEOF
   3605   # Make sure it works both with $CC and with simple cc.
   3606   # Following AC_PROG_CC_C_O, we do the test twice because some
   3607   # compilers refuse to overwrite an existing .o file with -o,
   3608   # though they will create one.
   3609   am_cv_prog_cc_c_o=yes
   3610   for am_i in 1 2; do
   3611     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3612    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3613    ac_status=$?
   3614    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3615    (exit $ac_status); } \
   3616          && test -f conftest2.$ac_objext; then
   3617       : OK
   3618     else
   3619       am_cv_prog_cc_c_o=no
   3620       break
   3621     fi
   3622   done
   3623   rm -f core conftest*
   3624   unset am_i
   3625 fi
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3627 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3628 if test "$am_cv_prog_cc_c_o" != yes; then
   3629    # Losing compiler, so override with the script.
   3630    # FIXME: It is wrong to rewrite CC.
   3631    # But if we don't then we get into trouble of one sort or another.
   3632    # A longer-term fix would be to have automake use am__CC in this case,
   3633    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3634    CC="$am_aux_dir/compile $CC"
   3635 fi
   3636 ac_ext=c
   3637 ac_cpp='$CPP $CPPFLAGS'
   3638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3641 
   3642 
   3643 depcc="$CC"   am_compiler_list=
   3644 
   3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3646 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3647 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3651   # We make a subdir and do the tests there.  Otherwise we can end up
   3652   # making bogus files that we don't know about and never remove.  For
   3653   # instance it was reported that on HP-UX the gcc test will end up
   3654   # making a dummy file named 'D' -- because '-MD' means "put the output
   3655   # in D".
   3656   rm -rf conftest.dir
   3657   mkdir conftest.dir
   3658   # Copy depcomp to subdir because otherwise we won't find it if we're
   3659   # using a relative directory.
   3660   cp "$am_depcomp" conftest.dir
   3661   cd conftest.dir
   3662   # We will build objects and dependencies in a subdirectory because
   3663   # it helps to detect inapplicable dependency modes.  For instance
   3664   # both Tru64's cc and ICC support -MD to output dependencies as a
   3665   # side effect of compilation, but ICC will put the dependencies in
   3666   # the current directory while Tru64 will put them in the object
   3667   # directory.
   3668   mkdir sub
   3669 
   3670   am_cv_CC_dependencies_compiler_type=none
   3671   if test "$am_compiler_list" = ""; then
   3672      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3673   fi
   3674   am__universal=false
   3675   case " $depcc " in #(
   3676      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3677      esac
   3678 
   3679   for depmode in $am_compiler_list; do
   3680     # Setup a source with many dependencies, because some compilers
   3681     # like to wrap large dependency lists on column 80 (with \), and
   3682     # we should not choose a depcomp mode which is confused by this.
   3683     #
   3684     # We need to recreate these files for each test, as the compiler may
   3685     # overwrite some of them when testing with obscure command lines.
   3686     # This happens at least with the AIX C compiler.
   3687     : > sub/conftest.c
   3688     for i in 1 2 3 4 5 6; do
   3689       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3690       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3691       # Solaris 10 /bin/sh.
   3692       echo '/* dummy */' > sub/conftst$i.h
   3693     done
   3694     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3695 
   3696     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3697     # mode.  It turns out that the SunPro C++ compiler does not properly
   3698     # handle '-M -o', and we need to detect this.  Also, some Intel
   3699     # versions had trouble with output in subdirs.
   3700     am__obj=sub/conftest.${OBJEXT-o}
   3701     am__minus_obj="-o $am__obj"
   3702     case $depmode in
   3703     gcc)
   3704       # This depmode causes a compiler race in universal mode.
   3705       test "$am__universal" = false || continue
   3706       ;;
   3707     nosideeffect)
   3708       # After this tag, mechanisms are not by side-effect, so they'll
   3709       # only be used when explicitly requested.
   3710       if test "x$enable_dependency_tracking" = xyes; then
   3711 	continue
   3712       else
   3713 	break
   3714       fi
   3715       ;;
   3716     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3717       # This compiler won't grok '-c -o', but also, the minuso test has
   3718       # not run yet.  These depmodes are late enough in the game, and
   3719       # so weak that their functioning should not be impacted.
   3720       am__obj=conftest.${OBJEXT-o}
   3721       am__minus_obj=
   3722       ;;
   3723     none) break ;;
   3724     esac
   3725     if depmode=$depmode \
   3726        source=sub/conftest.c object=$am__obj \
   3727        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3728        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3729          >/dev/null 2>conftest.err &&
   3730        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3731        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3733        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3734       # icc doesn't choke on unknown options, it will just issue warnings
   3735       # or remarks (even with -Werror).  So we grep stderr for any message
   3736       # that says an option was ignored or not supported.
   3737       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3738       #   icc: Command line warning: ignoring option '-M'; no argument required
   3739       # The diagnosis changed in icc 8.0:
   3740       #   icc: Command line remark: option '-MP' not supported
   3741       if (grep 'ignoring option' conftest.err ||
   3742           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3743         am_cv_CC_dependencies_compiler_type=$depmode
   3744         break
   3745       fi
   3746     fi
   3747   done
   3748 
   3749   cd ..
   3750   rm -rf conftest.dir
   3751 else
   3752   am_cv_CC_dependencies_compiler_type=none
   3753 fi
   3754 
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3757 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3758 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3759 
   3760  if
   3761   test "x$enable_dependency_tracking" != xno \
   3762   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3763   am__fastdepCC_TRUE=
   3764   am__fastdepCC_FALSE='#'
   3765 else
   3766   am__fastdepCC_TRUE='#'
   3767   am__fastdepCC_FALSE=
   3768 fi
   3769 
   3770 
   3771    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3772 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3773 if ${ac_cv_prog_cc_c99+:} false; then :
   3774   $as_echo_n "(cached) " >&6
   3775 else
   3776   ac_cv_prog_cc_c99=no
   3777 ac_save_CC=$CC
   3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3779 /* end confdefs.h.  */
   3780 #include <stdarg.h>
   3781 #include <stdbool.h>
   3782 #include <stdlib.h>
   3783 #include <wchar.h>
   3784 #include <stdio.h>
   3785 
   3786 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3787 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3788 #define showlist(...) puts (#__VA_ARGS__)
   3789 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3790 static void
   3791 test_varargs_macros (void)
   3792 {
   3793   int x = 1234;
   3794   int y = 5678;
   3795   debug ("Flag");
   3796   debug ("X = %d\n", x);
   3797   showlist (The first, second, and third items.);
   3798   report (x>y, "x is %d but y is %d", x, y);
   3799 }
   3800 
   3801 // Check long long types.
   3802 #define BIG64 18446744073709551615ull
   3803 #define BIG32 4294967295ul
   3804 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3805 #if !BIG_OK
   3806   your preprocessor is broken;
   3807 #endif
   3808 #if BIG_OK
   3809 #else
   3810   your preprocessor is broken;
   3811 #endif
   3812 static long long int bignum = -9223372036854775807LL;
   3813 static unsigned long long int ubignum = BIG64;
   3814 
   3815 struct incomplete_array
   3816 {
   3817   int datasize;
   3818   double data[];
   3819 };
   3820 
   3821 struct named_init {
   3822   int number;
   3823   const wchar_t *name;
   3824   double average;
   3825 };
   3826 
   3827 typedef const char *ccp;
   3828 
   3829 static inline int
   3830 test_restrict (ccp restrict text)
   3831 {
   3832   // See if C++-style comments work.
   3833   // Iterate through items via the restricted pointer.
   3834   // Also check for declarations in for loops.
   3835   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3836     continue;
   3837   return 0;
   3838 }
   3839 
   3840 // Check varargs and va_copy.
   3841 static void
   3842 test_varargs (const char *format, ...)
   3843 {
   3844   va_list args;
   3845   va_start (args, format);
   3846   va_list args_copy;
   3847   va_copy (args_copy, args);
   3848 
   3849   const char *str;
   3850   int number;
   3851   float fnumber;
   3852 
   3853   while (*format)
   3854     {
   3855       switch (*format++)
   3856 	{
   3857 	case 's': // string
   3858 	  str = va_arg (args_copy, const char *);
   3859 	  break;
   3860 	case 'd': // int
   3861 	  number = va_arg (args_copy, int);
   3862 	  break;
   3863 	case 'f': // float
   3864 	  fnumber = va_arg (args_copy, double);
   3865 	  break;
   3866 	default:
   3867 	  break;
   3868 	}
   3869     }
   3870   va_end (args_copy);
   3871   va_end (args);
   3872 }
   3873 
   3874 int
   3875 main ()
   3876 {
   3877 
   3878   // Check bool.
   3879   _Bool success = false;
   3880 
   3881   // Check restrict.
   3882   if (test_restrict ("String literal") == 0)
   3883     success = true;
   3884   char *restrict newvar = "Another string";
   3885 
   3886   // Check varargs.
   3887   test_varargs ("s, d' f .", "string", 65, 34.234);
   3888   test_varargs_macros ();
   3889 
   3890   // Check flexible array members.
   3891   struct incomplete_array *ia =
   3892     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3893   ia->datasize = 10;
   3894   for (int i = 0; i < ia->datasize; ++i)
   3895     ia->data[i] = i * 1.234;
   3896 
   3897   // Check named initializers.
   3898   struct named_init ni = {
   3899     .number = 34,
   3900     .name = L"Test wide string",
   3901     .average = 543.34343,
   3902   };
   3903 
   3904   ni.number = 58;
   3905 
   3906   int dynamic_array[ni.number];
   3907   dynamic_array[ni.number - 1] = 543;
   3908 
   3909   // work around unused variable warnings
   3910   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3911 	  || dynamic_array[ni.number - 1] != 543);
   3912 
   3913   ;
   3914   return 0;
   3915 }
   3916 _ACEOF
   3917 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3918 do
   3919   CC="$ac_save_CC $ac_arg"
   3920   if ac_fn_c_try_compile "$LINENO"; then :
   3921   ac_cv_prog_cc_c99=$ac_arg
   3922 fi
   3923 rm -f core conftest.err conftest.$ac_objext
   3924   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3925 done
   3926 rm -f conftest.$ac_ext
   3927 CC=$ac_save_CC
   3928 
   3929 fi
   3930 # AC_CACHE_VAL
   3931 case "x$ac_cv_prog_cc_c99" in
   3932   x)
   3933     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3934 $as_echo "none needed" >&6; } ;;
   3935   xno)
   3936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3937 $as_echo "unsupported" >&6; } ;;
   3938   *)
   3939     CC="$CC $ac_cv_prog_cc_c99"
   3940     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3941 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3942 esac
   3943 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3944 
   3945 fi
   3946 
   3947 
   3948 
   3949 ac_ext=c
   3950 ac_cpp='$CPP $CPPFLAGS'
   3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3955 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3956 # On Suns, sometimes $CPP names a directory.
   3957 if test -n "$CPP" && test -d "$CPP"; then
   3958   CPP=
   3959 fi
   3960 if test -z "$CPP"; then
   3961   if ${ac_cv_prog_CPP+:} false; then :
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964       # Double quotes because CPP needs to be expanded
   3965     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3966     do
   3967       ac_preproc_ok=false
   3968 for ac_c_preproc_warn_flag in '' yes
   3969 do
   3970   # Use a header file that comes with gcc, so configuring glibc
   3971   # with a fresh cross-compiler works.
   3972   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3973   # <limits.h> exists even on freestanding compilers.
   3974   # On the NeXT, cc -E runs the code through the compiler's parser,
   3975   # not just through cpp. "Syntax error" is here to catch this case.
   3976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3977 /* end confdefs.h.  */
   3978 #ifdef __STDC__
   3979 # include <limits.h>
   3980 #else
   3981 # include <assert.h>
   3982 #endif
   3983 		     Syntax error
   3984 _ACEOF
   3985 if ac_fn_c_try_cpp "$LINENO"; then :
   3986 
   3987 else
   3988   # Broken: fails on valid input.
   3989 continue
   3990 fi
   3991 rm -f conftest.err conftest.i conftest.$ac_ext
   3992 
   3993   # OK, works on sane cases.  Now check whether nonexistent headers
   3994   # can be detected and how.
   3995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3996 /* end confdefs.h.  */
   3997 #include <ac_nonexistent.h>
   3998 _ACEOF
   3999 if ac_fn_c_try_cpp "$LINENO"; then :
   4000   # Broken: success on invalid input.
   4001 continue
   4002 else
   4003   # Passes both tests.
   4004 ac_preproc_ok=:
   4005 break
   4006 fi
   4007 rm -f conftest.err conftest.i conftest.$ac_ext
   4008 
   4009 done
   4010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4011 rm -f conftest.i conftest.err conftest.$ac_ext
   4012 if $ac_preproc_ok; then :
   4013   break
   4014 fi
   4015 
   4016     done
   4017     ac_cv_prog_CPP=$CPP
   4018 
   4019 fi
   4020   CPP=$ac_cv_prog_CPP
   4021 else
   4022   ac_cv_prog_CPP=$CPP
   4023 fi
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4025 $as_echo "$CPP" >&6; }
   4026 ac_preproc_ok=false
   4027 for ac_c_preproc_warn_flag in '' yes
   4028 do
   4029   # Use a header file that comes with gcc, so configuring glibc
   4030   # with a fresh cross-compiler works.
   4031   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4032   # <limits.h> exists even on freestanding compilers.
   4033   # On the NeXT, cc -E runs the code through the compiler's parser,
   4034   # not just through cpp. "Syntax error" is here to catch this case.
   4035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4036 /* end confdefs.h.  */
   4037 #ifdef __STDC__
   4038 # include <limits.h>
   4039 #else
   4040 # include <assert.h>
   4041 #endif
   4042 		     Syntax error
   4043 _ACEOF
   4044 if ac_fn_c_try_cpp "$LINENO"; then :
   4045 
   4046 else
   4047   # Broken: fails on valid input.
   4048 continue
   4049 fi
   4050 rm -f conftest.err conftest.i conftest.$ac_ext
   4051 
   4052   # OK, works on sane cases.  Now check whether nonexistent headers
   4053   # can be detected and how.
   4054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4055 /* end confdefs.h.  */
   4056 #include <ac_nonexistent.h>
   4057 _ACEOF
   4058 if ac_fn_c_try_cpp "$LINENO"; then :
   4059   # Broken: success on invalid input.
   4060 continue
   4061 else
   4062   # Passes both tests.
   4063 ac_preproc_ok=:
   4064 break
   4065 fi
   4066 rm -f conftest.err conftest.i conftest.$ac_ext
   4067 
   4068 done
   4069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4070 rm -f conftest.i conftest.err conftest.$ac_ext
   4071 if $ac_preproc_ok; then :
   4072 
   4073 else
   4074   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4076 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4077 See \`config.log' for more details" "$LINENO" 5; }
   4078 fi
   4079 
   4080 ac_ext=c
   4081 ac_cpp='$CPP $CPPFLAGS'
   4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4085 
   4086 
   4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4088 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4089 if ${ac_cv_path_GREP+:} false; then :
   4090   $as_echo_n "(cached) " >&6
   4091 else
   4092   if test -z "$GREP"; then
   4093   ac_path_GREP_found=false
   4094   # Loop through the user's path and test for each of PROGNAME-LIST
   4095   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4096 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4097 do
   4098   IFS=$as_save_IFS
   4099   test -z "$as_dir" && as_dir=.
   4100     for ac_prog in grep ggrep; do
   4101     for ac_exec_ext in '' $ac_executable_extensions; do
   4102       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4103       as_fn_executable_p "$ac_path_GREP" || continue
   4104 # Check for GNU ac_path_GREP and select it if it is found.
   4105   # Check for GNU $ac_path_GREP
   4106 case `"$ac_path_GREP" --version 2>&1` in
   4107 *GNU*)
   4108   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4109 *)
   4110   ac_count=0
   4111   $as_echo_n 0123456789 >"conftest.in"
   4112   while :
   4113   do
   4114     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4115     mv "conftest.tmp" "conftest.in"
   4116     cp "conftest.in" "conftest.nl"
   4117     $as_echo 'GREP' >> "conftest.nl"
   4118     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4119     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4120     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4121     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4122       # Best one so far, save it but keep looking for a better one
   4123       ac_cv_path_GREP="$ac_path_GREP"
   4124       ac_path_GREP_max=$ac_count
   4125     fi
   4126     # 10*(2^10) chars as input seems more than enough
   4127     test $ac_count -gt 10 && break
   4128   done
   4129   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4130 esac
   4131 
   4132       $ac_path_GREP_found && break 3
   4133     done
   4134   done
   4135   done
   4136 IFS=$as_save_IFS
   4137   if test -z "$ac_cv_path_GREP"; then
   4138     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4139   fi
   4140 else
   4141   ac_cv_path_GREP=$GREP
   4142 fi
   4143 
   4144 fi
   4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4146 $as_echo "$ac_cv_path_GREP" >&6; }
   4147  GREP="$ac_cv_path_GREP"
   4148 
   4149 
   4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4151 $as_echo_n "checking for egrep... " >&6; }
   4152 if ${ac_cv_path_EGREP+:} false; then :
   4153   $as_echo_n "(cached) " >&6
   4154 else
   4155   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4156    then ac_cv_path_EGREP="$GREP -E"
   4157    else
   4158      if test -z "$EGREP"; then
   4159   ac_path_EGREP_found=false
   4160   # Loop through the user's path and test for each of PROGNAME-LIST
   4161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4163 do
   4164   IFS=$as_save_IFS
   4165   test -z "$as_dir" && as_dir=.
   4166     for ac_prog in egrep; do
   4167     for ac_exec_ext in '' $ac_executable_extensions; do
   4168       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4169       as_fn_executable_p "$ac_path_EGREP" || continue
   4170 # Check for GNU ac_path_EGREP and select it if it is found.
   4171   # Check for GNU $ac_path_EGREP
   4172 case `"$ac_path_EGREP" --version 2>&1` in
   4173 *GNU*)
   4174   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4175 *)
   4176   ac_count=0
   4177   $as_echo_n 0123456789 >"conftest.in"
   4178   while :
   4179   do
   4180     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4181     mv "conftest.tmp" "conftest.in"
   4182     cp "conftest.in" "conftest.nl"
   4183     $as_echo 'EGREP' >> "conftest.nl"
   4184     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4186     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4187     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4188       # Best one so far, save it but keep looking for a better one
   4189       ac_cv_path_EGREP="$ac_path_EGREP"
   4190       ac_path_EGREP_max=$ac_count
   4191     fi
   4192     # 10*(2^10) chars as input seems more than enough
   4193     test $ac_count -gt 10 && break
   4194   done
   4195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4196 esac
   4197 
   4198       $ac_path_EGREP_found && break 3
   4199     done
   4200   done
   4201   done
   4202 IFS=$as_save_IFS
   4203   if test -z "$ac_cv_path_EGREP"; then
   4204     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4205   fi
   4206 else
   4207   ac_cv_path_EGREP=$EGREP
   4208 fi
   4209 
   4210    fi
   4211 fi
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4213 $as_echo "$ac_cv_path_EGREP" >&6; }
   4214  EGREP="$ac_cv_path_EGREP"
   4215 
   4216 
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4218 $as_echo_n "checking for ANSI C header files... " >&6; }
   4219 if ${ac_cv_header_stdc+:} false; then :
   4220   $as_echo_n "(cached) " >&6
   4221 else
   4222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4223 /* end confdefs.h.  */
   4224 #include <stdlib.h>
   4225 #include <stdarg.h>
   4226 #include <string.h>
   4227 #include <float.h>
   4228 
   4229 int
   4230 main ()
   4231 {
   4232 
   4233   ;
   4234   return 0;
   4235 }
   4236 _ACEOF
   4237 if ac_fn_c_try_compile "$LINENO"; then :
   4238   ac_cv_header_stdc=yes
   4239 else
   4240   ac_cv_header_stdc=no
   4241 fi
   4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4243 
   4244 if test $ac_cv_header_stdc = yes; then
   4245   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 #include <string.h>
   4249 
   4250 _ACEOF
   4251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4252   $EGREP "memchr" >/dev/null 2>&1; then :
   4253 
   4254 else
   4255   ac_cv_header_stdc=no
   4256 fi
   4257 rm -f conftest*
   4258 
   4259 fi
   4260 
   4261 if test $ac_cv_header_stdc = yes; then
   4262   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 #include <stdlib.h>
   4266 
   4267 _ACEOF
   4268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4269   $EGREP "free" >/dev/null 2>&1; then :
   4270 
   4271 else
   4272   ac_cv_header_stdc=no
   4273 fi
   4274 rm -f conftest*
   4275 
   4276 fi
   4277 
   4278 if test $ac_cv_header_stdc = yes; then
   4279   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4280   if test "$cross_compiling" = yes; then :
   4281   :
   4282 else
   4283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 #include <ctype.h>
   4286 #include <stdlib.h>
   4287 #if ((' ' & 0x0FF) == 0x020)
   4288 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4289 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4290 #else
   4291 # define ISLOWER(c) \
   4292 		   (('a' <= (c) && (c) <= 'i') \
   4293 		     || ('j' <= (c) && (c) <= 'r') \
   4294 		     || ('s' <= (c) && (c) <= 'z'))
   4295 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4296 #endif
   4297 
   4298 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4299 int
   4300 main ()
   4301 {
   4302   int i;
   4303   for (i = 0; i < 256; i++)
   4304     if (XOR (islower (i), ISLOWER (i))
   4305 	|| toupper (i) != TOUPPER (i))
   4306       return 2;
   4307   return 0;
   4308 }
   4309 _ACEOF
   4310 if ac_fn_c_try_run "$LINENO"; then :
   4311 
   4312 else
   4313   ac_cv_header_stdc=no
   4314 fi
   4315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4316   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4317 fi
   4318 
   4319 fi
   4320 fi
   4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4322 $as_echo "$ac_cv_header_stdc" >&6; }
   4323 if test $ac_cv_header_stdc = yes; then
   4324 
   4325 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4326 
   4327 fi
   4328 
   4329 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4330 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4331 		  inttypes.h stdint.h unistd.h
   4332 do :
   4333   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4334 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4335 "
   4336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4337   cat >>confdefs.h <<_ACEOF
   4338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4339 _ACEOF
   4340 
   4341 fi
   4342 
   4343 done
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4351 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4352   CLANGCC="yes"
   4353 else
   4354   CLANGCC="no"
   4355 fi
   4356 
   4357 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4358 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4359   INTELCC="yes"
   4360 else
   4361   INTELCC="no"
   4362 fi
   4363 
   4364 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4365 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4366   SUNCC="yes"
   4367 else
   4368   SUNCC="no"
   4369 fi
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 
   4378 
   4379 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4380 	if test -n "$ac_tool_prefix"; then
   4381   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4382 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4384 $as_echo_n "checking for $ac_word... " >&6; }
   4385 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4386   $as_echo_n "(cached) " >&6
   4387 else
   4388   case $PKG_CONFIG in
   4389   [\\/]* | ?:[\\/]*)
   4390   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4391   ;;
   4392   *)
   4393   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4394 for as_dir in $PATH
   4395 do
   4396   IFS=$as_save_IFS
   4397   test -z "$as_dir" && as_dir=.
   4398     for ac_exec_ext in '' $ac_executable_extensions; do
   4399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4400     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4402     break 2
   4403   fi
   4404 done
   4405   done
   4406 IFS=$as_save_IFS
   4407 
   4408   ;;
   4409 esac
   4410 fi
   4411 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4412 if test -n "$PKG_CONFIG"; then
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4414 $as_echo "$PKG_CONFIG" >&6; }
   4415 else
   4416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4417 $as_echo "no" >&6; }
   4418 fi
   4419 
   4420 
   4421 fi
   4422 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4423   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4424   # Extract the first word of "pkg-config", so it can be a program name with args.
   4425 set dummy pkg-config; ac_word=$2
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4427 $as_echo_n "checking for $ac_word... " >&6; }
   4428 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4429   $as_echo_n "(cached) " >&6
   4430 else
   4431   case $ac_pt_PKG_CONFIG in
   4432   [\\/]* | ?:[\\/]*)
   4433   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4434   ;;
   4435   *)
   4436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4437 for as_dir in $PATH
   4438 do
   4439   IFS=$as_save_IFS
   4440   test -z "$as_dir" && as_dir=.
   4441     for ac_exec_ext in '' $ac_executable_extensions; do
   4442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4443     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4445     break 2
   4446   fi
   4447 done
   4448   done
   4449 IFS=$as_save_IFS
   4450 
   4451   ;;
   4452 esac
   4453 fi
   4454 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4455 if test -n "$ac_pt_PKG_CONFIG"; then
   4456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4457 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4458 else
   4459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4460 $as_echo "no" >&6; }
   4461 fi
   4462 
   4463   if test "x$ac_pt_PKG_CONFIG" = x; then
   4464     PKG_CONFIG=""
   4465   else
   4466     case $cross_compiling:$ac_tool_warned in
   4467 yes:)
   4468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4470 ac_tool_warned=yes ;;
   4471 esac
   4472     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4473   fi
   4474 else
   4475   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4476 fi
   4477 
   4478 fi
   4479 if test -n "$PKG_CONFIG"; then
   4480 	_pkg_min_version=0.9.0
   4481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4482 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4483 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4485 $as_echo "yes" >&6; }
   4486 	else
   4487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4488 $as_echo "no" >&6; }
   4489 		PKG_CONFIG=""
   4490 	fi
   4491 fi
   4492 # Make sure we can run config.sub.
   4493 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4494   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4495 
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4497 $as_echo_n "checking build system type... " >&6; }
   4498 if ${ac_cv_build+:} false; then :
   4499   $as_echo_n "(cached) " >&6
   4500 else
   4501   ac_build_alias=$build_alias
   4502 test "x$ac_build_alias" = x &&
   4503   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4504 test "x$ac_build_alias" = x &&
   4505   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4506 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4507   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4508 
   4509 fi
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4511 $as_echo "$ac_cv_build" >&6; }
   4512 case $ac_cv_build in
   4513 *-*-*) ;;
   4514 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4515 esac
   4516 build=$ac_cv_build
   4517 ac_save_IFS=$IFS; IFS='-'
   4518 set x $ac_cv_build
   4519 shift
   4520 build_cpu=$1
   4521 build_vendor=$2
   4522 shift; shift
   4523 # Remember, the first character of IFS is used to create $*,
   4524 # except with old shells:
   4525 build_os=$*
   4526 IFS=$ac_save_IFS
   4527 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4528 
   4529 
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4531 $as_echo_n "checking host system type... " >&6; }
   4532 if ${ac_cv_host+:} false; then :
   4533   $as_echo_n "(cached) " >&6
   4534 else
   4535   if test "x$host_alias" = x; then
   4536   ac_cv_host=$ac_cv_build
   4537 else
   4538   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4539     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4540 fi
   4541 
   4542 fi
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4544 $as_echo "$ac_cv_host" >&6; }
   4545 case $ac_cv_host in
   4546 *-*-*) ;;
   4547 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4548 esac
   4549 host=$ac_cv_host
   4550 ac_save_IFS=$IFS; IFS='-'
   4551 set x $ac_cv_host
   4552 shift
   4553 host_cpu=$1
   4554 host_vendor=$2
   4555 shift; shift
   4556 # Remember, the first character of IFS is used to create $*,
   4557 # except with old shells:
   4558 host_os=$*
   4559 IFS=$ac_save_IFS
   4560 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4561 
   4562 
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4564 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4565 if ${ac_cv_path_SED+:} false; then :
   4566   $as_echo_n "(cached) " >&6
   4567 else
   4568             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4569      for ac_i in 1 2 3 4 5 6 7; do
   4570        ac_script="$ac_script$as_nl$ac_script"
   4571      done
   4572      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4573      { ac_script=; unset ac_script;}
   4574      if test -z "$SED"; then
   4575   ac_path_SED_found=false
   4576   # Loop through the user's path and test for each of PROGNAME-LIST
   4577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4578 for as_dir in $PATH
   4579 do
   4580   IFS=$as_save_IFS
   4581   test -z "$as_dir" && as_dir=.
   4582     for ac_prog in sed gsed; do
   4583     for ac_exec_ext in '' $ac_executable_extensions; do
   4584       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4585       as_fn_executable_p "$ac_path_SED" || continue
   4586 # Check for GNU ac_path_SED and select it if it is found.
   4587   # Check for GNU $ac_path_SED
   4588 case `"$ac_path_SED" --version 2>&1` in
   4589 *GNU*)
   4590   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4591 *)
   4592   ac_count=0
   4593   $as_echo_n 0123456789 >"conftest.in"
   4594   while :
   4595   do
   4596     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4597     mv "conftest.tmp" "conftest.in"
   4598     cp "conftest.in" "conftest.nl"
   4599     $as_echo '' >> "conftest.nl"
   4600     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4601     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4602     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4603     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4604       # Best one so far, save it but keep looking for a better one
   4605       ac_cv_path_SED="$ac_path_SED"
   4606       ac_path_SED_max=$ac_count
   4607     fi
   4608     # 10*(2^10) chars as input seems more than enough
   4609     test $ac_count -gt 10 && break
   4610   done
   4611   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4612 esac
   4613 
   4614       $ac_path_SED_found && break 3
   4615     done
   4616   done
   4617   done
   4618 IFS=$as_save_IFS
   4619   if test -z "$ac_cv_path_SED"; then
   4620     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4621   fi
   4622 else
   4623   ac_cv_path_SED=$SED
   4624 fi
   4625 
   4626 fi
   4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4628 $as_echo "$ac_cv_path_SED" >&6; }
   4629  SED="$ac_cv_path_SED"
   4630   rm -f conftest.sed
   4631 
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 # Check whether --enable-selective-werror was given.
   4638 if test "${enable_selective_werror+set}" = set; then :
   4639   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4640 else
   4641   SELECTIVE_WERROR=yes
   4642 fi
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4649 if test "x$SUNCC" = "xyes"; then
   4650     BASE_CFLAGS="-v"
   4651 else
   4652     BASE_CFLAGS=""
   4653 fi
   4654 
   4655 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 xorg_testset_save_CFLAGS="$CFLAGS"
   4670 
   4671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4676   $as_echo_n "(cached) " >&6
   4677 else
   4678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4679 /* end confdefs.h.  */
   4680 int i;
   4681 _ACEOF
   4682 if ac_fn_c_try_compile "$LINENO"; then :
   4683   xorg_cv_cc_flag_unknown_warning_option=yes
   4684 else
   4685   xorg_cv_cc_flag_unknown_warning_option=no
   4686 fi
   4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4688 fi
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4692 	CFLAGS="$xorg_testset_save_CFLAGS"
   4693 fi
   4694 
   4695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4698 	fi
   4699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4706 /* end confdefs.h.  */
   4707 int i;
   4708 _ACEOF
   4709 if ac_fn_c_try_compile "$LINENO"; then :
   4710   xorg_cv_cc_flag_unused_command_line_argument=yes
   4711 else
   4712   xorg_cv_cc_flag_unused_command_line_argument=no
   4713 fi
   4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4715 fi
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4719 	CFLAGS="$xorg_testset_save_CFLAGS"
   4720 fi
   4721 
   4722 found="no"
   4723 
   4724 	if test $found = "no" ; then
   4725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4727 		fi
   4728 
   4729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4731 		fi
   4732 
   4733 		CFLAGS="$CFLAGS -Wall"
   4734 
   4735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4736 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4737 		cacheid=xorg_cv_cc_flag__Wall
   4738 		if eval \${$cacheid+:} false; then :
   4739   $as_echo_n "(cached) " >&6
   4740 else
   4741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4742 /* end confdefs.h.  */
   4743 int i;
   4744 int
   4745 main ()
   4746 {
   4747 
   4748   ;
   4749   return 0;
   4750 }
   4751 _ACEOF
   4752 if ac_fn_c_try_link "$LINENO"; then :
   4753   eval $cacheid=yes
   4754 else
   4755   eval $cacheid=no
   4756 fi
   4757 rm -f core conftest.err conftest.$ac_objext \
   4758     conftest$ac_exeext conftest.$ac_ext
   4759 fi
   4760 
   4761 
   4762 		CFLAGS="$xorg_testset_save_CFLAGS"
   4763 
   4764 		eval supported=\$$cacheid
   4765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4766 $as_echo "$supported" >&6; }
   4767 		if test "$supported" = "yes" ; then
   4768 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4769 			found="yes"
   4770 		fi
   4771 	fi
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 xorg_testset_save_CFLAGS="$CFLAGS"
   4788 
   4789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4794   $as_echo_n "(cached) " >&6
   4795 else
   4796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4797 /* end confdefs.h.  */
   4798 int i;
   4799 _ACEOF
   4800 if ac_fn_c_try_compile "$LINENO"; then :
   4801   xorg_cv_cc_flag_unknown_warning_option=yes
   4802 else
   4803   xorg_cv_cc_flag_unknown_warning_option=no
   4804 fi
   4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4806 fi
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4810 	CFLAGS="$xorg_testset_save_CFLAGS"
   4811 fi
   4812 
   4813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4816 	fi
   4817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4821   $as_echo_n "(cached) " >&6
   4822 else
   4823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4824 /* end confdefs.h.  */
   4825 int i;
   4826 _ACEOF
   4827 if ac_fn_c_try_compile "$LINENO"; then :
   4828   xorg_cv_cc_flag_unused_command_line_argument=yes
   4829 else
   4830   xorg_cv_cc_flag_unused_command_line_argument=no
   4831 fi
   4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4833 fi
   4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4837 	CFLAGS="$xorg_testset_save_CFLAGS"
   4838 fi
   4839 
   4840 found="no"
   4841 
   4842 	if test $found = "no" ; then
   4843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4845 		fi
   4846 
   4847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4849 		fi
   4850 
   4851 		CFLAGS="$CFLAGS -Wpointer-arith"
   4852 
   4853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4854 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4855 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4856 		if eval \${$cacheid+:} false; then :
   4857   $as_echo_n "(cached) " >&6
   4858 else
   4859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4860 /* end confdefs.h.  */
   4861 int i;
   4862 int
   4863 main ()
   4864 {
   4865 
   4866   ;
   4867   return 0;
   4868 }
   4869 _ACEOF
   4870 if ac_fn_c_try_link "$LINENO"; then :
   4871   eval $cacheid=yes
   4872 else
   4873   eval $cacheid=no
   4874 fi
   4875 rm -f core conftest.err conftest.$ac_objext \
   4876     conftest$ac_exeext conftest.$ac_ext
   4877 fi
   4878 
   4879 
   4880 		CFLAGS="$xorg_testset_save_CFLAGS"
   4881 
   4882 		eval supported=\$$cacheid
   4883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4884 $as_echo "$supported" >&6; }
   4885 		if test "$supported" = "yes" ; then
   4886 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4887 			found="yes"
   4888 		fi
   4889 	fi
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 xorg_testset_save_CFLAGS="$CFLAGS"
   4906 
   4907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4912   $as_echo_n "(cached) " >&6
   4913 else
   4914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4915 /* end confdefs.h.  */
   4916 int i;
   4917 _ACEOF
   4918 if ac_fn_c_try_compile "$LINENO"; then :
   4919   xorg_cv_cc_flag_unknown_warning_option=yes
   4920 else
   4921   xorg_cv_cc_flag_unknown_warning_option=no
   4922 fi
   4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4924 fi
   4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4928 	CFLAGS="$xorg_testset_save_CFLAGS"
   4929 fi
   4930 
   4931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4934 	fi
   4935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4939   $as_echo_n "(cached) " >&6
   4940 else
   4941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4942 /* end confdefs.h.  */
   4943 int i;
   4944 _ACEOF
   4945 if ac_fn_c_try_compile "$LINENO"; then :
   4946   xorg_cv_cc_flag_unused_command_line_argument=yes
   4947 else
   4948   xorg_cv_cc_flag_unused_command_line_argument=no
   4949 fi
   4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4951 fi
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4955 	CFLAGS="$xorg_testset_save_CFLAGS"
   4956 fi
   4957 
   4958 found="no"
   4959 
   4960 	if test $found = "no" ; then
   4961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4963 		fi
   4964 
   4965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4967 		fi
   4968 
   4969 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4970 
   4971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4972 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4973 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4974 		if eval \${$cacheid+:} false; then :
   4975   $as_echo_n "(cached) " >&6
   4976 else
   4977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4978 /* end confdefs.h.  */
   4979 int i;
   4980 int
   4981 main ()
   4982 {
   4983 
   4984   ;
   4985   return 0;
   4986 }
   4987 _ACEOF
   4988 if ac_fn_c_try_link "$LINENO"; then :
   4989   eval $cacheid=yes
   4990 else
   4991   eval $cacheid=no
   4992 fi
   4993 rm -f core conftest.err conftest.$ac_objext \
   4994     conftest$ac_exeext conftest.$ac_ext
   4995 fi
   4996 
   4997 
   4998 		CFLAGS="$xorg_testset_save_CFLAGS"
   4999 
   5000 		eval supported=\$$cacheid
   5001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5002 $as_echo "$supported" >&6; }
   5003 		if test "$supported" = "yes" ; then
   5004 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5005 			found="yes"
   5006 		fi
   5007 	fi
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 xorg_testset_save_CFLAGS="$CFLAGS"
   5024 
   5025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5030   $as_echo_n "(cached) " >&6
   5031 else
   5032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5033 /* end confdefs.h.  */
   5034 int i;
   5035 _ACEOF
   5036 if ac_fn_c_try_compile "$LINENO"; then :
   5037   xorg_cv_cc_flag_unknown_warning_option=yes
   5038 else
   5039   xorg_cv_cc_flag_unknown_warning_option=no
   5040 fi
   5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5042 fi
   5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5046 	CFLAGS="$xorg_testset_save_CFLAGS"
   5047 fi
   5048 
   5049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5052 	fi
   5053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5057   $as_echo_n "(cached) " >&6
   5058 else
   5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 int i;
   5062 _ACEOF
   5063 if ac_fn_c_try_compile "$LINENO"; then :
   5064   xorg_cv_cc_flag_unused_command_line_argument=yes
   5065 else
   5066   xorg_cv_cc_flag_unused_command_line_argument=no
   5067 fi
   5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5069 fi
   5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5073 	CFLAGS="$xorg_testset_save_CFLAGS"
   5074 fi
   5075 
   5076 found="no"
   5077 
   5078 	if test $found = "no" ; then
   5079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5081 		fi
   5082 
   5083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5085 		fi
   5086 
   5087 		CFLAGS="$CFLAGS -Wformat=2"
   5088 
   5089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5090 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5091 		cacheid=xorg_cv_cc_flag__Wformat_2
   5092 		if eval \${$cacheid+:} false; then :
   5093   $as_echo_n "(cached) " >&6
   5094 else
   5095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5096 /* end confdefs.h.  */
   5097 int i;
   5098 int
   5099 main ()
   5100 {
   5101 
   5102   ;
   5103   return 0;
   5104 }
   5105 _ACEOF
   5106 if ac_fn_c_try_link "$LINENO"; then :
   5107   eval $cacheid=yes
   5108 else
   5109   eval $cacheid=no
   5110 fi
   5111 rm -f core conftest.err conftest.$ac_objext \
   5112     conftest$ac_exeext conftest.$ac_ext
   5113 fi
   5114 
   5115 
   5116 		CFLAGS="$xorg_testset_save_CFLAGS"
   5117 
   5118 		eval supported=\$$cacheid
   5119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5120 $as_echo "$supported" >&6; }
   5121 		if test "$supported" = "yes" ; then
   5122 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5123 			found="yes"
   5124 		fi
   5125 	fi
   5126 
   5127 	if test $found = "no" ; then
   5128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5130 		fi
   5131 
   5132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5134 		fi
   5135 
   5136 		CFLAGS="$CFLAGS -Wformat"
   5137 
   5138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5139 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5140 		cacheid=xorg_cv_cc_flag__Wformat
   5141 		if eval \${$cacheid+:} false; then :
   5142   $as_echo_n "(cached) " >&6
   5143 else
   5144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5145 /* end confdefs.h.  */
   5146 int i;
   5147 int
   5148 main ()
   5149 {
   5150 
   5151   ;
   5152   return 0;
   5153 }
   5154 _ACEOF
   5155 if ac_fn_c_try_link "$LINENO"; then :
   5156   eval $cacheid=yes
   5157 else
   5158   eval $cacheid=no
   5159 fi
   5160 rm -f core conftest.err conftest.$ac_objext \
   5161     conftest$ac_exeext conftest.$ac_ext
   5162 fi
   5163 
   5164 
   5165 		CFLAGS="$xorg_testset_save_CFLAGS"
   5166 
   5167 		eval supported=\$$cacheid
   5168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5169 $as_echo "$supported" >&6; }
   5170 		if test "$supported" = "yes" ; then
   5171 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5172 			found="yes"
   5173 		fi
   5174 	fi
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 xorg_testset_save_CFLAGS="$CFLAGS"
   5193 
   5194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 _ACEOF
   5205 if ac_fn_c_try_compile "$LINENO"; then :
   5206   xorg_cv_cc_flag_unknown_warning_option=yes
   5207 else
   5208   xorg_cv_cc_flag_unknown_warning_option=no
   5209 fi
   5210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5211 fi
   5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5215 	CFLAGS="$xorg_testset_save_CFLAGS"
   5216 fi
   5217 
   5218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5221 	fi
   5222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5226   $as_echo_n "(cached) " >&6
   5227 else
   5228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5229 /* end confdefs.h.  */
   5230 int i;
   5231 _ACEOF
   5232 if ac_fn_c_try_compile "$LINENO"; then :
   5233   xorg_cv_cc_flag_unused_command_line_argument=yes
   5234 else
   5235   xorg_cv_cc_flag_unused_command_line_argument=no
   5236 fi
   5237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5238 fi
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5242 	CFLAGS="$xorg_testset_save_CFLAGS"
   5243 fi
   5244 
   5245 found="no"
   5246 
   5247 	if test $found = "no" ; then
   5248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5250 		fi
   5251 
   5252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5254 		fi
   5255 
   5256 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5257 
   5258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5259 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5260 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5261 		if eval \${$cacheid+:} false; then :
   5262   $as_echo_n "(cached) " >&6
   5263 else
   5264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5265 /* end confdefs.h.  */
   5266 int i;
   5267 int
   5268 main ()
   5269 {
   5270 
   5271   ;
   5272   return 0;
   5273 }
   5274 _ACEOF
   5275 if ac_fn_c_try_link "$LINENO"; then :
   5276   eval $cacheid=yes
   5277 else
   5278   eval $cacheid=no
   5279 fi
   5280 rm -f core conftest.err conftest.$ac_objext \
   5281     conftest$ac_exeext conftest.$ac_ext
   5282 fi
   5283 
   5284 
   5285 		CFLAGS="$xorg_testset_save_CFLAGS"
   5286 
   5287 		eval supported=\$$cacheid
   5288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5289 $as_echo "$supported" >&6; }
   5290 		if test "$supported" = "yes" ; then
   5291 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5292 			found="yes"
   5293 		fi
   5294 	fi
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 xorg_testset_save_CFLAGS="$CFLAGS"
   5311 
   5312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5317   $as_echo_n "(cached) " >&6
   5318 else
   5319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5320 /* end confdefs.h.  */
   5321 int i;
   5322 _ACEOF
   5323 if ac_fn_c_try_compile "$LINENO"; then :
   5324   xorg_cv_cc_flag_unknown_warning_option=yes
   5325 else
   5326   xorg_cv_cc_flag_unknown_warning_option=no
   5327 fi
   5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5329 fi
   5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5333 	CFLAGS="$xorg_testset_save_CFLAGS"
   5334 fi
   5335 
   5336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5339 	fi
   5340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5344   $as_echo_n "(cached) " >&6
   5345 else
   5346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5347 /* end confdefs.h.  */
   5348 int i;
   5349 _ACEOF
   5350 if ac_fn_c_try_compile "$LINENO"; then :
   5351   xorg_cv_cc_flag_unused_command_line_argument=yes
   5352 else
   5353   xorg_cv_cc_flag_unused_command_line_argument=no
   5354 fi
   5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5356 fi
   5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5360 	CFLAGS="$xorg_testset_save_CFLAGS"
   5361 fi
   5362 
   5363 found="no"
   5364 
   5365 	if test $found = "no" ; then
   5366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5368 		fi
   5369 
   5370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5372 		fi
   5373 
   5374 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5375 
   5376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5377 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5378 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5379 		if eval \${$cacheid+:} false; then :
   5380   $as_echo_n "(cached) " >&6
   5381 else
   5382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5383 /* end confdefs.h.  */
   5384 int i;
   5385 int
   5386 main ()
   5387 {
   5388 
   5389   ;
   5390   return 0;
   5391 }
   5392 _ACEOF
   5393 if ac_fn_c_try_link "$LINENO"; then :
   5394   eval $cacheid=yes
   5395 else
   5396   eval $cacheid=no
   5397 fi
   5398 rm -f core conftest.err conftest.$ac_objext \
   5399     conftest$ac_exeext conftest.$ac_ext
   5400 fi
   5401 
   5402 
   5403 		CFLAGS="$xorg_testset_save_CFLAGS"
   5404 
   5405 		eval supported=\$$cacheid
   5406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5407 $as_echo "$supported" >&6; }
   5408 		if test "$supported" = "yes" ; then
   5409 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5410 			found="yes"
   5411 		fi
   5412 	fi
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 xorg_testset_save_CFLAGS="$CFLAGS"
   5429 
   5430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5435   $as_echo_n "(cached) " >&6
   5436 else
   5437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5438 /* end confdefs.h.  */
   5439 int i;
   5440 _ACEOF
   5441 if ac_fn_c_try_compile "$LINENO"; then :
   5442   xorg_cv_cc_flag_unknown_warning_option=yes
   5443 else
   5444   xorg_cv_cc_flag_unknown_warning_option=no
   5445 fi
   5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5447 fi
   5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5451 	CFLAGS="$xorg_testset_save_CFLAGS"
   5452 fi
   5453 
   5454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5457 	fi
   5458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5462   $as_echo_n "(cached) " >&6
   5463 else
   5464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 _ACEOF
   5468 if ac_fn_c_try_compile "$LINENO"; then :
   5469   xorg_cv_cc_flag_unused_command_line_argument=yes
   5470 else
   5471   xorg_cv_cc_flag_unused_command_line_argument=no
   5472 fi
   5473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5474 fi
   5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5478 	CFLAGS="$xorg_testset_save_CFLAGS"
   5479 fi
   5480 
   5481 found="no"
   5482 
   5483 	if test $found = "no" ; then
   5484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5486 		fi
   5487 
   5488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5490 		fi
   5491 
   5492 		CFLAGS="$CFLAGS -Wnested-externs"
   5493 
   5494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5495 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5496 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5497 		if eval \${$cacheid+:} false; then :
   5498   $as_echo_n "(cached) " >&6
   5499 else
   5500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5501 /* end confdefs.h.  */
   5502 int i;
   5503 int
   5504 main ()
   5505 {
   5506 
   5507   ;
   5508   return 0;
   5509 }
   5510 _ACEOF
   5511 if ac_fn_c_try_link "$LINENO"; then :
   5512   eval $cacheid=yes
   5513 else
   5514   eval $cacheid=no
   5515 fi
   5516 rm -f core conftest.err conftest.$ac_objext \
   5517     conftest$ac_exeext conftest.$ac_ext
   5518 fi
   5519 
   5520 
   5521 		CFLAGS="$xorg_testset_save_CFLAGS"
   5522 
   5523 		eval supported=\$$cacheid
   5524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5525 $as_echo "$supported" >&6; }
   5526 		if test "$supported" = "yes" ; then
   5527 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5528 			found="yes"
   5529 		fi
   5530 	fi
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 xorg_testset_save_CFLAGS="$CFLAGS"
   5547 
   5548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5553   $as_echo_n "(cached) " >&6
   5554 else
   5555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5556 /* end confdefs.h.  */
   5557 int i;
   5558 _ACEOF
   5559 if ac_fn_c_try_compile "$LINENO"; then :
   5560   xorg_cv_cc_flag_unknown_warning_option=yes
   5561 else
   5562   xorg_cv_cc_flag_unknown_warning_option=no
   5563 fi
   5564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5565 fi
   5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5569 	CFLAGS="$xorg_testset_save_CFLAGS"
   5570 fi
   5571 
   5572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5575 	fi
   5576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5583 /* end confdefs.h.  */
   5584 int i;
   5585 _ACEOF
   5586 if ac_fn_c_try_compile "$LINENO"; then :
   5587   xorg_cv_cc_flag_unused_command_line_argument=yes
   5588 else
   5589   xorg_cv_cc_flag_unused_command_line_argument=no
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5592 fi
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5596 	CFLAGS="$xorg_testset_save_CFLAGS"
   5597 fi
   5598 
   5599 found="no"
   5600 
   5601 	if test $found = "no" ; then
   5602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5604 		fi
   5605 
   5606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5608 		fi
   5609 
   5610 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5611 
   5612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5613 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5614 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5615 		if eval \${$cacheid+:} false; then :
   5616   $as_echo_n "(cached) " >&6
   5617 else
   5618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5619 /* end confdefs.h.  */
   5620 int i;
   5621 int
   5622 main ()
   5623 {
   5624 
   5625   ;
   5626   return 0;
   5627 }
   5628 _ACEOF
   5629 if ac_fn_c_try_link "$LINENO"; then :
   5630   eval $cacheid=yes
   5631 else
   5632   eval $cacheid=no
   5633 fi
   5634 rm -f core conftest.err conftest.$ac_objext \
   5635     conftest$ac_exeext conftest.$ac_ext
   5636 fi
   5637 
   5638 
   5639 		CFLAGS="$xorg_testset_save_CFLAGS"
   5640 
   5641 		eval supported=\$$cacheid
   5642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5643 $as_echo "$supported" >&6; }
   5644 		if test "$supported" = "yes" ; then
   5645 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5646 			found="yes"
   5647 		fi
   5648 	fi
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 xorg_testset_save_CFLAGS="$CFLAGS"
   5665 
   5666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5671   $as_echo_n "(cached) " >&6
   5672 else
   5673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5674 /* end confdefs.h.  */
   5675 int i;
   5676 _ACEOF
   5677 if ac_fn_c_try_compile "$LINENO"; then :
   5678   xorg_cv_cc_flag_unknown_warning_option=yes
   5679 else
   5680   xorg_cv_cc_flag_unknown_warning_option=no
   5681 fi
   5682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5683 fi
   5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5687 	CFLAGS="$xorg_testset_save_CFLAGS"
   5688 fi
   5689 
   5690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5693 	fi
   5694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5698   $as_echo_n "(cached) " >&6
   5699 else
   5700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5701 /* end confdefs.h.  */
   5702 int i;
   5703 _ACEOF
   5704 if ac_fn_c_try_compile "$LINENO"; then :
   5705   xorg_cv_cc_flag_unused_command_line_argument=yes
   5706 else
   5707   xorg_cv_cc_flag_unused_command_line_argument=no
   5708 fi
   5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5710 fi
   5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5714 	CFLAGS="$xorg_testset_save_CFLAGS"
   5715 fi
   5716 
   5717 found="no"
   5718 
   5719 	if test $found = "no" ; then
   5720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 		fi
   5723 
   5724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5726 		fi
   5727 
   5728 		CFLAGS="$CFLAGS -Wold-style-definition"
   5729 
   5730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5731 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5732 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5733 		if eval \${$cacheid+:} false; then :
   5734   $as_echo_n "(cached) " >&6
   5735 else
   5736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5737 /* end confdefs.h.  */
   5738 int i;
   5739 int
   5740 main ()
   5741 {
   5742 
   5743   ;
   5744   return 0;
   5745 }
   5746 _ACEOF
   5747 if ac_fn_c_try_link "$LINENO"; then :
   5748   eval $cacheid=yes
   5749 else
   5750   eval $cacheid=no
   5751 fi
   5752 rm -f core conftest.err conftest.$ac_objext \
   5753     conftest$ac_exeext conftest.$ac_ext
   5754 fi
   5755 
   5756 
   5757 		CFLAGS="$xorg_testset_save_CFLAGS"
   5758 
   5759 		eval supported=\$$cacheid
   5760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5761 $as_echo "$supported" >&6; }
   5762 		if test "$supported" = "yes" ; then
   5763 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5764 			found="yes"
   5765 		fi
   5766 	fi
   5767 
   5768 	if test $found = "no" ; then
   5769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 		fi
   5772 
   5773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5775 		fi
   5776 
   5777 		CFLAGS="$CFLAGS -fd"
   5778 
   5779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5780 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5781 		cacheid=xorg_cv_cc_flag__fd
   5782 		if eval \${$cacheid+:} false; then :
   5783   $as_echo_n "(cached) " >&6
   5784 else
   5785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5786 /* end confdefs.h.  */
   5787 int i;
   5788 int
   5789 main ()
   5790 {
   5791 
   5792   ;
   5793   return 0;
   5794 }
   5795 _ACEOF
   5796 if ac_fn_c_try_link "$LINENO"; then :
   5797   eval $cacheid=yes
   5798 else
   5799   eval $cacheid=no
   5800 fi
   5801 rm -f core conftest.err conftest.$ac_objext \
   5802     conftest$ac_exeext conftest.$ac_ext
   5803 fi
   5804 
   5805 
   5806 		CFLAGS="$xorg_testset_save_CFLAGS"
   5807 
   5808 		eval supported=\$$cacheid
   5809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5810 $as_echo "$supported" >&6; }
   5811 		if test "$supported" = "yes" ; then
   5812 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5813 			found="yes"
   5814 		fi
   5815 	fi
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 xorg_testset_save_CFLAGS="$CFLAGS"
   5832 
   5833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5838   $as_echo_n "(cached) " >&6
   5839 else
   5840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 _ACEOF
   5844 if ac_fn_c_try_compile "$LINENO"; then :
   5845   xorg_cv_cc_flag_unknown_warning_option=yes
   5846 else
   5847   xorg_cv_cc_flag_unknown_warning_option=no
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5850 fi
   5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5854 	CFLAGS="$xorg_testset_save_CFLAGS"
   5855 fi
   5856 
   5857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5860 	fi
   5861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5865   $as_echo_n "(cached) " >&6
   5866 else
   5867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5868 /* end confdefs.h.  */
   5869 int i;
   5870 _ACEOF
   5871 if ac_fn_c_try_compile "$LINENO"; then :
   5872   xorg_cv_cc_flag_unused_command_line_argument=yes
   5873 else
   5874   xorg_cv_cc_flag_unused_command_line_argument=no
   5875 fi
   5876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5877 fi
   5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5881 	CFLAGS="$xorg_testset_save_CFLAGS"
   5882 fi
   5883 
   5884 found="no"
   5885 
   5886 	if test $found = "no" ; then
   5887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 		fi
   5890 
   5891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5893 		fi
   5894 
   5895 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5896 
   5897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5898 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5899 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5900 		if eval \${$cacheid+:} false; then :
   5901   $as_echo_n "(cached) " >&6
   5902 else
   5903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5904 /* end confdefs.h.  */
   5905 int i;
   5906 int
   5907 main ()
   5908 {
   5909 
   5910   ;
   5911   return 0;
   5912 }
   5913 _ACEOF
   5914 if ac_fn_c_try_link "$LINENO"; then :
   5915   eval $cacheid=yes
   5916 else
   5917   eval $cacheid=no
   5918 fi
   5919 rm -f core conftest.err conftest.$ac_objext \
   5920     conftest$ac_exeext conftest.$ac_ext
   5921 fi
   5922 
   5923 
   5924 		CFLAGS="$xorg_testset_save_CFLAGS"
   5925 
   5926 		eval supported=\$$cacheid
   5927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5928 $as_echo "$supported" >&6; }
   5929 		if test "$supported" = "yes" ; then
   5930 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5931 			found="yes"
   5932 		fi
   5933 	fi
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 # This chunk adds additional warnings that could catch undesired effects.
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 xorg_testset_save_CFLAGS="$CFLAGS"
   5954 
   5955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5960   $as_echo_n "(cached) " >&6
   5961 else
   5962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5963 /* end confdefs.h.  */
   5964 int i;
   5965 _ACEOF
   5966 if ac_fn_c_try_compile "$LINENO"; then :
   5967   xorg_cv_cc_flag_unknown_warning_option=yes
   5968 else
   5969   xorg_cv_cc_flag_unknown_warning_option=no
   5970 fi
   5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5972 fi
   5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5976 	CFLAGS="$xorg_testset_save_CFLAGS"
   5977 fi
   5978 
   5979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5982 	fi
   5983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 _ACEOF
   5993 if ac_fn_c_try_compile "$LINENO"; then :
   5994   xorg_cv_cc_flag_unused_command_line_argument=yes
   5995 else
   5996   xorg_cv_cc_flag_unused_command_line_argument=no
   5997 fi
   5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5999 fi
   6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6003 	CFLAGS="$xorg_testset_save_CFLAGS"
   6004 fi
   6005 
   6006 found="no"
   6007 
   6008 	if test $found = "no" ; then
   6009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 		fi
   6012 
   6013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6015 		fi
   6016 
   6017 		CFLAGS="$CFLAGS -Wunused"
   6018 
   6019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6020 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6021 		cacheid=xorg_cv_cc_flag__Wunused
   6022 		if eval \${$cacheid+:} false; then :
   6023   $as_echo_n "(cached) " >&6
   6024 else
   6025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6026 /* end confdefs.h.  */
   6027 int i;
   6028 int
   6029 main ()
   6030 {
   6031 
   6032   ;
   6033   return 0;
   6034 }
   6035 _ACEOF
   6036 if ac_fn_c_try_link "$LINENO"; then :
   6037   eval $cacheid=yes
   6038 else
   6039   eval $cacheid=no
   6040 fi
   6041 rm -f core conftest.err conftest.$ac_objext \
   6042     conftest$ac_exeext conftest.$ac_ext
   6043 fi
   6044 
   6045 
   6046 		CFLAGS="$xorg_testset_save_CFLAGS"
   6047 
   6048 		eval supported=\$$cacheid
   6049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6050 $as_echo "$supported" >&6; }
   6051 		if test "$supported" = "yes" ; then
   6052 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6053 			found="yes"
   6054 		fi
   6055 	fi
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 xorg_testset_save_CFLAGS="$CFLAGS"
   6072 
   6073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6078   $as_echo_n "(cached) " >&6
   6079 else
   6080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6081 /* end confdefs.h.  */
   6082 int i;
   6083 _ACEOF
   6084 if ac_fn_c_try_compile "$LINENO"; then :
   6085   xorg_cv_cc_flag_unknown_warning_option=yes
   6086 else
   6087   xorg_cv_cc_flag_unknown_warning_option=no
   6088 fi
   6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6090 fi
   6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6094 	CFLAGS="$xorg_testset_save_CFLAGS"
   6095 fi
   6096 
   6097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 	fi
   6101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 _ACEOF
   6111 if ac_fn_c_try_compile "$LINENO"; then :
   6112   xorg_cv_cc_flag_unused_command_line_argument=yes
   6113 else
   6114   xorg_cv_cc_flag_unused_command_line_argument=no
   6115 fi
   6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6117 fi
   6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6121 	CFLAGS="$xorg_testset_save_CFLAGS"
   6122 fi
   6123 
   6124 found="no"
   6125 
   6126 	if test $found = "no" ; then
   6127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 		fi
   6130 
   6131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6133 		fi
   6134 
   6135 		CFLAGS="$CFLAGS -Wuninitialized"
   6136 
   6137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6138 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6139 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6140 		if eval \${$cacheid+:} false; then :
   6141   $as_echo_n "(cached) " >&6
   6142 else
   6143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6144 /* end confdefs.h.  */
   6145 int i;
   6146 int
   6147 main ()
   6148 {
   6149 
   6150   ;
   6151   return 0;
   6152 }
   6153 _ACEOF
   6154 if ac_fn_c_try_link "$LINENO"; then :
   6155   eval $cacheid=yes
   6156 else
   6157   eval $cacheid=no
   6158 fi
   6159 rm -f core conftest.err conftest.$ac_objext \
   6160     conftest$ac_exeext conftest.$ac_ext
   6161 fi
   6162 
   6163 
   6164 		CFLAGS="$xorg_testset_save_CFLAGS"
   6165 
   6166 		eval supported=\$$cacheid
   6167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6168 $as_echo "$supported" >&6; }
   6169 		if test "$supported" = "yes" ; then
   6170 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6171 			found="yes"
   6172 		fi
   6173 	fi
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 xorg_testset_save_CFLAGS="$CFLAGS"
   6190 
   6191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6196   $as_echo_n "(cached) " >&6
   6197 else
   6198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6199 /* end confdefs.h.  */
   6200 int i;
   6201 _ACEOF
   6202 if ac_fn_c_try_compile "$LINENO"; then :
   6203   xorg_cv_cc_flag_unknown_warning_option=yes
   6204 else
   6205   xorg_cv_cc_flag_unknown_warning_option=no
   6206 fi
   6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6208 fi
   6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6212 	CFLAGS="$xorg_testset_save_CFLAGS"
   6213 fi
   6214 
   6215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6218 	fi
   6219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6223   $as_echo_n "(cached) " >&6
   6224 else
   6225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6226 /* end confdefs.h.  */
   6227 int i;
   6228 _ACEOF
   6229 if ac_fn_c_try_compile "$LINENO"; then :
   6230   xorg_cv_cc_flag_unused_command_line_argument=yes
   6231 else
   6232   xorg_cv_cc_flag_unused_command_line_argument=no
   6233 fi
   6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6235 fi
   6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6239 	CFLAGS="$xorg_testset_save_CFLAGS"
   6240 fi
   6241 
   6242 found="no"
   6243 
   6244 	if test $found = "no" ; then
   6245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 		fi
   6248 
   6249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6251 		fi
   6252 
   6253 		CFLAGS="$CFLAGS -Wshadow"
   6254 
   6255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6256 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6257 		cacheid=xorg_cv_cc_flag__Wshadow
   6258 		if eval \${$cacheid+:} false; then :
   6259   $as_echo_n "(cached) " >&6
   6260 else
   6261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 int i;
   6264 int
   6265 main ()
   6266 {
   6267 
   6268   ;
   6269   return 0;
   6270 }
   6271 _ACEOF
   6272 if ac_fn_c_try_link "$LINENO"; then :
   6273   eval $cacheid=yes
   6274 else
   6275   eval $cacheid=no
   6276 fi
   6277 rm -f core conftest.err conftest.$ac_objext \
   6278     conftest$ac_exeext conftest.$ac_ext
   6279 fi
   6280 
   6281 
   6282 		CFLAGS="$xorg_testset_save_CFLAGS"
   6283 
   6284 		eval supported=\$$cacheid
   6285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6286 $as_echo "$supported" >&6; }
   6287 		if test "$supported" = "yes" ; then
   6288 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6289 			found="yes"
   6290 		fi
   6291 	fi
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 xorg_testset_save_CFLAGS="$CFLAGS"
   6308 
   6309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6317 /* end confdefs.h.  */
   6318 int i;
   6319 _ACEOF
   6320 if ac_fn_c_try_compile "$LINENO"; then :
   6321   xorg_cv_cc_flag_unknown_warning_option=yes
   6322 else
   6323   xorg_cv_cc_flag_unknown_warning_option=no
   6324 fi
   6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6326 fi
   6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6330 	CFLAGS="$xorg_testset_save_CFLAGS"
   6331 fi
   6332 
   6333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6336 	fi
   6337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6341   $as_echo_n "(cached) " >&6
   6342 else
   6343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6344 /* end confdefs.h.  */
   6345 int i;
   6346 _ACEOF
   6347 if ac_fn_c_try_compile "$LINENO"; then :
   6348   xorg_cv_cc_flag_unused_command_line_argument=yes
   6349 else
   6350   xorg_cv_cc_flag_unused_command_line_argument=no
   6351 fi
   6352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6353 fi
   6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6357 	CFLAGS="$xorg_testset_save_CFLAGS"
   6358 fi
   6359 
   6360 found="no"
   6361 
   6362 	if test $found = "no" ; then
   6363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6365 		fi
   6366 
   6367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6369 		fi
   6370 
   6371 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6372 
   6373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6374 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6375 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6376 		if eval \${$cacheid+:} false; then :
   6377   $as_echo_n "(cached) " >&6
   6378 else
   6379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6380 /* end confdefs.h.  */
   6381 int i;
   6382 int
   6383 main ()
   6384 {
   6385 
   6386   ;
   6387   return 0;
   6388 }
   6389 _ACEOF
   6390 if ac_fn_c_try_link "$LINENO"; then :
   6391   eval $cacheid=yes
   6392 else
   6393   eval $cacheid=no
   6394 fi
   6395 rm -f core conftest.err conftest.$ac_objext \
   6396     conftest$ac_exeext conftest.$ac_ext
   6397 fi
   6398 
   6399 
   6400 		CFLAGS="$xorg_testset_save_CFLAGS"
   6401 
   6402 		eval supported=\$$cacheid
   6403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6404 $as_echo "$supported" >&6; }
   6405 		if test "$supported" = "yes" ; then
   6406 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6407 			found="yes"
   6408 		fi
   6409 	fi
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 xorg_testset_save_CFLAGS="$CFLAGS"
   6426 
   6427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6432   $as_echo_n "(cached) " >&6
   6433 else
   6434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6435 /* end confdefs.h.  */
   6436 int i;
   6437 _ACEOF
   6438 if ac_fn_c_try_compile "$LINENO"; then :
   6439   xorg_cv_cc_flag_unknown_warning_option=yes
   6440 else
   6441   xorg_cv_cc_flag_unknown_warning_option=no
   6442 fi
   6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6444 fi
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6448 	CFLAGS="$xorg_testset_save_CFLAGS"
   6449 fi
   6450 
   6451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6454 	fi
   6455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 _ACEOF
   6465 if ac_fn_c_try_compile "$LINENO"; then :
   6466   xorg_cv_cc_flag_unused_command_line_argument=yes
   6467 else
   6468   xorg_cv_cc_flag_unused_command_line_argument=no
   6469 fi
   6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6471 fi
   6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6475 	CFLAGS="$xorg_testset_save_CFLAGS"
   6476 fi
   6477 
   6478 found="no"
   6479 
   6480 	if test $found = "no" ; then
   6481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6483 		fi
   6484 
   6485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6487 		fi
   6488 
   6489 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6490 
   6491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6492 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6493 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6494 		if eval \${$cacheid+:} false; then :
   6495   $as_echo_n "(cached) " >&6
   6496 else
   6497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6498 /* end confdefs.h.  */
   6499 int i;
   6500 int
   6501 main ()
   6502 {
   6503 
   6504   ;
   6505   return 0;
   6506 }
   6507 _ACEOF
   6508 if ac_fn_c_try_link "$LINENO"; then :
   6509   eval $cacheid=yes
   6510 else
   6511   eval $cacheid=no
   6512 fi
   6513 rm -f core conftest.err conftest.$ac_objext \
   6514     conftest$ac_exeext conftest.$ac_ext
   6515 fi
   6516 
   6517 
   6518 		CFLAGS="$xorg_testset_save_CFLAGS"
   6519 
   6520 		eval supported=\$$cacheid
   6521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6522 $as_echo "$supported" >&6; }
   6523 		if test "$supported" = "yes" ; then
   6524 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6525 			found="yes"
   6526 		fi
   6527 	fi
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 xorg_testset_save_CFLAGS="$CFLAGS"
   6544 
   6545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6550   $as_echo_n "(cached) " >&6
   6551 else
   6552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6553 /* end confdefs.h.  */
   6554 int i;
   6555 _ACEOF
   6556 if ac_fn_c_try_compile "$LINENO"; then :
   6557   xorg_cv_cc_flag_unknown_warning_option=yes
   6558 else
   6559   xorg_cv_cc_flag_unknown_warning_option=no
   6560 fi
   6561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6562 fi
   6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6566 	CFLAGS="$xorg_testset_save_CFLAGS"
   6567 fi
   6568 
   6569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6572 	fi
   6573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6580 /* end confdefs.h.  */
   6581 int i;
   6582 _ACEOF
   6583 if ac_fn_c_try_compile "$LINENO"; then :
   6584   xorg_cv_cc_flag_unused_command_line_argument=yes
   6585 else
   6586   xorg_cv_cc_flag_unused_command_line_argument=no
   6587 fi
   6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6589 fi
   6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6593 	CFLAGS="$xorg_testset_save_CFLAGS"
   6594 fi
   6595 
   6596 found="no"
   6597 
   6598 	if test $found = "no" ; then
   6599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6601 		fi
   6602 
   6603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6605 		fi
   6606 
   6607 		CFLAGS="$CFLAGS -Wredundant-decls"
   6608 
   6609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6610 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6611 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6612 		if eval \${$cacheid+:} false; then :
   6613   $as_echo_n "(cached) " >&6
   6614 else
   6615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6616 /* end confdefs.h.  */
   6617 int i;
   6618 int
   6619 main ()
   6620 {
   6621 
   6622   ;
   6623   return 0;
   6624 }
   6625 _ACEOF
   6626 if ac_fn_c_try_link "$LINENO"; then :
   6627   eval $cacheid=yes
   6628 else
   6629   eval $cacheid=no
   6630 fi
   6631 rm -f core conftest.err conftest.$ac_objext \
   6632     conftest$ac_exeext conftest.$ac_ext
   6633 fi
   6634 
   6635 
   6636 		CFLAGS="$xorg_testset_save_CFLAGS"
   6637 
   6638 		eval supported=\$$cacheid
   6639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6640 $as_echo "$supported" >&6; }
   6641 		if test "$supported" = "yes" ; then
   6642 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6643 			found="yes"
   6644 		fi
   6645 	fi
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 xorg_testset_save_CFLAGS="$CFLAGS"
   6662 
   6663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6668   $as_echo_n "(cached) " >&6
   6669 else
   6670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 int i;
   6673 _ACEOF
   6674 if ac_fn_c_try_compile "$LINENO"; then :
   6675   xorg_cv_cc_flag_unknown_warning_option=yes
   6676 else
   6677   xorg_cv_cc_flag_unknown_warning_option=no
   6678 fi
   6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6680 fi
   6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6684 	CFLAGS="$xorg_testset_save_CFLAGS"
   6685 fi
   6686 
   6687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6690 	fi
   6691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6695   $as_echo_n "(cached) " >&6
   6696 else
   6697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6698 /* end confdefs.h.  */
   6699 int i;
   6700 _ACEOF
   6701 if ac_fn_c_try_compile "$LINENO"; then :
   6702   xorg_cv_cc_flag_unused_command_line_argument=yes
   6703 else
   6704   xorg_cv_cc_flag_unused_command_line_argument=no
   6705 fi
   6706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6707 fi
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6711 	CFLAGS="$xorg_testset_save_CFLAGS"
   6712 fi
   6713 
   6714 found="no"
   6715 
   6716 	if test $found = "no" ; then
   6717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6719 		fi
   6720 
   6721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6723 		fi
   6724 
   6725 		CFLAGS="$CFLAGS -Wlogical-op"
   6726 
   6727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6728 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6729 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6730 		if eval \${$cacheid+:} false; then :
   6731   $as_echo_n "(cached) " >&6
   6732 else
   6733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6734 /* end confdefs.h.  */
   6735 int i;
   6736 int
   6737 main ()
   6738 {
   6739 
   6740   ;
   6741   return 0;
   6742 }
   6743 _ACEOF
   6744 if ac_fn_c_try_link "$LINENO"; then :
   6745   eval $cacheid=yes
   6746 else
   6747   eval $cacheid=no
   6748 fi
   6749 rm -f core conftest.err conftest.$ac_objext \
   6750     conftest$ac_exeext conftest.$ac_ext
   6751 fi
   6752 
   6753 
   6754 		CFLAGS="$xorg_testset_save_CFLAGS"
   6755 
   6756 		eval supported=\$$cacheid
   6757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6758 $as_echo "$supported" >&6; }
   6759 		if test "$supported" = "yes" ; then
   6760 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6761 			found="yes"
   6762 		fi
   6763 	fi
   6764 
   6765 
   6766 
   6767 # These are currently disabled because they are noisy.  They will be enabled
   6768 # in the future once the codebase is sufficiently modernized to silence
   6769 # them.  For now, I don't want them to drown out the other warnings.
   6770 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6771 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6772 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6773 
   6774 # Turn some warnings into errors, so we don't accidently get successful builds
   6775 # when there are problems that should be fixed.
   6776 
   6777 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unknown_warning_option=yes
   6806 else
   6807   xorg_cv_cc_flag_unknown_warning_option=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6820 	fi
   6821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6828 /* end confdefs.h.  */
   6829 int i;
   6830 _ACEOF
   6831 if ac_fn_c_try_compile "$LINENO"; then :
   6832   xorg_cv_cc_flag_unused_command_line_argument=yes
   6833 else
   6834   xorg_cv_cc_flag_unused_command_line_argument=no
   6835 fi
   6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6841 	CFLAGS="$xorg_testset_save_CFLAGS"
   6842 fi
   6843 
   6844 found="no"
   6845 
   6846 	if test $found = "no" ; then
   6847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 		fi
   6850 
   6851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6853 		fi
   6854 
   6855 		CFLAGS="$CFLAGS -Werror=implicit"
   6856 
   6857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6858 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6859 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6860 		if eval \${$cacheid+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main ()
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"; then :
   6875   eval $cacheid=yes
   6876 else
   6877   eval $cacheid=no
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext \
   6880     conftest$ac_exeext conftest.$ac_ext
   6881 fi
   6882 
   6883 
   6884 		CFLAGS="$xorg_testset_save_CFLAGS"
   6885 
   6886 		eval supported=\$$cacheid
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6888 $as_echo "$supported" >&6; }
   6889 		if test "$supported" = "yes" ; then
   6890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6891 			found="yes"
   6892 		fi
   6893 	fi
   6894 
   6895 	if test $found = "no" ; then
   6896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6898 		fi
   6899 
   6900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6902 		fi
   6903 
   6904 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6905 
   6906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6907 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6908 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6909 		if eval \${$cacheid+:} false; then :
   6910   $as_echo_n "(cached) " >&6
   6911 else
   6912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6913 /* end confdefs.h.  */
   6914 int i;
   6915 int
   6916 main ()
   6917 {
   6918 
   6919   ;
   6920   return 0;
   6921 }
   6922 _ACEOF
   6923 if ac_fn_c_try_link "$LINENO"; then :
   6924   eval $cacheid=yes
   6925 else
   6926   eval $cacheid=no
   6927 fi
   6928 rm -f core conftest.err conftest.$ac_objext \
   6929     conftest$ac_exeext conftest.$ac_ext
   6930 fi
   6931 
   6932 
   6933 		CFLAGS="$xorg_testset_save_CFLAGS"
   6934 
   6935 		eval supported=\$$cacheid
   6936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6937 $as_echo "$supported" >&6; }
   6938 		if test "$supported" = "yes" ; then
   6939 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6940 			found="yes"
   6941 		fi
   6942 	fi
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 xorg_testset_save_CFLAGS="$CFLAGS"
   6959 
   6960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6963 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6964 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6965   $as_echo_n "(cached) " >&6
   6966 else
   6967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6968 /* end confdefs.h.  */
   6969 int i;
   6970 _ACEOF
   6971 if ac_fn_c_try_compile "$LINENO"; then :
   6972   xorg_cv_cc_flag_unknown_warning_option=yes
   6973 else
   6974   xorg_cv_cc_flag_unknown_warning_option=no
   6975 fi
   6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6977 fi
   6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6979 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6981 	CFLAGS="$xorg_testset_save_CFLAGS"
   6982 fi
   6983 
   6984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 	fi
   6988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6990 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6991 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6992   $as_echo_n "(cached) " >&6
   6993 else
   6994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 int i;
   6997 _ACEOF
   6998 if ac_fn_c_try_compile "$LINENO"; then :
   6999   xorg_cv_cc_flag_unused_command_line_argument=yes
   7000 else
   7001   xorg_cv_cc_flag_unused_command_line_argument=no
   7002 fi
   7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7004 fi
   7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7006 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7008 	CFLAGS="$xorg_testset_save_CFLAGS"
   7009 fi
   7010 
   7011 found="no"
   7012 
   7013 	if test $found = "no" ; then
   7014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 		fi
   7017 
   7018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7020 		fi
   7021 
   7022 		CFLAGS="$CFLAGS -Werror=nonnull"
   7023 
   7024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7025 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7026 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7027 		if eval \${$cacheid+:} false; then :
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7031 /* end confdefs.h.  */
   7032 int i;
   7033 int
   7034 main ()
   7035 {
   7036 
   7037   ;
   7038   return 0;
   7039 }
   7040 _ACEOF
   7041 if ac_fn_c_try_link "$LINENO"; then :
   7042   eval $cacheid=yes
   7043 else
   7044   eval $cacheid=no
   7045 fi
   7046 rm -f core conftest.err conftest.$ac_objext \
   7047     conftest$ac_exeext conftest.$ac_ext
   7048 fi
   7049 
   7050 
   7051 		CFLAGS="$xorg_testset_save_CFLAGS"
   7052 
   7053 		eval supported=\$$cacheid
   7054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7055 $as_echo "$supported" >&6; }
   7056 		if test "$supported" = "yes" ; then
   7057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7058 			found="yes"
   7059 		fi
   7060 	fi
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 xorg_testset_save_CFLAGS="$CFLAGS"
   7077 
   7078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7081 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7082 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7083   $as_echo_n "(cached) " >&6
   7084 else
   7085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7086 /* end confdefs.h.  */
   7087 int i;
   7088 _ACEOF
   7089 if ac_fn_c_try_compile "$LINENO"; then :
   7090   xorg_cv_cc_flag_unknown_warning_option=yes
   7091 else
   7092   xorg_cv_cc_flag_unknown_warning_option=no
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7095 fi
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7097 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7099 	CFLAGS="$xorg_testset_save_CFLAGS"
   7100 fi
   7101 
   7102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	fi
   7106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7108 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7109 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7110   $as_echo_n "(cached) " >&6
   7111 else
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 int i;
   7115 _ACEOF
   7116 if ac_fn_c_try_compile "$LINENO"; then :
   7117   xorg_cv_cc_flag_unused_command_line_argument=yes
   7118 else
   7119   xorg_cv_cc_flag_unused_command_line_argument=no
   7120 fi
   7121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7122 fi
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7124 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7126 	CFLAGS="$xorg_testset_save_CFLAGS"
   7127 fi
   7128 
   7129 found="no"
   7130 
   7131 	if test $found = "no" ; then
   7132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 		fi
   7135 
   7136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7138 		fi
   7139 
   7140 		CFLAGS="$CFLAGS -Werror=init-self"
   7141 
   7142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7143 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7144 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7145 		if eval \${$cacheid+:} false; then :
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7149 /* end confdefs.h.  */
   7150 int i;
   7151 int
   7152 main ()
   7153 {
   7154 
   7155   ;
   7156   return 0;
   7157 }
   7158 _ACEOF
   7159 if ac_fn_c_try_link "$LINENO"; then :
   7160   eval $cacheid=yes
   7161 else
   7162   eval $cacheid=no
   7163 fi
   7164 rm -f core conftest.err conftest.$ac_objext \
   7165     conftest$ac_exeext conftest.$ac_ext
   7166 fi
   7167 
   7168 
   7169 		CFLAGS="$xorg_testset_save_CFLAGS"
   7170 
   7171 		eval supported=\$$cacheid
   7172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7173 $as_echo "$supported" >&6; }
   7174 		if test "$supported" = "yes" ; then
   7175 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7176 			found="yes"
   7177 		fi
   7178 	fi
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 xorg_testset_save_CFLAGS="$CFLAGS"
   7195 
   7196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7199 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7200 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7201   $as_echo_n "(cached) " >&6
   7202 else
   7203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 _ACEOF
   7207 if ac_fn_c_try_compile "$LINENO"; then :
   7208   xorg_cv_cc_flag_unknown_warning_option=yes
   7209 else
   7210   xorg_cv_cc_flag_unknown_warning_option=no
   7211 fi
   7212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7213 fi
   7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7215 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7217 	CFLAGS="$xorg_testset_save_CFLAGS"
   7218 fi
   7219 
   7220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7223 	fi
   7224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7226 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7227 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7228   $as_echo_n "(cached) " >&6
   7229 else
   7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7231 /* end confdefs.h.  */
   7232 int i;
   7233 _ACEOF
   7234 if ac_fn_c_try_compile "$LINENO"; then :
   7235   xorg_cv_cc_flag_unused_command_line_argument=yes
   7236 else
   7237   xorg_cv_cc_flag_unused_command_line_argument=no
   7238 fi
   7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7240 fi
   7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7242 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7244 	CFLAGS="$xorg_testset_save_CFLAGS"
   7245 fi
   7246 
   7247 found="no"
   7248 
   7249 	if test $found = "no" ; then
   7250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7252 		fi
   7253 
   7254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7256 		fi
   7257 
   7258 		CFLAGS="$CFLAGS -Werror=main"
   7259 
   7260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7261 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7262 		cacheid=xorg_cv_cc_flag__Werror_main
   7263 		if eval \${$cacheid+:} false; then :
   7264   $as_echo_n "(cached) " >&6
   7265 else
   7266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7267 /* end confdefs.h.  */
   7268 int i;
   7269 int
   7270 main ()
   7271 {
   7272 
   7273   ;
   7274   return 0;
   7275 }
   7276 _ACEOF
   7277 if ac_fn_c_try_link "$LINENO"; then :
   7278   eval $cacheid=yes
   7279 else
   7280   eval $cacheid=no
   7281 fi
   7282 rm -f core conftest.err conftest.$ac_objext \
   7283     conftest$ac_exeext conftest.$ac_ext
   7284 fi
   7285 
   7286 
   7287 		CFLAGS="$xorg_testset_save_CFLAGS"
   7288 
   7289 		eval supported=\$$cacheid
   7290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7291 $as_echo "$supported" >&6; }
   7292 		if test "$supported" = "yes" ; then
   7293 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7294 			found="yes"
   7295 		fi
   7296 	fi
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 xorg_testset_save_CFLAGS="$CFLAGS"
   7313 
   7314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7317 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7318 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7319   $as_echo_n "(cached) " >&6
   7320 else
   7321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 int i;
   7324 _ACEOF
   7325 if ac_fn_c_try_compile "$LINENO"; then :
   7326   xorg_cv_cc_flag_unknown_warning_option=yes
   7327 else
   7328   xorg_cv_cc_flag_unknown_warning_option=no
   7329 fi
   7330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7331 fi
   7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7333 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7335 	CFLAGS="$xorg_testset_save_CFLAGS"
   7336 fi
   7337 
   7338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7341 	fi
   7342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7344 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7345 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7346   $as_echo_n "(cached) " >&6
   7347 else
   7348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7349 /* end confdefs.h.  */
   7350 int i;
   7351 _ACEOF
   7352 if ac_fn_c_try_compile "$LINENO"; then :
   7353   xorg_cv_cc_flag_unused_command_line_argument=yes
   7354 else
   7355   xorg_cv_cc_flag_unused_command_line_argument=no
   7356 fi
   7357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7358 fi
   7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7360 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7362 	CFLAGS="$xorg_testset_save_CFLAGS"
   7363 fi
   7364 
   7365 found="no"
   7366 
   7367 	if test $found = "no" ; then
   7368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7370 		fi
   7371 
   7372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7374 		fi
   7375 
   7376 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7377 
   7378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7379 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7380 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7381 		if eval \${$cacheid+:} false; then :
   7382   $as_echo_n "(cached) " >&6
   7383 else
   7384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7385 /* end confdefs.h.  */
   7386 int i;
   7387 int
   7388 main ()
   7389 {
   7390 
   7391   ;
   7392   return 0;
   7393 }
   7394 _ACEOF
   7395 if ac_fn_c_try_link "$LINENO"; then :
   7396   eval $cacheid=yes
   7397 else
   7398   eval $cacheid=no
   7399 fi
   7400 rm -f core conftest.err conftest.$ac_objext \
   7401     conftest$ac_exeext conftest.$ac_ext
   7402 fi
   7403 
   7404 
   7405 		CFLAGS="$xorg_testset_save_CFLAGS"
   7406 
   7407 		eval supported=\$$cacheid
   7408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7409 $as_echo "$supported" >&6; }
   7410 		if test "$supported" = "yes" ; then
   7411 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7412 			found="yes"
   7413 		fi
   7414 	fi
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 xorg_testset_save_CFLAGS="$CFLAGS"
   7431 
   7432 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7433 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7435 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7436 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7437   $as_echo_n "(cached) " >&6
   7438 else
   7439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7440 /* end confdefs.h.  */
   7441 int i;
   7442 _ACEOF
   7443 if ac_fn_c_try_compile "$LINENO"; then :
   7444   xorg_cv_cc_flag_unknown_warning_option=yes
   7445 else
   7446   xorg_cv_cc_flag_unknown_warning_option=no
   7447 fi
   7448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7449 fi
   7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7451 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7453 	CFLAGS="$xorg_testset_save_CFLAGS"
   7454 fi
   7455 
   7456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 	fi
   7460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7462 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7463 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7464   $as_echo_n "(cached) " >&6
   7465 else
   7466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7467 /* end confdefs.h.  */
   7468 int i;
   7469 _ACEOF
   7470 if ac_fn_c_try_compile "$LINENO"; then :
   7471   xorg_cv_cc_flag_unused_command_line_argument=yes
   7472 else
   7473   xorg_cv_cc_flag_unused_command_line_argument=no
   7474 fi
   7475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7476 fi
   7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7478 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7480 	CFLAGS="$xorg_testset_save_CFLAGS"
   7481 fi
   7482 
   7483 found="no"
   7484 
   7485 	if test $found = "no" ; then
   7486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 		fi
   7489 
   7490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7492 		fi
   7493 
   7494 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7495 
   7496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7497 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7498 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7499 		if eval \${$cacheid+:} false; then :
   7500   $as_echo_n "(cached) " >&6
   7501 else
   7502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7503 /* end confdefs.h.  */
   7504 int i;
   7505 int
   7506 main ()
   7507 {
   7508 
   7509   ;
   7510   return 0;
   7511 }
   7512 _ACEOF
   7513 if ac_fn_c_try_link "$LINENO"; then :
   7514   eval $cacheid=yes
   7515 else
   7516   eval $cacheid=no
   7517 fi
   7518 rm -f core conftest.err conftest.$ac_objext \
   7519     conftest$ac_exeext conftest.$ac_ext
   7520 fi
   7521 
   7522 
   7523 		CFLAGS="$xorg_testset_save_CFLAGS"
   7524 
   7525 		eval supported=\$$cacheid
   7526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7527 $as_echo "$supported" >&6; }
   7528 		if test "$supported" = "yes" ; then
   7529 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7530 			found="yes"
   7531 		fi
   7532 	fi
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 xorg_testset_save_CFLAGS="$CFLAGS"
   7549 
   7550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7553 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7554 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 int i;
   7560 _ACEOF
   7561 if ac_fn_c_try_compile "$LINENO"; then :
   7562   xorg_cv_cc_flag_unknown_warning_option=yes
   7563 else
   7564   xorg_cv_cc_flag_unknown_warning_option=no
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7567 fi
   7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7569 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7571 	CFLAGS="$xorg_testset_save_CFLAGS"
   7572 fi
   7573 
   7574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7577 	fi
   7578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7580 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7581 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7582   $as_echo_n "(cached) " >&6
   7583 else
   7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 int i;
   7587 _ACEOF
   7588 if ac_fn_c_try_compile "$LINENO"; then :
   7589   xorg_cv_cc_flag_unused_command_line_argument=yes
   7590 else
   7591   xorg_cv_cc_flag_unused_command_line_argument=no
   7592 fi
   7593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7594 fi
   7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7596 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7598 	CFLAGS="$xorg_testset_save_CFLAGS"
   7599 fi
   7600 
   7601 found="no"
   7602 
   7603 	if test $found = "no" ; then
   7604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7606 		fi
   7607 
   7608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7610 		fi
   7611 
   7612 		CFLAGS="$CFLAGS -Werror=return-type"
   7613 
   7614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7615 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7616 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7617 		if eval \${$cacheid+:} false; then :
   7618   $as_echo_n "(cached) " >&6
   7619 else
   7620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7621 /* end confdefs.h.  */
   7622 int i;
   7623 int
   7624 main ()
   7625 {
   7626 
   7627   ;
   7628   return 0;
   7629 }
   7630 _ACEOF
   7631 if ac_fn_c_try_link "$LINENO"; then :
   7632   eval $cacheid=yes
   7633 else
   7634   eval $cacheid=no
   7635 fi
   7636 rm -f core conftest.err conftest.$ac_objext \
   7637     conftest$ac_exeext conftest.$ac_ext
   7638 fi
   7639 
   7640 
   7641 		CFLAGS="$xorg_testset_save_CFLAGS"
   7642 
   7643 		eval supported=\$$cacheid
   7644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7645 $as_echo "$supported" >&6; }
   7646 		if test "$supported" = "yes" ; then
   7647 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7648 			found="yes"
   7649 		fi
   7650 	fi
   7651 
   7652 	if test $found = "no" ; then
   7653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7655 		fi
   7656 
   7657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7659 		fi
   7660 
   7661 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7662 
   7663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7664 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7665 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7666 		if eval \${$cacheid+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7670 /* end confdefs.h.  */
   7671 int i;
   7672 int
   7673 main ()
   7674 {
   7675 
   7676   ;
   7677   return 0;
   7678 }
   7679 _ACEOF
   7680 if ac_fn_c_try_link "$LINENO"; then :
   7681   eval $cacheid=yes
   7682 else
   7683   eval $cacheid=no
   7684 fi
   7685 rm -f core conftest.err conftest.$ac_objext \
   7686     conftest$ac_exeext conftest.$ac_ext
   7687 fi
   7688 
   7689 
   7690 		CFLAGS="$xorg_testset_save_CFLAGS"
   7691 
   7692 		eval supported=\$$cacheid
   7693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7694 $as_echo "$supported" >&6; }
   7695 		if test "$supported" = "yes" ; then
   7696 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7697 			found="yes"
   7698 		fi
   7699 	fi
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 xorg_testset_save_CFLAGS="$CFLAGS"
   7716 
   7717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7722   $as_echo_n "(cached) " >&6
   7723 else
   7724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7725 /* end confdefs.h.  */
   7726 int i;
   7727 _ACEOF
   7728 if ac_fn_c_try_compile "$LINENO"; then :
   7729   xorg_cv_cc_flag_unknown_warning_option=yes
   7730 else
   7731   xorg_cv_cc_flag_unknown_warning_option=no
   7732 fi
   7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7734 fi
   7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7738 	CFLAGS="$xorg_testset_save_CFLAGS"
   7739 fi
   7740 
   7741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7744 	fi
   7745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7749   $as_echo_n "(cached) " >&6
   7750 else
   7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 int i;
   7754 _ACEOF
   7755 if ac_fn_c_try_compile "$LINENO"; then :
   7756   xorg_cv_cc_flag_unused_command_line_argument=yes
   7757 else
   7758   xorg_cv_cc_flag_unused_command_line_argument=no
   7759 fi
   7760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7761 fi
   7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7765 	CFLAGS="$xorg_testset_save_CFLAGS"
   7766 fi
   7767 
   7768 found="no"
   7769 
   7770 	if test $found = "no" ; then
   7771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 		fi
   7774 
   7775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7777 		fi
   7778 
   7779 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7780 
   7781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7782 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7783 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7784 		if eval \${$cacheid+:} false; then :
   7785   $as_echo_n "(cached) " >&6
   7786 else
   7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 int i;
   7790 int
   7791 main ()
   7792 {
   7793 
   7794   ;
   7795   return 0;
   7796 }
   7797 _ACEOF
   7798 if ac_fn_c_try_link "$LINENO"; then :
   7799   eval $cacheid=yes
   7800 else
   7801   eval $cacheid=no
   7802 fi
   7803 rm -f core conftest.err conftest.$ac_objext \
   7804     conftest$ac_exeext conftest.$ac_ext
   7805 fi
   7806 
   7807 
   7808 		CFLAGS="$xorg_testset_save_CFLAGS"
   7809 
   7810 		eval supported=\$$cacheid
   7811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7812 $as_echo "$supported" >&6; }
   7813 		if test "$supported" = "yes" ; then
   7814 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7815 			found="yes"
   7816 		fi
   7817 	fi
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 xorg_testset_save_CFLAGS="$CFLAGS"
   7834 
   7835 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7836 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7838 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7839 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7840   $as_echo_n "(cached) " >&6
   7841 else
   7842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7843 /* end confdefs.h.  */
   7844 int i;
   7845 _ACEOF
   7846 if ac_fn_c_try_compile "$LINENO"; then :
   7847   xorg_cv_cc_flag_unknown_warning_option=yes
   7848 else
   7849   xorg_cv_cc_flag_unknown_warning_option=no
   7850 fi
   7851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7852 fi
   7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7854 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7856 	CFLAGS="$xorg_testset_save_CFLAGS"
   7857 fi
   7858 
   7859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7862 	fi
   7863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7865 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7866 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7867   $as_echo_n "(cached) " >&6
   7868 else
   7869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7870 /* end confdefs.h.  */
   7871 int i;
   7872 _ACEOF
   7873 if ac_fn_c_try_compile "$LINENO"; then :
   7874   xorg_cv_cc_flag_unused_command_line_argument=yes
   7875 else
   7876   xorg_cv_cc_flag_unused_command_line_argument=no
   7877 fi
   7878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7879 fi
   7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7881 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7883 	CFLAGS="$xorg_testset_save_CFLAGS"
   7884 fi
   7885 
   7886 found="no"
   7887 
   7888 	if test $found = "no" ; then
   7889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 		fi
   7892 
   7893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7895 		fi
   7896 
   7897 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7898 
   7899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7900 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7901 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7902 		if eval \${$cacheid+:} false; then :
   7903   $as_echo_n "(cached) " >&6
   7904 else
   7905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7906 /* end confdefs.h.  */
   7907 int i;
   7908 int
   7909 main ()
   7910 {
   7911 
   7912   ;
   7913   return 0;
   7914 }
   7915 _ACEOF
   7916 if ac_fn_c_try_link "$LINENO"; then :
   7917   eval $cacheid=yes
   7918 else
   7919   eval $cacheid=no
   7920 fi
   7921 rm -f core conftest.err conftest.$ac_objext \
   7922     conftest$ac_exeext conftest.$ac_ext
   7923 fi
   7924 
   7925 
   7926 		CFLAGS="$xorg_testset_save_CFLAGS"
   7927 
   7928 		eval supported=\$$cacheid
   7929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7930 $as_echo "$supported" >&6; }
   7931 		if test "$supported" = "yes" ; then
   7932 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7933 			found="yes"
   7934 		fi
   7935 	fi
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 xorg_testset_save_CFLAGS="$CFLAGS"
   7952 
   7953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7958   $as_echo_n "(cached) " >&6
   7959 else
   7960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7961 /* end confdefs.h.  */
   7962 int i;
   7963 _ACEOF
   7964 if ac_fn_c_try_compile "$LINENO"; then :
   7965   xorg_cv_cc_flag_unknown_warning_option=yes
   7966 else
   7967   xorg_cv_cc_flag_unknown_warning_option=no
   7968 fi
   7969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7970 fi
   7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7974 	CFLAGS="$xorg_testset_save_CFLAGS"
   7975 fi
   7976 
   7977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7980 	fi
   7981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7985   $as_echo_n "(cached) " >&6
   7986 else
   7987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7988 /* end confdefs.h.  */
   7989 int i;
   7990 _ACEOF
   7991 if ac_fn_c_try_compile "$LINENO"; then :
   7992   xorg_cv_cc_flag_unused_command_line_argument=yes
   7993 else
   7994   xorg_cv_cc_flag_unused_command_line_argument=no
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7997 fi
   7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8001 	CFLAGS="$xorg_testset_save_CFLAGS"
   8002 fi
   8003 
   8004 found="no"
   8005 
   8006 	if test $found = "no" ; then
   8007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8009 		fi
   8010 
   8011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8013 		fi
   8014 
   8015 		CFLAGS="$CFLAGS -Werror=write-strings"
   8016 
   8017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8018 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8019 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8020 		if eval \${$cacheid+:} false; then :
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8024 /* end confdefs.h.  */
   8025 int i;
   8026 int
   8027 main ()
   8028 {
   8029 
   8030   ;
   8031   return 0;
   8032 }
   8033 _ACEOF
   8034 if ac_fn_c_try_link "$LINENO"; then :
   8035   eval $cacheid=yes
   8036 else
   8037   eval $cacheid=no
   8038 fi
   8039 rm -f core conftest.err conftest.$ac_objext \
   8040     conftest$ac_exeext conftest.$ac_ext
   8041 fi
   8042 
   8043 
   8044 		CFLAGS="$xorg_testset_save_CFLAGS"
   8045 
   8046 		eval supported=\$$cacheid
   8047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8048 $as_echo "$supported" >&6; }
   8049 		if test "$supported" = "yes" ; then
   8050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8051 			found="yes"
   8052 		fi
   8053 	fi
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 xorg_testset_save_CFLAGS="$CFLAGS"
   8070 
   8071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8076   $as_echo_n "(cached) " >&6
   8077 else
   8078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8079 /* end confdefs.h.  */
   8080 int i;
   8081 _ACEOF
   8082 if ac_fn_c_try_compile "$LINENO"; then :
   8083   xorg_cv_cc_flag_unknown_warning_option=yes
   8084 else
   8085   xorg_cv_cc_flag_unknown_warning_option=no
   8086 fi
   8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8088 fi
   8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8092 	CFLAGS="$xorg_testset_save_CFLAGS"
   8093 fi
   8094 
   8095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8098 	fi
   8099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8103   $as_echo_n "(cached) " >&6
   8104 else
   8105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8106 /* end confdefs.h.  */
   8107 int i;
   8108 _ACEOF
   8109 if ac_fn_c_try_compile "$LINENO"; then :
   8110   xorg_cv_cc_flag_unused_command_line_argument=yes
   8111 else
   8112   xorg_cv_cc_flag_unused_command_line_argument=no
   8113 fi
   8114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8115 fi
   8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8119 	CFLAGS="$xorg_testset_save_CFLAGS"
   8120 fi
   8121 
   8122 found="no"
   8123 
   8124 	if test $found = "no" ; then
   8125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8127 		fi
   8128 
   8129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8131 		fi
   8132 
   8133 		CFLAGS="$CFLAGS -Werror=address"
   8134 
   8135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8136 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8137 		cacheid=xorg_cv_cc_flag__Werror_address
   8138 		if eval \${$cacheid+:} false; then :
   8139   $as_echo_n "(cached) " >&6
   8140 else
   8141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8142 /* end confdefs.h.  */
   8143 int i;
   8144 int
   8145 main ()
   8146 {
   8147 
   8148   ;
   8149   return 0;
   8150 }
   8151 _ACEOF
   8152 if ac_fn_c_try_link "$LINENO"; then :
   8153   eval $cacheid=yes
   8154 else
   8155   eval $cacheid=no
   8156 fi
   8157 rm -f core conftest.err conftest.$ac_objext \
   8158     conftest$ac_exeext conftest.$ac_ext
   8159 fi
   8160 
   8161 
   8162 		CFLAGS="$xorg_testset_save_CFLAGS"
   8163 
   8164 		eval supported=\$$cacheid
   8165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8166 $as_echo "$supported" >&6; }
   8167 		if test "$supported" = "yes" ; then
   8168 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8169 			found="yes"
   8170 		fi
   8171 	fi
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 xorg_testset_save_CFLAGS="$CFLAGS"
   8188 
   8189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8194   $as_echo_n "(cached) " >&6
   8195 else
   8196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8197 /* end confdefs.h.  */
   8198 int i;
   8199 _ACEOF
   8200 if ac_fn_c_try_compile "$LINENO"; then :
   8201   xorg_cv_cc_flag_unknown_warning_option=yes
   8202 else
   8203   xorg_cv_cc_flag_unknown_warning_option=no
   8204 fi
   8205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8206 fi
   8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8210 	CFLAGS="$xorg_testset_save_CFLAGS"
   8211 fi
   8212 
   8213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8216 	fi
   8217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8221   $as_echo_n "(cached) " >&6
   8222 else
   8223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8224 /* end confdefs.h.  */
   8225 int i;
   8226 _ACEOF
   8227 if ac_fn_c_try_compile "$LINENO"; then :
   8228   xorg_cv_cc_flag_unused_command_line_argument=yes
   8229 else
   8230   xorg_cv_cc_flag_unused_command_line_argument=no
   8231 fi
   8232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8233 fi
   8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8237 	CFLAGS="$xorg_testset_save_CFLAGS"
   8238 fi
   8239 
   8240 found="no"
   8241 
   8242 	if test $found = "no" ; then
   8243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8245 		fi
   8246 
   8247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8249 		fi
   8250 
   8251 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8252 
   8253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8254 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8255 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8256 		if eval \${$cacheid+:} false; then :
   8257   $as_echo_n "(cached) " >&6
   8258 else
   8259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8260 /* end confdefs.h.  */
   8261 int i;
   8262 int
   8263 main ()
   8264 {
   8265 
   8266   ;
   8267   return 0;
   8268 }
   8269 _ACEOF
   8270 if ac_fn_c_try_link "$LINENO"; then :
   8271   eval $cacheid=yes
   8272 else
   8273   eval $cacheid=no
   8274 fi
   8275 rm -f core conftest.err conftest.$ac_objext \
   8276     conftest$ac_exeext conftest.$ac_ext
   8277 fi
   8278 
   8279 
   8280 		CFLAGS="$xorg_testset_save_CFLAGS"
   8281 
   8282 		eval supported=\$$cacheid
   8283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8284 $as_echo "$supported" >&6; }
   8285 		if test "$supported" = "yes" ; then
   8286 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8287 			found="yes"
   8288 		fi
   8289 	fi
   8290 
   8291 	if test $found = "no" ; then
   8292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 		fi
   8295 
   8296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8298 		fi
   8299 
   8300 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8301 
   8302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8303 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8304 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8305 		if eval \${$cacheid+:} false; then :
   8306   $as_echo_n "(cached) " >&6
   8307 else
   8308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 int
   8312 main ()
   8313 {
   8314 
   8315   ;
   8316   return 0;
   8317 }
   8318 _ACEOF
   8319 if ac_fn_c_try_link "$LINENO"; then :
   8320   eval $cacheid=yes
   8321 else
   8322   eval $cacheid=no
   8323 fi
   8324 rm -f core conftest.err conftest.$ac_objext \
   8325     conftest$ac_exeext conftest.$ac_ext
   8326 fi
   8327 
   8328 
   8329 		CFLAGS="$xorg_testset_save_CFLAGS"
   8330 
   8331 		eval supported=\$$cacheid
   8332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8333 $as_echo "$supported" >&6; }
   8334 		if test "$supported" = "yes" ; then
   8335 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8336 			found="yes"
   8337 		fi
   8338 	fi
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 xorg_testset_save_CFLAGS="$CFLAGS"
   8355 
   8356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8359 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8360 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8361   $as_echo_n "(cached) " >&6
   8362 else
   8363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8364 /* end confdefs.h.  */
   8365 int i;
   8366 _ACEOF
   8367 if ac_fn_c_try_compile "$LINENO"; then :
   8368   xorg_cv_cc_flag_unknown_warning_option=yes
   8369 else
   8370   xorg_cv_cc_flag_unknown_warning_option=no
   8371 fi
   8372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8373 fi
   8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8375 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8377 	CFLAGS="$xorg_testset_save_CFLAGS"
   8378 fi
   8379 
   8380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8383 	fi
   8384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8386 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8387 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8391 /* end confdefs.h.  */
   8392 int i;
   8393 _ACEOF
   8394 if ac_fn_c_try_compile "$LINENO"; then :
   8395   xorg_cv_cc_flag_unused_command_line_argument=yes
   8396 else
   8397   xorg_cv_cc_flag_unused_command_line_argument=no
   8398 fi
   8399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8400 fi
   8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8402 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8404 	CFLAGS="$xorg_testset_save_CFLAGS"
   8405 fi
   8406 
   8407 found="no"
   8408 
   8409 	if test $found = "no" ; then
   8410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 		fi
   8413 
   8414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8416 		fi
   8417 
   8418 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8419 
   8420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8421 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8422 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8423 		if eval \${$cacheid+:} false; then :
   8424   $as_echo_n "(cached) " >&6
   8425 else
   8426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 int
   8430 main ()
   8431 {
   8432 
   8433   ;
   8434   return 0;
   8435 }
   8436 _ACEOF
   8437 if ac_fn_c_try_link "$LINENO"; then :
   8438   eval $cacheid=yes
   8439 else
   8440   eval $cacheid=no
   8441 fi
   8442 rm -f core conftest.err conftest.$ac_objext \
   8443     conftest$ac_exeext conftest.$ac_ext
   8444 fi
   8445 
   8446 
   8447 		CFLAGS="$xorg_testset_save_CFLAGS"
   8448 
   8449 		eval supported=\$$cacheid
   8450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8451 $as_echo "$supported" >&6; }
   8452 		if test "$supported" = "yes" ; then
   8453 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8454 			found="yes"
   8455 		fi
   8456 	fi
   8457 
   8458  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8459 else
   8460 { $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
   8461 $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;}
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 xorg_testset_save_CFLAGS="$CFLAGS"
   8476 
   8477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8482   $as_echo_n "(cached) " >&6
   8483 else
   8484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8485 /* end confdefs.h.  */
   8486 int i;
   8487 _ACEOF
   8488 if ac_fn_c_try_compile "$LINENO"; then :
   8489   xorg_cv_cc_flag_unknown_warning_option=yes
   8490 else
   8491   xorg_cv_cc_flag_unknown_warning_option=no
   8492 fi
   8493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8494 fi
   8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8498 	CFLAGS="$xorg_testset_save_CFLAGS"
   8499 fi
   8500 
   8501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 	fi
   8505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8509   $as_echo_n "(cached) " >&6
   8510 else
   8511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 _ACEOF
   8515 if ac_fn_c_try_compile "$LINENO"; then :
   8516   xorg_cv_cc_flag_unused_command_line_argument=yes
   8517 else
   8518   xorg_cv_cc_flag_unused_command_line_argument=no
   8519 fi
   8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8521 fi
   8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8525 	CFLAGS="$xorg_testset_save_CFLAGS"
   8526 fi
   8527 
   8528 found="no"
   8529 
   8530 	if test $found = "no" ; then
   8531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 		fi
   8534 
   8535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8537 		fi
   8538 
   8539 		CFLAGS="$CFLAGS -Wimplicit"
   8540 
   8541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8542 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8543 		cacheid=xorg_cv_cc_flag__Wimplicit
   8544 		if eval \${$cacheid+:} false; then :
   8545   $as_echo_n "(cached) " >&6
   8546 else
   8547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8548 /* end confdefs.h.  */
   8549 int i;
   8550 int
   8551 main ()
   8552 {
   8553 
   8554   ;
   8555   return 0;
   8556 }
   8557 _ACEOF
   8558 if ac_fn_c_try_link "$LINENO"; then :
   8559   eval $cacheid=yes
   8560 else
   8561   eval $cacheid=no
   8562 fi
   8563 rm -f core conftest.err conftest.$ac_objext \
   8564     conftest$ac_exeext conftest.$ac_ext
   8565 fi
   8566 
   8567 
   8568 		CFLAGS="$xorg_testset_save_CFLAGS"
   8569 
   8570 		eval supported=\$$cacheid
   8571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8572 $as_echo "$supported" >&6; }
   8573 		if test "$supported" = "yes" ; then
   8574 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8575 			found="yes"
   8576 		fi
   8577 	fi
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 xorg_testset_save_CFLAGS="$CFLAGS"
   8594 
   8595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8600   $as_echo_n "(cached) " >&6
   8601 else
   8602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8603 /* end confdefs.h.  */
   8604 int i;
   8605 _ACEOF
   8606 if ac_fn_c_try_compile "$LINENO"; then :
   8607   xorg_cv_cc_flag_unknown_warning_option=yes
   8608 else
   8609   xorg_cv_cc_flag_unknown_warning_option=no
   8610 fi
   8611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8612 fi
   8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8616 	CFLAGS="$xorg_testset_save_CFLAGS"
   8617 fi
   8618 
   8619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8622 	fi
   8623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8627   $as_echo_n "(cached) " >&6
   8628 else
   8629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8630 /* end confdefs.h.  */
   8631 int i;
   8632 _ACEOF
   8633 if ac_fn_c_try_compile "$LINENO"; then :
   8634   xorg_cv_cc_flag_unused_command_line_argument=yes
   8635 else
   8636   xorg_cv_cc_flag_unused_command_line_argument=no
   8637 fi
   8638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8639 fi
   8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8643 	CFLAGS="$xorg_testset_save_CFLAGS"
   8644 fi
   8645 
   8646 found="no"
   8647 
   8648 	if test $found = "no" ; then
   8649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8651 		fi
   8652 
   8653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8655 		fi
   8656 
   8657 		CFLAGS="$CFLAGS -Wnonnull"
   8658 
   8659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8660 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8661 		cacheid=xorg_cv_cc_flag__Wnonnull
   8662 		if eval \${$cacheid+:} false; then :
   8663   $as_echo_n "(cached) " >&6
   8664 else
   8665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8666 /* end confdefs.h.  */
   8667 int i;
   8668 int
   8669 main ()
   8670 {
   8671 
   8672   ;
   8673   return 0;
   8674 }
   8675 _ACEOF
   8676 if ac_fn_c_try_link "$LINENO"; then :
   8677   eval $cacheid=yes
   8678 else
   8679   eval $cacheid=no
   8680 fi
   8681 rm -f core conftest.err conftest.$ac_objext \
   8682     conftest$ac_exeext conftest.$ac_ext
   8683 fi
   8684 
   8685 
   8686 		CFLAGS="$xorg_testset_save_CFLAGS"
   8687 
   8688 		eval supported=\$$cacheid
   8689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8690 $as_echo "$supported" >&6; }
   8691 		if test "$supported" = "yes" ; then
   8692 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8693 			found="yes"
   8694 		fi
   8695 	fi
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 xorg_testset_save_CFLAGS="$CFLAGS"
   8712 
   8713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8718   $as_echo_n "(cached) " >&6
   8719 else
   8720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8721 /* end confdefs.h.  */
   8722 int i;
   8723 _ACEOF
   8724 if ac_fn_c_try_compile "$LINENO"; then :
   8725   xorg_cv_cc_flag_unknown_warning_option=yes
   8726 else
   8727   xorg_cv_cc_flag_unknown_warning_option=no
   8728 fi
   8729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8730 fi
   8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8734 	CFLAGS="$xorg_testset_save_CFLAGS"
   8735 fi
   8736 
   8737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8740 	fi
   8741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8745   $as_echo_n "(cached) " >&6
   8746 else
   8747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8748 /* end confdefs.h.  */
   8749 int i;
   8750 _ACEOF
   8751 if ac_fn_c_try_compile "$LINENO"; then :
   8752   xorg_cv_cc_flag_unused_command_line_argument=yes
   8753 else
   8754   xorg_cv_cc_flag_unused_command_line_argument=no
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8757 fi
   8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8761 	CFLAGS="$xorg_testset_save_CFLAGS"
   8762 fi
   8763 
   8764 found="no"
   8765 
   8766 	if test $found = "no" ; then
   8767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8769 		fi
   8770 
   8771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8773 		fi
   8774 
   8775 		CFLAGS="$CFLAGS -Winit-self"
   8776 
   8777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8778 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8779 		cacheid=xorg_cv_cc_flag__Winit_self
   8780 		if eval \${$cacheid+:} false; then :
   8781   $as_echo_n "(cached) " >&6
   8782 else
   8783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8784 /* end confdefs.h.  */
   8785 int i;
   8786 int
   8787 main ()
   8788 {
   8789 
   8790   ;
   8791   return 0;
   8792 }
   8793 _ACEOF
   8794 if ac_fn_c_try_link "$LINENO"; then :
   8795   eval $cacheid=yes
   8796 else
   8797   eval $cacheid=no
   8798 fi
   8799 rm -f core conftest.err conftest.$ac_objext \
   8800     conftest$ac_exeext conftest.$ac_ext
   8801 fi
   8802 
   8803 
   8804 		CFLAGS="$xorg_testset_save_CFLAGS"
   8805 
   8806 		eval supported=\$$cacheid
   8807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8808 $as_echo "$supported" >&6; }
   8809 		if test "$supported" = "yes" ; then
   8810 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8811 			found="yes"
   8812 		fi
   8813 	fi
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 xorg_testset_save_CFLAGS="$CFLAGS"
   8830 
   8831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8836   $as_echo_n "(cached) " >&6
   8837 else
   8838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8839 /* end confdefs.h.  */
   8840 int i;
   8841 _ACEOF
   8842 if ac_fn_c_try_compile "$LINENO"; then :
   8843   xorg_cv_cc_flag_unknown_warning_option=yes
   8844 else
   8845   xorg_cv_cc_flag_unknown_warning_option=no
   8846 fi
   8847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8848 fi
   8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8852 	CFLAGS="$xorg_testset_save_CFLAGS"
   8853 fi
   8854 
   8855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8858 	fi
   8859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8863   $as_echo_n "(cached) " >&6
   8864 else
   8865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8866 /* end confdefs.h.  */
   8867 int i;
   8868 _ACEOF
   8869 if ac_fn_c_try_compile "$LINENO"; then :
   8870   xorg_cv_cc_flag_unused_command_line_argument=yes
   8871 else
   8872   xorg_cv_cc_flag_unused_command_line_argument=no
   8873 fi
   8874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8875 fi
   8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8879 	CFLAGS="$xorg_testset_save_CFLAGS"
   8880 fi
   8881 
   8882 found="no"
   8883 
   8884 	if test $found = "no" ; then
   8885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8887 		fi
   8888 
   8889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8891 		fi
   8892 
   8893 		CFLAGS="$CFLAGS -Wmain"
   8894 
   8895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8896 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8897 		cacheid=xorg_cv_cc_flag__Wmain
   8898 		if eval \${$cacheid+:} false; then :
   8899   $as_echo_n "(cached) " >&6
   8900 else
   8901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 int
   8905 main ()
   8906 {
   8907 
   8908   ;
   8909   return 0;
   8910 }
   8911 _ACEOF
   8912 if ac_fn_c_try_link "$LINENO"; then :
   8913   eval $cacheid=yes
   8914 else
   8915   eval $cacheid=no
   8916 fi
   8917 rm -f core conftest.err conftest.$ac_objext \
   8918     conftest$ac_exeext conftest.$ac_ext
   8919 fi
   8920 
   8921 
   8922 		CFLAGS="$xorg_testset_save_CFLAGS"
   8923 
   8924 		eval supported=\$$cacheid
   8925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8926 $as_echo "$supported" >&6; }
   8927 		if test "$supported" = "yes" ; then
   8928 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8929 			found="yes"
   8930 		fi
   8931 	fi
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 xorg_testset_save_CFLAGS="$CFLAGS"
   8948 
   8949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 int i;
   8959 _ACEOF
   8960 if ac_fn_c_try_compile "$LINENO"; then :
   8961   xorg_cv_cc_flag_unknown_warning_option=yes
   8962 else
   8963   xorg_cv_cc_flag_unknown_warning_option=no
   8964 fi
   8965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8966 fi
   8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8970 	CFLAGS="$xorg_testset_save_CFLAGS"
   8971 fi
   8972 
   8973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8976 	fi
   8977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 int i;
   8986 _ACEOF
   8987 if ac_fn_c_try_compile "$LINENO"; then :
   8988   xorg_cv_cc_flag_unused_command_line_argument=yes
   8989 else
   8990   xorg_cv_cc_flag_unused_command_line_argument=no
   8991 fi
   8992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8993 fi
   8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8997 	CFLAGS="$xorg_testset_save_CFLAGS"
   8998 fi
   8999 
   9000 found="no"
   9001 
   9002 	if test $found = "no" ; then
   9003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9005 		fi
   9006 
   9007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9009 		fi
   9010 
   9011 		CFLAGS="$CFLAGS -Wmissing-braces"
   9012 
   9013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9014 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9015 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9016 		if eval \${$cacheid+:} false; then :
   9017   $as_echo_n "(cached) " >&6
   9018 else
   9019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9020 /* end confdefs.h.  */
   9021 int i;
   9022 int
   9023 main ()
   9024 {
   9025 
   9026   ;
   9027   return 0;
   9028 }
   9029 _ACEOF
   9030 if ac_fn_c_try_link "$LINENO"; then :
   9031   eval $cacheid=yes
   9032 else
   9033   eval $cacheid=no
   9034 fi
   9035 rm -f core conftest.err conftest.$ac_objext \
   9036     conftest$ac_exeext conftest.$ac_ext
   9037 fi
   9038 
   9039 
   9040 		CFLAGS="$xorg_testset_save_CFLAGS"
   9041 
   9042 		eval supported=\$$cacheid
   9043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9044 $as_echo "$supported" >&6; }
   9045 		if test "$supported" = "yes" ; then
   9046 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9047 			found="yes"
   9048 		fi
   9049 	fi
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 xorg_testset_save_CFLAGS="$CFLAGS"
   9066 
   9067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9072   $as_echo_n "(cached) " >&6
   9073 else
   9074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9075 /* end confdefs.h.  */
   9076 int i;
   9077 _ACEOF
   9078 if ac_fn_c_try_compile "$LINENO"; then :
   9079   xorg_cv_cc_flag_unknown_warning_option=yes
   9080 else
   9081   xorg_cv_cc_flag_unknown_warning_option=no
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9084 fi
   9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9088 	CFLAGS="$xorg_testset_save_CFLAGS"
   9089 fi
   9090 
   9091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9094 	fi
   9095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9099   $as_echo_n "(cached) " >&6
   9100 else
   9101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9102 /* end confdefs.h.  */
   9103 int i;
   9104 _ACEOF
   9105 if ac_fn_c_try_compile "$LINENO"; then :
   9106   xorg_cv_cc_flag_unused_command_line_argument=yes
   9107 else
   9108   xorg_cv_cc_flag_unused_command_line_argument=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9111 fi
   9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9115 	CFLAGS="$xorg_testset_save_CFLAGS"
   9116 fi
   9117 
   9118 found="no"
   9119 
   9120 	if test $found = "no" ; then
   9121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 		fi
   9124 
   9125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9127 		fi
   9128 
   9129 		CFLAGS="$CFLAGS -Wsequence-point"
   9130 
   9131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9132 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9133 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9134 		if eval \${$cacheid+:} false; then :
   9135   $as_echo_n "(cached) " >&6
   9136 else
   9137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9138 /* end confdefs.h.  */
   9139 int i;
   9140 int
   9141 main ()
   9142 {
   9143 
   9144   ;
   9145   return 0;
   9146 }
   9147 _ACEOF
   9148 if ac_fn_c_try_link "$LINENO"; then :
   9149   eval $cacheid=yes
   9150 else
   9151   eval $cacheid=no
   9152 fi
   9153 rm -f core conftest.err conftest.$ac_objext \
   9154     conftest$ac_exeext conftest.$ac_ext
   9155 fi
   9156 
   9157 
   9158 		CFLAGS="$xorg_testset_save_CFLAGS"
   9159 
   9160 		eval supported=\$$cacheid
   9161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9162 $as_echo "$supported" >&6; }
   9163 		if test "$supported" = "yes" ; then
   9164 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9165 			found="yes"
   9166 		fi
   9167 	fi
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 xorg_testset_save_CFLAGS="$CFLAGS"
   9184 
   9185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9190   $as_echo_n "(cached) " >&6
   9191 else
   9192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9193 /* end confdefs.h.  */
   9194 int i;
   9195 _ACEOF
   9196 if ac_fn_c_try_compile "$LINENO"; then :
   9197   xorg_cv_cc_flag_unknown_warning_option=yes
   9198 else
   9199   xorg_cv_cc_flag_unknown_warning_option=no
   9200 fi
   9201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9202 fi
   9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9206 	CFLAGS="$xorg_testset_save_CFLAGS"
   9207 fi
   9208 
   9209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9212 	fi
   9213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9217   $as_echo_n "(cached) " >&6
   9218 else
   9219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int i;
   9222 _ACEOF
   9223 if ac_fn_c_try_compile "$LINENO"; then :
   9224   xorg_cv_cc_flag_unused_command_line_argument=yes
   9225 else
   9226   xorg_cv_cc_flag_unused_command_line_argument=no
   9227 fi
   9228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9229 fi
   9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9233 	CFLAGS="$xorg_testset_save_CFLAGS"
   9234 fi
   9235 
   9236 found="no"
   9237 
   9238 	if test $found = "no" ; then
   9239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9241 		fi
   9242 
   9243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9245 		fi
   9246 
   9247 		CFLAGS="$CFLAGS -Wreturn-type"
   9248 
   9249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9250 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9251 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9252 		if eval \${$cacheid+:} false; then :
   9253   $as_echo_n "(cached) " >&6
   9254 else
   9255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9256 /* end confdefs.h.  */
   9257 int i;
   9258 int
   9259 main ()
   9260 {
   9261 
   9262   ;
   9263   return 0;
   9264 }
   9265 _ACEOF
   9266 if ac_fn_c_try_link "$LINENO"; then :
   9267   eval $cacheid=yes
   9268 else
   9269   eval $cacheid=no
   9270 fi
   9271 rm -f core conftest.err conftest.$ac_objext \
   9272     conftest$ac_exeext conftest.$ac_ext
   9273 fi
   9274 
   9275 
   9276 		CFLAGS="$xorg_testset_save_CFLAGS"
   9277 
   9278 		eval supported=\$$cacheid
   9279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9280 $as_echo "$supported" >&6; }
   9281 		if test "$supported" = "yes" ; then
   9282 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9283 			found="yes"
   9284 		fi
   9285 	fi
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 xorg_testset_save_CFLAGS="$CFLAGS"
   9302 
   9303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9308   $as_echo_n "(cached) " >&6
   9309 else
   9310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9311 /* end confdefs.h.  */
   9312 int i;
   9313 _ACEOF
   9314 if ac_fn_c_try_compile "$LINENO"; then :
   9315   xorg_cv_cc_flag_unknown_warning_option=yes
   9316 else
   9317   xorg_cv_cc_flag_unknown_warning_option=no
   9318 fi
   9319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9320 fi
   9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9324 	CFLAGS="$xorg_testset_save_CFLAGS"
   9325 fi
   9326 
   9327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9330 	fi
   9331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9335   $as_echo_n "(cached) " >&6
   9336 else
   9337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9338 /* end confdefs.h.  */
   9339 int i;
   9340 _ACEOF
   9341 if ac_fn_c_try_compile "$LINENO"; then :
   9342   xorg_cv_cc_flag_unused_command_line_argument=yes
   9343 else
   9344   xorg_cv_cc_flag_unused_command_line_argument=no
   9345 fi
   9346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9347 fi
   9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9351 	CFLAGS="$xorg_testset_save_CFLAGS"
   9352 fi
   9353 
   9354 found="no"
   9355 
   9356 	if test $found = "no" ; then
   9357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9359 		fi
   9360 
   9361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9363 		fi
   9364 
   9365 		CFLAGS="$CFLAGS -Wtrigraphs"
   9366 
   9367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9368 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9369 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9370 		if eval \${$cacheid+:} false; then :
   9371   $as_echo_n "(cached) " >&6
   9372 else
   9373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9374 /* end confdefs.h.  */
   9375 int i;
   9376 int
   9377 main ()
   9378 {
   9379 
   9380   ;
   9381   return 0;
   9382 }
   9383 _ACEOF
   9384 if ac_fn_c_try_link "$LINENO"; then :
   9385   eval $cacheid=yes
   9386 else
   9387   eval $cacheid=no
   9388 fi
   9389 rm -f core conftest.err conftest.$ac_objext \
   9390     conftest$ac_exeext conftest.$ac_ext
   9391 fi
   9392 
   9393 
   9394 		CFLAGS="$xorg_testset_save_CFLAGS"
   9395 
   9396 		eval supported=\$$cacheid
   9397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9398 $as_echo "$supported" >&6; }
   9399 		if test "$supported" = "yes" ; then
   9400 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9401 			found="yes"
   9402 		fi
   9403 	fi
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 xorg_testset_save_CFLAGS="$CFLAGS"
   9420 
   9421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9426   $as_echo_n "(cached) " >&6
   9427 else
   9428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9429 /* end confdefs.h.  */
   9430 int i;
   9431 _ACEOF
   9432 if ac_fn_c_try_compile "$LINENO"; then :
   9433   xorg_cv_cc_flag_unknown_warning_option=yes
   9434 else
   9435   xorg_cv_cc_flag_unknown_warning_option=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9438 fi
   9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9442 	CFLAGS="$xorg_testset_save_CFLAGS"
   9443 fi
   9444 
   9445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9448 	fi
   9449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9453   $as_echo_n "(cached) " >&6
   9454 else
   9455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9456 /* end confdefs.h.  */
   9457 int i;
   9458 _ACEOF
   9459 if ac_fn_c_try_compile "$LINENO"; then :
   9460   xorg_cv_cc_flag_unused_command_line_argument=yes
   9461 else
   9462   xorg_cv_cc_flag_unused_command_line_argument=no
   9463 fi
   9464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9465 fi
   9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9469 	CFLAGS="$xorg_testset_save_CFLAGS"
   9470 fi
   9471 
   9472 found="no"
   9473 
   9474 	if test $found = "no" ; then
   9475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9477 		fi
   9478 
   9479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9481 		fi
   9482 
   9483 		CFLAGS="$CFLAGS -Warray-bounds"
   9484 
   9485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9486 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9487 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9488 		if eval \${$cacheid+:} false; then :
   9489   $as_echo_n "(cached) " >&6
   9490 else
   9491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9492 /* end confdefs.h.  */
   9493 int i;
   9494 int
   9495 main ()
   9496 {
   9497 
   9498   ;
   9499   return 0;
   9500 }
   9501 _ACEOF
   9502 if ac_fn_c_try_link "$LINENO"; then :
   9503   eval $cacheid=yes
   9504 else
   9505   eval $cacheid=no
   9506 fi
   9507 rm -f core conftest.err conftest.$ac_objext \
   9508     conftest$ac_exeext conftest.$ac_ext
   9509 fi
   9510 
   9511 
   9512 		CFLAGS="$xorg_testset_save_CFLAGS"
   9513 
   9514 		eval supported=\$$cacheid
   9515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9516 $as_echo "$supported" >&6; }
   9517 		if test "$supported" = "yes" ; then
   9518 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9519 			found="yes"
   9520 		fi
   9521 	fi
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 xorg_testset_save_CFLAGS="$CFLAGS"
   9538 
   9539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9542 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9543 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9544   $as_echo_n "(cached) " >&6
   9545 else
   9546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9547 /* end confdefs.h.  */
   9548 int i;
   9549 _ACEOF
   9550 if ac_fn_c_try_compile "$LINENO"; then :
   9551   xorg_cv_cc_flag_unknown_warning_option=yes
   9552 else
   9553   xorg_cv_cc_flag_unknown_warning_option=no
   9554 fi
   9555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9556 fi
   9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9558 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9560 	CFLAGS="$xorg_testset_save_CFLAGS"
   9561 fi
   9562 
   9563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9566 	fi
   9567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9569 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9570 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9571   $as_echo_n "(cached) " >&6
   9572 else
   9573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9574 /* end confdefs.h.  */
   9575 int i;
   9576 _ACEOF
   9577 if ac_fn_c_try_compile "$LINENO"; then :
   9578   xorg_cv_cc_flag_unused_command_line_argument=yes
   9579 else
   9580   xorg_cv_cc_flag_unused_command_line_argument=no
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9583 fi
   9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9585 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9587 	CFLAGS="$xorg_testset_save_CFLAGS"
   9588 fi
   9589 
   9590 found="no"
   9591 
   9592 	if test $found = "no" ; then
   9593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 		fi
   9596 
   9597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9599 		fi
   9600 
   9601 		CFLAGS="$CFLAGS -Wwrite-strings"
   9602 
   9603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9604 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9605 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9606 		if eval \${$cacheid+:} false; then :
   9607   $as_echo_n "(cached) " >&6
   9608 else
   9609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9610 /* end confdefs.h.  */
   9611 int i;
   9612 int
   9613 main ()
   9614 {
   9615 
   9616   ;
   9617   return 0;
   9618 }
   9619 _ACEOF
   9620 if ac_fn_c_try_link "$LINENO"; then :
   9621   eval $cacheid=yes
   9622 else
   9623   eval $cacheid=no
   9624 fi
   9625 rm -f core conftest.err conftest.$ac_objext \
   9626     conftest$ac_exeext conftest.$ac_ext
   9627 fi
   9628 
   9629 
   9630 		CFLAGS="$xorg_testset_save_CFLAGS"
   9631 
   9632 		eval supported=\$$cacheid
   9633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9634 $as_echo "$supported" >&6; }
   9635 		if test "$supported" = "yes" ; then
   9636 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9637 			found="yes"
   9638 		fi
   9639 	fi
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 xorg_testset_save_CFLAGS="$CFLAGS"
   9656 
   9657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9660 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9661 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9662   $as_echo_n "(cached) " >&6
   9663 else
   9664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9665 /* end confdefs.h.  */
   9666 int i;
   9667 _ACEOF
   9668 if ac_fn_c_try_compile "$LINENO"; then :
   9669   xorg_cv_cc_flag_unknown_warning_option=yes
   9670 else
   9671   xorg_cv_cc_flag_unknown_warning_option=no
   9672 fi
   9673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9674 fi
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9676 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9678 	CFLAGS="$xorg_testset_save_CFLAGS"
   9679 fi
   9680 
   9681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9684 	fi
   9685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9687 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9688 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9689   $as_echo_n "(cached) " >&6
   9690 else
   9691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9692 /* end confdefs.h.  */
   9693 int i;
   9694 _ACEOF
   9695 if ac_fn_c_try_compile "$LINENO"; then :
   9696   xorg_cv_cc_flag_unused_command_line_argument=yes
   9697 else
   9698   xorg_cv_cc_flag_unused_command_line_argument=no
   9699 fi
   9700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9701 fi
   9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9703 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9705 	CFLAGS="$xorg_testset_save_CFLAGS"
   9706 fi
   9707 
   9708 found="no"
   9709 
   9710 	if test $found = "no" ; then
   9711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 		fi
   9714 
   9715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9717 		fi
   9718 
   9719 		CFLAGS="$CFLAGS -Waddress"
   9720 
   9721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9722 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9723 		cacheid=xorg_cv_cc_flag__Waddress
   9724 		if eval \${$cacheid+:} false; then :
   9725   $as_echo_n "(cached) " >&6
   9726 else
   9727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9728 /* end confdefs.h.  */
   9729 int i;
   9730 int
   9731 main ()
   9732 {
   9733 
   9734   ;
   9735   return 0;
   9736 }
   9737 _ACEOF
   9738 if ac_fn_c_try_link "$LINENO"; then :
   9739   eval $cacheid=yes
   9740 else
   9741   eval $cacheid=no
   9742 fi
   9743 rm -f core conftest.err conftest.$ac_objext \
   9744     conftest$ac_exeext conftest.$ac_ext
   9745 fi
   9746 
   9747 
   9748 		CFLAGS="$xorg_testset_save_CFLAGS"
   9749 
   9750 		eval supported=\$$cacheid
   9751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9752 $as_echo "$supported" >&6; }
   9753 		if test "$supported" = "yes" ; then
   9754 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9755 			found="yes"
   9756 		fi
   9757 	fi
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 xorg_testset_save_CFLAGS="$CFLAGS"
   9774 
   9775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 _ACEOF
   9786 if ac_fn_c_try_compile "$LINENO"; then :
   9787   xorg_cv_cc_flag_unknown_warning_option=yes
   9788 else
   9789   xorg_cv_cc_flag_unknown_warning_option=no
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9792 fi
   9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9796 	CFLAGS="$xorg_testset_save_CFLAGS"
   9797 fi
   9798 
   9799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9802 	fi
   9803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9807   $as_echo_n "(cached) " >&6
   9808 else
   9809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9810 /* end confdefs.h.  */
   9811 int i;
   9812 _ACEOF
   9813 if ac_fn_c_try_compile "$LINENO"; then :
   9814   xorg_cv_cc_flag_unused_command_line_argument=yes
   9815 else
   9816   xorg_cv_cc_flag_unused_command_line_argument=no
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9819 fi
   9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9823 	CFLAGS="$xorg_testset_save_CFLAGS"
   9824 fi
   9825 
   9826 found="no"
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9838 
   9839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9840 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9841 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9842 		if eval \${$cacheid+:} false; then :
   9843   $as_echo_n "(cached) " >&6
   9844 else
   9845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9846 /* end confdefs.h.  */
   9847 int i;
   9848 int
   9849 main ()
   9850 {
   9851 
   9852   ;
   9853   return 0;
   9854 }
   9855 _ACEOF
   9856 if ac_fn_c_try_link "$LINENO"; then :
   9857   eval $cacheid=yes
   9858 else
   9859   eval $cacheid=no
   9860 fi
   9861 rm -f core conftest.err conftest.$ac_objext \
   9862     conftest$ac_exeext conftest.$ac_ext
   9863 fi
   9864 
   9865 
   9866 		CFLAGS="$xorg_testset_save_CFLAGS"
   9867 
   9868 		eval supported=\$$cacheid
   9869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9870 $as_echo "$supported" >&6; }
   9871 		if test "$supported" = "yes" ; then
   9872 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9873 			found="yes"
   9874 		fi
   9875 	fi
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 xorg_testset_save_CFLAGS="$CFLAGS"
   9892 
   9893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9898   $as_echo_n "(cached) " >&6
   9899 else
   9900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9901 /* end confdefs.h.  */
   9902 int i;
   9903 _ACEOF
   9904 if ac_fn_c_try_compile "$LINENO"; then :
   9905   xorg_cv_cc_flag_unknown_warning_option=yes
   9906 else
   9907   xorg_cv_cc_flag_unknown_warning_option=no
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9910 fi
   9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9914 	CFLAGS="$xorg_testset_save_CFLAGS"
   9915 fi
   9916 
   9917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9920 	fi
   9921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9925   $as_echo_n "(cached) " >&6
   9926 else
   9927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9928 /* end confdefs.h.  */
   9929 int i;
   9930 _ACEOF
   9931 if ac_fn_c_try_compile "$LINENO"; then :
   9932   xorg_cv_cc_flag_unused_command_line_argument=yes
   9933 else
   9934   xorg_cv_cc_flag_unused_command_line_argument=no
   9935 fi
   9936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9937 fi
   9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9941 	CFLAGS="$xorg_testset_save_CFLAGS"
   9942 fi
   9943 
   9944 found="no"
   9945 
   9946 	if test $found = "no" ; then
   9947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9949 		fi
   9950 
   9951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9953 		fi
   9954 
   9955 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9956 
   9957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9958 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9959 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9960 		if eval \${$cacheid+:} false; then :
   9961   $as_echo_n "(cached) " >&6
   9962 else
   9963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9964 /* end confdefs.h.  */
   9965 int i;
   9966 int
   9967 main ()
   9968 {
   9969 
   9970   ;
   9971   return 0;
   9972 }
   9973 _ACEOF
   9974 if ac_fn_c_try_link "$LINENO"; then :
   9975   eval $cacheid=yes
   9976 else
   9977   eval $cacheid=no
   9978 fi
   9979 rm -f core conftest.err conftest.$ac_objext \
   9980     conftest$ac_exeext conftest.$ac_ext
   9981 fi
   9982 
   9983 
   9984 		CFLAGS="$xorg_testset_save_CFLAGS"
   9985 
   9986 		eval supported=\$$cacheid
   9987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9988 $as_echo "$supported" >&6; }
   9989 		if test "$supported" = "yes" ; then
   9990 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9991 			found="yes"
   9992 		fi
   9993 	fi
   9994 
   9995 
   9996 fi
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 		CWARNFLAGS="$BASE_CFLAGS"
   10005 		if  test "x$GCC" = xyes ; then
   10006 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10007 		fi
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 # Check whether --enable-strict-compilation was given.
   10017 if test "${enable_strict_compilation+set}" = set; then :
   10018   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10019 else
   10020   STRICT_COMPILE=no
   10021 fi
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 STRICT_CFLAGS=""
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 xorg_testset_save_CFLAGS="$CFLAGS"
   10043 
   10044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10047 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10048 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10049   $as_echo_n "(cached) " >&6
   10050 else
   10051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10052 /* end confdefs.h.  */
   10053 int i;
   10054 _ACEOF
   10055 if ac_fn_c_try_compile "$LINENO"; then :
   10056   xorg_cv_cc_flag_unknown_warning_option=yes
   10057 else
   10058   xorg_cv_cc_flag_unknown_warning_option=no
   10059 fi
   10060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10061 fi
   10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10063 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10065 	CFLAGS="$xorg_testset_save_CFLAGS"
   10066 fi
   10067 
   10068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10071 	fi
   10072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10074 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10075 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10076   $as_echo_n "(cached) " >&6
   10077 else
   10078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10079 /* end confdefs.h.  */
   10080 int i;
   10081 _ACEOF
   10082 if ac_fn_c_try_compile "$LINENO"; then :
   10083   xorg_cv_cc_flag_unused_command_line_argument=yes
   10084 else
   10085   xorg_cv_cc_flag_unused_command_line_argument=no
   10086 fi
   10087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10088 fi
   10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10090 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10092 	CFLAGS="$xorg_testset_save_CFLAGS"
   10093 fi
   10094 
   10095 found="no"
   10096 
   10097 	if test $found = "no" ; then
   10098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10100 		fi
   10101 
   10102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10104 		fi
   10105 
   10106 		CFLAGS="$CFLAGS -pedantic"
   10107 
   10108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10109 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10110 		cacheid=xorg_cv_cc_flag__pedantic
   10111 		if eval \${$cacheid+:} false; then :
   10112   $as_echo_n "(cached) " >&6
   10113 else
   10114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10115 /* end confdefs.h.  */
   10116 int i;
   10117 int
   10118 main ()
   10119 {
   10120 
   10121   ;
   10122   return 0;
   10123 }
   10124 _ACEOF
   10125 if ac_fn_c_try_link "$LINENO"; then :
   10126   eval $cacheid=yes
   10127 else
   10128   eval $cacheid=no
   10129 fi
   10130 rm -f core conftest.err conftest.$ac_objext \
   10131     conftest$ac_exeext conftest.$ac_ext
   10132 fi
   10133 
   10134 
   10135 		CFLAGS="$xorg_testset_save_CFLAGS"
   10136 
   10137 		eval supported=\$$cacheid
   10138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10139 $as_echo "$supported" >&6; }
   10140 		if test "$supported" = "yes" ; then
   10141 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10142 			found="yes"
   10143 		fi
   10144 	fi
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 xorg_testset_save_CFLAGS="$CFLAGS"
   10161 
   10162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10167   $as_echo_n "(cached) " >&6
   10168 else
   10169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10170 /* end confdefs.h.  */
   10171 int i;
   10172 _ACEOF
   10173 if ac_fn_c_try_compile "$LINENO"; then :
   10174   xorg_cv_cc_flag_unknown_warning_option=yes
   10175 else
   10176   xorg_cv_cc_flag_unknown_warning_option=no
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10179 fi
   10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10183 	CFLAGS="$xorg_testset_save_CFLAGS"
   10184 fi
   10185 
   10186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 	fi
   10190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10194   $as_echo_n "(cached) " >&6
   10195 else
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"; then :
   10201   xorg_cv_cc_flag_unused_command_line_argument=yes
   10202 else
   10203   xorg_cv_cc_flag_unused_command_line_argument=no
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10206 fi
   10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10210 	CFLAGS="$xorg_testset_save_CFLAGS"
   10211 fi
   10212 
   10213 found="no"
   10214 
   10215 	if test $found = "no" ; then
   10216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10218 		fi
   10219 
   10220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10222 		fi
   10223 
   10224 		CFLAGS="$CFLAGS -Werror"
   10225 
   10226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10227 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10228 		cacheid=xorg_cv_cc_flag__Werror
   10229 		if eval \${$cacheid+:} false; then :
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10233 /* end confdefs.h.  */
   10234 int i;
   10235 int
   10236 main ()
   10237 {
   10238 
   10239   ;
   10240   return 0;
   10241 }
   10242 _ACEOF
   10243 if ac_fn_c_try_link "$LINENO"; then :
   10244   eval $cacheid=yes
   10245 else
   10246   eval $cacheid=no
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext \
   10249     conftest$ac_exeext conftest.$ac_ext
   10250 fi
   10251 
   10252 
   10253 		CFLAGS="$xorg_testset_save_CFLAGS"
   10254 
   10255 		eval supported=\$$cacheid
   10256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10257 $as_echo "$supported" >&6; }
   10258 		if test "$supported" = "yes" ; then
   10259 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10260 			found="yes"
   10261 		fi
   10262 	fi
   10263 
   10264 	if test $found = "no" ; then
   10265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 		fi
   10268 
   10269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10271 		fi
   10272 
   10273 		CFLAGS="$CFLAGS -errwarn"
   10274 
   10275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10276 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10277 		cacheid=xorg_cv_cc_flag__errwarn
   10278 		if eval \${$cacheid+:} false; then :
   10279   $as_echo_n "(cached) " >&6
   10280 else
   10281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10282 /* end confdefs.h.  */
   10283 int i;
   10284 int
   10285 main ()
   10286 {
   10287 
   10288   ;
   10289   return 0;
   10290 }
   10291 _ACEOF
   10292 if ac_fn_c_try_link "$LINENO"; then :
   10293   eval $cacheid=yes
   10294 else
   10295   eval $cacheid=no
   10296 fi
   10297 rm -f core conftest.err conftest.$ac_objext \
   10298     conftest$ac_exeext conftest.$ac_ext
   10299 fi
   10300 
   10301 
   10302 		CFLAGS="$xorg_testset_save_CFLAGS"
   10303 
   10304 		eval supported=\$$cacheid
   10305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10306 $as_echo "$supported" >&6; }
   10307 		if test "$supported" = "yes" ; then
   10308 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10309 			found="yes"
   10310 		fi
   10311 	fi
   10312 
   10313 
   10314 
   10315 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10316 # activate it with -Werror, so we add it here explicitly.
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 xorg_testset_save_CFLAGS="$CFLAGS"
   10331 
   10332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10337   $as_echo_n "(cached) " >&6
   10338 else
   10339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10340 /* end confdefs.h.  */
   10341 int i;
   10342 _ACEOF
   10343 if ac_fn_c_try_compile "$LINENO"; then :
   10344   xorg_cv_cc_flag_unknown_warning_option=yes
   10345 else
   10346   xorg_cv_cc_flag_unknown_warning_option=no
   10347 fi
   10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10349 fi
   10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10353 	CFLAGS="$xorg_testset_save_CFLAGS"
   10354 fi
   10355 
   10356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10359 	fi
   10360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10364   $as_echo_n "(cached) " >&6
   10365 else
   10366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 _ACEOF
   10370 if ac_fn_c_try_compile "$LINENO"; then :
   10371   xorg_cv_cc_flag_unused_command_line_argument=yes
   10372 else
   10373   xorg_cv_cc_flag_unused_command_line_argument=no
   10374 fi
   10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10376 fi
   10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10380 	CFLAGS="$xorg_testset_save_CFLAGS"
   10381 fi
   10382 
   10383 found="no"
   10384 
   10385 	if test $found = "no" ; then
   10386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10388 		fi
   10389 
   10390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10392 		fi
   10393 
   10394 		CFLAGS="$CFLAGS -Werror=attributes"
   10395 
   10396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10397 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10398 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10399 		if eval \${$cacheid+:} false; then :
   10400   $as_echo_n "(cached) " >&6
   10401 else
   10402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10403 /* end confdefs.h.  */
   10404 int i;
   10405 int
   10406 main ()
   10407 {
   10408 
   10409   ;
   10410   return 0;
   10411 }
   10412 _ACEOF
   10413 if ac_fn_c_try_link "$LINENO"; then :
   10414   eval $cacheid=yes
   10415 else
   10416   eval $cacheid=no
   10417 fi
   10418 rm -f core conftest.err conftest.$ac_objext \
   10419     conftest$ac_exeext conftest.$ac_ext
   10420 fi
   10421 
   10422 
   10423 		CFLAGS="$xorg_testset_save_CFLAGS"
   10424 
   10425 		eval supported=\$$cacheid
   10426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10427 $as_echo "$supported" >&6; }
   10428 		if test "$supported" = "yes" ; then
   10429 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10430 			found="yes"
   10431 		fi
   10432 	fi
   10433 
   10434 
   10435 
   10436 if test "x$STRICT_COMPILE" = "xyes"; then
   10437     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10438     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10439 fi
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 cat >>confdefs.h <<_ACEOF
   10447 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10448 _ACEOF
   10449 
   10450 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10451 	if test "x$PVM" = "x"; then
   10452 		PVM="0"
   10453 	fi
   10454 
   10455 cat >>confdefs.h <<_ACEOF
   10456 #define PACKAGE_VERSION_MINOR $PVM
   10457 _ACEOF
   10458 
   10459 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10460 	if test "x$PVP" = "x"; then
   10461 		PVP="0"
   10462 	fi
   10463 
   10464 cat >>confdefs.h <<_ACEOF
   10465 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10466 _ACEOF
   10467 
   10468 
   10469 
   10470 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10471 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10472 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10473 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10474 
   10475 
   10476 
   10477 
   10478 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10479 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10480 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10481 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10482 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 if test x$APP_MAN_SUFFIX = x    ; then
   10490     APP_MAN_SUFFIX=1
   10491 fi
   10492 if test x$APP_MAN_DIR = x    ; then
   10493     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10494 fi
   10495 
   10496 if test x$LIB_MAN_SUFFIX = x    ; then
   10497     LIB_MAN_SUFFIX=3
   10498 fi
   10499 if test x$LIB_MAN_DIR = x    ; then
   10500     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10501 fi
   10502 
   10503 if test x$FILE_MAN_SUFFIX = x    ; then
   10504     case $host_os in
   10505 	# Solaris 2.0 - 11 use SysV man page sections
   10506 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10507 	*)				FILE_MAN_SUFFIX=5  ;;
   10508     esac
   10509 fi
   10510 if test x$FILE_MAN_DIR = x    ; then
   10511     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10512 fi
   10513 
   10514 if test x$MISC_MAN_SUFFIX = x    ; then
   10515     case $host_os in
   10516 	# Solaris 2.0 - 11 use SysV man page sections
   10517 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10518 	*)				MISC_MAN_SUFFIX=7  ;;
   10519     esac
   10520 fi
   10521 if test x$MISC_MAN_DIR = x    ; then
   10522     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10523 fi
   10524 
   10525 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10526     case $host_os in
   10527 	# Solaris 2.0 - 11 use SysV man page sections
   10528 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10529 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10530     esac
   10531 fi
   10532 if test x$DRIVER_MAN_DIR = x    ; then
   10533     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10534 fi
   10535 
   10536 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10537     case $host_os in
   10538 	# Solaris 2.0 - 11 use SysV man page sections
   10539 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10540 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10541     esac
   10542 fi
   10543 if test x$ADMIN_MAN_DIR = x    ; then
   10544     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10545 fi
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 XORG_MAN_PAGE="X Version 11"
   10562 
   10563 MAN_SUBSTS="\
   10564 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10565 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10566 	-e 's|__xservername__|Xorg|g' \
   10567 	-e 's|__xconfigfile__|xorg.conf|g' \
   10568 	-e 's|__projectroot__|\$(prefix)|g' \
   10569 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10570 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10571 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10572 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10573 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10574 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10575 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10576 
   10577 
   10578 
   10579 # Check whether --enable-silent-rules was given.
   10580 if test "${enable_silent_rules+set}" = set; then :
   10581   enableval=$enable_silent_rules;
   10582 fi
   10583 
   10584 case $enable_silent_rules in # (((
   10585   yes) AM_DEFAULT_VERBOSITY=0;;
   10586    no) AM_DEFAULT_VERBOSITY=1;;
   10587     *) AM_DEFAULT_VERBOSITY=0;;
   10588 esac
   10589 am_make=${MAKE-make}
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10591 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10592 if ${am_cv_make_support_nested_variables+:} false; then :
   10593   $as_echo_n "(cached) " >&6
   10594 else
   10595   if $as_echo 'TRUE=$(BAR$(V))
   10596 BAR0=false
   10597 BAR1=true
   10598 V=1
   10599 am__doit:
   10600 	@$(TRUE)
   10601 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10602   am_cv_make_support_nested_variables=yes
   10603 else
   10604   am_cv_make_support_nested_variables=no
   10605 fi
   10606 fi
   10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10608 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10609 if test $am_cv_make_support_nested_variables = yes; then
   10610     AM_V='$(V)'
   10611   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10612 else
   10613   AM_V=$AM_DEFAULT_VERBOSITY
   10614   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10615 fi
   10616 AM_BACKSLASH='\'
   10617 
   10618 
   10619 
   10620 # Checks for pkg-config packages
   10621 
   10622 pkg_failed=no
   10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICEAUTH" >&5
   10624 $as_echo_n "checking for ICEAUTH... " >&6; }
   10625 
   10626 if test -n "$ICEAUTH_CFLAGS"; then
   10627     pkg_cv_ICEAUTH_CFLAGS="$ICEAUTH_CFLAGS"
   10628  elif test -n "$PKG_CONFIG"; then
   10629     if test -n "$PKG_CONFIG" && \
   10630     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   10631   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   10632   ac_status=$?
   10633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10634   test $ac_status = 0; }; then
   10635   pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 ice" 2>/dev/null`
   10636 		      test "x$?" != "x0" && pkg_failed=yes
   10637 else
   10638   pkg_failed=yes
   10639 fi
   10640  else
   10641     pkg_failed=untried
   10642 fi
   10643 if test -n "$ICEAUTH_LIBS"; then
   10644     pkg_cv_ICEAUTH_LIBS="$ICEAUTH_LIBS"
   10645  elif test -n "$PKG_CONFIG"; then
   10646     if test -n "$PKG_CONFIG" && \
   10647     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   10648   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   10649   ac_status=$?
   10650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10651   test $ac_status = 0; }; then
   10652   pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 ice" 2>/dev/null`
   10653 		      test "x$?" != "x0" && pkg_failed=yes
   10654 else
   10655   pkg_failed=yes
   10656 fi
   10657  else
   10658     pkg_failed=untried
   10659 fi
   10660 
   10661 
   10662 
   10663 if test $pkg_failed = yes; then
   10664    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10665 $as_echo "no" >&6; }
   10666 
   10667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10668         _pkg_short_errors_supported=yes
   10669 else
   10670         _pkg_short_errors_supported=no
   10671 fi
   10672         if test $_pkg_short_errors_supported = yes; then
   10673 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
   10674         else
   10675 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
   10676         fi
   10677 	# Put the nasty error message in config.log where it belongs
   10678 	echo "$ICEAUTH_PKG_ERRORS" >&5
   10679 
   10680 	as_fn_error $? "Package requirements (xproto >= 7.0.22 ice) were not met:
   10681 
   10682 $ICEAUTH_PKG_ERRORS
   10683 
   10684 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10685 installed software in a non-standard prefix.
   10686 
   10687 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   10688 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   10689 See the pkg-config man page for more details." "$LINENO" 5
   10690 elif test $pkg_failed = untried; then
   10691      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10692 $as_echo "no" >&6; }
   10693 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10695 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10696 is in your PATH or set the PKG_CONFIG environment variable to the full
   10697 path to pkg-config.
   10698 
   10699 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   10700 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   10701 See the pkg-config man page for more details.
   10702 
   10703 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10704 See \`config.log' for more details" "$LINENO" 5; }
   10705 else
   10706 	ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
   10707 	ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
   10708         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10709 $as_echo "yes" >&6; }
   10710 
   10711 fi
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 # Check whether --with-lint was given.
   10719 if test "${with_lint+set}" = set; then :
   10720   withval=$with_lint; use_lint=$withval
   10721 else
   10722   use_lint=no
   10723 fi
   10724 
   10725 
   10726 # Obtain platform specific info like program name and options
   10727 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10728 case $host_os in
   10729   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10730 	lint_name=splint
   10731 	lint_options="-badflag"
   10732 	;;
   10733   *freebsd* | *netbsd*)
   10734 	lint_name=lint
   10735 	lint_options="-u -b"
   10736 	;;
   10737   *solaris*)
   10738 	lint_name=lint
   10739 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10740 	;;
   10741 esac
   10742 
   10743 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10744 if test "x$use_lint" = x"yes" ; then
   10745    # Extract the first word of "$lint_name", so it can be a program name with args.
   10746 set dummy $lint_name; ac_word=$2
   10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10748 $as_echo_n "checking for $ac_word... " >&6; }
   10749 if ${ac_cv_path_LINT+:} false; then :
   10750   $as_echo_n "(cached) " >&6
   10751 else
   10752   case $LINT in
   10753   [\\/]* | ?:[\\/]*)
   10754   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10755   ;;
   10756   *)
   10757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10758 for as_dir in $PATH
   10759 do
   10760   IFS=$as_save_IFS
   10761   test -z "$as_dir" && as_dir=.
   10762     for ac_exec_ext in '' $ac_executable_extensions; do
   10763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10764     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10766     break 2
   10767   fi
   10768 done
   10769   done
   10770 IFS=$as_save_IFS
   10771 
   10772   ;;
   10773 esac
   10774 fi
   10775 LINT=$ac_cv_path_LINT
   10776 if test -n "$LINT"; then
   10777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10778 $as_echo "$LINT" >&6; }
   10779 else
   10780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10781 $as_echo "no" >&6; }
   10782 fi
   10783 
   10784 
   10785    if test "x$LINT" = "x"; then
   10786         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10787    fi
   10788 elif test "x$use_lint" = x"no" ; then
   10789    if test "x$LINT" != "x"; then
   10790       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10791 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10792    fi
   10793 else
   10794    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10795 fi
   10796 
   10797 # User supplied flags override default flags
   10798 if test "x$LINT_FLAGS" != "x"; then
   10799    lint_options=$LINT_FLAGS
   10800 fi
   10801 
   10802 LINT_FLAGS=$lint_options
   10803 
   10804  if test "x$LINT" != x; then
   10805   LINT_TRUE=
   10806   LINT_FALSE='#'
   10807 else
   10808   LINT_TRUE='#'
   10809   LINT_FALSE=
   10810 fi
   10811 
   10812 
   10813 
   10814 
   10815 ac_config_files="$ac_config_files Makefile man/Makefile"
   10816 
   10817 cat >confcache <<\_ACEOF
   10818 # This file is a shell script that caches the results of configure
   10819 # tests run on this system so they can be shared between configure
   10820 # scripts and configure runs, see configure's option --config-cache.
   10821 # It is not useful on other systems.  If it contains results you don't
   10822 # want to keep, you may remove or edit it.
   10823 #
   10824 # config.status only pays attention to the cache file if you give it
   10825 # the --recheck option to rerun configure.
   10826 #
   10827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10829 # following values.
   10830 
   10831 _ACEOF
   10832 
   10833 # The following way of writing the cache mishandles newlines in values,
   10834 # but we know of no workaround that is simple, portable, and efficient.
   10835 # So, we kill variables containing newlines.
   10836 # Ultrix sh set writes to stderr and can't be redirected directly,
   10837 # and sets the high bit in the cache file unless we assign to the vars.
   10838 (
   10839   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10840     eval ac_val=\$$ac_var
   10841     case $ac_val in #(
   10842     *${as_nl}*)
   10843       case $ac_var in #(
   10844       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10846       esac
   10847       case $ac_var in #(
   10848       _ | IFS | as_nl) ;; #(
   10849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10850       *) { eval $ac_var=; unset $ac_var;} ;;
   10851       esac ;;
   10852     esac
   10853   done
   10854 
   10855   (set) 2>&1 |
   10856     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10857     *${as_nl}ac_space=\ *)
   10858       # `set' does not quote correctly, so add quotes: double-quote
   10859       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10860       sed -n \
   10861 	"s/'/'\\\\''/g;
   10862 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10863       ;; #(
   10864     *)
   10865       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10866       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10867       ;;
   10868     esac |
   10869     sort
   10870 ) |
   10871   sed '
   10872      /^ac_cv_env_/b end
   10873      t clear
   10874      :clear
   10875      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10876      t end
   10877      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10878      :end' >>confcache
   10879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10880   if test -w "$cache_file"; then
   10881     if test "x$cache_file" != "x/dev/null"; then
   10882       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10883 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10884       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10885 	cat confcache >"$cache_file"
   10886       else
   10887         case $cache_file in #(
   10888         */* | ?:*)
   10889 	  mv -f confcache "$cache_file"$$ &&
   10890 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10891         *)
   10892 	  mv -f confcache "$cache_file" ;;
   10893 	esac
   10894       fi
   10895     fi
   10896   else
   10897     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10899   fi
   10900 fi
   10901 rm -f confcache
   10902 
   10903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10904 # Let make expand exec_prefix.
   10905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10906 
   10907 DEFS=-DHAVE_CONFIG_H
   10908 
   10909 ac_libobjs=
   10910 ac_ltlibobjs=
   10911 U=
   10912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10913   # 1. Remove the extension, and $U if already installed.
   10914   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10915   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10916   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10917   #    will be set to the directory where LIBOBJS objects are built.
   10918   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10919   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10920 done
   10921 LIBOBJS=$ac_libobjs
   10922 
   10923 LTLIBOBJS=$ac_ltlibobjs
   10924 
   10925 
   10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10927 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10928    if test -n "$am_sleep_pid"; then
   10929      # Hide warnings about reused PIDs.
   10930      wait $am_sleep_pid 2>/dev/null
   10931    fi
   10932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10933 $as_echo "done" >&6; }
   10934  if test -n "$EXEEXT"; then
   10935   am__EXEEXT_TRUE=
   10936   am__EXEEXT_FALSE='#'
   10937 else
   10938   am__EXEEXT_TRUE='#'
   10939   am__EXEEXT_FALSE=
   10940 fi
   10941 
   10942 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10943   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10945 fi
   10946 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10947   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10949 fi
   10950 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   10951   as_fn_error $? "conditional \"LINT\" was never defined.
   10952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10953 fi
   10954 
   10955 : "${CONFIG_STATUS=./config.status}"
   10956 ac_write_fail=0
   10957 ac_clean_files_save=$ac_clean_files
   10958 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10959 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10960 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10961 as_write_fail=0
   10962 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10963 #! $SHELL
   10964 # Generated by $as_me.
   10965 # Run this file to recreate the current configuration.
   10966 # Compiler output produced by configure, useful for debugging
   10967 # configure, is in config.log if it exists.
   10968 
   10969 debug=false
   10970 ac_cs_recheck=false
   10971 ac_cs_silent=false
   10972 
   10973 SHELL=\${CONFIG_SHELL-$SHELL}
   10974 export SHELL
   10975 _ASEOF
   10976 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10977 ## -------------------- ##
   10978 ## M4sh Initialization. ##
   10979 ## -------------------- ##
   10980 
   10981 # Be more Bourne compatible
   10982 DUALCASE=1; export DUALCASE # for MKS sh
   10983 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10984   emulate sh
   10985   NULLCMD=:
   10986   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10987   # is contrary to our usage.  Disable this feature.
   10988   alias -g '${1+"$@"}'='"$@"'
   10989   setopt NO_GLOB_SUBST
   10990 else
   10991   case `(set -o) 2>/dev/null` in #(
   10992   *posix*) :
   10993     set -o posix ;; #(
   10994   *) :
   10995      ;;
   10996 esac
   10997 fi
   10998 
   10999 
   11000 as_nl='
   11001 '
   11002 export as_nl
   11003 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11004 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11005 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11006 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11007 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11008 # but without wasting forks for bash or zsh.
   11009 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11010     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11011   as_echo='print -r --'
   11012   as_echo_n='print -rn --'
   11013 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11014   as_echo='printf %s\n'
   11015   as_echo_n='printf %s'
   11016 else
   11017   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11018     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11019     as_echo_n='/usr/ucb/echo -n'
   11020   else
   11021     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11022     as_echo_n_body='eval
   11023       arg=$1;
   11024       case $arg in #(
   11025       *"$as_nl"*)
   11026 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11027 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11028       esac;
   11029       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11030     '
   11031     export as_echo_n_body
   11032     as_echo_n='sh -c $as_echo_n_body as_echo'
   11033   fi
   11034   export as_echo_body
   11035   as_echo='sh -c $as_echo_body as_echo'
   11036 fi
   11037 
   11038 # The user is always right.
   11039 if test "${PATH_SEPARATOR+set}" != set; then
   11040   PATH_SEPARATOR=:
   11041   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11042     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11043       PATH_SEPARATOR=';'
   11044   }
   11045 fi
   11046 
   11047 
   11048 # IFS
   11049 # We need space, tab and new line, in precisely that order.  Quoting is
   11050 # there to prevent editors from complaining about space-tab.
   11051 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11052 # splitting by setting IFS to empty value.)
   11053 IFS=" ""	$as_nl"
   11054 
   11055 # Find who we are.  Look in the path if we contain no directory separator.
   11056 as_myself=
   11057 case $0 in #((
   11058   *[\\/]* ) as_myself=$0 ;;
   11059   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11060 for as_dir in $PATH
   11061 do
   11062   IFS=$as_save_IFS
   11063   test -z "$as_dir" && as_dir=.
   11064     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11065   done
   11066 IFS=$as_save_IFS
   11067 
   11068      ;;
   11069 esac
   11070 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11071 # in which case we are not to be found in the path.
   11072 if test "x$as_myself" = x; then
   11073   as_myself=$0
   11074 fi
   11075 if test ! -f "$as_myself"; then
   11076   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11077   exit 1
   11078 fi
   11079 
   11080 # Unset variables that we do not need and which cause bugs (e.g. in
   11081 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11082 # suppresses any "Segmentation fault" message there.  '((' could
   11083 # trigger a bug in pdksh 5.2.14.
   11084 for as_var in BASH_ENV ENV MAIL MAILPATH
   11085 do eval test x\${$as_var+set} = xset \
   11086   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11087 done
   11088 PS1='$ '
   11089 PS2='> '
   11090 PS4='+ '
   11091 
   11092 # NLS nuisances.
   11093 LC_ALL=C
   11094 export LC_ALL
   11095 LANGUAGE=C
   11096 export LANGUAGE
   11097 
   11098 # CDPATH.
   11099 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11100 
   11101 
   11102 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11103 # ----------------------------------------
   11104 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11105 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11106 # script with STATUS, using 1 if that was 0.
   11107 as_fn_error ()
   11108 {
   11109   as_status=$1; test $as_status -eq 0 && as_status=1
   11110   if test "$4"; then
   11111     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11112     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11113   fi
   11114   $as_echo "$as_me: error: $2" >&2
   11115   as_fn_exit $as_status
   11116 } # as_fn_error
   11117 
   11118 
   11119 # as_fn_set_status STATUS
   11120 # -----------------------
   11121 # Set $? to STATUS, without forking.
   11122 as_fn_set_status ()
   11123 {
   11124   return $1
   11125 } # as_fn_set_status
   11126 
   11127 # as_fn_exit STATUS
   11128 # -----------------
   11129 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11130 as_fn_exit ()
   11131 {
   11132   set +e
   11133   as_fn_set_status $1
   11134   exit $1
   11135 } # as_fn_exit
   11136 
   11137 # as_fn_unset VAR
   11138 # ---------------
   11139 # Portably unset VAR.
   11140 as_fn_unset ()
   11141 {
   11142   { eval $1=; unset $1;}
   11143 }
   11144 as_unset=as_fn_unset
   11145 # as_fn_append VAR VALUE
   11146 # ----------------------
   11147 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11148 # advantage of any shell optimizations that allow amortized linear growth over
   11149 # repeated appends, instead of the typical quadratic growth present in naive
   11150 # implementations.
   11151 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11152   eval 'as_fn_append ()
   11153   {
   11154     eval $1+=\$2
   11155   }'
   11156 else
   11157   as_fn_append ()
   11158   {
   11159     eval $1=\$$1\$2
   11160   }
   11161 fi # as_fn_append
   11162 
   11163 # as_fn_arith ARG...
   11164 # ------------------
   11165 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11166 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11167 # must be portable across $(()) and expr.
   11168 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11169   eval 'as_fn_arith ()
   11170   {
   11171     as_val=$(( $* ))
   11172   }'
   11173 else
   11174   as_fn_arith ()
   11175   {
   11176     as_val=`expr "$@" || test $? -eq 1`
   11177   }
   11178 fi # as_fn_arith
   11179 
   11180 
   11181 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11182    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11183   as_expr=expr
   11184 else
   11185   as_expr=false
   11186 fi
   11187 
   11188 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11189   as_basename=basename
   11190 else
   11191   as_basename=false
   11192 fi
   11193 
   11194 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11195   as_dirname=dirname
   11196 else
   11197   as_dirname=false
   11198 fi
   11199 
   11200 as_me=`$as_basename -- "$0" ||
   11201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11202 	 X"$0" : 'X\(//\)$' \| \
   11203 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11204 $as_echo X/"$0" |
   11205     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11206 	    s//\1/
   11207 	    q
   11208 	  }
   11209 	  /^X\/\(\/\/\)$/{
   11210 	    s//\1/
   11211 	    q
   11212 	  }
   11213 	  /^X\/\(\/\).*/{
   11214 	    s//\1/
   11215 	    q
   11216 	  }
   11217 	  s/.*/./; q'`
   11218 
   11219 # Avoid depending upon Character Ranges.
   11220 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11221 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11222 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11223 as_cr_digits='0123456789'
   11224 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11225 
   11226 ECHO_C= ECHO_N= ECHO_T=
   11227 case `echo -n x` in #(((((
   11228 -n*)
   11229   case `echo 'xy\c'` in
   11230   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11231   xy)  ECHO_C='\c';;
   11232   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11233        ECHO_T='	';;
   11234   esac;;
   11235 *)
   11236   ECHO_N='-n';;
   11237 esac
   11238 
   11239 rm -f conf$$ conf$$.exe conf$$.file
   11240 if test -d conf$$.dir; then
   11241   rm -f conf$$.dir/conf$$.file
   11242 else
   11243   rm -f conf$$.dir
   11244   mkdir conf$$.dir 2>/dev/null
   11245 fi
   11246 if (echo >conf$$.file) 2>/dev/null; then
   11247   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11248     as_ln_s='ln -s'
   11249     # ... but there are two gotchas:
   11250     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11251     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11252     # In both cases, we have to default to `cp -pR'.
   11253     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11254       as_ln_s='cp -pR'
   11255   elif ln conf$$.file conf$$ 2>/dev/null; then
   11256     as_ln_s=ln
   11257   else
   11258     as_ln_s='cp -pR'
   11259   fi
   11260 else
   11261   as_ln_s='cp -pR'
   11262 fi
   11263 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11264 rmdir conf$$.dir 2>/dev/null
   11265 
   11266 
   11267 # as_fn_mkdir_p
   11268 # -------------
   11269 # Create "$as_dir" as a directory, including parents if necessary.
   11270 as_fn_mkdir_p ()
   11271 {
   11272 
   11273   case $as_dir in #(
   11274   -*) as_dir=./$as_dir;;
   11275   esac
   11276   test -d "$as_dir" || eval $as_mkdir_p || {
   11277     as_dirs=
   11278     while :; do
   11279       case $as_dir in #(
   11280       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11281       *) as_qdir=$as_dir;;
   11282       esac
   11283       as_dirs="'$as_qdir' $as_dirs"
   11284       as_dir=`$as_dirname -- "$as_dir" ||
   11285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11286 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11287 	 X"$as_dir" : 'X\(//\)$' \| \
   11288 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11289 $as_echo X"$as_dir" |
   11290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11291 	    s//\1/
   11292 	    q
   11293 	  }
   11294 	  /^X\(\/\/\)[^/].*/{
   11295 	    s//\1/
   11296 	    q
   11297 	  }
   11298 	  /^X\(\/\/\)$/{
   11299 	    s//\1/
   11300 	    q
   11301 	  }
   11302 	  /^X\(\/\).*/{
   11303 	    s//\1/
   11304 	    q
   11305 	  }
   11306 	  s/.*/./; q'`
   11307       test -d "$as_dir" && break
   11308     done
   11309     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11310   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11311 
   11312 
   11313 } # as_fn_mkdir_p
   11314 if mkdir -p . 2>/dev/null; then
   11315   as_mkdir_p='mkdir -p "$as_dir"'
   11316 else
   11317   test -d ./-p && rmdir ./-p
   11318   as_mkdir_p=false
   11319 fi
   11320 
   11321 
   11322 # as_fn_executable_p FILE
   11323 # -----------------------
   11324 # Test if FILE is an executable regular file.
   11325 as_fn_executable_p ()
   11326 {
   11327   test -f "$1" && test -x "$1"
   11328 } # as_fn_executable_p
   11329 as_test_x='test -x'
   11330 as_executable_p=as_fn_executable_p
   11331 
   11332 # Sed expression to map a string onto a valid CPP name.
   11333 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11334 
   11335 # Sed expression to map a string onto a valid variable name.
   11336 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11337 
   11338 
   11339 exec 6>&1
   11340 ## ----------------------------------- ##
   11341 ## Main body of $CONFIG_STATUS script. ##
   11342 ## ----------------------------------- ##
   11343 _ASEOF
   11344 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11345 
   11346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11347 # Save the log message, to keep $0 and so on meaningful, and to
   11348 # report actual input values of CONFIG_FILES etc. instead of their
   11349 # values after options handling.
   11350 ac_log="
   11351 This file was extended by iceauth $as_me 1.0.8, which was
   11352 generated by GNU Autoconf 2.69.  Invocation command line was
   11353 
   11354   CONFIG_FILES    = $CONFIG_FILES
   11355   CONFIG_HEADERS  = $CONFIG_HEADERS
   11356   CONFIG_LINKS    = $CONFIG_LINKS
   11357   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11358   $ $0 $@
   11359 
   11360 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11361 "
   11362 
   11363 _ACEOF
   11364 
   11365 case $ac_config_files in *"
   11366 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11367 esac
   11368 
   11369 case $ac_config_headers in *"
   11370 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11371 esac
   11372 
   11373 
   11374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11375 # Files that config.status was made for.
   11376 config_files="$ac_config_files"
   11377 config_headers="$ac_config_headers"
   11378 config_commands="$ac_config_commands"
   11379 
   11380 _ACEOF
   11381 
   11382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11383 ac_cs_usage="\
   11384 \`$as_me' instantiates files and other configuration actions
   11385 from templates according to the current configuration.  Unless the files
   11386 and actions are specified as TAGs, all are instantiated by default.
   11387 
   11388 Usage: $0 [OPTION]... [TAG]...
   11389 
   11390   -h, --help       print this help, then exit
   11391   -V, --version    print version number and configuration settings, then exit
   11392       --config     print configuration, then exit
   11393   -q, --quiet, --silent
   11394                    do not print progress messages
   11395   -d, --debug      don't remove temporary files
   11396       --recheck    update $as_me by reconfiguring in the same conditions
   11397       --file=FILE[:TEMPLATE]
   11398                    instantiate the configuration file FILE
   11399       --header=FILE[:TEMPLATE]
   11400                    instantiate the configuration header FILE
   11401 
   11402 Configuration files:
   11403 $config_files
   11404 
   11405 Configuration headers:
   11406 $config_headers
   11407 
   11408 Configuration commands:
   11409 $config_commands
   11410 
   11411 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11412 
   11413 _ACEOF
   11414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11415 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11416 ac_cs_version="\\
   11417 iceauth config.status 1.0.8
   11418 configured by $0, generated by GNU Autoconf 2.69,
   11419   with options \\"\$ac_cs_config\\"
   11420 
   11421 Copyright (C) 2012 Free Software Foundation, Inc.
   11422 This config.status script is free software; the Free Software Foundation
   11423 gives unlimited permission to copy, distribute and modify it."
   11424 
   11425 ac_pwd='$ac_pwd'
   11426 srcdir='$srcdir'
   11427 INSTALL='$INSTALL'
   11428 MKDIR_P='$MKDIR_P'
   11429 AWK='$AWK'
   11430 test -n "\$AWK" || AWK=awk
   11431 _ACEOF
   11432 
   11433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11434 # The default lists apply if the user does not specify any file.
   11435 ac_need_defaults=:
   11436 while test $# != 0
   11437 do
   11438   case $1 in
   11439   --*=?*)
   11440     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11441     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11442     ac_shift=:
   11443     ;;
   11444   --*=)
   11445     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11446     ac_optarg=
   11447     ac_shift=:
   11448     ;;
   11449   *)
   11450     ac_option=$1
   11451     ac_optarg=$2
   11452     ac_shift=shift
   11453     ;;
   11454   esac
   11455 
   11456   case $ac_option in
   11457   # Handling of the options.
   11458   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11459     ac_cs_recheck=: ;;
   11460   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11461     $as_echo "$ac_cs_version"; exit ;;
   11462   --config | --confi | --conf | --con | --co | --c )
   11463     $as_echo "$ac_cs_config"; exit ;;
   11464   --debug | --debu | --deb | --de | --d | -d )
   11465     debug=: ;;
   11466   --file | --fil | --fi | --f )
   11467     $ac_shift
   11468     case $ac_optarg in
   11469     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11470     '') as_fn_error $? "missing file argument" ;;
   11471     esac
   11472     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11473     ac_need_defaults=false;;
   11474   --header | --heade | --head | --hea )
   11475     $ac_shift
   11476     case $ac_optarg in
   11477     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11478     esac
   11479     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11480     ac_need_defaults=false;;
   11481   --he | --h)
   11482     # Conflict between --help and --header
   11483     as_fn_error $? "ambiguous option: \`$1'
   11484 Try \`$0 --help' for more information.";;
   11485   --help | --hel | -h )
   11486     $as_echo "$ac_cs_usage"; exit ;;
   11487   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11488   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11489     ac_cs_silent=: ;;
   11490 
   11491   # This is an error.
   11492   -*) as_fn_error $? "unrecognized option: \`$1'
   11493 Try \`$0 --help' for more information." ;;
   11494 
   11495   *) as_fn_append ac_config_targets " $1"
   11496      ac_need_defaults=false ;;
   11497 
   11498   esac
   11499   shift
   11500 done
   11501 
   11502 ac_configure_extra_args=
   11503 
   11504 if $ac_cs_silent; then
   11505   exec 6>/dev/null
   11506   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11507 fi
   11508 
   11509 _ACEOF
   11510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11511 if \$ac_cs_recheck; then
   11512   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11513   shift
   11514   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11515   CONFIG_SHELL='$SHELL'
   11516   export CONFIG_SHELL
   11517   exec "\$@"
   11518 fi
   11519 
   11520 _ACEOF
   11521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11522 exec 5>>config.log
   11523 {
   11524   echo
   11525   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11526 ## Running $as_me. ##
   11527 _ASBOX
   11528   $as_echo "$ac_log"
   11529 } >&5
   11530 
   11531 _ACEOF
   11532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11533 #
   11534 # INIT-COMMANDS
   11535 #
   11536 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11537 
   11538 _ACEOF
   11539 
   11540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11541 
   11542 # Handling of arguments.
   11543 for ac_config_target in $ac_config_targets
   11544 do
   11545   case $ac_config_target in
   11546     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11547     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11548     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11549     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11550 
   11551   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11552   esac
   11553 done
   11554 
   11555 
   11556 # If the user did not use the arguments to specify the items to instantiate,
   11557 # then the envvar interface is used.  Set only those that are not.
   11558 # We use the long form for the default assignment because of an extremely
   11559 # bizarre bug on SunOS 4.1.3.
   11560 if $ac_need_defaults; then
   11561   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11562   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11563   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11564 fi
   11565 
   11566 # Have a temporary directory for convenience.  Make it in the build tree
   11567 # simply because there is no reason against having it here, and in addition,
   11568 # creating and moving files from /tmp can sometimes cause problems.
   11569 # Hook for its removal unless debugging.
   11570 # Note that there is a small window in which the directory will not be cleaned:
   11571 # after its creation but before its name has been assigned to `$tmp'.
   11572 $debug ||
   11573 {
   11574   tmp= ac_tmp=
   11575   trap 'exit_status=$?
   11576   : "${ac_tmp:=$tmp}"
   11577   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11578 ' 0
   11579   trap 'as_fn_exit 1' 1 2 13 15
   11580 }
   11581 # Create a (secure) tmp directory for tmp files.
   11582 
   11583 {
   11584   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11585   test -d "$tmp"
   11586 }  ||
   11587 {
   11588   tmp=./conf$$-$RANDOM
   11589   (umask 077 && mkdir "$tmp")
   11590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11591 ac_tmp=$tmp
   11592 
   11593 # Set up the scripts for CONFIG_FILES section.
   11594 # No need to generate them if there are no CONFIG_FILES.
   11595 # This happens for instance with `./config.status config.h'.
   11596 if test -n "$CONFIG_FILES"; then
   11597 
   11598 
   11599 ac_cr=`echo X | tr X '\015'`
   11600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11601 # But we know of no other shell where ac_cr would be empty at this
   11602 # point, so we can use a bashism as a fallback.
   11603 if test "x$ac_cr" = x; then
   11604   eval ac_cr=\$\'\\r\'
   11605 fi
   11606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11608   ac_cs_awk_cr='\\r'
   11609 else
   11610   ac_cs_awk_cr=$ac_cr
   11611 fi
   11612 
   11613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11614 _ACEOF
   11615 
   11616 
   11617 {
   11618   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11619   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11620   echo "_ACEOF"
   11621 } >conf$$subs.sh ||
   11622   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11624 ac_delim='%!_!# '
   11625 for ac_last_try in false false false false false :; do
   11626   . ./conf$$subs.sh ||
   11627     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11628 
   11629   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11630   if test $ac_delim_n = $ac_delim_num; then
   11631     break
   11632   elif $ac_last_try; then
   11633     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11634   else
   11635     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11636   fi
   11637 done
   11638 rm -f conf$$subs.sh
   11639 
   11640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11642 _ACEOF
   11643 sed -n '
   11644 h
   11645 s/^/S["/; s/!.*/"]=/
   11646 p
   11647 g
   11648 s/^[^!]*!//
   11649 :repl
   11650 t repl
   11651 s/'"$ac_delim"'$//
   11652 t delim
   11653 :nl
   11654 h
   11655 s/\(.\{148\}\)..*/\1/
   11656 t more1
   11657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11658 p
   11659 n
   11660 b repl
   11661 :more1
   11662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11663 p
   11664 g
   11665 s/.\{148\}//
   11666 t nl
   11667 :delim
   11668 h
   11669 s/\(.\{148\}\)..*/\1/
   11670 t more2
   11671 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11672 p
   11673 b
   11674 :more2
   11675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11676 p
   11677 g
   11678 s/.\{148\}//
   11679 t delim
   11680 ' <conf$$subs.awk | sed '
   11681 /^[^""]/{
   11682   N
   11683   s/\n//
   11684 }
   11685 ' >>$CONFIG_STATUS || ac_write_fail=1
   11686 rm -f conf$$subs.awk
   11687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11688 _ACAWK
   11689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11690   for (key in S) S_is_set[key] = 1
   11691   FS = ""
   11692 
   11693 }
   11694 {
   11695   line = $ 0
   11696   nfields = split(line, field, "@")
   11697   substed = 0
   11698   len = length(field[1])
   11699   for (i = 2; i < nfields; i++) {
   11700     key = field[i]
   11701     keylen = length(key)
   11702     if (S_is_set[key]) {
   11703       value = S[key]
   11704       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11705       len += length(value) + length(field[++i])
   11706       substed = 1
   11707     } else
   11708       len += 1 + keylen
   11709   }
   11710 
   11711   print line
   11712 }
   11713 
   11714 _ACAWK
   11715 _ACEOF
   11716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11718   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11719 else
   11720   cat
   11721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11722   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11723 _ACEOF
   11724 
   11725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11727 # trailing colons and then remove the whole line if VPATH becomes empty
   11728 # (actually we leave an empty line to preserve line numbers).
   11729 if test "x$srcdir" = x.; then
   11730   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11731 h
   11732 s///
   11733 s/^/:/
   11734 s/[	 ]*$/:/
   11735 s/:\$(srcdir):/:/g
   11736 s/:\${srcdir}:/:/g
   11737 s/:@srcdir@:/:/g
   11738 s/^:*//
   11739 s/:*$//
   11740 x
   11741 s/\(=[	 ]*\).*/\1/
   11742 G
   11743 s/\n//
   11744 s/^[^=]*=[	 ]*$//
   11745 }'
   11746 fi
   11747 
   11748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11749 fi # test -n "$CONFIG_FILES"
   11750 
   11751 # Set up the scripts for CONFIG_HEADERS section.
   11752 # No need to generate them if there are no CONFIG_HEADERS.
   11753 # This happens for instance with `./config.status Makefile'.
   11754 if test -n "$CONFIG_HEADERS"; then
   11755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11756 BEGIN {
   11757 _ACEOF
   11758 
   11759 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11760 # here-document in config.status, that substitutes the proper values into
   11761 # config.h.in to produce config.h.
   11762 
   11763 # Create a delimiter string that does not exist in confdefs.h, to ease
   11764 # handling of long lines.
   11765 ac_delim='%!_!# '
   11766 for ac_last_try in false false :; do
   11767   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11768   if test -z "$ac_tt"; then
   11769     break
   11770   elif $ac_last_try; then
   11771     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11772   else
   11773     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11774   fi
   11775 done
   11776 
   11777 # For the awk script, D is an array of macro values keyed by name,
   11778 # likewise P contains macro parameters if any.  Preserve backslash
   11779 # newline sequences.
   11780 
   11781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11782 sed -n '
   11783 s/.\{148\}/&'"$ac_delim"'/g
   11784 t rset
   11785 :rset
   11786 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11787 t def
   11788 d
   11789 :def
   11790 s/\\$//
   11791 t bsnl
   11792 s/["\\]/\\&/g
   11793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11794 D["\1"]=" \3"/p
   11795 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11796 d
   11797 :bsnl
   11798 s/["\\]/\\&/g
   11799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11800 D["\1"]=" \3\\\\\\n"\\/p
   11801 t cont
   11802 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11803 t cont
   11804 d
   11805 :cont
   11806 n
   11807 s/.\{148\}/&'"$ac_delim"'/g
   11808 t clear
   11809 :clear
   11810 s/\\$//
   11811 t bsnlc
   11812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11813 d
   11814 :bsnlc
   11815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11816 b cont
   11817 ' <confdefs.h | sed '
   11818 s/'"$ac_delim"'/"\\\
   11819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11820 
   11821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11822   for (key in D) D_is_set[key] = 1
   11823   FS = ""
   11824 }
   11825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11826   line = \$ 0
   11827   split(line, arg, " ")
   11828   if (arg[1] == "#") {
   11829     defundef = arg[2]
   11830     mac1 = arg[3]
   11831   } else {
   11832     defundef = substr(arg[1], 2)
   11833     mac1 = arg[2]
   11834   }
   11835   split(mac1, mac2, "(") #)
   11836   macro = mac2[1]
   11837   prefix = substr(line, 1, index(line, defundef) - 1)
   11838   if (D_is_set[macro]) {
   11839     # Preserve the white space surrounding the "#".
   11840     print prefix "define", macro P[macro] D[macro]
   11841     next
   11842   } else {
   11843     # Replace #undef with comments.  This is necessary, for example,
   11844     # in the case of _POSIX_SOURCE, which is predefined and required
   11845     # on some systems where configure will not decide to define it.
   11846     if (defundef == "undef") {
   11847       print "/*", prefix defundef, macro, "*/"
   11848       next
   11849     }
   11850   }
   11851 }
   11852 { print }
   11853 _ACAWK
   11854 _ACEOF
   11855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11856   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11857 fi # test -n "$CONFIG_HEADERS"
   11858 
   11859 
   11860 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11861 shift
   11862 for ac_tag
   11863 do
   11864   case $ac_tag in
   11865   :[FHLC]) ac_mode=$ac_tag; continue;;
   11866   esac
   11867   case $ac_mode$ac_tag in
   11868   :[FHL]*:*);;
   11869   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11870   :[FH]-) ac_tag=-:-;;
   11871   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11872   esac
   11873   ac_save_IFS=$IFS
   11874   IFS=:
   11875   set x $ac_tag
   11876   IFS=$ac_save_IFS
   11877   shift
   11878   ac_file=$1
   11879   shift
   11880 
   11881   case $ac_mode in
   11882   :L) ac_source=$1;;
   11883   :[FH])
   11884     ac_file_inputs=
   11885     for ac_f
   11886     do
   11887       case $ac_f in
   11888       -) ac_f="$ac_tmp/stdin";;
   11889       *) # Look for the file first in the build tree, then in the source tree
   11890 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11891 	 # because $ac_f cannot contain `:'.
   11892 	 test -f "$ac_f" ||
   11893 	   case $ac_f in
   11894 	   [\\/$]*) false;;
   11895 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11896 	   esac ||
   11897 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11898       esac
   11899       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11900       as_fn_append ac_file_inputs " '$ac_f'"
   11901     done
   11902 
   11903     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11904     # use $as_me), people would be surprised to read:
   11905     #    /* config.h.  Generated by config.status.  */
   11906     configure_input='Generated from '`
   11907 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11908 	`' by configure.'
   11909     if test x"$ac_file" != x-; then
   11910       configure_input="$ac_file.  $configure_input"
   11911       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11912 $as_echo "$as_me: creating $ac_file" >&6;}
   11913     fi
   11914     # Neutralize special characters interpreted by sed in replacement strings.
   11915     case $configure_input in #(
   11916     *\&* | *\|* | *\\* )
   11917        ac_sed_conf_input=`$as_echo "$configure_input" |
   11918        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11919     *) ac_sed_conf_input=$configure_input;;
   11920     esac
   11921 
   11922     case $ac_tag in
   11923     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11924       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11925     esac
   11926     ;;
   11927   esac
   11928 
   11929   ac_dir=`$as_dirname -- "$ac_file" ||
   11930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11931 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11932 	 X"$ac_file" : 'X\(//\)$' \| \
   11933 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11934 $as_echo X"$ac_file" |
   11935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11936 	    s//\1/
   11937 	    q
   11938 	  }
   11939 	  /^X\(\/\/\)[^/].*/{
   11940 	    s//\1/
   11941 	    q
   11942 	  }
   11943 	  /^X\(\/\/\)$/{
   11944 	    s//\1/
   11945 	    q
   11946 	  }
   11947 	  /^X\(\/\).*/{
   11948 	    s//\1/
   11949 	    q
   11950 	  }
   11951 	  s/.*/./; q'`
   11952   as_dir="$ac_dir"; as_fn_mkdir_p
   11953   ac_builddir=.
   11954 
   11955 case "$ac_dir" in
   11956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11957 *)
   11958   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11959   # A ".." for each directory in $ac_dir_suffix.
   11960   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11961   case $ac_top_builddir_sub in
   11962   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11963   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11964   esac ;;
   11965 esac
   11966 ac_abs_top_builddir=$ac_pwd
   11967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11968 # for backward compatibility:
   11969 ac_top_builddir=$ac_top_build_prefix
   11970 
   11971 case $srcdir in
   11972   .)  # We are building in place.
   11973     ac_srcdir=.
   11974     ac_top_srcdir=$ac_top_builddir_sub
   11975     ac_abs_top_srcdir=$ac_pwd ;;
   11976   [\\/]* | ?:[\\/]* )  # Absolute name.
   11977     ac_srcdir=$srcdir$ac_dir_suffix;
   11978     ac_top_srcdir=$srcdir
   11979     ac_abs_top_srcdir=$srcdir ;;
   11980   *) # Relative name.
   11981     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11982     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11983     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11984 esac
   11985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11986 
   11987 
   11988   case $ac_mode in
   11989   :F)
   11990   #
   11991   # CONFIG_FILE
   11992   #
   11993 
   11994   case $INSTALL in
   11995   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11996   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11997   esac
   11998   ac_MKDIR_P=$MKDIR_P
   11999   case $MKDIR_P in
   12000   [\\/$]* | ?:[\\/]* ) ;;
   12001   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12002   esac
   12003 _ACEOF
   12004 
   12005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12006 # If the template does not know about datarootdir, expand it.
   12007 # FIXME: This hack should be removed a few years after 2.60.
   12008 ac_datarootdir_hack=; ac_datarootdir_seen=
   12009 ac_sed_dataroot='
   12010 /datarootdir/ {
   12011   p
   12012   q
   12013 }
   12014 /@datadir@/p
   12015 /@docdir@/p
   12016 /@infodir@/p
   12017 /@localedir@/p
   12018 /@mandir@/p'
   12019 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12020 *datarootdir*) ac_datarootdir_seen=yes;;
   12021 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12023 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12024 _ACEOF
   12025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12026   ac_datarootdir_hack='
   12027   s&@datadir@&$datadir&g
   12028   s&@docdir@&$docdir&g
   12029   s&@infodir@&$infodir&g
   12030   s&@localedir@&$localedir&g
   12031   s&@mandir@&$mandir&g
   12032   s&\\\${datarootdir}&$datarootdir&g' ;;
   12033 esac
   12034 _ACEOF
   12035 
   12036 # Neutralize VPATH when `$srcdir' = `.'.
   12037 # Shell code in configure.ac might set extrasub.
   12038 # FIXME: do we really want to maintain this feature?
   12039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12040 ac_sed_extra="$ac_vpsub
   12041 $extrasub
   12042 _ACEOF
   12043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12044 :t
   12045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12046 s|@configure_input@|$ac_sed_conf_input|;t t
   12047 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12048 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12049 s&@srcdir@&$ac_srcdir&;t t
   12050 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12051 s&@top_srcdir@&$ac_top_srcdir&;t t
   12052 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12053 s&@builddir@&$ac_builddir&;t t
   12054 s&@abs_builddir@&$ac_abs_builddir&;t t
   12055 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12056 s&@INSTALL@&$ac_INSTALL&;t t
   12057 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12058 $ac_datarootdir_hack
   12059 "
   12060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12061   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12062 
   12063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12064   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12065   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12066       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12068 which seems to be undefined.  Please make sure it is defined" >&5
   12069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12070 which seems to be undefined.  Please make sure it is defined" >&2;}
   12071 
   12072   rm -f "$ac_tmp/stdin"
   12073   case $ac_file in
   12074   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12075   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12076   esac \
   12077   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12078  ;;
   12079   :H)
   12080   #
   12081   # CONFIG_HEADER
   12082   #
   12083   if test x"$ac_file" != x-; then
   12084     {
   12085       $as_echo "/* $configure_input  */" \
   12086       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12087     } >"$ac_tmp/config.h" \
   12088       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12089     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12090       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12091 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12092     else
   12093       rm -f "$ac_file"
   12094       mv "$ac_tmp/config.h" "$ac_file" \
   12095 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12096     fi
   12097   else
   12098     $as_echo "/* $configure_input  */" \
   12099       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12100       || as_fn_error $? "could not create -" "$LINENO" 5
   12101   fi
   12102 # Compute "$ac_file"'s index in $config_headers.
   12103 _am_arg="$ac_file"
   12104 _am_stamp_count=1
   12105 for _am_header in $config_headers :; do
   12106   case $_am_header in
   12107     $_am_arg | $_am_arg:* )
   12108       break ;;
   12109     * )
   12110       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12111   esac
   12112 done
   12113 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12114 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12115 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12116 	 X"$_am_arg" : 'X\(//\)$' \| \
   12117 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12118 $as_echo X"$_am_arg" |
   12119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12120 	    s//\1/
   12121 	    q
   12122 	  }
   12123 	  /^X\(\/\/\)[^/].*/{
   12124 	    s//\1/
   12125 	    q
   12126 	  }
   12127 	  /^X\(\/\/\)$/{
   12128 	    s//\1/
   12129 	    q
   12130 	  }
   12131 	  /^X\(\/\).*/{
   12132 	    s//\1/
   12133 	    q
   12134 	  }
   12135 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12136  ;;
   12137 
   12138   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12139 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12140  ;;
   12141   esac
   12142 
   12143 
   12144   case $ac_file$ac_mode in
   12145     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12146   # Older Autoconf quotes --file arguments for eval, but not when files
   12147   # are listed without --file.  Let's play safe and only enable the eval
   12148   # if we detect the quoting.
   12149   case $CONFIG_FILES in
   12150   *\'*) eval set x "$CONFIG_FILES" ;;
   12151   *)   set x $CONFIG_FILES ;;
   12152   esac
   12153   shift
   12154   for mf
   12155   do
   12156     # Strip MF so we end up with the name of the file.
   12157     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12158     # Check whether this is an Automake generated Makefile or not.
   12159     # We used to match only the files named 'Makefile.in', but
   12160     # some people rename them; so instead we look at the file content.
   12161     # Grep'ing the first line is not enough: some people post-process
   12162     # each Makefile.in and add a new line on top of each file to say so.
   12163     # Grep'ing the whole file is not good either: AIX grep has a line
   12164     # limit of 2048, but all sed's we know have understand at least 4000.
   12165     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12166       dirpart=`$as_dirname -- "$mf" ||
   12167 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12168 	 X"$mf" : 'X\(//\)[^/]' \| \
   12169 	 X"$mf" : 'X\(//\)$' \| \
   12170 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12171 $as_echo X"$mf" |
   12172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12173 	    s//\1/
   12174 	    q
   12175 	  }
   12176 	  /^X\(\/\/\)[^/].*/{
   12177 	    s//\1/
   12178 	    q
   12179 	  }
   12180 	  /^X\(\/\/\)$/{
   12181 	    s//\1/
   12182 	    q
   12183 	  }
   12184 	  /^X\(\/\).*/{
   12185 	    s//\1/
   12186 	    q
   12187 	  }
   12188 	  s/.*/./; q'`
   12189     else
   12190       continue
   12191     fi
   12192     # Extract the definition of DEPDIR, am__include, and am__quote
   12193     # from the Makefile without running 'make'.
   12194     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12195     test -z "$DEPDIR" && continue
   12196     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12197     test -z "$am__include" && continue
   12198     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12199     # Find all dependency output files, they are included files with
   12200     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12201     # simplest approach to changing $(DEPDIR) to its actual value in the
   12202     # expansion.
   12203     for file in `sed -n "
   12204       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12205 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12206       # Make sure the directory exists.
   12207       test -f "$dirpart/$file" && continue
   12208       fdir=`$as_dirname -- "$file" ||
   12209 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12210 	 X"$file" : 'X\(//\)[^/]' \| \
   12211 	 X"$file" : 'X\(//\)$' \| \
   12212 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12213 $as_echo X"$file" |
   12214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12215 	    s//\1/
   12216 	    q
   12217 	  }
   12218 	  /^X\(\/\/\)[^/].*/{
   12219 	    s//\1/
   12220 	    q
   12221 	  }
   12222 	  /^X\(\/\/\)$/{
   12223 	    s//\1/
   12224 	    q
   12225 	  }
   12226 	  /^X\(\/\).*/{
   12227 	    s//\1/
   12228 	    q
   12229 	  }
   12230 	  s/.*/./; q'`
   12231       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12232       # echo "creating $dirpart/$file"
   12233       echo '# dummy' > "$dirpart/$file"
   12234     done
   12235   done
   12236 }
   12237  ;;
   12238 
   12239   esac
   12240 done # for ac_tag
   12241 
   12242 
   12243 as_fn_exit 0
   12244 _ACEOF
   12245 ac_clean_files=$ac_clean_files_save
   12246 
   12247 test $ac_write_fail = 0 ||
   12248   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12249 
   12250 
   12251 # configure is writing to config.log, and then calls config.status.
   12252 # config.status does its own redirection, appending to config.log.
   12253 # Unfortunately, on DOS this fails, as config.log is still kept open
   12254 # by configure, so config.status won't be able to write to it; its
   12255 # output is simply discarded.  So we exec the FD to /dev/null,
   12256 # effectively closing config.log, so it can be properly (re)opened and
   12257 # appended to by config.status.  When coming back to configure, we
   12258 # need to make the FD available again.
   12259 if test "$no_create" != yes; then
   12260   ac_cs_success=:
   12261   ac_config_status_args=
   12262   test "$silent" = yes &&
   12263     ac_config_status_args="$ac_config_status_args --quiet"
   12264   exec 5>/dev/null
   12265   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12266   exec 5>>config.log
   12267   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12268   # would make configure fail if this is the last instruction.
   12269   $ac_cs_success || as_fn_exit 1
   12270 fi
   12271 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12272   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12273 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12274 fi
   12275 
   12276