Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xlsclients 1.1.4.
      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='xlsclients'
    583 PACKAGE_TARNAME='xlsclients'
    584 PACKAGE_VERSION='1.1.4'
    585 PACKAGE_STRING='xlsclients 1.1.4'
    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 XLSCLIENTS_LIBS
    630 XLSCLIENTS_CFLAGS
    631 LIBOBJS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG_LIBDIR
    657 PKG_CONFIG_PATH
    658 PKG_CONFIG
    659 CHANGELOG_CMD
    660 STRICT_CFLAGS
    661 CWARNFLAGS
    662 BASE_CFLAGS
    663 AM_BACKSLASH
    664 AM_DEFAULT_VERBOSITY
    665 AM_DEFAULT_V
    666 AM_V
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__quote
    675 am__include
    676 DEPDIR
    677 am__untar
    678 am__tar
    679 AMTAR
    680 am__leading_dot
    681 SET_MAKE
    682 AWK
    683 mkdir_p
    684 MKDIR_P
    685 INSTALL_STRIP_PROGRAM
    686 STRIP
    687 install_sh
    688 MAKEINFO
    689 AUTOHEADER
    690 AUTOMAKE
    691 AUTOCONF
    692 ACLOCAL
    693 VERSION
    694 PACKAGE
    695 CYGPATH_W
    696 am__isrc
    697 INSTALL_DATA
    698 INSTALL_SCRIPT
    699 INSTALL_PROGRAM
    700 EGREP
    701 GREP
    702 CPP
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 target_alias
    711 host_alias
    712 build_alias
    713 LIBS
    714 ECHO_T
    715 ECHO_N
    716 ECHO_C
    717 DEFS
    718 mandir
    719 localedir
    720 libdir
    721 psdir
    722 pdfdir
    723 dvidir
    724 htmldir
    725 infodir
    726 docdir
    727 oldincludedir
    728 includedir
    729 localstatedir
    730 sharedstatedir
    731 sysconfdir
    732 datadir
    733 datarootdir
    734 libexecdir
    735 sbindir
    736 bindir
    737 program_transform_name
    738 prefix
    739 exec_prefix
    740 PACKAGE_URL
    741 PACKAGE_BUGREPORT
    742 PACKAGE_STRING
    743 PACKAGE_VERSION
    744 PACKAGE_TARNAME
    745 PACKAGE_NAME
    746 PATH_SEPARATOR
    747 SHELL'
    748 ac_subst_files=''
    749 ac_user_opts='
    750 enable_option_checking
    751 enable_dependency_tracking
    752 enable_silent_rules
    753 enable_selective_werror
    754 enable_strict_compilation
    755 '
    756       ac_precious_vars='build_alias
    757 host_alias
    758 target_alias
    759 CC
    760 CFLAGS
    761 LDFLAGS
    762 LIBS
    763 CPPFLAGS
    764 CPP
    765 PKG_CONFIG
    766 PKG_CONFIG_PATH
    767 PKG_CONFIG_LIBDIR
    768 XLSCLIENTS_CFLAGS
    769 XLSCLIENTS_LIBS'
    770 
    771 
    772 # Initialize some variables set by options.
    773 ac_init_help=
    774 ac_init_version=false
    775 ac_unrecognized_opts=
    776 ac_unrecognized_sep=
    777 # The variables have the same names as the options, with
    778 # dashes changed to underlines.
    779 cache_file=/dev/null
    780 exec_prefix=NONE
    781 no_create=
    782 no_recursion=
    783 prefix=NONE
    784 program_prefix=NONE
    785 program_suffix=NONE
    786 program_transform_name=s,x,x,
    787 silent=
    788 site=
    789 srcdir=
    790 verbose=
    791 x_includes=NONE
    792 x_libraries=NONE
    793 
    794 # Installation directory options.
    795 # These are left unexpanded so users can "make install exec_prefix=/foo"
    796 # and all the variables that are supposed to be based on exec_prefix
    797 # by default will actually change.
    798 # Use braces instead of parens because sh, perl, etc. also accept them.
    799 # (The list follows the same order as the GNU Coding Standards.)
    800 bindir='${exec_prefix}/bin'
    801 sbindir='${exec_prefix}/sbin'
    802 libexecdir='${exec_prefix}/libexec'
    803 datarootdir='${prefix}/share'
    804 datadir='${datarootdir}'
    805 sysconfdir='${prefix}/etc'
    806 sharedstatedir='${prefix}/com'
    807 localstatedir='${prefix}/var'
    808 includedir='${prefix}/include'
    809 oldincludedir='/usr/include'
    810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    811 infodir='${datarootdir}/info'
    812 htmldir='${docdir}'
    813 dvidir='${docdir}'
    814 pdfdir='${docdir}'
    815 psdir='${docdir}'
    816 libdir='${exec_prefix}/lib'
    817 localedir='${datarootdir}/locale'
    818 mandir='${datarootdir}/man'
    819 
    820 ac_prev=
    821 ac_dashdash=
    822 for ac_option
    823 do
    824   # If the previous option needs an argument, assign it.
    825   if test -n "$ac_prev"; then
    826     eval $ac_prev=\$ac_option
    827     ac_prev=
    828     continue
    829   fi
    830 
    831   case $ac_option in
    832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    833   *=)   ac_optarg= ;;
    834   *)    ac_optarg=yes ;;
    835   esac
    836 
    837   # Accept the important Cygnus configure options, so we can diagnose typos.
    838 
    839   case $ac_dashdash$ac_option in
    840   --)
    841     ac_dashdash=yes ;;
    842 
    843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    844     ac_prev=bindir ;;
    845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    846     bindir=$ac_optarg ;;
    847 
    848   -build | --build | --buil | --bui | --bu)
    849     ac_prev=build_alias ;;
    850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    851     build_alias=$ac_optarg ;;
    852 
    853   -cache-file | --cache-file | --cache-fil | --cache-fi \
    854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    855     ac_prev=cache_file ;;
    856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    858     cache_file=$ac_optarg ;;
    859 
    860   --config-cache | -C)
    861     cache_file=config.cache ;;
    862 
    863   -datadir | --datadir | --datadi | --datad)
    864     ac_prev=datadir ;;
    865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    866     datadir=$ac_optarg ;;
    867 
    868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    869   | --dataroo | --dataro | --datar)
    870     ac_prev=datarootdir ;;
    871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    873     datarootdir=$ac_optarg ;;
    874 
    875   -disable-* | --disable-*)
    876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877     # Reject names that are not valid shell variable names.
    878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    879       as_fn_error $? "invalid feature name: $ac_useropt"
    880     ac_useropt_orig=$ac_useropt
    881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    882     case $ac_user_opts in
    883       *"
    884 "enable_$ac_useropt"
    885 "*) ;;
    886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    887 	 ac_unrecognized_sep=', ';;
    888     esac
    889     eval enable_$ac_useropt=no ;;
    890 
    891   -docdir | --docdir | --docdi | --doc | --do)
    892     ac_prev=docdir ;;
    893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    894     docdir=$ac_optarg ;;
    895 
    896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    897     ac_prev=dvidir ;;
    898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    899     dvidir=$ac_optarg ;;
    900 
    901   -enable-* | --enable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=\$ac_optarg ;;
    916 
    917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    919   | --exec | --exe | --ex)
    920     ac_prev=exec_prefix ;;
    921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    923   | --exec=* | --exe=* | --ex=*)
    924     exec_prefix=$ac_optarg ;;
    925 
    926   -gas | --gas | --ga | --g)
    927     # Obsolete; use --with-gas.
    928     with_gas=yes ;;
    929 
    930   -help | --help | --hel | --he | -h)
    931     ac_init_help=long ;;
    932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    933     ac_init_help=recursive ;;
    934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    935     ac_init_help=short ;;
    936 
    937   -host | --host | --hos | --ho)
    938     ac_prev=host_alias ;;
    939   -host=* | --host=* | --hos=* | --ho=*)
    940     host_alias=$ac_optarg ;;
    941 
    942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    943     ac_prev=htmldir ;;
    944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    945   | --ht=*)
    946     htmldir=$ac_optarg ;;
    947 
    948   -includedir | --includedir | --includedi | --included | --include \
    949   | --includ | --inclu | --incl | --inc)
    950     ac_prev=includedir ;;
    951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    952   | --includ=* | --inclu=* | --incl=* | --inc=*)
    953     includedir=$ac_optarg ;;
    954 
    955   -infodir | --infodir | --infodi | --infod | --info | --inf)
    956     ac_prev=infodir ;;
    957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    958     infodir=$ac_optarg ;;
    959 
    960   -libdir | --libdir | --libdi | --libd)
    961     ac_prev=libdir ;;
    962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    963     libdir=$ac_optarg ;;
    964 
    965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    966   | --libexe | --libex | --libe)
    967     ac_prev=libexecdir ;;
    968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    969   | --libexe=* | --libex=* | --libe=*)
    970     libexecdir=$ac_optarg ;;
    971 
    972   -localedir | --localedir | --localedi | --localed | --locale)
    973     ac_prev=localedir ;;
    974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    975     localedir=$ac_optarg ;;
    976 
    977   -localstatedir | --localstatedir | --localstatedi | --localstated \
    978   | --localstate | --localstat | --localsta | --localst | --locals)
    979     ac_prev=localstatedir ;;
    980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    982     localstatedir=$ac_optarg ;;
    983 
    984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    985     ac_prev=mandir ;;
    986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    987     mandir=$ac_optarg ;;
    988 
    989   -nfp | --nfp | --nf)
    990     # Obsolete; use --without-fp.
    991     with_fp=no ;;
    992 
    993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    994   | --no-cr | --no-c | -n)
    995     no_create=yes ;;
    996 
    997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    999     no_recursion=yes ;;
   1000 
   1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1003   | --oldin | --oldi | --old | --ol | --o)
   1004     ac_prev=oldincludedir ;;
   1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1008     oldincludedir=$ac_optarg ;;
   1009 
   1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1011     ac_prev=prefix ;;
   1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1013     prefix=$ac_optarg ;;
   1014 
   1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1016   | --program-pre | --program-pr | --program-p)
   1017     ac_prev=program_prefix ;;
   1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1020     program_prefix=$ac_optarg ;;
   1021 
   1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1023   | --program-suf | --program-su | --program-s)
   1024     ac_prev=program_suffix ;;
   1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1027     program_suffix=$ac_optarg ;;
   1028 
   1029   -program-transform-name | --program-transform-name \
   1030   | --program-transform-nam | --program-transform-na \
   1031   | --program-transform-n | --program-transform- \
   1032   | --program-transform | --program-transfor \
   1033   | --program-transfo | --program-transf \
   1034   | --program-trans | --program-tran \
   1035   | --progr-tra | --program-tr | --program-t)
   1036     ac_prev=program_transform_name ;;
   1037   -program-transform-name=* | --program-transform-name=* \
   1038   | --program-transform-nam=* | --program-transform-na=* \
   1039   | --program-transform-n=* | --program-transform-=* \
   1040   | --program-transform=* | --program-transfor=* \
   1041   | --program-transfo=* | --program-transf=* \
   1042   | --program-trans=* | --program-tran=* \
   1043   | --progr-tra=* | --program-tr=* | --program-t=*)
   1044     program_transform_name=$ac_optarg ;;
   1045 
   1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1047     ac_prev=pdfdir ;;
   1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1049     pdfdir=$ac_optarg ;;
   1050 
   1051   -psdir | --psdir | --psdi | --psd | --ps)
   1052     ac_prev=psdir ;;
   1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1054     psdir=$ac_optarg ;;
   1055 
   1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1057   | -silent | --silent | --silen | --sile | --sil)
   1058     silent=yes ;;
   1059 
   1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1061     ac_prev=sbindir ;;
   1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1063   | --sbi=* | --sb=*)
   1064     sbindir=$ac_optarg ;;
   1065 
   1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1068   | --sharedst | --shareds | --shared | --share | --shar \
   1069   | --sha | --sh)
   1070     ac_prev=sharedstatedir ;;
   1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1074   | --sha=* | --sh=*)
   1075     sharedstatedir=$ac_optarg ;;
   1076 
   1077   -site | --site | --sit)
   1078     ac_prev=site ;;
   1079   -site=* | --site=* | --sit=*)
   1080     site=$ac_optarg ;;
   1081 
   1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1083     ac_prev=srcdir ;;
   1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1085     srcdir=$ac_optarg ;;
   1086 
   1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1088   | --syscon | --sysco | --sysc | --sys | --sy)
   1089     ac_prev=sysconfdir ;;
   1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1092     sysconfdir=$ac_optarg ;;
   1093 
   1094   -target | --target | --targe | --targ | --tar | --ta | --t)
   1095     ac_prev=target_alias ;;
   1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1097     target_alias=$ac_optarg ;;
   1098 
   1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1100     verbose=yes ;;
   1101 
   1102   -version | --version | --versio | --versi | --vers | -V)
   1103     ac_init_version=: ;;
   1104 
   1105   -with-* | --with-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -without-* | --without-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=no ;;
   1136 
   1137   --x)
   1138     # Obsolete; use --with-x.
   1139     with_x=yes ;;
   1140 
   1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1142   | --x-incl | --x-inc | --x-in | --x-i)
   1143     ac_prev=x_includes ;;
   1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1146     x_includes=$ac_optarg ;;
   1147 
   1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1150     ac_prev=x_libraries ;;
   1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1153     x_libraries=$ac_optarg ;;
   1154 
   1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1156 Try \`$0 --help' for more information"
   1157     ;;
   1158 
   1159   *=*)
   1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1161     # Reject names that are not valid shell variable names.
   1162     case $ac_envvar in #(
   1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1165     esac
   1166     eval $ac_envvar=\$ac_optarg
   1167     export $ac_envvar ;;
   1168 
   1169   *)
   1170     # FIXME: should be removed in autoconf 3.0.
   1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1175     ;;
   1176 
   1177   esac
   1178 done
   1179 
   1180 if test -n "$ac_prev"; then
   1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1182   as_fn_error $? "missing argument to $ac_option"
   1183 fi
   1184 
   1185 if test -n "$ac_unrecognized_opts"; then
   1186   case $enable_option_checking in
   1187     no) ;;
   1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1190   esac
   1191 fi
   1192 
   1193 # Check all directory arguments for consistency.
   1194 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1195 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1196 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1197 		libdir localedir mandir
   1198 do
   1199   eval ac_val=\$$ac_var
   1200   # Remove trailing slashes.
   1201   case $ac_val in
   1202     */ )
   1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1204       eval $ac_var=\$ac_val;;
   1205   esac
   1206   # Be sure to have absolute directory names.
   1207   case $ac_val in
   1208     [\\/$]* | ?:[\\/]* )  continue;;
   1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1210   esac
   1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1212 done
   1213 
   1214 # There might be people who depend on the old broken behavior: `$host'
   1215 # used to hold the argument of --host etc.
   1216 # FIXME: To remove some day.
   1217 build=$build_alias
   1218 host=$host_alias
   1219 target=$target_alias
   1220 
   1221 # FIXME: To remove some day.
   1222 if test "x$host_alias" != x; then
   1223   if test "x$build_alias" = x; then
   1224     cross_compiling=maybe
   1225   elif test "x$build_alias" != "x$host_alias"; then
   1226     cross_compiling=yes
   1227   fi
   1228 fi
   1229 
   1230 ac_tool_prefix=
   1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1232 
   1233 test "$silent" = yes && exec 6>/dev/null
   1234 
   1235 
   1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1237 ac_ls_di=`ls -di .` &&
   1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1239   as_fn_error $? "working directory cannot be determined"
   1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1241   as_fn_error $? "pwd does not report name of working directory"
   1242 
   1243 
   1244 # Find the source files, if location was not specified.
   1245 if test -z "$srcdir"; then
   1246   ac_srcdir_defaulted=yes
   1247   # Try the directory containing this script, then the parent directory.
   1248   ac_confdir=`$as_dirname -- "$as_myself" ||
   1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1250 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1251 	 X"$as_myself" : 'X\(//\)$' \| \
   1252 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1253 $as_echo X"$as_myself" |
   1254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)[^/].*/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\).*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  s/.*/./; q'`
   1271   srcdir=$ac_confdir
   1272   if test ! -r "$srcdir/$ac_unique_file"; then
   1273     srcdir=..
   1274   fi
   1275 else
   1276   ac_srcdir_defaulted=no
   1277 fi
   1278 if test ! -r "$srcdir/$ac_unique_file"; then
   1279   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1280   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1281 fi
   1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1283 ac_abs_confdir=`(
   1284 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1285 	pwd)`
   1286 # When building in place, set srcdir=.
   1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1288   srcdir=.
   1289 fi
   1290 # Remove unnecessary trailing slashes from srcdir.
   1291 # Double slashes in file names in object file debugging info
   1292 # mess up M-x gdb in Emacs.
   1293 case $srcdir in
   1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1295 esac
   1296 for ac_var in $ac_precious_vars; do
   1297   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_env_${ac_var}_value=\$${ac_var}
   1299   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1301 done
   1302 
   1303 #
   1304 # Report the --help message.
   1305 #
   1306 if test "$ac_init_help" = "long"; then
   1307   # Omit some internal or obsolete options to make the list less imposing.
   1308   # This message is too long to be a string in the A/UX 3.1 sh.
   1309   cat <<_ACEOF
   1310 \`configure' configures xlsclients 1.1.4 to adapt to many kinds of systems.
   1311 
   1312 Usage: $0 [OPTION]... [VAR=VALUE]...
   1313 
   1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1315 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1316 
   1317 Defaults for the options are specified in brackets.
   1318 
   1319 Configuration:
   1320   -h, --help              display this help and exit
   1321       --help=short        display options specific to this package
   1322       --help=recursive    display the short help of all the included packages
   1323   -V, --version           display version information and exit
   1324   -q, --quiet, --silent   do not print \`checking ...' messages
   1325       --cache-file=FILE   cache test results in FILE [disabled]
   1326   -C, --config-cache      alias for \`--cache-file=config.cache'
   1327   -n, --no-create         do not create output files
   1328       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1329 
   1330 Installation directories:
   1331   --prefix=PREFIX         install architecture-independent files in PREFIX
   1332                           [$ac_default_prefix]
   1333   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1334                           [PREFIX]
   1335 
   1336 By default, \`make install' will install all the files in
   1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1339 for instance \`--prefix=\$HOME'.
   1340 
   1341 For better control, use the options below.
   1342 
   1343 Fine tuning of the installation directories:
   1344   --bindir=DIR            user executables [EPREFIX/bin]
   1345   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1346   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1347   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1348   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1349   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1350   --libdir=DIR            object code libraries [EPREFIX/lib]
   1351   --includedir=DIR        C header files [PREFIX/include]
   1352   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1353   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1354   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1355   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1356   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1357   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1358   --docdir=DIR            documentation root [DATAROOTDIR/doc/xlsclients]
   1359   --htmldir=DIR           html documentation [DOCDIR]
   1360   --dvidir=DIR            dvi documentation [DOCDIR]
   1361   --pdfdir=DIR            pdf documentation [DOCDIR]
   1362   --psdir=DIR             ps documentation [DOCDIR]
   1363 _ACEOF
   1364 
   1365   cat <<\_ACEOF
   1366 
   1367 Program names:
   1368   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1369   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1370   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1371 
   1372 System types:
   1373   --build=BUILD     configure for building on BUILD [guessed]
   1374   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1375 _ACEOF
   1376 fi
   1377 
   1378 if test -n "$ac_init_help"; then
   1379   case $ac_init_help in
   1380      short | recursive ) echo "Configuration of xlsclients 1.1.4:";;
   1381    esac
   1382   cat <<\_ACEOF
   1383 
   1384 Optional Features:
   1385   --disable-option-checking  ignore unrecognized --enable/--with options
   1386   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1387   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1388   --enable-dependency-tracking
   1389                           do not reject slow dependency extractors
   1390   --disable-dependency-tracking
   1391                           speeds up one-time build
   1392   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1393   --disable-silent-rules  verbose build output (undo: "make V=0")
   1394   --disable-selective-werror
   1395                           Turn off selective compiler errors. (default:
   1396                           enabled)
   1397   --enable-strict-compilation
   1398                           Enable all warnings from compiler and make them
   1399                           errors (default: disabled)
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   PKG_CONFIG_PATH
   1412               directories to add to pkg-config's search path
   1413   PKG_CONFIG_LIBDIR
   1414               path overriding pkg-config's built-in search path
   1415   XLSCLIENTS_CFLAGS
   1416               C compiler flags for XLSCLIENTS, overriding pkg-config
   1417   XLSCLIENTS_LIBS
   1418               linker flags for XLSCLIENTS, overriding pkg-config
   1419 
   1420 Use these variables to override the choices made by `configure' or to help
   1421 it to find libraries and programs with nonstandard names/locations.
   1422 
   1423 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1424 _ACEOF
   1425 ac_status=$?
   1426 fi
   1427 
   1428 if test "$ac_init_help" = "recursive"; then
   1429   # If there are subdirs, report their specific --help.
   1430   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1431     test -d "$ac_dir" ||
   1432       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1433       continue
   1434     ac_builddir=.
   1435 
   1436 case "$ac_dir" in
   1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1438 *)
   1439   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1440   # A ".." for each directory in $ac_dir_suffix.
   1441   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1442   case $ac_top_builddir_sub in
   1443   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1444   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1445   esac ;;
   1446 esac
   1447 ac_abs_top_builddir=$ac_pwd
   1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1449 # for backward compatibility:
   1450 ac_top_builddir=$ac_top_build_prefix
   1451 
   1452 case $srcdir in
   1453   .)  # We are building in place.
   1454     ac_srcdir=.
   1455     ac_top_srcdir=$ac_top_builddir_sub
   1456     ac_abs_top_srcdir=$ac_pwd ;;
   1457   [\\/]* | ?:[\\/]* )  # Absolute name.
   1458     ac_srcdir=$srcdir$ac_dir_suffix;
   1459     ac_top_srcdir=$srcdir
   1460     ac_abs_top_srcdir=$srcdir ;;
   1461   *) # Relative name.
   1462     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1463     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1464     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1465 esac
   1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1467 
   1468     cd "$ac_dir" || { ac_status=$?; continue; }
   1469     # Check for guested configure.
   1470     if test -f "$ac_srcdir/configure.gnu"; then
   1471       echo &&
   1472       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1473     elif test -f "$ac_srcdir/configure"; then
   1474       echo &&
   1475       $SHELL "$ac_srcdir/configure" --help=recursive
   1476     else
   1477       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1478     fi || ac_status=$?
   1479     cd "$ac_pwd" || { ac_status=$?; break; }
   1480   done
   1481 fi
   1482 
   1483 test -n "$ac_init_help" && exit $ac_status
   1484 if $ac_init_version; then
   1485   cat <<\_ACEOF
   1486 xlsclients configure 1.1.4
   1487 generated by GNU Autoconf 2.69
   1488 
   1489 Copyright (C) 2012 Free Software Foundation, Inc.
   1490 This configure script is free software; the Free Software Foundation
   1491 gives unlimited permission to copy, distribute and modify it.
   1492 _ACEOF
   1493   exit
   1494 fi
   1495 
   1496 ## ------------------------ ##
   1497 ## Autoconf initialization. ##
   1498 ## ------------------------ ##
   1499 
   1500 # ac_fn_c_try_compile LINENO
   1501 # --------------------------
   1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1503 ac_fn_c_try_compile ()
   1504 {
   1505   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1506   rm -f conftest.$ac_objext
   1507   if { { ac_try="$ac_compile"
   1508 case "(($ac_try" in
   1509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1510   *) ac_try_echo=$ac_try;;
   1511 esac
   1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1513 $as_echo "$ac_try_echo"; } >&5
   1514   (eval "$ac_compile") 2>conftest.err
   1515   ac_status=$?
   1516   if test -s conftest.err; then
   1517     grep -v '^ *+' conftest.err >conftest.er1
   1518     cat conftest.er1 >&5
   1519     mv -f conftest.er1 conftest.err
   1520   fi
   1521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1522   test $ac_status = 0; } && {
   1523 	 test -z "$ac_c_werror_flag" ||
   1524 	 test ! -s conftest.err
   1525        } && test -s conftest.$ac_objext; then :
   1526   ac_retval=0
   1527 else
   1528   $as_echo "$as_me: failed program was:" >&5
   1529 sed 's/^/| /' conftest.$ac_ext >&5
   1530 
   1531 	ac_retval=1
   1532 fi
   1533   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1534   as_fn_set_status $ac_retval
   1535 
   1536 } # ac_fn_c_try_compile
   1537 
   1538 # ac_fn_c_try_cpp LINENO
   1539 # ----------------------
   1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1541 ac_fn_c_try_cpp ()
   1542 {
   1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1544   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1545 case "(($ac_try" in
   1546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1547   *) ac_try_echo=$ac_try;;
   1548 esac
   1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1550 $as_echo "$ac_try_echo"; } >&5
   1551   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1552   ac_status=$?
   1553   if test -s conftest.err; then
   1554     grep -v '^ *+' conftest.err >conftest.er1
   1555     cat conftest.er1 >&5
   1556     mv -f conftest.er1 conftest.err
   1557   fi
   1558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1559   test $ac_status = 0; } > conftest.i && {
   1560 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1561 	 test ! -s conftest.err
   1562        }; then :
   1563   ac_retval=0
   1564 else
   1565   $as_echo "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568     ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_cpp
   1574 
   1575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1576 # -------------------------------------------------------
   1577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1578 # the include files in INCLUDES and setting the cache variable VAR
   1579 # accordingly.
   1580 ac_fn_c_check_header_mongrel ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   if eval \${$3+:} false; then :
   1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1585 $as_echo_n "checking for $2... " >&6; }
   1586 if eval \${$3+:} false; then :
   1587   $as_echo_n "(cached) " >&6
   1588 fi
   1589 eval ac_res=\$$3
   1590 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1591 $as_echo "$ac_res" >&6; }
   1592 else
   1593   # Is the header compilable?
   1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1595 $as_echo_n "checking $2 usability... " >&6; }
   1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1597 /* end confdefs.h.  */
   1598 $4
   1599 #include <$2>
   1600 _ACEOF
   1601 if ac_fn_c_try_compile "$LINENO"; then :
   1602   ac_header_compiler=yes
   1603 else
   1604   ac_header_compiler=no
   1605 fi
   1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1608 $as_echo "$ac_header_compiler" >&6; }
   1609 
   1610 # Is the header present?
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1612 $as_echo_n "checking $2 presence... " >&6; }
   1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 #include <$2>
   1616 _ACEOF
   1617 if ac_fn_c_try_cpp "$LINENO"; then :
   1618   ac_header_preproc=yes
   1619 else
   1620   ac_header_preproc=no
   1621 fi
   1622 rm -f conftest.err conftest.i conftest.$ac_ext
   1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1624 $as_echo "$ac_header_preproc" >&6; }
   1625 
   1626 # So?  What about this header?
   1627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1628   yes:no: )
   1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1633     ;;
   1634   no:yes:* )
   1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1638 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1642 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1645 ( $as_echo "## ---------------------------------------------------------------------- ##
   1646 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1647 ## ---------------------------------------------------------------------- ##"
   1648      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1649     ;;
   1650 esac
   1651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1652 $as_echo_n "checking for $2... " >&6; }
   1653 if eval \${$3+:} false; then :
   1654   $as_echo_n "(cached) " >&6
   1655 else
   1656   eval "$3=\$ac_header_compiler"
   1657 fi
   1658 eval ac_res=\$$3
   1659 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1660 $as_echo "$ac_res" >&6; }
   1661 fi
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663 
   1664 } # ac_fn_c_check_header_mongrel
   1665 
   1666 # ac_fn_c_try_run LINENO
   1667 # ----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1669 # that executables *can* be run.
   1670 ac_fn_c_try_run ()
   1671 {
   1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>&5
   1681   ac_status=$?
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1684   { { case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_try") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; }; }; then :
   1694   ac_retval=0
   1695 else
   1696   $as_echo "$as_me: program exited with status $ac_status" >&5
   1697        $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700        ac_retval=$ac_status
   1701 fi
   1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1704   as_fn_set_status $ac_retval
   1705 
   1706 } # ac_fn_c_try_run
   1707 
   1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1709 # -------------------------------------------------------
   1710 # Tests whether HEADER exists and can be compiled using the include files in
   1711 # INCLUDES, setting the cache variable VAR accordingly.
   1712 ac_fn_c_check_header_compile ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1716 $as_echo_n "checking for $2... " >&6; }
   1717 if eval \${$3+:} false; then :
   1718   $as_echo_n "(cached) " >&6
   1719 else
   1720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1721 /* end confdefs.h.  */
   1722 $4
   1723 #include <$2>
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"; then :
   1726   eval "$3=yes"
   1727 else
   1728   eval "$3=no"
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 $as_echo "$ac_res" >&6; }
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736 
   1737 } # ac_fn_c_check_header_compile
   1738 
   1739 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1740 # ---------------------------------------------
   1741 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1742 # accordingly.
   1743 ac_fn_c_check_decl ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1747   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1749 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1750 if eval \${$3+:} false; then :
   1751   $as_echo_n "(cached) " >&6
   1752 else
   1753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1754 /* end confdefs.h.  */
   1755 $4
   1756 int
   1757 main ()
   1758 {
   1759 #ifndef $as_decl_name
   1760 #ifdef __cplusplus
   1761   (void) $as_decl_use;
   1762 #else
   1763   (void) $as_decl_name;
   1764 #endif
   1765 #endif
   1766 
   1767   ;
   1768   return 0;
   1769 }
   1770 _ACEOF
   1771 if ac_fn_c_try_compile "$LINENO"; then :
   1772   eval "$3=yes"
   1773 else
   1774   eval "$3=no"
   1775 fi
   1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 $as_echo "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_decl
   1784 
   1785 # ac_fn_c_try_link LINENO
   1786 # -----------------------
   1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1788 ac_fn_c_try_link ()
   1789 {
   1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1791   rm -f conftest.$ac_objext conftest$ac_exeext
   1792   if { { ac_try="$ac_link"
   1793 case "(($ac_try" in
   1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1795   *) ac_try_echo=$ac_try;;
   1796 esac
   1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1798 $as_echo "$ac_try_echo"; } >&5
   1799   (eval "$ac_link") 2>conftest.err
   1800   ac_status=$?
   1801   if test -s conftest.err; then
   1802     grep -v '^ *+' conftest.err >conftest.er1
   1803     cat conftest.er1 >&5
   1804     mv -f conftest.er1 conftest.err
   1805   fi
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && {
   1808 	 test -z "$ac_c_werror_flag" ||
   1809 	 test ! -s conftest.err
   1810        } && test -s conftest$ac_exeext && {
   1811 	 test "$cross_compiling" = yes ||
   1812 	 test -x conftest$ac_exeext
   1813        }; then :
   1814   ac_retval=0
   1815 else
   1816   $as_echo "$as_me: failed program was:" >&5
   1817 sed 's/^/| /' conftest.$ac_ext >&5
   1818 
   1819 	ac_retval=1
   1820 fi
   1821   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1822   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1823   # interfere with the next link command; also delete a directory that is
   1824   # left behind by Apple's compiler.  We do this before executing the actions.
   1825   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_c_try_link
   1830 cat >config.log <<_ACEOF
   1831 This file contains any messages produced by compilers while
   1832 running configure, to aid debugging if configure makes a mistake.
   1833 
   1834 It was created by xlsclients $as_me 1.1.4, which was
   1835 generated by GNU Autoconf 2.69.  Invocation command line was
   1836 
   1837   $ $0 $@
   1838 
   1839 _ACEOF
   1840 exec 5>>config.log
   1841 {
   1842 cat <<_ASUNAME
   1843 ## --------- ##
   1844 ## Platform. ##
   1845 ## --------- ##
   1846 
   1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1852 
   1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1855 
   1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1863 
   1864 _ASUNAME
   1865 
   1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1867 for as_dir in $PATH
   1868 do
   1869   IFS=$as_save_IFS
   1870   test -z "$as_dir" && as_dir=.
   1871     $as_echo "PATH: $as_dir"
   1872   done
   1873 IFS=$as_save_IFS
   1874 
   1875 } >&5
   1876 
   1877 cat >&5 <<_ACEOF
   1878 
   1879 
   1880 ## ----------- ##
   1881 ## Core tests. ##
   1882 ## ----------- ##
   1883 
   1884 _ACEOF
   1885 
   1886 
   1887 # Keep a trace of the command line.
   1888 # Strip out --no-create and --no-recursion so they do not pile up.
   1889 # Strip out --silent because we don't want to record it for future runs.
   1890 # Also quote any args containing shell meta-characters.
   1891 # Make two passes to allow for proper duplicate-argument suppression.
   1892 ac_configure_args=
   1893 ac_configure_args0=
   1894 ac_configure_args1=
   1895 ac_must_keep_next=false
   1896 for ac_pass in 1 2
   1897 do
   1898   for ac_arg
   1899   do
   1900     case $ac_arg in
   1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1903     | -silent | --silent | --silen | --sile | --sil)
   1904       continue ;;
   1905     *\'*)
   1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1907     esac
   1908     case $ac_pass in
   1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1910     2)
   1911       as_fn_append ac_configure_args1 " '$ac_arg'"
   1912       if test $ac_must_keep_next = true; then
   1913 	ac_must_keep_next=false # Got value, back to normal.
   1914       else
   1915 	case $ac_arg in
   1916 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1917 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1918 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1919 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1920 	    case "$ac_configure_args0 " in
   1921 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1922 	    esac
   1923 	    ;;
   1924 	  -* ) ac_must_keep_next=true ;;
   1925 	esac
   1926       fi
   1927       as_fn_append ac_configure_args " '$ac_arg'"
   1928       ;;
   1929     esac
   1930   done
   1931 done
   1932 { ac_configure_args0=; unset ac_configure_args0;}
   1933 { ac_configure_args1=; unset ac_configure_args1;}
   1934 
   1935 # When interrupted or exit'd, cleanup temporary files, and complete
   1936 # config.log.  We remove comments because anyway the quotes in there
   1937 # would cause problems or look ugly.
   1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1940 trap 'exit_status=$?
   1941   # Save into config.log some information that might help in debugging.
   1942   {
   1943     echo
   1944 
   1945     $as_echo "## ---------------- ##
   1946 ## Cache variables. ##
   1947 ## ---------------- ##"
   1948     echo
   1949     # The following way of writing the cache mishandles newlines in values,
   1950 (
   1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1952     eval ac_val=\$$ac_var
   1953     case $ac_val in #(
   1954     *${as_nl}*)
   1955       case $ac_var in #(
   1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1958       esac
   1959       case $ac_var in #(
   1960       _ | IFS | as_nl) ;; #(
   1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1962       *) { eval $ac_var=; unset $ac_var;} ;;
   1963       esac ;;
   1964     esac
   1965   done
   1966   (set) 2>&1 |
   1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1968     *${as_nl}ac_space=\ *)
   1969       sed -n \
   1970 	"s/'\''/'\''\\\\'\'''\''/g;
   1971 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1972       ;; #(
   1973     *)
   1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1975       ;;
   1976     esac |
   1977     sort
   1978 )
   1979     echo
   1980 
   1981     $as_echo "## ----------------- ##
   1982 ## Output variables. ##
   1983 ## ----------------- ##"
   1984     echo
   1985     for ac_var in $ac_subst_vars
   1986     do
   1987       eval ac_val=\$$ac_var
   1988       case $ac_val in
   1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1990       esac
   1991       $as_echo "$ac_var='\''$ac_val'\''"
   1992     done | sort
   1993     echo
   1994 
   1995     if test -n "$ac_subst_files"; then
   1996       $as_echo "## ------------------- ##
   1997 ## File substitutions. ##
   1998 ## ------------------- ##"
   1999       echo
   2000       for ac_var in $ac_subst_files
   2001       do
   2002 	eval ac_val=\$$ac_var
   2003 	case $ac_val in
   2004 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005 	esac
   2006 	$as_echo "$ac_var='\''$ac_val'\''"
   2007       done | sort
   2008       echo
   2009     fi
   2010 
   2011     if test -s confdefs.h; then
   2012       $as_echo "## ----------- ##
   2013 ## confdefs.h. ##
   2014 ## ----------- ##"
   2015       echo
   2016       cat confdefs.h
   2017       echo
   2018     fi
   2019     test "$ac_signal" != 0 &&
   2020       $as_echo "$as_me: caught signal $ac_signal"
   2021     $as_echo "$as_me: exit $exit_status"
   2022   } >&5
   2023   rm -f core *.core core.conftest.* &&
   2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2025     exit $exit_status
   2026 ' 0
   2027 for ac_signal in 1 2 13 15; do
   2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2029 done
   2030 ac_signal=0
   2031 
   2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2033 rm -f -r conftest* confdefs.h
   2034 
   2035 $as_echo "/* confdefs.h */" > confdefs.h
   2036 
   2037 # Predefined preprocessor variables.
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_NAME "$PACKAGE_NAME"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_STRING "$PACKAGE_STRING"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_URL "$PACKAGE_URL"
   2061 _ACEOF
   2062 
   2063 
   2064 # Let the site file select an alternate cache file if it wants to.
   2065 # Prefer an explicitly selected file to automatically selected ones.
   2066 ac_site_file1=NONE
   2067 ac_site_file2=NONE
   2068 if test -n "$CONFIG_SITE"; then
   2069   # We do not want a PATH search for config.site.
   2070   case $CONFIG_SITE in #((
   2071     -*)  ac_site_file1=./$CONFIG_SITE;;
   2072     */*) ac_site_file1=$CONFIG_SITE;;
   2073     *)   ac_site_file1=./$CONFIG_SITE;;
   2074   esac
   2075 elif test "x$prefix" != xNONE; then
   2076   ac_site_file1=$prefix/share/config.site
   2077   ac_site_file2=$prefix/etc/config.site
   2078 else
   2079   ac_site_file1=$ac_default_prefix/share/config.site
   2080   ac_site_file2=$ac_default_prefix/etc/config.site
   2081 fi
   2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2083 do
   2084   test "x$ac_site_file" = xNONE && continue
   2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2088     sed 's/^/| /' "$ac_site_file" >&5
   2089     . "$ac_site_file" \
   2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2092 as_fn_error $? "failed to load site script $ac_site_file
   2093 See \`config.log' for more details" "$LINENO" 5; }
   2094   fi
   2095 done
   2096 
   2097 if test -r "$cache_file"; then
   2098   # Some versions of bash will fail to source /dev/null (special files
   2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2103     case $cache_file in
   2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2105       *)                      . "./$cache_file";;
   2106     esac
   2107   fi
   2108 else
   2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2111   >$cache_file
   2112 fi
   2113 
   2114 # Check that the precious variables saved in the cache have kept the same
   2115 # value.
   2116 ac_cache_corrupted=false
   2117 for ac_var in $ac_precious_vars; do
   2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2119   eval ac_new_set=\$ac_env_${ac_var}_set
   2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2121   eval ac_new_val=\$ac_env_${ac_var}_value
   2122   case $ac_old_set,$ac_new_set in
   2123     set,)
   2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2126       ac_cache_corrupted=: ;;
   2127     ,set)
   2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2130       ac_cache_corrupted=: ;;
   2131     ,);;
   2132     *)
   2133       if test "x$ac_old_val" != "x$ac_new_val"; then
   2134 	# differences in whitespace do not lead to failure.
   2135 	ac_old_val_w=`echo x $ac_old_val`
   2136 	ac_new_val_w=`echo x $ac_new_val`
   2137 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2138 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2140 	  ac_cache_corrupted=:
   2141 	else
   2142 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2144 	  eval $ac_var=\$ac_old_val
   2145 	fi
   2146 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2148 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2150       fi;;
   2151   esac
   2152   # Pass precious variables to config.status.
   2153   if test "$ac_new_set" = set; then
   2154     case $ac_new_val in
   2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2156     *) ac_arg=$ac_var=$ac_new_val ;;
   2157     esac
   2158     case " $ac_configure_args " in
   2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2161     esac
   2162   fi
   2163 done
   2164 if $ac_cache_corrupted; then
   2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2170 fi
   2171 ## -------------------- ##
   2172 ## Main body of script. ##
   2173 ## -------------------- ##
   2174 
   2175 ac_ext=c
   2176 ac_cpp='$CPP $CPPFLAGS'
   2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2180 
   2181 
   2182 
   2183 ac_config_headers="$ac_config_headers config.h"
   2184 
   2185 ac_aux_dir=
   2186 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2187   if test -f "$ac_dir/install-sh"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/install-sh -c"
   2190     break
   2191   elif test -f "$ac_dir/install.sh"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/install.sh -c"
   2194     break
   2195   elif test -f "$ac_dir/shtool"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/shtool install -c"
   2198     break
   2199   fi
   2200 done
   2201 if test -z "$ac_aux_dir"; then
   2202   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2203 fi
   2204 
   2205 # These three variables are undocumented and unsupported,
   2206 # and are intended to be withdrawn in a future Autoconf release.
   2207 # They can cause serious problems if a builder's source tree is in a directory
   2208 # whose full name contains unusual characters.
   2209 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2210 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2211 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2212 
   2213 
   2214 # Expand $ac_aux_dir to an absolute path.
   2215 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2216 
   2217 ac_ext=c
   2218 ac_cpp='$CPP $CPPFLAGS'
   2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2222 if test -n "$ac_tool_prefix"; then
   2223   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2224 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2226 $as_echo_n "checking for $ac_word... " >&6; }
   2227 if ${ac_cv_prog_CC+:} false; then :
   2228   $as_echo_n "(cached) " >&6
   2229 else
   2230   if test -n "$CC"; then
   2231   ac_cv_prog_CC="$CC" # Let the user override the test.
   2232 else
   2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2234 for as_dir in $PATH
   2235 do
   2236   IFS=$as_save_IFS
   2237   test -z "$as_dir" && as_dir=.
   2238     for ac_exec_ext in '' $ac_executable_extensions; do
   2239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2240     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2242     break 2
   2243   fi
   2244 done
   2245   done
   2246 IFS=$as_save_IFS
   2247 
   2248 fi
   2249 fi
   2250 CC=$ac_cv_prog_CC
   2251 if test -n "$CC"; then
   2252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2253 $as_echo "$CC" >&6; }
   2254 else
   2255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2256 $as_echo "no" >&6; }
   2257 fi
   2258 
   2259 
   2260 fi
   2261 if test -z "$ac_cv_prog_CC"; then
   2262   ac_ct_CC=$CC
   2263   # Extract the first word of "gcc", so it can be a program name with args.
   2264 set dummy gcc; ac_word=$2
   2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2266 $as_echo_n "checking for $ac_word... " >&6; }
   2267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2268   $as_echo_n "(cached) " >&6
   2269 else
   2270   if test -n "$ac_ct_CC"; then
   2271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2272 else
   2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2274 for as_dir in $PATH
   2275 do
   2276   IFS=$as_save_IFS
   2277   test -z "$as_dir" && as_dir=.
   2278     for ac_exec_ext in '' $ac_executable_extensions; do
   2279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2280     ac_cv_prog_ac_ct_CC="gcc"
   2281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2282     break 2
   2283   fi
   2284 done
   2285   done
   2286 IFS=$as_save_IFS
   2287 
   2288 fi
   2289 fi
   2290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2291 if test -n "$ac_ct_CC"; then
   2292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2293 $as_echo "$ac_ct_CC" >&6; }
   2294 else
   2295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2296 $as_echo "no" >&6; }
   2297 fi
   2298 
   2299   if test "x$ac_ct_CC" = x; then
   2300     CC=""
   2301   else
   2302     case $cross_compiling:$ac_tool_warned in
   2303 yes:)
   2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2306 ac_tool_warned=yes ;;
   2307 esac
   2308     CC=$ac_ct_CC
   2309   fi
   2310 else
   2311   CC="$ac_cv_prog_CC"
   2312 fi
   2313 
   2314 if test -z "$CC"; then
   2315           if test -n "$ac_tool_prefix"; then
   2316     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2317 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2319 $as_echo_n "checking for $ac_word... " >&6; }
   2320 if ${ac_cv_prog_CC+:} false; then :
   2321   $as_echo_n "(cached) " >&6
   2322 else
   2323   if test -n "$CC"; then
   2324   ac_cv_prog_CC="$CC" # Let the user override the test.
   2325 else
   2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2327 for as_dir in $PATH
   2328 do
   2329   IFS=$as_save_IFS
   2330   test -z "$as_dir" && as_dir=.
   2331     for ac_exec_ext in '' $ac_executable_extensions; do
   2332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2333     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2335     break 2
   2336   fi
   2337 done
   2338   done
   2339 IFS=$as_save_IFS
   2340 
   2341 fi
   2342 fi
   2343 CC=$ac_cv_prog_CC
   2344 if test -n "$CC"; then
   2345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2346 $as_echo "$CC" >&6; }
   2347 else
   2348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2349 $as_echo "no" >&6; }
   2350 fi
   2351 
   2352 
   2353   fi
   2354 fi
   2355 if test -z "$CC"; then
   2356   # Extract the first word of "cc", so it can be a program name with args.
   2357 set dummy cc; ac_word=$2
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2359 $as_echo_n "checking for $ac_word... " >&6; }
   2360 if ${ac_cv_prog_CC+:} false; then :
   2361   $as_echo_n "(cached) " >&6
   2362 else
   2363   if test -n "$CC"; then
   2364   ac_cv_prog_CC="$CC" # Let the user override the test.
   2365 else
   2366   ac_prog_rejected=no
   2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2368 for as_dir in $PATH
   2369 do
   2370   IFS=$as_save_IFS
   2371   test -z "$as_dir" && as_dir=.
   2372     for ac_exec_ext in '' $ac_executable_extensions; do
   2373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2374     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2375        ac_prog_rejected=yes
   2376        continue
   2377      fi
   2378     ac_cv_prog_CC="cc"
   2379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2380     break 2
   2381   fi
   2382 done
   2383   done
   2384 IFS=$as_save_IFS
   2385 
   2386 if test $ac_prog_rejected = yes; then
   2387   # We found a bogon in the path, so make sure we never use it.
   2388   set dummy $ac_cv_prog_CC
   2389   shift
   2390   if test $# != 0; then
   2391     # We chose a different compiler from the bogus one.
   2392     # However, it has the same basename, so the bogon will be chosen
   2393     # first if we set CC to just the basename; use the full file name.
   2394     shift
   2395     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2396   fi
   2397 fi
   2398 fi
   2399 fi
   2400 CC=$ac_cv_prog_CC
   2401 if test -n "$CC"; then
   2402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2403 $as_echo "$CC" >&6; }
   2404 else
   2405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2406 $as_echo "no" >&6; }
   2407 fi
   2408 
   2409 
   2410 fi
   2411 if test -z "$CC"; then
   2412   if test -n "$ac_tool_prefix"; then
   2413   for ac_prog in cl.exe
   2414   do
   2415     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2416 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2418 $as_echo_n "checking for $ac_word... " >&6; }
   2419 if ${ac_cv_prog_CC+:} false; then :
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   if test -n "$CC"; then
   2423   ac_cv_prog_CC="$CC" # Let the user override the test.
   2424 else
   2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2426 for as_dir in $PATH
   2427 do
   2428   IFS=$as_save_IFS
   2429   test -z "$as_dir" && as_dir=.
   2430     for ac_exec_ext in '' $ac_executable_extensions; do
   2431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2432     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2434     break 2
   2435   fi
   2436 done
   2437   done
   2438 IFS=$as_save_IFS
   2439 
   2440 fi
   2441 fi
   2442 CC=$ac_cv_prog_CC
   2443 if test -n "$CC"; then
   2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2445 $as_echo "$CC" >&6; }
   2446 else
   2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2448 $as_echo "no" >&6; }
   2449 fi
   2450 
   2451 
   2452     test -n "$CC" && break
   2453   done
   2454 fi
   2455 if test -z "$CC"; then
   2456   ac_ct_CC=$CC
   2457   for ac_prog in cl.exe
   2458 do
   2459   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2460 set dummy $ac_prog; ac_word=$2
   2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2462 $as_echo_n "checking for $ac_word... " >&6; }
   2463 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2464   $as_echo_n "(cached) " >&6
   2465 else
   2466   if test -n "$ac_ct_CC"; then
   2467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2468 else
   2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2470 for as_dir in $PATH
   2471 do
   2472   IFS=$as_save_IFS
   2473   test -z "$as_dir" && as_dir=.
   2474     for ac_exec_ext in '' $ac_executable_extensions; do
   2475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2476     ac_cv_prog_ac_ct_CC="$ac_prog"
   2477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2478     break 2
   2479   fi
   2480 done
   2481   done
   2482 IFS=$as_save_IFS
   2483 
   2484 fi
   2485 fi
   2486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2487 if test -n "$ac_ct_CC"; then
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2489 $as_echo "$ac_ct_CC" >&6; }
   2490 else
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2492 $as_echo "no" >&6; }
   2493 fi
   2494 
   2495 
   2496   test -n "$ac_ct_CC" && break
   2497 done
   2498 
   2499   if test "x$ac_ct_CC" = x; then
   2500     CC=""
   2501   else
   2502     case $cross_compiling:$ac_tool_warned in
   2503 yes:)
   2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2506 ac_tool_warned=yes ;;
   2507 esac
   2508     CC=$ac_ct_CC
   2509   fi
   2510 fi
   2511 
   2512 fi
   2513 
   2514 
   2515 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2517 as_fn_error $? "no acceptable C compiler found in \$PATH
   2518 See \`config.log' for more details" "$LINENO" 5; }
   2519 
   2520 # Provide some information about the compiler.
   2521 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2522 set X $ac_compile
   2523 ac_compiler=$2
   2524 for ac_option in --version -v -V -qversion; do
   2525   { { ac_try="$ac_compiler $ac_option >&5"
   2526 case "(($ac_try" in
   2527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2528   *) ac_try_echo=$ac_try;;
   2529 esac
   2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2531 $as_echo "$ac_try_echo"; } >&5
   2532   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2533   ac_status=$?
   2534   if test -s conftest.err; then
   2535     sed '10a\
   2536 ... rest of stderr output deleted ...
   2537          10q' conftest.err >conftest.er1
   2538     cat conftest.er1 >&5
   2539   fi
   2540   rm -f conftest.er1 conftest.err
   2541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2542   test $ac_status = 0; }
   2543 done
   2544 
   2545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2546 /* end confdefs.h.  */
   2547 
   2548 int
   2549 main ()
   2550 {
   2551 
   2552   ;
   2553   return 0;
   2554 }
   2555 _ACEOF
   2556 ac_clean_files_save=$ac_clean_files
   2557 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2558 # Try to create an executable without -o first, disregard a.out.
   2559 # It will help us diagnose broken compilers, and finding out an intuition
   2560 # of exeext.
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2562 $as_echo_n "checking whether the C compiler works... " >&6; }
   2563 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2564 
   2565 # The possible output files:
   2566 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2567 
   2568 ac_rmfiles=
   2569 for ac_file in $ac_files
   2570 do
   2571   case $ac_file in
   2572     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2573     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2574   esac
   2575 done
   2576 rm -f $ac_rmfiles
   2577 
   2578 if { { ac_try="$ac_link_default"
   2579 case "(($ac_try" in
   2580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2581   *) ac_try_echo=$ac_try;;
   2582 esac
   2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2584 $as_echo "$ac_try_echo"; } >&5
   2585   (eval "$ac_link_default") 2>&5
   2586   ac_status=$?
   2587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2588   test $ac_status = 0; }; then :
   2589   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2590 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2591 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2592 # so that the user can short-circuit this test for compilers unknown to
   2593 # Autoconf.
   2594 for ac_file in $ac_files ''
   2595 do
   2596   test -f "$ac_file" || continue
   2597   case $ac_file in
   2598     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2599 	;;
   2600     [ab].out )
   2601 	# We found the default executable, but exeext='' is most
   2602 	# certainly right.
   2603 	break;;
   2604     *.* )
   2605 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2606 	then :; else
   2607 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2608 	fi
   2609 	# We set ac_cv_exeext here because the later test for it is not
   2610 	# safe: cross compilers may not add the suffix if given an `-o'
   2611 	# argument, so we may need to know it at that point already.
   2612 	# Even if this section looks crufty: it has the advantage of
   2613 	# actually working.
   2614 	break;;
   2615     * )
   2616 	break;;
   2617   esac
   2618 done
   2619 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2620 
   2621 else
   2622   ac_file=''
   2623 fi
   2624 if test -z "$ac_file"; then :
   2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2626 $as_echo "no" >&6; }
   2627 $as_echo "$as_me: failed program was:" >&5
   2628 sed 's/^/| /' conftest.$ac_ext >&5
   2629 
   2630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2632 as_fn_error 77 "C compiler cannot create executables
   2633 See \`config.log' for more details" "$LINENO" 5; }
   2634 else
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2636 $as_echo "yes" >&6; }
   2637 fi
   2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2639 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2641 $as_echo "$ac_file" >&6; }
   2642 ac_exeext=$ac_cv_exeext
   2643 
   2644 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2645 ac_clean_files=$ac_clean_files_save
   2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2647 $as_echo_n "checking for suffix of executables... " >&6; }
   2648 if { { ac_try="$ac_link"
   2649 case "(($ac_try" in
   2650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2651   *) ac_try_echo=$ac_try;;
   2652 esac
   2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2654 $as_echo "$ac_try_echo"; } >&5
   2655   (eval "$ac_link") 2>&5
   2656   ac_status=$?
   2657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2658   test $ac_status = 0; }; then :
   2659   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2660 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2661 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2662 # `rm'.
   2663 for ac_file in conftest.exe conftest conftest.*; do
   2664   test -f "$ac_file" || continue
   2665   case $ac_file in
   2666     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2667     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2668 	  break;;
   2669     * ) break;;
   2670   esac
   2671 done
   2672 else
   2673   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2675 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2676 See \`config.log' for more details" "$LINENO" 5; }
   2677 fi
   2678 rm -f conftest conftest$ac_cv_exeext
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2680 $as_echo "$ac_cv_exeext" >&6; }
   2681 
   2682 rm -f conftest.$ac_ext
   2683 EXEEXT=$ac_cv_exeext
   2684 ac_exeext=$EXEEXT
   2685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2686 /* end confdefs.h.  */
   2687 #include <stdio.h>
   2688 int
   2689 main ()
   2690 {
   2691 FILE *f = fopen ("conftest.out", "w");
   2692  return ferror (f) || fclose (f) != 0;
   2693 
   2694   ;
   2695   return 0;
   2696 }
   2697 _ACEOF
   2698 ac_clean_files="$ac_clean_files conftest.out"
   2699 # Check that the compiler produces executables we can run.  If not, either
   2700 # the compiler is broken, or we cross compile.
   2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2702 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2703 if test "$cross_compiling" != yes; then
   2704   { { ac_try="$ac_link"
   2705 case "(($ac_try" in
   2706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2707   *) ac_try_echo=$ac_try;;
   2708 esac
   2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2710 $as_echo "$ac_try_echo"; } >&5
   2711   (eval "$ac_link") 2>&5
   2712   ac_status=$?
   2713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2714   test $ac_status = 0; }
   2715   if { ac_try='./conftest$ac_cv_exeext'
   2716   { { case "(($ac_try" in
   2717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2718   *) ac_try_echo=$ac_try;;
   2719 esac
   2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2721 $as_echo "$ac_try_echo"; } >&5
   2722   (eval "$ac_try") 2>&5
   2723   ac_status=$?
   2724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2725   test $ac_status = 0; }; }; then
   2726     cross_compiling=no
   2727   else
   2728     if test "$cross_compiling" = maybe; then
   2729 	cross_compiling=yes
   2730     else
   2731 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2733 as_fn_error $? "cannot run C compiled programs.
   2734 If you meant to cross compile, use \`--host'.
   2735 See \`config.log' for more details" "$LINENO" 5; }
   2736     fi
   2737   fi
   2738 fi
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2740 $as_echo "$cross_compiling" >&6; }
   2741 
   2742 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2743 ac_clean_files=$ac_clean_files_save
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2745 $as_echo_n "checking for suffix of object files... " >&6; }
   2746 if ${ac_cv_objext+:} false; then :
   2747   $as_echo_n "(cached) " >&6
   2748 else
   2749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2750 /* end confdefs.h.  */
   2751 
   2752 int
   2753 main ()
   2754 {
   2755 
   2756   ;
   2757   return 0;
   2758 }
   2759 _ACEOF
   2760 rm -f conftest.o conftest.obj
   2761 if { { ac_try="$ac_compile"
   2762 case "(($ac_try" in
   2763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2764   *) ac_try_echo=$ac_try;;
   2765 esac
   2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2767 $as_echo "$ac_try_echo"; } >&5
   2768   (eval "$ac_compile") 2>&5
   2769   ac_status=$?
   2770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2771   test $ac_status = 0; }; then :
   2772   for ac_file in conftest.o conftest.obj conftest.*; do
   2773   test -f "$ac_file" || continue;
   2774   case $ac_file in
   2775     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2776     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2777        break;;
   2778   esac
   2779 done
   2780 else
   2781   $as_echo "$as_me: failed program was:" >&5
   2782 sed 's/^/| /' conftest.$ac_ext >&5
   2783 
   2784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2786 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2787 See \`config.log' for more details" "$LINENO" 5; }
   2788 fi
   2789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2790 fi
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2792 $as_echo "$ac_cv_objext" >&6; }
   2793 OBJEXT=$ac_cv_objext
   2794 ac_objext=$OBJEXT
   2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2796 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2797 if ${ac_cv_c_compiler_gnu+:} false; then :
   2798   $as_echo_n "(cached) " >&6
   2799 else
   2800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2801 /* end confdefs.h.  */
   2802 
   2803 int
   2804 main ()
   2805 {
   2806 #ifndef __GNUC__
   2807        choke me
   2808 #endif
   2809 
   2810   ;
   2811   return 0;
   2812 }
   2813 _ACEOF
   2814 if ac_fn_c_try_compile "$LINENO"; then :
   2815   ac_compiler_gnu=yes
   2816 else
   2817   ac_compiler_gnu=no
   2818 fi
   2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2820 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2821 
   2822 fi
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2824 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2825 if test $ac_compiler_gnu = yes; then
   2826   GCC=yes
   2827 else
   2828   GCC=
   2829 fi
   2830 ac_test_CFLAGS=${CFLAGS+set}
   2831 ac_save_CFLAGS=$CFLAGS
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2833 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2834 if ${ac_cv_prog_cc_g+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   ac_save_c_werror_flag=$ac_c_werror_flag
   2838    ac_c_werror_flag=yes
   2839    ac_cv_prog_cc_g=no
   2840    CFLAGS="-g"
   2841    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2842 /* end confdefs.h.  */
   2843 
   2844 int
   2845 main ()
   2846 {
   2847 
   2848   ;
   2849   return 0;
   2850 }
   2851 _ACEOF
   2852 if ac_fn_c_try_compile "$LINENO"; then :
   2853   ac_cv_prog_cc_g=yes
   2854 else
   2855   CFLAGS=""
   2856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2857 /* end confdefs.h.  */
   2858 
   2859 int
   2860 main ()
   2861 {
   2862 
   2863   ;
   2864   return 0;
   2865 }
   2866 _ACEOF
   2867 if ac_fn_c_try_compile "$LINENO"; then :
   2868 
   2869 else
   2870   ac_c_werror_flag=$ac_save_c_werror_flag
   2871 	 CFLAGS="-g"
   2872 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2873 /* end confdefs.h.  */
   2874 
   2875 int
   2876 main ()
   2877 {
   2878 
   2879   ;
   2880   return 0;
   2881 }
   2882 _ACEOF
   2883 if ac_fn_c_try_compile "$LINENO"; then :
   2884   ac_cv_prog_cc_g=yes
   2885 fi
   2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2887 fi
   2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2889 fi
   2890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2891    ac_c_werror_flag=$ac_save_c_werror_flag
   2892 fi
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2894 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2895 if test "$ac_test_CFLAGS" = set; then
   2896   CFLAGS=$ac_save_CFLAGS
   2897 elif test $ac_cv_prog_cc_g = yes; then
   2898   if test "$GCC" = yes; then
   2899     CFLAGS="-g -O2"
   2900   else
   2901     CFLAGS="-g"
   2902   fi
   2903 else
   2904   if test "$GCC" = yes; then
   2905     CFLAGS="-O2"
   2906   else
   2907     CFLAGS=
   2908   fi
   2909 fi
   2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2911 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2912 if ${ac_cv_prog_cc_c89+:} false; then :
   2913   $as_echo_n "(cached) " >&6
   2914 else
   2915   ac_cv_prog_cc_c89=no
   2916 ac_save_CC=$CC
   2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2918 /* end confdefs.h.  */
   2919 #include <stdarg.h>
   2920 #include <stdio.h>
   2921 struct stat;
   2922 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2923 struct buf { int x; };
   2924 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2925 static char *e (p, i)
   2926      char **p;
   2927      int i;
   2928 {
   2929   return p[i];
   2930 }
   2931 static char *f (char * (*g) (char **, int), char **p, ...)
   2932 {
   2933   char *s;
   2934   va_list v;
   2935   va_start (v,p);
   2936   s = g (p, va_arg (v,int));
   2937   va_end (v);
   2938   return s;
   2939 }
   2940 
   2941 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2942    function prototypes and stuff, but not '\xHH' hex character constants.
   2943    These don't provoke an error unfortunately, instead are silently treated
   2944    as 'x'.  The following induces an error, until -std is added to get
   2945    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2946    array size at least.  It's necessary to write '\x00'==0 to get something
   2947    that's true only with -std.  */
   2948 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2949 
   2950 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2951    inside strings and character constants.  */
   2952 #define FOO(x) 'x'
   2953 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2954 
   2955 int test (int i, double x);
   2956 struct s1 {int (*f) (int a);};
   2957 struct s2 {int (*f) (double a);};
   2958 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2959 int argc;
   2960 char **argv;
   2961 int
   2962 main ()
   2963 {
   2964 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2965   ;
   2966   return 0;
   2967 }
   2968 _ACEOF
   2969 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2970 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2971 do
   2972   CC="$ac_save_CC $ac_arg"
   2973   if ac_fn_c_try_compile "$LINENO"; then :
   2974   ac_cv_prog_cc_c89=$ac_arg
   2975 fi
   2976 rm -f core conftest.err conftest.$ac_objext
   2977   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2978 done
   2979 rm -f conftest.$ac_ext
   2980 CC=$ac_save_CC
   2981 
   2982 fi
   2983 # AC_CACHE_VAL
   2984 case "x$ac_cv_prog_cc_c89" in
   2985   x)
   2986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   2987 $as_echo "none needed" >&6; } ;;
   2988   xno)
   2989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   2990 $as_echo "unsupported" >&6; } ;;
   2991   *)
   2992     CC="$CC $ac_cv_prog_cc_c89"
   2993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   2994 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   2995 esac
   2996 if test "x$ac_cv_prog_cc_c89" != xno; then :
   2997 
   2998 fi
   2999 
   3000 ac_ext=c
   3001 ac_cpp='$CPP $CPPFLAGS'
   3002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3005 
   3006 ac_ext=c
   3007 ac_cpp='$CPP $CPPFLAGS'
   3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3012 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3013 if ${am_cv_prog_cc_c_o+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3017 /* end confdefs.h.  */
   3018 
   3019 int
   3020 main ()
   3021 {
   3022 
   3023   ;
   3024   return 0;
   3025 }
   3026 _ACEOF
   3027   # Make sure it works both with $CC and with simple cc.
   3028   # Following AC_PROG_CC_C_O, we do the test twice because some
   3029   # compilers refuse to overwrite an existing .o file with -o,
   3030   # though they will create one.
   3031   am_cv_prog_cc_c_o=yes
   3032   for am_i in 1 2; do
   3033     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3034    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3035    ac_status=$?
   3036    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3037    (exit $ac_status); } \
   3038          && test -f conftest2.$ac_objext; then
   3039       : OK
   3040     else
   3041       am_cv_prog_cc_c_o=no
   3042       break
   3043     fi
   3044   done
   3045   rm -f core conftest*
   3046   unset am_i
   3047 fi
   3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3049 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3050 if test "$am_cv_prog_cc_c_o" != yes; then
   3051    # Losing compiler, so override with the script.
   3052    # FIXME: It is wrong to rewrite CC.
   3053    # But if we don't then we get into trouble of one sort or another.
   3054    # A longer-term fix would be to have automake use am__CC in this case,
   3055    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3056    CC="$am_aux_dir/compile $CC"
   3057 fi
   3058 ac_ext=c
   3059 ac_cpp='$CPP $CPPFLAGS'
   3060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3063 
   3064 
   3065 
   3066 ac_ext=c
   3067 ac_cpp='$CPP $CPPFLAGS'
   3068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3073 # On Suns, sometimes $CPP names a directory.
   3074 if test -n "$CPP" && test -d "$CPP"; then
   3075   CPP=
   3076 fi
   3077 if test -z "$CPP"; then
   3078   if ${ac_cv_prog_CPP+:} false; then :
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081       # Double quotes because CPP needs to be expanded
   3082     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3083     do
   3084       ac_preproc_ok=false
   3085 for ac_c_preproc_warn_flag in '' yes
   3086 do
   3087   # Use a header file that comes with gcc, so configuring glibc
   3088   # with a fresh cross-compiler works.
   3089   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3090   # <limits.h> exists even on freestanding compilers.
   3091   # On the NeXT, cc -E runs the code through the compiler's parser,
   3092   # not just through cpp. "Syntax error" is here to catch this case.
   3093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3094 /* end confdefs.h.  */
   3095 #ifdef __STDC__
   3096 # include <limits.h>
   3097 #else
   3098 # include <assert.h>
   3099 #endif
   3100 		     Syntax error
   3101 _ACEOF
   3102 if ac_fn_c_try_cpp "$LINENO"; then :
   3103 
   3104 else
   3105   # Broken: fails on valid input.
   3106 continue
   3107 fi
   3108 rm -f conftest.err conftest.i conftest.$ac_ext
   3109 
   3110   # OK, works on sane cases.  Now check whether nonexistent headers
   3111   # can be detected and how.
   3112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3113 /* end confdefs.h.  */
   3114 #include <ac_nonexistent.h>
   3115 _ACEOF
   3116 if ac_fn_c_try_cpp "$LINENO"; then :
   3117   # Broken: success on invalid input.
   3118 continue
   3119 else
   3120   # Passes both tests.
   3121 ac_preproc_ok=:
   3122 break
   3123 fi
   3124 rm -f conftest.err conftest.i conftest.$ac_ext
   3125 
   3126 done
   3127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3128 rm -f conftest.i conftest.err conftest.$ac_ext
   3129 if $ac_preproc_ok; then :
   3130   break
   3131 fi
   3132 
   3133     done
   3134     ac_cv_prog_CPP=$CPP
   3135 
   3136 fi
   3137   CPP=$ac_cv_prog_CPP
   3138 else
   3139   ac_cv_prog_CPP=$CPP
   3140 fi
   3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3142 $as_echo "$CPP" >&6; }
   3143 ac_preproc_ok=false
   3144 for ac_c_preproc_warn_flag in '' yes
   3145 do
   3146   # Use a header file that comes with gcc, so configuring glibc
   3147   # with a fresh cross-compiler works.
   3148   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3149   # <limits.h> exists even on freestanding compilers.
   3150   # On the NeXT, cc -E runs the code through the compiler's parser,
   3151   # not just through cpp. "Syntax error" is here to catch this case.
   3152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3153 /* end confdefs.h.  */
   3154 #ifdef __STDC__
   3155 # include <limits.h>
   3156 #else
   3157 # include <assert.h>
   3158 #endif
   3159 		     Syntax error
   3160 _ACEOF
   3161 if ac_fn_c_try_cpp "$LINENO"; then :
   3162 
   3163 else
   3164   # Broken: fails on valid input.
   3165 continue
   3166 fi
   3167 rm -f conftest.err conftest.i conftest.$ac_ext
   3168 
   3169   # OK, works on sane cases.  Now check whether nonexistent headers
   3170   # can be detected and how.
   3171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3172 /* end confdefs.h.  */
   3173 #include <ac_nonexistent.h>
   3174 _ACEOF
   3175 if ac_fn_c_try_cpp "$LINENO"; then :
   3176   # Broken: success on invalid input.
   3177 continue
   3178 else
   3179   # Passes both tests.
   3180 ac_preproc_ok=:
   3181 break
   3182 fi
   3183 rm -f conftest.err conftest.i conftest.$ac_ext
   3184 
   3185 done
   3186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3187 rm -f conftest.i conftest.err conftest.$ac_ext
   3188 if $ac_preproc_ok; then :
   3189 
   3190 else
   3191   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3193 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3194 See \`config.log' for more details" "$LINENO" 5; }
   3195 fi
   3196 
   3197 ac_ext=c
   3198 ac_cpp='$CPP $CPPFLAGS'
   3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3202 
   3203 
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3205 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3206 if ${ac_cv_path_GREP+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if test -z "$GREP"; then
   3210   ac_path_GREP_found=false
   3211   # Loop through the user's path and test for each of PROGNAME-LIST
   3212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3214 do
   3215   IFS=$as_save_IFS
   3216   test -z "$as_dir" && as_dir=.
   3217     for ac_prog in grep ggrep; do
   3218     for ac_exec_ext in '' $ac_executable_extensions; do
   3219       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3220       as_fn_executable_p "$ac_path_GREP" || continue
   3221 # Check for GNU ac_path_GREP and select it if it is found.
   3222   # Check for GNU $ac_path_GREP
   3223 case `"$ac_path_GREP" --version 2>&1` in
   3224 *GNU*)
   3225   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3226 *)
   3227   ac_count=0
   3228   $as_echo_n 0123456789 >"conftest.in"
   3229   while :
   3230   do
   3231     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3232     mv "conftest.tmp" "conftest.in"
   3233     cp "conftest.in" "conftest.nl"
   3234     $as_echo 'GREP' >> "conftest.nl"
   3235     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3236     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3237     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3238     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3239       # Best one so far, save it but keep looking for a better one
   3240       ac_cv_path_GREP="$ac_path_GREP"
   3241       ac_path_GREP_max=$ac_count
   3242     fi
   3243     # 10*(2^10) chars as input seems more than enough
   3244     test $ac_count -gt 10 && break
   3245   done
   3246   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3247 esac
   3248 
   3249       $ac_path_GREP_found && break 3
   3250     done
   3251   done
   3252   done
   3253 IFS=$as_save_IFS
   3254   if test -z "$ac_cv_path_GREP"; then
   3255     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3256   fi
   3257 else
   3258   ac_cv_path_GREP=$GREP
   3259 fi
   3260 
   3261 fi
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3263 $as_echo "$ac_cv_path_GREP" >&6; }
   3264  GREP="$ac_cv_path_GREP"
   3265 
   3266 
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3268 $as_echo_n "checking for egrep... " >&6; }
   3269 if ${ac_cv_path_EGREP+:} false; then :
   3270   $as_echo_n "(cached) " >&6
   3271 else
   3272   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3273    then ac_cv_path_EGREP="$GREP -E"
   3274    else
   3275      if test -z "$EGREP"; then
   3276   ac_path_EGREP_found=false
   3277   # Loop through the user's path and test for each of PROGNAME-LIST
   3278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3280 do
   3281   IFS=$as_save_IFS
   3282   test -z "$as_dir" && as_dir=.
   3283     for ac_prog in egrep; do
   3284     for ac_exec_ext in '' $ac_executable_extensions; do
   3285       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3286       as_fn_executable_p "$ac_path_EGREP" || continue
   3287 # Check for GNU ac_path_EGREP and select it if it is found.
   3288   # Check for GNU $ac_path_EGREP
   3289 case `"$ac_path_EGREP" --version 2>&1` in
   3290 *GNU*)
   3291   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3292 *)
   3293   ac_count=0
   3294   $as_echo_n 0123456789 >"conftest.in"
   3295   while :
   3296   do
   3297     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3298     mv "conftest.tmp" "conftest.in"
   3299     cp "conftest.in" "conftest.nl"
   3300     $as_echo 'EGREP' >> "conftest.nl"
   3301     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3302     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3303     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3304     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3305       # Best one so far, save it but keep looking for a better one
   3306       ac_cv_path_EGREP="$ac_path_EGREP"
   3307       ac_path_EGREP_max=$ac_count
   3308     fi
   3309     # 10*(2^10) chars as input seems more than enough
   3310     test $ac_count -gt 10 && break
   3311   done
   3312   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3313 esac
   3314 
   3315       $ac_path_EGREP_found && break 3
   3316     done
   3317   done
   3318   done
   3319 IFS=$as_save_IFS
   3320   if test -z "$ac_cv_path_EGREP"; then
   3321     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3322   fi
   3323 else
   3324   ac_cv_path_EGREP=$EGREP
   3325 fi
   3326 
   3327    fi
   3328 fi
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3330 $as_echo "$ac_cv_path_EGREP" >&6; }
   3331  EGREP="$ac_cv_path_EGREP"
   3332 
   3333 
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3335 $as_echo_n "checking for ANSI C header files... " >&6; }
   3336 if ${ac_cv_header_stdc+:} false; then :
   3337   $as_echo_n "(cached) " >&6
   3338 else
   3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3340 /* end confdefs.h.  */
   3341 #include <stdlib.h>
   3342 #include <stdarg.h>
   3343 #include <string.h>
   3344 #include <float.h>
   3345 
   3346 int
   3347 main ()
   3348 {
   3349 
   3350   ;
   3351   return 0;
   3352 }
   3353 _ACEOF
   3354 if ac_fn_c_try_compile "$LINENO"; then :
   3355   ac_cv_header_stdc=yes
   3356 else
   3357   ac_cv_header_stdc=no
   3358 fi
   3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3360 
   3361 if test $ac_cv_header_stdc = yes; then
   3362   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3364 /* end confdefs.h.  */
   3365 #include <string.h>
   3366 
   3367 _ACEOF
   3368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3369   $EGREP "memchr" >/dev/null 2>&1; then :
   3370 
   3371 else
   3372   ac_cv_header_stdc=no
   3373 fi
   3374 rm -f conftest*
   3375 
   3376 fi
   3377 
   3378 if test $ac_cv_header_stdc = yes; then
   3379   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3381 /* end confdefs.h.  */
   3382 #include <stdlib.h>
   3383 
   3384 _ACEOF
   3385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3386   $EGREP "free" >/dev/null 2>&1; then :
   3387 
   3388 else
   3389   ac_cv_header_stdc=no
   3390 fi
   3391 rm -f conftest*
   3392 
   3393 fi
   3394 
   3395 if test $ac_cv_header_stdc = yes; then
   3396   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3397   if test "$cross_compiling" = yes; then :
   3398   :
   3399 else
   3400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 #include <ctype.h>
   3403 #include <stdlib.h>
   3404 #if ((' ' & 0x0FF) == 0x020)
   3405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3407 #else
   3408 # define ISLOWER(c) \
   3409 		   (('a' <= (c) && (c) <= 'i') \
   3410 		     || ('j' <= (c) && (c) <= 'r') \
   3411 		     || ('s' <= (c) && (c) <= 'z'))
   3412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3413 #endif
   3414 
   3415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3416 int
   3417 main ()
   3418 {
   3419   int i;
   3420   for (i = 0; i < 256; i++)
   3421     if (XOR (islower (i), ISLOWER (i))
   3422 	|| toupper (i) != TOUPPER (i))
   3423       return 2;
   3424   return 0;
   3425 }
   3426 _ACEOF
   3427 if ac_fn_c_try_run "$LINENO"; then :
   3428 
   3429 else
   3430   ac_cv_header_stdc=no
   3431 fi
   3432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3433   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3434 fi
   3435 
   3436 fi
   3437 fi
   3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3439 $as_echo "$ac_cv_header_stdc" >&6; }
   3440 if test $ac_cv_header_stdc = yes; then
   3441 
   3442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3443 
   3444 fi
   3445 
   3446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3447 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3448 		  inttypes.h stdint.h unistd.h
   3449 do :
   3450   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3452 "
   3453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3454   cat >>confdefs.h <<_ACEOF
   3455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3456 _ACEOF
   3457 
   3458 fi
   3459 
   3460 done
   3461 
   3462 
   3463 
   3464   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3465 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3466   MINIX=yes
   3467 else
   3468   MINIX=
   3469 fi
   3470 
   3471 
   3472   if test "$MINIX" = yes; then
   3473 
   3474 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3475 
   3476 
   3477 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3478 
   3479 
   3480 $as_echo "#define _MINIX 1" >>confdefs.h
   3481 
   3482   fi
   3483 
   3484 
   3485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3486 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3487 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3491 /* end confdefs.h.  */
   3492 
   3493 #         define __EXTENSIONS__ 1
   3494           $ac_includes_default
   3495 int
   3496 main ()
   3497 {
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 if ac_fn_c_try_compile "$LINENO"; then :
   3504   ac_cv_safe_to_define___extensions__=yes
   3505 else
   3506   ac_cv_safe_to_define___extensions__=no
   3507 fi
   3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3509 fi
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3511 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3512   test $ac_cv_safe_to_define___extensions__ = yes &&
   3513     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3514 
   3515   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3516 
   3517   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3518 
   3519   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3520 
   3521   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3522 
   3523 
   3524 
   3525 # Initialize Automake
   3526 am__api_version='1.15'
   3527 
   3528 # Find a good install program.  We prefer a C program (faster),
   3529 # so one script is as good as another.  But avoid the broken or
   3530 # incompatible versions:
   3531 # SysV /etc/install, /usr/sbin/install
   3532 # SunOS /usr/etc/install
   3533 # IRIX /sbin/install
   3534 # AIX /bin/install
   3535 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3539 # OS/2's system install, which has a completely different semantic
   3540 # ./install, which can be erroneously created by make from ./install.sh.
   3541 # Reject install programs that cannot install multiple files.
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3543 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3544 if test -z "$INSTALL"; then
   3545 if ${ac_cv_path_install+:} false; then :
   3546   $as_echo_n "(cached) " >&6
   3547 else
   3548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3549 for as_dir in $PATH
   3550 do
   3551   IFS=$as_save_IFS
   3552   test -z "$as_dir" && as_dir=.
   3553     # Account for people who put trailing slashes in PATH elements.
   3554 case $as_dir/ in #((
   3555   ./ | .// | /[cC]/* | \
   3556   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3557   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3558   /usr/ucb/* ) ;;
   3559   *)
   3560     # OSF1 and SCO ODT 3.0 have their own names for install.
   3561     # Don't use installbsd from OSF since it installs stuff as root
   3562     # by default.
   3563     for ac_prog in ginstall scoinst install; do
   3564       for ac_exec_ext in '' $ac_executable_extensions; do
   3565 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3566 	  if test $ac_prog = install &&
   3567 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3568 	    # AIX install.  It has an incompatible calling convention.
   3569 	    :
   3570 	  elif test $ac_prog = install &&
   3571 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3572 	    # program-specific install script used by HP pwplus--don't use.
   3573 	    :
   3574 	  else
   3575 	    rm -rf conftest.one conftest.two conftest.dir
   3576 	    echo one > conftest.one
   3577 	    echo two > conftest.two
   3578 	    mkdir conftest.dir
   3579 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3580 	      test -s conftest.one && test -s conftest.two &&
   3581 	      test -s conftest.dir/conftest.one &&
   3582 	      test -s conftest.dir/conftest.two
   3583 	    then
   3584 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3585 	      break 3
   3586 	    fi
   3587 	  fi
   3588 	fi
   3589       done
   3590     done
   3591     ;;
   3592 esac
   3593 
   3594   done
   3595 IFS=$as_save_IFS
   3596 
   3597 rm -rf conftest.one conftest.two conftest.dir
   3598 
   3599 fi
   3600   if test "${ac_cv_path_install+set}" = set; then
   3601     INSTALL=$ac_cv_path_install
   3602   else
   3603     # As a last resort, use the slow shell script.  Don't cache a
   3604     # value for INSTALL within a source directory, because that will
   3605     # break other packages using the cache if that directory is
   3606     # removed, or if the value is a relative name.
   3607     INSTALL=$ac_install_sh
   3608   fi
   3609 fi
   3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3611 $as_echo "$INSTALL" >&6; }
   3612 
   3613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3614 # It thinks the first close brace ends the variable substitution.
   3615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3616 
   3617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3618 
   3619 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3620 
   3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3622 $as_echo_n "checking whether build environment is sane... " >&6; }
   3623 # Reject unsafe characters in $srcdir or the absolute working directory
   3624 # name.  Accept space and tab only in the latter.
   3625 am_lf='
   3626 '
   3627 case `pwd` in
   3628   *[\\\"\#\$\&\'\`$am_lf]*)
   3629     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3630 esac
   3631 case $srcdir in
   3632   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3633     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3634 esac
   3635 
   3636 # Do 'set' in a subshell so we don't clobber the current shell's
   3637 # arguments.  Must try -L first in case configure is actually a
   3638 # symlink; some systems play weird games with the mod time of symlinks
   3639 # (eg FreeBSD returns the mod time of the symlink's containing
   3640 # directory).
   3641 if (
   3642    am_has_slept=no
   3643    for am_try in 1 2; do
   3644      echo "timestamp, slept: $am_has_slept" > conftest.file
   3645      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3646      if test "$*" = "X"; then
   3647 	# -L didn't work.
   3648 	set X `ls -t "$srcdir/configure" conftest.file`
   3649      fi
   3650      if test "$*" != "X $srcdir/configure conftest.file" \
   3651 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3652 
   3653 	# If neither matched, then we have a broken ls.  This can happen
   3654 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3655 	# broken ls alias from the environment.  This has actually
   3656 	# happened.  Such a system could not be considered "sane".
   3657 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3658   alias in your environment" "$LINENO" 5
   3659      fi
   3660      if test "$2" = conftest.file || test $am_try -eq 2; then
   3661        break
   3662      fi
   3663      # Just in case.
   3664      sleep 1
   3665      am_has_slept=yes
   3666    done
   3667    test "$2" = conftest.file
   3668    )
   3669 then
   3670    # Ok.
   3671    :
   3672 else
   3673    as_fn_error $? "newly created file is older than distributed files!
   3674 Check your system clock" "$LINENO" 5
   3675 fi
   3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3677 $as_echo "yes" >&6; }
   3678 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3679 # generated files are strictly newer.
   3680 am_sleep_pid=
   3681 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3682   ( sleep 1 ) &
   3683   am_sleep_pid=$!
   3684 fi
   3685 
   3686 rm -f conftest.file
   3687 
   3688 test "$program_prefix" != NONE &&
   3689   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3690 # Use a double $ so make ignores it.
   3691 test "$program_suffix" != NONE &&
   3692   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3693 # Double any \ or $.
   3694 # By default was `s,x,x', remove it if useless.
   3695 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3696 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3697 
   3698 if test x"${MISSING+set}" != xset; then
   3699   case $am_aux_dir in
   3700   *\ * | *\	*)
   3701     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3702   *)
   3703     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3704   esac
   3705 fi
   3706 # Use eval to expand $SHELL
   3707 if eval "$MISSING --is-lightweight"; then
   3708   am_missing_run="$MISSING "
   3709 else
   3710   am_missing_run=
   3711   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3712 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3713 fi
   3714 
   3715 if test x"${install_sh+set}" != xset; then
   3716   case $am_aux_dir in
   3717   *\ * | *\	*)
   3718     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3719   *)
   3720     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3721   esac
   3722 fi
   3723 
   3724 # Installed binaries are usually stripped using 'strip' when the user
   3725 # run "make install-strip".  However 'strip' might not be the right
   3726 # tool to use in cross-compilation environments, therefore Automake
   3727 # will honor the 'STRIP' environment variable to overrule this program.
   3728 if test "$cross_compiling" != no; then
   3729   if test -n "$ac_tool_prefix"; then
   3730   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3731 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3733 $as_echo_n "checking for $ac_word... " >&6; }
   3734 if ${ac_cv_prog_STRIP+:} false; then :
   3735   $as_echo_n "(cached) " >&6
   3736 else
   3737   if test -n "$STRIP"; then
   3738   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3739 else
   3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3741 for as_dir in $PATH
   3742 do
   3743   IFS=$as_save_IFS
   3744   test -z "$as_dir" && as_dir=.
   3745     for ac_exec_ext in '' $ac_executable_extensions; do
   3746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3747     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3749     break 2
   3750   fi
   3751 done
   3752   done
   3753 IFS=$as_save_IFS
   3754 
   3755 fi
   3756 fi
   3757 STRIP=$ac_cv_prog_STRIP
   3758 if test -n "$STRIP"; then
   3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3760 $as_echo "$STRIP" >&6; }
   3761 else
   3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3763 $as_echo "no" >&6; }
   3764 fi
   3765 
   3766 
   3767 fi
   3768 if test -z "$ac_cv_prog_STRIP"; then
   3769   ac_ct_STRIP=$STRIP
   3770   # Extract the first word of "strip", so it can be a program name with args.
   3771 set dummy strip; ac_word=$2
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3773 $as_echo_n "checking for $ac_word... " >&6; }
   3774 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3775   $as_echo_n "(cached) " >&6
   3776 else
   3777   if test -n "$ac_ct_STRIP"; then
   3778   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3779 else
   3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3781 for as_dir in $PATH
   3782 do
   3783   IFS=$as_save_IFS
   3784   test -z "$as_dir" && as_dir=.
   3785     for ac_exec_ext in '' $ac_executable_extensions; do
   3786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3787     ac_cv_prog_ac_ct_STRIP="strip"
   3788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3789     break 2
   3790   fi
   3791 done
   3792   done
   3793 IFS=$as_save_IFS
   3794 
   3795 fi
   3796 fi
   3797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3798 if test -n "$ac_ct_STRIP"; then
   3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3800 $as_echo "$ac_ct_STRIP" >&6; }
   3801 else
   3802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3803 $as_echo "no" >&6; }
   3804 fi
   3805 
   3806   if test "x$ac_ct_STRIP" = x; then
   3807     STRIP=":"
   3808   else
   3809     case $cross_compiling:$ac_tool_warned in
   3810 yes:)
   3811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3813 ac_tool_warned=yes ;;
   3814 esac
   3815     STRIP=$ac_ct_STRIP
   3816   fi
   3817 else
   3818   STRIP="$ac_cv_prog_STRIP"
   3819 fi
   3820 
   3821 fi
   3822 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3823 
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3825 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3826 if test -z "$MKDIR_P"; then
   3827   if ${ac_cv_path_mkdir+:} false; then :
   3828   $as_echo_n "(cached) " >&6
   3829 else
   3830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3831 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3832 do
   3833   IFS=$as_save_IFS
   3834   test -z "$as_dir" && as_dir=.
   3835     for ac_prog in mkdir gmkdir; do
   3836 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3837 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3838 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3839 	     'mkdir (GNU coreutils) '* | \
   3840 	     'mkdir (coreutils) '* | \
   3841 	     'mkdir (fileutils) '4.1*)
   3842 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3843 	       break 3;;
   3844 	   esac
   3845 	 done
   3846        done
   3847   done
   3848 IFS=$as_save_IFS
   3849 
   3850 fi
   3851 
   3852   test -d ./--version && rmdir ./--version
   3853   if test "${ac_cv_path_mkdir+set}" = set; then
   3854     MKDIR_P="$ac_cv_path_mkdir -p"
   3855   else
   3856     # As a last resort, use the slow shell script.  Don't cache a
   3857     # value for MKDIR_P within a source directory, because that will
   3858     # break other packages using the cache if that directory is
   3859     # removed, or if the value is a relative name.
   3860     MKDIR_P="$ac_install_sh -d"
   3861   fi
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3864 $as_echo "$MKDIR_P" >&6; }
   3865 
   3866 for ac_prog in gawk mawk nawk awk
   3867 do
   3868   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3869 set dummy $ac_prog; ac_word=$2
   3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3871 $as_echo_n "checking for $ac_word... " >&6; }
   3872 if ${ac_cv_prog_AWK+:} false; then :
   3873   $as_echo_n "(cached) " >&6
   3874 else
   3875   if test -n "$AWK"; then
   3876   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3877 else
   3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3879 for as_dir in $PATH
   3880 do
   3881   IFS=$as_save_IFS
   3882   test -z "$as_dir" && as_dir=.
   3883     for ac_exec_ext in '' $ac_executable_extensions; do
   3884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3885     ac_cv_prog_AWK="$ac_prog"
   3886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3887     break 2
   3888   fi
   3889 done
   3890   done
   3891 IFS=$as_save_IFS
   3892 
   3893 fi
   3894 fi
   3895 AWK=$ac_cv_prog_AWK
   3896 if test -n "$AWK"; then
   3897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3898 $as_echo "$AWK" >&6; }
   3899 else
   3900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3901 $as_echo "no" >&6; }
   3902 fi
   3903 
   3904 
   3905   test -n "$AWK" && break
   3906 done
   3907 
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3909 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3910 set x ${MAKE-make}
   3911 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3912 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3913   $as_echo_n "(cached) " >&6
   3914 else
   3915   cat >conftest.make <<\_ACEOF
   3916 SHELL = /bin/sh
   3917 all:
   3918 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3919 _ACEOF
   3920 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3921 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3922   *@@@%%%=?*=@@@%%%*)
   3923     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3924   *)
   3925     eval ac_cv_prog_make_${ac_make}_set=no;;
   3926 esac
   3927 rm -f conftest.make
   3928 fi
   3929 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3931 $as_echo "yes" >&6; }
   3932   SET_MAKE=
   3933 else
   3934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3935 $as_echo "no" >&6; }
   3936   SET_MAKE="MAKE=${MAKE-make}"
   3937 fi
   3938 
   3939 rm -rf .tst 2>/dev/null
   3940 mkdir .tst 2>/dev/null
   3941 if test -d .tst; then
   3942   am__leading_dot=.
   3943 else
   3944   am__leading_dot=_
   3945 fi
   3946 rmdir .tst 2>/dev/null
   3947 
   3948 DEPDIR="${am__leading_dot}deps"
   3949 
   3950 ac_config_commands="$ac_config_commands depfiles"
   3951 
   3952 
   3953 am_make=${MAKE-make}
   3954 cat > confinc << 'END'
   3955 am__doit:
   3956 	@echo this is the am__doit target
   3957 .PHONY: am__doit
   3958 END
   3959 # If we don't find an include directive, just comment out the code.
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3961 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3962 am__include="#"
   3963 am__quote=
   3964 _am_result=none
   3965 # First try GNU make style include.
   3966 echo "include confinc" > confmf
   3967 # Ignore all kinds of additional output from 'make'.
   3968 case `$am_make -s -f confmf 2> /dev/null` in #(
   3969 *the\ am__doit\ target*)
   3970   am__include=include
   3971   am__quote=
   3972   _am_result=GNU
   3973   ;;
   3974 esac
   3975 # Now try BSD make style include.
   3976 if test "$am__include" = "#"; then
   3977    echo '.include "confinc"' > confmf
   3978    case `$am_make -s -f confmf 2> /dev/null` in #(
   3979    *the\ am__doit\ target*)
   3980      am__include=.include
   3981      am__quote="\""
   3982      _am_result=BSD
   3983      ;;
   3984    esac
   3985 fi
   3986 
   3987 
   3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3989 $as_echo "$_am_result" >&6; }
   3990 rm -f confinc confmf
   3991 
   3992 # Check whether --enable-dependency-tracking was given.
   3993 if test "${enable_dependency_tracking+set}" = set; then :
   3994   enableval=$enable_dependency_tracking;
   3995 fi
   3996 
   3997 if test "x$enable_dependency_tracking" != xno; then
   3998   am_depcomp="$ac_aux_dir/depcomp"
   3999   AMDEPBACKSLASH='\'
   4000   am__nodep='_no'
   4001 fi
   4002  if test "x$enable_dependency_tracking" != xno; then
   4003   AMDEP_TRUE=
   4004   AMDEP_FALSE='#'
   4005 else
   4006   AMDEP_TRUE='#'
   4007   AMDEP_FALSE=
   4008 fi
   4009 
   4010 
   4011 # Check whether --enable-silent-rules was given.
   4012 if test "${enable_silent_rules+set}" = set; then :
   4013   enableval=$enable_silent_rules;
   4014 fi
   4015 
   4016 case $enable_silent_rules in # (((
   4017   yes) AM_DEFAULT_VERBOSITY=0;;
   4018    no) AM_DEFAULT_VERBOSITY=1;;
   4019     *) AM_DEFAULT_VERBOSITY=1;;
   4020 esac
   4021 am_make=${MAKE-make}
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4023 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4024 if ${am_cv_make_support_nested_variables+:} false; then :
   4025   $as_echo_n "(cached) " >&6
   4026 else
   4027   if $as_echo 'TRUE=$(BAR$(V))
   4028 BAR0=false
   4029 BAR1=true
   4030 V=1
   4031 am__doit:
   4032 	@$(TRUE)
   4033 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4034   am_cv_make_support_nested_variables=yes
   4035 else
   4036   am_cv_make_support_nested_variables=no
   4037 fi
   4038 fi
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4040 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4041 if test $am_cv_make_support_nested_variables = yes; then
   4042     AM_V='$(V)'
   4043   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4044 else
   4045   AM_V=$AM_DEFAULT_VERBOSITY
   4046   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4047 fi
   4048 AM_BACKSLASH='\'
   4049 
   4050 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4051   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4052   # is not polluted with repeated "-I."
   4053   am__isrc=' -I$(srcdir)'
   4054   # test to see if srcdir already configured
   4055   if test -f $srcdir/config.status; then
   4056     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4057   fi
   4058 fi
   4059 
   4060 # test whether we have cygpath
   4061 if test -z "$CYGPATH_W"; then
   4062   if (cygpath --version) >/dev/null 2>/dev/null; then
   4063     CYGPATH_W='cygpath -w'
   4064   else
   4065     CYGPATH_W=echo
   4066   fi
   4067 fi
   4068 
   4069 
   4070 # Define the identity of the package.
   4071  PACKAGE='xlsclients'
   4072  VERSION='1.1.4'
   4073 
   4074 
   4075 cat >>confdefs.h <<_ACEOF
   4076 #define PACKAGE "$PACKAGE"
   4077 _ACEOF
   4078 
   4079 
   4080 cat >>confdefs.h <<_ACEOF
   4081 #define VERSION "$VERSION"
   4082 _ACEOF
   4083 
   4084 # Some tools Automake needs.
   4085 
   4086 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4087 
   4088 
   4089 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4090 
   4091 
   4092 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4093 
   4094 
   4095 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4096 
   4097 
   4098 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4099 
   4100 # For better backward compatibility.  To be removed once Automake 1.9.x
   4101 # dies out for good.  For more background, see:
   4102 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4103 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4104 mkdir_p='$(MKDIR_P)'
   4105 
   4106 # We need awk for the "check" target (and possibly the TAP driver).  The
   4107 # system "awk" is bad on some platforms.
   4108 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4109 # in the wild :-(  We should find a proper way to deprecate it ...
   4110 AMTAR='$${TAR-tar}'
   4111 
   4112 
   4113 # We'll loop over all known methods to create a tar archive until one works.
   4114 _am_tools='gnutar  pax cpio none'
   4115 
   4116 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4117 
   4118 
   4119 
   4120 
   4121 
   4122 depcc="$CC"   am_compiler_list=
   4123 
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4125 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4126 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4127   $as_echo_n "(cached) " >&6
   4128 else
   4129   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4130   # We make a subdir and do the tests there.  Otherwise we can end up
   4131   # making bogus files that we don't know about and never remove.  For
   4132   # instance it was reported that on HP-UX the gcc test will end up
   4133   # making a dummy file named 'D' -- because '-MD' means "put the output
   4134   # in D".
   4135   rm -rf conftest.dir
   4136   mkdir conftest.dir
   4137   # Copy depcomp to subdir because otherwise we won't find it if we're
   4138   # using a relative directory.
   4139   cp "$am_depcomp" conftest.dir
   4140   cd conftest.dir
   4141   # We will build objects and dependencies in a subdirectory because
   4142   # it helps to detect inapplicable dependency modes.  For instance
   4143   # both Tru64's cc and ICC support -MD to output dependencies as a
   4144   # side effect of compilation, but ICC will put the dependencies in
   4145   # the current directory while Tru64 will put them in the object
   4146   # directory.
   4147   mkdir sub
   4148 
   4149   am_cv_CC_dependencies_compiler_type=none
   4150   if test "$am_compiler_list" = ""; then
   4151      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4152   fi
   4153   am__universal=false
   4154   case " $depcc " in #(
   4155      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4156      esac
   4157 
   4158   for depmode in $am_compiler_list; do
   4159     # Setup a source with many dependencies, because some compilers
   4160     # like to wrap large dependency lists on column 80 (with \), and
   4161     # we should not choose a depcomp mode which is confused by this.
   4162     #
   4163     # We need to recreate these files for each test, as the compiler may
   4164     # overwrite some of them when testing with obscure command lines.
   4165     # This happens at least with the AIX C compiler.
   4166     : > sub/conftest.c
   4167     for i in 1 2 3 4 5 6; do
   4168       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4169       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4170       # Solaris 10 /bin/sh.
   4171       echo '/* dummy */' > sub/conftst$i.h
   4172     done
   4173     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4174 
   4175     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4176     # mode.  It turns out that the SunPro C++ compiler does not properly
   4177     # handle '-M -o', and we need to detect this.  Also, some Intel
   4178     # versions had trouble with output in subdirs.
   4179     am__obj=sub/conftest.${OBJEXT-o}
   4180     am__minus_obj="-o $am__obj"
   4181     case $depmode in
   4182     gcc)
   4183       # This depmode causes a compiler race in universal mode.
   4184       test "$am__universal" = false || continue
   4185       ;;
   4186     nosideeffect)
   4187       # After this tag, mechanisms are not by side-effect, so they'll
   4188       # only be used when explicitly requested.
   4189       if test "x$enable_dependency_tracking" = xyes; then
   4190 	continue
   4191       else
   4192 	break
   4193       fi
   4194       ;;
   4195     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4196       # This compiler won't grok '-c -o', but also, the minuso test has
   4197       # not run yet.  These depmodes are late enough in the game, and
   4198       # so weak that their functioning should not be impacted.
   4199       am__obj=conftest.${OBJEXT-o}
   4200       am__minus_obj=
   4201       ;;
   4202     none) break ;;
   4203     esac
   4204     if depmode=$depmode \
   4205        source=sub/conftest.c object=$am__obj \
   4206        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4207        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4208          >/dev/null 2>conftest.err &&
   4209        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4210        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4211        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4212        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4213       # icc doesn't choke on unknown options, it will just issue warnings
   4214       # or remarks (even with -Werror).  So we grep stderr for any message
   4215       # that says an option was ignored or not supported.
   4216       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4217       #   icc: Command line warning: ignoring option '-M'; no argument required
   4218       # The diagnosis changed in icc 8.0:
   4219       #   icc: Command line remark: option '-MP' not supported
   4220       if (grep 'ignoring option' conftest.err ||
   4221           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4222         am_cv_CC_dependencies_compiler_type=$depmode
   4223         break
   4224       fi
   4225     fi
   4226   done
   4227 
   4228   cd ..
   4229   rm -rf conftest.dir
   4230 else
   4231   am_cv_CC_dependencies_compiler_type=none
   4232 fi
   4233 
   4234 fi
   4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4236 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4237 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4238 
   4239  if
   4240   test "x$enable_dependency_tracking" != xno \
   4241   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4242   am__fastdepCC_TRUE=
   4243   am__fastdepCC_FALSE='#'
   4244 else
   4245   am__fastdepCC_TRUE='#'
   4246   am__fastdepCC_FALSE=
   4247 fi
   4248 
   4249 
   4250 
   4251 # POSIX will say in a future version that running "rm -f" with no argument
   4252 # is OK; and we want to be able to make that assumption in our Makefile
   4253 # recipes.  So use an aggressive probe to check that the usage we want is
   4254 # actually supported "in the wild" to an acceptable degree.
   4255 # See automake bug#10828.
   4256 # To make any issue more visible, cause the running configure to be aborted
   4257 # by default if the 'rm' program in use doesn't match our expectations; the
   4258 # user can still override this though.
   4259 if rm -f && rm -fr && rm -rf; then : OK; else
   4260   cat >&2 <<'END'
   4261 Oops!
   4262 
   4263 Your 'rm' program seems unable to run without file operands specified
   4264 on the command line, even when the '-f' option is present.  This is contrary
   4265 to the behaviour of most rm programs out there, and not conforming with
   4266 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4267 
   4268 Please tell bug-automake@gnu.org about your system, including the value
   4269 of your $PATH and any error possibly output before this message.  This
   4270 can help us improve future automake versions.
   4271 
   4272 END
   4273   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4274     echo 'Configuration will proceed anyway, since you have set the' >&2
   4275     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4276     echo >&2
   4277   else
   4278     cat >&2 <<'END'
   4279 Aborting the configuration process, to ensure you take notice of the issue.
   4280 
   4281 You can download and install GNU coreutils to get an 'rm' implementation
   4282 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4283 
   4284 If you want to complete the configuration process using your problematic
   4285 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4286 to "yes", and re-run configure.
   4287 
   4288 END
   4289     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4290   fi
   4291 fi
   4292 
   4293 
   4294 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 
   4306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4307 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4308 if ${ac_cv_prog_cc_c99+:} false; then :
   4309   $as_echo_n "(cached) " >&6
   4310 else
   4311   ac_cv_prog_cc_c99=no
   4312 ac_save_CC=$CC
   4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4314 /* end confdefs.h.  */
   4315 #include <stdarg.h>
   4316 #include <stdbool.h>
   4317 #include <stdlib.h>
   4318 #include <wchar.h>
   4319 #include <stdio.h>
   4320 
   4321 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4322 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4323 #define showlist(...) puts (#__VA_ARGS__)
   4324 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4325 static void
   4326 test_varargs_macros (void)
   4327 {
   4328   int x = 1234;
   4329   int y = 5678;
   4330   debug ("Flag");
   4331   debug ("X = %d\n", x);
   4332   showlist (The first, second, and third items.);
   4333   report (x>y, "x is %d but y is %d", x, y);
   4334 }
   4335 
   4336 // Check long long types.
   4337 #define BIG64 18446744073709551615ull
   4338 #define BIG32 4294967295ul
   4339 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4340 #if !BIG_OK
   4341   your preprocessor is broken;
   4342 #endif
   4343 #if BIG_OK
   4344 #else
   4345   your preprocessor is broken;
   4346 #endif
   4347 static long long int bignum = -9223372036854775807LL;
   4348 static unsigned long long int ubignum = BIG64;
   4349 
   4350 struct incomplete_array
   4351 {
   4352   int datasize;
   4353   double data[];
   4354 };
   4355 
   4356 struct named_init {
   4357   int number;
   4358   const wchar_t *name;
   4359   double average;
   4360 };
   4361 
   4362 typedef const char *ccp;
   4363 
   4364 static inline int
   4365 test_restrict (ccp restrict text)
   4366 {
   4367   // See if C++-style comments work.
   4368   // Iterate through items via the restricted pointer.
   4369   // Also check for declarations in for loops.
   4370   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4371     continue;
   4372   return 0;
   4373 }
   4374 
   4375 // Check varargs and va_copy.
   4376 static void
   4377 test_varargs (const char *format, ...)
   4378 {
   4379   va_list args;
   4380   va_start (args, format);
   4381   va_list args_copy;
   4382   va_copy (args_copy, args);
   4383 
   4384   const char *str;
   4385   int number;
   4386   float fnumber;
   4387 
   4388   while (*format)
   4389     {
   4390       switch (*format++)
   4391 	{
   4392 	case 's': // string
   4393 	  str = va_arg (args_copy, const char *);
   4394 	  break;
   4395 	case 'd': // int
   4396 	  number = va_arg (args_copy, int);
   4397 	  break;
   4398 	case 'f': // float
   4399 	  fnumber = va_arg (args_copy, double);
   4400 	  break;
   4401 	default:
   4402 	  break;
   4403 	}
   4404     }
   4405   va_end (args_copy);
   4406   va_end (args);
   4407 }
   4408 
   4409 int
   4410 main ()
   4411 {
   4412 
   4413   // Check bool.
   4414   _Bool success = false;
   4415 
   4416   // Check restrict.
   4417   if (test_restrict ("String literal") == 0)
   4418     success = true;
   4419   char *restrict newvar = "Another string";
   4420 
   4421   // Check varargs.
   4422   test_varargs ("s, d' f .", "string", 65, 34.234);
   4423   test_varargs_macros ();
   4424 
   4425   // Check flexible array members.
   4426   struct incomplete_array *ia =
   4427     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4428   ia->datasize = 10;
   4429   for (int i = 0; i < ia->datasize; ++i)
   4430     ia->data[i] = i * 1.234;
   4431 
   4432   // Check named initializers.
   4433   struct named_init ni = {
   4434     .number = 34,
   4435     .name = L"Test wide string",
   4436     .average = 543.34343,
   4437   };
   4438 
   4439   ni.number = 58;
   4440 
   4441   int dynamic_array[ni.number];
   4442   dynamic_array[ni.number - 1] = 543;
   4443 
   4444   // work around unused variable warnings
   4445   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4446 	  || dynamic_array[ni.number - 1] != 543);
   4447 
   4448   ;
   4449   return 0;
   4450 }
   4451 _ACEOF
   4452 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4453 do
   4454   CC="$ac_save_CC $ac_arg"
   4455   if ac_fn_c_try_compile "$LINENO"; then :
   4456   ac_cv_prog_cc_c99=$ac_arg
   4457 fi
   4458 rm -f core conftest.err conftest.$ac_objext
   4459   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4460 done
   4461 rm -f conftest.$ac_ext
   4462 CC=$ac_save_CC
   4463 
   4464 fi
   4465 # AC_CACHE_VAL
   4466 case "x$ac_cv_prog_cc_c99" in
   4467   x)
   4468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4469 $as_echo "none needed" >&6; } ;;
   4470   xno)
   4471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4472 $as_echo "unsupported" >&6; } ;;
   4473   *)
   4474     CC="$CC $ac_cv_prog_cc_c99"
   4475     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4476 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4477 esac
   4478 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4479 
   4480 fi
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4488 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4489   CLANGCC="yes"
   4490 else
   4491   CLANGCC="no"
   4492 fi
   4493 
   4494 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4495 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4496   INTELCC="yes"
   4497 else
   4498   INTELCC="no"
   4499 fi
   4500 
   4501 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4502 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4503   SUNCC="yes"
   4504 else
   4505   SUNCC="no"
   4506 fi
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4517 	if test -n "$ac_tool_prefix"; then
   4518   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4519 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4521 $as_echo_n "checking for $ac_word... " >&6; }
   4522 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4523   $as_echo_n "(cached) " >&6
   4524 else
   4525   case $PKG_CONFIG in
   4526   [\\/]* | ?:[\\/]*)
   4527   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4528   ;;
   4529   *)
   4530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4531 for as_dir in $PATH
   4532 do
   4533   IFS=$as_save_IFS
   4534   test -z "$as_dir" && as_dir=.
   4535     for ac_exec_ext in '' $ac_executable_extensions; do
   4536   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4537     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4539     break 2
   4540   fi
   4541 done
   4542   done
   4543 IFS=$as_save_IFS
   4544 
   4545   ;;
   4546 esac
   4547 fi
   4548 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4549 if test -n "$PKG_CONFIG"; then
   4550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4551 $as_echo "$PKG_CONFIG" >&6; }
   4552 else
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4554 $as_echo "no" >&6; }
   4555 fi
   4556 
   4557 
   4558 fi
   4559 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4560   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4561   # Extract the first word of "pkg-config", so it can be a program name with args.
   4562 set dummy pkg-config; ac_word=$2
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4564 $as_echo_n "checking for $ac_word... " >&6; }
   4565 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4566   $as_echo_n "(cached) " >&6
   4567 else
   4568   case $ac_pt_PKG_CONFIG in
   4569   [\\/]* | ?:[\\/]*)
   4570   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4571   ;;
   4572   *)
   4573   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4574 for as_dir in $PATH
   4575 do
   4576   IFS=$as_save_IFS
   4577   test -z "$as_dir" && as_dir=.
   4578     for ac_exec_ext in '' $ac_executable_extensions; do
   4579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4580     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4582     break 2
   4583   fi
   4584 done
   4585   done
   4586 IFS=$as_save_IFS
   4587 
   4588   ;;
   4589 esac
   4590 fi
   4591 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4592 if test -n "$ac_pt_PKG_CONFIG"; then
   4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4594 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4595 else
   4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4597 $as_echo "no" >&6; }
   4598 fi
   4599 
   4600   if test "x$ac_pt_PKG_CONFIG" = x; then
   4601     PKG_CONFIG=""
   4602   else
   4603     case $cross_compiling:$ac_tool_warned in
   4604 yes:)
   4605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4607 ac_tool_warned=yes ;;
   4608 esac
   4609     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4610   fi
   4611 else
   4612   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4613 fi
   4614 
   4615 fi
   4616 if test -n "$PKG_CONFIG"; then
   4617 	_pkg_min_version=0.9.0
   4618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4619 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4620 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4622 $as_echo "yes" >&6; }
   4623 	else
   4624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4625 $as_echo "no" >&6; }
   4626 		PKG_CONFIG=""
   4627 	fi
   4628 fi
   4629 # Make sure we can run config.sub.
   4630 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4631   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4632 
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4634 $as_echo_n "checking build system type... " >&6; }
   4635 if ${ac_cv_build+:} false; then :
   4636   $as_echo_n "(cached) " >&6
   4637 else
   4638   ac_build_alias=$build_alias
   4639 test "x$ac_build_alias" = x &&
   4640   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4641 test "x$ac_build_alias" = x &&
   4642   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4643 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4644   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4645 
   4646 fi
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4648 $as_echo "$ac_cv_build" >&6; }
   4649 case $ac_cv_build in
   4650 *-*-*) ;;
   4651 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4652 esac
   4653 build=$ac_cv_build
   4654 ac_save_IFS=$IFS; IFS='-'
   4655 set x $ac_cv_build
   4656 shift
   4657 build_cpu=$1
   4658 build_vendor=$2
   4659 shift; shift
   4660 # Remember, the first character of IFS is used to create $*,
   4661 # except with old shells:
   4662 build_os=$*
   4663 IFS=$ac_save_IFS
   4664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4665 
   4666 
   4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4668 $as_echo_n "checking host system type... " >&6; }
   4669 if ${ac_cv_host+:} false; then :
   4670   $as_echo_n "(cached) " >&6
   4671 else
   4672   if test "x$host_alias" = x; then
   4673   ac_cv_host=$ac_cv_build
   4674 else
   4675   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4676     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4677 fi
   4678 
   4679 fi
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4681 $as_echo "$ac_cv_host" >&6; }
   4682 case $ac_cv_host in
   4683 *-*-*) ;;
   4684 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4685 esac
   4686 host=$ac_cv_host
   4687 ac_save_IFS=$IFS; IFS='-'
   4688 set x $ac_cv_host
   4689 shift
   4690 host_cpu=$1
   4691 host_vendor=$2
   4692 shift; shift
   4693 # Remember, the first character of IFS is used to create $*,
   4694 # except with old shells:
   4695 host_os=$*
   4696 IFS=$ac_save_IFS
   4697 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4698 
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4701 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4702 if ${ac_cv_path_SED+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4706      for ac_i in 1 2 3 4 5 6 7; do
   4707        ac_script="$ac_script$as_nl$ac_script"
   4708      done
   4709      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4710      { ac_script=; unset ac_script;}
   4711      if test -z "$SED"; then
   4712   ac_path_SED_found=false
   4713   # Loop through the user's path and test for each of PROGNAME-LIST
   4714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4715 for as_dir in $PATH
   4716 do
   4717   IFS=$as_save_IFS
   4718   test -z "$as_dir" && as_dir=.
   4719     for ac_prog in sed gsed; do
   4720     for ac_exec_ext in '' $ac_executable_extensions; do
   4721       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4722       as_fn_executable_p "$ac_path_SED" || continue
   4723 # Check for GNU ac_path_SED and select it if it is found.
   4724   # Check for GNU $ac_path_SED
   4725 case `"$ac_path_SED" --version 2>&1` in
   4726 *GNU*)
   4727   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4728 *)
   4729   ac_count=0
   4730   $as_echo_n 0123456789 >"conftest.in"
   4731   while :
   4732   do
   4733     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4734     mv "conftest.tmp" "conftest.in"
   4735     cp "conftest.in" "conftest.nl"
   4736     $as_echo '' >> "conftest.nl"
   4737     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4738     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4739     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4740     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4741       # Best one so far, save it but keep looking for a better one
   4742       ac_cv_path_SED="$ac_path_SED"
   4743       ac_path_SED_max=$ac_count
   4744     fi
   4745     # 10*(2^10) chars as input seems more than enough
   4746     test $ac_count -gt 10 && break
   4747   done
   4748   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4749 esac
   4750 
   4751       $ac_path_SED_found && break 3
   4752     done
   4753   done
   4754   done
   4755 IFS=$as_save_IFS
   4756   if test -z "$ac_cv_path_SED"; then
   4757     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4758   fi
   4759 else
   4760   ac_cv_path_SED=$SED
   4761 fi
   4762 
   4763 fi
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4765 $as_echo "$ac_cv_path_SED" >&6; }
   4766  SED="$ac_cv_path_SED"
   4767   rm -f conftest.sed
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 # Check whether --enable-selective-werror was given.
   4775 if test "${enable_selective_werror+set}" = set; then :
   4776   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4777 else
   4778   SELECTIVE_WERROR=yes
   4779 fi
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4786 if test "x$SUNCC" = "xyes"; then
   4787     BASE_CFLAGS="-v"
   4788 else
   4789     BASE_CFLAGS=""
   4790 fi
   4791 
   4792 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 xorg_testset_save_CFLAGS="$CFLAGS"
   4807 
   4808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4811 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4812 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4816 /* end confdefs.h.  */
   4817 int i;
   4818 _ACEOF
   4819 if ac_fn_c_try_compile "$LINENO"; then :
   4820   xorg_cv_cc_flag_unknown_warning_option=yes
   4821 else
   4822   xorg_cv_cc_flag_unknown_warning_option=no
   4823 fi
   4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4825 fi
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4827 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4829 	CFLAGS="$xorg_testset_save_CFLAGS"
   4830 fi
   4831 
   4832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4835 	fi
   4836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4838 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4839 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4840   $as_echo_n "(cached) " >&6
   4841 else
   4842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4843 /* end confdefs.h.  */
   4844 int i;
   4845 _ACEOF
   4846 if ac_fn_c_try_compile "$LINENO"; then :
   4847   xorg_cv_cc_flag_unused_command_line_argument=yes
   4848 else
   4849   xorg_cv_cc_flag_unused_command_line_argument=no
   4850 fi
   4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4852 fi
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4854 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4856 	CFLAGS="$xorg_testset_save_CFLAGS"
   4857 fi
   4858 
   4859 found="no"
   4860 
   4861 	if test $found = "no" ; then
   4862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4864 		fi
   4865 
   4866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4868 		fi
   4869 
   4870 		CFLAGS="$CFLAGS -Wall"
   4871 
   4872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4873 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4874 		cacheid=xorg_cv_cc_flag__Wall
   4875 		if eval \${$cacheid+:} false; then :
   4876   $as_echo_n "(cached) " >&6
   4877 else
   4878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4879 /* end confdefs.h.  */
   4880 int i;
   4881 int
   4882 main ()
   4883 {
   4884 
   4885   ;
   4886   return 0;
   4887 }
   4888 _ACEOF
   4889 if ac_fn_c_try_link "$LINENO"; then :
   4890   eval $cacheid=yes
   4891 else
   4892   eval $cacheid=no
   4893 fi
   4894 rm -f core conftest.err conftest.$ac_objext \
   4895     conftest$ac_exeext conftest.$ac_ext
   4896 fi
   4897 
   4898 
   4899 		CFLAGS="$xorg_testset_save_CFLAGS"
   4900 
   4901 		eval supported=\$$cacheid
   4902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4903 $as_echo "$supported" >&6; }
   4904 		if test "$supported" = "yes" ; then
   4905 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4906 			found="yes"
   4907 		fi
   4908 	fi
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 xorg_testset_save_CFLAGS="$CFLAGS"
   4925 
   4926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4929 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4930 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4931   $as_echo_n "(cached) " >&6
   4932 else
   4933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4934 /* end confdefs.h.  */
   4935 int i;
   4936 _ACEOF
   4937 if ac_fn_c_try_compile "$LINENO"; then :
   4938   xorg_cv_cc_flag_unknown_warning_option=yes
   4939 else
   4940   xorg_cv_cc_flag_unknown_warning_option=no
   4941 fi
   4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4943 fi
   4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4945 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4947 	CFLAGS="$xorg_testset_save_CFLAGS"
   4948 fi
   4949 
   4950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4953 	fi
   4954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4956 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4957 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 int i;
   4963 _ACEOF
   4964 if ac_fn_c_try_compile "$LINENO"; then :
   4965   xorg_cv_cc_flag_unused_command_line_argument=yes
   4966 else
   4967   xorg_cv_cc_flag_unused_command_line_argument=no
   4968 fi
   4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4970 fi
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4972 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4974 	CFLAGS="$xorg_testset_save_CFLAGS"
   4975 fi
   4976 
   4977 found="no"
   4978 
   4979 	if test $found = "no" ; then
   4980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4982 		fi
   4983 
   4984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4986 		fi
   4987 
   4988 		CFLAGS="$CFLAGS -Wpointer-arith"
   4989 
   4990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4991 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4992 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4993 		if eval \${$cacheid+:} false; then :
   4994   $as_echo_n "(cached) " >&6
   4995 else
   4996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4997 /* end confdefs.h.  */
   4998 int i;
   4999 int
   5000 main ()
   5001 {
   5002 
   5003   ;
   5004   return 0;
   5005 }
   5006 _ACEOF
   5007 if ac_fn_c_try_link "$LINENO"; then :
   5008   eval $cacheid=yes
   5009 else
   5010   eval $cacheid=no
   5011 fi
   5012 rm -f core conftest.err conftest.$ac_objext \
   5013     conftest$ac_exeext conftest.$ac_ext
   5014 fi
   5015 
   5016 
   5017 		CFLAGS="$xorg_testset_save_CFLAGS"
   5018 
   5019 		eval supported=\$$cacheid
   5020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5021 $as_echo "$supported" >&6; }
   5022 		if test "$supported" = "yes" ; then
   5023 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5024 			found="yes"
   5025 		fi
   5026 	fi
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 xorg_testset_save_CFLAGS="$CFLAGS"
   5043 
   5044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5047 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5048 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5049   $as_echo_n "(cached) " >&6
   5050 else
   5051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5052 /* end confdefs.h.  */
   5053 int i;
   5054 _ACEOF
   5055 if ac_fn_c_try_compile "$LINENO"; then :
   5056   xorg_cv_cc_flag_unknown_warning_option=yes
   5057 else
   5058   xorg_cv_cc_flag_unknown_warning_option=no
   5059 fi
   5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5061 fi
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5063 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5065 	CFLAGS="$xorg_testset_save_CFLAGS"
   5066 fi
   5067 
   5068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5071 	fi
   5072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5074 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5075 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 int i;
   5081 _ACEOF
   5082 if ac_fn_c_try_compile "$LINENO"; then :
   5083   xorg_cv_cc_flag_unused_command_line_argument=yes
   5084 else
   5085   xorg_cv_cc_flag_unused_command_line_argument=no
   5086 fi
   5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5088 fi
   5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5090 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5092 	CFLAGS="$xorg_testset_save_CFLAGS"
   5093 fi
   5094 
   5095 found="no"
   5096 
   5097 	if test $found = "no" ; then
   5098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5100 		fi
   5101 
   5102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5104 		fi
   5105 
   5106 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5107 
   5108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5109 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5110 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5111 		if eval \${$cacheid+:} false; then :
   5112   $as_echo_n "(cached) " >&6
   5113 else
   5114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5115 /* end confdefs.h.  */
   5116 int i;
   5117 int
   5118 main ()
   5119 {
   5120 
   5121   ;
   5122   return 0;
   5123 }
   5124 _ACEOF
   5125 if ac_fn_c_try_link "$LINENO"; then :
   5126   eval $cacheid=yes
   5127 else
   5128   eval $cacheid=no
   5129 fi
   5130 rm -f core conftest.err conftest.$ac_objext \
   5131     conftest$ac_exeext conftest.$ac_ext
   5132 fi
   5133 
   5134 
   5135 		CFLAGS="$xorg_testset_save_CFLAGS"
   5136 
   5137 		eval supported=\$$cacheid
   5138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5139 $as_echo "$supported" >&6; }
   5140 		if test "$supported" = "yes" ; then
   5141 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5142 			found="yes"
   5143 		fi
   5144 	fi
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 xorg_testset_save_CFLAGS="$CFLAGS"
   5161 
   5162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5167   $as_echo_n "(cached) " >&6
   5168 else
   5169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5170 /* end confdefs.h.  */
   5171 int i;
   5172 _ACEOF
   5173 if ac_fn_c_try_compile "$LINENO"; then :
   5174   xorg_cv_cc_flag_unknown_warning_option=yes
   5175 else
   5176   xorg_cv_cc_flag_unknown_warning_option=no
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5179 fi
   5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5183 	CFLAGS="$xorg_testset_save_CFLAGS"
   5184 fi
   5185 
   5186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5189 	fi
   5190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5194   $as_echo_n "(cached) " >&6
   5195 else
   5196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5197 /* end confdefs.h.  */
   5198 int i;
   5199 _ACEOF
   5200 if ac_fn_c_try_compile "$LINENO"; then :
   5201   xorg_cv_cc_flag_unused_command_line_argument=yes
   5202 else
   5203   xorg_cv_cc_flag_unused_command_line_argument=no
   5204 fi
   5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5206 fi
   5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5210 	CFLAGS="$xorg_testset_save_CFLAGS"
   5211 fi
   5212 
   5213 found="no"
   5214 
   5215 	if test $found = "no" ; then
   5216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5218 		fi
   5219 
   5220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5222 		fi
   5223 
   5224 		CFLAGS="$CFLAGS -Wformat=2"
   5225 
   5226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5227 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5228 		cacheid=xorg_cv_cc_flag__Wformat_2
   5229 		if eval \${$cacheid+:} false; then :
   5230   $as_echo_n "(cached) " >&6
   5231 else
   5232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5233 /* end confdefs.h.  */
   5234 int i;
   5235 int
   5236 main ()
   5237 {
   5238 
   5239   ;
   5240   return 0;
   5241 }
   5242 _ACEOF
   5243 if ac_fn_c_try_link "$LINENO"; then :
   5244   eval $cacheid=yes
   5245 else
   5246   eval $cacheid=no
   5247 fi
   5248 rm -f core conftest.err conftest.$ac_objext \
   5249     conftest$ac_exeext conftest.$ac_ext
   5250 fi
   5251 
   5252 
   5253 		CFLAGS="$xorg_testset_save_CFLAGS"
   5254 
   5255 		eval supported=\$$cacheid
   5256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5257 $as_echo "$supported" >&6; }
   5258 		if test "$supported" = "yes" ; then
   5259 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5260 			found="yes"
   5261 		fi
   5262 	fi
   5263 
   5264 	if test $found = "no" ; then
   5265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5267 		fi
   5268 
   5269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5271 		fi
   5272 
   5273 		CFLAGS="$CFLAGS -Wformat"
   5274 
   5275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5276 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5277 		cacheid=xorg_cv_cc_flag__Wformat
   5278 		if eval \${$cacheid+:} false; then :
   5279   $as_echo_n "(cached) " >&6
   5280 else
   5281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5282 /* end confdefs.h.  */
   5283 int i;
   5284 int
   5285 main ()
   5286 {
   5287 
   5288   ;
   5289   return 0;
   5290 }
   5291 _ACEOF
   5292 if ac_fn_c_try_link "$LINENO"; then :
   5293   eval $cacheid=yes
   5294 else
   5295   eval $cacheid=no
   5296 fi
   5297 rm -f core conftest.err conftest.$ac_objext \
   5298     conftest$ac_exeext conftest.$ac_ext
   5299 fi
   5300 
   5301 
   5302 		CFLAGS="$xorg_testset_save_CFLAGS"
   5303 
   5304 		eval supported=\$$cacheid
   5305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5306 $as_echo "$supported" >&6; }
   5307 		if test "$supported" = "yes" ; then
   5308 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5309 			found="yes"
   5310 		fi
   5311 	fi
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 xorg_testset_save_CFLAGS="$CFLAGS"
   5330 
   5331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5334 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5335 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5339 /* end confdefs.h.  */
   5340 int i;
   5341 _ACEOF
   5342 if ac_fn_c_try_compile "$LINENO"; then :
   5343   xorg_cv_cc_flag_unknown_warning_option=yes
   5344 else
   5345   xorg_cv_cc_flag_unknown_warning_option=no
   5346 fi
   5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5348 fi
   5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5350 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5352 	CFLAGS="$xorg_testset_save_CFLAGS"
   5353 fi
   5354 
   5355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5358 	fi
   5359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5361 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5362 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5366 /* end confdefs.h.  */
   5367 int i;
   5368 _ACEOF
   5369 if ac_fn_c_try_compile "$LINENO"; then :
   5370   xorg_cv_cc_flag_unused_command_line_argument=yes
   5371 else
   5372   xorg_cv_cc_flag_unused_command_line_argument=no
   5373 fi
   5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5375 fi
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5377 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5379 	CFLAGS="$xorg_testset_save_CFLAGS"
   5380 fi
   5381 
   5382 found="no"
   5383 
   5384 	if test $found = "no" ; then
   5385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 		fi
   5388 
   5389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5391 		fi
   5392 
   5393 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5394 
   5395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5396 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5397 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5398 		if eval \${$cacheid+:} false; then :
   5399   $as_echo_n "(cached) " >&6
   5400 else
   5401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 int
   5405 main ()
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_link "$LINENO"; then :
   5413   eval $cacheid=yes
   5414 else
   5415   eval $cacheid=no
   5416 fi
   5417 rm -f core conftest.err conftest.$ac_objext \
   5418     conftest$ac_exeext conftest.$ac_ext
   5419 fi
   5420 
   5421 
   5422 		CFLAGS="$xorg_testset_save_CFLAGS"
   5423 
   5424 		eval supported=\$$cacheid
   5425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5426 $as_echo "$supported" >&6; }
   5427 		if test "$supported" = "yes" ; then
   5428 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5429 			found="yes"
   5430 		fi
   5431 	fi
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 xorg_testset_save_CFLAGS="$CFLAGS"
   5448 
   5449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 _ACEOF
   5460 if ac_fn_c_try_compile "$LINENO"; then :
   5461   xorg_cv_cc_flag_unknown_warning_option=yes
   5462 else
   5463   xorg_cv_cc_flag_unknown_warning_option=no
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5466 fi
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5476 	fi
   5477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5481   $as_echo_n "(cached) " >&6
   5482 else
   5483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5484 /* end confdefs.h.  */
   5485 int i;
   5486 _ACEOF
   5487 if ac_fn_c_try_compile "$LINENO"; then :
   5488   xorg_cv_cc_flag_unused_command_line_argument=yes
   5489 else
   5490   xorg_cv_cc_flag_unused_command_line_argument=no
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5493 fi
   5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5497 	CFLAGS="$xorg_testset_save_CFLAGS"
   5498 fi
   5499 
   5500 found="no"
   5501 
   5502 	if test $found = "no" ; then
   5503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5505 		fi
   5506 
   5507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5509 		fi
   5510 
   5511 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5512 
   5513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5514 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5515 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5516 		if eval \${$cacheid+:} false; then :
   5517   $as_echo_n "(cached) " >&6
   5518 else
   5519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5520 /* end confdefs.h.  */
   5521 int i;
   5522 int
   5523 main ()
   5524 {
   5525 
   5526   ;
   5527   return 0;
   5528 }
   5529 _ACEOF
   5530 if ac_fn_c_try_link "$LINENO"; then :
   5531   eval $cacheid=yes
   5532 else
   5533   eval $cacheid=no
   5534 fi
   5535 rm -f core conftest.err conftest.$ac_objext \
   5536     conftest$ac_exeext conftest.$ac_ext
   5537 fi
   5538 
   5539 
   5540 		CFLAGS="$xorg_testset_save_CFLAGS"
   5541 
   5542 		eval supported=\$$cacheid
   5543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5544 $as_echo "$supported" >&6; }
   5545 		if test "$supported" = "yes" ; then
   5546 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5547 			found="yes"
   5548 		fi
   5549 	fi
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 xorg_testset_save_CFLAGS="$CFLAGS"
   5566 
   5567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5572   $as_echo_n "(cached) " >&6
   5573 else
   5574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5575 /* end confdefs.h.  */
   5576 int i;
   5577 _ACEOF
   5578 if ac_fn_c_try_compile "$LINENO"; then :
   5579   xorg_cv_cc_flag_unknown_warning_option=yes
   5580 else
   5581   xorg_cv_cc_flag_unknown_warning_option=no
   5582 fi
   5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5584 fi
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5588 	CFLAGS="$xorg_testset_save_CFLAGS"
   5589 fi
   5590 
   5591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5594 	fi
   5595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5599   $as_echo_n "(cached) " >&6
   5600 else
   5601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5602 /* end confdefs.h.  */
   5603 int i;
   5604 _ACEOF
   5605 if ac_fn_c_try_compile "$LINENO"; then :
   5606   xorg_cv_cc_flag_unused_command_line_argument=yes
   5607 else
   5608   xorg_cv_cc_flag_unused_command_line_argument=no
   5609 fi
   5610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5611 fi
   5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5615 	CFLAGS="$xorg_testset_save_CFLAGS"
   5616 fi
   5617 
   5618 found="no"
   5619 
   5620 	if test $found = "no" ; then
   5621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5623 		fi
   5624 
   5625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5627 		fi
   5628 
   5629 		CFLAGS="$CFLAGS -Wnested-externs"
   5630 
   5631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5632 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5633 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5634 		if eval \${$cacheid+:} false; then :
   5635   $as_echo_n "(cached) " >&6
   5636 else
   5637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5638 /* end confdefs.h.  */
   5639 int i;
   5640 int
   5641 main ()
   5642 {
   5643 
   5644   ;
   5645   return 0;
   5646 }
   5647 _ACEOF
   5648 if ac_fn_c_try_link "$LINENO"; then :
   5649   eval $cacheid=yes
   5650 else
   5651   eval $cacheid=no
   5652 fi
   5653 rm -f core conftest.err conftest.$ac_objext \
   5654     conftest$ac_exeext conftest.$ac_ext
   5655 fi
   5656 
   5657 
   5658 		CFLAGS="$xorg_testset_save_CFLAGS"
   5659 
   5660 		eval supported=\$$cacheid
   5661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5662 $as_echo "$supported" >&6; }
   5663 		if test "$supported" = "yes" ; then
   5664 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5665 			found="yes"
   5666 		fi
   5667 	fi
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 xorg_testset_save_CFLAGS="$CFLAGS"
   5684 
   5685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5690   $as_echo_n "(cached) " >&6
   5691 else
   5692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5693 /* end confdefs.h.  */
   5694 int i;
   5695 _ACEOF
   5696 if ac_fn_c_try_compile "$LINENO"; then :
   5697   xorg_cv_cc_flag_unknown_warning_option=yes
   5698 else
   5699   xorg_cv_cc_flag_unknown_warning_option=no
   5700 fi
   5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5702 fi
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5706 	CFLAGS="$xorg_testset_save_CFLAGS"
   5707 fi
   5708 
   5709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5712 	fi
   5713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5717   $as_echo_n "(cached) " >&6
   5718 else
   5719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 _ACEOF
   5723 if ac_fn_c_try_compile "$LINENO"; then :
   5724   xorg_cv_cc_flag_unused_command_line_argument=yes
   5725 else
   5726   xorg_cv_cc_flag_unused_command_line_argument=no
   5727 fi
   5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5729 fi
   5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5733 	CFLAGS="$xorg_testset_save_CFLAGS"
   5734 fi
   5735 
   5736 found="no"
   5737 
   5738 	if test $found = "no" ; then
   5739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 		fi
   5742 
   5743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5745 		fi
   5746 
   5747 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5748 
   5749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5750 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5751 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5752 		if eval \${$cacheid+:} false; then :
   5753   $as_echo_n "(cached) " >&6
   5754 else
   5755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5756 /* end confdefs.h.  */
   5757 int i;
   5758 int
   5759 main ()
   5760 {
   5761 
   5762   ;
   5763   return 0;
   5764 }
   5765 _ACEOF
   5766 if ac_fn_c_try_link "$LINENO"; then :
   5767   eval $cacheid=yes
   5768 else
   5769   eval $cacheid=no
   5770 fi
   5771 rm -f core conftest.err conftest.$ac_objext \
   5772     conftest$ac_exeext conftest.$ac_ext
   5773 fi
   5774 
   5775 
   5776 		CFLAGS="$xorg_testset_save_CFLAGS"
   5777 
   5778 		eval supported=\$$cacheid
   5779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5780 $as_echo "$supported" >&6; }
   5781 		if test "$supported" = "yes" ; then
   5782 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5783 			found="yes"
   5784 		fi
   5785 	fi
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 xorg_testset_save_CFLAGS="$CFLAGS"
   5802 
   5803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5808   $as_echo_n "(cached) " >&6
   5809 else
   5810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5811 /* end confdefs.h.  */
   5812 int i;
   5813 _ACEOF
   5814 if ac_fn_c_try_compile "$LINENO"; then :
   5815   xorg_cv_cc_flag_unknown_warning_option=yes
   5816 else
   5817   xorg_cv_cc_flag_unknown_warning_option=no
   5818 fi
   5819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5820 fi
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5824 	CFLAGS="$xorg_testset_save_CFLAGS"
   5825 fi
   5826 
   5827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 	fi
   5831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5835   $as_echo_n "(cached) " >&6
   5836 else
   5837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5838 /* end confdefs.h.  */
   5839 int i;
   5840 _ACEOF
   5841 if ac_fn_c_try_compile "$LINENO"; then :
   5842   xorg_cv_cc_flag_unused_command_line_argument=yes
   5843 else
   5844   xorg_cv_cc_flag_unused_command_line_argument=no
   5845 fi
   5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5847 fi
   5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5851 	CFLAGS="$xorg_testset_save_CFLAGS"
   5852 fi
   5853 
   5854 found="no"
   5855 
   5856 	if test $found = "no" ; then
   5857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5859 		fi
   5860 
   5861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5863 		fi
   5864 
   5865 		CFLAGS="$CFLAGS -Wold-style-definition"
   5866 
   5867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5868 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5869 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5870 		if eval \${$cacheid+:} false; then :
   5871   $as_echo_n "(cached) " >&6
   5872 else
   5873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5874 /* end confdefs.h.  */
   5875 int i;
   5876 int
   5877 main ()
   5878 {
   5879 
   5880   ;
   5881   return 0;
   5882 }
   5883 _ACEOF
   5884 if ac_fn_c_try_link "$LINENO"; then :
   5885   eval $cacheid=yes
   5886 else
   5887   eval $cacheid=no
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext \
   5890     conftest$ac_exeext conftest.$ac_ext
   5891 fi
   5892 
   5893 
   5894 		CFLAGS="$xorg_testset_save_CFLAGS"
   5895 
   5896 		eval supported=\$$cacheid
   5897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5898 $as_echo "$supported" >&6; }
   5899 		if test "$supported" = "yes" ; then
   5900 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5901 			found="yes"
   5902 		fi
   5903 	fi
   5904 
   5905 	if test $found = "no" ; then
   5906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 		fi
   5909 
   5910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5912 		fi
   5913 
   5914 		CFLAGS="$CFLAGS -fd"
   5915 
   5916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5917 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5918 		cacheid=xorg_cv_cc_flag__fd
   5919 		if eval \${$cacheid+:} false; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 int
   5926 main ()
   5927 {
   5928 
   5929   ;
   5930   return 0;
   5931 }
   5932 _ACEOF
   5933 if ac_fn_c_try_link "$LINENO"; then :
   5934   eval $cacheid=yes
   5935 else
   5936   eval $cacheid=no
   5937 fi
   5938 rm -f core conftest.err conftest.$ac_objext \
   5939     conftest$ac_exeext conftest.$ac_ext
   5940 fi
   5941 
   5942 
   5943 		CFLAGS="$xorg_testset_save_CFLAGS"
   5944 
   5945 		eval supported=\$$cacheid
   5946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5947 $as_echo "$supported" >&6; }
   5948 		if test "$supported" = "yes" ; then
   5949 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5950 			found="yes"
   5951 		fi
   5952 	fi
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 xorg_testset_save_CFLAGS="$CFLAGS"
   5969 
   5970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5975   $as_echo_n "(cached) " >&6
   5976 else
   5977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5978 /* end confdefs.h.  */
   5979 int i;
   5980 _ACEOF
   5981 if ac_fn_c_try_compile "$LINENO"; then :
   5982   xorg_cv_cc_flag_unknown_warning_option=yes
   5983 else
   5984   xorg_cv_cc_flag_unknown_warning_option=no
   5985 fi
   5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5987 fi
   5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5991 	CFLAGS="$xorg_testset_save_CFLAGS"
   5992 fi
   5993 
   5994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5997 	fi
   5998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6002   $as_echo_n "(cached) " >&6
   6003 else
   6004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6005 /* end confdefs.h.  */
   6006 int i;
   6007 _ACEOF
   6008 if ac_fn_c_try_compile "$LINENO"; then :
   6009   xorg_cv_cc_flag_unused_command_line_argument=yes
   6010 else
   6011   xorg_cv_cc_flag_unused_command_line_argument=no
   6012 fi
   6013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6014 fi
   6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6018 	CFLAGS="$xorg_testset_save_CFLAGS"
   6019 fi
   6020 
   6021 found="no"
   6022 
   6023 	if test $found = "no" ; then
   6024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6026 		fi
   6027 
   6028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6030 		fi
   6031 
   6032 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6033 
   6034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6035 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6036 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6037 		if eval \${$cacheid+:} false; then :
   6038   $as_echo_n "(cached) " >&6
   6039 else
   6040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6041 /* end confdefs.h.  */
   6042 int i;
   6043 int
   6044 main ()
   6045 {
   6046 
   6047   ;
   6048   return 0;
   6049 }
   6050 _ACEOF
   6051 if ac_fn_c_try_link "$LINENO"; then :
   6052   eval $cacheid=yes
   6053 else
   6054   eval $cacheid=no
   6055 fi
   6056 rm -f core conftest.err conftest.$ac_objext \
   6057     conftest$ac_exeext conftest.$ac_ext
   6058 fi
   6059 
   6060 
   6061 		CFLAGS="$xorg_testset_save_CFLAGS"
   6062 
   6063 		eval supported=\$$cacheid
   6064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6065 $as_echo "$supported" >&6; }
   6066 		if test "$supported" = "yes" ; then
   6067 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6068 			found="yes"
   6069 		fi
   6070 	fi
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 # This chunk adds additional warnings that could catch undesired effects.
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 xorg_testset_save_CFLAGS="$CFLAGS"
   6091 
   6092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 _ACEOF
   6103 if ac_fn_c_try_compile "$LINENO"; then :
   6104   xorg_cv_cc_flag_unknown_warning_option=yes
   6105 else
   6106   xorg_cv_cc_flag_unknown_warning_option=no
   6107 fi
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6119 	fi
   6120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6124   $as_echo_n "(cached) " >&6
   6125 else
   6126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"; then :
   6131   xorg_cv_cc_flag_unused_command_line_argument=yes
   6132 else
   6133   xorg_cv_cc_flag_unused_command_line_argument=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6136 fi
   6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6140 	CFLAGS="$xorg_testset_save_CFLAGS"
   6141 fi
   6142 
   6143 found="no"
   6144 
   6145 	if test $found = "no" ; then
   6146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6148 		fi
   6149 
   6150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6152 		fi
   6153 
   6154 		CFLAGS="$CFLAGS -Wunused"
   6155 
   6156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6157 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6158 		cacheid=xorg_cv_cc_flag__Wunused
   6159 		if eval \${$cacheid+:} false; then :
   6160   $as_echo_n "(cached) " >&6
   6161 else
   6162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6163 /* end confdefs.h.  */
   6164 int i;
   6165 int
   6166 main ()
   6167 {
   6168 
   6169   ;
   6170   return 0;
   6171 }
   6172 _ACEOF
   6173 if ac_fn_c_try_link "$LINENO"; then :
   6174   eval $cacheid=yes
   6175 else
   6176   eval $cacheid=no
   6177 fi
   6178 rm -f core conftest.err conftest.$ac_objext \
   6179     conftest$ac_exeext conftest.$ac_ext
   6180 fi
   6181 
   6182 
   6183 		CFLAGS="$xorg_testset_save_CFLAGS"
   6184 
   6185 		eval supported=\$$cacheid
   6186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6187 $as_echo "$supported" >&6; }
   6188 		if test "$supported" = "yes" ; then
   6189 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6190 			found="yes"
   6191 		fi
   6192 	fi
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 xorg_testset_save_CFLAGS="$CFLAGS"
   6209 
   6210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6215   $as_echo_n "(cached) " >&6
   6216 else
   6217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6218 /* end confdefs.h.  */
   6219 int i;
   6220 _ACEOF
   6221 if ac_fn_c_try_compile "$LINENO"; then :
   6222   xorg_cv_cc_flag_unknown_warning_option=yes
   6223 else
   6224   xorg_cv_cc_flag_unknown_warning_option=no
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6227 fi
   6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6231 	CFLAGS="$xorg_testset_save_CFLAGS"
   6232 fi
   6233 
   6234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6237 	fi
   6238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6245 /* end confdefs.h.  */
   6246 int i;
   6247 _ACEOF
   6248 if ac_fn_c_try_compile "$LINENO"; then :
   6249   xorg_cv_cc_flag_unused_command_line_argument=yes
   6250 else
   6251   xorg_cv_cc_flag_unused_command_line_argument=no
   6252 fi
   6253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6254 fi
   6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6258 	CFLAGS="$xorg_testset_save_CFLAGS"
   6259 fi
   6260 
   6261 found="no"
   6262 
   6263 	if test $found = "no" ; then
   6264 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6266 		fi
   6267 
   6268 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6270 		fi
   6271 
   6272 		CFLAGS="$CFLAGS -Wuninitialized"
   6273 
   6274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6275 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6276 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6277 		if eval \${$cacheid+:} false; then :
   6278   $as_echo_n "(cached) " >&6
   6279 else
   6280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6281 /* end confdefs.h.  */
   6282 int i;
   6283 int
   6284 main ()
   6285 {
   6286 
   6287   ;
   6288   return 0;
   6289 }
   6290 _ACEOF
   6291 if ac_fn_c_try_link "$LINENO"; then :
   6292   eval $cacheid=yes
   6293 else
   6294   eval $cacheid=no
   6295 fi
   6296 rm -f core conftest.err conftest.$ac_objext \
   6297     conftest$ac_exeext conftest.$ac_ext
   6298 fi
   6299 
   6300 
   6301 		CFLAGS="$xorg_testset_save_CFLAGS"
   6302 
   6303 		eval supported=\$$cacheid
   6304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6305 $as_echo "$supported" >&6; }
   6306 		if test "$supported" = "yes" ; then
   6307 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6308 			found="yes"
   6309 		fi
   6310 	fi
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 xorg_testset_save_CFLAGS="$CFLAGS"
   6327 
   6328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6331 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6332 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6336 /* end confdefs.h.  */
   6337 int i;
   6338 _ACEOF
   6339 if ac_fn_c_try_compile "$LINENO"; then :
   6340   xorg_cv_cc_flag_unknown_warning_option=yes
   6341 else
   6342   xorg_cv_cc_flag_unknown_warning_option=no
   6343 fi
   6344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6345 fi
   6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6347 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6349 	CFLAGS="$xorg_testset_save_CFLAGS"
   6350 fi
   6351 
   6352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6355 	fi
   6356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6359 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6360   $as_echo_n "(cached) " >&6
   6361 else
   6362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 _ACEOF
   6366 if ac_fn_c_try_compile "$LINENO"; then :
   6367   xorg_cv_cc_flag_unused_command_line_argument=yes
   6368 else
   6369   xorg_cv_cc_flag_unused_command_line_argument=no
   6370 fi
   6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6372 fi
   6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6374 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6376 	CFLAGS="$xorg_testset_save_CFLAGS"
   6377 fi
   6378 
   6379 found="no"
   6380 
   6381 	if test $found = "no" ; then
   6382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6384 		fi
   6385 
   6386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6388 		fi
   6389 
   6390 		CFLAGS="$CFLAGS -Wshadow"
   6391 
   6392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6393 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6394 		cacheid=xorg_cv_cc_flag__Wshadow
   6395 		if eval \${$cacheid+:} false; then :
   6396   $as_echo_n "(cached) " >&6
   6397 else
   6398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6399 /* end confdefs.h.  */
   6400 int i;
   6401 int
   6402 main ()
   6403 {
   6404 
   6405   ;
   6406   return 0;
   6407 }
   6408 _ACEOF
   6409 if ac_fn_c_try_link "$LINENO"; then :
   6410   eval $cacheid=yes
   6411 else
   6412   eval $cacheid=no
   6413 fi
   6414 rm -f core conftest.err conftest.$ac_objext \
   6415     conftest$ac_exeext conftest.$ac_ext
   6416 fi
   6417 
   6418 
   6419 		CFLAGS="$xorg_testset_save_CFLAGS"
   6420 
   6421 		eval supported=\$$cacheid
   6422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6423 $as_echo "$supported" >&6; }
   6424 		if test "$supported" = "yes" ; then
   6425 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6426 			found="yes"
   6427 		fi
   6428 	fi
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 xorg_testset_save_CFLAGS="$CFLAGS"
   6445 
   6446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6451   $as_echo_n "(cached) " >&6
   6452 else
   6453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6454 /* end confdefs.h.  */
   6455 int i;
   6456 _ACEOF
   6457 if ac_fn_c_try_compile "$LINENO"; then :
   6458   xorg_cv_cc_flag_unknown_warning_option=yes
   6459 else
   6460   xorg_cv_cc_flag_unknown_warning_option=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6463 fi
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6467 	CFLAGS="$xorg_testset_save_CFLAGS"
   6468 fi
   6469 
   6470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6473 	fi
   6474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6481 /* end confdefs.h.  */
   6482 int i;
   6483 _ACEOF
   6484 if ac_fn_c_try_compile "$LINENO"; then :
   6485   xorg_cv_cc_flag_unused_command_line_argument=yes
   6486 else
   6487   xorg_cv_cc_flag_unused_command_line_argument=no
   6488 fi
   6489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6490 fi
   6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6494 	CFLAGS="$xorg_testset_save_CFLAGS"
   6495 fi
   6496 
   6497 found="no"
   6498 
   6499 	if test $found = "no" ; then
   6500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6502 		fi
   6503 
   6504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6506 		fi
   6507 
   6508 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6509 
   6510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6511 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6512 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6513 		if eval \${$cacheid+:} false; then :
   6514   $as_echo_n "(cached) " >&6
   6515 else
   6516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 int
   6520 main ()
   6521 {
   6522 
   6523   ;
   6524   return 0;
   6525 }
   6526 _ACEOF
   6527 if ac_fn_c_try_link "$LINENO"; then :
   6528   eval $cacheid=yes
   6529 else
   6530   eval $cacheid=no
   6531 fi
   6532 rm -f core conftest.err conftest.$ac_objext \
   6533     conftest$ac_exeext conftest.$ac_ext
   6534 fi
   6535 
   6536 
   6537 		CFLAGS="$xorg_testset_save_CFLAGS"
   6538 
   6539 		eval supported=\$$cacheid
   6540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6541 $as_echo "$supported" >&6; }
   6542 		if test "$supported" = "yes" ; then
   6543 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6544 			found="yes"
   6545 		fi
   6546 	fi
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 xorg_testset_save_CFLAGS="$CFLAGS"
   6563 
   6564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6569   $as_echo_n "(cached) " >&6
   6570 else
   6571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6572 /* end confdefs.h.  */
   6573 int i;
   6574 _ACEOF
   6575 if ac_fn_c_try_compile "$LINENO"; then :
   6576   xorg_cv_cc_flag_unknown_warning_option=yes
   6577 else
   6578   xorg_cv_cc_flag_unknown_warning_option=no
   6579 fi
   6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6581 fi
   6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6585 	CFLAGS="$xorg_testset_save_CFLAGS"
   6586 fi
   6587 
   6588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6591 	fi
   6592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6599 /* end confdefs.h.  */
   6600 int i;
   6601 _ACEOF
   6602 if ac_fn_c_try_compile "$LINENO"; then :
   6603   xorg_cv_cc_flag_unused_command_line_argument=yes
   6604 else
   6605   xorg_cv_cc_flag_unused_command_line_argument=no
   6606 fi
   6607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6608 fi
   6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6612 	CFLAGS="$xorg_testset_save_CFLAGS"
   6613 fi
   6614 
   6615 found="no"
   6616 
   6617 	if test $found = "no" ; then
   6618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 		fi
   6621 
   6622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6624 		fi
   6625 
   6626 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6627 
   6628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6629 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6630 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6631 		if eval \${$cacheid+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6635 /* end confdefs.h.  */
   6636 int i;
   6637 int
   6638 main ()
   6639 {
   6640 
   6641   ;
   6642   return 0;
   6643 }
   6644 _ACEOF
   6645 if ac_fn_c_try_link "$LINENO"; then :
   6646   eval $cacheid=yes
   6647 else
   6648   eval $cacheid=no
   6649 fi
   6650 rm -f core conftest.err conftest.$ac_objext \
   6651     conftest$ac_exeext conftest.$ac_ext
   6652 fi
   6653 
   6654 
   6655 		CFLAGS="$xorg_testset_save_CFLAGS"
   6656 
   6657 		eval supported=\$$cacheid
   6658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6659 $as_echo "$supported" >&6; }
   6660 		if test "$supported" = "yes" ; then
   6661 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6662 			found="yes"
   6663 		fi
   6664 	fi
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 xorg_testset_save_CFLAGS="$CFLAGS"
   6681 
   6682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6687   $as_echo_n "(cached) " >&6
   6688 else
   6689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6690 /* end confdefs.h.  */
   6691 int i;
   6692 _ACEOF
   6693 if ac_fn_c_try_compile "$LINENO"; then :
   6694   xorg_cv_cc_flag_unknown_warning_option=yes
   6695 else
   6696   xorg_cv_cc_flag_unknown_warning_option=no
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6699 fi
   6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6703 	CFLAGS="$xorg_testset_save_CFLAGS"
   6704 fi
   6705 
   6706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6709 	fi
   6710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6714   $as_echo_n "(cached) " >&6
   6715 else
   6716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6717 /* end confdefs.h.  */
   6718 int i;
   6719 _ACEOF
   6720 if ac_fn_c_try_compile "$LINENO"; then :
   6721   xorg_cv_cc_flag_unused_command_line_argument=yes
   6722 else
   6723   xorg_cv_cc_flag_unused_command_line_argument=no
   6724 fi
   6725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6726 fi
   6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6730 	CFLAGS="$xorg_testset_save_CFLAGS"
   6731 fi
   6732 
   6733 found="no"
   6734 
   6735 	if test $found = "no" ; then
   6736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 		fi
   6739 
   6740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6742 		fi
   6743 
   6744 		CFLAGS="$CFLAGS -Wredundant-decls"
   6745 
   6746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6747 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6748 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6749 		if eval \${$cacheid+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 int
   6756 main ()
   6757 {
   6758 
   6759   ;
   6760   return 0;
   6761 }
   6762 _ACEOF
   6763 if ac_fn_c_try_link "$LINENO"; then :
   6764   eval $cacheid=yes
   6765 else
   6766   eval $cacheid=no
   6767 fi
   6768 rm -f core conftest.err conftest.$ac_objext \
   6769     conftest$ac_exeext conftest.$ac_ext
   6770 fi
   6771 
   6772 
   6773 		CFLAGS="$xorg_testset_save_CFLAGS"
   6774 
   6775 		eval supported=\$$cacheid
   6776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6777 $as_echo "$supported" >&6; }
   6778 		if test "$supported" = "yes" ; then
   6779 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6780 			found="yes"
   6781 		fi
   6782 	fi
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 xorg_testset_save_CFLAGS="$CFLAGS"
   6799 
   6800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6805   $as_echo_n "(cached) " >&6
   6806 else
   6807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 int i;
   6810 _ACEOF
   6811 if ac_fn_c_try_compile "$LINENO"; then :
   6812   xorg_cv_cc_flag_unknown_warning_option=yes
   6813 else
   6814   xorg_cv_cc_flag_unknown_warning_option=no
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6817 fi
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6821 	CFLAGS="$xorg_testset_save_CFLAGS"
   6822 fi
   6823 
   6824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6827 	fi
   6828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6832   $as_echo_n "(cached) " >&6
   6833 else
   6834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6835 /* end confdefs.h.  */
   6836 int i;
   6837 _ACEOF
   6838 if ac_fn_c_try_compile "$LINENO"; then :
   6839   xorg_cv_cc_flag_unused_command_line_argument=yes
   6840 else
   6841   xorg_cv_cc_flag_unused_command_line_argument=no
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6844 fi
   6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6848 	CFLAGS="$xorg_testset_save_CFLAGS"
   6849 fi
   6850 
   6851 found="no"
   6852 
   6853 	if test $found = "no" ; then
   6854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 		fi
   6857 
   6858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6860 		fi
   6861 
   6862 		CFLAGS="$CFLAGS -Wlogical-op"
   6863 
   6864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6865 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6866 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6867 		if eval \${$cacheid+:} false; then :
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6871 /* end confdefs.h.  */
   6872 int i;
   6873 int
   6874 main ()
   6875 {
   6876 
   6877   ;
   6878   return 0;
   6879 }
   6880 _ACEOF
   6881 if ac_fn_c_try_link "$LINENO"; then :
   6882   eval $cacheid=yes
   6883 else
   6884   eval $cacheid=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext \
   6887     conftest$ac_exeext conftest.$ac_ext
   6888 fi
   6889 
   6890 
   6891 		CFLAGS="$xorg_testset_save_CFLAGS"
   6892 
   6893 		eval supported=\$$cacheid
   6894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6895 $as_echo "$supported" >&6; }
   6896 		if test "$supported" = "yes" ; then
   6897 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6898 			found="yes"
   6899 		fi
   6900 	fi
   6901 
   6902 
   6903 
   6904 # These are currently disabled because they are noisy.  They will be enabled
   6905 # in the future once the codebase is sufficiently modernized to silence
   6906 # them.  For now, I don't want them to drown out the other warnings.
   6907 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6908 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6909 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6910 
   6911 # Turn some warnings into errors, so we don't accidently get successful builds
   6912 # when there are problems that should be fixed.
   6913 
   6914 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 xorg_testset_save_CFLAGS="$CFLAGS"
   6929 
   6930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"; then :
   6942   xorg_cv_cc_flag_unknown_warning_option=yes
   6943 else
   6944   xorg_cv_cc_flag_unknown_warning_option=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6957 	fi
   6958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6962   $as_echo_n "(cached) " >&6
   6963 else
   6964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 int i;
   6967 _ACEOF
   6968 if ac_fn_c_try_compile "$LINENO"; then :
   6969   xorg_cv_cc_flag_unused_command_line_argument=yes
   6970 else
   6971   xorg_cv_cc_flag_unused_command_line_argument=no
   6972 fi
   6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6974 fi
   6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6978 	CFLAGS="$xorg_testset_save_CFLAGS"
   6979 fi
   6980 
   6981 found="no"
   6982 
   6983 	if test $found = "no" ; then
   6984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6986 		fi
   6987 
   6988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6990 		fi
   6991 
   6992 		CFLAGS="$CFLAGS -Werror=implicit"
   6993 
   6994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6995 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6996 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6997 		if eval \${$cacheid+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7001 /* end confdefs.h.  */
   7002 int i;
   7003 int
   7004 main ()
   7005 {
   7006 
   7007   ;
   7008   return 0;
   7009 }
   7010 _ACEOF
   7011 if ac_fn_c_try_link "$LINENO"; then :
   7012   eval $cacheid=yes
   7013 else
   7014   eval $cacheid=no
   7015 fi
   7016 rm -f core conftest.err conftest.$ac_objext \
   7017     conftest$ac_exeext conftest.$ac_ext
   7018 fi
   7019 
   7020 
   7021 		CFLAGS="$xorg_testset_save_CFLAGS"
   7022 
   7023 		eval supported=\$$cacheid
   7024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7025 $as_echo "$supported" >&6; }
   7026 		if test "$supported" = "yes" ; then
   7027 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7028 			found="yes"
   7029 		fi
   7030 	fi
   7031 
   7032 	if test $found = "no" ; then
   7033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7035 		fi
   7036 
   7037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7039 		fi
   7040 
   7041 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7042 
   7043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7044 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7045 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7046 		if eval \${$cacheid+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7050 /* end confdefs.h.  */
   7051 int i;
   7052 int
   7053 main ()
   7054 {
   7055 
   7056   ;
   7057   return 0;
   7058 }
   7059 _ACEOF
   7060 if ac_fn_c_try_link "$LINENO"; then :
   7061   eval $cacheid=yes
   7062 else
   7063   eval $cacheid=no
   7064 fi
   7065 rm -f core conftest.err conftest.$ac_objext \
   7066     conftest$ac_exeext conftest.$ac_ext
   7067 fi
   7068 
   7069 
   7070 		CFLAGS="$xorg_testset_save_CFLAGS"
   7071 
   7072 		eval supported=\$$cacheid
   7073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7074 $as_echo "$supported" >&6; }
   7075 		if test "$supported" = "yes" ; then
   7076 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7077 			found="yes"
   7078 		fi
   7079 	fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 xorg_testset_save_CFLAGS="$CFLAGS"
   7096 
   7097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 int i;
   7107 _ACEOF
   7108 if ac_fn_c_try_compile "$LINENO"; then :
   7109   xorg_cv_cc_flag_unknown_warning_option=yes
   7110 else
   7111   xorg_cv_cc_flag_unknown_warning_option=no
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7114 fi
   7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7118 	CFLAGS="$xorg_testset_save_CFLAGS"
   7119 fi
   7120 
   7121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7124 	fi
   7125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7129   $as_echo_n "(cached) " >&6
   7130 else
   7131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 _ACEOF
   7135 if ac_fn_c_try_compile "$LINENO"; then :
   7136   xorg_cv_cc_flag_unused_command_line_argument=yes
   7137 else
   7138   xorg_cv_cc_flag_unused_command_line_argument=no
   7139 fi
   7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7141 fi
   7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7145 	CFLAGS="$xorg_testset_save_CFLAGS"
   7146 fi
   7147 
   7148 found="no"
   7149 
   7150 	if test $found = "no" ; then
   7151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7153 		fi
   7154 
   7155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 		fi
   7158 
   7159 		CFLAGS="$CFLAGS -Werror=nonnull"
   7160 
   7161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7162 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7163 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7164 		if eval \${$cacheid+:} false; then :
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7168 /* end confdefs.h.  */
   7169 int i;
   7170 int
   7171 main ()
   7172 {
   7173 
   7174   ;
   7175   return 0;
   7176 }
   7177 _ACEOF
   7178 if ac_fn_c_try_link "$LINENO"; then :
   7179   eval $cacheid=yes
   7180 else
   7181   eval $cacheid=no
   7182 fi
   7183 rm -f core conftest.err conftest.$ac_objext \
   7184     conftest$ac_exeext conftest.$ac_ext
   7185 fi
   7186 
   7187 
   7188 		CFLAGS="$xorg_testset_save_CFLAGS"
   7189 
   7190 		eval supported=\$$cacheid
   7191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7192 $as_echo "$supported" >&6; }
   7193 		if test "$supported" = "yes" ; then
   7194 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7195 			found="yes"
   7196 		fi
   7197 	fi
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 xorg_testset_save_CFLAGS="$CFLAGS"
   7214 
   7215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7218 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7219 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7220   $as_echo_n "(cached) " >&6
   7221 else
   7222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"; then :
   7227   xorg_cv_cc_flag_unknown_warning_option=yes
   7228 else
   7229   xorg_cv_cc_flag_unknown_warning_option=no
   7230 fi
   7231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7232 fi
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7234 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7236 	CFLAGS="$xorg_testset_save_CFLAGS"
   7237 fi
   7238 
   7239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7242 	fi
   7243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7245 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7246 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7247   $as_echo_n "(cached) " >&6
   7248 else
   7249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7250 /* end confdefs.h.  */
   7251 int i;
   7252 _ACEOF
   7253 if ac_fn_c_try_compile "$LINENO"; then :
   7254   xorg_cv_cc_flag_unused_command_line_argument=yes
   7255 else
   7256   xorg_cv_cc_flag_unused_command_line_argument=no
   7257 fi
   7258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7259 fi
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7261 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7263 	CFLAGS="$xorg_testset_save_CFLAGS"
   7264 fi
   7265 
   7266 found="no"
   7267 
   7268 	if test $found = "no" ; then
   7269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7271 		fi
   7272 
   7273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7275 		fi
   7276 
   7277 		CFLAGS="$CFLAGS -Werror=init-self"
   7278 
   7279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7280 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7281 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7282 		if eval \${$cacheid+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7286 /* end confdefs.h.  */
   7287 int i;
   7288 int
   7289 main ()
   7290 {
   7291 
   7292   ;
   7293   return 0;
   7294 }
   7295 _ACEOF
   7296 if ac_fn_c_try_link "$LINENO"; then :
   7297   eval $cacheid=yes
   7298 else
   7299   eval $cacheid=no
   7300 fi
   7301 rm -f core conftest.err conftest.$ac_objext \
   7302     conftest$ac_exeext conftest.$ac_ext
   7303 fi
   7304 
   7305 
   7306 		CFLAGS="$xorg_testset_save_CFLAGS"
   7307 
   7308 		eval supported=\$$cacheid
   7309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7310 $as_echo "$supported" >&6; }
   7311 		if test "$supported" = "yes" ; then
   7312 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7313 			found="yes"
   7314 		fi
   7315 	fi
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 xorg_testset_save_CFLAGS="$CFLAGS"
   7332 
   7333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7337 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7341 /* end confdefs.h.  */
   7342 int i;
   7343 _ACEOF
   7344 if ac_fn_c_try_compile "$LINENO"; then :
   7345   xorg_cv_cc_flag_unknown_warning_option=yes
   7346 else
   7347   xorg_cv_cc_flag_unknown_warning_option=no
   7348 fi
   7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7350 fi
   7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7352 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7354 	CFLAGS="$xorg_testset_save_CFLAGS"
   7355 fi
   7356 
   7357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7360 	fi
   7361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7363 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7364 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7365   $as_echo_n "(cached) " >&6
   7366 else
   7367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7368 /* end confdefs.h.  */
   7369 int i;
   7370 _ACEOF
   7371 if ac_fn_c_try_compile "$LINENO"; then :
   7372   xorg_cv_cc_flag_unused_command_line_argument=yes
   7373 else
   7374   xorg_cv_cc_flag_unused_command_line_argument=no
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7377 fi
   7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7379 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7381 	CFLAGS="$xorg_testset_save_CFLAGS"
   7382 fi
   7383 
   7384 found="no"
   7385 
   7386 	if test $found = "no" ; then
   7387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7389 		fi
   7390 
   7391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7393 		fi
   7394 
   7395 		CFLAGS="$CFLAGS -Werror=main"
   7396 
   7397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7398 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7399 		cacheid=xorg_cv_cc_flag__Werror_main
   7400 		if eval \${$cacheid+:} false; then :
   7401   $as_echo_n "(cached) " >&6
   7402 else
   7403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 int
   7407 main ()
   7408 {
   7409 
   7410   ;
   7411   return 0;
   7412 }
   7413 _ACEOF
   7414 if ac_fn_c_try_link "$LINENO"; then :
   7415   eval $cacheid=yes
   7416 else
   7417   eval $cacheid=no
   7418 fi
   7419 rm -f core conftest.err conftest.$ac_objext \
   7420     conftest$ac_exeext conftest.$ac_ext
   7421 fi
   7422 
   7423 
   7424 		CFLAGS="$xorg_testset_save_CFLAGS"
   7425 
   7426 		eval supported=\$$cacheid
   7427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7428 $as_echo "$supported" >&6; }
   7429 		if test "$supported" = "yes" ; then
   7430 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7431 			found="yes"
   7432 		fi
   7433 	fi
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 xorg_testset_save_CFLAGS="$CFLAGS"
   7450 
   7451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7454 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7455 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 _ACEOF
   7462 if ac_fn_c_try_compile "$LINENO"; then :
   7463   xorg_cv_cc_flag_unknown_warning_option=yes
   7464 else
   7465   xorg_cv_cc_flag_unknown_warning_option=no
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7468 fi
   7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7470 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7472 	CFLAGS="$xorg_testset_save_CFLAGS"
   7473 fi
   7474 
   7475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7478 	fi
   7479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7481 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7482 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7483   $as_echo_n "(cached) " >&6
   7484 else
   7485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 int i;
   7488 _ACEOF
   7489 if ac_fn_c_try_compile "$LINENO"; then :
   7490   xorg_cv_cc_flag_unused_command_line_argument=yes
   7491 else
   7492   xorg_cv_cc_flag_unused_command_line_argument=no
   7493 fi
   7494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7495 fi
   7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7497 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7499 	CFLAGS="$xorg_testset_save_CFLAGS"
   7500 fi
   7501 
   7502 found="no"
   7503 
   7504 	if test $found = "no" ; then
   7505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 		fi
   7508 
   7509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7511 		fi
   7512 
   7513 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7514 
   7515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7516 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7517 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7518 		if eval \${$cacheid+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 int
   7525 main ()
   7526 {
   7527 
   7528   ;
   7529   return 0;
   7530 }
   7531 _ACEOF
   7532 if ac_fn_c_try_link "$LINENO"; then :
   7533   eval $cacheid=yes
   7534 else
   7535   eval $cacheid=no
   7536 fi
   7537 rm -f core conftest.err conftest.$ac_objext \
   7538     conftest$ac_exeext conftest.$ac_ext
   7539 fi
   7540 
   7541 
   7542 		CFLAGS="$xorg_testset_save_CFLAGS"
   7543 
   7544 		eval supported=\$$cacheid
   7545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7546 $as_echo "$supported" >&6; }
   7547 		if test "$supported" = "yes" ; then
   7548 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7549 			found="yes"
   7550 		fi
   7551 	fi
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 xorg_testset_save_CFLAGS="$CFLAGS"
   7568 
   7569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7572 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7573 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7574   $as_echo_n "(cached) " >&6
   7575 else
   7576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7577 /* end confdefs.h.  */
   7578 int i;
   7579 _ACEOF
   7580 if ac_fn_c_try_compile "$LINENO"; then :
   7581   xorg_cv_cc_flag_unknown_warning_option=yes
   7582 else
   7583   xorg_cv_cc_flag_unknown_warning_option=no
   7584 fi
   7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7586 fi
   7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7588 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7590 	CFLAGS="$xorg_testset_save_CFLAGS"
   7591 fi
   7592 
   7593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7596 	fi
   7597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7599 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7600 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7601   $as_echo_n "(cached) " >&6
   7602 else
   7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7604 /* end confdefs.h.  */
   7605 int i;
   7606 _ACEOF
   7607 if ac_fn_c_try_compile "$LINENO"; then :
   7608   xorg_cv_cc_flag_unused_command_line_argument=yes
   7609 else
   7610   xorg_cv_cc_flag_unused_command_line_argument=no
   7611 fi
   7612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7613 fi
   7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7615 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7617 	CFLAGS="$xorg_testset_save_CFLAGS"
   7618 fi
   7619 
   7620 found="no"
   7621 
   7622 	if test $found = "no" ; then
   7623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 		fi
   7626 
   7627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7629 		fi
   7630 
   7631 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7632 
   7633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7634 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7635 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7636 		if eval \${$cacheid+:} false; then :
   7637   $as_echo_n "(cached) " >&6
   7638 else
   7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 int
   7643 main ()
   7644 {
   7645 
   7646   ;
   7647   return 0;
   7648 }
   7649 _ACEOF
   7650 if ac_fn_c_try_link "$LINENO"; then :
   7651   eval $cacheid=yes
   7652 else
   7653   eval $cacheid=no
   7654 fi
   7655 rm -f core conftest.err conftest.$ac_objext \
   7656     conftest$ac_exeext conftest.$ac_ext
   7657 fi
   7658 
   7659 
   7660 		CFLAGS="$xorg_testset_save_CFLAGS"
   7661 
   7662 		eval supported=\$$cacheid
   7663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7664 $as_echo "$supported" >&6; }
   7665 		if test "$supported" = "yes" ; then
   7666 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7667 			found="yes"
   7668 		fi
   7669 	fi
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 xorg_testset_save_CFLAGS="$CFLAGS"
   7686 
   7687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7690 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7691 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7692   $as_echo_n "(cached) " >&6
   7693 else
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 _ACEOF
   7698 if ac_fn_c_try_compile "$LINENO"; then :
   7699   xorg_cv_cc_flag_unknown_warning_option=yes
   7700 else
   7701   xorg_cv_cc_flag_unknown_warning_option=no
   7702 fi
   7703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7704 fi
   7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7706 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7707 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7708 	CFLAGS="$xorg_testset_save_CFLAGS"
   7709 fi
   7710 
   7711 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7712 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7713 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7714 	fi
   7715 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7717 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7718 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 int i;
   7724 _ACEOF
   7725 if ac_fn_c_try_compile "$LINENO"; then :
   7726   xorg_cv_cc_flag_unused_command_line_argument=yes
   7727 else
   7728   xorg_cv_cc_flag_unused_command_line_argument=no
   7729 fi
   7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7731 fi
   7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7733 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7735 	CFLAGS="$xorg_testset_save_CFLAGS"
   7736 fi
   7737 
   7738 found="no"
   7739 
   7740 	if test $found = "no" ; then
   7741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7743 		fi
   7744 
   7745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7747 		fi
   7748 
   7749 		CFLAGS="$CFLAGS -Werror=return-type"
   7750 
   7751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7752 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7753 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7754 		if eval \${$cacheid+:} false; then :
   7755   $as_echo_n "(cached) " >&6
   7756 else
   7757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7758 /* end confdefs.h.  */
   7759 int i;
   7760 int
   7761 main ()
   7762 {
   7763 
   7764   ;
   7765   return 0;
   7766 }
   7767 _ACEOF
   7768 if ac_fn_c_try_link "$LINENO"; then :
   7769   eval $cacheid=yes
   7770 else
   7771   eval $cacheid=no
   7772 fi
   7773 rm -f core conftest.err conftest.$ac_objext \
   7774     conftest$ac_exeext conftest.$ac_ext
   7775 fi
   7776 
   7777 
   7778 		CFLAGS="$xorg_testset_save_CFLAGS"
   7779 
   7780 		eval supported=\$$cacheid
   7781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7782 $as_echo "$supported" >&6; }
   7783 		if test "$supported" = "yes" ; then
   7784 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7785 			found="yes"
   7786 		fi
   7787 	fi
   7788 
   7789 	if test $found = "no" ; then
   7790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7792 		fi
   7793 
   7794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7796 		fi
   7797 
   7798 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7799 
   7800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7801 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7802 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7803 		if eval \${$cacheid+:} false; then :
   7804   $as_echo_n "(cached) " >&6
   7805 else
   7806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7807 /* end confdefs.h.  */
   7808 int i;
   7809 int
   7810 main ()
   7811 {
   7812 
   7813   ;
   7814   return 0;
   7815 }
   7816 _ACEOF
   7817 if ac_fn_c_try_link "$LINENO"; then :
   7818   eval $cacheid=yes
   7819 else
   7820   eval $cacheid=no
   7821 fi
   7822 rm -f core conftest.err conftest.$ac_objext \
   7823     conftest$ac_exeext conftest.$ac_ext
   7824 fi
   7825 
   7826 
   7827 		CFLAGS="$xorg_testset_save_CFLAGS"
   7828 
   7829 		eval supported=\$$cacheid
   7830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7831 $as_echo "$supported" >&6; }
   7832 		if test "$supported" = "yes" ; then
   7833 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7834 			found="yes"
   7835 		fi
   7836 	fi
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 xorg_testset_save_CFLAGS="$CFLAGS"
   7853 
   7854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7859   $as_echo_n "(cached) " >&6
   7860 else
   7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 _ACEOF
   7865 if ac_fn_c_try_compile "$LINENO"; then :
   7866   xorg_cv_cc_flag_unknown_warning_option=yes
   7867 else
   7868   xorg_cv_cc_flag_unknown_warning_option=no
   7869 fi
   7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7871 fi
   7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7875 	CFLAGS="$xorg_testset_save_CFLAGS"
   7876 fi
   7877 
   7878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7881 	fi
   7882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 _ACEOF
   7892 if ac_fn_c_try_compile "$LINENO"; then :
   7893   xorg_cv_cc_flag_unused_command_line_argument=yes
   7894 else
   7895   xorg_cv_cc_flag_unused_command_line_argument=no
   7896 fi
   7897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7898 fi
   7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7902 	CFLAGS="$xorg_testset_save_CFLAGS"
   7903 fi
   7904 
   7905 found="no"
   7906 
   7907 	if test $found = "no" ; then
   7908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 		fi
   7911 
   7912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7914 		fi
   7915 
   7916 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7917 
   7918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7919 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7920 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7921 		if eval \${$cacheid+:} false; then :
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7925 /* end confdefs.h.  */
   7926 int i;
   7927 int
   7928 main ()
   7929 {
   7930 
   7931   ;
   7932   return 0;
   7933 }
   7934 _ACEOF
   7935 if ac_fn_c_try_link "$LINENO"; then :
   7936   eval $cacheid=yes
   7937 else
   7938   eval $cacheid=no
   7939 fi
   7940 rm -f core conftest.err conftest.$ac_objext \
   7941     conftest$ac_exeext conftest.$ac_ext
   7942 fi
   7943 
   7944 
   7945 		CFLAGS="$xorg_testset_save_CFLAGS"
   7946 
   7947 		eval supported=\$$cacheid
   7948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7949 $as_echo "$supported" >&6; }
   7950 		if test "$supported" = "yes" ; then
   7951 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7952 			found="yes"
   7953 		fi
   7954 	fi
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 xorg_testset_save_CFLAGS="$CFLAGS"
   7971 
   7972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7977   $as_echo_n "(cached) " >&6
   7978 else
   7979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980 /* end confdefs.h.  */
   7981 int i;
   7982 _ACEOF
   7983 if ac_fn_c_try_compile "$LINENO"; then :
   7984   xorg_cv_cc_flag_unknown_warning_option=yes
   7985 else
   7986   xorg_cv_cc_flag_unknown_warning_option=no
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7989 fi
   7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7993 	CFLAGS="$xorg_testset_save_CFLAGS"
   7994 fi
   7995 
   7996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7999 	fi
   8000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8004   $as_echo_n "(cached) " >&6
   8005 else
   8006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8007 /* end confdefs.h.  */
   8008 int i;
   8009 _ACEOF
   8010 if ac_fn_c_try_compile "$LINENO"; then :
   8011   xorg_cv_cc_flag_unused_command_line_argument=yes
   8012 else
   8013   xorg_cv_cc_flag_unused_command_line_argument=no
   8014 fi
   8015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8016 fi
   8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8020 	CFLAGS="$xorg_testset_save_CFLAGS"
   8021 fi
   8022 
   8023 found="no"
   8024 
   8025 	if test $found = "no" ; then
   8026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8028 		fi
   8029 
   8030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8032 		fi
   8033 
   8034 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8035 
   8036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8037 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8038 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8039 		if eval \${$cacheid+:} false; then :
   8040   $as_echo_n "(cached) " >&6
   8041 else
   8042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8043 /* end confdefs.h.  */
   8044 int i;
   8045 int
   8046 main ()
   8047 {
   8048 
   8049   ;
   8050   return 0;
   8051 }
   8052 _ACEOF
   8053 if ac_fn_c_try_link "$LINENO"; then :
   8054   eval $cacheid=yes
   8055 else
   8056   eval $cacheid=no
   8057 fi
   8058 rm -f core conftest.err conftest.$ac_objext \
   8059     conftest$ac_exeext conftest.$ac_ext
   8060 fi
   8061 
   8062 
   8063 		CFLAGS="$xorg_testset_save_CFLAGS"
   8064 
   8065 		eval supported=\$$cacheid
   8066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8067 $as_echo "$supported" >&6; }
   8068 		if test "$supported" = "yes" ; then
   8069 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8070 			found="yes"
   8071 		fi
   8072 	fi
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 xorg_testset_save_CFLAGS="$CFLAGS"
   8089 
   8090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 int i;
   8100 _ACEOF
   8101 if ac_fn_c_try_compile "$LINENO"; then :
   8102   xorg_cv_cc_flag_unknown_warning_option=yes
   8103 else
   8104   xorg_cv_cc_flag_unknown_warning_option=no
   8105 fi
   8106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8107 fi
   8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8111 	CFLAGS="$xorg_testset_save_CFLAGS"
   8112 fi
   8113 
   8114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8117 	fi
   8118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8122   $as_echo_n "(cached) " >&6
   8123 else
   8124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8125 /* end confdefs.h.  */
   8126 int i;
   8127 _ACEOF
   8128 if ac_fn_c_try_compile "$LINENO"; then :
   8129   xorg_cv_cc_flag_unused_command_line_argument=yes
   8130 else
   8131   xorg_cv_cc_flag_unused_command_line_argument=no
   8132 fi
   8133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8134 fi
   8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8138 	CFLAGS="$xorg_testset_save_CFLAGS"
   8139 fi
   8140 
   8141 found="no"
   8142 
   8143 	if test $found = "no" ; then
   8144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8146 		fi
   8147 
   8148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8150 		fi
   8151 
   8152 		CFLAGS="$CFLAGS -Werror=write-strings"
   8153 
   8154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8155 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8156 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8157 		if eval \${$cacheid+:} false; then :
   8158   $as_echo_n "(cached) " >&6
   8159 else
   8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 int
   8164 main ()
   8165 {
   8166 
   8167   ;
   8168   return 0;
   8169 }
   8170 _ACEOF
   8171 if ac_fn_c_try_link "$LINENO"; then :
   8172   eval $cacheid=yes
   8173 else
   8174   eval $cacheid=no
   8175 fi
   8176 rm -f core conftest.err conftest.$ac_objext \
   8177     conftest$ac_exeext conftest.$ac_ext
   8178 fi
   8179 
   8180 
   8181 		CFLAGS="$xorg_testset_save_CFLAGS"
   8182 
   8183 		eval supported=\$$cacheid
   8184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8185 $as_echo "$supported" >&6; }
   8186 		if test "$supported" = "yes" ; then
   8187 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8188 			found="yes"
   8189 		fi
   8190 	fi
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 xorg_testset_save_CFLAGS="$CFLAGS"
   8207 
   8208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8213   $as_echo_n "(cached) " >&6
   8214 else
   8215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8216 /* end confdefs.h.  */
   8217 int i;
   8218 _ACEOF
   8219 if ac_fn_c_try_compile "$LINENO"; then :
   8220   xorg_cv_cc_flag_unknown_warning_option=yes
   8221 else
   8222   xorg_cv_cc_flag_unknown_warning_option=no
   8223 fi
   8224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8225 fi
   8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8229 	CFLAGS="$xorg_testset_save_CFLAGS"
   8230 fi
   8231 
   8232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8235 	fi
   8236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8240   $as_echo_n "(cached) " >&6
   8241 else
   8242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8243 /* end confdefs.h.  */
   8244 int i;
   8245 _ACEOF
   8246 if ac_fn_c_try_compile "$LINENO"; then :
   8247   xorg_cv_cc_flag_unused_command_line_argument=yes
   8248 else
   8249   xorg_cv_cc_flag_unused_command_line_argument=no
   8250 fi
   8251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8252 fi
   8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8256 	CFLAGS="$xorg_testset_save_CFLAGS"
   8257 fi
   8258 
   8259 found="no"
   8260 
   8261 	if test $found = "no" ; then
   8262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8264 		fi
   8265 
   8266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8268 		fi
   8269 
   8270 		CFLAGS="$CFLAGS -Werror=address"
   8271 
   8272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8273 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8274 		cacheid=xorg_cv_cc_flag__Werror_address
   8275 		if eval \${$cacheid+:} false; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 int i;
   8281 int
   8282 main ()
   8283 {
   8284 
   8285   ;
   8286   return 0;
   8287 }
   8288 _ACEOF
   8289 if ac_fn_c_try_link "$LINENO"; then :
   8290   eval $cacheid=yes
   8291 else
   8292   eval $cacheid=no
   8293 fi
   8294 rm -f core conftest.err conftest.$ac_objext \
   8295     conftest$ac_exeext conftest.$ac_ext
   8296 fi
   8297 
   8298 
   8299 		CFLAGS="$xorg_testset_save_CFLAGS"
   8300 
   8301 		eval supported=\$$cacheid
   8302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8303 $as_echo "$supported" >&6; }
   8304 		if test "$supported" = "yes" ; then
   8305 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8306 			found="yes"
   8307 		fi
   8308 	fi
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 xorg_testset_save_CFLAGS="$CFLAGS"
   8325 
   8326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8331   $as_echo_n "(cached) " >&6
   8332 else
   8333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8334 /* end confdefs.h.  */
   8335 int i;
   8336 _ACEOF
   8337 if ac_fn_c_try_compile "$LINENO"; then :
   8338   xorg_cv_cc_flag_unknown_warning_option=yes
   8339 else
   8340   xorg_cv_cc_flag_unknown_warning_option=no
   8341 fi
   8342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8343 fi
   8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8347 	CFLAGS="$xorg_testset_save_CFLAGS"
   8348 fi
   8349 
   8350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8353 	fi
   8354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8358   $as_echo_n "(cached) " >&6
   8359 else
   8360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8361 /* end confdefs.h.  */
   8362 int i;
   8363 _ACEOF
   8364 if ac_fn_c_try_compile "$LINENO"; then :
   8365   xorg_cv_cc_flag_unused_command_line_argument=yes
   8366 else
   8367   xorg_cv_cc_flag_unused_command_line_argument=no
   8368 fi
   8369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8370 fi
   8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8374 	CFLAGS="$xorg_testset_save_CFLAGS"
   8375 fi
   8376 
   8377 found="no"
   8378 
   8379 	if test $found = "no" ; then
   8380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8382 		fi
   8383 
   8384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8386 		fi
   8387 
   8388 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8389 
   8390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8391 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8392 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8393 		if eval \${$cacheid+:} false; then :
   8394   $as_echo_n "(cached) " >&6
   8395 else
   8396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8397 /* end confdefs.h.  */
   8398 int i;
   8399 int
   8400 main ()
   8401 {
   8402 
   8403   ;
   8404   return 0;
   8405 }
   8406 _ACEOF
   8407 if ac_fn_c_try_link "$LINENO"; then :
   8408   eval $cacheid=yes
   8409 else
   8410   eval $cacheid=no
   8411 fi
   8412 rm -f core conftest.err conftest.$ac_objext \
   8413     conftest$ac_exeext conftest.$ac_ext
   8414 fi
   8415 
   8416 
   8417 		CFLAGS="$xorg_testset_save_CFLAGS"
   8418 
   8419 		eval supported=\$$cacheid
   8420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8421 $as_echo "$supported" >&6; }
   8422 		if test "$supported" = "yes" ; then
   8423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8424 			found="yes"
   8425 		fi
   8426 	fi
   8427 
   8428 	if test $found = "no" ; then
   8429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8431 		fi
   8432 
   8433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8435 		fi
   8436 
   8437 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8438 
   8439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8440 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8441 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8442 		if eval \${$cacheid+:} false; then :
   8443   $as_echo_n "(cached) " >&6
   8444 else
   8445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8446 /* end confdefs.h.  */
   8447 int i;
   8448 int
   8449 main ()
   8450 {
   8451 
   8452   ;
   8453   return 0;
   8454 }
   8455 _ACEOF
   8456 if ac_fn_c_try_link "$LINENO"; then :
   8457   eval $cacheid=yes
   8458 else
   8459   eval $cacheid=no
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext \
   8462     conftest$ac_exeext conftest.$ac_ext
   8463 fi
   8464 
   8465 
   8466 		CFLAGS="$xorg_testset_save_CFLAGS"
   8467 
   8468 		eval supported=\$$cacheid
   8469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8470 $as_echo "$supported" >&6; }
   8471 		if test "$supported" = "yes" ; then
   8472 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8473 			found="yes"
   8474 		fi
   8475 	fi
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 xorg_testset_save_CFLAGS="$CFLAGS"
   8492 
   8493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8498   $as_echo_n "(cached) " >&6
   8499 else
   8500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8501 /* end confdefs.h.  */
   8502 int i;
   8503 _ACEOF
   8504 if ac_fn_c_try_compile "$LINENO"; then :
   8505   xorg_cv_cc_flag_unknown_warning_option=yes
   8506 else
   8507   xorg_cv_cc_flag_unknown_warning_option=no
   8508 fi
   8509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8510 fi
   8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8514 	CFLAGS="$xorg_testset_save_CFLAGS"
   8515 fi
   8516 
   8517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8520 	fi
   8521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8525   $as_echo_n "(cached) " >&6
   8526 else
   8527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8528 /* end confdefs.h.  */
   8529 int i;
   8530 _ACEOF
   8531 if ac_fn_c_try_compile "$LINENO"; then :
   8532   xorg_cv_cc_flag_unused_command_line_argument=yes
   8533 else
   8534   xorg_cv_cc_flag_unused_command_line_argument=no
   8535 fi
   8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8537 fi
   8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8541 	CFLAGS="$xorg_testset_save_CFLAGS"
   8542 fi
   8543 
   8544 found="no"
   8545 
   8546 	if test $found = "no" ; then
   8547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8549 		fi
   8550 
   8551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8553 		fi
   8554 
   8555 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8556 
   8557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8558 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8559 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8560 		if eval \${$cacheid+:} false; then :
   8561   $as_echo_n "(cached) " >&6
   8562 else
   8563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8564 /* end confdefs.h.  */
   8565 int i;
   8566 int
   8567 main ()
   8568 {
   8569 
   8570   ;
   8571   return 0;
   8572 }
   8573 _ACEOF
   8574 if ac_fn_c_try_link "$LINENO"; then :
   8575   eval $cacheid=yes
   8576 else
   8577   eval $cacheid=no
   8578 fi
   8579 rm -f core conftest.err conftest.$ac_objext \
   8580     conftest$ac_exeext conftest.$ac_ext
   8581 fi
   8582 
   8583 
   8584 		CFLAGS="$xorg_testset_save_CFLAGS"
   8585 
   8586 		eval supported=\$$cacheid
   8587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8588 $as_echo "$supported" >&6; }
   8589 		if test "$supported" = "yes" ; then
   8590 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8591 			found="yes"
   8592 		fi
   8593 	fi
   8594 
   8595  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8596 else
   8597 { $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
   8598 $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;}
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 xorg_testset_save_CFLAGS="$CFLAGS"
   8613 
   8614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8617 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8618 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8619   $as_echo_n "(cached) " >&6
   8620 else
   8621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 _ACEOF
   8625 if ac_fn_c_try_compile "$LINENO"; then :
   8626   xorg_cv_cc_flag_unknown_warning_option=yes
   8627 else
   8628   xorg_cv_cc_flag_unknown_warning_option=no
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8631 fi
   8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8633 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8635 	CFLAGS="$xorg_testset_save_CFLAGS"
   8636 fi
   8637 
   8638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8641 	fi
   8642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8644 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8645 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8646   $as_echo_n "(cached) " >&6
   8647 else
   8648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8649 /* end confdefs.h.  */
   8650 int i;
   8651 _ACEOF
   8652 if ac_fn_c_try_compile "$LINENO"; then :
   8653   xorg_cv_cc_flag_unused_command_line_argument=yes
   8654 else
   8655   xorg_cv_cc_flag_unused_command_line_argument=no
   8656 fi
   8657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8658 fi
   8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8660 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8662 	CFLAGS="$xorg_testset_save_CFLAGS"
   8663 fi
   8664 
   8665 found="no"
   8666 
   8667 	if test $found = "no" ; then
   8668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8670 		fi
   8671 
   8672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8674 		fi
   8675 
   8676 		CFLAGS="$CFLAGS -Wimplicit"
   8677 
   8678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8679 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8680 		cacheid=xorg_cv_cc_flag__Wimplicit
   8681 		if eval \${$cacheid+:} false; then :
   8682   $as_echo_n "(cached) " >&6
   8683 else
   8684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8685 /* end confdefs.h.  */
   8686 int i;
   8687 int
   8688 main ()
   8689 {
   8690 
   8691   ;
   8692   return 0;
   8693 }
   8694 _ACEOF
   8695 if ac_fn_c_try_link "$LINENO"; then :
   8696   eval $cacheid=yes
   8697 else
   8698   eval $cacheid=no
   8699 fi
   8700 rm -f core conftest.err conftest.$ac_objext \
   8701     conftest$ac_exeext conftest.$ac_ext
   8702 fi
   8703 
   8704 
   8705 		CFLAGS="$xorg_testset_save_CFLAGS"
   8706 
   8707 		eval supported=\$$cacheid
   8708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8709 $as_echo "$supported" >&6; }
   8710 		if test "$supported" = "yes" ; then
   8711 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8712 			found="yes"
   8713 		fi
   8714 	fi
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 xorg_testset_save_CFLAGS="$CFLAGS"
   8731 
   8732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8735 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8736 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8737   $as_echo_n "(cached) " >&6
   8738 else
   8739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8740 /* end confdefs.h.  */
   8741 int i;
   8742 _ACEOF
   8743 if ac_fn_c_try_compile "$LINENO"; then :
   8744   xorg_cv_cc_flag_unknown_warning_option=yes
   8745 else
   8746   xorg_cv_cc_flag_unknown_warning_option=no
   8747 fi
   8748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8749 fi
   8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8751 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8753 	CFLAGS="$xorg_testset_save_CFLAGS"
   8754 fi
   8755 
   8756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 	fi
   8760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8762 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8763 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8764   $as_echo_n "(cached) " >&6
   8765 else
   8766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8767 /* end confdefs.h.  */
   8768 int i;
   8769 _ACEOF
   8770 if ac_fn_c_try_compile "$LINENO"; then :
   8771   xorg_cv_cc_flag_unused_command_line_argument=yes
   8772 else
   8773   xorg_cv_cc_flag_unused_command_line_argument=no
   8774 fi
   8775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8776 fi
   8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8778 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8780 	CFLAGS="$xorg_testset_save_CFLAGS"
   8781 fi
   8782 
   8783 found="no"
   8784 
   8785 	if test $found = "no" ; then
   8786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8788 		fi
   8789 
   8790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8792 		fi
   8793 
   8794 		CFLAGS="$CFLAGS -Wnonnull"
   8795 
   8796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8797 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8798 		cacheid=xorg_cv_cc_flag__Wnonnull
   8799 		if eval \${$cacheid+:} false; then :
   8800   $as_echo_n "(cached) " >&6
   8801 else
   8802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8803 /* end confdefs.h.  */
   8804 int i;
   8805 int
   8806 main ()
   8807 {
   8808 
   8809   ;
   8810   return 0;
   8811 }
   8812 _ACEOF
   8813 if ac_fn_c_try_link "$LINENO"; then :
   8814   eval $cacheid=yes
   8815 else
   8816   eval $cacheid=no
   8817 fi
   8818 rm -f core conftest.err conftest.$ac_objext \
   8819     conftest$ac_exeext conftest.$ac_ext
   8820 fi
   8821 
   8822 
   8823 		CFLAGS="$xorg_testset_save_CFLAGS"
   8824 
   8825 		eval supported=\$$cacheid
   8826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8827 $as_echo "$supported" >&6; }
   8828 		if test "$supported" = "yes" ; then
   8829 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8830 			found="yes"
   8831 		fi
   8832 	fi
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 xorg_testset_save_CFLAGS="$CFLAGS"
   8849 
   8850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8855   $as_echo_n "(cached) " >&6
   8856 else
   8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8858 /* end confdefs.h.  */
   8859 int i;
   8860 _ACEOF
   8861 if ac_fn_c_try_compile "$LINENO"; then :
   8862   xorg_cv_cc_flag_unknown_warning_option=yes
   8863 else
   8864   xorg_cv_cc_flag_unknown_warning_option=no
   8865 fi
   8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8867 fi
   8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8871 	CFLAGS="$xorg_testset_save_CFLAGS"
   8872 fi
   8873 
   8874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 	fi
   8878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8885 /* end confdefs.h.  */
   8886 int i;
   8887 _ACEOF
   8888 if ac_fn_c_try_compile "$LINENO"; then :
   8889   xorg_cv_cc_flag_unused_command_line_argument=yes
   8890 else
   8891   xorg_cv_cc_flag_unused_command_line_argument=no
   8892 fi
   8893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8894 fi
   8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8898 	CFLAGS="$xorg_testset_save_CFLAGS"
   8899 fi
   8900 
   8901 found="no"
   8902 
   8903 	if test $found = "no" ; then
   8904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 		fi
   8907 
   8908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8910 		fi
   8911 
   8912 		CFLAGS="$CFLAGS -Winit-self"
   8913 
   8914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8915 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8916 		cacheid=xorg_cv_cc_flag__Winit_self
   8917 		if eval \${$cacheid+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8921 /* end confdefs.h.  */
   8922 int i;
   8923 int
   8924 main ()
   8925 {
   8926 
   8927   ;
   8928   return 0;
   8929 }
   8930 _ACEOF
   8931 if ac_fn_c_try_link "$LINENO"; then :
   8932   eval $cacheid=yes
   8933 else
   8934   eval $cacheid=no
   8935 fi
   8936 rm -f core conftest.err conftest.$ac_objext \
   8937     conftest$ac_exeext conftest.$ac_ext
   8938 fi
   8939 
   8940 
   8941 		CFLAGS="$xorg_testset_save_CFLAGS"
   8942 
   8943 		eval supported=\$$cacheid
   8944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8945 $as_echo "$supported" >&6; }
   8946 		if test "$supported" = "yes" ; then
   8947 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8948 			found="yes"
   8949 		fi
   8950 	fi
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 xorg_testset_save_CFLAGS="$CFLAGS"
   8967 
   8968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8973   $as_echo_n "(cached) " >&6
   8974 else
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 _ACEOF
   8979 if ac_fn_c_try_compile "$LINENO"; then :
   8980   xorg_cv_cc_flag_unknown_warning_option=yes
   8981 else
   8982   xorg_cv_cc_flag_unknown_warning_option=no
   8983 fi
   8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8985 fi
   8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8989 	CFLAGS="$xorg_testset_save_CFLAGS"
   8990 fi
   8991 
   8992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 	fi
   8996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9000   $as_echo_n "(cached) " >&6
   9001 else
   9002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9003 /* end confdefs.h.  */
   9004 int i;
   9005 _ACEOF
   9006 if ac_fn_c_try_compile "$LINENO"; then :
   9007   xorg_cv_cc_flag_unused_command_line_argument=yes
   9008 else
   9009   xorg_cv_cc_flag_unused_command_line_argument=no
   9010 fi
   9011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9012 fi
   9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9016 	CFLAGS="$xorg_testset_save_CFLAGS"
   9017 fi
   9018 
   9019 found="no"
   9020 
   9021 	if test $found = "no" ; then
   9022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 		fi
   9025 
   9026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9028 		fi
   9029 
   9030 		CFLAGS="$CFLAGS -Wmain"
   9031 
   9032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9033 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9034 		cacheid=xorg_cv_cc_flag__Wmain
   9035 		if eval \${$cacheid+:} false; then :
   9036   $as_echo_n "(cached) " >&6
   9037 else
   9038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9039 /* end confdefs.h.  */
   9040 int i;
   9041 int
   9042 main ()
   9043 {
   9044 
   9045   ;
   9046   return 0;
   9047 }
   9048 _ACEOF
   9049 if ac_fn_c_try_link "$LINENO"; then :
   9050   eval $cacheid=yes
   9051 else
   9052   eval $cacheid=no
   9053 fi
   9054 rm -f core conftest.err conftest.$ac_objext \
   9055     conftest$ac_exeext conftest.$ac_ext
   9056 fi
   9057 
   9058 
   9059 		CFLAGS="$xorg_testset_save_CFLAGS"
   9060 
   9061 		eval supported=\$$cacheid
   9062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9063 $as_echo "$supported" >&6; }
   9064 		if test "$supported" = "yes" ; then
   9065 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9066 			found="yes"
   9067 		fi
   9068 	fi
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 xorg_testset_save_CFLAGS="$CFLAGS"
   9085 
   9086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9094 /* end confdefs.h.  */
   9095 int i;
   9096 _ACEOF
   9097 if ac_fn_c_try_compile "$LINENO"; then :
   9098   xorg_cv_cc_flag_unknown_warning_option=yes
   9099 else
   9100   xorg_cv_cc_flag_unknown_warning_option=no
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9103 fi
   9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9107 	CFLAGS="$xorg_testset_save_CFLAGS"
   9108 fi
   9109 
   9110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9113 	fi
   9114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9118   $as_echo_n "(cached) " >&6
   9119 else
   9120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9121 /* end confdefs.h.  */
   9122 int i;
   9123 _ACEOF
   9124 if ac_fn_c_try_compile "$LINENO"; then :
   9125   xorg_cv_cc_flag_unused_command_line_argument=yes
   9126 else
   9127   xorg_cv_cc_flag_unused_command_line_argument=no
   9128 fi
   9129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9130 fi
   9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9134 	CFLAGS="$xorg_testset_save_CFLAGS"
   9135 fi
   9136 
   9137 found="no"
   9138 
   9139 	if test $found = "no" ; then
   9140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9142 		fi
   9143 
   9144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9146 		fi
   9147 
   9148 		CFLAGS="$CFLAGS -Wmissing-braces"
   9149 
   9150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9151 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9152 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9153 		if eval \${$cacheid+:} false; then :
   9154   $as_echo_n "(cached) " >&6
   9155 else
   9156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9157 /* end confdefs.h.  */
   9158 int i;
   9159 int
   9160 main ()
   9161 {
   9162 
   9163   ;
   9164   return 0;
   9165 }
   9166 _ACEOF
   9167 if ac_fn_c_try_link "$LINENO"; then :
   9168   eval $cacheid=yes
   9169 else
   9170   eval $cacheid=no
   9171 fi
   9172 rm -f core conftest.err conftest.$ac_objext \
   9173     conftest$ac_exeext conftest.$ac_ext
   9174 fi
   9175 
   9176 
   9177 		CFLAGS="$xorg_testset_save_CFLAGS"
   9178 
   9179 		eval supported=\$$cacheid
   9180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9181 $as_echo "$supported" >&6; }
   9182 		if test "$supported" = "yes" ; then
   9183 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9184 			found="yes"
   9185 		fi
   9186 	fi
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 xorg_testset_save_CFLAGS="$CFLAGS"
   9203 
   9204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9209   $as_echo_n "(cached) " >&6
   9210 else
   9211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9212 /* end confdefs.h.  */
   9213 int i;
   9214 _ACEOF
   9215 if ac_fn_c_try_compile "$LINENO"; then :
   9216   xorg_cv_cc_flag_unknown_warning_option=yes
   9217 else
   9218   xorg_cv_cc_flag_unknown_warning_option=no
   9219 fi
   9220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9221 fi
   9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9225 	CFLAGS="$xorg_testset_save_CFLAGS"
   9226 fi
   9227 
   9228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9231 	fi
   9232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9236   $as_echo_n "(cached) " >&6
   9237 else
   9238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9239 /* end confdefs.h.  */
   9240 int i;
   9241 _ACEOF
   9242 if ac_fn_c_try_compile "$LINENO"; then :
   9243   xorg_cv_cc_flag_unused_command_line_argument=yes
   9244 else
   9245   xorg_cv_cc_flag_unused_command_line_argument=no
   9246 fi
   9247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9248 fi
   9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9252 	CFLAGS="$xorg_testset_save_CFLAGS"
   9253 fi
   9254 
   9255 found="no"
   9256 
   9257 	if test $found = "no" ; then
   9258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9260 		fi
   9261 
   9262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9264 		fi
   9265 
   9266 		CFLAGS="$CFLAGS -Wsequence-point"
   9267 
   9268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9269 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9270 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9271 		if eval \${$cacheid+:} false; then :
   9272   $as_echo_n "(cached) " >&6
   9273 else
   9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 int
   9278 main ()
   9279 {
   9280 
   9281   ;
   9282   return 0;
   9283 }
   9284 _ACEOF
   9285 if ac_fn_c_try_link "$LINENO"; then :
   9286   eval $cacheid=yes
   9287 else
   9288   eval $cacheid=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext \
   9291     conftest$ac_exeext conftest.$ac_ext
   9292 fi
   9293 
   9294 
   9295 		CFLAGS="$xorg_testset_save_CFLAGS"
   9296 
   9297 		eval supported=\$$cacheid
   9298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9299 $as_echo "$supported" >&6; }
   9300 		if test "$supported" = "yes" ; then
   9301 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9302 			found="yes"
   9303 		fi
   9304 	fi
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 xorg_testset_save_CFLAGS="$CFLAGS"
   9321 
   9322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9325 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9326 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9327   $as_echo_n "(cached) " >&6
   9328 else
   9329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9330 /* end confdefs.h.  */
   9331 int i;
   9332 _ACEOF
   9333 if ac_fn_c_try_compile "$LINENO"; then :
   9334   xorg_cv_cc_flag_unknown_warning_option=yes
   9335 else
   9336   xorg_cv_cc_flag_unknown_warning_option=no
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9339 fi
   9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9341 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9343 	CFLAGS="$xorg_testset_save_CFLAGS"
   9344 fi
   9345 
   9346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9349 	fi
   9350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9352 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9353 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9354   $as_echo_n "(cached) " >&6
   9355 else
   9356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9357 /* end confdefs.h.  */
   9358 int i;
   9359 _ACEOF
   9360 if ac_fn_c_try_compile "$LINENO"; then :
   9361   xorg_cv_cc_flag_unused_command_line_argument=yes
   9362 else
   9363   xorg_cv_cc_flag_unused_command_line_argument=no
   9364 fi
   9365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9366 fi
   9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9368 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9370 	CFLAGS="$xorg_testset_save_CFLAGS"
   9371 fi
   9372 
   9373 found="no"
   9374 
   9375 	if test $found = "no" ; then
   9376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9378 		fi
   9379 
   9380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9382 		fi
   9383 
   9384 		CFLAGS="$CFLAGS -Wreturn-type"
   9385 
   9386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9387 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9388 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9389 		if eval \${$cacheid+:} false; then :
   9390   $as_echo_n "(cached) " >&6
   9391 else
   9392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int i;
   9395 int
   9396 main ()
   9397 {
   9398 
   9399   ;
   9400   return 0;
   9401 }
   9402 _ACEOF
   9403 if ac_fn_c_try_link "$LINENO"; then :
   9404   eval $cacheid=yes
   9405 else
   9406   eval $cacheid=no
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext \
   9409     conftest$ac_exeext conftest.$ac_ext
   9410 fi
   9411 
   9412 
   9413 		CFLAGS="$xorg_testset_save_CFLAGS"
   9414 
   9415 		eval supported=\$$cacheid
   9416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9417 $as_echo "$supported" >&6; }
   9418 		if test "$supported" = "yes" ; then
   9419 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9420 			found="yes"
   9421 		fi
   9422 	fi
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 xorg_testset_save_CFLAGS="$CFLAGS"
   9439 
   9440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9443 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9444 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9445   $as_echo_n "(cached) " >&6
   9446 else
   9447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9448 /* end confdefs.h.  */
   9449 int i;
   9450 _ACEOF
   9451 if ac_fn_c_try_compile "$LINENO"; then :
   9452   xorg_cv_cc_flag_unknown_warning_option=yes
   9453 else
   9454   xorg_cv_cc_flag_unknown_warning_option=no
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9457 fi
   9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9459 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9461 	CFLAGS="$xorg_testset_save_CFLAGS"
   9462 fi
   9463 
   9464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9467 	fi
   9468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9470 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9471 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9472   $as_echo_n "(cached) " >&6
   9473 else
   9474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9475 /* end confdefs.h.  */
   9476 int i;
   9477 _ACEOF
   9478 if ac_fn_c_try_compile "$LINENO"; then :
   9479   xorg_cv_cc_flag_unused_command_line_argument=yes
   9480 else
   9481   xorg_cv_cc_flag_unused_command_line_argument=no
   9482 fi
   9483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9484 fi
   9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9486 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9488 	CFLAGS="$xorg_testset_save_CFLAGS"
   9489 fi
   9490 
   9491 found="no"
   9492 
   9493 	if test $found = "no" ; then
   9494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9496 		fi
   9497 
   9498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9500 		fi
   9501 
   9502 		CFLAGS="$CFLAGS -Wtrigraphs"
   9503 
   9504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9505 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9506 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9507 		if eval \${$cacheid+:} false; then :
   9508   $as_echo_n "(cached) " >&6
   9509 else
   9510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9511 /* end confdefs.h.  */
   9512 int i;
   9513 int
   9514 main ()
   9515 {
   9516 
   9517   ;
   9518   return 0;
   9519 }
   9520 _ACEOF
   9521 if ac_fn_c_try_link "$LINENO"; then :
   9522   eval $cacheid=yes
   9523 else
   9524   eval $cacheid=no
   9525 fi
   9526 rm -f core conftest.err conftest.$ac_objext \
   9527     conftest$ac_exeext conftest.$ac_ext
   9528 fi
   9529 
   9530 
   9531 		CFLAGS="$xorg_testset_save_CFLAGS"
   9532 
   9533 		eval supported=\$$cacheid
   9534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9535 $as_echo "$supported" >&6; }
   9536 		if test "$supported" = "yes" ; then
   9537 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9538 			found="yes"
   9539 		fi
   9540 	fi
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 xorg_testset_save_CFLAGS="$CFLAGS"
   9557 
   9558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9563   $as_echo_n "(cached) " >&6
   9564 else
   9565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9566 /* end confdefs.h.  */
   9567 int i;
   9568 _ACEOF
   9569 if ac_fn_c_try_compile "$LINENO"; then :
   9570   xorg_cv_cc_flag_unknown_warning_option=yes
   9571 else
   9572   xorg_cv_cc_flag_unknown_warning_option=no
   9573 fi
   9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9575 fi
   9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9579 	CFLAGS="$xorg_testset_save_CFLAGS"
   9580 fi
   9581 
   9582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9585 	fi
   9586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9590   $as_echo_n "(cached) " >&6
   9591 else
   9592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9593 /* end confdefs.h.  */
   9594 int i;
   9595 _ACEOF
   9596 if ac_fn_c_try_compile "$LINENO"; then :
   9597   xorg_cv_cc_flag_unused_command_line_argument=yes
   9598 else
   9599   xorg_cv_cc_flag_unused_command_line_argument=no
   9600 fi
   9601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9602 fi
   9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9606 	CFLAGS="$xorg_testset_save_CFLAGS"
   9607 fi
   9608 
   9609 found="no"
   9610 
   9611 	if test $found = "no" ; then
   9612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 		fi
   9615 
   9616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9618 		fi
   9619 
   9620 		CFLAGS="$CFLAGS -Warray-bounds"
   9621 
   9622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9623 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9624 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9625 		if eval \${$cacheid+:} false; then :
   9626   $as_echo_n "(cached) " >&6
   9627 else
   9628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9629 /* end confdefs.h.  */
   9630 int i;
   9631 int
   9632 main ()
   9633 {
   9634 
   9635   ;
   9636   return 0;
   9637 }
   9638 _ACEOF
   9639 if ac_fn_c_try_link "$LINENO"; then :
   9640   eval $cacheid=yes
   9641 else
   9642   eval $cacheid=no
   9643 fi
   9644 rm -f core conftest.err conftest.$ac_objext \
   9645     conftest$ac_exeext conftest.$ac_ext
   9646 fi
   9647 
   9648 
   9649 		CFLAGS="$xorg_testset_save_CFLAGS"
   9650 
   9651 		eval supported=\$$cacheid
   9652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9653 $as_echo "$supported" >&6; }
   9654 		if test "$supported" = "yes" ; then
   9655 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9656 			found="yes"
   9657 		fi
   9658 	fi
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 xorg_testset_save_CFLAGS="$CFLAGS"
   9675 
   9676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9681   $as_echo_n "(cached) " >&6
   9682 else
   9683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9684 /* end confdefs.h.  */
   9685 int i;
   9686 _ACEOF
   9687 if ac_fn_c_try_compile "$LINENO"; then :
   9688   xorg_cv_cc_flag_unknown_warning_option=yes
   9689 else
   9690   xorg_cv_cc_flag_unknown_warning_option=no
   9691 fi
   9692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9693 fi
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9697 	CFLAGS="$xorg_testset_save_CFLAGS"
   9698 fi
   9699 
   9700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9703 	fi
   9704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9708   $as_echo_n "(cached) " >&6
   9709 else
   9710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9711 /* end confdefs.h.  */
   9712 int i;
   9713 _ACEOF
   9714 if ac_fn_c_try_compile "$LINENO"; then :
   9715   xorg_cv_cc_flag_unused_command_line_argument=yes
   9716 else
   9717   xorg_cv_cc_flag_unused_command_line_argument=no
   9718 fi
   9719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9720 fi
   9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9724 	CFLAGS="$xorg_testset_save_CFLAGS"
   9725 fi
   9726 
   9727 found="no"
   9728 
   9729 	if test $found = "no" ; then
   9730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9732 		fi
   9733 
   9734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9736 		fi
   9737 
   9738 		CFLAGS="$CFLAGS -Wwrite-strings"
   9739 
   9740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9741 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9742 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9743 		if eval \${$cacheid+:} false; then :
   9744   $as_echo_n "(cached) " >&6
   9745 else
   9746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 int
   9750 main ()
   9751 {
   9752 
   9753   ;
   9754   return 0;
   9755 }
   9756 _ACEOF
   9757 if ac_fn_c_try_link "$LINENO"; then :
   9758   eval $cacheid=yes
   9759 else
   9760   eval $cacheid=no
   9761 fi
   9762 rm -f core conftest.err conftest.$ac_objext \
   9763     conftest$ac_exeext conftest.$ac_ext
   9764 fi
   9765 
   9766 
   9767 		CFLAGS="$xorg_testset_save_CFLAGS"
   9768 
   9769 		eval supported=\$$cacheid
   9770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9771 $as_echo "$supported" >&6; }
   9772 		if test "$supported" = "yes" ; then
   9773 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9774 			found="yes"
   9775 		fi
   9776 	fi
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 xorg_testset_save_CFLAGS="$CFLAGS"
   9793 
   9794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9799   $as_echo_n "(cached) " >&6
   9800 else
   9801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9802 /* end confdefs.h.  */
   9803 int i;
   9804 _ACEOF
   9805 if ac_fn_c_try_compile "$LINENO"; then :
   9806   xorg_cv_cc_flag_unknown_warning_option=yes
   9807 else
   9808   xorg_cv_cc_flag_unknown_warning_option=no
   9809 fi
   9810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9811 fi
   9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9815 	CFLAGS="$xorg_testset_save_CFLAGS"
   9816 fi
   9817 
   9818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9821 	fi
   9822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9826   $as_echo_n "(cached) " >&6
   9827 else
   9828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9829 /* end confdefs.h.  */
   9830 int i;
   9831 _ACEOF
   9832 if ac_fn_c_try_compile "$LINENO"; then :
   9833   xorg_cv_cc_flag_unused_command_line_argument=yes
   9834 else
   9835   xorg_cv_cc_flag_unused_command_line_argument=no
   9836 fi
   9837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9838 fi
   9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9842 	CFLAGS="$xorg_testset_save_CFLAGS"
   9843 fi
   9844 
   9845 found="no"
   9846 
   9847 	if test $found = "no" ; then
   9848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 		fi
   9851 
   9852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9854 		fi
   9855 
   9856 		CFLAGS="$CFLAGS -Waddress"
   9857 
   9858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9859 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9860 		cacheid=xorg_cv_cc_flag__Waddress
   9861 		if eval \${$cacheid+:} false; then :
   9862   $as_echo_n "(cached) " >&6
   9863 else
   9864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9865 /* end confdefs.h.  */
   9866 int i;
   9867 int
   9868 main ()
   9869 {
   9870 
   9871   ;
   9872   return 0;
   9873 }
   9874 _ACEOF
   9875 if ac_fn_c_try_link "$LINENO"; then :
   9876   eval $cacheid=yes
   9877 else
   9878   eval $cacheid=no
   9879 fi
   9880 rm -f core conftest.err conftest.$ac_objext \
   9881     conftest$ac_exeext conftest.$ac_ext
   9882 fi
   9883 
   9884 
   9885 		CFLAGS="$xorg_testset_save_CFLAGS"
   9886 
   9887 		eval supported=\$$cacheid
   9888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9889 $as_echo "$supported" >&6; }
   9890 		if test "$supported" = "yes" ; then
   9891 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9892 			found="yes"
   9893 		fi
   9894 	fi
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 xorg_testset_save_CFLAGS="$CFLAGS"
   9911 
   9912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9917   $as_echo_n "(cached) " >&6
   9918 else
   9919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9920 /* end confdefs.h.  */
   9921 int i;
   9922 _ACEOF
   9923 if ac_fn_c_try_compile "$LINENO"; then :
   9924   xorg_cv_cc_flag_unknown_warning_option=yes
   9925 else
   9926   xorg_cv_cc_flag_unknown_warning_option=no
   9927 fi
   9928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9929 fi
   9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9933 	CFLAGS="$xorg_testset_save_CFLAGS"
   9934 fi
   9935 
   9936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9939 	fi
   9940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9944   $as_echo_n "(cached) " >&6
   9945 else
   9946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9947 /* end confdefs.h.  */
   9948 int i;
   9949 _ACEOF
   9950 if ac_fn_c_try_compile "$LINENO"; then :
   9951   xorg_cv_cc_flag_unused_command_line_argument=yes
   9952 else
   9953   xorg_cv_cc_flag_unused_command_line_argument=no
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9956 fi
   9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9960 	CFLAGS="$xorg_testset_save_CFLAGS"
   9961 fi
   9962 
   9963 found="no"
   9964 
   9965 	if test $found = "no" ; then
   9966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9968 		fi
   9969 
   9970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9972 		fi
   9973 
   9974 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9975 
   9976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9977 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9978 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9979 		if eval \${$cacheid+:} false; then :
   9980   $as_echo_n "(cached) " >&6
   9981 else
   9982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9983 /* end confdefs.h.  */
   9984 int i;
   9985 int
   9986 main ()
   9987 {
   9988 
   9989   ;
   9990   return 0;
   9991 }
   9992 _ACEOF
   9993 if ac_fn_c_try_link "$LINENO"; then :
   9994   eval $cacheid=yes
   9995 else
   9996   eval $cacheid=no
   9997 fi
   9998 rm -f core conftest.err conftest.$ac_objext \
   9999     conftest$ac_exeext conftest.$ac_ext
   10000 fi
   10001 
   10002 
   10003 		CFLAGS="$xorg_testset_save_CFLAGS"
   10004 
   10005 		eval supported=\$$cacheid
   10006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10007 $as_echo "$supported" >&6; }
   10008 		if test "$supported" = "yes" ; then
   10009 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10010 			found="yes"
   10011 		fi
   10012 	fi
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 xorg_testset_save_CFLAGS="$CFLAGS"
   10029 
   10030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10035   $as_echo_n "(cached) " >&6
   10036 else
   10037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10038 /* end confdefs.h.  */
   10039 int i;
   10040 _ACEOF
   10041 if ac_fn_c_try_compile "$LINENO"; then :
   10042   xorg_cv_cc_flag_unknown_warning_option=yes
   10043 else
   10044   xorg_cv_cc_flag_unknown_warning_option=no
   10045 fi
   10046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10047 fi
   10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10051 	CFLAGS="$xorg_testset_save_CFLAGS"
   10052 fi
   10053 
   10054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10057 	fi
   10058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10062   $as_echo_n "(cached) " >&6
   10063 else
   10064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10065 /* end confdefs.h.  */
   10066 int i;
   10067 _ACEOF
   10068 if ac_fn_c_try_compile "$LINENO"; then :
   10069   xorg_cv_cc_flag_unused_command_line_argument=yes
   10070 else
   10071   xorg_cv_cc_flag_unused_command_line_argument=no
   10072 fi
   10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10074 fi
   10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10078 	CFLAGS="$xorg_testset_save_CFLAGS"
   10079 fi
   10080 
   10081 found="no"
   10082 
   10083 	if test $found = "no" ; then
   10084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 		fi
   10087 
   10088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10090 		fi
   10091 
   10092 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10093 
   10094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10095 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10096 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10097 		if eval \${$cacheid+:} false; then :
   10098   $as_echo_n "(cached) " >&6
   10099 else
   10100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10101 /* end confdefs.h.  */
   10102 int i;
   10103 int
   10104 main ()
   10105 {
   10106 
   10107   ;
   10108   return 0;
   10109 }
   10110 _ACEOF
   10111 if ac_fn_c_try_link "$LINENO"; then :
   10112   eval $cacheid=yes
   10113 else
   10114   eval $cacheid=no
   10115 fi
   10116 rm -f core conftest.err conftest.$ac_objext \
   10117     conftest$ac_exeext conftest.$ac_ext
   10118 fi
   10119 
   10120 
   10121 		CFLAGS="$xorg_testset_save_CFLAGS"
   10122 
   10123 		eval supported=\$$cacheid
   10124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10125 $as_echo "$supported" >&6; }
   10126 		if test "$supported" = "yes" ; then
   10127 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10128 			found="yes"
   10129 		fi
   10130 	fi
   10131 
   10132 
   10133 fi
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 		CWARNFLAGS="$BASE_CFLAGS"
   10142 		if  test "x$GCC" = xyes ; then
   10143 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10144 		fi
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 # Check whether --enable-strict-compilation was given.
   10154 if test "${enable_strict_compilation+set}" = set; then :
   10155   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10156 else
   10157   STRICT_COMPILE=no
   10158 fi
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 STRICT_CFLAGS=""
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 xorg_testset_save_CFLAGS="$CFLAGS"
   10180 
   10181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10186   $as_echo_n "(cached) " >&6
   10187 else
   10188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10189 /* end confdefs.h.  */
   10190 int i;
   10191 _ACEOF
   10192 if ac_fn_c_try_compile "$LINENO"; then :
   10193   xorg_cv_cc_flag_unknown_warning_option=yes
   10194 else
   10195   xorg_cv_cc_flag_unknown_warning_option=no
   10196 fi
   10197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10198 fi
   10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10202 	CFLAGS="$xorg_testset_save_CFLAGS"
   10203 fi
   10204 
   10205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10208 	fi
   10209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10213   $as_echo_n "(cached) " >&6
   10214 else
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 _ACEOF
   10219 if ac_fn_c_try_compile "$LINENO"; then :
   10220   xorg_cv_cc_flag_unused_command_line_argument=yes
   10221 else
   10222   xorg_cv_cc_flag_unused_command_line_argument=no
   10223 fi
   10224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10225 fi
   10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10229 	CFLAGS="$xorg_testset_save_CFLAGS"
   10230 fi
   10231 
   10232 found="no"
   10233 
   10234 	if test $found = "no" ; then
   10235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 		fi
   10238 
   10239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10241 		fi
   10242 
   10243 		CFLAGS="$CFLAGS -pedantic"
   10244 
   10245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10246 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10247 		cacheid=xorg_cv_cc_flag__pedantic
   10248 		if eval \${$cacheid+:} false; then :
   10249   $as_echo_n "(cached) " >&6
   10250 else
   10251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10252 /* end confdefs.h.  */
   10253 int i;
   10254 int
   10255 main ()
   10256 {
   10257 
   10258   ;
   10259   return 0;
   10260 }
   10261 _ACEOF
   10262 if ac_fn_c_try_link "$LINENO"; then :
   10263   eval $cacheid=yes
   10264 else
   10265   eval $cacheid=no
   10266 fi
   10267 rm -f core conftest.err conftest.$ac_objext \
   10268     conftest$ac_exeext conftest.$ac_ext
   10269 fi
   10270 
   10271 
   10272 		CFLAGS="$xorg_testset_save_CFLAGS"
   10273 
   10274 		eval supported=\$$cacheid
   10275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10276 $as_echo "$supported" >&6; }
   10277 		if test "$supported" = "yes" ; then
   10278 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10279 			found="yes"
   10280 		fi
   10281 	fi
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 xorg_testset_save_CFLAGS="$CFLAGS"
   10298 
   10299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10304   $as_echo_n "(cached) " >&6
   10305 else
   10306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10307 /* end confdefs.h.  */
   10308 int i;
   10309 _ACEOF
   10310 if ac_fn_c_try_compile "$LINENO"; then :
   10311   xorg_cv_cc_flag_unknown_warning_option=yes
   10312 else
   10313   xorg_cv_cc_flag_unknown_warning_option=no
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10316 fi
   10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10320 	CFLAGS="$xorg_testset_save_CFLAGS"
   10321 fi
   10322 
   10323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10326 	fi
   10327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10331   $as_echo_n "(cached) " >&6
   10332 else
   10333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10334 /* end confdefs.h.  */
   10335 int i;
   10336 _ACEOF
   10337 if ac_fn_c_try_compile "$LINENO"; then :
   10338   xorg_cv_cc_flag_unused_command_line_argument=yes
   10339 else
   10340   xorg_cv_cc_flag_unused_command_line_argument=no
   10341 fi
   10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10343 fi
   10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10347 	CFLAGS="$xorg_testset_save_CFLAGS"
   10348 fi
   10349 
   10350 found="no"
   10351 
   10352 	if test $found = "no" ; then
   10353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10355 		fi
   10356 
   10357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10359 		fi
   10360 
   10361 		CFLAGS="$CFLAGS -Werror"
   10362 
   10363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10364 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10365 		cacheid=xorg_cv_cc_flag__Werror
   10366 		if eval \${$cacheid+:} false; then :
   10367   $as_echo_n "(cached) " >&6
   10368 else
   10369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 int
   10373 main ()
   10374 {
   10375 
   10376   ;
   10377   return 0;
   10378 }
   10379 _ACEOF
   10380 if ac_fn_c_try_link "$LINENO"; then :
   10381   eval $cacheid=yes
   10382 else
   10383   eval $cacheid=no
   10384 fi
   10385 rm -f core conftest.err conftest.$ac_objext \
   10386     conftest$ac_exeext conftest.$ac_ext
   10387 fi
   10388 
   10389 
   10390 		CFLAGS="$xorg_testset_save_CFLAGS"
   10391 
   10392 		eval supported=\$$cacheid
   10393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10394 $as_echo "$supported" >&6; }
   10395 		if test "$supported" = "yes" ; then
   10396 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10397 			found="yes"
   10398 		fi
   10399 	fi
   10400 
   10401 	if test $found = "no" ; then
   10402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10404 		fi
   10405 
   10406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10408 		fi
   10409 
   10410 		CFLAGS="$CFLAGS -errwarn"
   10411 
   10412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10413 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10414 		cacheid=xorg_cv_cc_flag__errwarn
   10415 		if eval \${$cacheid+:} false; then :
   10416   $as_echo_n "(cached) " >&6
   10417 else
   10418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10419 /* end confdefs.h.  */
   10420 int i;
   10421 int
   10422 main ()
   10423 {
   10424 
   10425   ;
   10426   return 0;
   10427 }
   10428 _ACEOF
   10429 if ac_fn_c_try_link "$LINENO"; then :
   10430   eval $cacheid=yes
   10431 else
   10432   eval $cacheid=no
   10433 fi
   10434 rm -f core conftest.err conftest.$ac_objext \
   10435     conftest$ac_exeext conftest.$ac_ext
   10436 fi
   10437 
   10438 
   10439 		CFLAGS="$xorg_testset_save_CFLAGS"
   10440 
   10441 		eval supported=\$$cacheid
   10442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10443 $as_echo "$supported" >&6; }
   10444 		if test "$supported" = "yes" ; then
   10445 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10446 			found="yes"
   10447 		fi
   10448 	fi
   10449 
   10450 
   10451 
   10452 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10453 # activate it with -Werror, so we add it here explicitly.
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 xorg_testset_save_CFLAGS="$CFLAGS"
   10468 
   10469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10474   $as_echo_n "(cached) " >&6
   10475 else
   10476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10477 /* end confdefs.h.  */
   10478 int i;
   10479 _ACEOF
   10480 if ac_fn_c_try_compile "$LINENO"; then :
   10481   xorg_cv_cc_flag_unknown_warning_option=yes
   10482 else
   10483   xorg_cv_cc_flag_unknown_warning_option=no
   10484 fi
   10485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10486 fi
   10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10490 	CFLAGS="$xorg_testset_save_CFLAGS"
   10491 fi
   10492 
   10493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10496 	fi
   10497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10501   $as_echo_n "(cached) " >&6
   10502 else
   10503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10504 /* end confdefs.h.  */
   10505 int i;
   10506 _ACEOF
   10507 if ac_fn_c_try_compile "$LINENO"; then :
   10508   xorg_cv_cc_flag_unused_command_line_argument=yes
   10509 else
   10510   xorg_cv_cc_flag_unused_command_line_argument=no
   10511 fi
   10512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10513 fi
   10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10517 	CFLAGS="$xorg_testset_save_CFLAGS"
   10518 fi
   10519 
   10520 found="no"
   10521 
   10522 	if test $found = "no" ; then
   10523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10525 		fi
   10526 
   10527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10529 		fi
   10530 
   10531 		CFLAGS="$CFLAGS -Werror=attributes"
   10532 
   10533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10534 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10535 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10536 		if eval \${$cacheid+:} false; then :
   10537   $as_echo_n "(cached) " >&6
   10538 else
   10539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10540 /* end confdefs.h.  */
   10541 int i;
   10542 int
   10543 main ()
   10544 {
   10545 
   10546   ;
   10547   return 0;
   10548 }
   10549 _ACEOF
   10550 if ac_fn_c_try_link "$LINENO"; then :
   10551   eval $cacheid=yes
   10552 else
   10553   eval $cacheid=no
   10554 fi
   10555 rm -f core conftest.err conftest.$ac_objext \
   10556     conftest$ac_exeext conftest.$ac_ext
   10557 fi
   10558 
   10559 
   10560 		CFLAGS="$xorg_testset_save_CFLAGS"
   10561 
   10562 		eval supported=\$$cacheid
   10563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10564 $as_echo "$supported" >&6; }
   10565 		if test "$supported" = "yes" ; then
   10566 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10567 			found="yes"
   10568 		fi
   10569 	fi
   10570 
   10571 
   10572 
   10573 if test "x$STRICT_COMPILE" = "xyes"; then
   10574     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10575     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10576 fi
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 cat >>confdefs.h <<_ACEOF
   10584 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10585 _ACEOF
   10586 
   10587 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10588 	if test "x$PVM" = "x"; then
   10589 		PVM="0"
   10590 	fi
   10591 
   10592 cat >>confdefs.h <<_ACEOF
   10593 #define PACKAGE_VERSION_MINOR $PVM
   10594 _ACEOF
   10595 
   10596 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10597 	if test "x$PVP" = "x"; then
   10598 		PVP="0"
   10599 	fi
   10600 
   10601 cat >>confdefs.h <<_ACEOF
   10602 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10603 _ACEOF
   10604 
   10605 
   10606 
   10607 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10608 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10609 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10610 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10611 
   10612 
   10613 
   10614 
   10615 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10616 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10617 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10618 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10619 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 if test x$APP_MAN_SUFFIX = x    ; then
   10627     APP_MAN_SUFFIX=1
   10628 fi
   10629 if test x$APP_MAN_DIR = x    ; then
   10630     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10631 fi
   10632 
   10633 if test x$LIB_MAN_SUFFIX = x    ; then
   10634     LIB_MAN_SUFFIX=3
   10635 fi
   10636 if test x$LIB_MAN_DIR = x    ; then
   10637     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10638 fi
   10639 
   10640 if test x$FILE_MAN_SUFFIX = x    ; then
   10641     case $host_os in
   10642 	# Solaris 2.0 - 11 use SysV man page sections
   10643 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10644 	*)				FILE_MAN_SUFFIX=5  ;;
   10645     esac
   10646 fi
   10647 if test x$FILE_MAN_DIR = x    ; then
   10648     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10649 fi
   10650 
   10651 if test x$MISC_MAN_SUFFIX = x    ; then
   10652     case $host_os in
   10653 	# Solaris 2.0 - 11 use SysV man page sections
   10654 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10655 	*)				MISC_MAN_SUFFIX=7  ;;
   10656     esac
   10657 fi
   10658 if test x$MISC_MAN_DIR = x    ; then
   10659     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10660 fi
   10661 
   10662 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10663     case $host_os in
   10664 	# Solaris 2.0 - 11 use SysV man page sections
   10665 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10666 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10667     esac
   10668 fi
   10669 if test x$DRIVER_MAN_DIR = x    ; then
   10670     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10671 fi
   10672 
   10673 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10674     case $host_os in
   10675 	# Solaris 2.0 - 11 use SysV man page sections
   10676 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10677 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10678     esac
   10679 fi
   10680 if test x$ADMIN_MAN_DIR = x    ; then
   10681     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10682 fi
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 XORG_MAN_PAGE="X Version 11"
   10699 
   10700 MAN_SUBSTS="\
   10701 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10702 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10703 	-e 's|__xservername__|Xorg|g' \
   10704 	-e 's|__xconfigfile__|xorg.conf|g' \
   10705 	-e 's|__projectroot__|\$(prefix)|g' \
   10706 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10707 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10708 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10709 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10710 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10711 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10712 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10713 
   10714 
   10715 
   10716 # Check whether --enable-silent-rules was given.
   10717 if test "${enable_silent_rules+set}" = set; then :
   10718   enableval=$enable_silent_rules;
   10719 fi
   10720 
   10721 case $enable_silent_rules in # (((
   10722   yes) AM_DEFAULT_VERBOSITY=0;;
   10723    no) AM_DEFAULT_VERBOSITY=1;;
   10724     *) AM_DEFAULT_VERBOSITY=0;;
   10725 esac
   10726 am_make=${MAKE-make}
   10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10728 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10729 if ${am_cv_make_support_nested_variables+:} false; then :
   10730   $as_echo_n "(cached) " >&6
   10731 else
   10732   if $as_echo 'TRUE=$(BAR$(V))
   10733 BAR0=false
   10734 BAR1=true
   10735 V=1
   10736 am__doit:
   10737 	@$(TRUE)
   10738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10739   am_cv_make_support_nested_variables=yes
   10740 else
   10741   am_cv_make_support_nested_variables=no
   10742 fi
   10743 fi
   10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10745 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10746 if test $am_cv_make_support_nested_variables = yes; then
   10747     AM_V='$(V)'
   10748   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10749 else
   10750   AM_V=$AM_DEFAULT_VERBOSITY
   10751   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10752 fi
   10753 AM_BACKSLASH='\'
   10754 
   10755 
   10756 
   10757 # Use POSIX strnlen or the implementation supplied in this module
   10758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
   10759 $as_echo_n "checking for working strnlen... " >&6; }
   10760 if ${ac_cv_func_strnlen_working+:} false; then :
   10761   $as_echo_n "(cached) " >&6
   10762 else
   10763   if test "$cross_compiling" = yes; then :
   10764   # Guess no on AIX systems, yes otherwise.
   10765 		case "$host_os" in
   10766 		  aix*) ac_cv_func_strnlen_working=no;;
   10767 		  *)    ac_cv_func_strnlen_working=yes;;
   10768 		esac
   10769 else
   10770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10771 /* end confdefs.h.  */
   10772 $ac_includes_default
   10773 int
   10774 main ()
   10775 {
   10776 
   10777 #define S "foobar"
   10778 #define S_LEN (sizeof S - 1)
   10779 
   10780   /* At least one implementation is buggy: that of AIX 4.3 would
   10781      give strnlen (S, 1) == 3.  */
   10782 
   10783   int i;
   10784   for (i = 0; i < S_LEN + 1; ++i)
   10785     {
   10786       int expected = i <= S_LEN ? i : S_LEN;
   10787       if (strnlen (S, i) != expected)
   10788 	return 1;
   10789     }
   10790   return 0;
   10791 
   10792   ;
   10793   return 0;
   10794 }
   10795 _ACEOF
   10796 if ac_fn_c_try_run "$LINENO"; then :
   10797   ac_cv_func_strnlen_working=yes
   10798 else
   10799   ac_cv_func_strnlen_working=no
   10800 fi
   10801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   10802   conftest.$ac_objext conftest.beam conftest.$ac_ext
   10803 fi
   10804 
   10805 fi
   10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
   10807 $as_echo "$ac_cv_func_strnlen_working" >&6; }
   10808 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
   10809   *" strnlen.$ac_objext "* ) ;;
   10810   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
   10811  ;;
   10812 esac
   10813 
   10814 
   10815 if test "x$ac_cv_func_strnlen_working" = xyes; then
   10816 
   10817 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
   10818 
   10819 fi
   10820 
   10821 # Obtain compiler/linker options for xlsclients dependencies
   10822 
   10823 pkg_failed=no
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLSCLIENTS" >&5
   10825 $as_echo_n "checking for XLSCLIENTS... " >&6; }
   10826 
   10827 if test -n "$XLSCLIENTS_CFLAGS"; then
   10828     pkg_cv_XLSCLIENTS_CFLAGS="$XLSCLIENTS_CFLAGS"
   10829  elif test -n "$PKG_CONFIG"; then
   10830     if test -n "$PKG_CONFIG" && \
   10831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5
   10832   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6") 2>&5
   10833   ac_status=$?
   10834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10835   test $ac_status = 0; }; then
   10836   pkg_cv_XLSCLIENTS_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.6" 2>/dev/null`
   10837 		      test "x$?" != "x0" && pkg_failed=yes
   10838 else
   10839   pkg_failed=yes
   10840 fi
   10841  else
   10842     pkg_failed=untried
   10843 fi
   10844 if test -n "$XLSCLIENTS_LIBS"; then
   10845     pkg_cv_XLSCLIENTS_LIBS="$XLSCLIENTS_LIBS"
   10846  elif test -n "$PKG_CONFIG"; then
   10847     if test -n "$PKG_CONFIG" && \
   10848     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6\""; } >&5
   10849   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6") 2>&5
   10850   ac_status=$?
   10851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10852   test $ac_status = 0; }; then
   10853   pkg_cv_XLSCLIENTS_LIBS=`$PKG_CONFIG --libs "xcb >= 1.6" 2>/dev/null`
   10854 		      test "x$?" != "x0" && pkg_failed=yes
   10855 else
   10856   pkg_failed=yes
   10857 fi
   10858  else
   10859     pkg_failed=untried
   10860 fi
   10861 
   10862 
   10863 
   10864 if test $pkg_failed = yes; then
   10865    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10866 $as_echo "no" >&6; }
   10867 
   10868 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10869         _pkg_short_errors_supported=yes
   10870 else
   10871         _pkg_short_errors_supported=no
   10872 fi
   10873         if test $_pkg_short_errors_supported = yes; then
   10874 	        XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb >= 1.6" 2>&1`
   10875         else
   10876 	        XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb >= 1.6" 2>&1`
   10877         fi
   10878 	# Put the nasty error message in config.log where it belongs
   10879 	echo "$XLSCLIENTS_PKG_ERRORS" >&5
   10880 
   10881 	as_fn_error $? "Package requirements (xcb >= 1.6) were not met:
   10882 
   10883 $XLSCLIENTS_PKG_ERRORS
   10884 
   10885 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10886 installed software in a non-standard prefix.
   10887 
   10888 Alternatively, you may set the environment variables XLSCLIENTS_CFLAGS
   10889 and XLSCLIENTS_LIBS to avoid the need to call pkg-config.
   10890 See the pkg-config man page for more details." "$LINENO" 5
   10891 elif test $pkg_failed = untried; then
   10892      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10893 $as_echo "no" >&6; }
   10894 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10896 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10897 is in your PATH or set the PKG_CONFIG environment variable to the full
   10898 path to pkg-config.
   10899 
   10900 Alternatively, you may set the environment variables XLSCLIENTS_CFLAGS
   10901 and XLSCLIENTS_LIBS to avoid the need to call pkg-config.
   10902 See the pkg-config man page for more details.
   10903 
   10904 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10905 See \`config.log' for more details" "$LINENO" 5; }
   10906 else
   10907 	XLSCLIENTS_CFLAGS=$pkg_cv_XLSCLIENTS_CFLAGS
   10908 	XLSCLIENTS_LIBS=$pkg_cv_XLSCLIENTS_LIBS
   10909         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10910 $as_echo "yes" >&6; }
   10911 
   10912 fi
   10913 
   10914 ac_config_files="$ac_config_files Makefile man/Makefile"
   10915 
   10916 cat >confcache <<\_ACEOF
   10917 # This file is a shell script that caches the results of configure
   10918 # tests run on this system so they can be shared between configure
   10919 # scripts and configure runs, see configure's option --config-cache.
   10920 # It is not useful on other systems.  If it contains results you don't
   10921 # want to keep, you may remove or edit it.
   10922 #
   10923 # config.status only pays attention to the cache file if you give it
   10924 # the --recheck option to rerun configure.
   10925 #
   10926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10928 # following values.
   10929 
   10930 _ACEOF
   10931 
   10932 # The following way of writing the cache mishandles newlines in values,
   10933 # but we know of no workaround that is simple, portable, and efficient.
   10934 # So, we kill variables containing newlines.
   10935 # Ultrix sh set writes to stderr and can't be redirected directly,
   10936 # and sets the high bit in the cache file unless we assign to the vars.
   10937 (
   10938   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10939     eval ac_val=\$$ac_var
   10940     case $ac_val in #(
   10941     *${as_nl}*)
   10942       case $ac_var in #(
   10943       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10945       esac
   10946       case $ac_var in #(
   10947       _ | IFS | as_nl) ;; #(
   10948       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10949       *) { eval $ac_var=; unset $ac_var;} ;;
   10950       esac ;;
   10951     esac
   10952   done
   10953 
   10954   (set) 2>&1 |
   10955     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10956     *${as_nl}ac_space=\ *)
   10957       # `set' does not quote correctly, so add quotes: double-quote
   10958       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10959       sed -n \
   10960 	"s/'/'\\\\''/g;
   10961 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10962       ;; #(
   10963     *)
   10964       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10965       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10966       ;;
   10967     esac |
   10968     sort
   10969 ) |
   10970   sed '
   10971      /^ac_cv_env_/b end
   10972      t clear
   10973      :clear
   10974      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10975      t end
   10976      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10977      :end' >>confcache
   10978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10979   if test -w "$cache_file"; then
   10980     if test "x$cache_file" != "x/dev/null"; then
   10981       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10982 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10983       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10984 	cat confcache >"$cache_file"
   10985       else
   10986         case $cache_file in #(
   10987         */* | ?:*)
   10988 	  mv -f confcache "$cache_file"$$ &&
   10989 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10990         *)
   10991 	  mv -f confcache "$cache_file" ;;
   10992 	esac
   10993       fi
   10994     fi
   10995   else
   10996     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10997 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10998   fi
   10999 fi
   11000 rm -f confcache
   11001 
   11002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11003 # Let make expand exec_prefix.
   11004 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11005 
   11006 DEFS=-DHAVE_CONFIG_H
   11007 
   11008 ac_libobjs=
   11009 ac_ltlibobjs=
   11010 U=
   11011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11012   # 1. Remove the extension, and $U if already installed.
   11013   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11014   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11015   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11016   #    will be set to the directory where LIBOBJS objects are built.
   11017   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11018   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11019 done
   11020 LIBOBJS=$ac_libobjs
   11021 
   11022 LTLIBOBJS=$ac_ltlibobjs
   11023 
   11024 
   11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11026 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11027    if test -n "$am_sleep_pid"; then
   11028      # Hide warnings about reused PIDs.
   11029      wait $am_sleep_pid 2>/dev/null
   11030    fi
   11031    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11032 $as_echo "done" >&6; }
   11033 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11034   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11036 fi
   11037 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11038   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11040 fi
   11041  if test -n "$EXEEXT"; then
   11042   am__EXEEXT_TRUE=
   11043   am__EXEEXT_FALSE='#'
   11044 else
   11045   am__EXEEXT_TRUE='#'
   11046   am__EXEEXT_FALSE=
   11047 fi
   11048 
   11049 
   11050 : "${CONFIG_STATUS=./config.status}"
   11051 ac_write_fail=0
   11052 ac_clean_files_save=$ac_clean_files
   11053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11055 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11056 as_write_fail=0
   11057 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11058 #! $SHELL
   11059 # Generated by $as_me.
   11060 # Run this file to recreate the current configuration.
   11061 # Compiler output produced by configure, useful for debugging
   11062 # configure, is in config.log if it exists.
   11063 
   11064 debug=false
   11065 ac_cs_recheck=false
   11066 ac_cs_silent=false
   11067 
   11068 SHELL=\${CONFIG_SHELL-$SHELL}
   11069 export SHELL
   11070 _ASEOF
   11071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11072 ## -------------------- ##
   11073 ## M4sh Initialization. ##
   11074 ## -------------------- ##
   11075 
   11076 # Be more Bourne compatible
   11077 DUALCASE=1; export DUALCASE # for MKS sh
   11078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11079   emulate sh
   11080   NULLCMD=:
   11081   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11082   # is contrary to our usage.  Disable this feature.
   11083   alias -g '${1+"$@"}'='"$@"'
   11084   setopt NO_GLOB_SUBST
   11085 else
   11086   case `(set -o) 2>/dev/null` in #(
   11087   *posix*) :
   11088     set -o posix ;; #(
   11089   *) :
   11090      ;;
   11091 esac
   11092 fi
   11093 
   11094 
   11095 as_nl='
   11096 '
   11097 export as_nl
   11098 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11099 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11102 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11103 # but without wasting forks for bash or zsh.
   11104 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11105     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11106   as_echo='print -r --'
   11107   as_echo_n='print -rn --'
   11108 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11109   as_echo='printf %s\n'
   11110   as_echo_n='printf %s'
   11111 else
   11112   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11113     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11114     as_echo_n='/usr/ucb/echo -n'
   11115   else
   11116     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11117     as_echo_n_body='eval
   11118       arg=$1;
   11119       case $arg in #(
   11120       *"$as_nl"*)
   11121 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11122 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11123       esac;
   11124       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11125     '
   11126     export as_echo_n_body
   11127     as_echo_n='sh -c $as_echo_n_body as_echo'
   11128   fi
   11129   export as_echo_body
   11130   as_echo='sh -c $as_echo_body as_echo'
   11131 fi
   11132 
   11133 # The user is always right.
   11134 if test "${PATH_SEPARATOR+set}" != set; then
   11135   PATH_SEPARATOR=:
   11136   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11137     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11138       PATH_SEPARATOR=';'
   11139   }
   11140 fi
   11141 
   11142 
   11143 # IFS
   11144 # We need space, tab and new line, in precisely that order.  Quoting is
   11145 # there to prevent editors from complaining about space-tab.
   11146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11147 # splitting by setting IFS to empty value.)
   11148 IFS=" ""	$as_nl"
   11149 
   11150 # Find who we are.  Look in the path if we contain no directory separator.
   11151 as_myself=
   11152 case $0 in #((
   11153   *[\\/]* ) as_myself=$0 ;;
   11154   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11155 for as_dir in $PATH
   11156 do
   11157   IFS=$as_save_IFS
   11158   test -z "$as_dir" && as_dir=.
   11159     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11160   done
   11161 IFS=$as_save_IFS
   11162 
   11163      ;;
   11164 esac
   11165 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11166 # in which case we are not to be found in the path.
   11167 if test "x$as_myself" = x; then
   11168   as_myself=$0
   11169 fi
   11170 if test ! -f "$as_myself"; then
   11171   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11172   exit 1
   11173 fi
   11174 
   11175 # Unset variables that we do not need and which cause bugs (e.g. in
   11176 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11177 # suppresses any "Segmentation fault" message there.  '((' could
   11178 # trigger a bug in pdksh 5.2.14.
   11179 for as_var in BASH_ENV ENV MAIL MAILPATH
   11180 do eval test x\${$as_var+set} = xset \
   11181   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11182 done
   11183 PS1='$ '
   11184 PS2='> '
   11185 PS4='+ '
   11186 
   11187 # NLS nuisances.
   11188 LC_ALL=C
   11189 export LC_ALL
   11190 LANGUAGE=C
   11191 export LANGUAGE
   11192 
   11193 # CDPATH.
   11194 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11195 
   11196 
   11197 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11198 # ----------------------------------------
   11199 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11200 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11201 # script with STATUS, using 1 if that was 0.
   11202 as_fn_error ()
   11203 {
   11204   as_status=$1; test $as_status -eq 0 && as_status=1
   11205   if test "$4"; then
   11206     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11207     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11208   fi
   11209   $as_echo "$as_me: error: $2" >&2
   11210   as_fn_exit $as_status
   11211 } # as_fn_error
   11212 
   11213 
   11214 # as_fn_set_status STATUS
   11215 # -----------------------
   11216 # Set $? to STATUS, without forking.
   11217 as_fn_set_status ()
   11218 {
   11219   return $1
   11220 } # as_fn_set_status
   11221 
   11222 # as_fn_exit STATUS
   11223 # -----------------
   11224 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11225 as_fn_exit ()
   11226 {
   11227   set +e
   11228   as_fn_set_status $1
   11229   exit $1
   11230 } # as_fn_exit
   11231 
   11232 # as_fn_unset VAR
   11233 # ---------------
   11234 # Portably unset VAR.
   11235 as_fn_unset ()
   11236 {
   11237   { eval $1=; unset $1;}
   11238 }
   11239 as_unset=as_fn_unset
   11240 # as_fn_append VAR VALUE
   11241 # ----------------------
   11242 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11243 # advantage of any shell optimizations that allow amortized linear growth over
   11244 # repeated appends, instead of the typical quadratic growth present in naive
   11245 # implementations.
   11246 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11247   eval 'as_fn_append ()
   11248   {
   11249     eval $1+=\$2
   11250   }'
   11251 else
   11252   as_fn_append ()
   11253   {
   11254     eval $1=\$$1\$2
   11255   }
   11256 fi # as_fn_append
   11257 
   11258 # as_fn_arith ARG...
   11259 # ------------------
   11260 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11261 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11262 # must be portable across $(()) and expr.
   11263 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11264   eval 'as_fn_arith ()
   11265   {
   11266     as_val=$(( $* ))
   11267   }'
   11268 else
   11269   as_fn_arith ()
   11270   {
   11271     as_val=`expr "$@" || test $? -eq 1`
   11272   }
   11273 fi # as_fn_arith
   11274 
   11275 
   11276 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11277    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11278   as_expr=expr
   11279 else
   11280   as_expr=false
   11281 fi
   11282 
   11283 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11284   as_basename=basename
   11285 else
   11286   as_basename=false
   11287 fi
   11288 
   11289 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11290   as_dirname=dirname
   11291 else
   11292   as_dirname=false
   11293 fi
   11294 
   11295 as_me=`$as_basename -- "$0" ||
   11296 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11297 	 X"$0" : 'X\(//\)$' \| \
   11298 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11299 $as_echo X/"$0" |
   11300     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11301 	    s//\1/
   11302 	    q
   11303 	  }
   11304 	  /^X\/\(\/\/\)$/{
   11305 	    s//\1/
   11306 	    q
   11307 	  }
   11308 	  /^X\/\(\/\).*/{
   11309 	    s//\1/
   11310 	    q
   11311 	  }
   11312 	  s/.*/./; q'`
   11313 
   11314 # Avoid depending upon Character Ranges.
   11315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11318 as_cr_digits='0123456789'
   11319 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11320 
   11321 ECHO_C= ECHO_N= ECHO_T=
   11322 case `echo -n x` in #(((((
   11323 -n*)
   11324   case `echo 'xy\c'` in
   11325   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11326   xy)  ECHO_C='\c';;
   11327   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11328        ECHO_T='	';;
   11329   esac;;
   11330 *)
   11331   ECHO_N='-n';;
   11332 esac
   11333 
   11334 rm -f conf$$ conf$$.exe conf$$.file
   11335 if test -d conf$$.dir; then
   11336   rm -f conf$$.dir/conf$$.file
   11337 else
   11338   rm -f conf$$.dir
   11339   mkdir conf$$.dir 2>/dev/null
   11340 fi
   11341 if (echo >conf$$.file) 2>/dev/null; then
   11342   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11343     as_ln_s='ln -s'
   11344     # ... but there are two gotchas:
   11345     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11346     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11347     # In both cases, we have to default to `cp -pR'.
   11348     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11349       as_ln_s='cp -pR'
   11350   elif ln conf$$.file conf$$ 2>/dev/null; then
   11351     as_ln_s=ln
   11352   else
   11353     as_ln_s='cp -pR'
   11354   fi
   11355 else
   11356   as_ln_s='cp -pR'
   11357 fi
   11358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11359 rmdir conf$$.dir 2>/dev/null
   11360 
   11361 
   11362 # as_fn_mkdir_p
   11363 # -------------
   11364 # Create "$as_dir" as a directory, including parents if necessary.
   11365 as_fn_mkdir_p ()
   11366 {
   11367 
   11368   case $as_dir in #(
   11369   -*) as_dir=./$as_dir;;
   11370   esac
   11371   test -d "$as_dir" || eval $as_mkdir_p || {
   11372     as_dirs=
   11373     while :; do
   11374       case $as_dir in #(
   11375       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11376       *) as_qdir=$as_dir;;
   11377       esac
   11378       as_dirs="'$as_qdir' $as_dirs"
   11379       as_dir=`$as_dirname -- "$as_dir" ||
   11380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11381 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11382 	 X"$as_dir" : 'X\(//\)$' \| \
   11383 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11384 $as_echo X"$as_dir" |
   11385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11386 	    s//\1/
   11387 	    q
   11388 	  }
   11389 	  /^X\(\/\/\)[^/].*/{
   11390 	    s//\1/
   11391 	    q
   11392 	  }
   11393 	  /^X\(\/\/\)$/{
   11394 	    s//\1/
   11395 	    q
   11396 	  }
   11397 	  /^X\(\/\).*/{
   11398 	    s//\1/
   11399 	    q
   11400 	  }
   11401 	  s/.*/./; q'`
   11402       test -d "$as_dir" && break
   11403     done
   11404     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11405   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11406 
   11407 
   11408 } # as_fn_mkdir_p
   11409 if mkdir -p . 2>/dev/null; then
   11410   as_mkdir_p='mkdir -p "$as_dir"'
   11411 else
   11412   test -d ./-p && rmdir ./-p
   11413   as_mkdir_p=false
   11414 fi
   11415 
   11416 
   11417 # as_fn_executable_p FILE
   11418 # -----------------------
   11419 # Test if FILE is an executable regular file.
   11420 as_fn_executable_p ()
   11421 {
   11422   test -f "$1" && test -x "$1"
   11423 } # as_fn_executable_p
   11424 as_test_x='test -x'
   11425 as_executable_p=as_fn_executable_p
   11426 
   11427 # Sed expression to map a string onto a valid CPP name.
   11428 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11429 
   11430 # Sed expression to map a string onto a valid variable name.
   11431 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11432 
   11433 
   11434 exec 6>&1
   11435 ## ----------------------------------- ##
   11436 ## Main body of $CONFIG_STATUS script. ##
   11437 ## ----------------------------------- ##
   11438 _ASEOF
   11439 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11440 
   11441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11442 # Save the log message, to keep $0 and so on meaningful, and to
   11443 # report actual input values of CONFIG_FILES etc. instead of their
   11444 # values after options handling.
   11445 ac_log="
   11446 This file was extended by xlsclients $as_me 1.1.4, which was
   11447 generated by GNU Autoconf 2.69.  Invocation command line was
   11448 
   11449   CONFIG_FILES    = $CONFIG_FILES
   11450   CONFIG_HEADERS  = $CONFIG_HEADERS
   11451   CONFIG_LINKS    = $CONFIG_LINKS
   11452   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11453   $ $0 $@
   11454 
   11455 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11456 "
   11457 
   11458 _ACEOF
   11459 
   11460 case $ac_config_files in *"
   11461 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11462 esac
   11463 
   11464 case $ac_config_headers in *"
   11465 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11466 esac
   11467 
   11468 
   11469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11470 # Files that config.status was made for.
   11471 config_files="$ac_config_files"
   11472 config_headers="$ac_config_headers"
   11473 config_commands="$ac_config_commands"
   11474 
   11475 _ACEOF
   11476 
   11477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11478 ac_cs_usage="\
   11479 \`$as_me' instantiates files and other configuration actions
   11480 from templates according to the current configuration.  Unless the files
   11481 and actions are specified as TAGs, all are instantiated by default.
   11482 
   11483 Usage: $0 [OPTION]... [TAG]...
   11484 
   11485   -h, --help       print this help, then exit
   11486   -V, --version    print version number and configuration settings, then exit
   11487       --config     print configuration, then exit
   11488   -q, --quiet, --silent
   11489                    do not print progress messages
   11490   -d, --debug      don't remove temporary files
   11491       --recheck    update $as_me by reconfiguring in the same conditions
   11492       --file=FILE[:TEMPLATE]
   11493                    instantiate the configuration file FILE
   11494       --header=FILE[:TEMPLATE]
   11495                    instantiate the configuration header FILE
   11496 
   11497 Configuration files:
   11498 $config_files
   11499 
   11500 Configuration headers:
   11501 $config_headers
   11502 
   11503 Configuration commands:
   11504 $config_commands
   11505 
   11506 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11507 
   11508 _ACEOF
   11509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11510 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11511 ac_cs_version="\\
   11512 xlsclients config.status 1.1.4
   11513 configured by $0, generated by GNU Autoconf 2.69,
   11514   with options \\"\$ac_cs_config\\"
   11515 
   11516 Copyright (C) 2012 Free Software Foundation, Inc.
   11517 This config.status script is free software; the Free Software Foundation
   11518 gives unlimited permission to copy, distribute and modify it."
   11519 
   11520 ac_pwd='$ac_pwd'
   11521 srcdir='$srcdir'
   11522 INSTALL='$INSTALL'
   11523 MKDIR_P='$MKDIR_P'
   11524 AWK='$AWK'
   11525 test -n "\$AWK" || AWK=awk
   11526 _ACEOF
   11527 
   11528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11529 # The default lists apply if the user does not specify any file.
   11530 ac_need_defaults=:
   11531 while test $# != 0
   11532 do
   11533   case $1 in
   11534   --*=?*)
   11535     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11536     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11537     ac_shift=:
   11538     ;;
   11539   --*=)
   11540     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11541     ac_optarg=
   11542     ac_shift=:
   11543     ;;
   11544   *)
   11545     ac_option=$1
   11546     ac_optarg=$2
   11547     ac_shift=shift
   11548     ;;
   11549   esac
   11550 
   11551   case $ac_option in
   11552   # Handling of the options.
   11553   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11554     ac_cs_recheck=: ;;
   11555   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11556     $as_echo "$ac_cs_version"; exit ;;
   11557   --config | --confi | --conf | --con | --co | --c )
   11558     $as_echo "$ac_cs_config"; exit ;;
   11559   --debug | --debu | --deb | --de | --d | -d )
   11560     debug=: ;;
   11561   --file | --fil | --fi | --f )
   11562     $ac_shift
   11563     case $ac_optarg in
   11564     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11565     '') as_fn_error $? "missing file argument" ;;
   11566     esac
   11567     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11568     ac_need_defaults=false;;
   11569   --header | --heade | --head | --hea )
   11570     $ac_shift
   11571     case $ac_optarg in
   11572     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11573     esac
   11574     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11575     ac_need_defaults=false;;
   11576   --he | --h)
   11577     # Conflict between --help and --header
   11578     as_fn_error $? "ambiguous option: \`$1'
   11579 Try \`$0 --help' for more information.";;
   11580   --help | --hel | -h )
   11581     $as_echo "$ac_cs_usage"; exit ;;
   11582   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11583   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11584     ac_cs_silent=: ;;
   11585 
   11586   # This is an error.
   11587   -*) as_fn_error $? "unrecognized option: \`$1'
   11588 Try \`$0 --help' for more information." ;;
   11589 
   11590   *) as_fn_append ac_config_targets " $1"
   11591      ac_need_defaults=false ;;
   11592 
   11593   esac
   11594   shift
   11595 done
   11596 
   11597 ac_configure_extra_args=
   11598 
   11599 if $ac_cs_silent; then
   11600   exec 6>/dev/null
   11601   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11602 fi
   11603 
   11604 _ACEOF
   11605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11606 if \$ac_cs_recheck; then
   11607   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11608   shift
   11609   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11610   CONFIG_SHELL='$SHELL'
   11611   export CONFIG_SHELL
   11612   exec "\$@"
   11613 fi
   11614 
   11615 _ACEOF
   11616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11617 exec 5>>config.log
   11618 {
   11619   echo
   11620   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11621 ## Running $as_me. ##
   11622 _ASBOX
   11623   $as_echo "$ac_log"
   11624 } >&5
   11625 
   11626 _ACEOF
   11627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11628 #
   11629 # INIT-COMMANDS
   11630 #
   11631 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11632 
   11633 _ACEOF
   11634 
   11635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11636 
   11637 # Handling of arguments.
   11638 for ac_config_target in $ac_config_targets
   11639 do
   11640   case $ac_config_target in
   11641     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11642     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11643     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11644     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11645 
   11646   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11647   esac
   11648 done
   11649 
   11650 
   11651 # If the user did not use the arguments to specify the items to instantiate,
   11652 # then the envvar interface is used.  Set only those that are not.
   11653 # We use the long form for the default assignment because of an extremely
   11654 # bizarre bug on SunOS 4.1.3.
   11655 if $ac_need_defaults; then
   11656   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11657   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11658   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11659 fi
   11660 
   11661 # Have a temporary directory for convenience.  Make it in the build tree
   11662 # simply because there is no reason against having it here, and in addition,
   11663 # creating and moving files from /tmp can sometimes cause problems.
   11664 # Hook for its removal unless debugging.
   11665 # Note that there is a small window in which the directory will not be cleaned:
   11666 # after its creation but before its name has been assigned to `$tmp'.
   11667 $debug ||
   11668 {
   11669   tmp= ac_tmp=
   11670   trap 'exit_status=$?
   11671   : "${ac_tmp:=$tmp}"
   11672   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11673 ' 0
   11674   trap 'as_fn_exit 1' 1 2 13 15
   11675 }
   11676 # Create a (secure) tmp directory for tmp files.
   11677 
   11678 {
   11679   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11680   test -d "$tmp"
   11681 }  ||
   11682 {
   11683   tmp=./conf$$-$RANDOM
   11684   (umask 077 && mkdir "$tmp")
   11685 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11686 ac_tmp=$tmp
   11687 
   11688 # Set up the scripts for CONFIG_FILES section.
   11689 # No need to generate them if there are no CONFIG_FILES.
   11690 # This happens for instance with `./config.status config.h'.
   11691 if test -n "$CONFIG_FILES"; then
   11692 
   11693 
   11694 ac_cr=`echo X | tr X '\015'`
   11695 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11696 # But we know of no other shell where ac_cr would be empty at this
   11697 # point, so we can use a bashism as a fallback.
   11698 if test "x$ac_cr" = x; then
   11699   eval ac_cr=\$\'\\r\'
   11700 fi
   11701 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11702 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11703   ac_cs_awk_cr='\\r'
   11704 else
   11705   ac_cs_awk_cr=$ac_cr
   11706 fi
   11707 
   11708 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11709 _ACEOF
   11710 
   11711 
   11712 {
   11713   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11714   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11715   echo "_ACEOF"
   11716 } >conf$$subs.sh ||
   11717   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11718 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11719 ac_delim='%!_!# '
   11720 for ac_last_try in false false false false false :; do
   11721   . ./conf$$subs.sh ||
   11722     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11723 
   11724   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11725   if test $ac_delim_n = $ac_delim_num; then
   11726     break
   11727   elif $ac_last_try; then
   11728     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11729   else
   11730     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11731   fi
   11732 done
   11733 rm -f conf$$subs.sh
   11734 
   11735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11736 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11737 _ACEOF
   11738 sed -n '
   11739 h
   11740 s/^/S["/; s/!.*/"]=/
   11741 p
   11742 g
   11743 s/^[^!]*!//
   11744 :repl
   11745 t repl
   11746 s/'"$ac_delim"'$//
   11747 t delim
   11748 :nl
   11749 h
   11750 s/\(.\{148\}\)..*/\1/
   11751 t more1
   11752 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11753 p
   11754 n
   11755 b repl
   11756 :more1
   11757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11758 p
   11759 g
   11760 s/.\{148\}//
   11761 t nl
   11762 :delim
   11763 h
   11764 s/\(.\{148\}\)..*/\1/
   11765 t more2
   11766 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11767 p
   11768 b
   11769 :more2
   11770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11771 p
   11772 g
   11773 s/.\{148\}//
   11774 t delim
   11775 ' <conf$$subs.awk | sed '
   11776 /^[^""]/{
   11777   N
   11778   s/\n//
   11779 }
   11780 ' >>$CONFIG_STATUS || ac_write_fail=1
   11781 rm -f conf$$subs.awk
   11782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11783 _ACAWK
   11784 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11785   for (key in S) S_is_set[key] = 1
   11786   FS = ""
   11787 
   11788 }
   11789 {
   11790   line = $ 0
   11791   nfields = split(line, field, "@")
   11792   substed = 0
   11793   len = length(field[1])
   11794   for (i = 2; i < nfields; i++) {
   11795     key = field[i]
   11796     keylen = length(key)
   11797     if (S_is_set[key]) {
   11798       value = S[key]
   11799       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11800       len += length(value) + length(field[++i])
   11801       substed = 1
   11802     } else
   11803       len += 1 + keylen
   11804   }
   11805 
   11806   print line
   11807 }
   11808 
   11809 _ACAWK
   11810 _ACEOF
   11811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11813   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11814 else
   11815   cat
   11816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11817   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11818 _ACEOF
   11819 
   11820 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11821 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11822 # trailing colons and then remove the whole line if VPATH becomes empty
   11823 # (actually we leave an empty line to preserve line numbers).
   11824 if test "x$srcdir" = x.; then
   11825   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11826 h
   11827 s///
   11828 s/^/:/
   11829 s/[	 ]*$/:/
   11830 s/:\$(srcdir):/:/g
   11831 s/:\${srcdir}:/:/g
   11832 s/:@srcdir@:/:/g
   11833 s/^:*//
   11834 s/:*$//
   11835 x
   11836 s/\(=[	 ]*\).*/\1/
   11837 G
   11838 s/\n//
   11839 s/^[^=]*=[	 ]*$//
   11840 }'
   11841 fi
   11842 
   11843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11844 fi # test -n "$CONFIG_FILES"
   11845 
   11846 # Set up the scripts for CONFIG_HEADERS section.
   11847 # No need to generate them if there are no CONFIG_HEADERS.
   11848 # This happens for instance with `./config.status Makefile'.
   11849 if test -n "$CONFIG_HEADERS"; then
   11850 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11851 BEGIN {
   11852 _ACEOF
   11853 
   11854 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11855 # here-document in config.status, that substitutes the proper values into
   11856 # config.h.in to produce config.h.
   11857 
   11858 # Create a delimiter string that does not exist in confdefs.h, to ease
   11859 # handling of long lines.
   11860 ac_delim='%!_!# '
   11861 for ac_last_try in false false :; do
   11862   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11863   if test -z "$ac_tt"; then
   11864     break
   11865   elif $ac_last_try; then
   11866     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11867   else
   11868     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11869   fi
   11870 done
   11871 
   11872 # For the awk script, D is an array of macro values keyed by name,
   11873 # likewise P contains macro parameters if any.  Preserve backslash
   11874 # newline sequences.
   11875 
   11876 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11877 sed -n '
   11878 s/.\{148\}/&'"$ac_delim"'/g
   11879 t rset
   11880 :rset
   11881 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11882 t def
   11883 d
   11884 :def
   11885 s/\\$//
   11886 t bsnl
   11887 s/["\\]/\\&/g
   11888 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11889 D["\1"]=" \3"/p
   11890 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11891 d
   11892 :bsnl
   11893 s/["\\]/\\&/g
   11894 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11895 D["\1"]=" \3\\\\\\n"\\/p
   11896 t cont
   11897 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11898 t cont
   11899 d
   11900 :cont
   11901 n
   11902 s/.\{148\}/&'"$ac_delim"'/g
   11903 t clear
   11904 :clear
   11905 s/\\$//
   11906 t bsnlc
   11907 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11908 d
   11909 :bsnlc
   11910 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11911 b cont
   11912 ' <confdefs.h | sed '
   11913 s/'"$ac_delim"'/"\\\
   11914 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11915 
   11916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11917   for (key in D) D_is_set[key] = 1
   11918   FS = ""
   11919 }
   11920 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11921   line = \$ 0
   11922   split(line, arg, " ")
   11923   if (arg[1] == "#") {
   11924     defundef = arg[2]
   11925     mac1 = arg[3]
   11926   } else {
   11927     defundef = substr(arg[1], 2)
   11928     mac1 = arg[2]
   11929   }
   11930   split(mac1, mac2, "(") #)
   11931   macro = mac2[1]
   11932   prefix = substr(line, 1, index(line, defundef) - 1)
   11933   if (D_is_set[macro]) {
   11934     # Preserve the white space surrounding the "#".
   11935     print prefix "define", macro P[macro] D[macro]
   11936     next
   11937   } else {
   11938     # Replace #undef with comments.  This is necessary, for example,
   11939     # in the case of _POSIX_SOURCE, which is predefined and required
   11940     # on some systems where configure will not decide to define it.
   11941     if (defundef == "undef") {
   11942       print "/*", prefix defundef, macro, "*/"
   11943       next
   11944     }
   11945   }
   11946 }
   11947 { print }
   11948 _ACAWK
   11949 _ACEOF
   11950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11951   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11952 fi # test -n "$CONFIG_HEADERS"
   11953 
   11954 
   11955 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11956 shift
   11957 for ac_tag
   11958 do
   11959   case $ac_tag in
   11960   :[FHLC]) ac_mode=$ac_tag; continue;;
   11961   esac
   11962   case $ac_mode$ac_tag in
   11963   :[FHL]*:*);;
   11964   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11965   :[FH]-) ac_tag=-:-;;
   11966   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11967   esac
   11968   ac_save_IFS=$IFS
   11969   IFS=:
   11970   set x $ac_tag
   11971   IFS=$ac_save_IFS
   11972   shift
   11973   ac_file=$1
   11974   shift
   11975 
   11976   case $ac_mode in
   11977   :L) ac_source=$1;;
   11978   :[FH])
   11979     ac_file_inputs=
   11980     for ac_f
   11981     do
   11982       case $ac_f in
   11983       -) ac_f="$ac_tmp/stdin";;
   11984       *) # Look for the file first in the build tree, then in the source tree
   11985 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11986 	 # because $ac_f cannot contain `:'.
   11987 	 test -f "$ac_f" ||
   11988 	   case $ac_f in
   11989 	   [\\/$]*) false;;
   11990 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11991 	   esac ||
   11992 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11993       esac
   11994       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11995       as_fn_append ac_file_inputs " '$ac_f'"
   11996     done
   11997 
   11998     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11999     # use $as_me), people would be surprised to read:
   12000     #    /* config.h.  Generated by config.status.  */
   12001     configure_input='Generated from '`
   12002 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12003 	`' by configure.'
   12004     if test x"$ac_file" != x-; then
   12005       configure_input="$ac_file.  $configure_input"
   12006       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12007 $as_echo "$as_me: creating $ac_file" >&6;}
   12008     fi
   12009     # Neutralize special characters interpreted by sed in replacement strings.
   12010     case $configure_input in #(
   12011     *\&* | *\|* | *\\* )
   12012        ac_sed_conf_input=`$as_echo "$configure_input" |
   12013        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12014     *) ac_sed_conf_input=$configure_input;;
   12015     esac
   12016 
   12017     case $ac_tag in
   12018     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12019       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12020     esac
   12021     ;;
   12022   esac
   12023 
   12024   ac_dir=`$as_dirname -- "$ac_file" ||
   12025 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12026 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12027 	 X"$ac_file" : 'X\(//\)$' \| \
   12028 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12029 $as_echo X"$ac_file" |
   12030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12031 	    s//\1/
   12032 	    q
   12033 	  }
   12034 	  /^X\(\/\/\)[^/].*/{
   12035 	    s//\1/
   12036 	    q
   12037 	  }
   12038 	  /^X\(\/\/\)$/{
   12039 	    s//\1/
   12040 	    q
   12041 	  }
   12042 	  /^X\(\/\).*/{
   12043 	    s//\1/
   12044 	    q
   12045 	  }
   12046 	  s/.*/./; q'`
   12047   as_dir="$ac_dir"; as_fn_mkdir_p
   12048   ac_builddir=.
   12049 
   12050 case "$ac_dir" in
   12051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12052 *)
   12053   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12054   # A ".." for each directory in $ac_dir_suffix.
   12055   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12056   case $ac_top_builddir_sub in
   12057   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12058   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12059   esac ;;
   12060 esac
   12061 ac_abs_top_builddir=$ac_pwd
   12062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12063 # for backward compatibility:
   12064 ac_top_builddir=$ac_top_build_prefix
   12065 
   12066 case $srcdir in
   12067   .)  # We are building in place.
   12068     ac_srcdir=.
   12069     ac_top_srcdir=$ac_top_builddir_sub
   12070     ac_abs_top_srcdir=$ac_pwd ;;
   12071   [\\/]* | ?:[\\/]* )  # Absolute name.
   12072     ac_srcdir=$srcdir$ac_dir_suffix;
   12073     ac_top_srcdir=$srcdir
   12074     ac_abs_top_srcdir=$srcdir ;;
   12075   *) # Relative name.
   12076     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12077     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12078     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12079 esac
   12080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12081 
   12082 
   12083   case $ac_mode in
   12084   :F)
   12085   #
   12086   # CONFIG_FILE
   12087   #
   12088 
   12089   case $INSTALL in
   12090   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12091   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12092   esac
   12093   ac_MKDIR_P=$MKDIR_P
   12094   case $MKDIR_P in
   12095   [\\/$]* | ?:[\\/]* ) ;;
   12096   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12097   esac
   12098 _ACEOF
   12099 
   12100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12101 # If the template does not know about datarootdir, expand it.
   12102 # FIXME: This hack should be removed a few years after 2.60.
   12103 ac_datarootdir_hack=; ac_datarootdir_seen=
   12104 ac_sed_dataroot='
   12105 /datarootdir/ {
   12106   p
   12107   q
   12108 }
   12109 /@datadir@/p
   12110 /@docdir@/p
   12111 /@infodir@/p
   12112 /@localedir@/p
   12113 /@mandir@/p'
   12114 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12115 *datarootdir*) ac_datarootdir_seen=yes;;
   12116 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12117   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12118 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12119 _ACEOF
   12120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12121   ac_datarootdir_hack='
   12122   s&@datadir@&$datadir&g
   12123   s&@docdir@&$docdir&g
   12124   s&@infodir@&$infodir&g
   12125   s&@localedir@&$localedir&g
   12126   s&@mandir@&$mandir&g
   12127   s&\\\${datarootdir}&$datarootdir&g' ;;
   12128 esac
   12129 _ACEOF
   12130 
   12131 # Neutralize VPATH when `$srcdir' = `.'.
   12132 # Shell code in configure.ac might set extrasub.
   12133 # FIXME: do we really want to maintain this feature?
   12134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12135 ac_sed_extra="$ac_vpsub
   12136 $extrasub
   12137 _ACEOF
   12138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12139 :t
   12140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12141 s|@configure_input@|$ac_sed_conf_input|;t t
   12142 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12143 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12144 s&@srcdir@&$ac_srcdir&;t t
   12145 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12146 s&@top_srcdir@&$ac_top_srcdir&;t t
   12147 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12148 s&@builddir@&$ac_builddir&;t t
   12149 s&@abs_builddir@&$ac_abs_builddir&;t t
   12150 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12151 s&@INSTALL@&$ac_INSTALL&;t t
   12152 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12153 $ac_datarootdir_hack
   12154 "
   12155 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12156   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12157 
   12158 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12159   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12160   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12161       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12162   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12163 which seems to be undefined.  Please make sure it is defined" >&5
   12164 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12165 which seems to be undefined.  Please make sure it is defined" >&2;}
   12166 
   12167   rm -f "$ac_tmp/stdin"
   12168   case $ac_file in
   12169   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12170   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12171   esac \
   12172   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12173  ;;
   12174   :H)
   12175   #
   12176   # CONFIG_HEADER
   12177   #
   12178   if test x"$ac_file" != x-; then
   12179     {
   12180       $as_echo "/* $configure_input  */" \
   12181       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12182     } >"$ac_tmp/config.h" \
   12183       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12184     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12185       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12186 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12187     else
   12188       rm -f "$ac_file"
   12189       mv "$ac_tmp/config.h" "$ac_file" \
   12190 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12191     fi
   12192   else
   12193     $as_echo "/* $configure_input  */" \
   12194       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12195       || as_fn_error $? "could not create -" "$LINENO" 5
   12196   fi
   12197 # Compute "$ac_file"'s index in $config_headers.
   12198 _am_arg="$ac_file"
   12199 _am_stamp_count=1
   12200 for _am_header in $config_headers :; do
   12201   case $_am_header in
   12202     $_am_arg | $_am_arg:* )
   12203       break ;;
   12204     * )
   12205       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12206   esac
   12207 done
   12208 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12209 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12210 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12211 	 X"$_am_arg" : 'X\(//\)$' \| \
   12212 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12213 $as_echo X"$_am_arg" |
   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'`/stamp-h$_am_stamp_count
   12231  ;;
   12232 
   12233   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12234 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12235  ;;
   12236   esac
   12237 
   12238 
   12239   case $ac_file$ac_mode in
   12240     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12241   # Older Autoconf quotes --file arguments for eval, but not when files
   12242   # are listed without --file.  Let's play safe and only enable the eval
   12243   # if we detect the quoting.
   12244   case $CONFIG_FILES in
   12245   *\'*) eval set x "$CONFIG_FILES" ;;
   12246   *)   set x $CONFIG_FILES ;;
   12247   esac
   12248   shift
   12249   for mf
   12250   do
   12251     # Strip MF so we end up with the name of the file.
   12252     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12253     # Check whether this is an Automake generated Makefile or not.
   12254     # We used to match only the files named 'Makefile.in', but
   12255     # some people rename them; so instead we look at the file content.
   12256     # Grep'ing the first line is not enough: some people post-process
   12257     # each Makefile.in and add a new line on top of each file to say so.
   12258     # Grep'ing the whole file is not good either: AIX grep has a line
   12259     # limit of 2048, but all sed's we know have understand at least 4000.
   12260     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12261       dirpart=`$as_dirname -- "$mf" ||
   12262 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12263 	 X"$mf" : 'X\(//\)[^/]' \| \
   12264 	 X"$mf" : 'X\(//\)$' \| \
   12265 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12266 $as_echo X"$mf" |
   12267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12268 	    s//\1/
   12269 	    q
   12270 	  }
   12271 	  /^X\(\/\/\)[^/].*/{
   12272 	    s//\1/
   12273 	    q
   12274 	  }
   12275 	  /^X\(\/\/\)$/{
   12276 	    s//\1/
   12277 	    q
   12278 	  }
   12279 	  /^X\(\/\).*/{
   12280 	    s//\1/
   12281 	    q
   12282 	  }
   12283 	  s/.*/./; q'`
   12284     else
   12285       continue
   12286     fi
   12287     # Extract the definition of DEPDIR, am__include, and am__quote
   12288     # from the Makefile without running 'make'.
   12289     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12290     test -z "$DEPDIR" && continue
   12291     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12292     test -z "$am__include" && continue
   12293     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12294     # Find all dependency output files, they are included files with
   12295     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12296     # simplest approach to changing $(DEPDIR) to its actual value in the
   12297     # expansion.
   12298     for file in `sed -n "
   12299       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12300 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12301       # Make sure the directory exists.
   12302       test -f "$dirpart/$file" && continue
   12303       fdir=`$as_dirname -- "$file" ||
   12304 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12305 	 X"$file" : 'X\(//\)[^/]' \| \
   12306 	 X"$file" : 'X\(//\)$' \| \
   12307 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12308 $as_echo X"$file" |
   12309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12310 	    s//\1/
   12311 	    q
   12312 	  }
   12313 	  /^X\(\/\/\)[^/].*/{
   12314 	    s//\1/
   12315 	    q
   12316 	  }
   12317 	  /^X\(\/\/\)$/{
   12318 	    s//\1/
   12319 	    q
   12320 	  }
   12321 	  /^X\(\/\).*/{
   12322 	    s//\1/
   12323 	    q
   12324 	  }
   12325 	  s/.*/./; q'`
   12326       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12327       # echo "creating $dirpart/$file"
   12328       echo '# dummy' > "$dirpart/$file"
   12329     done
   12330   done
   12331 }
   12332  ;;
   12333 
   12334   esac
   12335 done # for ac_tag
   12336 
   12337 
   12338 as_fn_exit 0
   12339 _ACEOF
   12340 ac_clean_files=$ac_clean_files_save
   12341 
   12342 test $ac_write_fail = 0 ||
   12343   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12344 
   12345 
   12346 # configure is writing to config.log, and then calls config.status.
   12347 # config.status does its own redirection, appending to config.log.
   12348 # Unfortunately, on DOS this fails, as config.log is still kept open
   12349 # by configure, so config.status won't be able to write to it; its
   12350 # output is simply discarded.  So we exec the FD to /dev/null,
   12351 # effectively closing config.log, so it can be properly (re)opened and
   12352 # appended to by config.status.  When coming back to configure, we
   12353 # need to make the FD available again.
   12354 if test "$no_create" != yes; then
   12355   ac_cs_success=:
   12356   ac_config_status_args=
   12357   test "$silent" = yes &&
   12358     ac_config_status_args="$ac_config_status_args --quiet"
   12359   exec 5>/dev/null
   12360   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12361   exec 5>>config.log
   12362   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12363   # would make configure fail if this is the last instruction.
   12364   $ac_cs_success || as_fn_exit 1
   12365 fi
   12366 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12367   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12368 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12369 fi
   12370 
   12371